Treyzotic

Forb

Mar 14th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.58 KB | None | 0 0
  1. -- FOrb is a open sourced, and regularly updated script.
  2. -- It is commonly used in ScriptBuilder-type places, such as Voidacity's script builder.
  3. -- I have no problem with you modifying and using it.
  4. -- But, if you're gonna do so, at least give me a bit of credit, kay?
  5. -- Like, keep this line:
  6. -- FOrb was made by xXDarkZHunterXx in 2016. The current version is: Alpha 1.0.1
  7. -- Feel free to do whatever you want with it.
  8. -- I'm just glad you're enjoying my script, and because it's gonna get leaked anyway, I actually promote you sharing it.
  9. -- Have fun with it! The juicy part is just centimeters(or about an inch, Americans) away!
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. wait(0.1)
  21. pressedonce = false
  22. local fire = true -- Set it to false if you don't want fire.
  23. local player = game.Players.LocalPlayer
  24. local sphere = true -- Set to false if you don't want a small little forcefield around your FOrb
  25. local model = Instance.new("Model",workspace.Terrain)
  26. model.Name = (player.Name)
  27. game.Players.LocalPlayer.Character:ClearAllChildren()
  28. nochar = Instance.new("Part",model)
  29. nochar.Anchored = true
  30. nochar.Name = ("FOrb |"..player.Name)
  31. nochar.Size = Vector3.new(2,2,2)
  32. nochar.Transparency = 0.25
  33. nochar.CanCollide = false
  34. nochar.BrickColor = BrickColor.Black()
  35. nochar.Locked = true
  36. nochar.Shape = "Ball"
  37. nochar.TopSurface = Enum.SurfaceType.Smooth
  38. nochar.BottomSurface = Enum.SurfaceType.Smooth
  39. local bill = Instance.new("BillboardGui",nochar)
  40. local text = Instance.new("TextLabel")
  41. text.BackgroundTransparency = 1
  42. text.Text = ("FOrb | "..game.Players.LocalPlayer.Name)
  43. text.Size = UDim2.new(1,0,1,0)
  44. text.FontSize = Enum.FontSize.Size24
  45. text.TextColor = BrickColor.White()
  46. text.Parent = bill
  47. bill.Size = UDim2.new(0,100,0,100)
  48. bill.StudsOffset = Vector3.new(0,2,0)
  49. bill.Adornee = nochar
  50. local target = nochar
  51. local camera = workspace.CurrentCamera
  52. camera.CameraType = Enum.CameraType.Follow
  53. wait(0.01)
  54. camera.CameraType = Enum.CameraType.Custom
  55. camera.CameraSubject = target
  56. currentselection = ""
  57. local cycle = 0
  58. local player = game.Players.LocalPlayer
  59. function onKeyPress(actionName, userInputState, inputObject)
  60. if userInputState == Enum.UserInputState.Begin then
  61. print("Switching modes...")
  62.  
  63. end
  64. end
  65.  
  66. game.ContextActionService:BindAction("keyPress", onKeyPress, false, Enum.KeyCode.C)
  67.  
  68. repeat wait() until game.Players.LocalPlayer
  69. local p = game.Players.LocalPlayer
  70. local m = p:GetMouse()
  71. local down = false
  72. math.randomseed(tick())
  73. selecton = false
  74. m.KeyDown:connect(function(key)
  75. if key:lower() == "s" then
  76. down = not down
  77. repeat
  78. nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y,nochar.Position.Z + 1)
  79. wait()
  80. until
  81. not down
  82. else
  83. if key:lower() == "w" then
  84. down = not down
  85. repeat
  86. nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y,nochar.Position.Z - 1)
  87. wait()
  88. until
  89. not down
  90. else
  91. if key:lower() == "a" then
  92. down = not down
  93. repeat
  94. nochar.Position = Vector3.new(nochar.Position.X - 1,nochar.Position.Y,nochar.Position.Z)
  95. wait()
  96. until
  97. not down
  98. else
  99. if key:lower() == "d" then
  100. down = not down
  101. repeat
  102. nochar.Position = Vector3.new(nochar.Position.X + 1,nochar.Position.Y,nochar.Position.Z)
  103. wait()
  104. until
  105. not down
  106. else
  107. if key:lower() == "q" then
  108. down = not down
  109. repeat
  110. nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y - 1,nochar.Position.Z)
  111. wait()
  112. until
  113. not down
  114. else
  115. if key:lower() == "e" then
  116. down = not down
  117. repeat
  118. nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y + 1,nochar.Position.Z)
  119. wait()
  120. until
  121. not down
  122. else
  123. if key:lower() == "n" and pressedonce == true then
  124. down = not down
  125. repeat
  126. local m = Instance.new("Message",workspace.Terrain)
  127. m.Text = "The server will now shut down due to a forced shutdown."
  128. game.Players:ClearAllChildren()
  129. wait()
  130. until
  131. not down
  132. else
  133. if key:lower() == "m" then
  134. down = not down
  135. repeat
  136. local m = Instance.new("Message",game.workspace.Terrain)
  137. m.Text = "AntiNoobKiker enabled, Hit N to shut down the server, and hit J cycle thru users, hit L to kick them."
  138. pressedonce = true
  139. wait(1.5)
  140. m:Destroy()
  141. wait()
  142. until
  143. not down
  144. else
  145. if key:lower() == "j" and pressedonce == true then
  146. selecton = true
  147. local gui = Instance.new("BillboardGui",nochar)
  148. gui.Size = UDim2.new(0,100,0,100)
  149. for index, child in pairs(game.Players:GetChildren()) do
  150. local msgselect = Instance.new("Message",workspace.Terrain)
  151. msgselect.Text = ("Selecting: "..child.Name)
  152. currentselection = child
  153. wait(5)
  154. msgselect:Destroy()
  155. end end
  156. repeat
  157. wait()
  158. until
  159. not down
  160. if key:lower() == "l" and pressedonce == true and selecton == true then
  161. currentselection:Remove()
  162. repeat
  163. until
  164. not down
  165. else
  166. if key:lower() == "p" and pressedonce == true then
  167. local msg = Instance.new("Message",workspace)
  168. msg.Text = ("A simple :remove() can't get rid of me. Not easily, atleast.")
  169. wait(3)
  170. msg:Destroy()
  171. end
  172. repeat
  173. until
  174. not down
  175. end
  176. end
  177. end
  178.  
  179.  
  180.  
  181. end end end end end end
  182. end)
  183. Camera = camera
  184. local function getCFrame()
  185. return CFrame.new(Camera.CoordinateFrame.p,Camera.Focus.p)
  186. end
  187.  
  188. local function getDirection()
  189. return getCFrame().lookVector
  190. end
  191. local rainbow = true
  192.  
  193. squid = nochar
  194. m.KeyUp:connect(function(key)
  195. if key:lower() == "s" and down then
  196. down = not down
  197. end
  198. if key:lower() == "w" and down then
  199. down = not down
  200. end
  201. if key:lower() == "a" and down then
  202. down = not down
  203. end
  204. if key:lower() == "d" and down then
  205. down = not down
  206. end
  207. if key:lower() == "q" and down then
  208. down = not down
  209. end
  210. if key:lower() == "e" and down then
  211. down = not down
  212. end
  213. if key:lower() == "m" and down then
  214. down = not down
  215. end
  216. if key:lower() == "n" and down then
  217. down = not down
  218. end
  219. if key:lower() == "j" and down then
  220. down = not down
  221. end
  222. if key:lower() == "l" and down then
  223. down = not down
  224. end
  225. if key:lower() == "p" and down then
  226. down = not down
  227. end
  228. end)
  229. local handles = Instance.new("Handles",nochar)
  230. handles.Adornee = nochar
  231. handles.Style = Enum.HandlesStyle.Movement
  232. handles.Faces = Faces.new(Enum.NormalId.Front)
  233. player.Neutral = false
  234. local stoprainbow = false
  235. player.Chatted:connect(function(msg)
  236. if msg == "red!" then
  237. nochar.BrickColor = BrickColor.Red()
  238. player.TeamColor = BrickColor.Red()
  239. else
  240. if msg == "blue!" then
  241. nochar.BrickColor = BrickColor.Blue()
  242. player.TeamColor = BrickColor.Blue()
  243. else
  244. if msg == "green!" then
  245. nochar.BrickColor = BrickColor.Green()
  246. player.TeamColor = BrickColor.Green()
  247. else
  248. if msg == "black!" then
  249. nochar.BrickColor = BrickColor.Black()
  250. player.TeamColor = BrickColor.Black()
  251. else
  252. if msg == "white!" then
  253. nochar.BrickColor = BrickColor.White()
  254. player.TeamColor = BrickColor.White()
  255. else
  256. if msg == "yellow!" then
  257. nochar.BrickColor = BrickColor.Yellow()
  258. player.TeamColor = BrickColor.Yellow()
  259. else
  260.  
  261. local cbill = Instance.new("BillboardGui",nochar)
  262. cbill.Size = UDim2.new(0,300,0,100)
  263. cbill.StudsOffset = Vector3.new(0,4,0)
  264. cbill.Adornee = nochar
  265. local ctext = Instance.new("TextLabel",cbill)
  266. ctext.BackgroundTransparency = 0.5
  267. ctext.Text = (msg)
  268. ctext.Size = UDim2.new(1,0,1,0)
  269. ctext.FontSize = Enum.FontSize.Size24
  270. ctext.TextColor = BrickColor.White()
  271. ctext.BackgroundColor = BrickColor.Black()
  272. ctext.Parent = cbill
  273. wait(0.01)
  274. if ctext.TextFits == false then
  275. ctext.FontSize = Enum.FontSize.Size18
  276.  
  277. end
  278. wait(0.01)
  279. if ctext.TextFits == false then
  280. ctext.FontSize = Enum.FontSize.Size14
  281. end
  282. wait(0.1)
  283. if ctext.TextFits == false then
  284. ctext.FontSize = Enum.FontSize.Size12
  285. end
  286. wait(0.01)
  287. if ctext.TextFits == false then
  288. ctext.FontSize = Enum.FontSize.Size8
  289. end
  290. wait(0.01)
  291. wait(3)
  292. cbill:Destroy()
  293. end
  294.  
  295. end
  296. end
  297. end
  298. end
  299. end
  300. end)
  301. local gui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  302. gui.Name = "FOrb | Gui"
  303. local box = Instance.new("TextBox",gui)
  304. box.Size = UDim2.new(00,300,0,50)
  305. box.Position = UDim2.new(0,300,0,0)
  306. local button1 = Instance.new("TextButton",gui)
  307. button1.Size = UDim2.new(0,50,0,50)
  308. button1.Position = UDim2.new(0,600,0,0)
  309. button1.Text = "Go"
  310. button1.MouseButton1Down:connect(function()
  311. text.Text = ("FOrb | "..box.Text)
  312. end)
  313. local plr = gui.Parent
  314. local button = Instance.new("ImageButton",gui)
  315. button.Image = "rbxassetid://7405549"
  316. button.BackgroundTransparency = 1
  317. button.Size = UDim2.new(0.1,0,0.15,0)
  318. button.Position = UDim2.new(0.9,0,0.85,0)
  319. button.Visible = false
  320. local l = Instance.new("ImageButton",gui)
  321. l.Image = "rbxassetid://381710061"
  322. l.Size = UDim2.new(0,50,0,50)
  323. l.Position = UDim2.new(0.85,0,0.8,0)
  324. l.BackgroundTransparency = 1
  325. l.Visible = false
  326. local tx = Instance.new("ImageButton",gui)
  327. tx.Image = "rbxassetid://381710061"
  328. tx.Size = UDim2.new(0,50,0,50)
  329. tx.Position = UDim2.new(0.95,0,0.7,0)
  330. tx.BackgroundTransparency = 1
  331. tx.Visible = false
  332. clicked = false
  333. local lasor = true
  334. button.MouseButton1Down:connect(function()
  335. if clicked == false then
  336. l.Visible = false
  337. clicked = true
  338. else
  339. l.Visible = false
  340. clicked = false
  341. end
  342. end)
  343. l.MouseButton1Down:connect(function()
  344. if lasor == true then
  345. lasor = false
  346. else
  347. lasor = true
  348. end
  349. end)
  350. local hoomanarea = Instance.new("Model",model)
  351. local Player = Game.Players.LocalPlayer
  352. local Mouse = Player:GetMouse()
  353. local connection = true
  354. if connection == true then
  355. local human1 = Instance.new("Humanoid",hoomanarea)
  356. local lasso1 = Instance.new("SelectionPartLasso",hoomanarea)
  357. lasso1.Color3 = Color3.new(0,1,1)
  358. lasso1.Humanoid = human1
  359. lasso1.Part = nochar
  360. end
  361.  
  362. Mouse.Button1Down:connect(function()
  363. if lasor == true then
  364. local v3 = Mouse.hit
  365. local lasor = Instance.new("Part",workspace)
  366. lasor.Size = Vector3.new(1,1,1)
  367. lasor.Transparency = 1
  368. lasor.CanCollide = false
  369. lasor.Anchored = true
  370. lasor.CFrame = v3
  371. lasor.CFrame = CFrame.new(lasor.Position.X, lasor.Position.Y,lasor.Position.Z)
  372. local human = Instance.new("Humanoid",hoomanarea)
  373. local lasso = Instance.new("SelectionPartLasso",hoomanarea)
  374. lasso.Color3 = Color3.new(1,0,0)
  375. lasso.Humanoid = human
  376. lasso.Part = lasor
  377. print("Worked!")
  378. function onTouched(hit)
  379. if hit.Parent:FindFirstChild("Humanoid") then
  380. hit.Parent.Humanoid.Health = 0
  381. else
  382. hit.Parent = nil
  383. print("nilling")
  384. end
  385. end
  386. lasor.Touched:connect(onTouched)
  387. wait(1)
  388. lasor:Destroy()
  389. human:Destroy()
  390. end
  391. end)
  392.  
  393. local p = Instance.new("Part",hoomanarea)
  394. p.Size = Vector3.new(1,1,1)
  395. p.Shape = "Ball"
  396. p.Transparency = nochar.Transparency
  397. p.TopSurface = nochar.TopSurface
  398. p.BottomSurface = nochar.BottomSurface
  399. p.CanCollide = false
  400. p.Name = "Torso"
  401. i = 0
  402. dist = 3
  403. spd = .05
  404. angle = 0
  405. p.Anchored = true
  406. if fire == true then
  407. local particle = Instance.new("Fire",p)
  408. particle.Size = "2"
  409. particle.Heat = "1"
  410. end
  411. local changeangle = true
  412. local orbit = coroutine.create(function()
  413. while true do
  414. if changeangle == true then
  415. angle = angle + 0.01
  416. end
  417. i=i+1
  418. wait()
  419. p.CFrame = nochar.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*spd,0)*CFrame.new(0,0,dist)
  420. camera.CameraSubject = target
  421. local children = player.Character:GetChildren()
  422. for i = 1, #children do
  423. if children[i]:IsA("Part") or children[i]:IsA("Humanoid") then
  424. children[i]:Destroy()
  425. end
  426. end
  427. end
  428. end)
  429.  
  430. coroutine.resume(orbit)
  431.  
  432. colorname = true -- Do you want your name to change random colors? If not, set to false, if so, keep on true
  433. local colorname = coroutine.create(function()
  434. if colorname == true then
  435. while true do
  436. local randbrick = BrickColor.Random()
  437. text.TextColor3 = randbrick.Color
  438. p.BrickColor = nochar.BrickColor
  439. wait(1)
  440. end end
  441. end)
  442.  
  443. coroutine.resume(colorname)
  444.  
  445. randomteam = true -- Do you want your team & name in chat to change random colors? If not, set to false, if so, keep on true
  446. local randomteam = coroutine.create(function()
  447. if randomteam == true then
  448. while true do
  449. local randbrick = BrickColor.Random()
  450. player.TeamColor = randbrick
  451. wait(1)
  452. end end
  453. end)
  454.  
  455. coroutine.resume(randomteam)
  456.  
  457. local nsphere = Instance.new("SelectionSphere",nochar)
  458. nsphere.Transparency = 0.85
  459. nsphere.SurfaceTransparency = 0.85
  460. nsphere.Adornee = nochar
Add Comment
Please, Sign In to add comment