Advertisement
GuestNoobROBLOX

1st Prize ROBLOX SCRIPT with ImageLabel

Jun 25th, 2018
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. repeat wait() until plr.Character
  3. char = plr.Character
  4.  
  5. for i,v in pairs(char:GetChildren()) do
  6. if v.ClassName == "Part" then
  7. v.Transparency = 1
  8. elseif v.ClassName == "Accessory" then
  9. v.Handle.Transparency = 1
  10. end
  11. end
  12. char.Animate:Destroy()
  13. char.Humanoid.Animator:Destroy()
  14. local sweep = Instance.new("Part")
  15. local bill = Instance.new("BillboardGui",char.Torso)
  16. bill.Name = "1stPrizeDisplay"
  17. bill.Adornee = bill.Parent
  18. bill.Size = UDim2.new(13, 0 , 7, 0)
  19. bill.Archivable = true
  20. bill.AutoLocalize = true
  21. local img = Instance.new("ImageLabel",bill)
  22. img.Size = UDim2.new(0.75, 0 , 1.5, 0)
  23. img.Image = "http://www.roblox.com/asset/?id=1872929052"
  24. img.Visible = true
  25. img.BackgroundTransparency = 1
  26. img.Position = UDim2.new(0.213, 0 , 0, -8)
  27. char.Humanoid.HipHeight = 2.1
  28. char.Humanoid.Name = "Robot"
  29. Engine = Instance.new("Sound",char.Head)
  30. Engine.SoundId = "rbxassetid://1878209413"
  31. Engine.Volume = 2
  32. Engine.Name = "engine"
  33. Engine:Play()
  34. Engine.Looped = true
  35. local weld = Instance.new("Weld",sweep)
  36. sweep.Name = "Hug"
  37. sweep.Size = Vector3.new(7.2, 5.4, 2)
  38. sweep.Transparency = 1
  39. sweep.CanCollide = true
  40. weld.Part0 = char.Torso
  41. weld.Part1 = sweep
  42. weld.C0 = CFrame.new(-0.466694832, 1.18746996, -0.594377518, -0.999195099, 0, 0.0401160046, 0, 1, 0, -0.0401160046, 0, -0.999195099)
  43. sweep.Parent = char
  44. JumpCount = 0
  45. char.Robot.JumpPower = 0
  46. char.Robot.MaxHealth = 0
  47. char.Head.face.Transparency = 1
  48. touched = false
  49. sweep.Touched:connect(function(part)
  50. local human = part.Parent:FindFirstChildOfClass("Humanoid")
  51. if human and human.Parent.Name ~= char.Name and touched == false then
  52. touched = true
  53. wait(0.9)
  54. if JumpCount == 0 and human.Jump then
  55. JumpCount = 1
  56. else
  57. touched = false
  58. JumpCount = 0
  59. end
  60. wait(1)
  61. if JumpCount == 1 and human.Jump then
  62. JumpCount = 2
  63. else
  64. JumpCount = 0
  65. end
  66. wait(1)
  67. if JumpCount == 2 and human.Jump then
  68. JumpCount = 3
  69. else
  70. JumpCount = 0
  71. end
  72. wait(1)
  73. if JumpCount == 3 and human.Jump then
  74. JumpCount = 4
  75. else
  76. JumpCount = 0
  77. end
  78. wait(1)
  79. if JumpCount == 4 and human.Jump then
  80. JumpCount = 0
  81. wait(1)
  82. touched = false
  83. human.WalkSpeed = 16
  84. else
  85. JumpCount = 0
  86. end
  87. end
  88. end)
  89. while true do
  90. wait()
  91. img.Image = "http://www.roblox.com/asset/?id=1872929052"
  92. wait(0.01)
  93. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement