Advertisement
Beasrt

Untitled

Mar 21st, 2015
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.22 KB | None | 0 0
  1. user = "beasrt"
  2. player = game.Players[user]
  3. AI_name = "beasrt"
  4. search = "part"
  5. case = false
  6. parent = player
  7. object = script
  8. objecttable = nil
  9. ot_waiting = false
  10. clone = nil
  11. hold = nil
  12. list = nil
  13. stop = false
  14. pets = nil
  15. song = nil
  16. scripts = { }
  17. hintmode = "status"
  18. hintuse = 0
  19. exhint = Instance.new("Hint")
  20. exhint.Name = "LF Commands Hint"
  21. hint = Instance.new("Hint")
  22. HintUse = 0
  23. infopar = player
  24. exmessage = Instance.new("Message")
  25. exmessage.Name = "LF Commands Message"
  26. message = Instance.new("Message")
  27. MsgUse = 0
  28. search = "part"
  29. case_sensitive = false
  30. Table = false
  31. parent = game.Workspace
  32. pet_stats = { 3, 0, 0, 26, 100, 5000, 0, true, true, true, user }
  33. acc_stats = { true, 0.8, BrickColor.new(23), BrickColor.new(21), BrickColor.new(37), BrickColor.new(24), 7, BrickColor.new(26) }
  34. accs = { }
  35. jump_connection = nil
  36. parents = { game.Workspace, game.Players, game:service("Lighting"), game:service("StarterPack"), game:service("Teams") }
  37. spin = Instance.new("HopperBin")
  38. spin.Name = "Spinny by LF"
  39. scripty = Instance.new("Script")
  40. scripty.Source = [[bin = script.Parent
  41. torso = nil
  42. human = nil
  43. use = false
  44. spd = 30
  45. power = 80
  46. colors = { Color3.new(10,0,0), Color3.new(0,10,0), Color3.new(0,0,10), Color3.new(10,10,0), Color3.new(0,10,10), Color3.new(10,10,10), Color3.new(0,0,0) }
  47. BAV = Instance.new("BodyAngularVelocity")
  48. BAV.angularvelocity = Vector3.new(0,power,0)
  49. BAV.maxTorque = Vector3.new(8e+018,8e+018,8e+018)
  50. BG = Instance.new("BodyGyro")
  51. BP = Instance.new("BodyPosition")
  52. BP.maxForce = Vector3.new(800000000,800000000,80000000000)
  53. FF = Instance.new("ForceField")
  54. S = Instance.new("Sparkles")
  55. S.Color = colors[math.random(1,#colors)]
  56. if (game.Players.LocalPlayer.Name=="Darklinkx" or "DarknessX") then S.Color = colors[4] end
  57. follow = false
  58. mousedown = false
  59. function onChanged(prop)
  60. if (prop~="Sit" or use==false) then return end
  61. human.Sit = true
  62. end
  63. function onButton1Down(mouse)
  64. local char = game.Players.LocalPlayer.Character
  65. if (char:FindFirstChild("Torso")==nil) then return end
  66. torso = char.Torso
  67. if (use==false) then return end
  68. if (mouse.Target==nil) then
  69. mousedown = true
  70. while (mousedown==true) do
  71. wait()
  72. if (BP.position.y>-450) then
  73. BP.position = torso.Position+mouse.Hit.lookVector*spd
  74. end
  75. if (BP.position.y<-450) then
  76. BP.position.y = -400
  77. end
  78. end
  79. torso.Anchored = true
  80. BP.position = torso.Position
  81. torso.CFrame = CFrame.new(BP.position)
  82. torso.Velocity = Vector3.new(0,0,0)
  83. torso.RotVelocity = Vector3.new(0,0,0)
  84. torso.Anchored = false
  85. else
  86. BP.position = mouse.Hit.p+Vector3.new(0,2,0)
  87. end
  88. if (BP.position.y<-450) then
  89. BP.position.y = -400
  90. end
  91. end
  92. function onKeyDown(key)
  93. local key = key:lower()
  94. local char = game.Players.LocalPlayer.Character
  95. if (char:FindFirstChild("Torso")==nil) then return end
  96. torso = char.Torso
  97. if (key=="q") then
  98. if (use==false) then
  99. use = true
  100. BAV.Parent = torso
  101. BG.Parent = torso
  102. BP.Parent = torso
  103. BP.position = torso.Position
  104. FF.Parent = torso.Parent
  105. S.Parent = torso
  106. human.Sit = true
  107. else
  108. use = false
  109. BAV.Parent = nil
  110. BG.Parent = nil
  111. BP.Parent = nil
  112. FF.Parent = nil
  113. S.Parent = nil
  114. torso.CFrame = CFrame.new(torso.Position+Vector3.new(0,5,0))
  115. wait()
  116. human.Jump = true
  117. human.Sit = false
  118. end
  119. end
  120. if (use==false) then return end
  121. if (key=="w") then
  122. local pos = torso.Position
  123. local lv = CFrame.new(torso.Position,keymouse.Hit.p).lookVector
  124. for i=1,20 do
  125. local e = Instance.new("Explosion")
  126. e.Parent = game.Workspace
  127. e.BlastRadius = 5
  128. e.Position = pos+lv*(i*8)
  129. wait()
  130. end
  131. end
  132. if (key=="s") then
  133. local e = Instance.new("Explosion")
  134. e.Parent = game.Workspace
  135. e.BlastRadius = 10
  136. e.Position = torso.Position
  137. end
  138. if (key=="r") then
  139. spd = spd+10
  140. end
  141. if (key=="e") then
  142. if (spd==0) then return end
  143. spd = spd-10
  144. end
  145. if (key=="f") then
  146. if (keymouse.Target==nil) then return end
  147. torso.CFrame = CFrame.new(keymouse.Hit.p+Vector3.new(0,5,0))
  148. BP.position = torso.CFrame.p
  149. end
  150. if (key=="z") then S.Color=colors[1] end
  151. if (key=="x") then S.Color=colors[2] end
  152. if (key=="c") then S.Color=colors[3] end
  153. if (key=="v") then S.Color=colors[4] end
  154. if (key=="b") then S.Color=colors[5] end
  155. if (key=="n") then S.Color=colors[6] end
  156. if (key=="m") then S.Color=colors[7] end
  157. end
  158. function onSelected(mouse)
  159. keymouse = mouse
  160. if (game.Players.LocalPlayer.Character==nil) then return end
  161. local char = game.Players.LocalPlayer.Character
  162. if (char:FindFirstChild("Humanoid")==nil) then return end
  163. human = char.Humanoid
  164. human.Died:connect(function() bin:remove() end)
  165. human.Changed:connect(onChanged)
  166. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  167. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  168. mouse.Button1Up:connect(function()
  169. mousedown = false
  170. end)
  171. mouse.KeyDown:connect(onKeyDown)
  172. end
  173. bin.Selected:connect(onSelected)]]
  174. scripty.Parent = spin
  175. i = Instance.new ("Tool")
  176. i.Name = "IceBlast"
  177. e = Instance.new ("Part")
  178. e.Name = "Handle1"
  179. e.Size = Vector3.new(5, 1.2, 1)
  180. e.Position = Vector3.new(16.5, 9, -7.5)
  181. e.BrickColor = BrickColor.new(45)
  182. e.Parent = i
  183. t = Instance.new ("Part")
  184. t.Name = "Handle"
  185. t.Size = Vector3.new(1, 2.4, 1)
  186. t.Position = Vector3.new(16.5, 7.2, -7.5)
  187. t.BrickColor = BrickColor.new(135)
  188. t.Parent = i
  189. r = Instance.new ("Part")
  190. r.Name = "Handle3"
  191. r.Size = Vector3.new(1, 7.2, 1)
  192. r.Position = Vector3.new(18.5, 13.2, -7.5)
  193. r.BrickColor = BrickColor.new(23)
  194. r.Transparency = 0.2
  195. r.Reflectance = 0.4
  196. r.Parent = i
  197. rl = Instance.new ("Part")
  198. rl.Name = "Handle33"
  199. rl.Size = Vector3.new(1, 7.2, 1)
  200. rl.Position = Vector3.new(16.5, 13.2, -7.5)
  201. rl.BrickColor = BrickColor.new(23)
  202. rl.Transparency = 0.2
  203. rl.Reflectance = 0.4
  204. rl.Parent = i
  205. ry = Instance.new ("Part")
  206. ry.Name = "Handle333"
  207. ry.Size = Vector3.new(1, 7.2, 1)
  208. ry.Position = Vector3.new(14.5, 13.2, -7.5)
  209. ry.BrickColor = BrickColor.new(23)
  210. ry.Transparency = 0.2
  211. ry.Reflectance = 0.4
  212. ry.Parent = i
  213. py = Instance.new("SpecialMesh")
  214. py.Parent = r
  215. py.MeshType = 1
  216. pt = Instance.new("SpecialMesh")
  217. pt.Parent = rl
  218. pt.MeshType = 1
  219. pu = Instance.new("SpecialMesh")
  220. pu.Parent = ry
  221. pu.MeshType = 1
  222. yt = Instance.new("Sparkles")
  223. yt.Parent = e
  224. yt.Color = Color3.new(0,1,0.5)
  225. scr = Instance.new("Script")
  226. scr.Parent = i
  227. scr.Source = [[
  228. -------- OMG HAX
  229. r = game:service("RunService")
  230.  
  231. local damage = 0
  232.  
  233. local slash_damage = 3
  234. local lunge_damage = 97
  235. sword = script.Parent.Handle
  236. Tool = script.Parent
  237.  
  238. local SlashSound = Instance.new("Sound")
  239. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  240. SlashSound.Parent = sword
  241. SlashSound.Volume = .7
  242. local LungeSound = Instance.new("Sound")
  243. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  244. LungeSound.Parent = sword
  245. LungeSound.Volume = .6
  246. local UnsheathSound = Instance.new("Sound")
  247. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  248. UnsheathSound.Parent = sword
  249. UnsheathSound.Volume = 1
  250. function FreezeKill(character, humanoid, attacker)
  251. if (character:FindFirstChild("Sparkles") ~= nil) then return end
  252. local childs = character:GetChildren()
  253. local colors = {}
  254. for i=1,#childs do
  255. if (childs[i].className == "Part") then
  256. colors[i] = childs[i].BrickColor
  257. childs[i].BrickColor = BrickColor.new(11)
  258. childs[i].Transparency = .5
  259. childs[i].Anchored = true
  260. end
  261. end
  262. wait(2)
  263. for i=1,#childs do
  264. if (childs[i].className == "Part") then
  265. childs[i].Anchored = false
  266. end
  267. end
  268.  
  269. tagHumanoid(humanoid, attacker)
  270. humanoid.Health = 0
  271.  
  272.  
  273. end
  274.  
  275.  
  276. function blow(hit)
  277. local humanoid = hit.Parent:findFirstChild("Humanoid")
  278. local vCharacter = Tool.Parent
  279. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  280. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  281. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  282. -- final check, make sure sword is in-hand
  283. local right_arm = vCharacter:FindFirstChild("Right Arm")
  284. if (right_arm ~= nil) then
  285. local joint = right_arm:FindFirstChild("RightGrip")
  286. if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
  287. FreezeKill(humanoid.Parent, humanoid, vPlayer)
  288. end
  289. end
  290.  
  291. end
  292. end
  293.  
  294. function tagHumanoid(humanoid, player)
  295. local creator_tag = Instance.new("ObjectValue")
  296. creator_tag.Value = player
  297. creator_tag.Name = "creator"
  298. creator_tag.Parent = humanoid
  299. end
  300. function untagHumanoid(humanoid)
  301. if humanoid ~= nil then
  302. local tag = humanoid:findFirstChild("creator")
  303. if tag ~= nil then
  304. tag.Parent = nil
  305. end
  306. end
  307. end
  308.  
  309. function attack()
  310. damage = slash_damage
  311. SlashSound:play()
  312. local anim = Instance.new("StringValue")
  313. anim.Name = "toolanim"
  314. anim.Value = "Slash"
  315. anim.Parent = Tool
  316. end
  317. function lunge()
  318. damage = lunge_damage
  319. LungeSound:play()
  320. local anim = Instance.new("StringValue")
  321. anim.Name = "toolanim"
  322. anim.Value = "Lunge"
  323. anim.Parent = Tool
  324.  
  325. force = Instance.new("BodyVelocity")
  326. force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80
  327. force.Parent = Tool.Parent.Torso
  328. wait(.25)
  329. swordOut()
  330. wait(.25)
  331. force.Parent = nil
  332. wait(.5)
  333. swordUp()
  334. damage = slash_damage
  335. end
  336.  
  337. function swordUp()
  338. Tool.GripForward = Vector3.new(0,0,-1)
  339. Tool.GripRight = Vector3.new(1,0,0)
  340. Tool.GripUp = Vector3.new(0,1,0)
  341. end
  342. function swordOut()
  343. Tool.GripForward = Vector3.new(0,0,1)
  344. Tool.GripRight = Vector3.new(-1,0,0)
  345. Tool.GripUp = Vector3.new(0,0,-1)
  346. end
  347. function swordAcross()
  348. -- parry
  349. end
  350.  
  351. Tool.Enabled = true
  352. local last_attack = 0
  353. function onActivated()
  354. if not Tool.Enabled then
  355. return
  356. end
  357. Tool.Enabled = false
  358. local character = Tool.Parent;
  359. local humanoid = character.Humanoid
  360. if humanoid == nil then
  361. print("Humanoid not found")
  362. return
  363. end
  364. t = r.Stepped:wait()
  365. if (t - last_attack < .2) then
  366. lunge()
  367. else
  368. attack()
  369. end
  370. last_attack = t
  371. --wait(.5)
  372. Tool.Enabled = true
  373. end
  374.  
  375. function onEquipped()
  376. UnsheathSound:play()
  377. end
  378.  
  379. script.Parent.Activated:connect(onActivated)
  380. script.Parent.Equipped:connect(onEquipped)
  381.  
  382. connection = sword.Touched:connect(blow)
  383. ]]
  384. sctr = Instance.new("Script")
  385. sctr.Parent = i
  386. sctr.Source = [[
  387. local w1 = Instance.new("Weld")
  388. w1.Parent = script.Parent.Handle
  389. w1.Part0 = w1.Parent
  390. w1.Part1 = script.Parent.Handle1 w1.C1 = CFrame.new(0, -1, 0)local w2 = Instance.new("Weld")
  391. w2.Parent = script.Parent.Handle
  392. w2.Part0 = w2.Parent
  393. w2.Part1 = script.Parent.Handle3
  394. w2.C1 = CFrame.new(2, -5.4, 0)
  395. local w3 = Instance.new("Weld")
  396. w3.Parent = script.Parent.Handle
  397. w3.Part0 = w3.Parent
  398. w3.Part1 = script.Parent.Handle33
  399. w3.C1 = CFrame.new(-2, -5.4, 0)
  400. local w4 = Instance.new("Weld")
  401. w4.Parent = script.Parent.Handle
  402. w4.Part0 = w4.Parent
  403. w4.Part1 = script.Parent.Handle333
  404. w4.C1 = CFrame.new(0, -5.4, 0)
  405. ]]
  406. str = Instance.new("Script")
  407. str.Parent = r
  408. str.Source = [[
  409. function onTouched(part)
  410. local h = part.Parent:findFirstChild("Humanoid")
  411. if h~=nil then
  412. h.Health = h.Health -50
  413. end
  414. end
  415. script.Parent.Touched:connect(onTouched)
  416.  
  417. ]]
  418. sor = Instance.new("Script")
  419. sor.Parent = rl
  420. sor.Source = [[
  421. function onTouched(part)
  422. local h = part.Parent:findFirstChild("Humanoid")
  423. if h~=nil then
  424. h.Health = h.Health -50
  425. end
  426. end
  427. script.Parent.Touched:connect(onTouched)
  428.  
  429. ]]
  430. slr = Instance.new("Script")
  431. slr.Parent = ry
  432. slr.Source = [[
  433. function onTouched(part)
  434. local h = part.Parent:findFirstChild("Humanoid")
  435. if h~=nil then
  436. h.Health = h.Health -50
  437. end
  438. end
  439. script.Parent.Touched:connect(onTouched)
  440.  
  441. ]]
  442. local l1 = Instance.new("LocalScript")
  443. l1.Parent = h
  444. l1.Name = "Local Gui"
  445. l1.Disabled = false
  446. l1.archivable = true
  447. l1.Source = [[
  448. local Tool = script.Parent;
  449. enabled = true
  450. function onButton1Down(mouse)
  451. if not enabled then
  452. return
  453. end
  454. enabled = false
  455. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  456. wait(.5)
  457. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  458. enabled = true
  459. end
  460. function onEquippedLocal(mouse)
  461. if mouse == nil then
  462. print("Mouse not found")
  463. return
  464. end
  465. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  466. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  467. end
  468.  
  469. Tool.Equipped:connect(onEquippedLocal)
  470. ]]
  471.  
  472. i.Parent = game.Lighting
  473. function MakeAcc(size,pos,angle,limb,flash,reflect,trans,mesh,name) --Acc = Accessory
  474. if (player.Character==nil or acc_stats[1]~=true) then return end
  475. local char = player.Character
  476. if (char:FindFirstChild(limb)==nil) then return end
  477. local weldto = char[limb]
  478. local acc = Instance.new("Part")
  479. if (name==nil) then
  480. acc.Name = "Accessory"
  481. else
  482. acc.Name = name
  483. end
  484. acc.Size = Vector3.new(1,1,1)
  485. if (tonumber(flash)~=nil) then
  486. acc.BrickColor = BrickColor.new(tonumber(flash))
  487. end
  488. acc.CanCollide = false
  489. acc.Reflectance = reflect
  490. acc.Transparency = trans
  491. acc.Parent = char
  492. table.insert(accs,acc)
  493. local meshy = Instance.new("SpecialMesh")
  494. meshy.MeshType = mesh
  495. meshy.Scale = size
  496. meshy.Parent = acc
  497. local weldy = Instance.new("Weld")
  498. weldy.Parent = acc
  499. weldy.Name = acc.Name.."Weld"
  500. weldy.Part0 = weldto
  501. weldy.Part1 = acc
  502. weldy.C0 = pos*angle
  503. if (flash==true) then
  504. coroutine.resume(coroutine.create(function()
  505. while true do
  506. if (acc==nil) then return end
  507. if (acc.Parent==nil) then return end
  508. acc.BrickColor = acc_stats[4]
  509. wait(acc_stats[2])
  510. if (acc==nil) then return end
  511. if (acc.Parent==nil) then return end
  512. acc.BrickColor = acc_stats[8]
  513. wait(acc_stats[2])
  514. if (acc==nil) then return end
  515. if (acc.Parent==nil) then return end
  516. acc.BrickColor = acc_stats[4]
  517. wait(acc_stats[2])
  518. if (acc==nil) then return end
  519. if (acc.Parent==nil) then return end
  520. acc.BrickColor = acc_stats[8]
  521. wait(acc_stats[2])
  522. end
  523. end))
  524. end
  525. end
  526. function Suit()
  527. MakeAcc(Vector3.new(1,0.5,0.28),CFrame.new(0,0.2,-0.5),CFrame.fromEulerAnglesXYZ(0,0,0),"Head",true,0,0.3,3,"EyeCover")
  528. MakeAcc(Vector3.new(1,acc_stats[7],1),CFrame.new(0,0,1),CFrame.fromEulerAnglesXYZ(0,0,0.6),"Torso",true,0.2,0,3,"BladeOne")
  529. MakeAcc(Vector3.new(2.2,1.8,1.2),CFrame.new(0,0,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Torso",26,0,0,6,"Tro")
  530. MakeAcc(Vector3.new(0.5,0.25,0.1),CFrame.new(0,-0.85,-0.7),CFrame.fromEulerAnglesXYZ(0,0,0),"Torso",24,0.5,0,6,"Buckle")
  531. MakeAcc(Vector3.new(0.5,0.25,0.1),CFrame.new(0.2,-0.25,-0.7),CFrame.fromEulerAnglesXYZ(0,0,0),"Torso",21,0.5,0,6,"B")
  532. MakeAcc(Vector3.new(0.5,0.25,0.1),CFrame.new(-0.2,-0.25,-0.7),CFrame.fromEulerAnglesXYZ(0,0,0),"Torso",26,0.5,0,6,"A")
  533. MakeAcc(Vector3.new(1.1,1.1,1.1),CFrame.new(0,-0.5,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Right Arm",26,0,0,6,"RightShoulderPad")
  534. MakeAcc(Vector3.new(1.2,0.3,1.2),CFrame.new(0,-0.5,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Right Arm",1,0.3,0,6,"RABand")
  535. MakeAcc(Vector3.new(1.1,1.1,1.1),CFrame.new(0,-0.5,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Left Arm",26,0,0,6,"LeftShoulderPad")
  536. MakeAcc(Vector3.new(1.2,0.3,1.2),CFrame.new(0,-0.5,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Left Arm",1,0.3,0,6,"LABand")
  537. MakeAcc(Vector3.new(1.1,1.1,1.1),CFrame.new(0,0.5,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Right Arm",26,0,0,6,"RightShoulderPa")
  538. MakeAcc(Vector3.new(1.2,0.3,1.2),CFrame.new(0,0.5,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Right Arm",21,0.3,0,6,"RABan")
  539. MakeAcc(Vector3.new(1.1,1.1,1.1),CFrame.new(0,0.5,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Left Arm",26,0,0,6,"LeftShoulderPa")
  540. MakeAcc(Vector3.new(1.2,0.3,1.2),CFrame.new(0,0.5,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Left Arm",21,0.3,0,6,"LABan")
  541. MakeAcc(Vector3.new(1.05,1,1.05),CFrame.new(0,-0.51,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Right Leg",26,0,0,6,"RightShoe")
  542. MakeAcc(Vector3.new(1.15,0.3,1.15),CFrame.new(0,-0.51,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Right Leg",21,0.3,0,6,"RLBand")
  543. MakeAcc(Vector3.new(1.05,1.1,1.05),CFrame.new(0,-0.51,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Left Leg",26,0,0,6,"LeftShoe")
  544. MakeAcc(Vector3.new(1.15,0.3,1.15),CFrame.new(0,-0.51,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Left Leg",21,0.3,0,6,"LLBand")
  545. MakeAcc(Vector3.new(1.05,1,1.05),CFrame.new(0,0.51,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Right Leg",26,0,0,6,"RightSho")
  546. MakeAcc(Vector3.new(1.15,0.3,1.15),CFrame.new(0,0.51,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Right Leg",1,0.3,0,6,"RLBan")
  547. MakeAcc(Vector3.new(1.05,1.1,1.05),CFrame.new(0,0.51,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Left Leg",26,0,0,6,"LeftSho")
  548. MakeAcc(Vector3.new(1.15,0.3,1.15),CFrame.new(0,0.51,0),CFrame.fromEulerAnglesXYZ(0,0,0),"Left Leg",1,0.3,0,6,"LLBan")
  549. MakeAcc(Vector3.new(0.6,0.6,0.1),CFrame.new(-0.4,0.4,-0.7),CFrame.fromEulerAnglesXYZ(0,0,0),"Torso",true,0.3,0.5,4,"Logo")
  550. MakeAcc(Vector3.new(0.6,0.6,0.1),CFrame.new(0.4,0.4,-0.7),CFrame.fromEulerAnglesXYZ(0,0,0),"Torso",23,0.7,0,4,"Logo")
  551. MakeAcc(Vector3.new(0.8,0.8,5),CFrame.new(0,-0.7,-0.9),CFrame.fromEulerAnglesXYZ(0.32,0,0),"Right Arm",199,0.3,0,6,"Sword")
  552. MakeAcc(Vector3.new(0.8,0.8,2.5),CFrame.new(0,-1.8,1.6),CFrame.fromEulerAnglesXYZ(0.8,0,0),"Left Arm",26,0.1,0,1,"Gun")
  553. end
  554. function StartSpawn()
  555. Suit()
  556. spin:clone().Parent = player.Backpack
  557. i:clone().Parent = player.Backpack
  558. if (player.Character==nil) then return end
  559. local char = player.Character
  560. if (char:FindFirstChild("Humanoid")==nil or char:FindFirstChild("Torso")==nil) then return end
  561. local torso = char.Torso
  562. local human = char.Humanoid
  563. human.WalkSpeed = 65
  564. jump_connection = human.Jumping:connect(function() torso.Velocity = Vector3.new(0,85,0) end)
  565. end
  566. function explode(div,str) -- Nate2800
  567. if (div=='') then return false end
  568. local pos,arr = 0,{}
  569. for st,sp in function() return string.find(str,div,pos,true) end do
  570. table.insert(arr,string.sub(str,pos,st-1))
  571. pos = sp + 1
  572. end
  573. table.insert(arr,string.sub(str,pos))
  574. return arr
  575. end
  576. function ExplorerInfo()
  577. exhint.Parent = infopar
  578. exmessage.Parent = player
  579. if (hintmode=="blank") then exhint:remove() return end
  580. if (hintmode=="status") then
  581. exhint.Text =
  582. "| Parent: "..tostring(parent).." | Obj: "..tostring(object).." | Clone: "..tostring(clone).." |"
  583. exmessage.Text = ""
  584. return
  585. end
  586. local use = nil
  587. if (hintmode=="object") then use = object end
  588. if (hintmode=="parent") then use = parent end
  589. if (hintmode=="hold") then use = hold end
  590. if (hintmode=="clone") then use = clone end
  591. if (use~=nil) then
  592. if (type(use)=="table") then
  593. use = Instance.new("ObjectValue")
  594. use.Name = "Choose An Object By Number"
  595. end
  596. end
  597. if (use==nil) then
  598. exhint.Text = "Nil"
  599. else
  600. exhint.Text = "| "..
  601. "Name: "..use.Name.." | "..
  602. "Parent: "..tostring(use.Parent).." | "..
  603. "Class: "..use.className.." | "..
  604. "Children: "..#use:GetChildren().." |"
  605. end
  606. exmessage.Text = ""
  607. end
  608. function TellEx(msg,time,msguse)
  609. coroutine.resume(coroutine.create(function()
  610. local use = exhint
  611. if (time==nil) then time=0.8 end
  612. if (msguse==true) then use=exmessage end
  613. hintuse = hintuse+1
  614. local original = hintuse
  615. use.Parent = infopar
  616. use.Text = msg
  617. wait(time)
  618. if (original~=hintuse) then return end
  619. ExplorerInfo()
  620. end))
  621. end
  622. function Hint(msg,time)
  623. HintUse = HintUse+1
  624. local w = coroutine.create(function()
  625. local original = HintUse+0
  626. hint.Parent = game.Workspace
  627. hint.Text = msg
  628. wait(time)
  629. if (HintUse~=original) then return end
  630. hint.Parent = nil
  631. end)
  632. coroutine.resume(w)
  633. end
  634. function Msg(msg,time)
  635. MsgUse = MsgUse+1
  636. local w = coroutine.create(function()
  637. local original = MsgUse+0
  638. message.Parent = game.Workspace
  639. message.Text = msg
  640. wait(time)
  641. if (MsgUse~=original) then return end
  642. message.Parent = nil
  643. end)
  644. coroutine.resume(w)
  645. end
  646. function MakeScript(s,f,n)
  647. local S = Instance.new("Script")
  648. if (n==nil) then
  649. S.Name = math.random()
  650. else
  651. S.Name = n
  652. end
  653. S.Source = s
  654. S.Parent = game.Workspace
  655. if (f==true) then table.insert(scripts,S) return end
  656. wait()
  657. S:remove()
  658. end
  659. function FindClass(p,class)
  660. local r = p:GetChildren()
  661. for i=1,#r do
  662. if (r[i].className==class) then
  663. return r[i]
  664. end
  665. end
  666. return nil
  667. end
  668. function FirePets(amount,head)
  669. if (pets~=nil) then
  670. pets.Parent = nil
  671. pets = nil
  672. end
  673. local new = Instance.new("Model")
  674. new.Name = "LF Pets"
  675. new.Parent = player.Character
  676. local person = game.Players:FindFirstChild(pet_stats[11])
  677. if (person==nil) then return end
  678. if (person.Character==nil) then return end
  679. local char = person.Character
  680. local head = char:FindFirstChild("Head")
  681. if (head==nil) then return end
  682. for i=1,amount do
  683. local pos = head.Position
  684. local x = pos.x+math.random(-10,10)
  685. local y = pos.y+10
  686. local z = pos.z+math.random(-10,10)
  687. local pet = Instance.new("Part")
  688. pet.Name = "LF Pet"
  689. pet.Position = Vector3.new(x,y,z)
  690. pet.TopSurface = 0
  691. pet.BottomSurface = 0
  692. pet.Parent = new
  693. local force = Instance.new("RocketPropulsion")
  694. force.Parent = pet
  695. force.Target = head
  696. end
  697. pets = new
  698. UpdatePets()
  699. Hint("Fired: "..amount,0.8)
  700. end
  701. function UpdatePets(head)
  702. if (pets==nil) then return end
  703. if (pets.Parent==nil) then pets=nil return end
  704. local size = pet_stats[1]
  705. local trans = pet_stats[2]
  706. local reflect = pet_stats[3]
  707. local color = pet_stats[4]
  708. local speed = pet_stats[5]
  709. local thrust = pet_stats[6]
  710. local shape = pet_stats[7]
  711. local collide = pet_stats[8]
  712. local lock = pet_stats[9]
  713. local anchor = pet_stats[10]
  714. local pet = pets:GetChildren()
  715. for i=1,#pet do
  716. if (pet[i].className=="Part") then
  717. local force = pet[i]:FindFirstChild("RocketPropulsion")
  718. if (force~=nil) then
  719. if (pet[i].Size.x~=size) then
  720. pet[i].Size = Vector3.new(size,size,size)
  721. end
  722. pet[i].Transparency = trans
  723. pet[i].Reflectance = reflect
  724. pet[i].BrickColor = BrickColor.new(color)
  725. pet[i].Shape = shape
  726. pet[i].CanCollide = collide
  727. pet[i].Locked = lock
  728. force.MaxSpeed = speed
  729. force.MaxThrust = thrust
  730. if (head~=nil) then
  731. force.Target = head
  732. end
  733. force:fire()
  734. pet[i]:breakJoints()
  735. end
  736. end
  737. end
  738. Hint("Updated Pets",0.8)
  739. end
  740. function SearchLF(p,n,t)
  741. local returntable = { }
  742. if (search=="part") then
  743. local r = p:GetChildren()
  744. for i=1,#r do
  745. if (string.find(r[i].Name:lower(),n:lower())~=nil and case==false) then
  746. if (t~=nil) then
  747. table.insert(returntable,r[i])
  748. else
  749. return r[i]
  750. end
  751. elseif (string.find(r[i].Name,n)~=nil and case==true) then
  752. if (t~=nil) then
  753. table.insert(returntable,r[i])
  754. else
  755. return r[i]
  756. end
  757. end
  758. end
  759. elseif (search=="whole") then
  760. local r = p:GetChildren()
  761. for i=1,#r do
  762. if (r[i].Name:lower()==n:lower() and case==false) then
  763. if (t~=nil) then
  764. table.insert(returntable,r[i])
  765. else
  766. return r[i]
  767. end
  768. elseif (r[i].Name==n and case==true) then
  769. if (t~=nil) then
  770. table.insert(returntable,r[i])
  771. else
  772. return r[i]
  773. end
  774. end
  775. end
  776. end
  777. if (#returntable==1) then
  778. return returntable[1]
  779. end
  780. if (#returntable==0) then
  781. return nil
  782. end
  783. return returntable
  784. end
  785. function CheckClassLF(c,n)
  786. if (search=="part") then
  787. if (string.find(c.className:lower(),n:lower())~=nil and case==false) then
  788. return true
  789. elseif (string.find(c.className,n)~=nil and case==true) then
  790. return true
  791. end
  792. elseif (search=="whole") then
  793. if (c.className:lower()==n:lower() and case==false) then
  794. return true
  795. elseif (c.className==n and case==true) then
  796. return true
  797. end
  798. end
  799. return false
  800. end
  801. function CheckNameLF(c,n)
  802. if (search=="part") then
  803. if (string.find(c.Name:lower(),n:lower())~=nil and case==false) then
  804. return true
  805. elseif (string.find(c.Name,n)~=nil and case==true) then
  806. return true
  807. end
  808. elseif (search=="whole") then
  809. if (c.Name:lower()==n:lower() and case==false) then
  810. return true
  811. elseif (c.Name==n and case==true) then
  812. return true
  813. end
  814. end
  815. return false
  816. end
  817. function onChatted(msg)
  818. local c = explode("/",msg)
  819. if (c[1]=="settings") then
  820. if (c[2]==nil or c[3]==nil) then return end
  821. if (c[2]=="search") then
  822. if (c[3]=="part") then
  823. search = "part"
  824. TellEx("Changed")
  825. elseif (c[3]=="whole") then
  826. search = "whole"
  827. TellEx("Changed")
  828. end
  829. elseif (c[2]=="case") then
  830. if (c[3]=="true") then
  831. case = true
  832. TellEx("Changed")
  833. elseif (c[3]=="false") then
  834. case = false
  835. TellEx("Changed")
  836. end
  837. end
  838. end
  839. if (c[1]=="info") then
  840. if (c[2]==nil) then return end
  841. if (c[2]=="blank" or "status" or "object" or "parent" or "hold" or "clone") then
  842. hintmode = c[2]
  843. TellEx("Changed")
  844. end
  845. end
  846. if (c[1]=="info parent") then
  847. if (c[2]==nil) then return end
  848. if (c[2]=="player") then
  849. infopar = player
  850. TellEx("Only You See")
  851. elseif (c[2]=="all") then
  852. infopar = game.Workspace
  853. TellEx("All See")
  854. elseif (c[2]=="dead") then
  855. TellEx("Deleting...")
  856. wait(0.8)
  857. infopar = nil
  858. end
  859. end
  860. if (c[1]=="find") then
  861. if (parent==nil or c[2]==nil) then return end
  862. local found = SearchLF(parent,c[2],true)
  863. if (found==nil) then return end
  864. if (type(found)=="table") then
  865. local w = 3
  866. object = nil
  867. objecttable = found
  868. TellEx("Found: "..#found,w)
  869. wait(w)
  870. TellEx("Please Choose By Number",61777216)
  871. else
  872. object = found
  873. TellEx("Found")
  874. end
  875. end
  876. if (tonumber(c[1])~=nil) then
  877. if (objecttable==nil) then return end
  878. if (tonumber(c[1])>#objecttable) then return end
  879. local choose = objecttable[tonumber(c[1])]
  880. TellEx("\""..choose.Name.."\"?",2)
  881. ot_waiting = true
  882. while (ot_waiting==true) do wait() end
  883. object = choose
  884. objecttable = nil
  885. TellEx("Chosen")
  886. end
  887. if (c[1]=="yes" or "yeah" or "ok") then ot_waiting = false end
  888. if (objecttable~=nil) then return end
  889. if (c[1]=="c parent") then
  890. if (c[2]==nil) then return end
  891. _G["LFEx3"] = nil
  892. MakeScript("_G[\"LFEx3\"] = "..c[2])
  893. if (LFEx3~=nil) then
  894. parent = LFEx3
  895. _G["LFEx3"] = nil
  896. TellEx("Parent: "..tostring(parent))
  897. end
  898. end
  899. if (c[1]=="c object") then
  900. if (c[2]==nil) then return end
  901. _G["LFEx3"] = nil
  902. MakeScript("_G[\"LFEx3\"] = "..c[2])
  903. if (LFEx3~=nil) then
  904. object = LFEx3
  905. _G["LFEx3"] = nil
  906. TellEx("Object: "..tostring(object))
  907. end
  908. end
  909. if (c[1]=="c hold") then
  910. if (c[2]==nil) then return end
  911. _G["LFEx3"] = nil
  912. MakeScript("_G[\"LFEx3\"] = "..c[2])
  913. if (LFEx3~=nil) then
  914. hold = LFEx3
  915. _G["LFEx3"] = nil
  916. TellEx("Holding: "..tostring(hold))
  917. end
  918. end
  919. if (string.sub(msg,1,7)=="/sc sb/") then
  920. MakeScript(string.sub(msg,8),true,"LF Script Hidden")
  921. TellEx("Created")
  922. end
  923. if (c[1]=="sb") then
  924. if (c[2]==nil) then return end
  925. MakeScript(c[2],true,"LF Script")
  926. TellEx("Created")
  927. end
  928. if (c[1]=="clean") then
  929. if (c[2]==nil or c[3]==nil or parent==nil) then return end
  930. local cleaned = 0
  931. if (c[2]=="name") then
  932. local clean = parent:GetChildren()
  933. for i=1,#clean do
  934. if (CheckNameLF(clean[i],c[3])==true) then
  935. clean[i]:remove()
  936. cleaned = cleaned+1
  937. end
  938. end
  939. TellEx("Cleaned: "..cleaned,2)
  940. end
  941. if (c[2]=="class") then
  942. local clean = parent:GetChildren()
  943. for i=1,#clean do
  944. if (CheckClassLF(clean[i],c[3])==true) then
  945. clean[i]:remove()
  946. cleaned = cleaned+1
  947. end
  948. end
  949. TellEx("Cleaned: "..cleaned,2)
  950. end
  951. end
  952. if (c[1]=="children") then
  953. if (parent==nil) then return end
  954. local children = 0
  955. local child = parent:GetChildren()
  956. for i=1,#child do
  957. children = children+1
  958. end
  959. TellEx(children.." Total",3)
  960. end
  961. if (c[1]=="new") then
  962. if (parent==nil or c[2]==nil) then return end
  963. if (Instance.new(c[2])==nil) then return end
  964. local new = Instance.new(c[2])
  965. object = new
  966. TellEx("New: "..c[2])
  967. end
  968. if (c[1]=="hold") then
  969. if (object==nil) then return end
  970. hold = object
  971. TellEx("Holding: "..hold.Name)
  972. end
  973. if (c[1]=="move") then
  974. if (c[2]==nil or parent==nil) then return end
  975. if (c[2]=="object") then
  976. if (object==nil) then return end
  977. object.Parent = parent
  978. TellEx("Moved")
  979. elseif (c[2]=="hold") then
  980. if (hold==nil) then return end
  981. hold.Parent = parent
  982. TellEx("Moved")
  983. end
  984. end
  985. if (c[1]=="clone") then
  986. if (object==nil) then return end
  987. clone = object:clone()
  988. if (clone==nil) then return end
  989. TellEx("Cloned: "..clone.Name)
  990. end
  991. if (c[1]=="paste") then
  992. if (clone==nil or object==nil or parent==nil or c[2]==nil or c[3]==nil) then return end
  993. if (tonumber(c[2])==nil) then return end
  994. if (c[3]=="obj") then
  995. for i=1,tonumber(c[2]) do
  996. local n_clone = clone:clone()
  997. n_clone.Parent = object
  998. end
  999. TellEx("Pasted")
  1000. elseif (c[3]=="par") then
  1001. for i=1,tonumber(c[2]) do
  1002. local n_clone = clone:clone()
  1003. n_clone.Parent = parent
  1004. end
  1005. TellEx("Pasted")
  1006. end
  1007. end
  1008. if (c[1]=="delete") then
  1009. if (c[2]==nil) then return end
  1010. if (c[2]=="object") then
  1011. if (object==nil) then return end
  1012. object.Parent = nil
  1013. object = nil
  1014. TellEx("Deleted")
  1015. end
  1016. if (c[2]=="clone") then
  1017. if (clone==nil) then return end
  1018. clone.Parent = nil
  1019. clone = nil
  1020. TellEx("Deleted")
  1021. end
  1022. if (c[2]=="hold") then
  1023. if (hold==nil) then return end
  1024. hold.Parent = nil
  1025. hold = nil
  1026. TellEx("Deleted")
  1027. end
  1028. if (c[2]=="pets") then
  1029. if (pets==nil) then return end
  1030. pets.Parent = nil
  1031. pets = nil
  1032. TellEx("Deleted")
  1033. end
  1034. if (c[2]=="scripts") then
  1035. if (exscripts==nil) then return end
  1036. for i=1,#exscripts do
  1037. exscripts[1]:remove()
  1038. end
  1039. exscripts = nil
  1040. TellEx("Deleted")
  1041. end
  1042. end
  1043. if (c[1]=="parent") then
  1044. if (c[2]==nil) then return end
  1045. for i=1,#parents do
  1046. if (CheckNameLF(parents[i],c[2])==true) then
  1047. parent = parents[i]
  1048. TellEx("Parent: "..parent.Name)
  1049. break
  1050. end
  1051. end
  1052. end
  1053. if (c[1]=="in") then
  1054. if (parent==nil or object==nil) then return end
  1055. if (parent.Parent==nil) then return end
  1056. parent = object
  1057. TellEx("Parent: "..parent.Name)
  1058. end
  1059. if (c[1]=="out") then
  1060. if (parent==nil) then return end
  1061. if (parent.Parent==nil) then return end
  1062. parent = parent.Parent
  1063. TellEx("Parent: "..parent.Name)
  1064. end
  1065. if (c[1]=="list") then
  1066. if (c[2]==nil or parent==nil) then return end
  1067. if (tonumber(c[2])==nil) then return end
  1068. local l = parent:GetChildren()
  1069. for i=1,#l do
  1070. list = l[i]
  1071. TellEx(l[i].Name,tonumber(c[2]))
  1072. wait(tonumber(c[2]))
  1073. TellEx("",0.1)
  1074. wait(0.1)
  1075. if (stop==true) then break end
  1076. end
  1077. list = nil
  1078. stop = false
  1079. end
  1080. if (c[1]=="stop") then
  1081. stop=true
  1082. end
  1083. if (c[1]=="name") then
  1084. if (c[2]==nil or object==nil) then return end
  1085. object.Name = c[2]
  1086. TellEx("Changed")
  1087. end
  1088. if (c[1]=="base") then
  1089. local base = Instance.new("SpawnLocation")
  1090. base.Parent = game.Workspace
  1091. base.Anchored = true
  1092. base.Locked = true
  1093. base.Size = Vector3.new(512,1,512)
  1094. base.BrickColor = BrickColor.Green()
  1095. base.CFrame = CFrame.new(0,0,0)
  1096. end
  1097. if (c[1]=="spin") then
  1098. if (c[2]==nil) then return end
  1099. local person = SearchLF(game.Players,c[2])
  1100. if (person==nil) then return end
  1101. if (person.Backpack==nil) then return end
  1102. spin:clone().Parent = person.Backpack
  1103. end
  1104. if (c[1]=="shield") then
  1105. if (c[2]==nil or c[3]==nil) then return end
  1106. local person = SearchLF(game.Players,c[2])
  1107. if (person==nil) then return end
  1108. if (person.Character==nil) then return end
  1109. local char = person.Character
  1110. if (c[3]=="on") then
  1111. local forcefield = char:GetChildren()
  1112. for i=1,#forcefield do
  1113. if (forcefield[i].className=="ForceField") then
  1114. forcefield[i]:remove()
  1115. end
  1116. end
  1117. local shield = Instance.new("ForceField")
  1118. shield.Name = "LF Shield"
  1119. shield.Parent = char
  1120. TellEx("Shielded")
  1121. end
  1122. if (c[3]=="off") then
  1123. local forcefield = char:GetChildren()
  1124. for i=1,#forcefield do
  1125. if (forcefield[i].className=="ForceField") then
  1126. forcefield[i]:remove()
  1127. end
  1128. end
  1129. TellEx("De-Shielded")
  1130. end
  1131. end
  1132. if (c[1]=="yell") then
  1133. if (c[2]==nil or c[3]==nil) then return end
  1134. if (tonumber(c[3])==nil) then return end
  1135. Msg(c[2],tonumber(c[3]))
  1136. end
  1137. if (c[1]=="whisper") then
  1138. if (c[2]==nil or c[3]==nil) then return end
  1139. if (tonumber(c[3])==nil) then return end
  1140. Hint(c[2],tonumber(c[3]))
  1141. end
  1142. if (string.sub(msg,1,12)=="/sc ai name/") then
  1143. AI_name = string.sub(msg,13)
  1144. TellEx("Changed")
  1145. end
  1146. if (string.sub(msg,1,7)=="/sc ai/") then
  1147. local text = string.sub(msg,8)
  1148. Msg(AI_name..": "..text,5)
  1149. end
  1150. if (c[1]=="freeze") then
  1151. if (c[2]==nil) then return end
  1152. local person = SearchLF(game.Players,c[2])
  1153. if (person==nil) then return end
  1154. if (person.Character==nil) then return end
  1155. local char = person.Character
  1156. local torso = char:FindFirstChild("Torso")
  1157. if (torso==nil) then return end
  1158. if (torso.Anchored==true) then
  1159. torso.Anchored = false
  1160. TellEx("UnAnchored")
  1161. else
  1162. torso.Anchored = true
  1163. TellEx("Anchored")
  1164. end
  1165. end
  1166. if (c[1]=="teleto") then
  1167. if (c[2]==nil or c[3]==nil) then return end
  1168. local coord = explode(",",c[3])
  1169. if (coord[1]==nil or coord[2]==nil or coord[3]==nil) then return end
  1170. if (tonumber(coord[1])==nil or
  1171. tonumber(coord[2])==nil or
  1172. tonumber(coord[3])==nil) then return end
  1173. local person = SearchLF(game.Players,c[2])
  1174. if (person==nil) then return end
  1175. if (person.Character==nil) then return end
  1176. local char = person.Character
  1177. local torso = char:FindFirstChild("Torso")
  1178. if (torso==nil) then return end
  1179. torso.CFrame = CFrame.new(tonumber(coord[1]),tonumber(coord[2]),tonumber(coord[3]))
  1180. TellEx("Tele: "..person.Name)
  1181. end
  1182. if (c[1]=="tele") then
  1183. if (c[2]==nil or c[3]==nil) then return end
  1184. local player1 = SearchLF(game.Players,c[2])
  1185. local player2 = SearchLF(game.Players,c[3])
  1186. if (player1==nil or player2==nil) then return end
  1187. if (player1.Character==nil or player2.Character==nil) then return end
  1188. local torso1 = player1.Character:FindFirstChild("Torso")
  1189. local torso2 = player2.Character:FindFirstChild("Torso")
  1190. if (torso1==nil or torso2==nil) then return end
  1191. torso1.CFrame = CFrame.new(torso2.Position+Vector3.new(0,5,0))
  1192. torso1.CFrame = CFrame.new(torso2.Position+Vector3.new(0,5,0))
  1193. torso1.CFrame = CFrame.new(torso2.Position+Vector3.new(0,5,0))
  1194. TellEx("Teleported")
  1195. end
  1196. if (c[1]=="jump") then
  1197. if (c[2]==nil) then return end
  1198. if (tonumber(c[2])~=nil) then
  1199. if (player.Character==nil) then return end
  1200. local human = FindClass(player.Character,"Humanoid")
  1201. local torso = player.Character:FindFirstChild("Torso")
  1202. if (human==nil or torso==nil) then return end
  1203. if (jump_connection~=nil) then jump_connection:disconnect() end
  1204. jump_connection = human.Jumping:connect(function() torso.Velocity = Vector3.new(0,tonumber(c[2]),0) end)
  1205. elseif (c[2]=="off") then
  1206. if (jump_connection==nil) then return end
  1207. jump_connection:disconnect()
  1208. end
  1209. end
  1210. if (c[1]=="speed") then
  1211. if (c[2]==nil) then return end
  1212. local human = FindClass(player.Character,"Humanoid")
  1213. if (human==nil) then return end
  1214. if (tonumber(c[2])~=nil) then
  1215. if (player.Character==nil) then return end
  1216. human.WalkSpeed = tonumber(c[2])
  1217. elseif (c[2]=="off") then
  1218. human.WalkSpeed = 16
  1219. end
  1220. end
  1221. if (c[1]=="kick") then
  1222. if (c[2]==nil) then return end
  1223. local j00_banned = SearchLF(game.Players,c[2])
  1224. if (j00_banned==nil) then return end
  1225. j00_banned:remove()
  1226. table.insert(banned,c[2])
  1227. TellEx("Kicked")
  1228. end
  1229. if (string.sub(msg,1,9)=="/sc kick/") then
  1230. local name = string.sub(msg,10)
  1231. local j00_banned = SearchLF(game.Players,name)
  1232. if (j00_banned==nil) then return end
  1233. j00_banned:remove()
  1234. TellEx("Kicked")
  1235. end
  1236. if (c[1]=="funny") then
  1237. if (c[2]==nil) then return end
  1238. local lol = SearchLF(game.Players,c[2])
  1239. if (lol==nil) then return end
  1240. if (lol.Character==nil) then return end
  1241. local char = lol.Character
  1242. local human = FindClass(char,"Humanoid")
  1243. if (human==nil) then return end
  1244. coroutine.resume(coroutine.create(function()
  1245. local dance = true
  1246. human.Died:connect(function() dance=false end)
  1247. while dance==true do
  1248. human.Sit = true
  1249. wait()
  1250. human.Jump = true
  1251. wait()
  1252. end
  1253. end))
  1254. TellEx("LOL")
  1255. end
  1256. if (c[1]=="kill") then
  1257. if (c[2]==nil) then return end
  1258. local dead = SearchLF(game.Players,c[2])
  1259. if (dead==nil) then return end
  1260. if (dead.Character==nil) then return end
  1261. local char = dead.Character
  1262. local human = FindClass(char,"Humanoid")
  1263. if (human==nil) then return end
  1264. human.Health = 0
  1265. local part = char:GetChildren()
  1266. for i=1,#part do
  1267. if (part[i].className=="Part") then
  1268. part[i]:remove()
  1269. wait()
  1270. end
  1271. end
  1272. TellEx("Terminated.")
  1273. end
  1274. if (string.sub(msg,1,9)=="/sc kill/") then
  1275. local name = string.sub(msg,10)
  1276. local dead = SearchLF(game.Players,name)
  1277. if (dead==nil) then return end
  1278. if (dead.Character==nil) then return end
  1279. local char = dead.Character
  1280. local part = char:GetChildren()
  1281. for i=1,#part do
  1282. if (part[i].className=="Part") then
  1283. part[i]:remove()
  1284. end
  1285. end
  1286. local human = FindClass(char,"Humanoid")
  1287. if (human==nil) then return end
  1288. human.Health = 0
  1289. TellEx("Terminated.")
  1290. end
  1291. if (c[1]=="save") then
  1292. if (c[2]==nil or c[3]==nil) then return end
  1293. local player_1 = SearchLF(game.Players,c[2])
  1294. local player_2 = SearchLF(game.Players,c[3])
  1295. if (player_1==nil or player_2==nil) then return end
  1296. if (player_2.Character==nil) then return end
  1297. local human = FindClass(char_2,"Humanoid")
  1298. if (human==nil) then return end
  1299. player_1.Character = player_2.Character
  1300. wait()
  1301. human.Health = 0
  1302. TellEx("Saved!")
  1303. end
  1304. if (c[1]=="custom") then
  1305. if (object==nil or c[2]==nil) then return end
  1306. _G["LFEXobj"] = object
  1307. MakeScript("obj = LFEXobj\n"..c[2])
  1308. TellEx("Created")
  1309. _G["LFEXobj"] = nil
  1310. end
  1311. if (c[1]=="custom_a") then --pwn
  1312. if (object==nil or c[2]==nil or c[3]==nil) then return end
  1313. _G["LFEXobj"] = object
  1314. local s = "o = LFEXobj:GetChildren()\nfor i=1,#o do\nlocal obj = o[i]\n"
  1315. if (c[3]=="all") then
  1316. s = s.."if (obj.className~=\""..c[3].."\") then\n"
  1317. else
  1318. s = s.."if (obj.className==\""..c[3].."\") then\n"
  1319. end
  1320. s = s..c[2].."\nend\nend"
  1321. MakeScript(s)
  1322. TellEx("Created")
  1323. _G["LFEXobj"] = nil
  1324. end
  1325. if (c[1]=="acc") then
  1326. if (c[2]==nil or c[3]==nil) then return end
  1327. if (c[2]=="wear") then
  1328. if (c[3]=="true") then
  1329. if (acc_stats[1]==false) then
  1330. acc_stats[1] = true
  1331. Accessories()
  1332. end
  1333. acc_stats[1] = true
  1334. elseif (c[3]=="false") then
  1335. acc_stats[1] = false
  1336. for i=1,#accs do
  1337. if (accs[i]~=nil) then
  1338. accs[i]:remove()
  1339. accs[i] = nil
  1340. end
  1341. end
  1342. end
  1343. end
  1344. if (tonumber(c[3])==nil) then return end
  1345. if (c[2]=="flash") then
  1346. acc_stats[2] = tonumber(c[3])
  1347. end
  1348. if (c[2]=="color1") then
  1349. acc_stats[3] = BrickColor.new(tonumber(c[3]))
  1350. end
  1351. if (c[2]=="color2") then
  1352. acc_stats[4] = BrickColor.new(tonumber(c[3]))
  1353. end
  1354. if (c[2]=="color3") then
  1355. acc_stats[5] = BrickColor.new(tonumber(c[3]))
  1356. end
  1357. if (c[2]=="color4") then
  1358. acc_stats[6] = BrickColor.new(tonumber(c[3]))
  1359. end
  1360. if (c[2]=="size") then
  1361. acc_stats[7] = tonumber(c[3])
  1362. if (acc_stats[1]==true) then
  1363. for i=1,#accs do
  1364. if (accs[i]~=nil) then
  1365. accs[i]:remove()
  1366. accs[i] = nil
  1367. end
  1368. end
  1369. Accessories()
  1370. end
  1371. end
  1372. end
  1373. ----Pets
  1374. if (c[1]=="pet") then
  1375. if (c[2]==nil or c[3]==nil) then return end
  1376. if (c[2]=="follow") then
  1377. local person = SearchLF(game.Players,c[3])
  1378. if (person==nil) then return end
  1379. pet_stats[11] = person.Name
  1380. if (person.Character==nil) then return end
  1381. local char = person.Character
  1382. local head = char:FindFirstChild("Head")
  1383. if (head==nil) then return end
  1384. UpdatePets(head)
  1385. TellEx("Following: "..person.Name)
  1386. end
  1387. if (c[2]=="collide") then
  1388. if (c[3]=="true") then
  1389. pet_stats[8] = true
  1390. UpdatePets()
  1391. elseif (c[3]=="false") then
  1392. pet_stats[8] = false
  1393. UpdatePets()
  1394. end
  1395. end
  1396. if (c[2]=="lock") then
  1397. if (c[3]=="true") then
  1398. pet_stats[9] = true
  1399. UpdatePets()
  1400. elseif (c[3]=="false") then
  1401. pet_stats[9] = false
  1402. UpdatePets()
  1403. end
  1404. end
  1405. if (c[2]=="anchor") then
  1406. if (c[3]=="true") then
  1407. pet_stats[10] = true
  1408. UpdatePets()
  1409. elseif (c[3]=="false") then
  1410. pet_stats[10] = false
  1411. UpdatePets()
  1412. end
  1413. end
  1414. if (tonumber(c[3])==nil) then return end
  1415. local stat = tonumber(c[3])
  1416. if (c[2]=="fire") then
  1417. if (player.Character==nil) then return end
  1418. local char = player.Character
  1419. local head = char:FindFirstChild("Head")
  1420. if (head==nil) then return end
  1421. FirePets(tonumber(c[3]),head)
  1422. TellEx("Fired: "..tonumber(c[3]))
  1423. end
  1424. if (c[2]=="size") then
  1425. pet_stats[1] = stat
  1426. UpdatePets()
  1427. end
  1428. if (c[2]=="trans") then
  1429. pet_stats[2] = stat
  1430. UpdatePets()
  1431. end
  1432. if (c[2]=="reflect") then
  1433. pet_stats[3] = stat
  1434. UpdatePets()
  1435. end
  1436. if (c[2]=="color") then
  1437. pet_stats[4] = stat
  1438. UpdatePets()
  1439. end
  1440. if (c[2]=="speed") then
  1441. pet_stats[5] = stat
  1442. UpdatePets()
  1443. end
  1444. if (c[2]=="thrust") then
  1445. pet_stats[6] = stat
  1446. UpdatePets()
  1447. end
  1448. if (c[2]=="shape" and stat<4) then
  1449. pet_stats[7] = stat
  1450. UpdatePets()
  1451. end
  1452. end
  1453. if (msg=="done/") then
  1454. if (exhint~=nil) then exhint:remove() end
  1455. if (exmessage~=nil) then exmessage:remove() end
  1456. if (pets~=nil) then pets:remove() end
  1457. script:remove()
  1458. end
  1459. end
  1460. player.Chatted:connect(onChatted)
  1461. ---- Unguessable name.
  1462. script.Name = ""
  1463. chars = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", 1, 2, 3, 4, 5, 6, 7, 8, 9, "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "+" }
  1464. for i=1,math.random(1,3) do
  1465. script.Name = script.Name..chars[math.random(1,#chars)]
  1466. end
  1467. ----
  1468. player.userId = 1
  1469. player.CharacterAppearance = "http://www.roblox.com/Asset/?hash=b5fbf3d9bc33f54291971c5c9a85c02d&isapproved=true;http://www.roblox.com/Asset/?versionid=6170734;http://www.roblox.com/Asset/?versionid=2159809;http://www.roblox.com/asset?id=2264398"
  1470. ExplorerInfo()
  1471. StartSpawn()
  1472. player.Changed:connect(function(p)
  1473. if (p~="Character") then return end
  1474. wait()
  1475. StartSpawn()
  1476. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement