Roblox Lua Scripting For Beginners. Download and Read online Roblox Lua Scripting For Beginners ebooks in PDF, epub, Tuebl Mobi, Kindle Book. Get Free Roblox Lua Scripting For Beginners Textbook and unlimited access to our library by created an account.
Basic Roblox Lua Programming Pdf Download
Roblox Lua Lessons
Sep 9th, 2019
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- local user = game.Players.LocalPlayer.Backpack
- local handle = Instance.new('Part',sword)
- local DAMAGE = 35
- local sound2 = Instance.new('Sound',handle)
- script.Parent = sword
- --local animation = Instance.new('Animation',script)
- --animation.AnimationId = 'http://www.roblox.com/Asset?ID=992817684'
- sound.SoundId = 'rbxasset://sounds//swordlunge.wav'
- sound.PlaybackSpeed = 1.17
- sound2.SoundId = 'rbxasset://sounds//unsheath.wav'
- sound2.PlaybackSpeed = 0.8
- sound2.Name = 'Unsheath'
- function unsheathanimation()
- sword.GripPos = sword.GripPos + Vector3.new(0,5,0)
- sword.GripPos = sword.GripPos + Vector3.new(0,-1,0)
- end
- sound2:Play()
- if (h ~= nil) then
- end
- --4
- for i = 1,5 do
- sword.GripUp = sword.GripUp + Vector3.new(0,0,1)
- end
- sword.GripUp = sword.GripUp + Vector3.new(0,0,-1)
- handle.Size = handle.Size + Vector3.new(-4,-1,-2)
- handle.Size = handle.Size + Vector3.new(0.6, 3.6, 0.4)
- mesh.MeshId = 'http://www.roblox.com/asset/?id=94746028'
- mesh.TextureId = 'http://www.roblox.com/asset/?ID=94746105'
- sword.Equipped:connect(unsheathsound)
- sword.Activated:connect(animate)
RAW Paste Data