Advertisement
CFrameNaJaXD

AutoConfetti_By_CFrame

Nov 30th, 2022 (edited)
44,227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.64 KB | None | 0 0
  1. function TP(Point)
  2.     local Ply = game.Players.LocalPlayer
  3.     local Char = Ply.Character
  4. --  repeat
  5.     Char.Humanoid:ChangeState(15)
  6.     Char.HumanoidRootPart.CFrame = Point
  7.     wait()
  8.     Char.HumanoidRootPart.CFrame = Point
  9. --  until (Char.HumanoidRootPart.Position - Point.Position).Magnitude <= 20
  10. end
  11. function BTP(Pos)
  12.     local Ply = game.Players.LocalPlayer
  13.     local Char = Ply.Character
  14.     Char.HumanoidRootPart.CFrame = Pos
  15.     wait()
  16.     Char.HumanoidRootPart.CFrame = Pos
  17. end
  18.  
  19. spawn(function()
  20. while task.wait() do
  21. pcall(function()
  22. if _G.AutoConfetti then
  23. for i,v in pairs(game.Workspace.NPCs:GetChildren()) do
  24.     game:GetService("ReplicatedStorage").Remotes.Celebration:InvokeServer('TalkNpc',workspace.NPCs[v.Name])
  25. end
  26. end
  27. end)
  28. end
  29. end)
  30.  
  31. spawn(function()
  32. while task.wait() do
  33. pcall(function()
  34.     if _G.AutoConfetti then
  35.         if game.PlaceId == 4442272183 then
  36.             TP(CFrame.new(-11.848626136779785, 19.311767578125, 2828.531005859375))
  37.             TP(CFrame.new(-375.93408203125, 73.11296844482422, 1180.5146484375))
  38.             TP(CFrame.new(-378.0177001953125, 73.05511474609375, 287.2165222167969))
  39.             TP(CFrame.new(-2070.090576171875, 72.37596893310547, -2689.849853515625))
  40.             TP(CFrame.new(-5365.74462890625, 9.003767013549805, -705.3399658203125))
  41.             TP(CFrame.new(880.24462890625, 125.09214782714844, 32865.26171875))
  42.             TP(CFrame.new(-5610.93798828125, 18.35700798034668, -5015.65869140625))
  43.             TP(CFrame.new(-3014.4755859375, 29.575407028198242, -9777.16015625))
  44.             TP(CFrame.new(113.77246856689453, 401.45697021484375, -5192.54248046875))
  45.             TP(CFrame.new(5585.3740234375, 12.449106216430664, -5954.33349609375))
  46.         elseif game.PlaceId == 7449423635 then
  47.             TP(CFrame.new(-259.380126953125, 6.764979839324951, 5254.09912109375))
  48.             TP(CFrame.new(-1932.3507080078125, 13.824933052062988, -11636.8515625))
  49.             TP(CFrame.new(-929.170166015625, 7.802646160125732, -10826.3876953125))
  50.             TP(CFrame.new(497.3184509277344, 24.76936149597168, -12418.55859375))
  51.             TP(CFrame.new(-47.42597961425781, 16.97955322265625, -11992.779296875))
  52.             TP(CFrame.new(2245.78271484375, 12.776296615600586, -6353.974609375))
  53.             TP(CFrame.new(-9515.0009765625, 142.1398468017578, 5534.05029296875))
  54.             TP(CFrame.new(-9512.8896484375, 21.139892578125, 4641.02978515625))
  55.             TP(CFrame.new(4732.6533203125, 51.589698791503906, -1414.252197265625))
  56.             TP(CFrame.new(5277.3388671875, 602.0785522460938, 363.35223388671875))
  57.             TP(CFrame.new(3371.987060546875, 38.98302459716797, 1593.1405029296875))
  58.             TP(CFrame.new(-2045.0103759765625, 38.138248443603516, -10041.935546875))
  59.             TP(CFrame.new(-5116.79931640625, 314.550537109375, -2964.70068359375))
  60.             TP(CFrame.new(-4598.1025390625, 16.455780029296875, -2705.09619140625))
  61.             TP(CFrame.new(-6069.4306640625, 16.455780029296875, -2160.60205078125))
  62.             TP(CFrame.new(-11385.6767578125, 331.75823974609375, -10405.916015625))
  63.             TP(CFrame.new(-9603.1591796875, 46.55657196044922, -8365.3828125))
  64.             TP(CFrame.new(-12545.2353515625, 337.20330810546875, -7454.07470703125))
  65.         else
  66.             TP(CFrame.new(-2550.043212890625, 6.890709400177002, 2047.015625))
  67.             TP(CFrame.new(-1248.0438232421875, 2.6870851516723633, 1716.0859375))
  68.             TP(CFrame.new(-459.51275634765625, 7.687240123748779, 1455.679443359375))
  69.             TP(CFrame.new(-572.7285766601562, 7.687240123748779, 1797.2501220703125))
  70.             TP(CFrame.new(781.9508666992188, 5.761781215667725, 1492.8056640625))
  71.             TP(CFrame.new(949.3020629882812, 16.55164909362793, 1421.4573974609375))
  72.             TP(CFrame.new(1115.21484375, 7.338680744171143, -1159.033935546875))
  73.             TP(CFrame.new(3876.05029296875, 5.4081878662109375, -1907.011474609375))
  74.             TP(CFrame.new(5087.5341796875, 48.43275833129883, 4126.625))
  75.             TP(CFrame.new(-1135.5067138671875, 4.787090301513672, 3821.385498046875))
  76.             TP(CFrame.new(881.5269775390625, 3.4771769046783447, 4100.76611328125))
  77.             TP(CFrame.new(-4830.9208984375, 20.68707275390625, 4373.51953125))
  78.             TP(CFrame.new(-5206.47998046875, 4.308171272277832, 8430.990234375))
  79.             TP(CFrame.new(-1324.8131103515625, 11.88819408416748, 500.3249816894531))
  80.             TP(CFrame.new(-1439.505615234375, 7.32259464263916, -2801.103515625))
  81.             TP(CFrame.new(-4935.75830078125, 2.8822989463806152, -2325.49462890625))
  82.             TP(CFrame.new(-4874.67578125, 717.705078125, -2625.676513671875))
  83.             TP(CFrame.new(-7884.97900390625, 5545.6123046875, -361.72772216796875))
  84.             TP(CFrame.new(4861.38330078125, 5.687756061553955, 741.5126342773438))
  85.         end
  86.     end
  87. end)
  88. end
  89. end)
  90.  
  91. spawn(function()
  92. local vu = game:GetService("VirtualUser")
  93. game:GetService("Players").LocalPlayer.Idled:connect(function()
  94.     vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  95.     wait(1)
  96.     vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  97. end)
  98. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement