Luriyuluri

Roblox script Innovation Awards Voting

May 18th, 2024
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. -- locals
  2. local lPlayer = game.Players.LocalPlayer -- localplayer
  3. local pRoot = lPlayer.Character.HumanoidRootPart -- localplayer root
  4.  
  5. -- tween variables
  6. local TweenService = game:GetService("TweenService")
  7. local tweenInfo = TweenInfo.new(2)
  8. local tween = TweenService:Create(pRoot, tweenInfo, {Position = Vector3.new(1.19464, 23.4132, -109.854)})
  9.  
  10. -- vote variables (change if you want)
  11. local args = {
  12. [1] = {
  13. ["Best Content Update"] = "Tower Defense Simulator",
  14. ["People's Choice"] = "BedWars",
  15. ["Best Use of Avatar Fashion"] = "Word // Zero",
  16. ["Video Star of the Year"] = "Flamingo"
  17. },
  18. [2] = workspace.VotingScreen
  19. }
  20.  
  21. -- Circlet of Patience
  22. wait(0.2)
  23. pRoot.CFrame = game:GetService("Workspace").Scavenger.Circlet.CFrame
  24. wait(0.2)
  25.  
  26. -- Where Are The Shards?
  27. pRoot.CFrame = game:GetService("Workspace").CubePieces.Block1.CFrame
  28. wait(0.2)
  29. pRoot.CFrame = game:GetService("Workspace").CubePieces.Block2.CFrame
  30. wait(0.2)
  31. pRoot.CFrame = game:GetService("Workspace").CubePieces.Block3.CFrame
  32. wait(0.2)
  33. pRoot.CFrame = game:GetService("Workspace").CubePieces.Block4.CFrame
  34. wait(0.2)
  35.  
  36. -- I Voted - In Style
  37. game:GetService("ReplicatedStorage").Events.RemoteEvents.Vote:FireServer(unpack(args))
  38. wait(0.2)
  39.  
  40. -- A Timeless Hat
  41. tween:Play()
  42. wait(2.1)
  43.  
  44. -- Thinking Horns
  45. game:GetService("TeleportService"):Teleport(game.PlaceId, lPlayer)
Add Comment
Please, Sign In to add comment