Advertisement
yaay

Untitled

Oct 18th, 2016
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.29 KB | None | 0 0
  1. --Made by INOOBE_YT
  2. --Keep script in Workspace
  3.  
  4.  
  5.  
  6. game.Players.PlayerAdded:connect(function(Player)
  7. Player.CharacterAdded:connect(function(Character)
  8. local Orb = Instance.new("Part", Character)
  9. Orb.BrickColor = BrickColor.new("Bright yellow")
  10. Orb.Material = "Pebble"
  11. Orb.Size = Vector3.new(1.4, 1.4, 1.4)
  12. Orb.Anchored = false
  13. Orb.CanCollide = false
  14. local Mesh = Instance.new("SpecialMesh", Orb)
  15. Mesh.MeshType = "Sphere"
  16. local BP = Instance.new("BodyPosition", Orb)
  17. BP.MaxForce = Vector3.new(10000, 10000, 10000)
  18. while wait() do
  19. BP.Position = Character:FindFirstChild("Torso").CFrame * CFrame.new(2, 2, 1.4).p
  20. end
  21. end)
  22. end)
  23.  
  24. while wait() do
  25. for i = 1,10 do
  26. f.TextStrokeTransparency = f.TextStrokeTransparency-.05
  27. wait(.01)
  28. end
  29. for i = 1,10 do
  30. f.TextStrokeTransparency = f.TextStrokeTransparency+.05
  31. wait(.01)
  32. end
  33. end
  34. end)
  35. function onEnter(player)
  36. gui1=Instance.new("ScreenGui")
  37. gui1.Parent = player.PlayerGui
  38. gui1.Name = player.Name.."'s GuiOrb"
  39. button1main = Instance.new("TextButton")
  40. button1main.Parent = gui1
  41. button1main.Position = UDim2.new ( 0.025, 0, 0.2, 0)
  42. button1main.Size = UDim2.new ( 0.1, 0, 0.05, 0)
  43. button1main.Style = 1
  44. button1main.TextColor3 = Color3.new ( 65025, 65025, 65025)
  45. button1main.Text = "Open Commands"
  46. button2main = Instance.new("TextButton")
  47. button2main.Parent = gui1
  48. button2main.Position = UDim2.new ( 0.025, 0, 0.25, 0)
  49. button2main.Size = UDim2.new ( 0.1, 0, 0.05, 0)
  50. button2main.Style = 1
  51. button2main.TextColor3 = Color3.new ( 65025, 65025, 65025)
  52. button2main.Text = "Open SelfCommands"
  53. frame1main=Instance.new("Frame")
  54. frame1main.Parent = gui1
  55. frame1main.Name = "FindPlayer"
  56. frame1main.Style = 2
  57. frame1main.Position = UDim2.new ( 0.125, 0, 0.2, 0)
  58. frame1main.Size = UDim2.new ( 0.15, 0, 0.2, 0)
  59. frame1main.Visible = false
  60. button1main.MouseButton1Click:connect(function()
  61. if frame1main.Visible == false then
  62. frame1main.Visible = true
  63. button1main.Text = "Close Commands"
  64. elseif frame1main.Visible == true then
  65. frame1main.Visible = false
  66. button1main.Text = "Open Commands"
  67. end
  68. end)
  69. button1fp=Instance.new("TextButton")
  70. button1fp.Parent = frame1main
  71. button1fp.Name = "Selected"
  72. button1fp.Style = 1
  73. button1fp.Position = UDim2.new ( 0.1, 0, 0.3, 0)
  74. button1fp.Size = UDim2.new ( 0.8, 0, 0.2, 0)
  75. button1fp.TextColor3 = Color3.new (0, 0, 0)
  76. button1fp.FontSize = Enum.FontSize.Size14
  77. button1fp.Font = "ArialBold"
  78. button1fp.TextStrokeColor3 = Color3.new(128*255, 255*255, 255*255)
  79. button1fp.TextStrokeTransparency = .5
  80. button2fp=Instance.new("TextButton")
  81. button2fp.Parent = frame1main
  82. button2fp.Style = 1
  83. button2fp.Position = UDim2.new ( 0.1, 0, 0.47, 0)
  84. button2fp.Size = UDim2.new ( 0.8, 0, 0.2, 0)
  85. button2fp.TextColor3 = Color3.new ( 65025, 65025, 65025)
  86. button2fp.Text = "Next Player"
  87. button3fp=Instance.new("TextButton")
  88. button3fp.Parent = frame1main
  89. button3fp.Style = 1
  90. button3fp.Position = UDim2.new ( 0.1, 0, 0.64, 0)
  91. button3fp.Size = UDim2.new ( 0.8, 0, 0.2, 0)
  92. button3fp.TextColor3 = Color3.new ( 65025, 65025, 65025)
  93. button3fp.Text = "Previous Player"
  94. currplayer=1
  95. local stablize = coroutine.create(function()
  96. while true do
  97. wait()
  98. allplayers=game.Players:GetChildren()
  99. if currplayer >= #allplayers+1 then
  100. currplayer = 1
  101. elseif currplayer == 0 then
  102. currplayer = #allplayers
  103. else
  104. button1fp.Text = allplayers[currplayer].Name
  105. if (allplayers[currplayer].Name=="ttyyuu12345") or (allplayers[currplayer].Name=="DroptheBomb") then
  106. button1fp.TextStrokeColor3 = Color3.new(255*255,255*255,0)
  107. else
  108. button1fp.TextStrokeColor3 = Color3.new(128*255, 255*255, 255*255)
  109. end
  110. end
  111. end
  112. end)
  113. coroutine.resume(stablize)
  114. button2fp.MouseButton1Click:connect(function()
  115. currplayer = currplayer+1
  116. end)
  117. button3fp.MouseButton1Click:connect(function()
  118. currplayer = currplayer-1
  119. end)
  120. frame2main=Instance.new("Frame")
  121. frame2main.Parent = gui1
  122. frame2main.Style = 2
  123. frame2main.Position = UDim2.new ( 0.275, 0, 0.2, 0)
  124. frame2main.Size = UDim2.new ( 0.3, 0, 0.6, 0)
  125. frame2main.Name = "Player"
  126. frame2main.Visible = false
  127. frame3main=Instance.new("Frame")
  128. frame3main.Parent = gui1
  129. frame3main.Style = 2
  130. frame3main.Position = UDim2.new ( 0.125, 0, 0.2, 0)
  131. frame3main.Size = UDim2.new ( 0.2, 0, 0.5, 0)
  132. frame3main.Name = "SelfCommands"
  133. frame3main.Visible = false
  134. button2main.MouseButton1Click:connect(function()
  135. if frame3main.Visible == true then
  136. button2main.Text = "Open SelfCommands"
  137. frame3main.Visible = false
  138. elseif frame3main.Visible == false then
  139. frame3main.Visible = true
  140. button2main.Text = "Close SelfCommands"
  141. end
  142. end)
  143. selected = "ttyyuu12345"
  144. button1fp.MouseButton1Click:connect(function()
  145. selected = button1fp.Text
  146. frame2main.Visible = true
  147. end)
  148. local frame1a2main = coroutine.create(function()
  149. while wait() do
  150. if frame1main.Visible == false then
  151. frame2main.Visible = false
  152. end
  153. end
  154. end)
  155. coroutine.resume(frame1a2main)
  156. frame1p=Instance.new("Frame")
  157. frame1p.Parent = frame2main
  158. frame1p.Name = "Commands"
  159. frame1p.Style = 2
  160. frame1p.Size = UDim2.new ( 1, 0, 0.8, 0)
  161. frame1p.Position = UDim2.new (0, 0, 0.2, 0)
  162. frame2p=Instance.new("Frame")
  163. frame2p.Parent = frame2main
  164. frame2p.Name = "PM"
  165. frame2p.Style = 2
  166. frame2p.Size = UDim2.new ( 0.5, 0, 0.3, 0)
  167. frame2p.Position = UDim2.new ( 1.025, 0, 0, 0)
  168. frame2p.Visible = false
  169. image1p=Instance.new("ImageLabel")
  170. image1p.Parent = frame2main
  171. image1p.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=ttyyuu12345"
  172. image1p.Name = "Person"
  173. image1p.BackgroundTransparency = 1
  174. image1p.Position = UDim2.new ( 0.3, 0, 0, 0)
  175. image1p.Size = UDim2.new ( 0.2, 0, 0.2, 0)
  176. label1p=Instance.new("TextLabel")
  177. label1p.Parent = frame2main
  178. label1p.Position = UDim2.new ( 0.72, 0, 0.1, 0)
  179. label1p.Name = "PersonName"
  180. label1p.Text = "ttyyuu12345"
  181. label1p.TextColor3 = Color3.new (0, 0, 0)
  182. label1p.FontSize = Enum.FontSize.Size14
  183. label1p.TextStrokeTransparency = .7
  184. local nametell = coroutine.create(function()
  185. while wait() do
  186. image1p.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username="..selected
  187. if (selected=="DroptheBomb") or (selected=="ttyyuu12345") then
  188. label1p.TextStrokeColor3 = Color3.new(255*255, 255*255, 0)
  189. else
  190. label1p.TextStrokeColor3 = Color3.new(128*255, 255*255, 255*255)
  191. end
  192. label1p.Text = selected
  193. end
  194. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement