Guest User

Untitled

a guest
Mar 6th, 2018
9,801
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local TextBox = Instance.new("TextBox")
  7. local TextButton = Instance.new("TextButton")
  8.  
  9. -- Properties
  10.  
  11. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  12.  
  13. Frame.Parent = ScreenGui
  14. Frame.Active = true
  15. Frame.BackgroundColor3 = Color3.new(0.278431, 0.831373, 1)
  16. Frame.BackgroundTransparency = 0.30000001192093
  17. Frame.Draggable = true
  18. Frame.Position = UDim2.new(0.634092569, 0, 0.542553186, 0)
  19. Frame.Size = UDim2.new(0.224099919, 0, 0.338652492, 0)
  20.  
  21. TextLabel.Parent = Frame
  22. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  23. TextLabel.BackgroundTransparency = 1
  24. TextLabel.Size = UDim2.new(1, 0, 0, 60)
  25. TextLabel.Font = Enum.Font.SourceSansLight
  26. TextLabel.Text = "LemonHead's Breakneck Gui"
  27. TextLabel.TextScaled = true
  28. TextLabel.TextSize = 14
  29. TextLabel.TextWrapped = true
  30.  
  31. TextBox.Parent = Frame
  32. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  33. TextBox.Position = UDim2.new(0, 0, 0.349999994, 0)
  34. TextBox.Size = UDim2.new(1, 0, 0, 70)
  35. TextBox.Font = Enum.Font.SourceSans
  36. TextBox.Text = "Player name here, or \"all\", or \"me\"."
  37. TextBox.TextScaled = true
  38. TextBox.TextSize = 14
  39. TextBox.TextWrapped = true
  40.  
  41. TextButton.Parent = Frame
  42. TextButton.BackgroundColor3 = Color3.new(0.137255, 1, 0.380392)
  43. TextButton.BackgroundTransparency = 0.30000001192093
  44. TextButton.Position = UDim2.new(0, 0, 0.730000019, 0)
  45. TextButton.Size = UDim2.new(1, 0, 0, 50)
  46. TextButton.Font = Enum.Font.SourceSans
  47. TextButton.Text = "Go!"
  48. TextButton.TextScaled = true
  49. TextButton.TextSize = 14
  50. TextButton.TextWrapped = true
  51. TextButton.MouseButton1Click:connect(function()
  52. if TextBox.Text ~= "Player name here, or \"all\", or \"me\"." then
  53. if TextBox.Text ~= "all" then
  54. if TextBox.Text ~= "me" then
  55. plr = game.Players[TextBox.Text]
  56. char = plr.Character
  57. HeadTorsoWeld = Instance.new("Weld", char.Head)
  58. HeadTorsoWeld.Part0 = char.Head
  59. HeadTorsoWeld.Part1 = char.Torso
  60.  
  61. HeadTorsoWeld.C0 = CFrame.new(0, -0.5, 1)*CFrame.Angles(-1.5, 0, 0)
  62. Oof = Instance.new("ParticleEmitter", char.Head)
  63. Oof.Color = ColorSequence.new(Color3.fromRGB(216, 0, 3))
  64. Oof.Size = NumberSequence.new(0.2)
  65. Oof.Texture = "rbxasset://textures/particles/sparkles_main.dds" --Just the sparkle texture; change if you want.
  66. Oof.Acceleration = Vector3.new(0, -20, 0)
  67. Oof.EmissionDirection = "Bottom"
  68. Oof.Lifetime = NumberRange.new(5, 10)
  69. Oof.Rate = 200.000
  70. Oof.Speed = NumberRange.new(10)
  71. else
  72. plr = game.Players.LocalPlayer
  73. char = plr.Character
  74. HeadTorsoWeld = Instance.new("Weld", char.Head)
  75. HeadTorsoWeld.Part0 = char.Head
  76. HeadTorsoWeld.Part1 = char.Torso
  77.  
  78. HeadTorsoWeld.C0 = CFrame.new(0, -0.5, 1)*CFrame.Angles(-1.5, 0, 0)
  79. Oof = Instance.new("ParticleEmitter", char.Head)
  80. Oof.Color = ColorSequence.new(Color3.fromRGB(216, 0, 3))
  81. Oof.Size = NumberSequence.new(0.2)
  82. Oof.Texture = "rbxasset://textures/particles/sparkles_main.dds" --Just the sparkle texture; change if you want.
  83. Oof.Acceleration = Vector3.new(0, -20, 0)
  84. Oof.EmissionDirection = "Bottom"
  85. Oof.Lifetime = NumberRange.new(5, 10)
  86. Oof.Rate = 200.000
  87. Oof.Speed = NumberRange.new(10)
  88. end
  89. else
  90. for index, child in pairs(game.Players:GetChildren()) do
  91. plr = child
  92. char = plr.Character
  93. HeadTorsoWeld = Instance.new("Weld", char.Head)
  94. HeadTorsoWeld.Part0 = char.Head
  95. HeadTorsoWeld.Part1 = char.Torso
  96.  
  97. HeadTorsoWeld.C0 = CFrame.new(0, -0.5, 1)*CFrame.Angles(-1.5, 0, 0)
  98. Oof = Instance.new("ParticleEmitter", char.Head)
  99. Oof.Color = ColorSequence.new(Color3.fromRGB(216, 0, 3))
  100. Oof.Size = NumberSequence.new(0.2)
  101. Oof.Texture = "rbxasset://textures/particles/sparkles_main.dds" --Just the sparkle texture; change if you want.
  102. Oof.Acceleration = Vector3.new(0, -20, 0)
  103. Oof.EmissionDirection = "Bottom"
  104. Oof.Lifetime = NumberRange.new(5, 10)
  105. Oof.Rate = 200.000
  106. Oof.Speed = NumberRange.new(10)
  107. end
  108. end
  109. end
  110. end)
Add Comment
Please, Sign In to add comment