Advertisement
Ehud

sit gui

Apr 20th, 2021
788
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. function onClicked()
  2. script.Parent.Visible = false
  3. script.Parent.Parent.Stand.Visible = true
  4. h = script.Parent.Parent.Parent.Parent.Character:findFirstChild("Humanoid")
  5. if (h ~= nil) then
  6. h.Sit = true
  7. end
  8. end
  9. script.Parent.MouseButton1Click:connect(onClicked)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement