Advertisement
Guest User

Box Script Fe

a guest
Nov 16th, 2022
1,134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. --https://www.roblox.com/catalog/9350274205/Vans-Black-White-Checkerboard-Umbrella
  2. local plr = game.Players.LocalPlayer
  3. local char = plr.Character
  4. local uis = game:GetService("UserInputService")
  5. local sitting = false
  6.  
  7. if char.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  8. plr:Kick("This script does not support R15! Please switch to R6.")
  9. end
  10.  
  11. for i, v in pairs(char:GetDescendants()) do
  12. if v:IsA("Accessory") then
  13. if v.Name ~= "VANS_Umbrella" then
  14. v:Destroy()
  15. end
  16. end
  17. end
  18.  
  19. char.VANS_Umbrella:WaitForChild("Handle").Mesh:Destroy()
  20. char.VANS_Umbrella:WaitForChild("Handle").Position = char.HumanoidRootPart.Position + Vector3.new(0, 0.9, 0)
  21. char["Left Arm"]:Destroy()
  22. char["Right Arm"]:Destroy()
  23.  
  24. local function inputBegan(object,gameProcessedEvent)
  25. if (uis:GetFocusedTextBox()) then
  26. return; -- make sure player's not chatting!
  27. end
  28. if (object.KeyCode == Enum.KeyCode.E) then
  29. char.Humanoid.Sit = true
  30. end
  31. end
  32. uis.InputBegan:Connect(inputBegan)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement