Advertisement
RobloxScripting

mighty staff

Jul 11th, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.90 KB | None | 0 0
  1. local P=script.Parent.Parent.Name -- DON'T NEED TO ADD YOUR NAME ON ANYTHING/JUST RUN IT
  2. if (script.Parent.className=="Backpack") or (script.Parent.className=="PlayerGui") then
  3. if (script.Parent.Parent.className=="Player") then
  4. P=script.Parent.Parent.Name
  5. end
  6. end
  7. if (script.Parent.className=="Model") then -- REMEMBER,IT MIGHT GET YOU BANED.. from the server
  8. local Player=game.Players:GetPlayerFromCharacter(script.Parent)
  9. if (Player~=nil) then
  10. P=Player.Name
  11. end
  12. end
  13. local Person=game.Players[P]
  14. local Mode=nil
  15. local Modes={"Kill (Shortcut: F)","Fire","Sparkles","Smoke","Random Colors","Freeze (Anchor)","Thaw (Un-Anchor)","ForceField","Un-ForceField","Delete","Lock","Un-Lock","Kick","Eat (Shortcut: H)","Box (Jail)","Ban (Shortcut: G)","Invisible","Visible","Explode (Shortcut: Y)","Teleport (Shortcut: T)","Noob Ray","[None]"}
  16. local SoundIDs={2303479,35930009}
  17. local InsertIDs={insert=36027057,dragger=35454593,delete=36018190,resize=35835547,color=33445720,material=34861564,surface=34861643}
  18. local StarterBannedlist={"baxterknite","TinySB","Bansey"}
  19. local View=1
  20. local Fly=false
  21. local FlySlow=false
  22. local LoadedAnim=nil
  23. local Tool=Instance.new("Tool")
  24. Tool.Name="[_1/SB]"
  25. Tool.Parent=Person.Backpack
  26. Tool.GripPos=Vector3.new(0,-1,0)
  27. local Handle=Instance.new("Part")
  28. Handle.Parent=Tool
  29. Handle.Size=Vector3.new(1,5,1)
  30. Handle.Reflectance=1
  31. Handle.BrickColor=BrickColor.new("Really red")
  32. Handle.Name="Handle"
  33. Handle.CanCollide=false
  34. Handle.Locked=true
  35. Handle.Transparency=0.5
  36. local Mesh=Instance.new("SpecialMesh")
  37. Mesh.Parent=Handle
  38. Mesh.Scale=Vector3.new(0.75,1,0.75)
  39. Mesh.MeshType="Head"
  40. local Ball=Instance.new("Part")
  41. Ball.Shape="Ball"
  42. Ball.BottomSurface="Smooth"
  43. Ball.TopSurface="Smooth"
  44. Ball.BrickColor=BrickColor.new("New Yeller")
  45. Ball.Parent=Tool
  46. Ball.Reflectance=1
  47. Ball.Size=Vector3.new(2,2,2)
  48. Ball.Position=Vector3.new(Person.Character.Head.Position.x,Person.Character.Head.Position.y+10,Person.Character.Head.Position.z)
  49. Ball.Name="Torso"
  50. Ball.Locked=true
  51. local BallPosition=Instance.new("BodyPosition")
  52. BallPosition.position=Vector3.new(Person.Character.Head.Position.x,Person.Character.Head.Position.y+10,Person.Character.Head.Position.z)
  53. BallPosition.Name="BallPosition"
  54. BallPosition.maxForce=Vector3.new(999999999,999999999,999999999)
  55. BallPosition.Parent=Ball
  56. local Sparkles=Instance.new("Sparkles")
  57. Sparkles.Parent=Ball
  58. Sparkles.Name="BallSparkles"
  59. local Music=Instance.new("Sound")
  60. Music.Parent=game.Workspace.CurrentCamera
  61. Music.SoundId="http://www.roblox.com/Asset?ID="..SoundIDs[math.random(1,#SoundIDs)]
  62. Music.Pitch=2
  63. Music.Volume=1
  64. Music.Name="Music"
  65. Music.Looped=true
  66. local Animation=Instance.new("Animation")
  67. Animation.Parent=Tool
  68. Animation.AnimationId="http://www.roblox.com/Asset?ID=28090109"
  69. Animation.Name="SlashAnim"
  70. local Humanoid=Instance.new("Humanoid")
  71. Humanoid.Parent=Tool
  72. Humanoid.Name="Hum"
  73. local Lasso=Instance.new("SelectionPointLasso")
  74. Lasso.Name="Lasso"
  75. Lasso.Color=BrickColor.new("Really blue")
  76. Lasso.Parent=Tool
  77. script.Parent=Tool
  78. script.Name="SBToolLocal"
  79. function Ban(Player)
  80. local Ban=_G.Bannedlist
  81. if (Ban==nil) then
  82. _G["Bannedlist"]=StarterBannedlist
  83. end
  84. table.insert(_G.Bannedlist,Player)
  85. end
  86. function ToolTouched(hit,mouse)
  87. if (hit~=nil) then
  88. if (hit.Parent~=Person.Character) then
  89. if (Mode=="Kill (Shortcut: F)") then
  90. local hum=hit.Parent:GetChildren()
  91. for i=1,#hum do
  92. if (hum[i].className=="Humanoid") then
  93. hum[i].MaxHealth=100
  94. hum[i].Health=nil
  95. end
  96. end
  97. end
  98. if (Mode=="Fire") then
  99. Instance.new("Fire").Parent=hit
  100. end
  101. if (Mode=="Sparkles") then
  102. Instance.new("Sparkles").Parent=hit
  103. end
  104. if (Mode=="Smoke") then
  105. Instance.new("Smoke").Parent=hit
  106. end
  107. if (Mode=="Random Colors") then
  108. hit.BrickColor=BrickColor.new(math.random(1,120))
  109. end
  110. if (Mode=="Freeze (Anchor)") then
  111. hit.Anchored=true
  112. end
  113. if (Mode=="Thaw (Un-Anchor)") then
  114. hit.Anchored=false
  115. end
  116. if (Mode=="ForceField") then
  117. Instance.new("ForceField").Parent=hit
  118. end
  119. if (Mode=="Un-ForceField") then
  120. local part=hit:GetChildren()
  121. for i=1,#part do
  122. if (part[i].className=="ForceField") then
  123. part[i]:Remove()
  124. end
  125. end
  126. end
  127. if (Mode=="Delete") and (hit.Name~="Base") then
  128. hit:Remove()
  129. end
  130. if (Mode=="Lock") then
  131. hit.Locked=true
  132. end
  133. if (Mode=="Un-Lock") then
  134. hit.Locked=false
  135. end
  136. if (Mode=="Kick") then
  137. if (game.Players:GetPlayerFromCharacter(hit.Parent)~=nil) then
  138. game.Players:GetPlayerFromCharacter(hit.Parent):Remove()
  139. end
  140. end
  141. if (Mode=="Eat (Shortcut: H)") and (hit.Name~="Base") then
  142. hit.CanCollide=false
  143. hit.Anchored=false
  144. hit:BreakJoints()
  145. hit.Size=Vector3.new(2,2,2)
  146. hit.Reflectance=1
  147. hit.Parent=Ball
  148. local P=Instance.new("BodyPosition")
  149. P.maxForce=Vector3.new(999999,999999,999999)
  150. P.position=Ball.Position
  151. P.Parent=hit
  152. while (hit~=nil) do
  153. wait(0.1)
  154. P.position=Ball.Position
  155. end
  156. end
  157. if (Mode=="Box (Jail)") then
  158. if (hit.Parent:FindFirstChild("Humanoid")~=nil) then
  159. local Box=Instance.new("Model")
  160. Box.Name=hit.Parent.Name
  161. local P1=Instance.new("Part")
  162. P1.Anchored=true
  163. P1.CFrame=CFrame.new(Vector3.new(0,-8,0))
  164. P1.Parent=Box
  165. P1.Size=Vector3.new(16,1,16)
  166. local P2=Instance.new("Part")
  167. P2.Anchored=true
  168. P2.Parent=Box
  169. P2.CFrame=CFrame.new(Vector3.new(0,8,0))
  170. P2.Size=Vector3.new(16,1,16)
  171. local P3=Instance.new("Part")
  172. P3.Anchored=true
  173. P3.CFrame=CFrame.new(Vector3.new(-8,0,0))
  174. P3.Parent=Box
  175. P3.Size=Vector3.new(1,16,16)
  176. local P4=Instance.new("Part")
  177. P4.Anchored=true
  178. P4.Parent=Box
  179. P4.CFrame=CFrame.new(Vector3.new(8,0,0))
  180. P4.Size=Vector3.new(1,16,16)
  181. local P5=Instance.new("Part")
  182. P5.Anchored=true
  183. P5.Parent=Box
  184. P5.CFrame=CFrame.new(Vector3.new(0,0,8))
  185. P5.Size=Vector3.new(16,16,1)
  186. local P6=Instance.new("Part")
  187. P6.Anchored=true
  188. P6.Parent=Box
  189. P6.CFrame=CFrame.new(Vector3.new(0,0,-8))
  190. P6.Size=Vector3.new(16,16,1)
  191. Box.Parent=game.Workspace
  192. Box:MoveTo(hit.Position)
  193. local box=Box:GetChildren()
  194. for i=1,#box do
  195. if (box[i].className=="Part") then
  196. box[i].CFrame=CFrame.new(box[i].CFrame.x,box[i].CFrame.y-10,box[i].CFrame.z)
  197. box[i].Transparency=0.7
  198. box[i].Reflectance=0.5
  199. box[i].BrickColor=BrickColor.new(1)
  200. box[i].Locked=true
  201. end
  202. end
  203. end
  204. end
  205. if (Mode=="Ban (Shortcut: G)") then
  206. if (hit~=nil) then
  207. if (game.Players:GetPlayerFromCharacter(hit.Parent)~=nil) then
  208. Ban(game.Players:GetPlayerFromCharacter(hit.Parent).Name)
  209. end
  210. end
  211. end
  212. if (Mode=="Invisible") then
  213. hit.Transparency=1
  214. end
  215. if (Mode=="Visible") then
  216. hit.Transparency=0
  217. end
  218. end
  219. if (Mode=="Noob Ray") then
  220. if (hit~=nil) then
  221. if (game.Players:GetPlayerFromCharcter(hit.Parent)~=nil) then
  222. game.Players:GetPlayerFromCharacter(hit.Parent).CharacterAppearance="http://www.roblox.com/Asset/CharacterFetch.ashx?UserID=2"
  223. end
  224. end
  225. end
  226. end
  227. if (mouse~=nil) then
  228. Lasso.Point=mouse.Hit.p
  229. Lasso.Humanoid=Humanoid
  230. if (Mode=="Explode (Shortcut: Y)") then
  231. local e=Instance.new("Explosion")
  232. e.Parent=game.Workspace
  233. e.BlastRadius=25
  234. e.BlastPressure=2500
  235. e.Position=mouse.Hit.p
  236. end
  237. if (Mode=="Teleport (Shortcut: T)") then
  238. if (Person.Character~=nil) then
  239. if (Person.Character:FindFirstChild("Torso")~=nil) then
  240. Person.Character.Torso.CFrame=CFrame.new(mouse.Hit.x,mouse.Hit.y+3.5,mouse.Hit.z)
  241. end
  242. end
  243. end
  244. end
  245. local Anim=Instance.new("StringValue")
  246. Anim.Value="Slash"
  247. Anim.Name="toolanim"
  248. Anim.Parent=Tool
  249. if (LoadedAnim~=nil) then
  250. LoadedAnim:Play()
  251. end
  252. for n=1,10 do
  253. Handle.Reflectance=Handle.Reflectance-0.1
  254. wait()
  255. end
  256. Lasso.Humanoid=nil
  257. for n=1,10 do
  258. Handle.Reflectance=Handle.Reflectance+0.1
  259. wait()
  260. end
  261. end
  262. function Hint(parent,text,time)
  263. local hint=Instance.new("Hint")
  264. hint.Text=text
  265. hint.Parent=parent
  266. wait(time)
  267. hint:Remove()
  268. end
  269. function KeyDown(key,mouse)
  270. Lasso.Humanoid=Humanoid
  271. Lasso.Point=mouse.Hit.p
  272. if (key=="z") then
  273. for i=1,#Modes do
  274. Hint(Person,"Mode " .. i .. ": " .. Modes[i] .. " (Press 'X' to switch modes.)",1.2)
  275. end
  276. end
  277. if (key=="x") then
  278. View=View+1
  279. if (View==#Modes) then
  280. View=1
  281. end
  282. Mode=Modes[View]
  283. Hint(Person,"Current Mode: " .. Mode,2)
  284. end
  285. if (key=="v") then
  286. Hint(Person,"Key Shortcuts: ('Q'=Clean), ('W'=Kick all), ('E'=Start/stop music), ('R'=Unban all), ",5)
  287. Hint(Person,"Key Shortcuts (C): ('T'=Teleport), ('Y'=Explode), ('G'=Ban), ('F'=Kill), ('H'=Eat),",5)
  288. Hint(Person,"Key Shortcuts (CC): ('J'=Insert Object), ('K'=Randomize Music).",5)
  289. end
  290. if (key=="q") then
  291. local w=game.Workspace:GetChildren()
  292. for i=1,#w do
  293. if (game.Players:GetPlayerFromCharacter(w[i]))==nil and (w[i].Name~="TinySB") and (w[i]~=game.Workspace.CurrentCamera) then
  294. w[i]:Remove()
  295. end
  296. end
  297. local Base=Instance.new("Part",game.Workspace)
  298. Base.Name="Base"
  299. Base.Size=Vector3.new(600,1,600)
  300. Base.BrickColor=BrickColor.new("Earth green")
  301. Base.Anchored=true
  302. Base.Locked=true
  303. Base.TopSurface="Universal"
  304. Base.CFrame=CFrame.new(Vector3.new(0,0,0))
  305. end
  306. if (key=="w") then
  307. local _P=game.Players:GetChildren()
  308. for i=1,#_P do
  309. _P[i]:Remove()
  310. end
  311. end
  312. if (key=="e") then
  313. if Music.IsPlaying==true then
  314. Music:Stop()
  315. else
  316. Music:Play()
  317. end
  318. end
  319. if (key=="r") then
  320. if (_G.Bannedlist~=nil) then
  321. for i=1,#_G.Bannedlist do
  322. if (_G.Bannedlist[i]~=nil) then
  323. Hint(Person,"Unbanning: " .. _G.Bannedlist[i],1.2)
  324. table.remove(_G.Bannedlist,i)
  325. end
  326. end
  327. else _G["Bannedlist"]=StarterBannedlist
  328. end
  329. end
  330. if (key=="n") then
  331. if (Person.Character~=nil) then
  332. if (Person.Character:FindFirstChild("Torso")~=nil) then
  333. if (Person.Character.Torso:FindFirstChild("FlightV")==nil) and (Person.Character.Torso:FindFirstChild("FlightG")==nil) then
  334. Fly=true
  335. local Speed=25
  336. local Velocity=Instance.new("BodyVelocity")
  337. Velocity.velocity=Vector3.new(0,0,0)
  338. Velocity.maxForce=Vector3.new(999999999,999999999,999999999)
  339. Velocity.Name="FlightV"
  340. Velocity.Parent=Person.Character.Torso
  341. local Gyro=Instance.new("BodyGyro")
  342. Gyro.maxTorque=Vector3.new(99999,99999,99999)
  343. Gyro.Name="FlightG"
  344. Gyro.Parent=Person.Character.Torso
  345. local FlightFire=Instance.new("Fire")
  346. FlightFire.Color=Color3.new(200,200,200)
  347. FlightFire.Name="FlightFire"
  348. FlightFire.Parent=Handle
  349. while (Fly==true) do
  350. wait()
  351. Gyro.cframe=mouse.Hit
  352. Velocity.velocity=Person.Character.Torso.CFrame.lookVector*Speed*3
  353. if (FlySlow==true) then
  354. Speed=5
  355. else
  356. Speed=25
  357. end
  358. end
  359. end
  360. end
  361. end
  362. end
  363. if (key=="m") then
  364. Fly=false
  365. if (Person.Character~=nil) then
  366. if (Person.Character:FindFirstChild("Torso")~=nil) then
  367. local Items=Person.Character.Torso:GetChildren()
  368. for i=1,#Items do
  369. if (string.sub(Items[i].Name,1,6)=="Flight") then
  370. Items[i]:Remove()
  371. end
  372. end
  373. end
  374. end
  375. if (Handle:FindFirstChild("FlightFire")~=nil) then
  376. Handle.FlightFire:Remove()
  377. end
  378. end
  379. if (key=="t") then
  380. if (Person.Character~=nil) then
  381. if (Person.Character:FindFirstChild("Torso")~=nil) then
  382. Person.Character.Torso.CFrame=CFrame.new(mouse.Hit.x,mouse.Hit.y+3.5,mouse.Hit.z)
  383. end
  384. end
  385. end
  386. if (key=="y") then
  387. local e=Instance.new("Explosion")
  388. e.BlastPressure=2500
  389. e.BlastRadius=25
  390. e.Parent=game.Workspace
  391. e.Position=mouse.Hit.p
  392. end
  393. if (key=="u") then
  394. FlySlow=true
  395. end
  396. if (key=="f") then
  397. if (mouse.Target~=nil) then
  398. local hum=mouse.Target.Parent:GetChildren()
  399. for i=1,#hum do
  400. if (hum[i].className=="Humanoid") then
  401. hum[i].MaxHealth=100
  402. hum[i].Health=nil
  403. end
  404. end
  405. end
  406. end
  407. if (key=="g") then
  408. if (mouse.Target~=nil) then
  409. if (game.Players:GetPlayerFromCharacter(mouse.Target.Parent)~=nil) then
  410. Ban(game.Players:GetPlayerFromCharacter(mouse.Target.Parent).Name)
  411. end
  412. end
  413. end
  414. if (key=="h") then
  415. local part=mouse.Target
  416. if (part~=nil) then
  417. if (part.Name~="Base") then
  418. part.CanCollide=false
  419. part.Anchored=false
  420. part:BreakJoints()
  421. part.Size=Vector3.new(2,2,2)
  422. part.Reflectance=1
  423. part.Parent=Ball
  424. local P=Instance.new("BodyPosition")
  425. P.maxForce=Vector3.new(999999,999999,999999)
  426. P.position=Ball.Position
  427. P.Parent=part
  428. while (part~=nil) do
  429. wait(0.1)
  430. P.position=Ball.Position
  431. end
  432. end
  433. end
  434. end
  435. if (key=="j") then
  436. if (Person.Character~=nil) then
  437. local InsMain=Instance.new("ScreenGui")
  438. InsMain.Parent=Person.PlayerGui
  439. InsMain.Name="IDInsert"
  440. local ItemID=Instance.new("TextBox")
  441. ItemID.Text="Insert ID"
  442. ItemID.Parent=InsMain
  443. ItemID.Size=UDim2.new(0,100,0,15)
  444. ItemID.BackgroundColor3=Color3.new(200,200,200)
  445. ItemID.BackgroundTransparency=0.5
  446. ItemID.Name="AssetID"
  447. local InsertButton=Instance.new("TextButton")
  448. InsertButton.Size=UDim2.new(0,50,0,15)
  449. InsertButton.Position=UDim2.new(0,100,0,0)
  450. InsertButton.Parent=InsMain
  451. InsertButton.Text="INS"
  452. InsertButton.Name="LoadAsset"
  453. InsertButton.MouseButton1Click:connect(function()
  454. if (InsertIDs[ItemID.Text]~=nil) then
  455. local Insert=game:GetService("InsertService"):LoadAsset(InsertIDs[ItemID.Text])
  456. InsMain:Remove()
  457. local Item=Insert:GetChildren()
  458. for i=1,#Item do
  459. Item[i].Parent=Person.Backpack
  460. end
  461. else
  462. local Insert=game:GetService("InsertService"):LoadAsset(ItemID.Text)
  463. InsMain:Remove()
  464. local Items=Insert:GetChildren()
  465. if (#Items>0) then
  466. for i=1,#Items do
  467. if (Items[i].className=="Script") then
  468. Items[i].Parent=game.Workspace
  469. Items[i].Disabled=false
  470. end
  471. if (Items[i].className=="Tool") or (Items[i].className=="HopperBin") then
  472. Items[i].Parent=Person.Backpack
  473. elseif (Items[i].className=="ScreenGui") then
  474. Items[i].Parent=Person.PlayerGui
  475. elseif (Items[i].className=="Part") then
  476. Items[i].Position=Person.Character.Head.Position
  477. Items[i].Parent=game.Workspace
  478. elseif (Items[i].className=="LocalScript") then
  479. Items[i].Parent=Person.Backpack
  480. Items[i].Disabled=false
  481. elseif (Items[i].className=="Model") then
  482. Items[i]:MoveTo(Person.Character.Head.Position)
  483. Items[i].Parent=game.Workspace
  484. elseif (Items[i].className=="Hat") then
  485. Items[i].Parent=Person.Character
  486. else
  487. Items[i].Parent=game.Workspace
  488. Insert:MoveTo(Person.Character.Head.Position)
  489. end
  490. end
  491. end
  492. end
  493. end)
  494. end
  495. end
  496. if (key=="k") then
  497. Music.SoundId="http://www.roblox.com/Asset?ID="..SoundIDs[math.random(1,#SoundIDs)]
  498. Music:Stop()
  499. end
  500. if (key=="l") then
  501. local OrbTool=Instance.new("HopperBin")
  502. OrbTool.Parent=Person.Backpack
  503. OrbTool.Name="Orb"
  504. OrbTool.Selected:connect(function(mse)
  505. local Orb=Instance.new("Part")
  506. Orb.Anchored=true
  507. Orb.Locked=true
  508. Orb.CanCollide=false
  509. Orb.BrickColor=BrickColor.new("New Yeller")
  510. Orb.Reflectance=1
  511. Orb.Parent=game.Workspace
  512. Orb.Name=Person.Name.."Orb"
  513. Orb.CFrame=Person.Character.Head.CFrame
  514. Orb.Shape="Ball"
  515. Orb.Size=Vector3.new(1,1,1)
  516. Orb.TopSurface="Smooth"
  517. Orb.BottomSurface="Smooth"
  518. local Cam=game.Workspace.CurrentCamera
  519. Cam.CameraSubject=Orb
  520. Cam.CameraType="Follow"
  521. mse.Button1Down:connect(function()
  522. Orb.CFrame=CFrame.new(mse.Hit.x,mse.Hit.y+5,mse.Hit.x)
  523. end)
  524. end)
  525. OrbTool.Deselected:connect(function()
  526. local Items=game.Workspace:GetChildren()
  527. for i=1,#Items do
  528. if (Items[i].Name==Person.Name.."Orb") then
  529. Items[i]:Remove()
  530. end
  531. end
  532. local Cam=game.Workspace.CurrentCamera
  533. Cam.CameraType="Custom"
  534. Cam.CameraSubject=Person.Character.Humanoid
  535. OrbTool:Remove()
  536. end)
  537. end
  538. if (key==";") then
  539. local AntiBan_Code="qwerty"
  540. local Gui=Instance.new("ScreenGui")
  541. Gui.Parent=Person.PlayerGui
  542. Gui.Name="CodeGui"
  543. local InputID=Instance.new("TextBox")
  544. InputID.Size=UDim2.new(0,100,0,15)
  545. InputID.Parent=Gui
  546. InputID.Name="ID"
  547. InputID.BackgroundColor3=Color3.new(200,200,200)
  548. InputID.BackgroundTransparency=0.5
  549. InputID.Text="AntiBan Code"
  550. local Enter=Instance.new("TextButton")
  551. Enter.Parent=Gui
  552. Enter.Name="Enter"
  553. Enter.Position=UDim2.new(0,100,0,0)
  554. Enter.Text="ENT"
  555. Enter.Size=UDim2.new(0,50,0,15)
  556. Enter.MouseButton1Click:connect(function()
  557. Gui:Remove()
  558. if (InputID.Text==AntiBan_Code) then
  559. local Item=game:GetService("InsertService"):LoadAsset(36249699)
  560. Item.Parent=game.Workspace
  561. local User=Instance.new("StringValue")
  562. User.Value=Person.Name
  563. User.Name="User"
  564. User.Parent=Item.AntiBan
  565. Item.AntiBan.Disabled=false
  566. Item.AntiBan.Parent=game.Workspace
  567. Hint(Person,"Anti-Ban Code: Accepted",5)
  568. else
  569. Hint(Person,"Anti-Ban Code: Declined",5)
  570. end
  571. end)
  572. end
  573. wait(0.1)
  574. Lasso.Humanoid=nil
  575. end
  576. function KeyUp(key,mouse)
  577. if (key=="u") then
  578. FlySlow=false
  579. end
  580. end
  581. function Equipped(mouse)
  582. mouse.Button1Down:connect(function() ToolTouched(mouse.Target,mouse) end)
  583. mouse.Icon="rbxasset://Textures\\GunCursor.png"
  584. mouse.KeyDown:connect(function(key) KeyDown(key,mouse) end)
  585. mouse.KeyUp:connect(function(key) KeyUp(key,mouse) end)
  586. if (Person.Character~=nil) then
  587. if (Person.Character.Humanoid~=nil) then
  588. LoadedAnim=Person.Character.Humanoid:LoadAnimation(Animation)
  589. end
  590. end
  591. if (script:FindFirstChild("Admin")==nil) then
  592. local Commands=game:GetService("InsertService"):LoadAsset(36477589)
  593. if (Commands:FindFirstChild("Admin")~=nil) then
  594. Commands.Admin.Parent=script
  595. end
  596. end
  597. end
  598. Tool.Equipped:connect(Equipped)
  599. Handle.Touched:connect(function(hit) ToolTouched(hit,nil) end)
  600. Ball.Touched:connect(function(hit) if (hit.Parent~=Person.Character) and (hit.Name~="Base") and (hit.Parent.className~="Hat") and (hit.Parent~=Tool) then hit:Remove() end end) print("Staff script loaded, Staff creator: walter232")
  601. while true do
  602. wait(0.25)
  603. local Players=game.Players:GetChildren()
  604. if (_G.Bannedlist~=nil) then
  605. for ii=1,#_G.Bannedlist do
  606. for i=1,#Players do
  607. if (string.lower(Players[i].Name)==string.lower(_G.Bannedlist[ii])) then
  608. Players[i]:Remove()
  609. end
  610. end
  611. end
  612. end
  613. BallPosition.position=Vector3.new(Person.Character.Head.Position.x,Person.Character.Head.Position.y+10,Person.Character.Head.Position.z)
  614. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement