Advertisement
TheFlamingBlaster

FOrb | Offical Build

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