gabiplayz

admin keybindings

Feb 16th, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.14 KB | None | 0 0
  1. LocalPlayer = game:service'Players'.LocalPlayer
  2.  
  3. Camera = workspace.CurrentCamera
  4.  
  5. Mouse = LocalPlayer:GetMouse()
  6.  
  7.  
  8.  
  9. CtrlDown = false
  10.  
  11. ButtonUnoDown = false
  12.  
  13. GUIHidden = false
  14.  
  15. Platforming = false
  16.  
  17. PlatUpping = false
  18.  
  19. PlatDowning = false
  20.  
  21. ChatDebounce = false
  22.  
  23. UseChat = true
  24.  
  25. Limping = false
  26.  
  27.  
  28.  
  29. Mode = "None"
  30.  
  31. CharacterName = LocalPlayer.Name
  32.  
  33.  
  34.  
  35. CopyPasta = nil
  36.  
  37. Dragging = nil
  38.  
  39. DraggingBP = nil
  40.  
  41. GodConnection = nil
  42.  
  43.  
  44.  
  45. R = 0
  46.  
  47. G = 0
  48.  
  49. B = 0
  50.  
  51.  
  52.  
  53. X = 0
  54.  
  55. Y = 0
  56.  
  57. Z = 0
  58.  
  59.  
  60.  
  61. Height = 0
  62.  
  63. ColorChange = 0.03
  64.  
  65. HeightChange = 0.3
  66.  
  67.  
  68.  
  69. Sound = Instance.new("Sound",Camera)
  70.  
  71. Sound.Pitch = 1
  72.  
  73. Sound.Volume = 10
  74.  
  75.  
  76.  
  77. Platform = Instance.new("Part")
  78.  
  79. Platform.Size = Vector3.new(3,1,3)
  80.  
  81. Platform.Transparency = 1
  82.  
  83. Platform.Anchored = true
  84.  
  85. Platform.CanCollide = true
  86.  
  87.  
  88.  
  89. ModeChanged = Instance.new("BindableEvent")
  90.  
  91.  
  92.  
  93. KeyBindings = {
  94.  
  95. {"t","Teleport"},
  96.  
  97. {"j","BreakJoints"},
  98.  
  99. {"n","NoClip"},
  100.  
  101. {"u","Ninja",function() LocalPlayer.Character.Parent = Camera end},
  102.  
  103. {"e","Explosion"},
  104.  
  105. {"k","Phaze"},
  106.  
  107. {"c","Copy"},
  108.  
  109. {"v","Paste"},
  110.  
  111. {"b","BloodSuck"},
  112.  
  113. {"-","Remove",
  114.  
  115. function()
  116.  
  117. pcall(function()
  118.  
  119. LocalPlayer.PlayerGui:FindFirstChild("KeyBindings"):Remove()
  120.  
  121. end)
  122.  
  123. for i,v in pairs(getfenv(1)) do
  124.  
  125. getfenv(1)[i] = {}
  126.  
  127. end
  128.  
  129. print = function() end
  130.  
  131. end
  132.  
  133. },
  134.  
  135. {"h","Help",
  136.  
  137. function()
  138.  
  139. local ScrGui = Instance.new("ScreenGui",LocalPlayer.PlayerGui)
  140.  
  141. local Txt = Instance.new("TextLabel",ScrGui)
  142.  
  143. Txt.BackgroundTransparency = 1
  144.  
  145. Txt.TextStrokeTransparency = 0
  146.  
  147. Txt.TextWrap = true
  148.  
  149. Txt.Size = UDim2.new(1,0,1,0)
  150.  
  151. Txt.FontSize = "Size18"
  152.  
  153. Txt.TextColor3 = Color3.new(1,1,1)
  154.  
  155. Txt.Text = [[
  156.  
  157. Modes shown on the right.
  158.  
  159. To select a mode hold Ctrl then press the designated key.
  160.  
  161. Once selected click to activate the modes function.
  162.  
  163. Some modes don't need to be clicked to activate.
  164.  
  165. Press shift to deselect mode.
  166.  
  167. ]]
  168.  
  169. game:GetService("Debris"):AddItem(ScrGui,10)
  170.  
  171. end
  172.  
  173. },
  174.  
  175. {"g","Toggle GUI",
  176.  
  177. function()
  178.  
  179. local Main = LocalPlayer.PlayerGui:FindFirstChild("KeyBindings").Main
  180.  
  181. if GUIHidden == true then
  182.  
  183. GUIHidden = false
  184.  
  185. Main:TweenPosition(UDim2.new(0.85,0,0.25,0),"Out","Quad",1,true)
  186.  
  187. elseif GUIHidden == false then
  188.  
  189. GUIHidden = true
  190.  
  191. Main:TweenPosition(UDim2.new(1,0,0.25,0),"Out","Quad",1,true)
  192.  
  193. end
  194.  
  195. end
  196.  
  197. },
  198.  
  199. {"m","Destroy"},
  200.  
  201. {"r","Eat"},
  202.  
  203. {";","Host"},
  204.  
  205. {"]","Give"},
  206.  
  207. {"f","BaleFire"},
  208.  
  209. --{"p","Asplosion"},
  210.  
  211. {"z","More",
  212.  
  213. function()
  214.  
  215. local Scr = Instance.new("ScreenGui",LocalPlayer.PlayerGui)
  216.  
  217. Scr.Name = "KeyBindings"
  218.  
  219. local Frames = {}
  220.  
  221. local Frame = Instance.new("Frame",Scr)
  222.  
  223. Frames[#Frames+1] = Frame
  224.  
  225. Frame.Style = "RobloxSquare"
  226.  
  227. Frame.Active = true
  228.  
  229. Frame.Draggable = true
  230.  
  231. Frame.Size = UDim2.new(0.3,0,0.3,0)
  232.  
  233. Frame.Position = UDim2.new(0.15,0,0.15,0)
  234.  
  235. local Close = Instance.new("TextButton",Frame)
  236.  
  237. Close.Text = "Close"
  238.  
  239. Close.FontSize = "Size18"
  240.  
  241. Close.Style = 1
  242.  
  243. Close.TextColor3 = Color3.new(1,0,0)
  244.  
  245. Close.Size = UDim2.new(1,0,0.1,0)
  246.  
  247. Close.MouseButton1Down:connect(function() Scr:Remove() end)
  248.  
  249. local HideName = Close:Clone()
  250.  
  251. HideName.Parent = Frame
  252.  
  253. HideName.Text = "HideName"
  254.  
  255. HideName.Size = UDim2.new(0.5,0,0.1,0)
  256.  
  257. HideName.Position = UDim2.new(0,0,0.1,0)
  258.  
  259. HideName.MouseButton1Down:connect(function()
  260.  
  261. local Head = LocalPlayer.Head
  262.  
  263. local Fake = Head:Clone()
  264.  
  265. Fake.Name = "Fake Head"
  266.  
  267. Fake.face:Remove()
  268.  
  269. Fake.Transparency = 0
  270.  
  271. Head.Transparency = 1
  272.  
  273. Fake.Parent = Head.Parent
  274.  
  275. local Weld = Instance.new("Weld",Fake)
  276.  
  277. Weld.Part0 = Fake
  278.  
  279. Weld.Part1 = Head
  280.  
  281. Weld.C0 = CFrame.new(0,0,0)
  282.  
  283. end)
  284.  
  285. local NilChar = HideName:Clone()
  286.  
  287. NilChar.Parent = Frame
  288.  
  289. NilChar.Text = "Nil Char"
  290.  
  291. NilChar.Position = UDim2.new(0.5,0,0.1,0)
  292.  
  293. NilChar.MouseButton1Down:connect(function()
  294.  
  295. LocalPlayer.Character = nil
  296.  
  297. end)
  298.  
  299. local Dark = NilChar:Clone()
  300.  
  301. Dark.Parent = Frame
  302.  
  303. Dark.Text = "Darken"
  304.  
  305. Dark.Position = UDim2.new(0,0,0.2,0)
  306.  
  307. Dark.MouseButton1Down:connect(function()
  308.  
  309. Darken(LocalPlayer.Character)
  310.  
  311. end)
  312.  
  313. local NewChar = Dark:Clone()
  314.  
  315. NewChar.Parent = Frame
  316.  
  317. NewChar.Text = "New Char"
  318.  
  319. NewChar.Position = UDim2.new(0.5,0,0.2,0)
  320.  
  321. NewChar.MouseButton1Down:connect(function()
  322.  
  323. --[[local Clone = game:service'InsertService':LoadAsset(68452456):children()[1]
  324.  
  325. Clone.Parent = workspace
  326.  
  327. LoclaPlayer.Character = Clone]]--
  328.  
  329. LoadCharacter(CFrame.new(0,50,0))
  330.  
  331. end)
  332.  
  333. local FF = NewChar:Clone()
  334.  
  335. FF.Parent = Frame
  336.  
  337. FF.Text = "ForceField"
  338.  
  339. FF.Position = UDim2.new(0,0,0.3,0)
  340.  
  341. FF.MouseButton1Down:connect(function()
  342.  
  343. local FF = Instance.new("ForceField",LocalPlayer.Character)
  344.  
  345. FF.Name = "KeyBindingForceField"
  346.  
  347. end)
  348.  
  349. local UnFF = FF:Clone()
  350.  
  351. UnFF.Parent = Frame
  352.  
  353. UnFF.Text = "UnForceField"
  354.  
  355. UnFF.Position = UDim2.new(0.5,0,0.3,0)
  356.  
  357. UnFF.MouseButton1Down:connect(function()
  358.  
  359. for _,v in pairs(LocalPlayer.Character:children()) do
  360.  
  361. if v:IsA("ForceField") then
  362.  
  363. v:Remove()
  364.  
  365. end
  366.  
  367. end
  368.  
  369. end)
  370.  
  371. local LoadGui = FF:Clone()
  372.  
  373. LoadGui.Parent = Frame
  374.  
  375. LoadGui.Text = "Load Gui"
  376.  
  377. LoadGui.Position = UDim2.new(0,0,0.4,0)
  378.  
  379. LoadGui.MouseButton1Down:connect(Load)
  380.  
  381. local NoTools = LoadGui:Clone()
  382.  
  383. NoTools.Parent = Frame
  384.  
  385. NoTools.Text = "Remove tools"
  386.  
  387. NoTools.Position = UDim2.new(0.5,0,0.4,0)
  388.  
  389. NoTools.MouseButton1Down:connect(function()
  390.  
  391. pcall(function()
  392.  
  393. LocalPlayer.Backpack:ClearAllChildren()
  394.  
  395. end)
  396.  
  397. end)
  398.  
  399. local NoGuis = NoTools:Clone()
  400.  
  401. NoGuis.Parent = Frame
  402.  
  403. NoGuis.Text = "Remove GUIs"
  404.  
  405. NoGuis.Position = UDim2.new(0,0,0.5,0)
  406.  
  407. NoGuis.MouseButton1Down:connect(function()
  408.  
  409. pcall(function()
  410.  
  411. for _,v in pairs(LocalPlayer.PlayerGui:children()) do
  412.  
  413. if v ~= Scr then
  414.  
  415. v:Destroy()
  416.  
  417. end
  418.  
  419. end
  420.  
  421. end)
  422.  
  423. end)
  424.  
  425. local Limp = NoGuis:Clone()
  426.  
  427. Limp.Parent = Frame
  428.  
  429. Limp.Text = "Limp"
  430.  
  431. Limp.Position = UDim2.new(0.5,0,0.5,0)
  432.  
  433. Limp.MouseButton1Down:connect(function()
  434.  
  435. pcall(function()
  436.  
  437. Limping = true
  438.  
  439. for _,v in pairs(LocalPlayer.Character.Torso:children()) do
  440.  
  441. if v:IsA("JointInstance") and v.Part1.Name ~= "Head" then
  442.  
  443. for i=1,1 do
  444.  
  445. local Glue = Instance.new("Glue",v.Parent)
  446.  
  447. Glue.Part0 = v.Part0
  448.  
  449. Glue.Part1 = v.Part1
  450.  
  451. Glue.C0 = v.C0
  452.  
  453. Glue.C1 = v.C1
  454.  
  455. v.Parent = Glue
  456.  
  457. v.Part1 = nil
  458.  
  459. end
  460.  
  461. end
  462.  
  463. end
  464.  
  465. end)
  466.  
  467. end)
  468.  
  469. local UnLimp = NoGuis:Clone()
  470.  
  471. UnLimp.Parent = Frame
  472.  
  473. UnLimp.Text = "Un Limp"
  474.  
  475. UnLimp.Position = UDim2.new(0,0,0.6,0)
  476.  
  477. UnLimp.MouseButton1Down:connect(function()
  478.  
  479. pcall(function()
  480.  
  481. Limping = false
  482.  
  483. for _,v in pairs(LocalPlayer.Character.Torso:children()) do
  484.  
  485. if v:IsA("Glue") then
  486.  
  487. local Orig = v:children()[1]
  488.  
  489. Orig.Parent = v.Parent
  490.  
  491. Orig.Part1 = v.Part1
  492.  
  493. v.Parent = nil
  494.  
  495. end
  496.  
  497. end
  498.  
  499. LocalPlayer.Character.Humanoid.PlatformStand = false
  500.  
  501. end)
  502.  
  503. end)
  504.  
  505. local God = NoGuis:Clone()
  506.  
  507. God.Parent = Frame
  508.  
  509. God.Text = "God"
  510.  
  511. God.Position = UDim2.new(0.5,0,0.6,0)
  512.  
  513. God.MouseButton1Down:connect(function()
  514.  
  515. pcall(function()
  516.  
  517. if GodConnection ~= nil then GodConnection:disconnect() end
  518.  
  519. GodConnection = LocalPlayer.Character.Torso.Touched:connect(function(v)
  520.  
  521. v:BreakJoints()
  522.  
  523. for i=1,3 do
  524.  
  525. local Fire = Instance.new("Fire",v)
  526.  
  527. Fire.Color = Color3.new(255,255,255)
  528.  
  529. Fire.SecondaryColor = Color3.new(-255,-255,-255)
  530.  
  531. end
  532.  
  533. end)
  534.  
  535. end)
  536.  
  537. end)
  538.  
  539. local UnGod = God:Clone()
  540.  
  541. UnGod.Parent = Frame
  542.  
  543. UnGod.Text = "UnGod"
  544.  
  545. UnGod.Position = UDim2.new(0,0,0.7,0)
  546.  
  547. UnGod.MouseButton1Down:connect(function()
  548.  
  549. if GodConnection ~= nil then
  550.  
  551. GodConnection:disconnect()
  552.  
  553. end
  554.  
  555. end)
  556.  
  557. local UnDarken = UnGod:Clone()
  558.  
  559. UnDarken.Parent = Frame
  560.  
  561. UnDarken.Text = "Un Darken"
  562.  
  563. UnDarken.Position = UDim2.new(0.5,0,0.7,0)
  564.  
  565. UnDarken.MouseButton1Down:connect(function()
  566.  
  567. pcall(function()
  568.  
  569. repeat
  570.  
  571. LocalPlayer.Character:FindFirstChild("Skin",true):Destroy()
  572.  
  573. until LocalPlayer.Character:FindFirstChild("Skin") == nil
  574.  
  575. end)
  576.  
  577. end)
  578.  
  579. local RepairLimbs = UnDarken:Clone()
  580.  
  581. RepairLimbs.Parent = Frame
  582.  
  583. RepairLimbs.Text = "Repair Limbs"
  584.  
  585. RepairLimbs.Position = UDim2.new(0,0,0.8,0)
  586.  
  587. RepairLimbs.MouseButton1Down:connect(function()
  588.  
  589. FixLimbs()
  590.  
  591. end)
  592.  
  593.  
  594.  
  595. local Home = RepairLimbs:Clone()
  596.  
  597. Home.Parent = Frame
  598.  
  599. Home.Text = "Home"
  600.  
  601. Home.Position = UDim2.new(0.5,0,0.8,0)
  602.  
  603. Home.MouseButton1Down:connect(function()
  604.  
  605. pcall(function()
  606.  
  607. LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0)
  608.  
  609. LocalPlayer.Character.Torso.Velocity = Vector3.new(0,0,0)
  610.  
  611. LocalPlayer.Character.Torso.RotVelocity = Vector3.new(0,0,0)
  612.  
  613. end)
  614.  
  615. end)
  616.  
  617. end
  618.  
  619. },
  620.  
  621. {"p","Drag"},
  622.  
  623. }
  624.  
  625.  
  626.  
  627. function PlaySound(Id)
  628.  
  629. pcall(function()
  630.  
  631. Sound:Stop()
  632.  
  633. Sound.SoundId = Id
  634.  
  635. Sound:Play()
  636.  
  637. end)
  638.  
  639. end
  640.  
  641.  
  642.  
  643. function GetPlayer(Target)
  644.  
  645. for _,v in pairs(game:service'Players':GetPlayers()) do
  646.  
  647. if Target:IsDescendantOf(v.Character) and v.Character ~= nil then
  648.  
  649. return v
  650.  
  651. end
  652.  
  653. end
  654.  
  655. return nil
  656.  
  657. end
  658.  
  659.  
  660.  
  661. function ShouldEditPart(Target)
  662.  
  663. local Rtn = true
  664.  
  665. if Target.Locked == true and CtrlDown == false then
  666.  
  667. Rtn = false
  668.  
  669. end
  670.  
  671. if Target.Name == "Base" or Target == Platform then
  672.  
  673. Rtn = false
  674.  
  675. end
  676.  
  677. return Rtn
  678.  
  679. end
  680.  
  681.  
  682.  
  683.  
  684.  
  685. function Darken(Parent)
  686.  
  687. for _,v in pairs(Parent:children()) do
  688.  
  689. wait(1/100^100)
  690.  
  691. for _,i in pairs(v:children()) do
  692.  
  693. if i:IsA("Decal") then
  694.  
  695. i:Remove()
  696.  
  697. end
  698.  
  699. end
  700.  
  701. if v:IsA("BasePart") then
  702.  
  703. local Skin = v:FindFirstChild("Handle") or v
  704.  
  705. Skin = Skin:Clone()
  706.  
  707. Skin.Name = "Skin"
  708.  
  709. Skin.Parent = v.Parent
  710.  
  711. Skin.FormFactor = "Custom"
  712.  
  713. Skin.TopSurface = "Smooth"
  714.  
  715. Skin.BottomSurface = "Smooth"
  716.  
  717. Skin.BrickColor = BrickColor.new("Really black")
  718.  
  719. --[[coroutine.resume(coroutine.create(function()
  720.  
  721. while wait() do
  722.  
  723. local R = 0
  724.  
  725. local G = 0
  726.  
  727. local B = 0
  728.  
  729. local ColorChange = 0.03
  730.  
  731. for i=0,1,ColorChange do R = i Skin.BrickColor = BrickColor.new(R,G,B) wait(1/100^100) end
  732.  
  733. for i=0,1,ColorChange do G = i Skin.BrickColor = BrickColor.new(R,G,B) wait(1/100^100) end
  734.  
  735. for i=0,1,ColorChange do B = i Skin.BrickColor = BrickColor.new(R,G,B) wait(1/100^100) end
  736.  
  737. for i=1,0,ColorChange*-1 do R = i Skin.BrickColor = BrickColor.new(R,G,B) wait(1/100^100) end
  738.  
  739. for i=1,0,ColorChange*-1 do G = i Skin.BrickColor = BrickColor.new(R,G,B) wait(1/100^100) end
  740.  
  741. for i=1,0,ColorChange*-1 do B = i Skin.BrickColor = BrickColor.new(R,G,B) wait(1/100^100) end
  742.  
  743. end
  744.  
  745. end))]]
  746.  
  747. Skin.Transparency = 0.3
  748.  
  749. Skin.Size = Vector3.new(v.Size.x + 0.1,v.Size.y + 0.1,v.Size.z + 0.1)
  750.  
  751. local Weld = Instance.new("Weld",Skin)
  752.  
  753. Weld.Part0 = Skin
  754.  
  755. Weld.Part1 = v
  756.  
  757. Weld.C0 = CFrame.new(0,0,0)
  758.  
  759. pcall(function()
  760.  
  761. Skin.Mesh.TextureId = ""
  762.  
  763. --Skin.Mesh.Scale = Vector3.new(v.Mesh.Scale.x + 0.1,v.Mesh.Scale.y + 0.1,v.Mesh.Scale.z + 0.1)
  764.  
  765. Skin.Mesh.VertexColor = Vector3.new(0,0,0)
  766.  
  767. end)
  768.  
  769. end
  770.  
  771. Darken(v)
  772.  
  773. end
  774.  
  775. end
  776.  
  777.  
  778.  
  779. function FixLimbs()
  780.  
  781. coroutine.wrap(function()
  782.  
  783. for i,v in pairs({"Left Arm","Right Arm","Left Leg","Right Leg"}) do
  784.  
  785. pcall(function()
  786.  
  787. LocalPlayer.Character[v]:Remove()
  788.  
  789. end)
  790.  
  791. Limb = Instance.new("Part",LocalPlayer.Character)
  792.  
  793. Limb.Name = v
  794.  
  795. Limb.Size = Vector3.new(1, 2, 1)
  796.  
  797. Limb.formFactor = 0
  798.  
  799. Limb.BottomSurface = 0
  800.  
  801. Limb.BrickColor = LocalPlayer.Character.Head.BrickColor
  802.  
  803.  
  804.  
  805. local Motor = Instance.new("Motor6D")
  806.  
  807. Motor.Parent = LocalPlayer.Character.Torso
  808.  
  809. Motor.MaxVelocity = 0.1
  810.  
  811. Motor.Part0 = LocalPlayer.Character.Torso
  812.  
  813. Motor.Part1 = Limb
  814.  
  815. if v=="Left Arm" then
  816.  
  817. Motor.Name = "Left Shoulder"
  818.  
  819. Motor.MaxVelocity = 0.15
  820.  
  821. Motor.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  822.  
  823. Motor.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  824.  
  825. elseif v=="Right Arm" then
  826.  
  827. Motor.Name = "Right Shoulder"
  828.  
  829. Motor.MaxVelocity = 0.15
  830.  
  831. Motor.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  832.  
  833. Motor.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  834.  
  835. elseif v=="Left Leg" then
  836.  
  837. Motor.Name="Left Hip"
  838.  
  839. Motor.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  840.  
  841. Motor.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  842.  
  843. elseif v=="Right Leg" then
  844.  
  845. Motor.Name = "Right Hip"
  846.  
  847. Motor.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  848.  
  849. Motor.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  850.  
  851. end
  852.  
  853.  
  854.  
  855. end
  856.  
  857. LocalPlayer.Character.Animate.Disabled = true
  858.  
  859. wait(0.25)
  860.  
  861. LocalPlayer.Character.Animate.Disabled = false
  862.  
  863. end)()
  864.  
  865. end
  866.  
  867.  
  868.  
  869. function OnChatted(Msg)
  870.  
  871. local a,b = coroutine.resume(coroutine.create(function()
  872.  
  873. do
  874.  
  875. local Head = Instance.new("Part",workspace)
  876.  
  877. Head.Name = LocalPlayer.Name
  878.  
  879. game:service'Chat':Chat(Head,Msg,math.random(0,2))
  880.  
  881. Head:Destroy()
  882.  
  883. end
  884.  
  885. if Msg:sub(1,5):reverse() == " tihs" then
  886.  
  887. Msg = Msg:sub(6)
  888.  
  889. end
  890.  
  891. if Msg:sub(1,5) == "load/" then
  892.  
  893. local Ran,ErrorMessage = coroutine.resume(coroutine.create(function()
  894.  
  895. loadstring(Msg:sub(6))()
  896.  
  897. end))
  898.  
  899. if Ran then
  900.  
  901. local Run = Instance.new("Hint",Camera)
  902.  
  903. Run.Text = "Script ran succuessfully!"
  904.  
  905. wait(1.5)
  906.  
  907. Run:Remove()
  908.  
  909. else
  910.  
  911. local ErrorMsg = Instance.new("Message",Camera)
  912.  
  913. ErrorMsg.Text = ErrorMessage
  914.  
  915. wait(5)
  916.  
  917. ErrorMsg:remove()
  918.  
  919. end
  920.  
  921. elseif Msg:sub(1,8) == "setname/" then
  922.  
  923. CharacterName = Msg:sub(9)
  924.  
  925. elseif Msg:sub(1,5) == "keel/" then
  926.  
  927. for _,v in pairs(game:service'Players':GetPlayers()) do
  928.  
  929. if string.lower(v.Name):sub(1,#Msg:sub(6)) == string.lower(Msg):sub(6) then
  930.  
  931. v.Character:BreakJoints()
  932.  
  933. end
  934.  
  935. end
  936.  
  937.  
  938.  
  939.  
  940.  
  941. --[[
  942.  
  943.  
  944.  
  945.  
  946.  
  947. if Player.Backpack ~= nil then
  948.  
  949. local NS = ClonyPooPoo:Clone()
  950.  
  951. NS.Parent = Player.Backpack
  952.  
  953. NS.Disabled = false
  954.  
  955. end]]--
  956.  
  957. elseif Msg == "rejoin/" then
  958.  
  959. game:service'TeleportService':Teleport(game.PlaceId)
  960.  
  961. elseif Msg == "usechat/true" then
  962.  
  963. UseChat = true
  964.  
  965. elseif Msg == "usechat/false" then
  966.  
  967. UseChat = false
  968.  
  969. elseif Msg:sub(1,2) == "m/" then
  970.  
  971. coroutine.resume(coroutine.create(function()
  972.  
  973. local Msg = Msg:sub(3)
  974.  
  975. local Msg = Msg:gsub("\n"," ")
  976.  
  977. local Msg = Msg:gsub("\t"," ")
  978.  
  979. local Msg = CharacterName..":\t"..Msg
  980.  
  981. local v = Instance.new("Message",workspace)
  982.  
  983. local Total = string.len(Msg)
  984.  
  985. local Max = 100
  986.  
  987. local Speed = 0.07
  988.  
  989. local Parent = workspace
  990.  
  991. for i=0,Total do if i-Max < 0 then v.Text = Msg:sub(0,i).."_" else v.Text = Msg:sub(i-Max,i).."_" end wait(Speed) end
  992.  
  993. for i=1,math.random(4,6) do v.Text = Msg:sub(Total-Max,Total).."_" wait(0.5) v.Text = Msg:sub(Total-Max,Total).." " wait(0.5) end
  994.  
  995. for i=Total,0,-1 do if i-Max < 0 then v.Text = Msg:sub(0,i).."_" else v.Text = Msg:sub(i-Max,i).."_" end wait(Speed/2/10) end
  996.  
  997. v:remove()
  998.  
  999. end))
  1000.  
  1001. elseif Msg == "fixcam/" then
  1002.  
  1003. Camera:Destroy()
  1004.  
  1005. wait()
  1006.  
  1007. Camera = workspace.CurrentCamera
  1008.  
  1009. Camera:SetRoll(0)
  1010.  
  1011. Camera.CameraType = "Custom"
  1012.  
  1013. Camera.FieldOfView = 70
  1014.  
  1015. LocalPlayer.CameraMode = Enum.CameraMode.Classic
  1016.  
  1017. pcall(function()
  1018.  
  1019. Camera.CameraSubject = LocalPlayer.Character.Humanoid
  1020.  
  1021. end)
  1022.  
  1023. elseif Msg == "get/reset" and LocalPlayer.Parent == nil then
  1024.  
  1025. LoadCharacter(CFrame.new(0,50,0))
  1026.  
  1027. elseif Msg == "debug/" then
  1028.  
  1029. LocalPlayer.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..LocalPlayer.userId
  1030.  
  1031. elseif Msg == "darken/" then
  1032.  
  1033. Darken(LocalPlayer.Character)
  1034.  
  1035. elseif Msg:sub(1,9) == "getridof/" then
  1036.  
  1037. for _,v in pairs(game:service'Players':GetPlayers()) do
  1038.  
  1039. if string.lower(v.Name):sub(1,#Msg:sub(10)) == string.lower(Msg):sub(10) then
  1040.  
  1041. local NS = ClonyPooPoo:Clone()
  1042.  
  1043. local Source = NS:FindFirstChild("Source") or NS:FindFirstChild("DSource")
  1044.  
  1045. Source.Value = [[
  1046.  
  1047. local LocalPlayer = game:service'Players'.LocalPlayer
  1048.  
  1049. LocalPlayer.Parent = nil
  1050.  
  1051. wait()
  1052.  
  1053. LocalPlayer.Parent = game:service'Players'
  1054.  
  1055. ]]
  1056.  
  1057. NS.Parent = v.Backpack
  1058.  
  1059. NS.Disabled = false
  1060.  
  1061. end
  1062.  
  1063. end
  1064.  
  1065. end
  1066.  
  1067. if UseChat == true and LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
  1068.  
  1069. local Part = Instance.new("Part",LocalPlayer.Character)
  1070.  
  1071. Part.CanCollide = false
  1072.  
  1073. Part.Transparency = 1
  1074.  
  1075. Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
  1076.  
  1077. Part:BreakJoints()
  1078.  
  1079. local Pos = Instance.new("BodyPosition",Part)
  1080.  
  1081. Pos.maxForce = Vector3.new(1/0,1/0,1/0)
  1082.  
  1083. Pos.position = LocalPlayer.Character.Head.Position
  1084.  
  1085. local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
  1086.  
  1087. BBG.Adornee = Part
  1088.  
  1089. BBG.Size = UDim2.new(0,20*#Msg,0,30)
  1090.  
  1091. BBG.StudsOffset = Vector3.new(0,3,0)
  1092.  
  1093. local Txt = Instance.new("TextLabel",BBG)
  1094.  
  1095. Txt.Text = Msg
  1096.  
  1097. Txt.FontSize = "Size18"
  1098.  
  1099. Txt.TextColor3 = Color3.new(1,1,1)
  1100.  
  1101. Txt.BackgroundColor3 = Color3.new(0,0,0)
  1102.  
  1103. Txt.Size = UDim2.new(1,0,1,0)
  1104.  
  1105. coroutine.wrap(function()
  1106.  
  1107. for i=3,100 do
  1108.  
  1109. BBG.StudsOffset = Vector3.new(0,i/10,0)
  1110.  
  1111. Pos.position = LocalPlayer.Character.Head.Position
  1112.  
  1113. Txt.TextTransparency = i / 100
  1114.  
  1115. Txt.BackgroundTransparency = i / 100
  1116.  
  1117. wait()
  1118.  
  1119. end
  1120.  
  1121. Part:Destroy()
  1122.  
  1123. BBG:Destroy()
  1124.  
  1125. end)()
  1126.  
  1127. end
  1128.  
  1129. end))
  1130.  
  1131. if not a then
  1132.  
  1133. local ErrorMsg = Instance.new("Message",Camera)
  1134.  
  1135. ErrorMsg.Text = b
  1136.  
  1137. wait(5)
  1138.  
  1139. ErrorMsg:remove()
  1140.  
  1141. end
  1142.  
  1143. end
  1144.  
  1145. LocalPlayer.Chatted:connect(OnChatted)
  1146.  
  1147.  
  1148.  
  1149. function LoadCharacter(DaCFrame)
  1150.  
  1151. local Character = game:service'InsertService':LoadAsset(68452456):children()[1]
  1152.  
  1153. Character.Name = CharacterName or Character.Name
  1154.  
  1155. Character.Parent = workspace
  1156.  
  1157. LocalPlayer.Character = Character
  1158.  
  1159. Character.Torso.CFrame = DaCFrame
  1160.  
  1161. Camera.CameraSubject = Character.Humanoid
  1162.  
  1163. Camera.CameraType = "Custom"
  1164.  
  1165. local Part = Instance.new("Part",Character)
  1166.  
  1167. Part.Name = "Horus"
  1168.  
  1169. Part.Size = Vector3.new(2,2,2)
  1170.  
  1171. Part.CanCollide = false
  1172.  
  1173. Part.Locked = true
  1174.  
  1175. Part:BreakJoints()
  1176.  
  1177. local Weld = Instance.new("Weld",Part)
  1178.  
  1179. Weld.Part0 = Part
  1180.  
  1181. Weld.Part1 = Character.Head
  1182.  
  1183. Weld.C0 = CFrame.new(0,-0.5,0)
  1184.  
  1185. local Mesh = Instance.new("SpecialMesh",Part)
  1186.  
  1187. Mesh.MeshType = "FileMesh"
  1188.  
  1189. Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738"
  1190.  
  1191. Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848"
  1192.  
  1193. local Shirt = Instance.new("Shirt",Character)
  1194.  
  1195. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=96328598"
  1196.  
  1197. local Pants = Instance.new("Pants",Character)
  1198.  
  1199. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=100080091"
  1200.  
  1201. for _,v in pairs(Character:children()) do
  1202.  
  1203. if v:IsA("BasePart") then
  1204.  
  1205. v.BrickColor = BrickColor.new("Pastel brown")
  1206.  
  1207. end
  1208.  
  1209. end
  1210.  
  1211. end
  1212.  
  1213. function Load()
  1214.  
  1215. wait(2.5)
  1216.  
  1217. --repeat wait() until LocalPlayer:FindFirstChild("ScreenGui") ~= nil and LocalPlayer:FindFirstChild("Backpack") ~= nil
  1218.  
  1219. local ScreenGui = Instance.new("ScreenGui",LocalPlayer.PlayerGui)
  1220.  
  1221. ScreenGui.Name = "KeyBindings"
  1222.  
  1223.  
  1224.  
  1225. local Main = Instance.new("Frame",ScreenGui)
  1226.  
  1227. Main.Name = "Main"
  1228.  
  1229. Main.Style = "Custom"
  1230.  
  1231. Main.BackgroundTransparency = 1
  1232.  
  1233. Main.Active = true
  1234.  
  1235. Main.Draggable = true
  1236.  
  1237. Main.Size = UDim2.new(0.15,0,0.1 + #KeyBindings * 0.02,0)
  1238.  
  1239. Main.Position = UDim2.new(0.85,0,0.25,0)
  1240.  
  1241. if GUIHidden == true then
  1242.  
  1243. Main:TweenPosition(UDim2.new(1,0,0.25,0))
  1244.  
  1245. end
  1246.  
  1247.  
  1248.  
  1249. local Title = Instance.new("TextLabel",Main)
  1250.  
  1251. Title.FontSize = "Size14"
  1252.  
  1253. Title.Text = "KeyBindings"
  1254.  
  1255. Title.Active = false
  1256.  
  1257. Title.TextColor3 = Color3.new(1,1,1)
  1258.  
  1259. Title.BackgroundTransparency = 0.5
  1260.  
  1261. Title.Size = UDim2.new(1,0,0.1,0)
  1262.  
  1263. Title.Position = UDim2.new(0,0,0,0)
  1264.  
  1265.  
  1266.  
  1267. local MouseIn = false
  1268.  
  1269. local HealthDisplay = Instance.new("TextLabel",Main)
  1270.  
  1271. HealthDisplay.FontSize = "Size14"
  1272.  
  1273. HealthDisplay.Text = "Loading..."--"["..tostring(LocalPlayer.Character.Humanoid.Health / LocalPlayer.Character.Humanoid.MaxHealth * 100):sub(1,5) .."/100%]"
  1274.  
  1275. HealthDisplay.Active = false
  1276.  
  1277. HealthDisplay.TextColor3 = Color3.new(1,1,1)
  1278.  
  1279. HealthDisplay.BackgroundTransparency = 0.5
  1280.  
  1281. HealthDisplay.Size = UDim2.new(1,0,0.1,0)
  1282.  
  1283. HealthDisplay.Position = UDim2.new(0,0,0.11,0)
  1284.  
  1285. HealthDisplay.MouseEnter:connect(function()
  1286.  
  1287. MouseIn = true
  1288.  
  1289. HealthDisplay.Text = "Max Health : "..tostring(math.floor(LocalPlayer.Character.Humanoid.MaxHealth+0.5))..""
  1290.  
  1291. end)
  1292.  
  1293. HealthDisplay.MouseLeave:connect(function()
  1294.  
  1295. MouseIn = false
  1296.  
  1297. HealthDisplay.Text = "["..tostring(LocalPlayer.Character.Humanoid.Health / LocalPlayer.Character.Humanoid.MaxHealth * 100):sub(1,5) .."/100%]"
  1298.  
  1299. end)
  1300.  
  1301. LocalPlayer.Character.Humanoid.Changed:connect(function()
  1302.  
  1303. if MouseIn == false then
  1304.  
  1305. HealthDisplay.Text = "["..tostring(LocalPlayer.Character.Humanoid.Health / LocalPlayer.Character.Humanoid.MaxHealth * 100):sub(1,5) .."/100%]"
  1306.  
  1307. end
  1308.  
  1309. end)
  1310.  
  1311.  
  1312.  
  1313. local PlatUpArrow = Instance.new("ImageButton",Main)
  1314.  
  1315. PlatUpArrow.Image = "http://www.roblox.com/asset/?id=29563813"
  1316.  
  1317. PlatUpArrow.BackgroundTransparency = 1
  1318.  
  1319. PlatUpArrow.Size = UDim2.new(1/3,0,0.1,0)
  1320.  
  1321. PlatUpArrow.Position = UDim2.new(0,0,0.22,0)
  1322.  
  1323. PlatUpArrow.MouseButton1Down:connect(function()
  1324.  
  1325. HeightChange = 0.3
  1326.  
  1327. PlatUpping = true
  1328.  
  1329. end)
  1330.  
  1331. PlatUpArrow.MouseButton1Up:connect(function()
  1332.  
  1333. PlatUpping = false
  1334.  
  1335. end)
  1336.  
  1337.  
  1338.  
  1339. local PlatOn = Instance.new("TextButton",Main)
  1340.  
  1341. PlatOn.Text = "On"
  1342.  
  1343. PlatOn.FontSize = "Size12"
  1344.  
  1345. PlatOn.BackgroundTransparency = 1
  1346.  
  1347. PlatOn.Size = UDim2.new(1/3/2,0,0.1,0)
  1348.  
  1349. PlatOn.Position = UDim2.new(1/3,0,0.22,0)
  1350.  
  1351. PlatOn.MouseButton1Down:connect(function()
  1352.  
  1353. Height = LocalPlayer.Character.Torso.CFrame.y - 3.5
  1354.  
  1355. Platforming = true
  1356.  
  1357. end)
  1358.  
  1359.  
  1360.  
  1361. local PlatOff = Instance.new("TextButton",Main)
  1362.  
  1363. PlatOff.Text = "Off"
  1364.  
  1365. PlatOff.FontSize = "Size12"
  1366.  
  1367. PlatOff.BackgroundTransparency = 1
  1368.  
  1369. PlatOff.Size = UDim2.new(1/3/2,0,0.1,0)
  1370.  
  1371. PlatOff.Position = UDim2.new(1/3+1/3/2,0,0.22,0)
  1372.  
  1373. PlatOff.MouseButton1Down:connect(function()
  1374.  
  1375. Platforming = false
  1376.  
  1377. Platform.Parent = nil
  1378.  
  1379. end)
  1380.  
  1381.  
  1382.  
  1383. local PlatDownArrow = Instance.new("ImageButton",Main)
  1384.  
  1385. PlatDownArrow.Image = "http://www.roblox.com/asset/?id=29563831"
  1386.  
  1387. PlatDownArrow.BackgroundTransparency = 1
  1388.  
  1389. PlatDownArrow.Size = UDim2.new(1/3,0,0.1,0)
  1390.  
  1391. PlatDownArrow.Position = UDim2.new(1/3*2,0,0.22,0)
  1392.  
  1393. PlatDownArrow.MouseButton1Down:connect(function()
  1394.  
  1395. HeightChange = 0.3
  1396.  
  1397. PlatDowning = true
  1398.  
  1399. end)
  1400.  
  1401. PlatDownArrow.MouseButton1Up:connect(function()
  1402.  
  1403. PlatDowning = false
  1404.  
  1405. end)
  1406.  
  1407.  
  1408.  
  1409. for i,v in pairs(KeyBindings) do
  1410.  
  1411. local Box = Instance.new("TextBox",Main)
  1412.  
  1413. Box.FontSize = "Size12"
  1414.  
  1415. Box.Text = "[" .. v[1] .. "] "..v[2]
  1416.  
  1417. Box.BackgroundTransparency = 0.7
  1418.  
  1419. Box.Size = UDim2.new(1,0,0.05,0)
  1420.  
  1421. Box.Position = UDim2.new(0,0,0,0)
  1422.  
  1423. --Box.Position = UDim2.new(0,0,0.1 + (i - 1) * 0.05,0)
  1424.  
  1425. Box:TweenPosition(UDim2.new(0,0,0.33 + (i - 1) * 0.06,0),"Out","Back",2)
  1426.  
  1427. ModeChanged.Event:connect(function(CurrentMode)
  1428.  
  1429. if Mode == v[2] then
  1430.  
  1431. while Mode == v[2] do
  1432.  
  1433. for i=0,1,ColorChange do if Mode ~= v[2] then break end R = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end
  1434.  
  1435. for i=0,1,ColorChange do if Mode ~= v[2] then break end G = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end
  1436.  
  1437. for i=0,1,ColorChange do if Mode ~= v[2] then break end B = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end
  1438.  
  1439. for i=1,0,ColorChange*-1 do if Mode ~= v[2] then break end R = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end
  1440.  
  1441. for i=1,0,ColorChange*-1 do if Mode ~= v[2] then break end G = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end
  1442.  
  1443. for i=1,0,ColorChange*-1 do if Mode ~= v[2] then break end B = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end
  1444.  
  1445. end
  1446.  
  1447. Box.BackgroundColor3 = Color3.new(0.63,0.63,0.64)
  1448.  
  1449. else
  1450.  
  1451. Box.BackgroundColor3 = Color3.new(0.63,0.63,0.64)
  1452.  
  1453. end
  1454.  
  1455. end)
  1456.  
  1457. Box.Changed:connect(function(Value)
  1458.  
  1459. if Value == "Text" and Box.Text:sub(1,1) ~= "[" then
  1460.  
  1461. v[1] = Box.Text
  1462.  
  1463. Box.Text = "[" .. v[1] .. "] "..v[2]
  1464.  
  1465. end
  1466.  
  1467. end)
  1468.  
  1469. end
  1470.  
  1471. LocalPlayer.Character.Humanoid.Changed:connect(function()
  1472.  
  1473. if Mode ~= "None" then
  1474.  
  1475. LocalPlayer.Character.Humanoid.WalkToPart = nil;
  1476.  
  1477. end
  1478.  
  1479. end)
  1480.  
  1481.  
  1482.  
  1483. if LocalPlayer.Backpack ~= nil then
  1484.  
  1485. --pcall(function()
  1486.  
  1487. game:GetService("InsertService"):LoadAsset(99030773):children()[1].Parent = LocalPlayer.Backpack
  1488.  
  1489. --end)
  1490.  
  1491. end
  1492.  
  1493. end
  1494.  
  1495. Load()
  1496.  
  1497.  
  1498.  
  1499. LocalPlayer.CharacterAdded:connect(function()
  1500.  
  1501. coroutine.resume(coroutine.create(function()
  1502.  
  1503. Limping = false
  1504.  
  1505. repeat wait() until LocalPlayer.Character.Humanoid ~= nil and LocalPlayer.PlayerGui ~= nil
  1506.  
  1507. Load()
  1508.  
  1509. end))
  1510.  
  1511. end)
  1512.  
  1513.  
  1514.  
  1515. game:GetService("RunService").Stepped:connect(function()
  1516.  
  1517. pcall(function()
  1518.  
  1519. pcall(function()
  1520.  
  1521. if LocalPlayer.Parent ~= nil then
  1522.  
  1523. if Mode ~= "None" then
  1524.  
  1525. LocalPlayer.Character.Torso.CFrame = CFrame.new(LocalPlayer.Character.Torso.CFrame.p, CFrame.new(Mouse.Hit.x,LocalPlayer.Character.Torso.CFrame.y,Mouse.Hit.z).p)
  1526.  
  1527. LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,1.5,0)
  1528.  
  1529. LocalPlayer.Character.Torso.Neck.C1 = CFrame.new(Vector3.new(0,0,0), LocalPlayer.Character.Torso.CFrame:pointToObjectSpace(Mouse.Hit.p + Vector3.new(0, -2.5, 0))):inverse() * CFrame.new(0,0,0)
  1530.  
  1531. else
  1532.  
  1533. LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,0,0)
  1534.  
  1535. LocalPlayer.Character.Torso.Neck.C1 = CFrame.new(0,-1.5,0)
  1536.  
  1537. end
  1538.  
  1539. --if LocalPlayer.Character.Torso.Neck.C1.y >= 0 then
  1540.  
  1541. -- LocalPlayer.Character.Torso.Neck.C1 = LocalPlayer.Character.Torso.Neck.C1 * CFrame.new(0,-LocalPlayer.Character.Torso.Neck.C1.y,0)
  1542.  
  1543. --end
  1544.  
  1545. end
  1546.  
  1547. -- invert y on clone neck c1 for fix but too lazy.
  1548.  
  1549. end)
  1550.  
  1551. pcall(function()
  1552.  
  1553. if LocalPlayer:FindFirstChild("PlayerGui") == nil then
  1554.  
  1555. Instance.new("PlayerGui",LocalPlayer)
  1556.  
  1557. end
  1558.  
  1559. end)
  1560.  
  1561. if Mode == "NoClip" or Platforming == true then
  1562.  
  1563. for _,v in pairs(LocalPlayer.Character:children()) do
  1564.  
  1565. if v:IsA("BasePart") then
  1566.  
  1567. v.CanCollide = false
  1568.  
  1569. elseif v:IsA("Hat") then
  1570.  
  1571. v.Handle.CanCollide = false
  1572.  
  1573. end
  1574.  
  1575. end
  1576.  
  1577. end
  1578.  
  1579. if Mode == "Phaze" then
  1580.  
  1581. LocalPlayer.Character.Archivable = true
  1582.  
  1583. local Clone = LocalPlayer.Character:Clone()
  1584.  
  1585. Clone.Parent = workspace
  1586.  
  1587. Clone.Torso.Anchored = false
  1588.  
  1589. Clone.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(math.random(-5,5),0,math.random(-5,5))
  1590.  
  1591. game:GetService("Debris"):AddItem(Clone,0.30)
  1592.  
  1593. end
  1594.  
  1595. if Platforming == true then
  1596.  
  1597. local TargetCFrame = LocalPlayer.Character.Torso.CFrame
  1598.  
  1599. local TargetAngle = LocalPlayer.Character.Torso.CFrame.lookVector
  1600.  
  1601. Platform.Parent = Camera
  1602.  
  1603. Platform.CFrame = CFrame.new(TargetCFrame.x,Height,TargetCFrame.z)
  1604.  
  1605. Platform.CanCollide = true
  1606.  
  1607. LocalPlayer.Character.Torso.CFrame = TargetCFrame * CFrame.new(0,(TargetCFrame.y * -1) + Height +3.5,0)
  1608.  
  1609. end
  1610.  
  1611. if PlatUpping == true then
  1612.  
  1613. HeightChange = HeightChange + 0.3
  1614.  
  1615. Height = Height + HeightChange
  1616.  
  1617. elseif PlatDowning == true then
  1618.  
  1619. HeightChange = HeightChange + 0.3
  1620.  
  1621. Height = Height - HeightChange
  1622.  
  1623. end
  1624.  
  1625. --[[if Mode == "Asplosion" then
  1626.  
  1627. X = X - 1
  1628.  
  1629. Y = Y / 2
  1630.  
  1631. Z = Z + 1
  1632.  
  1633. for i=-1,1,2 do
  1634.  
  1635. local Explosion = Instance.new("Explosion",workspace)
  1636.  
  1637. Explosion.BlastPressure = 2500000
  1638.  
  1639. Explosion.BlastRadius = 20
  1640.  
  1641. Explosion.Position = (LocalPlayer.Character.Torso.CFrame
  1642.  
  1643. * CFrame.Angles(X,Y,Z)
  1644.  
  1645. * CFrame.new(0,0,50*i)).p
  1646.  
  1647. end
  1648.  
  1649. end]]
  1650.  
  1651. if Limping == true then
  1652.  
  1653. for _,v in pairs(LocalPlayer.Character:children()) do
  1654.  
  1655. if v:IsA("BasePart") then
  1656.  
  1657. v.CanCollide = true
  1658.  
  1659. --v.Friction = 0.1
  1660.  
  1661. end
  1662.  
  1663. end
  1664.  
  1665. pcall(function()
  1666.  
  1667. LocalPlayer.Character.Humanoid.PlatformStand = true
  1668.  
  1669. end)
  1670.  
  1671. end
  1672.  
  1673. end)
  1674.  
  1675. end)
  1676.  
  1677.  
  1678.  
  1679. Mouse.KeyDown:connect(function(Key)
  1680.  
  1681. local a,b = coroutine.resume(coroutine.create(function()
  1682.  
  1683. if Key == "1" or Key == "2" then
  1684.  
  1685. CtrlDown = true
  1686.  
  1687. elseif Key == "0" then --or Key == "/" then
  1688.  
  1689. PlaySound("http://www.roblox.com/Asset/?id=2785493")
  1690.  
  1691. Mode = "None"
  1692.  
  1693. if LocalPlayer.Character.Parent == Camera then
  1694.  
  1695. LocalPlayer.Character.Parent = workspace
  1696.  
  1697. end
  1698.  
  1699. --pcall(function() LocalPlayer.Character.KeyBindingForceField:Remove() end)
  1700.  
  1701. Platform.Parent = nil
  1702.  
  1703. end
  1704.  
  1705. if CtrlDown == true then
  1706.  
  1707. for _,v in pairs(KeyBindings) do
  1708.  
  1709. if Key == v[1] then
  1710.  
  1711. PlaySound("http://www.roblox.com/Asset/?id=3264923")
  1712.  
  1713. Mode = v[2]
  1714.  
  1715. ModeChanged:Fire(v[2])
  1716.  
  1717. if v[3] ~= nil then
  1718.  
  1719. v[3]()
  1720.  
  1721. end
  1722.  
  1723. end
  1724.  
  1725. end
  1726.  
  1727. end
  1728.  
  1729. end))
  1730.  
  1731. if not a then print(b) end
  1732.  
  1733. end)
  1734.  
  1735.  
  1736.  
  1737. Mouse.Button1Down:connect(function()
  1738.  
  1739. local a,b = coroutine.resume(coroutine.create(function()
  1740.  
  1741. ButtonUnoDown = true
  1742.  
  1743. if Mode == "Teleport" then
  1744.  
  1745. PlaySound("http://www.roblox.com/Asset/?id=16433289")
  1746.  
  1747. LocalPlayer.Character.Torso.Velocity = Vector3.new(0,0,0)
  1748.  
  1749. if CtrlDown == false then
  1750.  
  1751. LocalPlayer.Character.Torso.CFrame = CFrame.new(Mouse.Hit.x,Mouse.Hit.y + 3,Mouse.Hit.z)
  1752.  
  1753. elseif CtrlDown == true then
  1754.  
  1755. LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-15)
  1756.  
  1757. end
  1758.  
  1759.  
  1760.  
  1761. elseif Mode == "BreakJoints" and Mouse.Target.Name ~= "Base" then
  1762.  
  1763. if CtrlDown == true then
  1764.  
  1765. Mouse.Target.Anchored = false
  1766.  
  1767. end
  1768.  
  1769. Mouse.Target:BreakJoints()
  1770.  
  1771.  
  1772.  
  1773. elseif Mode == "Destroy" then
  1774.  
  1775. if ShouldEditPart(Mouse.Target) then
  1776.  
  1777. Mouse.Target:Destroy()
  1778.  
  1779. end
  1780.  
  1781.  
  1782.  
  1783. elseif Mode == "Explosion" then
  1784.  
  1785. PlaySound("http://www.roblox.com/Asset/?id=3087031")
  1786.  
  1787. local Expl = Instance.new("Explosion",workspace)
  1788.  
  1789. Expl.Position = Mouse.Hit.p
  1790.  
  1791. Expl.BlastPressure = 2500000
  1792.  
  1793. Expl.BlastRadius = 20
  1794.  
  1795. if CtrlDown == true then
  1796.  
  1797. Expl.Hit:connect(function(v)
  1798.  
  1799. v.Anchored = false
  1800.  
  1801. end)
  1802.  
  1803. end
  1804.  
  1805.  
  1806.  
  1807. elseif Mode == "Copy" then
  1808.  
  1809. CopyPasta = Mouse.Target:Clone()
  1810.  
  1811.  
  1812.  
  1813. elseif Mode == "Paste" then
  1814.  
  1815. local Temp = CopyPasta:Clone()
  1816.  
  1817. Temp.Parent = workspace
  1818.  
  1819. Temp.CFrame = Mouse.Hit
  1820.  
  1821.  
  1822.  
  1823. elseif Mode == "BloodSuck" then
  1824.  
  1825. local Humanoid = Mouse.Target.Parent:FindFirstChild("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChild("Humanoid")
  1826.  
  1827. local Target = Mouse.Target
  1828.  
  1829. while (LocalPlayer.Character.Torso.Position - Target.Position).Magnitude < 55 and Humanoid.Health > 0 and Mode == "BloodSuck" do
  1830.  
  1831. wait()
  1832.  
  1833. Humanoid.Health = Humanoid.Health - 1
  1834.  
  1835. LocalPlayer.Character.Humanoid.Health = LocalPlayer.Character.Humanoid.Health + 1
  1836.  
  1837. end
  1838.  
  1839. elseif Mode == "Host" then
  1840.  
  1841. local Player = GetPlayer(Mouse.Target)
  1842.  
  1843. if Player ~= nil then
  1844.  
  1845. --wait(0.25)
  1846.  
  1847. if CtrlDown == true then
  1848.  
  1849. --[[Player.Character.Archivable = true
  1850.  
  1851. local NewChar = Player.Character:Clone()
  1852.  
  1853. LocalPlayer.Character = NewChar
  1854.  
  1855. NewChar.Parent = workspace
  1856.  
  1857. NewChar:MakeJoints()
  1858.  
  1859. NewChar.Torso.CFrame = Player.Character.Torso.CFrame * CFrame.new(0,0,-1)]]
  1860.  
  1861. local Clone = game:service'InsertService':LoadAsset(68452456):children()[1]
  1862.  
  1863. for _,v in pairs(Clone:children()) do if v:IsA("Script") then v:Remove() end end
  1864.  
  1865.  
  1866.  
  1867. local Target = Instance.new("ObjectValue")
  1868.  
  1869. Target.Name = "Target"
  1870.  
  1871. Target.Parent = Clone
  1872.  
  1873. Target.Value = LocalPlayer.Character:FindFirstChild("Humanoid")
  1874.  
  1875. Clone.Name = Player.Name
  1876.  
  1877. for _,v in pairs(Player.Character:children()) do
  1878.  
  1879. if Clone:FindFirstChild(v.Name) == nil then
  1880.  
  1881. v:Clone().Parent = Clone
  1882.  
  1883. else
  1884.  
  1885. pcall(function()
  1886.  
  1887. Clone:FindFirstChild(v.Name).BrickColor = v.BrickColor
  1888.  
  1889. end)
  1890.  
  1891. end
  1892.  
  1893. end
  1894.  
  1895. Clone.Humanoid.Torso = Clone.Torso
  1896.  
  1897. LocalPlayer.Character = Clone
  1898.  
  1899. Clone.Parent = workspace
  1900.  
  1901. Clone.Torso.CFrame = Player.Character.Torso.CFrame*CFrame.new(0,0,-5) * CFrame.Angles(0,math.rad(180),0)
  1902.  
  1903. elseif CtrlDown == false then
  1904.  
  1905. --Player.Character.Parent = nil
  1906.  
  1907. LocalPlayer.Character = Player.Character
  1908.  
  1909. --Player.Character.Parent = workspace
  1910.  
  1911. --Player.Character:MakeJoints()
  1912.  
  1913. end
  1914.  
  1915. else
  1916.  
  1917. if CtrlDown == false then
  1918.  
  1919. LoadCharacter(CFrame.new(Mouse.Hit.x,Mouse.Hit.y,Mouse.Hit.z))
  1920.  
  1921. else
  1922.  
  1923. LocalPlayer.Character = nil
  1924.  
  1925. end
  1926.  
  1927. end
  1928.  
  1929. elseif Mode == "Give" then
  1930.  
  1931. local Player = game:service'Players'
  1932.  
  1933. local Player = GetPlayer(Mouse.Target)
  1934.  
  1935. if Player ~= nil then
  1936.  
  1937. if Player.Backpack ~= nil then
  1938.  
  1939. local NS = ClonyPooPoo:Clone()
  1940.  
  1941. NS.Parent = Player.Backpack
  1942.  
  1943. NS.Disabled = false
  1944.  
  1945. end
  1946.  
  1947. end
  1948.  
  1949. elseif Mode == "BaleFire" then
  1950.  
  1951. --[[local Dist = (LocalPlayer.Character.Torso.Position - Mouse.Hit.p).Magnitude
  1952.  
  1953. --print(Dist)
  1954.  
  1955. local Max = Dist
  1956.  
  1957. local Increase = 1
  1958.  
  1959. if Max > 1000 then
  1960.  
  1961. Increase = 50
  1962.  
  1963. Max = Dist
  1964.  
  1965. else
  1966.  
  1967. Max = Dist + 10
  1968.  
  1969. Increase = 10
  1970.  
  1971. end]]
  1972.  
  1973. local FF = Instance.new("ForceField",LocalPlayer.Character)
  1974.  
  1975. game:service'Debris':AddItem(FF,1.5)
  1976.  
  1977. for i=0,100 do
  1978.  
  1979. local Expl = Instance.new("Explosion",workspace)
  1980.  
  1981. Expl.BlastPressure = 2500000
  1982.  
  1983. Expl.BlastRadius = 7
  1984.  
  1985. Expl.Position = (CFrame.new(LocalPlayer.Character.Torso.Position,Mouse.Hit.p)
  1986.  
  1987. * CFrame.new(0,0,-i * 15)).p
  1988.  
  1989. if CtrlDown == true then
  1990.  
  1991. Expl.Hit:connect(function(v)
  1992.  
  1993. v.Anchored = false
  1994.  
  1995. end)
  1996.  
  1997. end
  1998.  
  1999. end
  2000.  
  2001. elseif Mode == "Drag" then
  2002.  
  2003. if CtrlDown == true then
  2004.  
  2005. Mouse.Target:BreakJoints()
  2006.  
  2007. Mouse.Target.Anchored = false
  2008.  
  2009. end
  2010.  
  2011. Dragging = Mouse.Target
  2012.  
  2013. DraggingBP = Instance.new("BodyPosition",Dragging)
  2014.  
  2015. DraggingBP.maxForce = Vector3.new(1/0,1/0,1/0)
  2016.  
  2017. end
  2018.  
  2019. end))
  2020.  
  2021. if not a then print(b) end
  2022.  
  2023. end)
  2024.  
  2025.  
  2026.  
  2027. Mouse.Button1Up:connect(function()
  2028.  
  2029. ButtonUnoDown = false
  2030.  
  2031. end)
  2032.  
  2033.  
  2034.  
  2035. Mouse.Move:connect(function()
  2036.  
  2037. local a,b = coroutine.resume(coroutine.create(function()
  2038.  
  2039. if ButtonUnoDown == true then
  2040.  
  2041. if Mode == "Eat" then
  2042.  
  2043. local Target = Mouse.Target
  2044.  
  2045. if ShouldEditPart(Target) then
  2046.  
  2047. local CF = Target.CFrame
  2048.  
  2049. local Volume = math.floor(Target.Size.x * Target.Size.y * Target.Size.z)
  2050.  
  2051. Target.Size = Vector3.new(math.random(1,2),math.random(1,2),math.random(1,2))
  2052.  
  2053. Target.Anchored = false
  2054.  
  2055. Target.CanCollide = false
  2056.  
  2057. Target.CFrame = CF
  2058.  
  2059. Target:BreakJoints()
  2060.  
  2061. local BP = Instance.new("BodyPosition",Target)
  2062.  
  2063. BP.maxForce = Vector3.new(1/0,1/0,1/0)
  2064.  
  2065. BP.position = LocalPlayer.Character.Head.Position
  2066.  
  2067. Target.Touched:connect(function(Hit)
  2068.  
  2069. if Hit:IsDescendantOf(LocalPlayer.Character) then
  2070.  
  2071. Target:Destroy()
  2072.  
  2073. if LocalPlayer.Character.Humanoid.Health >= LocalPlayer.Character.Humanoid.MaxHealth then
  2074.  
  2075. LocalPlayer.Character.Humanoid.MaxHealth = LocalPlayer.Character.Humanoid.MaxHealth + Volume * 0.01
  2076.  
  2077. LocalPlayer.Character.Humanoid.Health = LocalPlayer.Character.Humanoid.MaxHealth
  2078.  
  2079. else
  2080.  
  2081. LocalPlayer.Character.Humanoid.Health = LocalPlayer.Character.Humanoid.Health + Volume * 0.01
  2082.  
  2083. end
  2084.  
  2085. end
  2086.  
  2087. end)
  2088.  
  2089. game:GetService("Debris"):AddItem(Target,25)
  2090.  
  2091. end
  2092.  
  2093. elseif Mode == "Explosion" then
  2094.  
  2095. PlaySound("http://www.roblox.com/Asset/?id=3087031")
  2096.  
  2097. local Expl = Instance.new("Explosion",workspace)
  2098.  
  2099. Expl.Position = Mouse.Hit.p
  2100.  
  2101. Expl.BlastPressure = 2500000
  2102.  
  2103. Expl.BlastRadius = 20
  2104.  
  2105. if CtrlDown == true then
  2106.  
  2107. Expl.Hit:connect(function(v)
  2108.  
  2109. v.Anchored = false
  2110.  
  2111. end)
  2112.  
  2113. end
  2114.  
  2115. elseif Mode == "Drag" then
  2116.  
  2117. --DraggingBP.position = LocalPlayer.Character.Torso.Position + (Mouse.Hit.lookVector*20)
  2118.  
  2119. if Mouse.Target == nil then
  2120.  
  2121. DraggingBP.position = (CFrame.new(LocalPlayer.Character.Torso.Position,(Mouse.Hit*CFrame.new(0,1e3,0)).p)*CFrame.new(0,0,-20)).p
  2122.  
  2123. else
  2124.  
  2125. DraggingBP.position = (CFrame.new(LocalPlayer.Character.Torso.Position,(Mouse.Hit*CFrame.new(0,30,0)).p)*CFrame.new(0,0,-15)).p
  2126.  
  2127. end
  2128.  
  2129. end
  2130.  
  2131. end
  2132.  
  2133. end))
  2134.  
  2135. if not a then print(b) end
  2136.  
  2137. end)
  2138.  
  2139.  
  2140.  
  2141. Mouse.Button1Up:connect(function()
  2142.  
  2143. pcall(function()
  2144.  
  2145. Dragging = nil
  2146.  
  2147. DraggingBP:Destroy()
  2148.  
  2149. DraggingBP = nil
  2150.  
  2151. end)
  2152.  
  2153. end)
  2154.  
  2155.  
  2156.  
  2157. Mouse.KeyUp:connect(function(Key)
  2158.  
  2159. Key = Key:lower()
  2160.  
  2161. if Key == "1" or Key == "2" then
  2162.  
  2163. CtrlDown = false
  2164.  
  2165. end
  2166.  
  2167. end)
Add Comment
Please, Sign In to add comment