E to Crouch
Key RequiredUniversal

E to Crouch

Universal ScriptInnovationInnovation 13.3K views 125 executesUpdated Aug 25, 2023
5.0/ 5(1 votes)
10100% Positive
Lua Script•25 lines (819 chars)
game.StarterGui:SetCore("SendNotification", {
Title = "e to crouch realyl????";
Text = "bruh E to crouch no way bruh ";
 })
local keyPressed = Enum.KeyCode.E
local animationId = "287325678" 

local userInputService = game:GetService("UserInputService")
local player = game:GetService("Players").LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://"..animationId
local animationTrack = humanoid:LoadAnimation(animation)

userInputService.InputBegan:Connect(function(input,isTyping)
 if isTyping then return end
 if input.KeyCode == keyPressed then
  if not animationTrack.IsPlaying then
   animationTrack:Play()
  else
   animationTrack:Stop()
  end
 end
end)

Features & Information

uhhh E to crouch idk i am just bored.

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts