Universal Script 📌
13.3k Views
156 Executions

E to Crouch

Universal Script 📌
Innovation
InnovationPublished 10
3 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

uhhh E to crouch idk i am just bored.

Updates

  1. Script edited: Update script

View Raw
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)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
3.2M
752.9k
Bumped 2 hours ago
Key System

Script hub

Hall of Fame #8

Verified script badgeFlow Hub | 50 Games | Updated

Universal Script 📌
378
1.0k
Bumped 4 hours ago
Key System
Universal Script 📌
7.0k
141.0k
Bumped 4 hours ago
Script hub
45.6k
114.3k
Bumped 6 hours ago
Key System
Script hub
3.5M
448.4k
Bumped 7 hours ago
Key System

Script hub

Hall of Fame #4

Verified script badgeOverflow #1 *OP*

Universal Script 📌
14.8k
70.8k
Bumped 8 hours ago