Search
 
SCRIPT & CODE EXAMPLE
 

LUA

lua f animation

local animationstomp = script.Animation
local user = game:GetService("UserInputService")
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local human = char:WaitForChild("Humanoid")
user.InputBegan:Connect(function(input, proccesedevent)
   if input.KeyCode == Enum.KeyCode.F then
        local animationtrack = human:LoadAnimation(animationstomp)
        animationtrack:play()
    end
end)
Comment

PREVIOUS NEXT
Code Example
Lua :: how to split strings into 2 string by space lua 
Lua :: roblox studio rain 
Lua :: lua wait function 
Lua :: What is CanCollide in roblox? 
Lua :: how to make everyone on team see each other name roblox 
Lua :: while loop in lua 
Lua :: how to make variables in lua 
Lua :: roblox format string 
Lua :: how to format a number into hh:mm:ss in lua 
Lua :: fivem get closest player 
Lua :: lua how to default value if nil or false 
Lua :: lua to float 
Lua :: roblox part touched 
Matlab :: matlab get row from matrix 
Matlab :: repeat characters matlab 
Matlab :: matlab symbolic roots 
Matlab :: octave get range length 
Basic :: theme leaf concatenate 
Basic :: dos assign command output to variable (when output is of multiple lines) 
Elixir :: elixir ecto query to sql 
Elixir :: elixir format code 
Scala :: two dimensional array scala 
Scala :: filter by timestamp scala 
Actionscript :: octahedron 
Excel :: how to reference data from another sheet in excel 
Perl :: perl $ @ % 
Pascal :: pascal error handling 
Powershell :: how to download git on windows using power shell 
Clojure :: clojure write file 
Assembly :: 64 bit assembly Hello world 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =