Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local UIS = game:GetService("UserInputService")
- local Player = game:GetService("Players").LocalPlayer
- local RightArm = Player.Character.Torso["Right Shoulder"]
- local LeftArm = Player.Character.Torso["Left Shoulder"]
- local Character = Player.Character
- local Run = game:GetService("RunService")
- local speed = .05
- UIS.InputBegan:Connect(function(input)
- if input.KeyCode == Enum.KeyCode.R then
- Run.RenderStepped:Connect(function()
- local gnome = Instance.new("Sound",Character.Torso)
- gnome.Volume = 100
- gnome.SoundId = "rbxassetid://2521946636"
- gnome:Play()
- RightArm.C0 = RightArm.C0:lerp(CFrame.new(1.2,.5,-.5)*CFrame.Angles(math.rad(0),math.rad(.5),math.rad(0)),speed)
- LeftArm.C0 = LeftArm.C0:lerp(CFrame.new(-1.2,.5,-.5)*CFrame.Angles(math.rad(0),math.rad(.5),math.rad(0)),speed)
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement