Advertisement
TheFlamingBlaster

Untitled

Mar 11th, 2016
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.77 KB | None | 0 0
  1. wait(0.1)
  2. game.Workspace.Terrain:ClearAllChildren()
  3. local model = Instance.new("Model",workspace.Terrain)
  4. local player = game.Players.LocalPlayer
  5. game.Players.LocalPlayer.Character:ClearAllChildren()
  6. nochar = Instance.new("Part",model)
  7. nochar.Anchored = true
  8. nochar.Name = ("FOrb |"..player.Name)
  9. nochar.Size = Vector3.new(2,2,2)
  10. nochar.Transparency = 0.25
  11. nochar.CanCollide = false
  12. nochar.BrickColor = BrickColor.Black()
  13. nochar.Locked = true
  14. nochar.Shape = "Ball"
  15. nochar.TopSurface = Enum.SurfaceType.Smooth
  16. nochar.BottomSurface = Enum.SurfaceType.Smooth
  17. local bill = Instance.new("BillboardGui",nochar)
  18. local text = Instance.new("TextLabel")
  19. text.BackgroundTransparency = 1
  20. text.Text = (game.Players.LocalPlayer.Name)
  21. text.Size = UDim2.new(1,0,1,0)
  22. text.FontSize = Enum.FontSize.Size24
  23. text.TextColor = BrickColor.White()
  24. text.Parent = bill
  25. bill.Size = UDim2.new(0,100,0,100)
  26. bill.StudsOffset = Vector3.new(0,2,0)
  27. bill.Adornee = nochar
  28. local target = nochar
  29. local camera = workspace.CurrentCamera
  30. camera.CameraType = Enum.CameraType.Follow
  31. wait(0.01)
  32. camera.CameraType = Enum.CameraType.Custom
  33. camera.CameraSubject = target
  34. local player = game.Players.LocalPlayer
  35.  
  36. repeat wait() until game.Players.LocalPlayer
  37. local p = game.Players.LocalPlayer
  38. local m = p:GetMouse()
  39. local down = false
  40. math.randomseed(tick())
  41.  
  42. m.KeyDown:connect(function(key)
  43. if key:lower() == "s" then
  44. down = not down
  45. repeat
  46. nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y,nochar.Position.Z + 1)
  47. wait()
  48. until
  49. not down
  50. else
  51. if key:lower() == "w" then
  52. down = not down
  53. repeat
  54. nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y,nochar.Position.Z - 1)
  55. wait()
  56. until
  57. not down
  58. else
  59. if key:lower() == "a" then
  60. down = not down
  61. repeat
  62. nochar.Position = Vector3.new(nochar.Position.X - 1,nochar.Position.Y,nochar.Position.Z)
  63. wait()
  64. until
  65. not down
  66. else
  67. if key:lower() == "d" then
  68. down = not down
  69. repeat
  70. nochar.Position = Vector3.new(nochar.Position.X + 1,nochar.Position.Y,nochar.Position.Z)
  71. wait()
  72. until
  73. not down
  74. else
  75. if key:lower() == "q" then
  76. down = not down
  77. repeat
  78. nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y - 1,nochar.Position.Z)
  79. wait()
  80. until
  81. not down
  82. else
  83. if key:lower() == "e" then
  84. down = not down
  85. repeat
  86. nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y + 1,nochar.Position.Z)
  87. wait()
  88. until
  89. not down
  90. else
  91. if key:lower() == Enum.KeyCode.Space then
  92. down = not down
  93. repeat
  94. nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y + 5,nochar.Position.Z)
  95. wait()
  96. until
  97. not down
  98. end end end end end end end
  99. end)
  100. Camera = camera
  101. local function getCFrame()
  102. return CFrame.new(Camera.CoordinateFrame.p,Camera.Focus.p)
  103. end
  104.  
  105. local function getDirection()
  106. return getCFrame().lookVector
  107. end
  108.  
  109.  
  110. squid = nochar
  111. m.KeyUp:connect(function(key)
  112. if key:lower() == "s" and down then
  113. down = not down
  114. end
  115. if key:lower() == "w" and down then
  116. down = not down
  117. end
  118. if key:lower() == "a" and down then
  119. down = not down
  120. end
  121. if key:lower() == "d" and down then
  122. down = not down
  123. end
  124. if key:lower() == "q" and down then
  125. down = not down
  126. end
  127. if key:lower() == "e" and down then
  128. down = not down
  129. end
  130. if key:lower() == Enum.KeyCode.Space and down then
  131. down = not down
  132. end
  133. end)
  134. local handles = Instance.new("Handles",nochar)
  135. handles.Adornee = nochar
  136. handles.Style = Enum.HandlesStyle.Movement
  137. handles.Faces = Faces.new(Enum.NormalId.Front)
  138. player.Neutral = false
  139. player.Chatted:connect(function(msg)
  140. if msg == "red!" then
  141. nochar.BrickColor = BrickColor.Red()
  142. player.TeamColor = BrickColor.Red()
  143. else
  144. if msg == "blue!" then
  145. nochar.BrickColor = BrickColor.Blue()
  146. player.TeamColor = BrickColor.Blue()
  147. else
  148. if msg == "green!" then
  149. nochar.BrickColor = BrickColor.Green()
  150. player.TeamColor = BrickColor.Green()
  151. else
  152. if msg == "black!" then
  153. nochar.BrickColor = BrickColor.Black()
  154. player.TeamColor = BrickColor.Black()
  155. else
  156. if msg == "white!" then
  157. nochar.BrickColor = BrickColor.White()
  158. player.TeamColor = BrickColor.White()
  159. else
  160. if msg == "yellow!" then
  161. nochar.BrickColor = BrickColor.Yellow()
  162. player.TeamColor = BrickColor.Yellow()
  163. else
  164. if msg == "loadchar!" then
  165. player.Character:ClearAllChildren()
  166. player:LoadCharacter()
  167. script.Disabled = true
  168. else
  169.  
  170. local cbill = Instance.new("BillboardGui",nochar)
  171. cbill.Size = UDim2.new(0,300,0,100)
  172. cbill.StudsOffset = Vector3.new(0,4,0)
  173. cbill.Adornee = nochar
  174. local ctext = Instance.new("TextLabel",cbill)
  175. ctext.BackgroundTransparency = 0.5
  176. ctext.Text = (msg)
  177. ctext.Size = UDim2.new(1,0,1,0)
  178. ctext.FontSize = Enum.FontSize.Size24
  179. ctext.TextColor = BrickColor.White()
  180. ctext.BackgroundColor = BrickColor.Black()
  181. ctext.Parent = cbill
  182. wait(0.01)
  183. if ctext.TextFits == false then
  184. ctext.FontSize = Enum.FontSize.Size18
  185.  
  186. end
  187. wait(0.01)
  188. if ctext.TextFits == false then
  189. ctext.FontSize = Enum.FontSize.Size14
  190. end
  191. wait(0.1)
  192. if ctext.TextFits == false then
  193. ctext.FontSize = Enum.FontSize.Size12
  194. end
  195. wait(0.01)
  196. if ctext.TextFits == false then
  197. ctext.FontSize = Enum.FontSize.Size8
  198. end
  199. wait(0.01)
  200. wait(3)
  201. cbill:Destroy()
  202. end
  203.  
  204. end
  205. end
  206. end
  207. end
  208. end
  209. end
  210.  
  211. end)
  212. local gui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  213. local plr = gui.Parent
  214. local box = Instance.new("TextBox",gui)
  215. box.Size = UDim2.new(00,300,0,50)
  216. box.Position = UDim2.new(0,300,0,0)
  217. local button = Instance.new("TextButton",gui)
  218. button.Size = UDim2.new(0,50,0,50)
  219. button.Position = UDim2.new(0,600,0,0)
  220. button.Text = "Go"
  221. button.MouseButton1Down:connect(function()
  222. text.Text = box.Text
  223. end)
  224. local hoomanarea = Instance.new("Model",model)
  225. local Player = Game.Players.LocalPlayer
  226. local Mouse = Player:GetMouse()
  227. i = 0
  228. Mouse.Button1Down:connect(function()
  229. if i ~= 1 then
  230. local v3 = Mouse.hit
  231. local lasor = Instance.new("Part",workspace)
  232. lasor.Size = Vector3.new(1,1,1)
  233. lasor.Transparency = 0
  234. lasor.CanCollide = false
  235. lasor.Anchored = true
  236. lasor.CFrame = v3
  237. lasor.CFrame = CFrame.new(lasor.Position.X, lasor.Position.Y,lasor.Position.Z)
  238. local select = Instance.new("SelectionBox",lasor)
  239. select.Adornee = lasor
  240. select.Color3 = Color3.new(1,0,0)
  241. local human = Instance.new("Humanoid",hoomanarea)
  242. local lasso = Instance.new("SelectionPartLasso",hoomanarea)
  243. lasso.Color3 = Color3.new(1,0,0)
  244. lasso.Humanoid = human
  245. lasso.Part = lasor
  246. print("Worked!")
  247. function onTouched(hit)
  248. if hit.Parent:FindFirstChild("Humanoid") then
  249. hit.Parent.Humanoid.Health = 0
  250. else
  251. hit.Parent = nil
  252. print("nilling")
  253. end
  254. end
  255. lasor.Touched:connect(onTouched)
  256. wait(1)
  257. lasor:Destroy()
  258. human:Destroy()
  259. i = 1
  260. end
  261. i = 0
  262. end)
  263.  
  264.  
  265. local p = Instance.new("Part",hoomanarea)
  266. p.Size = Vector3.new(1,1,1)
  267. p.Shape = "Ball"
  268. p.Transparency = nochar.Transparency
  269. p.TopSurface = nochar.TopSurface
  270. p.BottomSurface = nochar.BottomSurface
  271. p.CanCollide = false
  272. p.Name = "Torso"
  273. i = 0
  274. dist = 3
  275. spd = .1
  276. angle = 0
  277. p.Anchored = true
  278.  
  279. local orbit = coroutine.create(function()
  280. while true do
  281. p.BrickColor = nochar.BrickColor
  282. i=i+1
  283. wait()
  284. p.CFrame = nochar.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*spd,0)*CFrame.new(0,0,dist)
  285. camera.CameraSubject = target
  286. game.Players.LocalPlayer.Character:ClearAllChildren()
  287. end
  288. end)
  289.  
  290. coroutine.resume(orbit)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement