Advertisement
Guest User

Untitled

a guest
Dec 5th, 2021
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. game:GetService("RunService").Stepped:connect(function()
  2. for i,v in pairs(game.Workspace.Interiors.MainMap.GingerbreadRig:GetChildren()) do
  3. if v.Name == "ParticleHolder" then
  4. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  5. wait(0.1)
  6. end end end)
  7.  
  8. spawn(function()
  9. while wait (2.5) do
  10. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Interiors.MainMap.RaceScriptable.Collection.Part.CFrame
  11. end end)
  12. local vu = game:GetService("VirtualUser")
  13. game:GetService("Players").LocalPlayer.Idled:connect(function()
  14. vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  15. wait(1)
  16. vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement