Advertisement
lucas_skk

tutorial lua

Dec 1st, 2020
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.84 KB | None | 0 0
  1. --Tutorial Command lua  Roblox Studio
  2.  
  3. Script.Parent.Anchored = true --false não adinata porque se não o item não vai ficar parado no ar
  4.  
  5. script.Parent.Acharble = true -- false ele vai retira as propiedades desse bloco que voçe usa
  6. ===========================================================================================================================
  7. --esse script e no roblox studio e isso fas teleport preçisa local script
  8.  
  9. wait(1) --
  10. player = game.Players.LocalPlayer
  11. button = script.Parent
  12. local debounce = false
  13.  
  14. function helpme()
  15.  if not debounce then
  16.  
  17.  debounce = true
  18.  LowerTorso = player.Character.LowerTorso
  19.  LowerTorso.CFrame = game.Workspace.part.CFrame -- change the "part" to where ever you want player  to go
  20.  
  21.  end
  22. end
  23. button.MouseButton1Click:connect(helpme)
  24.  
  25. while true do wait()
  26. debounce = false
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement