H3VL

78

Oct 19th, 2017
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 417.91 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TOP = Instance.new("TextButton")
  6. local Grab = Instance.new("TextButton")
  7. local Hub = Instance.new("TextButton")
  8.  
  9. -- Properties
  10.  
  11. ScreenGui.Parent = game.Players.BOYWITH_SWAG.PlayerGui
  12.  
  13. Frame.Parent = ScreenGui
  14. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  15. Frame.BackgroundTransparency = 0.69999998807907
  16. Frame.BorderSizePixel = 2
  17. Frame.Position = UDim2.new(0.713754654, 0, 0.17786561, 0)
  18. Frame.Size = UDim2.new(0, 213, 0, 345)
  19.  
  20. TOP.Name = "TOP"
  21. TOP.Parent = Frame
  22. TOP.BackgroundColor3 = Color3.new(1, 0, 0)
  23. TOP.BackgroundTransparency = 0.69999998807907
  24. TOP.Size = UDim2.new(0, 213, 0, 110)
  25. TOP.Font = Enum.Font.SourceSans
  26. TOP.FontSize = Enum.FontSize.Size14
  27. TOP.Text = "TOPKEK4.0"
  28. TOP.TextSize = 14
  29. TOP.MouseButton1Down:connect(function()
  30. -- edited by bork so it works with proto XD
  31. local topkek = {}
  32. topkek.patch = '1.0.5a'
  33. topkek.data = {}
  34. topkek.commandbase = {}
  35. topkek.navigation = {}
  36. topkek.banmgr = {}
  37. topkek.lplr = game:GetService('Players').LocalPlayer
  38.  
  39. topkek.tools = {}
  40. topkek.tools.gui = {}
  41. topkek.tools.util = {}
  42. topkek.tools.animator = {}
  43.  
  44. topkek.windows = {}
  45. topkek.windows.lplr = {}
  46. topkek.windows.server = {}
  47. topkek.windows.players = {}
  48. topkek.windows.destruction = {}
  49. topkek.windows.scripts = {}
  50. topkek.windows.misc = {}
  51.  
  52. topkek.misc = {}
  53.  
  54. topkek.gui = game:GetObjects("rbxassetid://678309209")[1]
  55. topkek.gui.Parent = game:GetService("CoreGui")
  56.  
  57. topkek.center = topkek.gui.Main
  58. topkek.holder = topkek.center.Holder
  59. topkek.topbar = topkek.center.Topbar
  60. topkek.template = topkek.holder.Template
  61. topkek.navigator = topkek.center.Navigation
  62.  
  63. AllowHovers = false
  64. PlayerChatHook, UpdateBanlist = nil
  65. cmd = {}
  66.  
  67. --// data //--
  68. topkek.data.windows = {
  69. 'Home',
  70. 'LocalPlayer',
  71. 'Server',
  72. 'Players',
  73. 'Destruction',
  74. 'Scripts',
  75. 'Catalog',
  76. 'Music',
  77. 'Hats',
  78. 'Faces',
  79. 'Settings',
  80. 'Commands',
  81. 'Banlist',
  82. }
  83.  
  84. color3 = function(r,g,b)
  85. return Color3.new(r/255, g/255, b/255)
  86. end
  87. --// doggo dropdown //--
  88. -- thanks krystal
  89. GUI = {
  90. TextBox = {
  91. Settings = {
  92. Font = Enum.Font.SourceSans;
  93. FontSize = Enum.FontSize.Size14;
  94. };
  95. Color = {
  96. Main = Color3.fromRGB(5,8,11);
  97. Border = Color3.fromRGB(27,42,53);
  98. Text = Color3.fromRGB(199,199,199);
  99. };
  100. New = function(Position, Size, Parent, ...)
  101. local arguments = {...};
  102.  
  103. local TextBox = Instance.new("TextBox", Parent);
  104. TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
  105. TextBox.BorderColor3 = GUI.DropDown.Color.Border;
  106. TextBox.Font = GUI.TextBox.Settings.Font;
  107. TextBox.FontSize = GUI.TextBox.Settings.FontSize;
  108. TextBox.TextColor3 = GUI.TextBox.Color.Text;
  109. TextBox.Position = Position;
  110. TextBox.Size = Size;
  111. if #arguments then
  112. if arguments[1] then
  113. TextBox.Text = tostring(arguments[1]);
  114. else
  115. TextBox.Text = "";
  116. end
  117. end
  118. return TextBox;
  119. end;
  120. };
  121. DropDown = {
  122. Settings = {
  123. ScrollerAmount = 5; --A scroller will appear at this amount.
  124. ScrollBarThickness = 6;
  125. };
  126. Gfx = {
  127. Scroller = "rbxassetid://606572419";
  128. };
  129. Color = {
  130. Main = color3(107, 36, 36);
  131. Secondary = color3(113, 39, 39);
  132. Border = color3(127, 44, 44);
  133. Text = Color3.fromRGB(199,199,199);
  134. };
  135. New = function(Position, Size, Parent, ...)
  136. local vValue = {};
  137. local arguments = {...};
  138. local vSelected = Instance.new("StringValue");
  139. vSelected.Value = "nil";
  140.  
  141. if arguments then
  142. if type(arguments) == "table" then
  143. for i=1,#(arguments) do
  144. if type(arguments[i]) == "table" then
  145. for f=1,#(arguments[i]) do
  146. table.insert(vValue, tostring((arguments[i])[f]));
  147. end
  148. else
  149. table.insert(vValue, tostring(arguments[i]));
  150. end
  151. end
  152. vSelected.Value = (vValue[1]);
  153. end
  154. end
  155.  
  156. local Main = Instance.new("TextButton", Parent);
  157. Main.BackgroundColor3 = GUI.DropDown.Color.Main;
  158. Main.BorderColor3 = GUI.DropDown.Color.Border;
  159. Main.Position = Position;
  160. Main.Size = Size;
  161. Main.TextColor3 = GUI.DropDown.Color.Text;
  162. Main.FontSize = Enum.FontSize.Size14;
  163. Main.TextStrokeTransparency = 0.5;
  164. Main.TextXAlignment = Enum.TextXAlignment.Left;
  165. Main.Font = Enum.Font.SourceSans;
  166. Main.Text = " "..tostring(vSelected.Value);
  167. Main.ZIndex = 3
  168.  
  169. local Icon = Instance.new("TextLabel", Main);
  170. Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
  171. Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
  172. Icon.BorderColor3 = GUI.DropDown.Color.Border;
  173. Icon.Position = UDim2.new(1,-2,1,-2);
  174. Icon.Size = UDim2.new(-1,4,-1,4);
  175. Icon.TextColor3 = GUI.DropDown.Color.Text;
  176. Icon.FontSize = Enum.FontSize.Size14;
  177. Icon.TextStrokeTransparency = 0.5;
  178. Icon.Font = Enum.Font.SourceSans;
  179. Icon.Text = "V"
  180. Icon.ZIndex = 4
  181.  
  182. local Holder, Search;
  183. local ClearHolder = function()
  184. if Holder then
  185. Holder:ClearAllChildren();
  186. Holder.Size = UDim2.new(1,0,0,0);
  187. Holder.Visible = false;
  188. if Search then
  189. Search.Visible = false;
  190. end
  191. end
  192. end;
  193.  
  194. local CreateButton;
  195. local RefreshDropDown = function()
  196. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  197. if not Holder or not Holder:IsA("Frame") then
  198. Holder = nil; Search = nil;
  199. Holder = Instance.new("Frame",Main);
  200. Holder.Size = UDim2.new(1,0,0,0);
  201. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  202. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  203. Holder.Visible = false;
  204. Holder.ZIndex = 3
  205. end
  206. elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
  207. if not Holder or not Holder:IsA("ScrollingFrame") then
  208. Holder = nil; Search = nil;
  209. Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
  210. Search.Visible = false;
  211. Search.ZIndex = 4
  212. Search.Changed:connect(function(p)
  213. if p == "Text" then
  214. CreateButton(Search.Text);
  215. end
  216. end)
  217. Holder = Instance.new("ScrollingFrame",Main);
  218. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  219. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  220. Holder.TopImage = GUI.DropDown.Gfx.Scroller;
  221. Holder.MidImage = GUI.DropDown.Gfx.Scroller;
  222. Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
  223. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
  224. Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
  225. Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
  226. Holder.Visible = false;
  227. Holder.ZIndex = 3;
  228. end
  229. end
  230. if #vValue == 1 and vSelected.Value ~= vValue[1] then
  231. vSelected.Value = vValue[1];
  232. elseif #vValue == 0 then
  233. vSelected.Value = "nil";
  234. warn("Table amount is nil.");
  235. end
  236. Main.Text = " "..tostring(vSelected.Value);
  237. --ClearHolder();
  238. end;
  239.  
  240. local Debounce = false;
  241. CreateButton = function(searches)
  242. if Debounce == false then
  243. Debounce = true;
  244. ClearHolder()
  245. Holder.Visible = true;
  246. local Searched = 0;
  247. if #vValue > 0 then
  248. for i=1,#vValue do
  249. if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
  250. Searched = Searched + 1;
  251. end
  252. end
  253. for i=1,#vValue do
  254. if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "" and Searched > 0) or searches == nil or searches == "" or Searched <= 0 then
  255. local Select = Instance.new("TextButton", Holder);
  256. Select.BackgroundColor3 = GUI.DropDown.Color.Main;
  257. Select.BorderColor3 = GUI.DropDown.Color.Border;
  258. Select.BackgroundTransparency = 1;
  259. Select.BorderSizePixel = 0;
  260. Select.Position = Position;
  261. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  262. Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
  263. else
  264. Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
  265. end
  266. Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
  267. Select.TextColor3 = GUI.DropDown.Color.Text;
  268. Select.FontSize = Enum.FontSize.Size14;
  269. Select.TextStrokeTransparency = 0.5;
  270. Select.Font = Enum.Font.SourceSans;
  271. Select.Text = tostring(vValue[i]);
  272. Select.ZIndex = 3
  273. Select.MouseButton1Click:connect(function()
  274. vSelected.Value = vValue[i];
  275. ClearHolder();
  276. RefreshDropDown();
  277. end)
  278. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  279. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
  280. elseif Holder:IsA("ScrollingFrame") then
  281. Search.Visible = true;
  282. if #Holder:GetChildren() >= 1 then
  283. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  284. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
  285. if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
  286. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
  287. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  288. end
  289. elseif #Holder:GetChildren() < 1 then
  290. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  291. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  292. end
  293. end
  294. end
  295. end
  296. end
  297. Debounce = false;
  298. end
  299. end;
  300.  
  301. RefreshDropDown();
  302.  
  303. Main.MouseButton1Click:connect(function()
  304. CreateButton()
  305. if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
  306. Search:CaptureFocus();
  307. Search.Text = "";
  308. end
  309. end)
  310.  
  311. topkek.lplr:GetMouse().Button1Down:connect(function()
  312. ClearHolder()
  313. end)
  314.  
  315. return {
  316. Update = function()
  317. RefreshDropDown();
  318. end;
  319. GetValue = function()
  320. RefreshDropDown();
  321. return vValue;
  322. end;
  323. GetSelected = function()
  324. RefreshDropDown();
  325. return vSelected.Value;
  326. end;
  327. SetTable = function(F)
  328. vValue = F;
  329. RefreshDropDown();
  330. end;
  331. Changed = function(F)
  332. vSelected.Changed:connect(function()
  333. ypcall(function()
  334. F(vSelected.Value);
  335. end)
  336. end)
  337. return "ChangedEvent Hooked";
  338. end;
  339. AddValue = function(obj)
  340. local Type = type(obj);
  341. if Type == "table" then
  342. for i=1,#obj do
  343. table.insert(vValue, obj[i])
  344. end
  345. elseif Type == "string" or Type == "number" or Type == "boolean" then
  346. table.insert(vValue, obj)
  347. end
  348. RefreshDropDown();
  349. end;
  350. RemoveValue = function(obj)
  351. local Type = type(obj);
  352. if Type == "table" then
  353. for i=1,#vValue do
  354. for f=1,#obj do
  355. if tostring(obj[f]) == tostring(vValue[i]) then
  356. table.remove(vValue,i)
  357. end
  358. end
  359. end
  360. else
  361. for i=1,#vValue do
  362. if tostring(obj) == tostring(vValue[i]) then
  363. table.remove(vValue,i)
  364. end
  365. end
  366. end
  367. RefreshDropDown();
  368. end;
  369. ClearValue = function()
  370. vValue = {};
  371. RefreshDropDown();
  372. end;
  373. }
  374. end;
  375. };
  376. };
  377. --// util //--
  378. function topkek.tools.util.Object(o, p)
  379. local a, b = pcall(function()
  380. Instance.new(o)
  381. end)
  382. if not a then
  383. return
  384. end
  385. local obj = Instance.new(o)
  386. for prop, val in pairs(p) do
  387. pcall(function()
  388. obj[prop] = val
  389. end)
  390. end
  391. return obj
  392. end
  393.  
  394. function topkek.tools.util.getContainer(n)
  395. if topkek.holder:FindFirstChild(n) then
  396. return topkek.holder[n]
  397. else
  398. print("menu not found; returning template")
  399. return topkek.holder['Template']
  400. end
  401. end
  402.  
  403. function topkek.tools.util.play(id)
  404. local mu = Instance.new("Sound", game:GetService('Workspace'))
  405. mu.Volume = 1
  406. mu.Looped = true
  407. mu.Pitch = 1
  408. mu.SoundId = "rbxassetid://"..tostring(id)
  409. mu:Play()
  410. end
  411.  
  412. function topkek.tools.util.getTorso(plr) --r15 compatibility lole
  413. if plr.Character then
  414. if plr.Character:FindFirstChild('UpperTorso') then
  415. return plr.Character.UpperTorso
  416. elseif plr.Character:FindFirstChild('Torso') then
  417. return plr.Character.Torso
  418. else
  419. return nil
  420. end
  421. end
  422. end
  423.  
  424. function topkek.tools.util.recurseRemove(x,type_)
  425. local function recurse(x)
  426. for i, v in pairs(x:GetChildren()) do
  427. pcall(function()
  428. if v:IsA(type_) then
  429. v:Destroy()
  430. end
  431. if #(v:GetChildren())>0 then
  432. recurse(v)
  433. end
  434. end)
  435. end
  436. end
  437. recurse(x)
  438. end
  439.  
  440. function topkek.tools.util.recurseFunc(type_,func)
  441. local function recurse(x)
  442. for i, v in pairs(x:GetChildren()) do
  443. pcall(function()
  444. if v:IsA(type_) then
  445. func(v)
  446. end
  447. if #(v:GetChildren())>0 then
  448. recurse(v)
  449. end
  450. end)
  451. end
  452. end
  453. recurse(game)
  454. end
  455. function topkek.tools.util.trowel()
  456. local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
  457. T.Name = 'Custom Trowel'
  458.  
  459. local p = Instance.new('Part')
  460. p.Name = 'Handle'
  461. p.Size = Vector3.new(1,4.4,1)
  462. p.Parent = T
  463.  
  464. local specialMesh = Instance.new('SpecialMesh')
  465. specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
  466. specialMesh.MeshType = 'FileMesh'
  467. specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
  468. specialMesh.Parent = T.Handle
  469.  
  470. local sound = Instance.new'Sound'
  471. sound.Name = 'build'
  472. sound.SoundId = 'rbxasset://sounds//bass.wav'
  473. sound.Volume = 1
  474. sound.Parent = T.Handle
  475.  
  476. local brickHeight = 100
  477. local trowelSpeed = 0.05
  478. local brickWidth = 500
  479. local mouseConnection
  480.  
  481. function newBrick(CF, P, color)
  482. local brick = Instance.new('Part')
  483. brick.BrickColor = color
  484. brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
  485. brick.Parent = game.Workspace
  486. brick:MakeJoints()
  487. brick.Material = 'Neon'
  488. brick.Name = 'DeleteMe'
  489. return brick, P + brick.Size
  490. end
  491.  
  492. function genBrick(cFrame)
  493. local randBrickColor = BrickColor.Random()
  494. assert(brickWidth > 0)
  495.  
  496. local yPos = 0
  497.  
  498. while yPos < brickHeight do
  499. local vPos
  500. local X = -brickWidth / 2
  501. while X < brickWidth / 2 do
  502. local brick
  503. brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
  504. X = vPos.x
  505. wait(trowelSpeed)
  506. end
  507. yPos = vPos.y
  508. end
  509. end
  510.  
  511. function calcPos(vec)
  512. if (math.abs(vec.x) > math.abs(vec.z)) then
  513. if vec.x > 0 then
  514. return Vector3.new(1, 0, 0)
  515. else
  516. return Vector3.new(-1, 0, 0)
  517. end
  518. else
  519. if (vec.z > 0) then
  520. return Vector3.new(0, 0, 1)
  521. else
  522. return Vector3.new(0, 0, -1)
  523. end
  524. end
  525. end
  526.  
  527. T.Enabled = true
  528.  
  529. T.Activated:connect(function()
  530. if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  531. T.Enabled = false
  532. T.Handle.build:Play()
  533. genBrick(CFrame.new(game.Players.LocalPlayer.Character.Humanoid.TargetPoint, game.Players.LocalPlayer.Character.Humanoid.TargetPoint + calcPos((game.Players.LocalPlayer.Character.Humanoid.TargetPoint - game.Players.LocalPlayer.Character.Head.Position).unit)))
  534. T.Enabled = true
  535. end
  536. end)
  537.  
  538. T.Equipped:connect(function()
  539. mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  540. if (key == 'r') then
  541. for i,v in next, workspace:children'' do
  542. if (v.Name == 'DeleteMe') then
  543. v:Destroy()
  544. end
  545. end
  546. end
  547. end)
  548. end)
  549.  
  550. T.Unequipped:connect(function()
  551. mouseConnection:disconnect()
  552. end)
  553. end
  554. function topkek.tools.util.recurseSet(type_,prop,val)
  555. local function recurse(x)
  556. for i, v in pairs(x:GetChildren()) do
  557. pcall(function()
  558. if v:IsA(type_) then
  559. v[prop]=val
  560. end
  561. if #(v:GetChildren())>0 then
  562. recurse(v)
  563. end
  564. end)
  565. end
  566. end
  567. recurse(game)
  568. end
  569. function topkek.tools.util.recurseUltimate(d)
  570. topkek.tools.util.recurseDecal(d)
  571. topkek.tools.util.recurseParticles(d)
  572. end
  573. function topkek.tools.util.recurseDecal(img)
  574. img = 'rbxassetid://' .. img
  575. local function skybox(x)
  576. local sky = Instance.new("Sky",game.Lighting)
  577. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  578. for i,v in pairs(fcs) do
  579. sky["Skybox"..v]=x
  580. end
  581. end
  582.  
  583. local function decal(p, b)
  584. local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  585. for i, v in pairs(sides) do
  586. local a = Instance.new("Decal", p)
  587. a.Texture = b
  588. a.Face = v
  589. end
  590. end
  591.  
  592. local function recurse(x)
  593. for i, v in pairs(x:GetChildren()) do
  594. pcall(function() -- 'error occured, no output from Lua' LOLE
  595. if v:IsA("BasePart") then
  596. decal(v, img)
  597. end
  598. if #(v:GetChildren())>0 then
  599. recurse(v)
  600. end
  601. end)
  602. end
  603. end
  604.  
  605. recurse(game)
  606. skybox(img)
  607. end
  608. function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
  609. img = 'rbxassetid://' .. img
  610. local function skybox(x)
  611. local sky = Instance.new("Sky",game.Lighting)
  612. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  613. for i,v in pairs(fcs) do
  614. sky["Skybox"..v]=x
  615. end
  616. end
  617. local function particle(p, b)
  618. local a = Instance.new("ParticleEmitter", p)
  619. a.Rate = 500
  620. a.Lifetime = NumberRange.new(20, 30)
  621. a.VelocitySpread = 200
  622. a.Texture = b
  623. end
  624.  
  625. local function recurse(x)
  626. for i, v in pairs(x:GetChildren()) do
  627. pcall(function() -- 'error occured, no output from Lua' LOLE
  628. if v:IsA("BasePart") then
  629. particle(v, img)
  630. end
  631. if #(v:GetChildren())>0 then
  632. recurse(v)
  633. end
  634. end)
  635. end
  636. end
  637.  
  638. recurse(game)
  639. skybox(img)
  640. end
  641. function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
  642. local function recurse(x)
  643. for i, v in pairs(x:GetChildren()) do
  644. pcall(function()
  645. if v:IsA(type_) then
  646. v[prop]=val
  647. end
  648. if #(v:GetChildren())>0 then
  649. recurse(v)
  650. end
  651. end)
  652. end
  653. end
  654. recurse(obj)
  655. end
  656. function topkek.tools.util.doPlayers(cval, func)
  657. local plrs = {}
  658. if cval == 'All' then
  659. plrs = game:GetService('Players'):GetPlayers()
  660. else
  661. plrs = {game:GetService('Players'):FindFirstChild(cval)}
  662. end
  663. for i, v in pairs(plrs) do
  664. func(v)
  665. end
  666. end
  667. function topkek.tools.util.scalePlayer(sc,plr)
  668. local pchar = plr.Character
  669. if pchar:FindFirstChild("UpperTorso") then
  670. warn("Player [" ..plr.Name.. "] is R15.")
  671. return
  672. end
  673. local function scale(chr,scl)
  674.  
  675. for _,v in pairs(pchar:GetChildren()) do
  676. if v:IsA("Hat") then
  677. v:Clone()
  678. v.Parent = game.Lighting
  679. end
  680. end
  681.  
  682. local Head = chr['Head']
  683. local Torso = chr['Torso']
  684. local LA = chr['Left Arm']
  685. local RA = chr['Right Arm']
  686. local LL = chr['Left Leg']
  687. local RL = chr['Right Leg']
  688. local HRP = chr['HumanoidRootPart']
  689.  
  690. wait(0.1)
  691.  
  692. Head.formFactor = 3
  693. Torso.formFactor = 3
  694. LA.formFactor = 3
  695. RA.formFactor = 3
  696. LL.formFactor = 3
  697. RL.formFactor = 3
  698. HRP.formFactor = 3
  699.  
  700. Head.Size = Vector3.new(scl * 2, scl, scl)
  701. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  702. LA.Size = Vector3.new(scl, scl * 2, scl)
  703. RA.Size = Vector3.new(scl, scl * 2, scl)
  704. LL.Size = Vector3.new(scl, scl * 2, scl)
  705. RL.Size = Vector3.new(scl, scl * 2, scl)
  706. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  707.  
  708. local Motor1 = Instance.new('Motor6D', Torso)
  709. Motor1.Part0 = Torso
  710. Motor1.Part1 = Head
  711. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  712. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  713. Motor1.Name = "Neck"
  714.  
  715. local Motor2 = Instance.new('Motor6D', Torso)
  716. Motor2.Part0 = Torso
  717. Motor2.Part1 = LA
  718. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  719. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  720. Motor2.Name = "Left Shoulder"
  721.  
  722. local Motor3 = Instance.new('Motor6D', Torso)
  723. Motor3.Part0 = Torso
  724. Motor3.Part1 = RA
  725. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  726. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  727. Motor3.Name = "Right Shoulder"
  728.  
  729. local Motor4 = Instance.new('Motor6D', Torso)
  730. Motor4.Part0 = Torso
  731. Motor4.Part1 = LL
  732. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  733. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  734. Motor4.Name = "Left Hip"
  735.  
  736. local Motor5 = Instance.new('Motor6D', Torso)
  737. Motor5.Part0 = Torso
  738. Motor5.Part1 = RL
  739. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  740. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  741. Motor5.Name = "Right Hip"
  742.  
  743. local Motor6 = Instance.new('Motor6D', HRP)
  744. Motor6.Part0 = HRP
  745. Motor6.Part1 = Torso
  746. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  747. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  748.  
  749. end
  750.  
  751. scale(pchar, sc)
  752.  
  753. for _,v in pairs(game.Lighting:GetChildren()) do
  754. if v:IsA("Hat") then
  755. v.Parent = pchar
  756. end
  757. end
  758. end
  759. function topkek.tools.util.applyFace(id)
  760. local Char = topkek.lplr.Character
  761. if(Char)then
  762. local Type = id
  763. local Meme=id
  764. local BBG_SIZE=Char.Head.Size.X*1.25;
  765. local STUD_VECTOR_1=Char.Head.Size.Z/4;
  766. local STUD_VECTOR_2=Char.Head.Size.Z;
  767. local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
  768. bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  769. bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
  770. bbg.Adornee=Char.Head;
  771. bbg.Name='BBGMEME';
  772. local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
  773. img.BackgroundTransparency=1;
  774. img.Image="rbxassetid://"..Meme;
  775. img.Size=UDim2.new(1,0,1,0)
  776. img.Name='Meme';
  777. for i,v in next,Char:children()do
  778. if(v.className=='Hat')then
  779. v=v:FindFirstChild'Handle';
  780. if(v)then
  781. v.Transparency=0
  782. end;
  783. end;
  784. end;
  785. end;
  786. end;
  787. function topkek.tools.util.weenieHutJunior(plr)
  788. plr=plr.Character
  789. Shaft=Instance.new("Part", plr)
  790. Shaft.Name='Shaft'
  791. Shaft.Size=Vector3.new(1, 2.5, 1)
  792. Shaft.TopSurface=0
  793. Shaft.BottomSurface=0
  794. Shaft.CanCollide=true
  795. Cyln=Instance.new("CylinderMesh", Shaft)
  796. Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  797. Instance.new("Weld", plr)
  798. plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  799. plr.Weld.Part1=plr.Shaft
  800. plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  801. Shaft.BrickColor=BrickColor.new("Pastel brown")
  802. Tip=Instance.new("Part", plr)
  803. Tip.Name='Tip'
  804. Tip.TopSurface=0
  805. Tip.BottomSurface=0
  806. Tip.Size=Vector3.new(1, 1, 1)
  807. Tip.CanCollide=true
  808. Tip.Touched:connect(function(prt) if prt.Parent~=player then spawn(function() for i=1, 5 do local pert=Instance.new("Part", player) pert.CFrame=CFrame.new(prt.Position) pert.CanCollide=true local mesh=Instance.new("BlockMesh", pert) mesh.Scale=Vector3.new(0.2,0.2,0.2) pert.BrickColor=BrickColor.new("White") end end) end end)
  809. Cyln2=Instance.new("SpecialMesh", Tip)
  810. Cyln2.MeshType='Sphere'
  811. Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  812. Instance.new("Weld", plr).Name='Weld2'
  813. plr.Weld2.Part0=plr.Shaft
  814. plr.Weld2.Part1=plr.Tip
  815. plr.Weld2.C0=CFrame.new(0,-.9,0)
  816. Tip.BrickColor=BrickColor.new("Pink")
  817. -----
  818. Ball1=Instance.new("Part", plr)
  819. Ball1.Name='Ball1'
  820. Ball1.Size=Vector3.new(1, 1, 1)
  821. Ball1.TopSurface=0
  822. Ball1.BottomSurface=0
  823. Cyln3=Instance.new("SpecialMesh", Ball1)
  824. Cyln3.MeshType='Sphere'
  825. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  826. Instance.new("Weld", plr).Name='Weld3'
  827. plr.Weld3.Part0=plr.Shaft
  828. plr.Weld3.Part1=plr.Ball1
  829. plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  830. Ball1.BrickColor=BrickColor.new("Pastel brown")
  831. -----
  832. Ball2=Instance.new("Part", plr)
  833. Ball2.Name='Ball2'
  834. Ball2.Size=Vector3.new(1, 1, 1)
  835. Ball2.TopSurface=0
  836. Ball2.BottomSurface=0
  837. Cyln3=Instance.new("SpecialMesh", Ball2)
  838. Cyln3.MeshType='Sphere'
  839. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  840. Instance.new("Weld", plr).Name='Weld4'
  841. plr.Weld4.Part0=plr.Shaft
  842. plr.Weld4.Part1=plr.Ball2
  843. plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  844. Ball2.BrickColor=BrickColor.new("Pastel brown")
  845. end
  846. --// banmgr //--
  847. topkek.banmgr.isPrivate = false
  848. topkek.banmgr.whitelist = {}
  849. topkek.banmgr.bans = {}
  850. function topkek.banmgr.executeKick(z)
  851. local function doKick()
  852. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  853. z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  854. local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  855. spawn(function()
  856. repeat wait()
  857. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  858. SP.Position = z.Character.HumanoidRootPart.Position
  859. end
  860. until not game:GetService('Players'):FindFirstChild(z.Name)
  861. end)
  862. z.Character.Torso.Anchored = true
  863. end
  864. end
  865. repeat
  866. doKick()
  867. wait()
  868. until not z
  869. end
  870. function topkek.banmgr.loadFromFile()
  871. -- todo: read file
  872. topkek.settings.get()
  873. topkek.banmgr.bans = topkek.settingsTable['Bans']
  874. end
  875. function topkek.banmgr.addHardBan(p)
  876. -- todo: write file
  877. table.insert(topkek.banmgr.bans, p.Name)
  878. topkek.settings.get()
  879. table.insert(topkek.settingsTable['Bans'], p.Name)
  880. topkek.settings.write()
  881. print("Hardbanned " .. p.Name)
  882. UpdateBanlist()
  883. topkek.banmgr.executeKick(p)
  884. topkek.banmgr.loadFromFile()
  885. end
  886. function topkek.banmgr.addSoftBan(p)
  887. table.insert(topkek.banmgr.bans, p.Name)
  888. topkek.banmgr.executeKick(p)
  889. end
  890. function topkek.banmgr.plrBanned(p)
  891. for x, m in pairs(topkek.banmgr.bans) do
  892. if m == p.Name then
  893. return true
  894. end
  895. end
  896. return false
  897. end
  898. function topkek.banmgr.doWhitelist(p)
  899. print(p .. " whitelisted")
  900. table.insert(topkek.banmgr.whitelist, p)
  901. end
  902. function topkek.banmgr.unwhitelist(p)
  903. for x, m in pairs(topkek.banmgr.whitelist) do
  904. if m == p then
  905. print(m .. " unwhitelisted")
  906. table.remove(topkek.banmgr.whitelist, x)
  907. if game:GetService('Players'):FindFirstChild(p) then
  908. topkek.banmgr.executeKick(game:GetService('Players')[p])
  909. end
  910. end
  911. end
  912. end
  913. function topkek.banmgr.plrWhitelisted(p)
  914. for x, m in pairs(topkek.banmgr.whitelist) do
  915. if m == p.Name then
  916. return true
  917. end
  918. end
  919. return false
  920. end
  921. function topkek.banmgr.makePrivate()
  922. topkek.banmgr.isPrivate = true
  923. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  924. if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
  925. spawn(function()
  926. topkek.banmgr.executeKick(v)
  927. end)
  928. end
  929. end
  930. end
  931. function topkek.banmgr.unprivate()
  932. topkek.banmgr.isPrivate = false
  933. end
  934. function topkek.banmgr.init()
  935. topkek.banmgr.loadFromFile()
  936. game:GetService('Players').PlayerAdded:connect(function(p)
  937. if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
  938. print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
  939. topkek.banmgr.executeKick(p)
  940. end
  941. end)
  942. end
  943. --// settings //--
  944. topkek.settings = {}
  945. topkek.settingsTable = {}
  946. function topkek.settings.write()
  947. writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
  948. end
  949. function topkek.settings.get()
  950. if game.Players.LocalPlayer.Character then
  951. print("No settings! Making new ...")
  952. topkek.settingsTable = {
  953. ['Bans'] = {
  954.  
  955. },
  956. ['Themes'] = {
  957. {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
  958. };
  959. }
  960. topkek.settings.write()
  961. return topkek.settingsTable
  962. else
  963. local lset = game:GetService('HttpService'):JSONDecode(set)
  964. topkek.settingsTable = lset
  965. return lset
  966. end
  967. end
  968. --// shortcuts //--
  969. tk = {}
  970. tk.ob = topkek.tools.util.Object
  971. tk.dp = topkek.tools.util.doPlayers
  972. tk.rcm = topkek.tools.util.recurseRemove
  973. tk.rcs = topkek.tools.util.recurseSet
  974. tk.rcf = topkek.tools.util.recurseFunc
  975. tk.rco = topkek.tools.util.recurseSetObj
  976. tk.play = topkek.tools.util.play
  977. tk.gt = topkek.tools.util.getTorso
  978. --// gui //--
  979. -- copying this from topkek3.0 because i'm
  980. -- too lazy to rewrite my lib
  981. topkek.tools.gui.seperation = 12
  982. function topkek.tools.gui:addLeftIcon(parent, img, sz)
  983. topkek.tools.util.Object('ImageLabel', {
  984. Parent = parent;
  985. BackgroundTransparency = 1;
  986. Position = UDim2.new(0, 2, 0, 2);
  987. Size = UDim2.new(0, sz, 0, sz);
  988. Image = img;
  989. })
  990. end
  991. function topkek.tools.gui:makeContainer(n)
  992. local temp = topkek.template:Clone()
  993. temp.Name = n
  994. temp.Parent = topkek.holder
  995. temp.Container.Visible = false
  996. end
  997. function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
  998. if not o:IsA("ScrollingFrame") and (not ncan) then
  999. return nil
  1000. elseif o:IsA("ScrollingFrame") then
  1001. o.CanvasSize = UDim2.new(0, 0, 0, 0)
  1002. end
  1003.  
  1004. local self = {}
  1005. self.main = o
  1006. self.drawX = 0
  1007. self.drawY = stt or topkek.tools.gui.seperation/2
  1008. self.drawHeight = 0
  1009. self.sepr = sepr or topkek.tools.gui.seperation
  1010.  
  1011. function self:drawButton(sz, txt, func, ysz, cbgd)
  1012. local xposOffset = 0
  1013. local xposScale = self.drawX
  1014. local xszOffset = 0
  1015. local xszScale = sz
  1016. if not (self.drawX == 0) then
  1017. xszOffset = -5
  1018. if sz + self.drawX > 0.998 then
  1019. xszOffset = -10
  1020. end
  1021. elseif sz == 1 then
  1022. local bzz = 4
  1023. if ncan then
  1024. bzz = 0
  1025. end
  1026. xszOffset = -(self.sepr) - bzz
  1027. xposOffset = self.sepr/2
  1028. else
  1029. xszOffset = -4 + -(self.sepr/2)
  1030. xposOffset = self.sepr/2
  1031. end
  1032. if not ysz then ysz = 20 end
  1033. local obj = topkek.tools.util.Object("TextButton", {
  1034. Parent = self.main;
  1035. BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
  1036. BorderSizePixel = 0;
  1037. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1038. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1039. Font = 'SourceSans';
  1040. FontSize = 'Size14';
  1041. Text = txt;
  1042. TextSize = 14;
  1043. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1044. })
  1045. obj.MouseButton1Down:connect(function()
  1046. spawn(func)
  1047. end)
  1048. if ysz > self.drawHeight then
  1049. self.drawHeight = ysz
  1050. end
  1051. self.drawX = self.drawX + sz
  1052. if self.drawX > 0.998 then
  1053. self.drawY = self.drawY + 3 + self.drawHeight
  1054. self.drawX = 0
  1055. self.drawHeight = 0
  1056. if (not ncan) then
  1057. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1058. end
  1059. end
  1060. return obj
  1061. end
  1062.  
  1063. function self:GetChildren()
  1064. return self.main:GetChildren()
  1065. end
  1066.  
  1067. function self:getDrawY()
  1068. return self.drawY
  1069. end
  1070.  
  1071. function self:setDrawY(y)
  1072. self.drawY = y
  1073. end
  1074.  
  1075. function self:drawTextBox(sz, txt, ysz, cbgd)
  1076. local xposOffset = 0
  1077. local xposScale = self.drawX
  1078. local xszOffset = 0
  1079. local xszScale = sz
  1080. if not (self.drawX == 0) then
  1081. xszOffset = -5
  1082. if sz + self.drawX > 0.998 then
  1083. xszOffset = -10
  1084. end
  1085. elseif sz == 1 then
  1086. xszOffset = -(self.sepr) - 5
  1087. xposOffset = self.sepr/2
  1088. else
  1089. xszOffset = -4 + -(self.sepr/2)
  1090. xposOffset = self.sepr/2
  1091. end
  1092. if not ysz then ysz = 20 end
  1093. local obj = topkek.tools.util.Object("TextBox", {
  1094. Parent = self.main;
  1095. BackgroundColor3 = cbgd or color3(153, 52, 52);
  1096. BorderSizePixel = 0;
  1097. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1098. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1099. Font = 'SourceSans';
  1100. FontSize = 'Size14';
  1101. Text = txt;
  1102. TextSize = 14;
  1103. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1104. })
  1105. if ysz > self.drawHeight then
  1106. self.drawHeight = ysz
  1107. end
  1108. self.drawX = self.drawX + sz
  1109. if self.drawX > 0.998 then
  1110. self.drawY = self.drawY + 3 + self.drawHeight
  1111. self.drawX = 0
  1112. self.drawHeight = 0
  1113. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1114. end
  1115. return obj
  1116. end
  1117.  
  1118. function self:drawImage(sz, img, ysz)
  1119. local xposOffset = 0
  1120. local xposScale = self.drawX
  1121. local xszOffset = 0
  1122. local xszScale = sz
  1123. if not (self.drawX == 0) then
  1124. xszOffset = -5
  1125. if sz + self.drawX > 0.998 then
  1126. xszOffset = -12
  1127. end
  1128. elseif sz == 1 then
  1129. xszOffset = -(self.sepr) - 5
  1130. xposOffset = self.sepr/2
  1131. else
  1132. xszOffset = -5 + -(self.sepr/2)
  1133. xposOffset = self.sepr/2
  1134. end
  1135. if not ysz then ysz = 20 end
  1136. local obj = topkek.tools.util.Object("ImageLabel", {
  1137. Parent = self.main;
  1138. BackgroundTransparency = 1;
  1139. BorderColor3 = Color3.new(27, 42, 53);
  1140. BorderSizePixel = 0;
  1141. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1142. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1143. Image = img;
  1144. })
  1145. if ysz > self.drawHeight then
  1146. self.drawHeight = ysz
  1147. end
  1148. self.drawX = self.drawX + sz
  1149. if self.drawX > 0.998 then
  1150. self.drawY = self.drawY + 3 + self.drawHeight
  1151. self.drawX = 0
  1152. self.drawHeight = 0
  1153. if (not ncan) then
  1154. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1155. end
  1156. end
  1157. return obj
  1158. end
  1159.  
  1160. function self:drawText(sz, txt, ysz)
  1161. local xposOffset = 0
  1162. local xposScale = self.drawX
  1163. local xszOffset = 0
  1164. local xszScale = sz
  1165. if not (self.drawX == 0) then
  1166. xszOffset = -5
  1167. if sz + self.drawX > 0.998 then
  1168. xszOffset = -10
  1169. end
  1170. elseif sz == 1 then
  1171. local bzz = 5
  1172. if ncan then
  1173. bzz = 0
  1174. end
  1175. xszOffset = -(self.sepr) - bzz
  1176. xposOffset = self.sepr/2
  1177. else
  1178. xszOffset = -4 + -(self.sepr/2)
  1179. xposOffset = self.sepr/2
  1180. end
  1181. if not ysz then ysz = 20 end
  1182. local obj = topkek.tools.util.Object("TextLabel", {
  1183. Parent = self.main;
  1184. BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
  1185. BorderSizePixel = 0;
  1186. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1187. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1188. Font = 'SourceSans';
  1189. FontSize = 'Size14';
  1190. Text = txt;
  1191. TextSize = 14;
  1192. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1193.  
  1194. })
  1195. if ysz > self.drawHeight then
  1196. self.drawHeight = ysz
  1197. end
  1198. self.drawX = self.drawX + sz
  1199. if self.drawX > 0.998 then
  1200. self.drawY = self.drawY + 3 + self.drawHeight
  1201. self.drawX = 0
  1202. self.drawHeight = 0
  1203. if (not ncan) then
  1204. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1205. end
  1206. end
  1207. return obj
  1208. end
  1209.  
  1210.  
  1211. function self:drawScrollingContainer(ysz)
  1212. local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  1213. local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  1214. local obj = topkek.tools.util.Object("ScrollingFrame", {
  1215. Parent = self.main;
  1216. BackgroundColor3 = color3(117, 42, 42);
  1217. BorderSizePixel = 0;
  1218. Position = pos;
  1219. Size = sz;
  1220. BottomImage = 'rbxassetid://368504177';
  1221. MidImage = 'rbxassetid://368504177';
  1222. TopImage = 'rbxassetid://368504177';
  1223. ScrollBarThickness = 5;
  1224. })
  1225.  
  1226. self.drawY = self.drawY + 5 + ysz
  1227. self.drawX = 0
  1228. self.drawHeight = 0
  1229. if (not ncan) then
  1230. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1231. end
  1232. return topkek.tools.gui:hookContainer(obj, false, 10, 3)
  1233. end
  1234.  
  1235. function self:drawContainer(xsz, ysz, xz, tz, sep)
  1236. local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  1237. local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
  1238. local obj = topkek.tools.util.Object("Frame", {
  1239. Parent = self.main;
  1240. BackgroundColor3 = color3(117, 42, 42);
  1241. BorderSizePixel = 0;
  1242. Position = pos;
  1243. Size = sz;
  1244. })
  1245. if not xz then
  1246. self.drawY = self.drawY + 5 + ysz
  1247. end
  1248. self.drawX = 0
  1249. self.drawHeight = 0
  1250. if (not ncan) then
  1251. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1252. end
  1253. return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
  1254. end
  1255.  
  1256. function self:addSpacing()
  1257. self.drawY = self.drawY + 3
  1258. end
  1259.  
  1260. function self:center()
  1261. local a,c,b=
  1262. self.main.Position.X.Scale,
  1263. self.main.Position.X.Offset,self.main.Size.Y.Offset
  1264. self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  1265. end
  1266.  
  1267. return self
  1268. end
  1269.  
  1270. --//anim//--
  1271. topkek.tools.animator.animateTo = function(source, dest)
  1272. -- holder2holder:
  1273. -- invis holder
  1274. -- clone holder; vis
  1275. -- move holder to right
  1276. -- vis dest container
  1277. -- tween clone holder left
  1278. -- tween dest holder right
  1279. print("nav",source,dest)
  1280. topkek.holder.Visible = false
  1281. local hclone = topkek.holder:Clone()
  1282. hclone.Parent = topkek.center
  1283. hclone.Name = 'animclone'
  1284. hclone.Visible = true
  1285. topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
  1286. source.Visible = false
  1287. dest.Visible = true
  1288. dest.Container.Visible = true
  1289. dest.Container.ZIndex = 1
  1290. dest.ZIndex = 1
  1291. topkek.holder.Visible = true
  1292. topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
  1293. hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
  1294. wait(0.3)
  1295. end
  1296. topkek.tools.animator.initialAnimation = function()
  1297. -- initanim:
  1298. -- join both composites
  1299. -- delete composites; vis solid
  1300. -- tween solid to nav topbar
  1301. -- copy topbar plrname; move outside region
  1302. -- tween in clone topbar
  1303. -- delete clone and solid; vis topbar
  1304. -- tween down topbar
  1305. -- tween holder out
  1306. local function abspos(x)
  1307. return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
  1308. end
  1309. local function abssz(x)
  1310. return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
  1311. end
  1312. local holder = topkek.holder
  1313. local nav = topkek.navigator
  1314. local topnav = nav.Topbar
  1315. local topbar = topkek.topbar
  1316. local pname = topbar.PlayerName:Clone()
  1317. local solid = topkek.gui.Solid
  1318. topkek.center.Size = UDim2.new(0, 150, 0, 30)
  1319. topkek.gui.Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
  1320. topkek.gui.Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
  1321. wait(0.52)
  1322. solid.Visible = true
  1323. topkek.gui.Composite1:Destroy()
  1324. topkek.gui.Composite2:Destroy()
  1325. wait(3)
  1326. solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
  1327. solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
  1328. wait(0.52)
  1329. solid.Label:Destroy()
  1330. wait(0.12)
  1331. topkek.center.Visible = true
  1332. topnav.Visible = true
  1333. solid:Destroy()
  1334. pname.Position = UDim2.new(0, -170, 0, 0)
  1335. pname.Parent = topnav
  1336. pname.Visible = true
  1337. pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
  1338. wait(0.25)
  1339. topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
  1340. spawn(topkek.navigation.buildNavigator)
  1341. wait(0.35)
  1342. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
  1343. wait(0.35)
  1344. topbar.PlayerName.Visible = true
  1345. pname:Destroy()
  1346. AllowHovers = true
  1347. end
  1348. --//nav//--
  1349. topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
  1350. topkek.navigation.windowState = 0
  1351. topkek.navigation.gotoContainer = function(cont)
  1352. topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
  1353. topkek.navigation.currentContainer = cont
  1354. end
  1355. topkek.navigation.buildNavigator = function()
  1356. local nav = topkek.navigator
  1357. local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
  1358. local btns = {}
  1359. for l, x in pairs(topkek.data.windows) do
  1360. local container = topkek.tools.util.getContainer(x)
  1361. local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
  1362. local ZPos = btn.Position
  1363. btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
  1364. btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
  1365. btn.LayoutOrder = l
  1366. btn.ZIndex = 4
  1367. local OPos = btn.Position
  1368. btn.MouseEnter:connect(function()
  1369. if AllowHovers == false then
  1370. return
  1371. end
  1372. for i, v in pairs(btns) do
  1373. if v[1] ~= btn then
  1374. v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
  1375. end
  1376. end
  1377. btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
  1378. end)
  1379. btn.MouseLeave:connect(function()
  1380. btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
  1381. end)
  1382. table.insert(btns, {btn, OPos})
  1383. wait()
  1384. end
  1385. end
  1386. topkek.navigation.buildTopbar = function()
  1387. local top = topkek.topbar
  1388. local FELabel = top.Controllers.IsFE
  1389. top.PlayerName.Text = topkek.lplr.Name
  1390. if game:GetService('Workspace').FilteringEnabled == true then
  1391. FELabel.Text = "FE Game"
  1392. FELabel.TextColor3 = BrickColor.new("Bright red").Color
  1393. else
  1394. FELabel.Text = "Not FE"
  1395. FELabel.TextColor3 = BrickColor.new("Bright green").Color
  1396. end
  1397. top.Controllers.Hide.MouseButton1Down:connect(function()
  1398. if topkek.navigation.windowState == 0 then
  1399. topkek.navigation.windowState = 1
  1400. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
  1401. else
  1402. topkek.navigation.windowState = 0
  1403. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
  1404. end
  1405. end)
  1406. top.Controllers.Exit.MouseButton1Down:connect(function()
  1407. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
  1408. wait(0.31)
  1409. topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
  1410. PlayerChatHook:disconnect()
  1411. end)
  1412.  
  1413. end
  1414. topkek.navigation.initCommandBar = function()
  1415. DistributedCmdBar, cmd = topkek.holder.Command, {}
  1416. loadstring(game:GetObjects("rbxassetid://685510751")[1].Source)()
  1417. DistributedCmdBar.FocusLost:connect(function(e)
  1418. if e == true then
  1419. cmd.commands.run(DistributedCmdBar.Text)
  1420. DistributedCmdBar.Text = ''
  1421. end
  1422. end)
  1423.  
  1424. PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
  1425. if cmd.util.isadmin(plr.Name) then
  1426. if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  1427. cmd.commands.run(msg:sub(2, #msg))
  1428. end
  1429. end
  1430. end)
  1431. end
  1432. topkek.navigation.buildHomePage = function()
  1433. local count = 0
  1434. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  1435. local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
  1436. hook:drawText(1, 'T0PK3K 4.0 ProtoSmasher Edition edited by bork')
  1437. hook:drawText(1, 'Patch version 1.0.5')
  1438. hook:drawText(1, 'Commandbase patch version 1.0.0')
  1439. hook:drawText(1, 'Number of commands: ' .. tostring(count))
  1440. local stime = hook:drawText(1, 'Server Time: 0')
  1441. spawn(function()
  1442. while true do
  1443. stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
  1444. wait(0.5)
  1445. end
  1446. end)
  1447. local ssz = hook:drawText(1, 'Server Size: 0')
  1448. spawn(function()
  1449. while true do
  1450. ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
  1451. wait(0.5)
  1452. end
  1453. end)
  1454. local fe = game:GetService('Workspace').FilteringEnabled
  1455. hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
  1456. hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
  1457. hook:drawText(1, 'same', 55)
  1458. end
  1459. topkek.navigation.buildContainers = function()
  1460. for _, v in pairs(topkek.data.windows) do
  1461. topkek.tools.gui:makeContainer(v)
  1462. end
  1463. end
  1464.  
  1465. topkek.navigation.initCommandBar()
  1466. topkek.navigation.buildContainers()
  1467. topkek.navigation.buildTopbar()
  1468. topkek.navigation.buildHomePage()
  1469. wait()
  1470.  
  1471.  
  1472. --// actual code below lole //--
  1473.  
  1474. --// PLAYERS //--
  1475. local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
  1476. local search = plrwin:drawButton(1, '', function()end)
  1477. drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
  1478. function fixPlayerDrop()
  1479. local t = {'All'}
  1480. for i, v in pairs(game.Players:GetPlayers()) do
  1481. table.insert(t, v.Name)
  1482. end
  1483. drop.SetTable(t)
  1484. end
  1485. game.Players.PlayerAdded:connect(function()
  1486. fixPlayerDrop()
  1487. end)
  1488. game.Players.PlayerRemoving:connect(function()
  1489. fixPlayerDrop()
  1490. end)
  1491. plrFrame = plrwin:drawContainer(1, 100)
  1492. headshotContainer = plrFrame:drawContainer(0.4, 94, true)
  1493. headshotContainer:setDrawY(20)
  1494. headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
  1495. headshotContainer:setDrawY(0)
  1496. userNameText = headshotContainer:drawText(1, "[All]")
  1497. userNameText.ClipsDescendants = true
  1498. userNameText.Font = Enum.Font.SourceSansBold
  1499. infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
  1500. infoContainer.BackgroundColor3 = color3(108, 38, 38)
  1501. userIdText = infoContainer:drawText(1, "ID: 0")
  1502. userAgeText = infoContainer:drawText(1, "Age: 0")
  1503. userTeamText = infoContainer:drawText(1, "Team: Neutral")
  1504. cval = 'All'
  1505. fixPlayerDrop()
  1506.  
  1507. function updatePlayer(plri)
  1508. local plr = game:GetService('Players'):FindFirstChild(plri)
  1509. if not plr and plri ~= 'All' then
  1510. print("Couldn't find player!")
  1511. updatePlayer(topkek.lplr)
  1512. else
  1513. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
  1514. userNameText.Text = "[All]"
  1515. userIdText.Text = 'ID: [multiple]'
  1516. userAgeText.Text = 'Age: [multiple]'
  1517. userTeamText.Text = 'Team: [multiple]'
  1518. cval = 'All'
  1519. end
  1520. local team = plr.TeamColor
  1521. if team == nil then
  1522. team = 'Neutral'
  1523. else
  1524. team = tostring(team)
  1525. end
  1526. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
  1527. userNameText.Text = plr.Name
  1528. userIdText.Text = 'ID: ' .. tostring(plr.UserId)
  1529. userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
  1530. userTeamText.Text = 'Team: ' .. team
  1531. cval = plr.Name
  1532.  
  1533. end
  1534. drop.Changed(updatePlayer)
  1535. --actual code ------__-
  1536. plrwin:addSpacing()
  1537. plrwin:drawButton(1/2, 'Kick', function()
  1538. tk.dp(cval, function(p)
  1539. topkek.banmgr.executeKick(p)
  1540. end)
  1541. end)
  1542.  
  1543. plrwin:drawButton(1/2, 'Ban', function()
  1544. tk.dp(cval, function(p)
  1545. topkek.banmgr.addSoftBan(p)
  1546. end)
  1547. end)
  1548. plrwin:drawButton(1/2,'Friendlag', function()
  1549. tk.dp(cval, function(p)
  1550. for i = 1, 10 do
  1551. spawn(function()
  1552. while wait() do
  1553. game.Players.LocalPlayer:RequestFriendship(p)
  1554. game.Players.LocalPlayer:RevokeFriendship(p)
  1555. end
  1556. end)
  1557. end
  1558. end)
  1559. end)
  1560. plrwin:drawButton(1/2, 'Hardban', function()
  1561. tk.dp(cval, function(p)
  1562. topkek.banmgr.addHardBan(p)
  1563. end)
  1564. end)
  1565. plrwin:addSpacing()
  1566. plrwin:drawButton(1/2, 'Bring', function()
  1567. tk.dp(cval, function(z)
  1568. if z.Character then
  1569. z.Character.HumanoidRootPart.CFrame =
  1570. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  1571. end
  1572. end)
  1573. end)
  1574. plrwin:drawButton(1/2, 'Goto', function()
  1575. tk.dp(cval, function(z)
  1576. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
  1577. z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  1578. end)
  1579. end)
  1580. plrwin:addSpacing()
  1581. plrwin:drawButton(1/3, 'Kill', function()
  1582. tk.dp(cval, function(p)
  1583. if p.Character and p.Character:FindFirstChild("Humanoid") then
  1584. p.Character.Humanoid.Health = 0
  1585. end
  1586. end)
  1587. end)
  1588. plrwin:drawButton(1/3, 'Seizure', function()
  1589. tk.dp(cval, function(p)
  1590. if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
  1591. spawn(function()
  1592. p.Character.Humanoid.PlatformStand = true
  1593. tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0)
  1594. repeat
  1595. wait()
  1596. p.Character.Humanoid.PlatformStand = true
  1597. tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  1598. tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1599. until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
  1600. end)
  1601. end
  1602. end)
  1603. end)
  1604. plrwin:drawButton(1/3, 'Stun', function()
  1605. tk.dp(cval, function(p)
  1606. if p.Character and p.Character:FindFirstChild("Humanoid") then
  1607. p.Character.Humanoid.PlatformStand = true
  1608. p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  1609. end
  1610. end)
  1611. end)
  1612. plrwin:drawButton(1/3, 'Freeze', function()
  1613. tk.dp(cval, function(p)
  1614. if p.Character then
  1615. tk.gt(p).Anchored = true
  1616. end
  1617. end)
  1618. end)
  1619. plrwin:drawButton(1/3, 'Thaw', function()
  1620. tk.dp(cval, function(p)
  1621. if p.Character then
  1622. tk.gt(p).Anchored = false
  1623. end
  1624. end)
  1625. end)
  1626. plrwin:drawButton(1/3, 'Superslow', function()
  1627. tk.dp(cval, function(p)
  1628. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1629. p.Character.Humanoid.WalkSpeed = 1
  1630. end
  1631. end)
  1632. end)
  1633. plrwin:drawButton(1/3, 'Highjump', function()
  1634. tk.dp(cval, function(p)
  1635. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1636. p.Character.Humanoid.JumpPower = 125
  1637. end
  1638. end)
  1639. end)
  1640. plrwin:drawButton(1/3, 'God', function()
  1641. tk.dp(cval, function(p)
  1642. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1643. p.Character.Humanoid.MaxHealth = math.huge
  1644. p.Character.Humanoid.Health = math.huge
  1645. end
  1646. end)
  1647. end)
  1648. plrwin:drawButton(1/3, 'Semigod', function()
  1649. tk.dp(cval, function(p)
  1650. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1651. p.Character.Humanoid.MaxHealth = 9e9
  1652. p.Character.Humanoid.Health = 9e9
  1653. end
  1654. end)
  1655. end)
  1656. plrwin:drawButton(1/3, 'Fast', function()
  1657. tk.dp(cval, function(p)
  1658. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1659. p.Character.Humanoid.WalkSpeed = 50
  1660. end
  1661. end)
  1662. end)
  1663. Follow = false;
  1664. plrwin:drawButton(1/3, 'Annoy', function()
  1665. tk.dp(cval, function(p)
  1666. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1667. if Follow == true then
  1668. Follow = false; return
  1669. else Follow = true end
  1670. while Follow == true do
  1671. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
  1672. p.Character.HumanoidRootPart.CFrame
  1673. wait()
  1674. end
  1675. end
  1676. end)
  1677. end)
  1678. plrwin:drawButton(1/3, 'Freefall', function()
  1679. tk.dp(cval, function(p)
  1680. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1681. p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)
  1682. end
  1683. end)
  1684. end)
  1685. plrwin:drawButton(1/3, 'Destroy', function()
  1686. tk.dp(cval, function(p)
  1687. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1688. p.Character.Humanoid:Destroy()
  1689. end
  1690. end)
  1691. end)
  1692. plrwin:drawButton(1/3, 'Fix', function()
  1693. tk.dp(cval, function(p)
  1694. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1695. p.Character.Humanoid.Health = 100
  1696. p.Character.Humanoid.MaxHealth = 100
  1697. p.Character.Humanoid.JumpPower = 100
  1698. p.Character.Humanoid.WalkSpeed = 16
  1699. p.Character.Humanoid.PlatformStand = false
  1700. p.Character.Humanoid.Jump = true
  1701. end
  1702. end)
  1703. end)
  1704. plrwin:drawButton(1/3, 'Respawn', function()
  1705. tk.dp(cval, function(p)
  1706. if p.Character then
  1707. local a1 = Instance.new("Model", game:service'Workspace')
  1708. local a2 = Instance.new("Part", game:service'Workspace')
  1709. a2.CanCollide = true
  1710. a2.Anchored = true
  1711. a2.CFrame = CFrame.new(10000, 10000, 10000)
  1712. a2.Name = "Torso"
  1713. local a3 = Instance.new("Humanoid", a1)
  1714. a3.MaxHealth=100;a3.Health=100
  1715. p.Character = a1
  1716. a3.Health=0
  1717. end
  1718. end)
  1719. end)
  1720. plrwin:addSpacing()
  1721. local nameInp
  1722. plrwin:drawButton(1/3, 'Name', function()
  1723. tk.dp(cval, function(z)
  1724. local Character = z.Character
  1725. local newName = Instance.new("Model", z.Character)
  1726. newName.Name = nameInp.Text
  1727. local cl = Character:WaitForChild("Head"):Clone()
  1728. cl.Parent = newName
  1729. cl:WaitForChild("face"):Destroy()
  1730. local hum = Instance.new("Humanoid", newName)
  1731. hum.Name = "NameTag"
  1732. hum.MaxHealth = 0
  1733. hum.Health = 0
  1734. local weld = Instance.new("Weld", cl)
  1735. weld.Part0 = cl
  1736. weld.Part1 = Character:WaitForChild("Head")
  1737. Character:WaitForChild("Head").Transparency = 1
  1738. wait(.5)
  1739. cl.BrickColor = Character:WaitForChild("Head").BrickColor
  1740. end)
  1741. end)
  1742. nameInp = plrwin:drawTextBox(2/3, '')
  1743. local chatInp
  1744. plrwin:drawButton(1/3, 'Chat', function()
  1745. tk.dp(cval, function(z)
  1746. game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
  1747. end)
  1748. end)
  1749. chatInp = plrwin:drawTextBox(2/3, '')
  1750. local disgInp
  1751. plrwin:drawButton(1/3, 'Disguise', function()
  1752. tk.dp(cval, function(p)
  1753. local id = 0
  1754. if tonumber(disgInp.Text) then
  1755. id = tonumber(disgInp.Text)
  1756. else
  1757. id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
  1758. end
  1759. if p.Character:FindFirstChild("Humanoid") then
  1760. p.Character.Humanoid.Health = 0
  1761. end
  1762. p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  1763. end)
  1764. end)
  1765. disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
  1766. plrwin:addSpacing()
  1767. clrR = plrwin:drawTextBox(1/3, '0')
  1768. clrG = plrwin:drawTextBox(1/3, '0')
  1769. clrB = plrwin:drawTextBox(1/3, '0')
  1770. function getColor()
  1771. local r = tonumber(clrR.Text)
  1772. local g = tonumber(clrG.Text)
  1773. local b = tonumber(clrB.Text)
  1774. if not (r and g and b) then return Color3.new(0,0,0) end
  1775. return Color3.new(r/255, g/255, b/255)
  1776. end
  1777. plrwin:drawButton(1/3, 'Sparkles', function()
  1778. tk.dp(cval, function(z)
  1779. Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
  1780. end)
  1781. end)
  1782. plrwin:drawButton(1/3, 'Smoke', function()
  1783. tk.dp(cval, function(z)
  1784. Instance.new("Smoke", tk.gt(z)).Color = getColor()
  1785.  
  1786. end)
  1787. end)
  1788. plrwin:drawButton(1/3, 'Fire', function()
  1789. tk.dp(cval, function(z)
  1790. local fr = Instance.new("Fire", tk.gt(z))
  1791. fr.Color = getColor()
  1792. fr.Heat = 30
  1793. fr.Size = 20
  1794. end)
  1795. end)
  1796. plrwin:drawButton(1/3, 'Forcefield', function()
  1797. tk.dp(cval, function(z)
  1798. if z.Character then
  1799. Instance.new("ForceField", z.Character)
  1800. end
  1801. end)
  1802. end)
  1803. plrwin:drawButton(1/3, 'Select', function()
  1804. tk.dp(cval, function(z)
  1805. if z.Character and tk.gt(z) then
  1806. Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
  1807. end
  1808. end)
  1809. end)
  1810. plrwin:drawButton(1/3, 'Sphere', function()
  1811. tk.dp(cval, function(z)
  1812. if z.Character and tk.gt(z) then
  1813. Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
  1814. end
  1815. end)
  1816. end)
  1817. plrwin:drawButton(1/3, 'Fling', function()
  1818. tk.dp(cval, function(z)
  1819. spawn(function() --kohls admin commands lol
  1820. if z.Character and tk.gt(z) then
  1821. local xran, zran
  1822. repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
  1823. repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
  1824. z.Character.Humanoid.Sit = true
  1825. tk.gt(z).Velocity = Vector3.new(0,0,0)
  1826. local frc = Instance.new("BodyForce", tk.gt(z))
  1827. frc.Name = "BFRC"
  1828. frc.force = Vector3.new(xran*4,9999*5,zran*4)
  1829. game:GetService("Debris"):AddItem(frc, 0.1)
  1830. end
  1831. end)
  1832. end)
  1833. end)
  1834. plrwin:drawButton(1/3, 'Explode', function()
  1835. tk.dp(cval, function(z)
  1836. if z.Character and tk.gt(z) then
  1837. local explosion = Instance.new("Explosion")
  1838. explosion.Position = tk.gt(z).Position
  1839. explosion.Parent = workspace
  1840. end
  1841. end)
  1842. end)
  1843. plrwin:drawButton(1/3, 'Nuke', function()
  1844. tk.dp(cval, function(z)
  1845. if z.Character and tk.gt(z) then
  1846. local torso = tk.gt(z)
  1847. local nuke = Instance.new("Part", game.Workspace)
  1848. local opos = torso.CFrame
  1849. nuke.BrickColor = BrickColor.new("Bright yellow")
  1850. nuke.TopSurface = Enum.SurfaceType.Smooth
  1851. nuke.BottomSurface = Enum.SurfaceType.Smooth
  1852. nuke.Anchored = true
  1853. nuke.CanCollide = false
  1854. nuke.Shape = "Ball"
  1855. nuke.Transparency = 0.5
  1856. nuke.CFrame = torso.CFrame
  1857. nuke.Size = Vector3.new(1, 1, 1)
  1858. nuke.Touched:connect(function(p)
  1859. local expl = Instance.new("Explosion", p)
  1860. expl.BlastPressure = 50000
  1861. expl.BlastRadius = 50
  1862. expl.Position = p.Position
  1863. p.Material = Enum.Material.CorrodedMetal
  1864. p:BreakJoints()
  1865. end)
  1866. for i = 1, 150 do
  1867. nuke.Size = Vector3.new(i, i, i)
  1868. nuke.CFrame = opos
  1869. wait(0.08)
  1870. end
  1871. nuke:Destroy()
  1872. end
  1873. end)
  1874. end)
  1875. plrwin:drawButton(1/3, 'No Tools', function()
  1876. tk.dp(cval, function(p)
  1877. for _, t in pairs(p.Backpack:GetChildren()) do
  1878. t:Destroy()
  1879. end
  1880. end)
  1881. end)
  1882. plrwin:drawButton(1/3, 'Take Tools', function()
  1883. tk.dp(cval, function(p)
  1884. for _, t in pairs(p.Backpack:GetChildren()) do
  1885. t.Parent = game:service'Players'.LocalPlayer.Backpack
  1886. end
  1887. end)
  1888. end)
  1889. plrwin:drawButton(1/3, 'BTools', function()
  1890. tk.dp(cval, function(p)
  1891. local a = Instance.new("HopperBin")
  1892. a.BinType = "GameTool"
  1893. a.Parent = p.Backpack
  1894. local a = Instance.new("HopperBin")
  1895. a.BinType = "Clone"
  1896. a.Parent = p.Backpack
  1897. local a = Instance.new("HopperBin")
  1898. a.BinType = "Hammer"
  1899. a.Parent = p.Backpack
  1900. end)
  1901. end)
  1902. plrwin:drawButton(1/3, 'Hotdog', function()
  1903. tk.dp(cval, function(p)
  1904. if p.Character and tk.gt(p) then
  1905. topkek.tools.util.weenieHutJunior(p)
  1906. end
  1907. end)
  1908. end)
  1909. plrwin:drawButton(1/3, 'Quicksand', function()
  1910. tk.dp(cval, function(z)
  1911. if z.Character and z.Character:FindFirstChild("Humanoid") then
  1912. local tor = tk.gt(z)
  1913. local hole = Instance.new("Part", z.Character)
  1914. hole.Anchored = true
  1915. hole.Name = "Hole"
  1916. hole.FormFactor = Enum.FormFactor.Custom
  1917. hole.Size = Vector3.new(7, 1, 7)
  1918. hole.CanCollide = false
  1919. hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
  1920. hole.BrickColor = BrickColor.new("Cool yellow")
  1921. hole.Material = Enum.Material.Sand
  1922. local hm = Instance.new("CylinderMesh", hole)
  1923. tor.Anchored = true
  1924. if z.Character:FindFirstChild("Humanoid") then
  1925. z.Character.Humanoid.Jump = true
  1926. end
  1927. for x,m in pairs(z.Character:GetChildren()) do
  1928. if m:IsA("BasePart") or m:IsA("MeshPart") then
  1929. m.CanCollide = false
  1930. end
  1931. end
  1932. for i=1,75 do
  1933. tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  1934. wait(0.06)
  1935. end
  1936. tor.CFrame=tor.CFrame*CFrame.new(0,
  1937. -500,0
  1938. )
  1939. z.Character.Humanoid.Health = 0
  1940. end
  1941. end)
  1942. end)
  1943. plrwin:drawButton(1/3, 'Insane', function()
  1944. tk.dp(cval, function(p)
  1945. if p.Character and tk.gt(p) then
  1946. for i,v in pairs(tk.gt(p):GetChildren()) do
  1947. if v:IsA("Motor6D") then
  1948. spawn(function()
  1949. while v do
  1950. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  1951. wait()
  1952. end
  1953. end)
  1954. end
  1955. end
  1956. end
  1957. end)
  1958. end)
  1959. plrwin:drawButton(1/3, 'Invisible', function()
  1960. tk.dp(cval, function(p)
  1961. tk.rco(p.Character, 'BasePart', 'Transparency', 1)
  1962. tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
  1963. end)
  1964. end)
  1965. plrwin:drawButton(1/3, 'Visible', function()
  1966. tk.dp(cval, function(p)
  1967. tk.rco(p.Character, 'BasePart', 'Transparency', 0)
  1968. tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
  1969. end)
  1970. end)
  1971. plrwin:drawButton(1/3, 'Bighead', function()
  1972. tk.dp(cval, function(z)
  1973. if z.Character then
  1974. if z.Character:FindFirstChild('Head') then
  1975. z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
  1976. end
  1977. end
  1978. end)
  1979. end)
  1980. plrwin:drawButton(1/3, 'Goldify', function()
  1981. tk.dp(cval, function(z)
  1982. if z.Character then
  1983. tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
  1984. tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
  1985. tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
  1986. tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
  1987. end
  1988. end)
  1989. end)
  1990. plrwin:drawButton(1/3, 'Neon', function()
  1991. tk.dp(cval, function(z)
  1992. if z.Character then
  1993. tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
  1994. tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
  1995. end
  1996. end)
  1997. end)
  1998. plrwin:drawButton(1/3, 'Shiny', function()
  1999. tk.dp(cval, function(z)
  2000. if z.Character then
  2001. tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
  2002. tk.rcm(z.Character, 'MeshPart')
  2003. end
  2004. end)
  2005. end)
  2006. plrwin:drawButton(1/3, 'Shrek', function()
  2007. tk.dp(cval, function(z)
  2008. if z.Character then
  2009. local pchar = z.Character
  2010. for i,v in pairs(pchar:GetChildren()) do
  2011. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  2012. v:Destroy()
  2013. end
  2014. end
  2015. for i,v in pairs(pchar.Head:GetChildren()) do
  2016. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  2017. v:Destroy()
  2018. end
  2019. end
  2020.  
  2021. local mesh = Instance.new("SpecialMesh", pchar.Head)
  2022. mesh.MeshType = "FileMesh"
  2023. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  2024. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  2025. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  2026.  
  2027. local Shirt = Instance.new("Shirt", z.Character)
  2028. local Pants = Instance.new("Pants", z.Character)
  2029.  
  2030. Shirt.ShirtTemplate = "rbxassetid://133078194"
  2031. Pants.PantsTemplate = "rbxassetid://133078204"
  2032. end
  2033. end)
  2034. end)
  2035. plrwin:drawButton(1/3, 'Duck', function()
  2036. tk.dp(cval, function(z)
  2037. if z.Character then
  2038. local pchar = z.Character
  2039. for i,v in pairs(pchar:GetChildren()) do
  2040. if v:IsA("Hat") or v:IsA("Accessory") then
  2041. v:Destroy()
  2042. end
  2043. end
  2044. local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
  2045. duck.MeshType = "FileMesh"
  2046. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  2047. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  2048. duck.Scale = Vector3.new(5, 5, 5)
  2049. tk.rco(z.Character, 'Instance', 'Transparency', 1)
  2050. z.Character.HumanoidRootPart.Transparency = 0
  2051. end
  2052. end)
  2053. end)
  2054. plrwin:drawButton(1/3, 'Spheres', function()
  2055. tk.dp(cval, function(z)
  2056. if z.Character then
  2057. tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
  2058. end
  2059. end)
  2060. end)
  2061. plrwin:drawButton(1/3, 'Big', function()
  2062. tk.dp(cval, function(z)
  2063. if z.Character then
  2064. topkek.tools.util.scalePlayer(5, z)
  2065. end
  2066. end)
  2067. end)
  2068. plrwin:drawButton(1/3, 'Small', function()
  2069. tk.dp(cval, function(z)
  2070. if z.Character then
  2071. topkek.tools.util.scalePlayer(5, z)
  2072. end
  2073. end)
  2074. end)
  2075. plrwin:drawButton(1/3, 'Giraffe', function()
  2076. tk.dp(cval, function(z)
  2077. if z.Character then
  2078. local char=z.Character
  2079. local h=char.Head
  2080. local tor=char:FindFirstChild("Torso")
  2081. if not tor then return end
  2082. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  2083. local fn=Instance.new("Part",char)
  2084. fn.Size=Vector3.new(1,5.5,1)
  2085. fn.Name="FakeNeck"
  2086. fn.Anchored=false
  2087. fn.CanCollide=false
  2088. if char:FindFirstChild("Body Colors") then
  2089. fn.BrickColor=char["Body Colors"].HeadColor
  2090. end
  2091. local cm=Instance.new("CylinderMesh",fn)
  2092. local we=Instance.new("Weld",h)
  2093. we.Part0=h
  2094. we.Part1=fn
  2095. we.C1=we.C1*CFrame.new(0,2.6,0)
  2096. end
  2097. end)
  2098. end)
  2099. plrwin:drawButton(1/3, 'Dab', function()
  2100. tk.dp(cval, function(z)
  2101. if z.Character and z.Character:FindFirstChild("Torso") then
  2102. local chr = z.Character
  2103. chr.Animate.Disabled = true
  2104. chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346)
  2105. chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008)
  2106. chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124)
  2107. end
  2108. end)
  2109. end)
  2110. plrwin:drawButton(1/3, 'Force Follow', function()
  2111. tk.dp(cval, function(z)
  2112. game:GetService("RunService"):BindToRenderStep("_", 0, function()
  2113. z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
  2114. end)
  2115. end)
  2116. end)
  2117. plrwin:drawButton(1/3, 'Camlock', function()
  2118. tk.dp(cval, function(z)
  2119. z.CameraMode = "LockFirstPerson"
  2120. end)
  2121. end)
  2122. --// SERVER //--
  2123. local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
  2124. local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
  2125. detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
  2126. detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
  2127. detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
  2128. detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
  2129. servwin:drawButton(1/2, 'Shutdown', function()
  2130. workspace.Gravity = 0/0
  2131. end)
  2132. servwin:drawButton(1/2, 'Clear', function()
  2133. for i,v in pairs(game:service'Workspace':GetChildren()) do
  2134. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  2135. v:Destroy()
  2136. end
  2137. end
  2138. end)
  2139. servwin:drawButton(1/2, 'Baseplate', function()
  2140. for X = -2500, 2500, 512 do
  2141. for Z = -2500, 2500, 512 do
  2142. local P = Instance.new("Part")
  2143. P.Anchored = true
  2144. P.Locked = true
  2145. P.Size = Vector3.new(512,3,512)
  2146. P.CFrame = CFrame.new(X,0,Z)
  2147. P.BrickColor = BrickColor.Green()
  2148. P.Parent = game:service'Workspace'
  2149. end
  2150. end
  2151. end)
  2152. servwin:drawButton(1/2, 'Reset', function()
  2153. for i,v in pairs(game:service'Workspace':GetChildren()) do
  2154. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  2155. v:Destroy()
  2156. end
  2157. end
  2158. for X = -2500, 2500, 512 do
  2159. for Z = -2500, 2500, 512 do
  2160. local P = Instance.new("Part")
  2161. P.Anchored = true
  2162. P.Locked = true
  2163. P.Size = Vector3.new(512,3,512)
  2164. P.CFrame = CFrame.new(X,0,Z)
  2165. P.BrickColor = BrickColor.Green()
  2166. P.Parent = game:service'Workspace'
  2167. end
  2168. end
  2169. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  2170. local a1 = Instance.new("Model", game:service'Workspace')
  2171. local a2 = Instance.new("Part", game:service'Workspace')
  2172. a2.CanCollide = true
  2173. a2.Anchored = true
  2174. a2.CFrame = CFrame.new(10000, 10000, 10000)
  2175. a2.Name = "Torso"
  2176. local a3 = Instance.new("Humanoid", a1)
  2177. a3.MaxHealth=100;a3.Health=100
  2178. v.Character = a1
  2179. a3.Health=0
  2180. end
  2181. end)
  2182. servwin:drawButton(1, 'Remove Sounds', function()
  2183. tk.rcm(game, 'Sound')
  2184. end)
  2185. servwin:addSpacing()
  2186. servwin:drawButton(1, 'Break All', function()
  2187. workspace:BreakJoints(workspace:GetChildren())
  2188. end)
  2189. local gravInp
  2190. servwin:drawButton(1/3, 'Gravity', function()
  2191. if not tonumber(gravInp.Text) then return end
  2192. workspace.Gravity = tonumber(gravInp.Text)
  2193. end)
  2194. gravInp = servwin:drawTextBox(2/3, '')
  2195. servwin:addSpacing()
  2196. servwin:drawButton(1, 'Reset Lighting', function()
  2197. local l = game:service'Lighting'
  2198. l.Ambient = Color3.new(0, 0, 0)
  2199. l.Brightness = 1
  2200. l.GlobalShadows = true
  2201. l.Outlines = true
  2202. l.FogEnd = 100000
  2203. l.FogStart = 0
  2204. l:SetMinutesAfterMidnight(12*60)
  2205. end)
  2206. local brightInp
  2207. servwin:drawButton(1/3, 'Brightness', function()
  2208. if not tonumber(brightInp.Text) then return end
  2209. game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
  2210. end)
  2211. brightInp = servwin:drawTextBox(2/3, '100')
  2212. local fogInp
  2213. servwin:drawButton(1/3, 'Fog', function()
  2214. if not tonumber(fogInp.Text) then return end
  2215. game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
  2216. end)
  2217. fogInp = servwin:drawTextBox(2/3, '0')
  2218. local timeInp
  2219. servwin:drawButton(1/3, 'Hour', function()
  2220. if not tonumber(timeInp.Text) then return end
  2221. game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
  2222. end)
  2223. timeInp = servwin:drawTextBox(2/3, '12')
  2224. servwin:addSpacing()
  2225. -- private server crap
  2226. local privateToggle
  2227. local privStatus = false
  2228. privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
  2229. if privStatus == false then
  2230. privStatus = true
  2231. privateToggle.Text = 'Private Server ON'
  2232. topkek.banmgr.makePrivate()
  2233. else
  2234. privateToggle.Text = 'Private Server OFF'
  2235. topkek.banmgr.unprivate()
  2236. end
  2237. end)
  2238. servwin:addSpacing()
  2239. servwin:drawText(1, 'Whitelist')
  2240. local plrAddInp
  2241. servwin:drawButton(1/3, 'Add', function()
  2242. topkek.banmgr.doWhitelist(plrAddInp.Text)
  2243. ReorderWL()
  2244. end)
  2245. plrAddInp = servwin:drawTextBox(2/3, '')
  2246. wlCont = servwin:drawScrollingContainer(100)
  2247. function ReorderWL()
  2248. local wl = topkek.banmgr.whitelist
  2249. for i,v in pairs(wlCont:GetChildren()) do
  2250. v:Destroy()
  2251. end
  2252. wlCont:setDrawY(3)
  2253. for i,v in pairs(wl) do
  2254. wlCont:drawText(2/3, v)
  2255. wlCont:drawButton(1/3, 'Remove', function()
  2256. topkek.banmgr.unwhitelist(v)
  2257. ReorderWL()
  2258. end)
  2259. end
  2260. end
  2261. ReorderWL()
  2262. --// LOCALPLAYER //--
  2263. local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
  2264. lpwin:drawButton(1, 'Reset Camera', function()
  2265. game.Workspace.CurrentCamera:remove()
  2266. wait(.1)
  2267. game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or
  2268. game.Workspace[topkek.lplr.Name].Humanoid
  2269. game.Workspace.CurrentCamera.CameraType = "Custom"
  2270. end)
  2271. lpwin:drawButton(1, 'Respawn', function()
  2272. local a1 = Instance.new("Model", game:service'Workspace')
  2273. local a2 = Instance.new("Part", game:service'Workspace')
  2274. a2.CanCollide = true
  2275. a2.Anchored = true
  2276. a2.CFrame = CFrame.new(10000, 10000, 10000)
  2277. a2.Name = "Torso"
  2278. local a3 = Instance.new("Humanoid", a1)
  2279. a3.MaxHealth=100;a3.Health=100
  2280. topkek.lplr.Character = a1
  2281. a3.Health=0
  2282. end)
  2283. lpwin:drawButton(1, 'Rejoin', function()
  2284. game:GetService('TeleportService'):Teleport(game.PlaceId)
  2285. end)
  2286. lpwin:addSpacing()
  2287. lpwin:drawButton(1/2, 'God', function()
  2288. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  2289. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  2290. topkek.lplr.Character.Humanoid.Health = math.huge
  2291. end
  2292. end)
  2293. lpwin:drawButton(1/2, 'Semigod', function()
  2294. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  2295. topkek.lplr.Character.Humanoid.MaxHealth = 9e9
  2296. topkek.lplr.Character.Humanoid.Health = 9e9
  2297. end
  2298. end)
  2299. Loopgod = false
  2300. lpwin:drawButton(1, 'Loopgod', function()
  2301. if Loopgod == false then
  2302. Loopgod = true
  2303. spawn(function()
  2304. repeat
  2305. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  2306. topkek.lplr.Character.Humanoid.Health = math.huge
  2307. wait()
  2308. until Loopgod == false
  2309. end)
  2310. else
  2311. Loopgod = false
  2312. end
  2313. end)
  2314. lpwin:addSpacing()
  2315. plrwin:addSpacing()
  2316. local Lev, Clip, Fly
  2317. lpwin:drawButton(1/2, 'Levitate', function()
  2318. if Lev == true then
  2319. Lev = false
  2320. return
  2321. end
  2322. Lev = true
  2323. repeat
  2324. topkek.lplr.Character.Humanoid:ChangeState(10)
  2325. wait(0)
  2326. until Lev == false
  2327. end)
  2328. lpwin:drawButton(1/2, 'Noclip', function()
  2329. if Clip == true then
  2330. Clip = false
  2331. return
  2332. end
  2333. Clip = true
  2334. game:GetService("RunService").Stepped:connect(function()
  2335. tk.gt(topkek.lplr).CanCollide = not Clip
  2336. topkek.lplr.Character.Head.CanCollide = not Clip
  2337. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  2338. if topkek.lplr.Character.UpperTorso then
  2339. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  2340. end
  2341. end)
  2342. topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
  2343. tk.gt(topkek.lplr).CanCollide = not Clip
  2344. topkek.lplr.Character.Head.CanCollide = not Clip
  2345. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  2346. if topkek.lplr.Character.UpperTorso then
  2347. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  2348. end
  2349. end)
  2350. end)
  2351. lpwin:drawButton(1/2, 'Fly', function()
  2352. if Fly == true then
  2353. Fly = false
  2354. return
  2355. end
  2356. Fly = true
  2357. local mouse=game.Players.LocalPlayer:GetMouse''
  2358. localplayer=game.Players.LocalPlayer
  2359. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  2360. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  2361. local speed=0
  2362. local keys={a=false,d=false,w=false,s=false}
  2363. local e1
  2364. local e2
  2365. local function start()
  2366. local pos = Instance.new("BodyPosition",torso)
  2367. local gyro = Instance.new("BodyGyro",torso)
  2368. pos.Name="EPIXPOS"
  2369. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2370. pos.position = torso.Position
  2371. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2372. gyro.cframe = torso.CFrame
  2373. repeat
  2374. wait()
  2375. localplayer.Character.Humanoid.PlatformStand=true
  2376. local new=gyro.cframe - gyro.cframe.p + pos.position
  2377. if not keys.w and not keys.s and not keys.a and not keys.d then
  2378. speed=1
  2379. end
  2380. if keys.w then
  2381. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2382. speed=speed+0.01
  2383. end
  2384. if keys.s then
  2385. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2386. speed=speed+0.01
  2387. end
  2388. if keys.d then
  2389. new = new * CFrame.new(speed,0,0)
  2390. speed=speed+0.01
  2391. end
  2392. if keys.a then
  2393. new = new * CFrame.new(-speed,0,0)
  2394. speed=speed+0.01
  2395. end
  2396. if speed>5 then
  2397. speed=5
  2398. end
  2399. pos.position=new.p
  2400. if keys.w then
  2401. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  2402. elseif keys.s then
  2403. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  2404. else
  2405. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  2406. end
  2407. until not Fly
  2408. if gyro then gyro:Destroy() end
  2409. if pos then pos:Destroy() end
  2410. flying=false
  2411. localplayer.Character.Humanoid.PlatformStand=false
  2412. speed=0
  2413. end
  2414. e1=mouse.KeyDown:connect(function(key)
  2415. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  2416. if key=="w" then
  2417. keys.w=true
  2418. elseif key=="s" then
  2419. keys.s=true
  2420. elseif key=="a" then
  2421. keys.a=true
  2422. elseif key=="d" then
  2423. keys.d=true
  2424. end
  2425. end)
  2426. e2=mouse.KeyUp:connect(function(key)
  2427. if key=="w" then
  2428. keys.w=false
  2429. elseif key=="s" then
  2430. keys.s=false
  2431. elseif key=="a" then
  2432. keys.a=false
  2433. elseif key=="d" then
  2434. keys.d=false
  2435. end
  2436. end)
  2437. start()
  2438. end)
  2439. lpwin:drawButton(1/2, 'Highjump', function()
  2440. local thrust = Instance.new("BodyVelocity")
  2441. game:GetService('UserInputService').InputBegan:connect(function(i, b)
  2442. if i.KeyCode == Enum.KeyCode.Space then
  2443. print("Got jump")
  2444. coroutine.resume(coroutine.create(function()
  2445. thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  2446. thrust.velocity = Vector3.new(0,50,0)
  2447. thrust.maxForce = Vector3.new(0,4e+050,0)
  2448. wait(0.2)
  2449. thrust.Parent = nil
  2450. end))
  2451. end
  2452. end)
  2453. end)
  2454. lpwin:addSpacing()
  2455. local apprInp
  2456. lpwin:drawButton(1/3, 'Appearance', function()
  2457. local id = 0
  2458. if tonumber(apprInp.Text) then
  2459. id = tonumber(apprInp.Text)
  2460. else
  2461. id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
  2462. end
  2463. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  2464. topkek.lplr.Character.Humanoid.Health = 0
  2465. end
  2466. topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  2467. end)
  2468. apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
  2469. local teamInp
  2470. lpwin:drawButton(1/3, 'Team', function()
  2471. topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
  2472. end)
  2473. teamInp = lpwin:drawTextBox(2/3, 'Bright red')
  2474. lpwin:drawButton(1/2, 'Naked', function()
  2475. topkek.lplr:ClearCharacterAppearance()
  2476. end)
  2477. lpwin:drawButton(1/2, 'Neutral', function()
  2478. topkek.lplr.Neutral = true
  2479. end)
  2480. lpwin:addSpacing()
  2481. lpwin:drawButton(1/2, 'Orb', function()
  2482. game.Players.LocalPlayer.Character = nil
  2483. --lp:Destroy()
  2484. local cam = game.Workspace.CurrentCamera
  2485. local m = Instance.new("Model", game.Workspace)
  2486. m.Name = game.Players.LocalPlayer.Name
  2487. local hum = Instance.new("Humanoid", m)
  2488. hum.Health = 0
  2489. hum.MaxHealth = 0
  2490. local orb = Instance.new("Part", m)
  2491. orb.Size = Vector3.new(1, 1, 1)
  2492. orb.Shape = "Ball"
  2493. orb.Name = "Head"
  2494. orb.Anchored = true
  2495. orb.CanCollide = true
  2496. orb.BottomSurface = Enum.SurfaceType.Smooth
  2497. orb.TopSurface = Enum.SurfaceType.Smooth
  2498. orb.Transparency = 0
  2499. spawn(function()
  2500. while true do
  2501. wait(0.1)
  2502. if orb then
  2503. orb.BrickColor = BrickColor.Random()
  2504. else break end
  2505. end
  2506. end)
  2507. cam.CameraSubject = orb
  2508. cam.CameraType = Enum.CameraType.Fixed
  2509. game:GetService("RunService").RenderStepped:connect(function()
  2510. orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  2511. end)
  2512. game.Players.LocalPlayer.Chatted:connect(function(a)
  2513. game:GetService("Chat"):Chat(orb, a)
  2514. end)
  2515. end)
  2516. lpwin:drawButton(1/2, 'Freecam', function()
  2517. local cam = game.Workspace.CurrentCamera
  2518. cam.CameraType = "Fixed"
  2519. cam.CameraSubject = nil
  2520. topkek.lplr.Character = nil
  2521. end)
  2522. lpwin:drawButton(1/2, 'NoGrav', function()
  2523. if topkek.lplr.Character then
  2524. for x,m in pairs(topkek.lplr.Character:GetChildren()) do
  2525. if m:IsA("BasePart") then
  2526. local bf = Instance.new("BodyForce", m)
  2527. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  2528. end
  2529. if m:IsA("Hat") or m:IsA("Accessory") then
  2530. if m:findFirstChild("Handle") then
  2531. local bf = Instance.new("BodyForce", m.Handle)
  2532. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  2533. end
  2534. end
  2535. end
  2536. end
  2537. end)
  2538. lpwin:drawButton(1/2, 'Trowel', function()
  2539. topkek.tools.util.trowel()
  2540. end)
  2541. lpwin:addSpacing()
  2542. lpwin:drawButton(1/2, 'Fedora', function()
  2543. local hats={
  2544. 98346834,
  2545. 215751161,
  2546. 119916949,
  2547. 72082328,
  2548. 147180077,
  2549. 100929604,
  2550. 63043890,
  2551. 1285307,
  2552. 1029025,
  2553. 334663683,
  2554. 259423244
  2555. }
  2556. game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
  2557. end)
  2558. lpwin:drawButton(1/2, 'Rainbow Name', function()
  2559. topkek.lplr.Neutral = false
  2560. repeat
  2561. wait()
  2562. topkek.lplr.TeamColor = BrickColor.Random()
  2563. until not topkek.lplr.Character.Humanoid
  2564. end)
  2565. local tagInp
  2566. lpwin:drawButton(1/3, 'Tag', function()
  2567. local len = 10
  2568. local bb = Instance.new("BillboardGui")
  2569. bb.Parent = topkek.lplr.Character.Head
  2570. bb.Adornee = topkek.lplr.Character.Head
  2571. bb.AlwaysOnTop = true
  2572. bb.Enabled = true
  2573. bb.Size = UDim2.new(len, 0, 1.5, 0)
  2574. bb.Name = "tag"
  2575. bb.StudsOffset = Vector3.new(0, 3, 0)
  2576. --local fr = Instance.new("Frame")
  2577. --fr.Parent = bb
  2578. --fr.Size = UDim2.new(1, 0, 1, 0)
  2579. --fr.Style = Enum.FrameStyle.RobloxRound
  2580. local tl = Instance.new("TextLabel")
  2581. tl.Parent = bb
  2582. tl.Font = Enum.Font.Code
  2583. tl.BackgroundTransparency = 1
  2584. tl.TextScaled = true
  2585. tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  2586. tl.Size = UDim2.new(1, 0, 1, 0)
  2587. tl.Text = tagInp.Text
  2588. tl.Name = "trutag"
  2589. tl.Visible = true
  2590. tl.ZIndex = 2
  2591. end)
  2592. tagInp = lpwin:drawTextBox(2/3, '')
  2593. --// SCRIPTS //--
  2594. local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
  2595. local search = scriptwin:drawTextBox(1,'')
  2596. local origy = scriptwin:getDrawY()
  2597. scriptwin:addSpacing()
  2598. scriptwin:addSpacing()
  2599. local scripts = game:GetObjects("rbxassetid://376553985")[1]
  2600. local container = {}
  2601. function MakeList(condition)
  2602. for i,v in pairs(scriptwin:GetChildren()) do
  2603. if v.Name == "Script" then
  2604. v:Destroy()
  2605. end
  2606. end
  2607. scriptwin:setDrawY(origy)
  2608. for i, v in pairs(scripts:GetChildren()) do
  2609. if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
  2610. local scr = scriptwin:drawButton(1, v.Name, function()
  2611. spawn(function() loadstring(v.Source)() end)
  2612. end, 25)
  2613. scr.Name = 'Script'
  2614. end
  2615. end
  2616. end
  2617. game:GetService("UserInputService").InputChanged:connect(function(inp)
  2618. if inp.UserInputType == Enum.UserInputType.TextInput then
  2619. if search:IsFocused() then
  2620. MakeList(search.Text)
  2621. end
  2622. end
  2623. end)
  2624. MakeList('')
  2625. --// DESTRUCTION // --
  2626. local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
  2627. local decals, seldec = destwin:drawScrollingContainer(100)
  2628. seldec = destwin:drawText(1, 'Selected Decal: None')
  2629. cursel = nil
  2630. local decs = {
  2631. {'Rain', '574772793'},
  2632. {'Robbie', '574773630'},
  2633. {'Pepe', '244905904'},
  2634. {'Troll Face', '48308661'},
  2635. {'Jeff', '109129888'},
  2636. {'Shrek', '170539018'},
  2637. {'Doge', '133720697'},
  2638. {'Dat Boi', '409578848'},
  2639. }
  2640. for _, v in pairs(decs) do
  2641. local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
  2642. topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  2643. end
  2644. destwin:drawButton(1, 'Spam Decal', function()
  2645. if cursel ~= nil then
  2646. topkek.tools.util.recurseDecal(tonumber(cursel))
  2647. end
  2648. end)
  2649. destwin:drawButton(1, 'Spam Particles', function()
  2650. if cursel ~= nil then
  2651. topkek.tools.util.recurseParticles(tonumber(cursel))
  2652. end
  2653. end)
  2654. destwin:drawButton(1, 'Spam Both', function()
  2655. if cursel ~= nil then
  2656. topkek.tools.util.recurseUltimate(tonumber(cursel))
  2657. end
  2658. end)
  2659. destwin:drawButton(1, 'Rollback', function()
  2660. tk.rcm(workspace, 'Decal')
  2661. tk.rcm(workspace, 'ParticleEmitter')
  2662. end)
  2663. destwin:addSpacing()
  2664. destwin:drawButton(1, '666', function()
  2665. for i,v in next,workspace:children''do
  2666. if(v:IsA'BasePart')then
  2667. me=v;
  2668. bbg=Instance.new('BillboardGui',me);
  2669. bbg.Name='stuf';
  2670. bbg.Adornee=me;
  2671. bbg.Size=UDim2.new(2.5,0,2.5,0)
  2672. --bbg.StudsOffset=Vector3.new(0,2,0)
  2673. tlb=Instance.new'TextLabel';
  2674. tlb.Text='666 666 666 666 666 666';
  2675. tlb.Font='SourceSansBold';
  2676. tlb.FontSize='Size48';
  2677. tlb.TextColor3=Color3.new(1,0,0);
  2678. tlb.Size=UDim2.new(1.25,0,1.25,0);
  2679. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  2680. tlb.BackgroundTransparency=1;
  2681. tlb.Parent=bbg;
  2682. end;end;
  2683. --coroutine.wrap(function()while wait''do
  2684. s=Instance.new'Sound';
  2685. s.Parent=workspace;
  2686. s.SoundId='rbxassetid://152840862';
  2687. s.Pitch=1;
  2688. s.Volume=1;
  2689. s.Looped=true;
  2690. s:play();
  2691. --end;end)();
  2692. function xds(dd)
  2693. for i,v in next,dd:children''do
  2694. if(v:IsA'BasePart')then
  2695. v.BrickColor=BrickColor.new'Really black';
  2696. v.TopSurface='Smooth';
  2697. v.BottomSurface='Smooth';
  2698. s=Instance.new('SelectionBox',v);
  2699. s.Adornee=v;
  2700. s.Color=BrickColor.new'Really red';
  2701. a=Instance.new('PointLight',v);
  2702. a.Color=Color3.new(1,0,0);
  2703. a.Range=15;
  2704. a.Brightness=5;
  2705. f=Instance.new('Fire',v);
  2706. f.Size=19;
  2707. f.Heat=22;
  2708. end;
  2709. game.Lighting.TimeOfDay=0;
  2710. game.Lighting.Brightness=0;
  2711. game.Lighting.ShadowColor=Color3.new(0,0,0);
  2712. game.Lighting.Ambient=Color3.new(1,0,0);
  2713. game.Lighting.FogEnd=200;
  2714. game.Lighting.FogColor=Color3.new(0,0,0);
  2715. local dec = 'http://www.roblox.com/asset/?id=19399245';
  2716. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  2717. --coroutine.wrap(function()
  2718. --for _,__ in pairs(fac) do
  2719. --local ddec = Instance.new("Decal", v)
  2720. --ddec.Face = __
  2721. --ddec.Texture = dec
  2722. --end end)()
  2723. if #(v:GetChildren())>0 then
  2724. xds(v)
  2725. end
  2726. end
  2727. end
  2728. xds(game.Workspace)
  2729. end)
  2730. destwin:drawButton(1, 'Troll', function()
  2731. topkek.tools.util.recurseUltimate('48308661')
  2732. tk.play(154664102)
  2733. end)
  2734. destwin:addSpacing()
  2735. destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
  2736. local materiallist =
  2737. {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  2738. Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  2739. Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  2740. Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  2741. Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  2742. local function r(where)
  2743. for _,v in pairs (where:GetChildren()) do
  2744. if v:IsA("BasePart") then
  2745. spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
  2746. end)
  2747. destwin:drawButton(1/2,'Materialize',function()
  2748. local function r(where)
  2749. for _,v in pairs (where:GetChildren()) do
  2750. if v:IsA("BasePart") then
  2751. spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
  2752. end)
  2753. destwin:drawButton(1/2,'Meshify',function()
  2754. local enums={
  2755. Enum.MeshType.Head;
  2756. Enum.MeshType.Torso;
  2757. Enum.MeshType.Wedge;
  2758. Enum.MeshType.Brick;
  2759. Enum.MeshType.Sphere;
  2760. Enum.MeshType.Cylinder;
  2761. }
  2762. tk.rcf('BasePart',function(o)
  2763. local mesh = Instance.new('SpecialMesh', o)
  2764. mesh.MeshType = enums[math.random(1,#enums)]
  2765. end)
  2766. end)
  2767. destwin:drawButton(1/2,'Loop-Meshify',function()
  2768. coroutine.wrap(function()
  2769. while true do
  2770. local enums={
  2771. Enum.MeshType.Head;
  2772. Enum.MeshType.Torso;
  2773. Enum.MeshType.Wedge;
  2774. Enum.MeshType.Brick;
  2775. Enum.MeshType.Sphere;
  2776. Enum.MeshType.Cylinder;
  2777. }
  2778. tk.rcf('BasePart',function(o)
  2779. if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  2780. local mesh = Instance.new('SpecialMesh', o)
  2781. mesh.MeshType = enums[math.random(1,#enums)]
  2782. end)
  2783. wait(0.5)
  2784. end
  2785. end)()
  2786. end)
  2787. destwin:addSpacing()
  2788. destwin:drawButton(1, 'Rotations', function()
  2789. tk.rcf('BasePart', function(o)
  2790. o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  2791. end)
  2792. end)
  2793. destwin:drawButton(1, 'Collisions', function()
  2794. tk.rcf('BasePart', function(o)
  2795. o.CanCollide = false
  2796. end)
  2797. end)
  2798. destwin:drawButton(1, 'Velocity', function()
  2799. tk.rcf('BasePart', function(o)
  2800. o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  2801. end)
  2802. end)
  2803. destwin:drawButton(1, 'Invisiblity', function()
  2804. tk.rcf('BasePart', function(o)
  2805. o.Transparency = 1
  2806. end)
  2807. end)
  2808. destwin:drawButton(1, 'BreakJoints', function()
  2809. tk.rcf('Model', function(o)
  2810. o:BreakJoints()
  2811. end)
  2812. end)
  2813. destwin:drawButton(1, 'Forces', function()
  2814. tk.rcf('BasePart', function(o)
  2815. local bf = Instance.new("BodyForce", o)
  2816. bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
  2817. end)
  2818. end)
  2819. destwin:drawButton(1, 'Brightness', function()
  2820. tk.rcf('BasePart', function(o)
  2821. local light = Instance.new("SpotLight", o)
  2822. light.Brightness = 9e9
  2823. light.Range = 60
  2824. end)
  2825. end)
  2826. --// CATALOG //--
  2827. local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
  2828. local page, currentkeyword = 1, ""
  2829. local searchbar, search, makeCatalog, res = 0, 0, 0, {}
  2830. local searchbar = catwin:drawTextBox(2/3,'')
  2831. local search = catwin:drawButton(1/3, 'Search', function()
  2832. page = 1
  2833. currentkeyword = searchbar.Text
  2834. makeCatalog(currentkeyword, page)
  2835. end)
  2836. local previous = catwin:drawButton(1/2, 'Previous Page', function()
  2837. if page > 1 then
  2838. page = page - 1
  2839. makeCatalog(currentkeyword, page)
  2840. end
  2841. end)
  2842. local previous = catwin:drawButton(1/2, 'Next Page', function()
  2843. if page >= 1 then
  2844. page = page + 1
  2845. makeCatalog(currentkeyword, page)
  2846. end
  2847. end)
  2848. local catalog_start = catwin:getDrawY()
  2849. function split(str,divider)
  2850. local found = ""
  2851. local results = {}
  2852. for i=1,string.len(str) do
  2853. if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
  2854. table.insert(results, found)
  2855. found = ""
  2856. else
  2857. found = found..string.sub(str,i,i)
  2858. end
  2859. end
  2860. table.insert(results, found)
  2861. return results
  2862. end
  2863. function GetName(nm)
  2864. local spl = split(nm," ")
  2865. local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
  2866. return (a.." "..b.." "..c.." "..d.." "..e)
  2867. end
  2868. function makeCatalog(keyword, page)
  2869. local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
  2870. local results = game:HttpGet(endpoint, true)
  2871. local parse = game:GetService('HttpService'):JSONDecode(results)
  2872. for i, v in pairs(res) do
  2873. v:Destroy()
  2874. end
  2875. catwin:setDrawY(catalog_start)
  2876. catwin:addSpacing()
  2877. for i, v in pairs(parse) do
  2878. local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
  2879. local below = topkek.tools.util.Object("TextButton", {
  2880. Parent = img;
  2881. BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
  2882. BorderSizePixel = 0;
  2883. Position = UDim2.new(0, -45, 1, 5);
  2884. Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
  2885. Font = 'SourceSans';
  2886. FontSize = 'Size14';
  2887. Text = GetName(v['Name']);
  2888. TextSize = 14;
  2889. TextColor3 = color3(199, 199, 199);
  2890. TextStrokeTransparency = 0.5;
  2891. ClipsDescendants = true;
  2892. })
  2893. below.MouseButton1Down:connect(function()
  2894. local Model = Instance.new("Model", workspace)
  2895. game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
  2896. Model:MakeJoints()
  2897. Model:MoveTo(topkek.lplr.Character.Head.Position)
  2898. end)
  2899. img.Size=UDim2.new(0,50,0,50)
  2900. img.Position=img.Position+UDim2.new(0,45,0,0)
  2901. if (i%2)==0 then
  2902. catwin:setDrawY(catwin:getDrawY() + 25)
  2903. end
  2904. if (i==10) then
  2905. catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
  2906. end
  2907. table.insert(res,img)
  2908. end
  2909. end
  2910. makeCatalog("", 1)
  2911. --// CMDS //--
  2912. cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
  2913. count = 0
  2914. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  2915. cmdwin:drawText(1, tostring(count) .. " Commands")
  2916. cmdwin:drawText(1, 'Chat Prefix: /')
  2917. local cmdlist = cmdwin:drawScrollingContainer(260)
  2918. for i, v in pairs(cmd.commands.fmtstore) do
  2919. local xfmt = {}
  2920. local str = " ;" .. i .. " "
  2921. for form in v:gmatch("[^%%]+") do
  2922. if form ~= 'cmd' then
  2923. if form == 'inf' then form = 'str' end
  2924. str = str .. "{" .. form .. "} "
  2925. end
  2926. end
  2927. cmdlist:drawText(1, str)
  2928. end
  2929. --// MUSIC //--
  2930. musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
  2931. Sounds = {
  2932. {"caramell", 2303479};
  2933. {"epic", 27697743};
  2934. {"rick", 2027611};
  2935. {"halo", 1034065};
  2936. {"pokemon", 1372261};
  2937. {"cursed", 1372257};
  2938. {"extreme", 11420933};
  2939. {"awaken", 27697277};
  2940. {"alone", 27697392};
  2941. {"mario", 1280470};
  2942. {"choir", 1372258};
  2943. {"chrono" ,1280463};
  2944. {"dotr", 11420922};
  2945. {"entertain", 27697267};
  2946. {"fantasy", 1280473};
  2947. {"final", 787};
  2948. {"organ", 11231513};
  2949. {"tunnel", 9650822}
  2950. }
  2951.  
  2952. local cursel
  2953. local xcursel = 0
  2954. scr = musicwin:drawScrollingContainer(230)
  2955. for i, v in pairs(Sounds) do
  2956. scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
  2957. cursel.Text = "Currently Selected - " .. v[1]
  2958. xcursel = v[2]
  2959. end)
  2960. end
  2961.  
  2962. cursel = musicwin:drawText(1, "Currently Selected - None")
  2963. local setInp
  2964. musicwin:drawButton(1/3, "Set", function()
  2965. if tonumber(setInp.Text) then
  2966. cursel.Text = "Currently Selected - " .. setInp.Text
  2967. xcursel = tonumber(setInp.Text)
  2968. end
  2969. end)
  2970. setInp = musicwin:drawTextBox(2/3, '')
  2971. musicwin:drawButton(1, "Play", function()
  2972. tk.rcm(game, 'Sound')
  2973. tk.play(xcursel)
  2974. end)
  2975. musicwin:drawButton(1, "Stop", function()
  2976. tk.rcm(game, 'Sound')
  2977. end)
  2978. --// FACES //--
  2979. facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
  2980. local faces = {
  2981. {name='Rofl',id=47595647},
  2982. {name='Sparta',id=74142203},
  2983. {name='UJelly',id=48989071},
  2984. {name='Troll',id=45120559},
  2985. {name='Horse',id=62079221},
  2986. {name='Angry',id=48258623},
  2987. {name='Okey',id=62830600},
  2988. {name='Yeaw',id=53646377},
  2989. {name='Here',id=62677045},
  2990. {name='Har',id=48260066},
  2991. {name='Baby Sun',id=47596170},
  2992. {name='LOL',id=48293007},
  2993. {name='Sad',id=53645378},
  2994. {name='Joseph Stalin',id=48290678},
  2995. {name='Doge',id=130742396},
  2996. {name='Forever Alone',id=156886272},
  2997. {name='RickRoll',id=5104631},
  2998. {name='Jim Carrey',id=74885351},
  2999. {name='Meh IRL',id=237553381}
  3000. }
  3001. local cursel, xcursel = nil, 0
  3002. faclist = facwin:drawScrollingContainer(260)
  3003. for i,v in pairs(faces) do
  3004. local btn = faclist:drawButton(1, v['name'], function()
  3005. xcursel = v['id']
  3006. cursel.Text = 'Currently Selected: ' .. v['name']
  3007. end)
  3008. topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
  3009. end
  3010. cursel = facwin:drawText(1, 'Currently Selected: None')
  3011. facwin:drawButton(1, 'Wear', function()
  3012. if not (xcursel == 0) then
  3013. if topkek.lplr.Character then
  3014. tk.rcm(topkek.lplr.Character, 'Accessory')
  3015. tk.rcm(topkek.lplr.Character, 'Hat')
  3016. topkek.tools.util.applyFace(xcursel)
  3017. end
  3018. end
  3019. end)
  3020. --// SETTINGS // --
  3021. setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
  3022. setwin:drawText(1, 'Patch: ' .. topkek.patch)
  3023. setwin:drawText(1, 'Devnote: foh skids')
  3024. setwin:drawText(1, [[
  3025. === CREDITS ===
  3026.  
  3027. Variable - retard that created Stella
  3028. KrystalTeam - provided critical design tips & advice
  3029. Circumvention - lol joey salads
  3030.  
  3031. Thanks to everyone that supported T0PK3K 4.0!
  3032.  
  3033. ]], 260)
  3034. --// BANLIST //--
  3035. banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
  3036. local plrBanInp
  3037. banwin:drawButton(1/3, 'Add', function()
  3038. topkek.settings.get()
  3039. table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
  3040. topkek.settings.write()
  3041. UpdateBanlist()
  3042. end)
  3043. plrBanInp = banwin:drawTextBox(2/3, '')
  3044. banCont = banwin:drawScrollingContainer(288)
  3045. function UpdateBanlist(x)
  3046. topkek.settings.get()
  3047. local wl = x or topkek.settingsTable['Bans']
  3048. for i,v in pairs(banCont:GetChildren()) do
  3049. v:Destroy()
  3050. end
  3051. banCont:setDrawY(3)
  3052. for i,v in pairs(wl) do
  3053. banCont:drawText(2/3, v)
  3054. banCont:drawButton(1/3, 'Remove', function()
  3055. for x, m in pairs(wl) do
  3056. if m == v then
  3057. table.remove(topkek.settingsTable['Bans'], x)
  3058. topkek.settings.write()
  3059. UpdateBanlist()
  3060. topkek.banmgr.bans = topkek.settingsTable['Bans']
  3061. end
  3062. end
  3063. end)
  3064. end
  3065. end
  3066. UpdateBanlist()
  3067. --// HATS //--
  3068. hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
  3069. local hats={
  3070. {name='Dominus Empyreus',id=21070012},
  3071. {name='Dominus Vespertilio',id=96103379},
  3072. {name='Dominus Infernus',id=31101391},
  3073. {name='Dominus Rex',id=250395631},
  3074. {name='Dominus Frigidus',id=48545806},
  3075. {name='Dominus Astra',id=162067148},
  3076. {name='Dominus Aureus',id=138932314},
  3077. {name='DIY Dominus Empyreus',id=151789690},
  3078. {name='Dominus Messor',id=64444871},
  3079. {name='Demon Skeleton Wings',id=133554007},
  3080. {name='Gilded Wings of Glory',id=250405532},
  3081. {name='Majestic Ice Wings',id=188702967},
  3082. {name='Black Wings',id=215719598},
  3083. {name='Clockworks Shades',id=11748356},
  3084. {name='Faerie Wings',id=19399896},
  3085. {name='Orinthian Wings',id=223751505},
  3086. {name='Clockworks Headphones',id=1235488},
  3087. {name='Perfectly Legitimate Business Hat',id=19027209},
  3088. {name='Sparkling Angel Wings',id=192557913},
  3089. {name='Commander Crows Wings',id=133553855},
  3090. {name='Sunfire Wings',id=158068470},
  3091. {name='Royal Faerie Wings',id=119916756},
  3092. {name='Wings of Freedom',id=164174048},
  3093. {name='Firebrand Wings',id=128160626},
  3094. {name='Frozen Wings',id=136758613},
  3095. {name='Webbed Wings',id=120507280},
  3096. {name='Gargoyle Wings',id=120507201},
  3097. {name='Bat Wings',id=19399858},
  3098. {name='Wings of Fire',id=136758532},
  3099. {name='Headrow',id=1082935},
  3100. {name='Rubber Duckie',id=9254254},
  3101. {name='Valkyrie Helm',id=1365767},
  3102. {name='Hockey Mask',id=5161514}}
  3103. local searchi = hatwin:drawButton(1, '', function()end)
  3104. dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
  3105. function fixPlayerDropi()
  3106. local t = {'All'}
  3107. for i, v in pairs(game.Players:GetPlayers()) do
  3108. table.insert(t, v.Name)
  3109. end
  3110. dropx.SetTable(t)
  3111. end
  3112. game.Players.PlayerAdded:connect(function()
  3113. fixPlayerDropi()
  3114. end)
  3115. game.Players.PlayerRemoving:connect(function()
  3116. fixPlayerDropi()
  3117. end)
  3118. local eval = 'All'
  3119. dropx.Changed(function(p) eval = p end)
  3120. fixPlayerDrop()
  3121.  
  3122. local hatInp
  3123. hatlist = hatwin:drawScrollingContainer(260)
  3124. for i,v in pairs(hats) do
  3125. hatlist:drawButton(1, v['name'], function()
  3126. hatInp.Text = tostring(v['id'])
  3127. end)
  3128. end
  3129. hatwin:drawButton(1/3, 'Wear', function()
  3130. local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
  3131. tk.dp(eval, function(x)
  3132. if x.Character then
  3133. hat:Clone().Parent = x.Character
  3134. end
  3135. end)
  3136. end)
  3137.  
  3138.  
  3139. hatInp = hatwin:drawTextBox(2/3, '')
  3140. topkek.tools.animator.initialAnimation()
  3141. topkek.banmgr.init()
  3142. end)
  3143.  
  3144. Grab.Name = "Grab"
  3145. Grab.Parent = Frame
  3146. Grab.BackgroundColor3 = Color3.new(0.333333, 0, 1)
  3147. Grab.BackgroundTransparency = 0.69999998807907
  3148. Grab.Position = UDim2.new(0, 0, 0.318840593, 0)
  3149. Grab.Size = UDim2.new(0, 213, 0, 110)
  3150. Grab.Font = Enum.Font.SourceSans
  3151. Grab.FontSize = Enum.FontSize.Size14
  3152. Grab.Text = "GrabKnife"
  3153. Grab.TextSize = 14
  3154. Grab.MouseButton1Down:connect(function()
  3155. math.randomseed(tick())
  3156. local player = game.Players.LocalPlayer
  3157. local rekt = {}
  3158. local paralyzed = false
  3159. local curpoint = nil
  3160. local curpart = nil
  3161. local finishnum = 1
  3162. local zombiemode = false
  3163. local zombies = {}
  3164. local lastgui = nil
  3165. local mouse = player:GetMouse()
  3166.  
  3167. function getplr(char)
  3168. local plr = nil
  3169. for i,v in pairs(game.Players:GetChildren()) do
  3170. if v.Character == char then
  3171. plr = v
  3172. end
  3173. end
  3174. return plr
  3175. end
  3176.  
  3177. function bleed(frick)
  3178. while frick.Parent ~= nil do
  3179. local reeee = coroutine.wrap(function()
  3180. local thing = Instance.new('Part',game.Workspace)
  3181. thing.Size = Vector3.new(0.2,0.2,0.2)
  3182. thing.CFrame = frick.CFrame
  3183. thing.Shape = Enum.PartType.Ball
  3184. thing.CFrame = frick.CFrame
  3185. thing.Transparency = 1
  3186. thing.BrickColor = BrickColor.new('Maroon')
  3187. thing.Material = Enum.Material.SmoothPlastic
  3188. thing.Name = "Blood"
  3189. thing.CanCollide =false
  3190. local rawrxd = Instance.new('BodyForce',thing)
  3191. rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
  3192. local coru = coroutine.wrap(function()
  3193. wait(0.01)
  3194. rawrxd:Destroy()
  3195. end)
  3196. coru()
  3197. local ree = Instance.new('ParticleEmitter',thing)
  3198. ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(100,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(100,0,0))})
  3199. ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
  3200. ree.Texture = 'rbxassetid://867743272'
  3201. ree.Lifetime = NumberRange.new(0.4)
  3202. ree.Rate = 50
  3203. ree.LockedToPart = true
  3204. ree.Speed = NumberRange.new(0, 2)
  3205.  
  3206. thing.Touched:connect(function(tou)
  3207. if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= player.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" then
  3208. local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z)
  3209. thing:Destroy()
  3210. if tou.Name == "BloodPuddle" then
  3211. local reee = tou.CFrame
  3212. if tou.Transparency > -0.2 then
  3213. tou.Transparency = tou.Transparency -0.1
  3214. end
  3215. if tou.Size.X < 10 then
  3216. tou.Size = tou.Size+Vector3.new(0.1,0,0.1)
  3217. tou.CFrame = reee
  3218. end
  3219. else
  3220. local bloodlol = Instance.new('Part',workspace)
  3221. bloodlol.Size=Vector3.new(1,0.2,1)
  3222. bloodlol.Name = "BloodPuddle"
  3223. bloodlol.Anchored = true
  3224. bloodlol.CanCollide = false
  3225. bloodlol.Material = Enum.Material.SmoothPlastic
  3226. bloodlol.BrickColor = BrickColor.new('Maroon')
  3227. local cyl = Instance.new('CylinderMesh',bloodlol)
  3228. cyl.Scale = Vector3.new(1,0.1,1)
  3229. bloodlol.CFrame = CFrame.new(pos)
  3230. local coru=coroutine.wrap(function()
  3231. while bloodlol.Parent ~= nil do
  3232. if bloodlol.Transparency < 1 then
  3233. bloodlol.Transparency = bloodlol.Transparency+0.05
  3234. else
  3235. bloodlol:Destroy()
  3236. end
  3237. wait(0.1)
  3238. end
  3239. end)
  3240. coru()
  3241. end
  3242. end
  3243. end)
  3244. local coru = coroutine.wrap(function()
  3245. wait(1)
  3246. thing:Destroy()
  3247. end)
  3248. coru()
  3249. end)
  3250. reeee()
  3251. wait()
  3252. end
  3253. end
  3254.  
  3255. function killz(playa,hitz,kneef,explode,pool,head,charred,override)
  3256. local soundy = false
  3257. local heyy = hitz
  3258. if hitz == "Right Arm" then
  3259. local Limb = playa:FindFirstChild("Right Arm")
  3260. local ters = playa:FindFirstChild('Torso')
  3261. if Limb and ters then
  3262. if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end
  3263. for i,v in pairs(Limb:GetChildren()) do
  3264. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
  3265. v:Destroy()
  3266. end
  3267. end
  3268. Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0)
  3269. local Joint = Instance.new("Rotate")
  3270. Joint.Name = "RightShoulder"
  3271. Joint.Part0 = ters
  3272. Joint.Part1 = Limb
  3273. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3274. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3275. Joint.Parent = ters
  3276. if charred and zombiemode == false then
  3277. Limb.BrickColor = BrickColor.new('Black')
  3278. local fire = Instance.new('Fire',Limb)
  3279. fire.Heat = 5
  3280. fire.Size = 5
  3281. game:GetService('Debris'):AddItem(fire,2)
  3282. local coru=coroutine.wrap(function()
  3283. wait(2)
  3284. for i,v in pairs(Limb:GetChildren()) do
  3285. if v:IsA('ParticleEmitter') then
  3286. v:Destroy()
  3287. end
  3288. end
  3289. end)
  3290. coru()
  3291. end
  3292. local B = Instance.new("Part")
  3293. B.TopSurface = 0
  3294. B.BottomSurface = 0
  3295. B.formFactor = "Symmetric"
  3296. B.Size = Vector3.new(1, 1, 1)
  3297. B.Transparency = 1
  3298. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3299. B.Parent = playa
  3300. local W = Instance.new("Weld")
  3301. W.Part0 = Limb
  3302. W.Part1 = B
  3303. W.C0 = CFrame.new(0, -0.5, 0)
  3304. W.Parent = Limb
  3305. if kneef then
  3306. local coru = coroutine.wrap(function()
  3307. local uno = Instance.new('Part',workspace)
  3308. local dos = Instance.new('Part',workspace)
  3309. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  3310. dos.CFrame = kneef["big ass knife"].CFrame
  3311. local weld = Instance.new('Weld',kneef["big ass knife"])
  3312. weld.Part0 = playa:FindFirstChild(hitz)
  3313. weld.Part1 = kneef["big ass knife"]
  3314. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  3315. uno:Destroy()
  3316. dos:Destroy()
  3317. playa:FindFirstChild(hitz).Anchored = false
  3318. for i, v in pairs(kneef:GetChildren()) do
  3319. if v:IsA('BasePart') then
  3320. v.Anchored = false
  3321. end
  3322. end
  3323. if zombiemode == false or override then
  3324. wait()
  3325. end
  3326. if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
  3327. kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
  3328. end
  3329. local bleedpart = Instance.new("Part", kneef)
  3330. bleedpart.CanCollide = false
  3331. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  3332. bleedpart.CFrame = kneef["big ass knife"].CFrame
  3333. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  3334. bleedpart.Transparency = 1
  3335.  
  3336. local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
  3337. bleedpartweld.Part0 = kneef["big ass knife"]
  3338. bleedpartweld.Part1 = bleedpart
  3339. bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
  3340. local coru = coroutine.wrap(function()
  3341. bleed(bleedpart)
  3342. end)
  3343. coru()
  3344. game:GetService('Debris'):AddItem(bleedpart,2)
  3345. end)
  3346. coru()
  3347. end
  3348. end
  3349. elseif hitz == "Left Arm" then
  3350. local Limb = playa:FindFirstChild("Left Arm")
  3351. local ters = playa:FindFirstChild('Torso')
  3352. if Limb and ters then
  3353. if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end
  3354. for i,v in pairs(Limb:GetChildren()) do
  3355. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
  3356. v:Destroy()
  3357. end
  3358. end
  3359. Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0)
  3360. local Joint = Instance.new("Rotate")
  3361. Joint.Name = "LeftShoulder"
  3362. Joint.Part0 = ters
  3363. Joint.Part1 = Limb
  3364. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3365. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3366. Joint.Parent = ters
  3367. if charred and zombiemode == false then
  3368. Limb.BrickColor = BrickColor.new('Black')
  3369. local fire = Instance.new('Fire',Limb)
  3370. fire.Heat = 5
  3371. fire.Size = 5
  3372. game:GetService('Debris'):AddItem(fire,2)
  3373. local coru=coroutine.wrap(function()
  3374. wait(2)
  3375. for i,v in pairs(Limb:GetChildren()) do
  3376. if v:IsA('ParticleEmitter') then
  3377. v:Destroy()
  3378. end
  3379. end
  3380. end)
  3381. coru()
  3382. end
  3383.  
  3384. local B = Instance.new("Part")
  3385. B.TopSurface = 0
  3386. B.BottomSurface = 0
  3387. B.formFactor = "Symmetric"
  3388. B.Size = Vector3.new(1, 1, 1)
  3389. B.CanCollide = true
  3390. B.Transparency = 1
  3391. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3392. B.Parent = playa
  3393. local W = Instance.new("Weld")
  3394. W.Part0 = ters
  3395. W.Part1 = B
  3396. W.C0 = CFrame.new(0, -0.5, 0)
  3397. W.Parent = Limb
  3398. if kneef then
  3399. local coru = coroutine.wrap(function()
  3400. local uno = Instance.new('Part',workspace)
  3401. local dos = Instance.new('Part',workspace)
  3402. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  3403. dos.CFrame = kneef["big ass knife"].CFrame
  3404. local weld = Instance.new('Weld',kneef["big ass knife"])
  3405. weld.Part0 = playa:FindFirstChild(hitz)
  3406. weld.Part1 = kneef["big ass knife"]
  3407. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  3408. uno:Destroy()
  3409. dos:Destroy()
  3410. playa:FindFirstChild(hitz).Anchored = false
  3411. for i, v in pairs(kneef:GetChildren()) do
  3412. if v:IsA('BasePart') then
  3413. v.Anchored = false
  3414. end
  3415. end
  3416. if zombiemode == false or override then
  3417. wait()
  3418. end
  3419. if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
  3420. kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
  3421. end
  3422. local bleedpart = Instance.new("Part", kneef)
  3423. bleedpart.CanCollide = false
  3424. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  3425. bleedpart.CFrame = kneef["big ass knife"].CFrame
  3426. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  3427. bleedpart.Transparency = 1
  3428.  
  3429. local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
  3430. bleedpartweld.Part0 = kneef["big ass knife"]
  3431. bleedpartweld.Part1 = bleedpart
  3432. bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
  3433. local coru = coroutine.wrap(function()
  3434. bleed(bleedpart)
  3435. end)
  3436. coru()
  3437. game:GetService('Debris'):AddItem(bleedpart,2)
  3438. end)
  3439. coru()
  3440. end
  3441. end
  3442. elseif hitz == "Right Leg" then
  3443. local Limb = playa:FindFirstChild("Right Leg")
  3444. local ters = playa:FindFirstChild('Torso')
  3445. if Limb and ters then
  3446. if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end
  3447. for i,v in pairs(Limb:GetChildren()) do
  3448. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
  3449. v:Destroy()
  3450. end
  3451. end
  3452. Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
  3453. local Joint = Instance.new("Rotate")
  3454. Joint.Name = "Right Hip"
  3455. Joint.Part0 = ters
  3456. Joint.Part1 = Limb
  3457. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3458. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3459. Joint.Parent = ters
  3460. if charred and zombiemode == false then
  3461. Limb.BrickColor = BrickColor.new('Black')
  3462. local fire = Instance.new('Fire',Limb)
  3463. fire.Heat = 5
  3464. fire.Size = 5
  3465. game:GetService('Debris'):AddItem(fire,2)
  3466. local coru=coroutine.wrap(function()
  3467. wait(2)
  3468. for i,v in pairs(Limb:GetChildren()) do
  3469. if v:IsA('ParticleEmitter') then
  3470. v:Destroy()
  3471. end
  3472. end
  3473. end)
  3474. coru()
  3475. end
  3476. local B = Instance.new("Part")
  3477. B.TopSurface = 0
  3478. B.BottomSurface = 0
  3479. B.formFactor = "Symmetric"
  3480. B.Size = Vector3.new(1, 1, 1)
  3481. B.Transparency = 1
  3482. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3483. B.Parent = playa
  3484. local W = Instance.new("Weld")
  3485. W.Part0 = Limb
  3486. W.Part1 = B
  3487. W.C0 = CFrame.new(0, -0.5, 0)
  3488. W.Parent = Limb
  3489. if kneef then
  3490. local coru = coroutine.wrap(function()
  3491. local uno = Instance.new('Part',workspace)
  3492. local dos = Instance.new('Part',workspace)
  3493. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  3494. dos.CFrame = kneef["big ass knife"].CFrame
  3495. local weld = Instance.new('Weld',kneef["big ass knife"])
  3496. weld.Part0 = playa:FindFirstChild(hitz)
  3497. weld.Part1 = kneef["big ass knife"]
  3498. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  3499. uno:Destroy()
  3500. dos:Destroy()
  3501. playa:FindFirstChild(hitz).Anchored = false
  3502. for i, v in pairs(kneef:GetChildren()) do
  3503. if v:IsA('BasePart') then
  3504. v.Anchored = false
  3505. end
  3506. end
  3507. if zombiemode == false or override then
  3508. wait()
  3509. end
  3510. if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
  3511. kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
  3512. end
  3513. local bleedpart = Instance.new("Part", kneef)
  3514. bleedpart.CanCollide = false
  3515. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  3516. bleedpart.CFrame = kneef["big ass knife"].CFrame
  3517. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  3518. bleedpart.Transparency = 1
  3519.  
  3520. local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
  3521. bleedpartweld.Part0 = kneef["big ass knife"]
  3522. bleedpartweld.Part1 = bleedpart
  3523. bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
  3524. local coru = coroutine.wrap(function()
  3525. bleed(bleedpart)
  3526. end)
  3527. coru()
  3528. game:GetService('Debris'):AddItem(bleedpart,2)
  3529. end)
  3530. coru()
  3531. end
  3532. if playa then
  3533. table.insert(rekt,playa)
  3534. end
  3535. end
  3536. elseif hitz == "Left Leg" then
  3537. local Limb = playa:FindFirstChild("Left Leg")
  3538. local ters = playa:FindFirstChild('Torso')
  3539. if Limb and ters then
  3540. if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end
  3541. for i,v in pairs(Limb:GetChildren()) do
  3542. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
  3543. v:Destroy()
  3544. end
  3545. end
  3546. Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
  3547. Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0)
  3548. local Joint = Instance.new("Rotate")
  3549. Joint.Name = "LeftHip"
  3550. Joint.Part0 = ters
  3551. Joint.Part1 = Limb
  3552. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3553. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3554. Joint.Parent = ters
  3555. if charred and zombiemode == false then
  3556. Limb.BrickColor = BrickColor.new('Black')
  3557. local fire = Instance.new('Fire',Limb)
  3558. fire.Heat = 5
  3559. fire.Size = 5
  3560. game:GetService('Debris'):AddItem(fire,2)
  3561. local coru=coroutine.wrap(function()
  3562. wait(2)
  3563. for i,v in pairs(Limb:GetChildren()) do
  3564. if v:IsA('ParticleEmitter') then
  3565. v:Destroy()
  3566. end
  3567. end
  3568. end)
  3569. coru()
  3570. end
  3571.  
  3572. local B = Instance.new("Part")
  3573. B.TopSurface = 0
  3574. B.BottomSurface = 0
  3575. B.formFactor = "Symmetric"
  3576. B.Size = Vector3.new(1, 1, 1)
  3577. B.Transparency = 1
  3578. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3579. B.Parent = playa
  3580. local W = Instance.new("Weld")
  3581. W.Part0 = Limb
  3582. W.Part1 = B
  3583. W.C0 = CFrame.new(0, -0.5, 0)
  3584. W.Parent = Limb
  3585. Limb.CanCollide = false
  3586. if kneef then
  3587. local coru = coroutine.wrap(function()
  3588. local uno = Instance.new('Part',workspace)
  3589. local dos = Instance.new('Part',workspace)
  3590. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  3591. dos.CFrame = kneef["big ass knife"].CFrame
  3592. local weld = Instance.new('Weld',kneef["big ass knife"])
  3593. weld.Part0 = playa:FindFirstChild(hitz)
  3594. weld.Part1 = kneef["big ass knife"]
  3595. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  3596. uno:Destroy()
  3597. dos:Destroy()
  3598. playa:FindFirstChild(hitz).Anchored = false
  3599. for i, v in pairs(kneef:GetChildren()) do
  3600. if v:IsA('BasePart') then
  3601. v.Anchored = false
  3602. end
  3603. end
  3604. if zombiemode == false or override then
  3605. wait()
  3606. end
  3607. if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
  3608. kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
  3609. end
  3610. local bleedpart = Instance.new("Part", kneef)
  3611. bleedpart.CanCollide = false
  3612. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  3613. bleedpart.CFrame = kneef["big ass knife"].CFrame
  3614. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  3615. bleedpart.Transparency = 1
  3616.  
  3617. local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
  3618. bleedpartweld.Part0 = kneef["big ass knife"]
  3619. bleedpartweld.Part1 = bleedpart
  3620. bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
  3621. local coru = coroutine.wrap(function()
  3622. bleed(bleedpart)
  3623. end)
  3624. coru()
  3625. game:GetService('Debris'):AddItem(bleedpart,2)
  3626. end)
  3627. coru()
  3628. end
  3629. if playa then
  3630. table.insert(rekt,playa)
  3631. end
  3632. end
  3633. elseif playa then
  3634. if finishnum ~= 1 then
  3635. local coru=coroutine.wrap(function()
  3636. player.Character.Head.Psycho.Playing = true
  3637. wait(3)
  3638. player.Character.Head.Psycho.Playing = false
  3639. end)
  3640. coru()
  3641. end
  3642. local playa2 = playa
  3643. playa.Archivable = true
  3644. local playa = playa:Clone()
  3645. playa.Archivable = false
  3646. playa2:Destroy()
  3647. playa.Parent = workspace
  3648. local Gibs = game.Workspace
  3649. local Torso = playa.Torso
  3650. local Head = playa:FindFirstChild("Head")
  3651. local function Scan(ch)
  3652. local e
  3653. for e = 1,#ch do
  3654. Scan(ch[e]:GetChildren())
  3655. if (ch[e].ClassName == "Weld" and ch[e]:FindFirstChild('Part1') and ch[e].Part1.Name ~= 'Projectile') or ch[e].ClassName == "Motor6D" or ch[e].ClassName == "Rotate" or (ch[e]:IsA('BasePart') and ch[e].Size == Vector3.new(1, 1, 1)) then
  3656. ch[e]:remove()
  3657. end
  3658. end
  3659. end
  3660. Scan(playa:GetChildren())
  3661. if playa:FindFirstChild('HumanoidRootPart') and (zombiemode == false or override) then
  3662. playa:FindFirstChild('HumanoidRootPart'):Destroy()
  3663. end
  3664. local hum2 = playa:FindFirstChildOfClass("Humanoid")
  3665. if zombiemode == true and override == false then
  3666. soundy = true
  3667. end
  3668. if string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie" then
  3669. override = true
  3670. end
  3671. if hum2 ~= nil then
  3672. hum2.Name = "Humanoid2"
  3673. hum2.Health = 0
  3674. if zombiemode == false or override == true then
  3675. table.insert(rekt,hum2.Parent)
  3676. else
  3677. local gyro = Instance.new('BodyGyro',Torso)
  3678. hum2.PlatformStand = false
  3679. for i,v in pairs(hum2.Parent.Torso:GetChildren()) do
  3680. if v:IsA('BodyGyro') then v:Destroy() end
  3681. end
  3682. if playa:FindFirstChild('HumanoidRootPart') then
  3683. hum2.Parent.HumanoidRootPart.CFrame = hum2.Parent.Torso.CFrame
  3684. local weldcrucial = Instance.new('Weld',hum2.Parent.HumanoidRootPart)
  3685. weldcrucial.Part0 = hum2.Parent.HumanoidRootPart
  3686. weldcrucial.Part1 = hum2.Parent.Torso
  3687. end
  3688. end
  3689. end
  3690. local ch = playa:GetChildren()
  3691. local i
  3692. for i = 1,#ch do
  3693. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3694. ch[i]:remove()
  3695. end
  3696. end
  3697.  
  3698. if Head then
  3699. local Neck = Instance.new("Weld")
  3700. Neck.Name = "Neck"
  3701. Neck.Part0 = Torso
  3702. Neck.Part1 = Head
  3703. if pool then
  3704. local part = Instance.new('Part',Torso)
  3705. part.Position = Vector3.new(0,10,0)
  3706. part.Size = Vector3.new(0.2,0.2,0.2)
  3707. part.Transparency = 1
  3708. part.CanCollide = false
  3709. local we = Instance.new('Weld',Torso)
  3710. we.Part0 = Torso
  3711. we.Part1 = part
  3712. we.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
  3713. local coru=coroutine.wrap(function()
  3714. bleed(part)
  3715. end)
  3716. coru()
  3717. end
  3718. if head == false or head == nil then
  3719. Neck.C0 = CFrame.new(0, 1.5, 0)
  3720. else
  3721. Neck.C0 = CFrame.new(0, 1.5, 0.2)*CFrame.Angles(0.5, 0.25, 0.25)
  3722. local bleedpart = Instance.new("Part", Torso)
  3723. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  3724. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  3725. bleedpart.CanCollide = false
  3726. bleedpart.Position = Head.Position + Vector3.new(0, 1, 0)
  3727. bleedpart.Transparency = 1
  3728.  
  3729. local bleedpartweld = Instance.new("Weld", Torso)
  3730. bleedpartweld.Part0 = Torso
  3731. bleedpartweld.Part1 = bleedpart
  3732. bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
  3733. local coru = coroutine.wrap(function()
  3734. bleed(bleedpart)
  3735. end)
  3736. coru()
  3737. end
  3738. Neck.C1 = CFrame.new()
  3739. Neck.Parent = Torso
  3740. end
  3741. local Limb = playa:FindFirstChild("Right Arm")
  3742. if Limb then
  3743.  
  3744. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  3745. local Joint = Instance.new("Rotate")
  3746. Joint.Name = "RightShoulder"
  3747. Joint.Part0 = Torso
  3748. Joint.Part1 = Limb
  3749. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3750. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3751. Joint.Parent = Torso
  3752.  
  3753. local B = Instance.new("Part")
  3754. B.TopSurface = 0
  3755. B.BottomSurface = 0
  3756. B.formFactor = "Symmetric"
  3757. B.Size = Vector3.new(1, 1, 1)
  3758. B.Transparency = 1
  3759. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3760. B.Parent = playa
  3761. local W = Instance.new("Weld")
  3762. W.Part0 = Limb
  3763. W.Part1 = B
  3764. W.C0 = CFrame.new(0, -0.5, 0)
  3765. W.Parent = Limb
  3766. end
  3767. local Limb = playa:FindFirstChild("Left Arm")
  3768. if Limb then
  3769.  
  3770. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  3771. local Joint = Instance.new("Rotate")
  3772. Joint.Name = "LeftShoulder"
  3773. Joint.Part0 = Torso
  3774. Joint.Part1 = Limb
  3775. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3776. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3777. Joint.Parent = Torso
  3778.  
  3779. local B = Instance.new("Part")
  3780. B.TopSurface = 0
  3781. B.BottomSurface = 0
  3782. B.formFactor = "Symmetric"
  3783. B.Size = Vector3.new(1, 1, 1)
  3784. B.Transparency = 1
  3785. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3786. B.Parent = playa
  3787. local W = Instance.new("Weld")
  3788. W.Part0 = Limb
  3789. W.Part1 = B
  3790. W.C0 = CFrame.new(0, -0.5, 0)
  3791. W.Parent = Limb
  3792. end
  3793. local Limb = playa:FindFirstChild("Right Leg")
  3794. if Limb then
  3795. Limb.CanCollide = false
  3796. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  3797. local Joint = Instance.new("Rotate")
  3798. Joint.Name = "RightHip"
  3799. Joint.Part0 = Torso
  3800. Joint.Part1 = Limb
  3801. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3802. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3803. Joint.Parent = Torso
  3804.  
  3805. local B = Instance.new("Part")
  3806. B.TopSurface = 0
  3807. B.BottomSurface = 0
  3808. B.formFactor = "Symmetric"
  3809. B.Size = Vector3.new(1, 1, 1)
  3810. B.Transparency = 1
  3811. B.CanCollide = true
  3812. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3813. B.Parent = playa
  3814. local W = Instance.new("Weld")
  3815. W.Part0 = Limb
  3816. W.Part1 = B
  3817. W.C0 = CFrame.new(0, -0.5, 0)
  3818. W.Parent = Limb
  3819. end
  3820. local Limb = playa:FindFirstChild("Left Leg")
  3821. if Limb then
  3822. Limb.CanCollide = false
  3823. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  3824. local Joint = Instance.new("Rotate")
  3825. Joint.Name = "LeftHip"
  3826. Joint.Part0 = Torso
  3827. Joint.Part1 = Limb
  3828. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3829. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3830. Joint.Parent = Torso
  3831.  
  3832. local B = Instance.new("Part")
  3833. B.TopSurface = 0
  3834. B.BottomSurface = 0
  3835. if zombiemode == false or override then
  3836. B.CanCollide = true
  3837. end
  3838. B.formFactor = "Symmetric"
  3839. B.Size = Vector3.new(1, 1, 1)
  3840. B.Transparency = 1
  3841. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3842. B.Parent = playa
  3843. local W = Instance.new("Weld")
  3844. W.Part0 = Limb
  3845. W.Part1 = B
  3846. W.C0 = CFrame.new(0, -0.5, 0)
  3847. W.Parent = Limb
  3848. end
  3849. --[[
  3850. local Bar = Instance.new("Part")
  3851. Bar.TopSurface = 0
  3852. Bar.BottomSurface = 0
  3853. Bar.formFactor = "Symmetric"
  3854. Bar.Size = Vector3.new(1, 1, 1)
  3855. Bar.Transparency = 1
  3856. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  3857. Bar.Parent = playa
  3858. local Weld = Instance.new("Weld")
  3859. Weld.Part0 = Torso
  3860. Weld.Part1 = Bar
  3861. Weld.C0 = CFrame.new(0, 0.5, 0)
  3862. Weld.Parent = Torso
  3863. --]]
  3864. playa.Parent = Gibs
  3865. if kneef and explode == nil then
  3866. local coru = coroutine.wrap(function()
  3867. if playa:FindFirstChild(hitz) then
  3868. local uno = Instance.new('Part',workspace)
  3869. local dos = Instance.new('Part',workspace)
  3870. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  3871. dos.CFrame = kneef["big ass knife"].CFrame
  3872. local weld = Instance.new('Weld',kneef["big ass knife"])
  3873. weld.Part0 = playa:FindFirstChild(hitz)
  3874. weld.Part1 = kneef["big ass knife"]
  3875. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  3876. uno:Destroy()
  3877. dos:Destroy()
  3878. playa:FindFirstChild(hitz).Anchored = false
  3879. for i, v in pairs(kneef:GetChildren()) do
  3880. if v:IsA('BasePart') then
  3881. v.Anchored = false
  3882. end
  3883. end
  3884. if explode == nil or explode == false then
  3885. local bleedpart = Instance.new("Part", kneef)
  3886. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  3887. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  3888. bleedpart.CanCollide = false
  3889. bleedpart.Position = Head.Position + Vector3.new(0, 1, 0)
  3890. bleedpart.Transparency = 1
  3891.  
  3892. local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
  3893. bleedpartweld.Part0 = kneef["big ass knife"]
  3894. bleedpartweld.Part1 = bleedpart
  3895. bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
  3896. local coru = coroutine.wrap(function()
  3897. bleed(bleedpart)
  3898. end)
  3899. coru()
  3900. end
  3901. end
  3902. if zombiemode == false or override then
  3903. wait()
  3904. end
  3905. if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
  3906. kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
  3907. end
  3908. end)
  3909. coru()
  3910. end
  3911. if explode then
  3912. local movevector = CFrame.new(explode.Position,Torso.Position).lookVector
  3913. local repulse = Instance.new('BodyForce',Torso)
  3914. repulse.Force = movevector*10000 + Vector3.new(0,5000,0)
  3915. game.Debris:AddItem(repulse,0.05)
  3916. end
  3917. if charred and zombiemode == false then
  3918. for i,v in pairs(playa:GetChildren()) do
  3919. if v:IsA('BasePart') then
  3920. v.BrickColor = BrickColor.Black()
  3921. local fire = Instance.new('Fire',v)
  3922. fire.Size = 5
  3923. fire.Heat = 5
  3924. elseif v:IsA('Accessory') then
  3925. for a,c in pairs(v:GetChildren()) do
  3926. if c:IsA('BasePart') then
  3927. c.BrickColor = BrickColor.Black()
  3928. local fire = Instance.new('Fire',v)
  3929. fire.Size = 5
  3930. fire.Heat = 5
  3931. for o,p in pairs(c:GetChildren()) do
  3932. if p:IsA("SpecialMesh") then
  3933. p.TextureId = ""
  3934. end
  3935. end
  3936. end
  3937. end
  3938. end
  3939. end
  3940. end
  3941. if soundy then
  3942. local sound = Instance.new('Sound',Head)
  3943. sound.SoundId = 'rbxassetid://903640857'
  3944. sound.Volume = 1
  3945. sound:Play()
  3946. sound.Ended:connect(function()
  3947. sound:Destroy()
  3948. local ambient = Instance.new('Sound',Head)
  3949. ambient.Volume = 0.25
  3950. ambient.Looped = true
  3951. ambient.SoundId = 'rbxassetid://903641031'
  3952. ambient:Play()
  3953. end)
  3954. end
  3955. if override then
  3956. if (string.len(hum2.Parent.Name) < 9 or string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie") and zombiemode == true and #zombies < 10 then
  3957. local coru = coroutine.wrap(function()
  3958. wait(4.5)
  3959. hum2.Parent.Name = hum2.Parent.Name.."'s Zombie"
  3960. hum2.HipHeight = 0.2
  3961. wait(0.5)
  3962. killz(hum2.Parent,"Head",nil,nil,false,false,false,false)
  3963. end)
  3964. coru()
  3965. else
  3966. game:GetService('Debris'):AddItem(playa, 12)
  3967. end
  3968. else
  3969. hum2.Health = 0
  3970. table.insert(zombies,playa)
  3971. local attack = Instance.new('Sound',Head)
  3972. attack.SoundId = 'rbxassetid://903641424'
  3973. attack.Volume = 2
  3974. for i,v in pairs(playa:GetChildren()) do
  3975. if v:IsA('BasePart') and v:FindFirstChildOfClass('TouchTransmitter') == nil then
  3976. v.Touched:connect(function(hit)
  3977. if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') then
  3978. local found = false
  3979. if hit.Parent == player.Character then
  3980. found = true
  3981. end
  3982. for a,c in pairs(zombies) do
  3983. if c == hit.Parent then
  3984. found = true
  3985. end
  3986. end
  3987. if found == false and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then
  3988. attack:Play()
  3989. if hit.Parent:FindFirstChildOfClass('Humanoid').Health - 2 <= 0 then
  3990. hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
  3991. wait()
  3992. killz(hit.Parent,"Head")
  3993. else
  3994. hit.Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(2)
  3995. end
  3996. end
  3997. end
  3998. end)
  3999. end
  4000. end
  4001. local coru = coroutine.wrap(function()
  4002. wait(2)
  4003. for i,v in pairs(playa:GetChildren()) do
  4004. if v:IsA('BasePart') then
  4005. for a,c in pairs(v:GetChildren()) do
  4006. if c:IsA('Fire') or c:IsA('ParticleEmitter') then
  4007. c:Destroy()
  4008. end
  4009. end
  4010. elseif v:IsA('Accessory') then
  4011. for a,c in pairs(v:GetChildren()) do
  4012. if c:IsA('BasePart') then
  4013. for b,d in pairs(c:GetChildren()) do
  4014. if d:IsA('Fire') or d:IsA('ParticleEmitter') then
  4015. d:Destroy()
  4016. end
  4017. end
  4018. end
  4019. end
  4020. end
  4021. end
  4022. end)
  4023. coru()
  4024. end
  4025. end
  4026. end
  4027.  
  4028. mouse.KeyDown:connect(function(key)
  4029. if key == "t" and mouse.Target then
  4030. local hum = mouse.Target.Parent:FindFirstChildOfClass('Humanoid')
  4031. if hum == nil then hum = mouse.Target.Parent.Parent:FindFirstChildOfClass('Humanoid') end
  4032. if curpoint == nil then
  4033. if hum and hum.Parent:FindFirstChild('Head') then
  4034. curpart = hum.Parent.Head
  4035. else
  4036. curpart = nil
  4037. curpoint = mouse.Hit.p
  4038. end
  4039. if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
  4040. notify("ZOMBIE TARGET SET",false)
  4041. else
  4042. curpart = nil
  4043. curpoint = nil
  4044. if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
  4045. notify("ZOMBIE TARGET REMOVED",false)
  4046. end
  4047. elseif key == "y" then
  4048. for o,p in pairs(zombies) do
  4049. local coru = coroutine.wrap(function()
  4050. if p:FindFirstChild('Torso') then
  4051. killz(p,"Head",nil,nil,false,false,false,true)
  4052. else
  4053. table.remove(zombies,o)
  4054. end
  4055. end)
  4056. coru()
  4057. wait()
  4058. end
  4059. for i,v in pairs(zombies) do
  4060. table.remove(zombies,i)
  4061. end
  4062. if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
  4063. notify("ZOMBIES TERMINATED",false)
  4064. end
  4065. end)
  4066.  
  4067. function nub()
  4068. repeat wait() until player.Character and player.Character:FindFirstChild('Torso')
  4069. local me = player.Character
  4070. local point = me.HumanoidRootPart
  4071. local playergui = player.PlayerGui
  4072. local rightshoulderz = me.Torso["Right Shoulder"]:Clone()
  4073. local leftshoulderz = me.Torso["Left Shoulder"]:Clone()
  4074. local torsojoint = me.HumanoidRootPart["RootJoint"]:Clone()
  4075. local lefthipz = me.Torso["Left Hip"]:Clone()
  4076. local righthipz = me.Torso["Right Hip"]:Clone()
  4077. local mode = "kill"
  4078. local lerpz = false
  4079. local active = false
  4080. local acting = false
  4081. local hit = false
  4082. local canClick = true
  4083. local stabbing = false
  4084. local grabbing = false
  4085. local finishing = false
  4086. local kyssing = false
  4087. local canbackgroundmusic = true
  4088. local cancolorfilter = true
  4089. local spinboolean = false
  4090. local grabbed = nil
  4091. local doing = false
  4092. local rightshoulder = nil
  4093. local leftshoulder = nil
  4094. local headweld = nil
  4095. local knifeparts = {}
  4096. local usable = true
  4097. finishnum = 1
  4098.  
  4099. function notify(msg,forever)
  4100. local doit = coroutine.wrap(function()
  4101. local gui = Instance.new('ScreenGui',playergui)
  4102. gui.Name = "Notification"
  4103. local frame = Instance.new('Frame',gui)
  4104. frame.Position = UDim2.new(0,0,0,0)
  4105. frame.Size = UDim2.new(1,0,0.2,0)
  4106. frame.BackgroundTransparency = 1
  4107. local txt = Instance.new('TextLabel',frame)
  4108. txt.TextColor3 = Color3.new(255,255,255)
  4109. txt.TextStrokeColor3 = Color3.new(0, 0, 0)
  4110. txt.TextStrokeTransparency = 0
  4111. txt.BackgroundTransparency = 1
  4112. txt.Text = ""
  4113. txt.Size = UDim2.new(1,0,0.3,0)
  4114. txt.Position = UDim2.new(0,0,0.4,0)
  4115. txt.TextScaled = true
  4116. txt.Font = "Code"
  4117. txt.TextXAlignment = "Center"
  4118. local tap = Instance.new("Sound")
  4119. tap.Parent = gui
  4120. tap.SoundId = "rbxassetid://147982968"
  4121. tap.TimePosition = 0.1
  4122. local str = msg
  4123. local len = string.len(str)
  4124. for i=1,len do
  4125. txt.Text = string.sub(str,1,i)
  4126. pitche = math.random(20, 40)/10
  4127. tap.PlaybackSpeed = pitche
  4128. tap:Play()
  4129. wait(0.01)
  4130. end
  4131. if forever == false then
  4132. wait(1)
  4133. while txt.TextTransparency < 1 do
  4134. txt.TextTransparency = txt.TextTransparency + 0.1
  4135. txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1
  4136. wait(0.001)
  4137. end
  4138. gui:Destroy()
  4139. end
  4140. end)
  4141. doit()
  4142. end
  4143.  
  4144. wait(0.5)
  4145. notify("PRESS [Z] TO EQUIP KNIFE || Created by mustardfoot and Tollonis",true)
  4146. local laugh = Instance.new('Sound',me.Head)
  4147. laugh.SoundId = 'rbxassetid://378827985'
  4148. laugh.Name = "Psycho"
  4149. laugh.Volume = 5
  4150. -- 1 - bitch ass knife
  4151. local obj1 = Instance.new("Model")
  4152. obj1.Name = "bitch ass knife"
  4153. obj1.Parent = game.Workspace
  4154.  
  4155. -- 2 - Grab
  4156. local obj2 = Instance.new("Part")
  4157. obj2.CFrame = CFrame.new(Vector3.new(20.4525032, 6.14501333, -134.399979)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
  4158. obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4159. obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4160. obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4161. obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4162. obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4163. obj2.Material = Enum.Material.Concrete
  4164. obj2.Size = Vector3.new(1, 0.25, 0.25)
  4165. obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4166. obj2.Anchored = true
  4167. obj2.BrickColor = BrickColor.new("Black")
  4168. obj2.Friction = 0.30000001192093
  4169. obj2.Shape = Enum.PartType.Cylinder
  4170. obj2.Name = "Grab"
  4171. obj2.Parent = obj1
  4172.  
  4173. -- 3 - handletopcap
  4174. local obj3 = Instance.new("Part")
  4175. obj3.CFrame = CFrame.new(Vector3.new(19.9725456, 6.14502859, -134.399933)) * CFrame.Angles(0, 1.5707963705063, 0)
  4176. obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4177. obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4178. obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4179. obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4180. obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4181. obj3.Material = Enum.Material.Concrete
  4182. obj3.Size = Vector3.new(0.349999994, 0.349999994, 0.349999994)
  4183. obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4184. obj3.Anchored = true
  4185. obj3.BrickColor = BrickColor.new("Black")
  4186. obj3.Friction = 0.30000001192093
  4187. obj3.Shape = Enum.PartType.Ball
  4188. obj3.Name = "handletopcap"
  4189. obj3.Parent = obj1
  4190.  
  4191. -- 4 - handlebottomcap
  4192. local obj4 = Instance.new("Part")
  4193. obj4.CFrame = CFrame.new(Vector3.new(20.9725285, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0)
  4194. obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4195. obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4196. obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4197. obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4198. obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4199. obj4.Material = Enum.Material.Concrete
  4200. obj4.Size = Vector3.new(0.25, 0.25, 0.25)
  4201. obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4202. obj4.Anchored = true
  4203. obj4.BrickColor = BrickColor.new("Black")
  4204. obj4.Friction = 0.30000001192093
  4205. obj4.Shape = Enum.PartType.Ball
  4206. obj4.Name = "handlebottomcap"
  4207. obj4.Parent = obj1
  4208.  
  4209. -- 5 - handleguardmid
  4210. local obj5 = Instance.new("Part")
  4211. obj5.CFrame = CFrame.new(Vector3.new(19.9474983, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0)
  4212. obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4213. obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4214. obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4215. obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4216. obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4217. obj5.Material = Enum.Material.Concrete
  4218. obj5.Size = Vector3.new(0.349999994, 0.349999994, 0.100000001)
  4219. obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4220. obj5.Anchored = true
  4221. obj5.BrickColor = BrickColor.new("Black")
  4222. obj5.Friction = 0.30000001192093
  4223. obj5.Shape = Enum.PartType.Block
  4224. obj5.Name = "handleguardmid"
  4225. obj5.Parent = obj1
  4226.  
  4227. -- 6 - handleguardcap1
  4228. local obj6 = Instance.new("Part")
  4229. obj6.CFrame = CFrame.new(Vector3.new(19.9474983, 6.32502794, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
  4230. obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4231. obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4232. obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4233. obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4234. obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4235. obj6.Material = Enum.Material.Concrete
  4236. obj6.Size = Vector3.new(0.100000001, 0.349999994, 0.349999994)
  4237. obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4238. obj6.Anchored = true
  4239. obj6.BrickColor = BrickColor.new("Black")
  4240. obj6.Friction = 0.30000001192093
  4241. obj6.Shape = Enum.PartType.Cylinder
  4242. obj6.Name = "handleguardcap1"
  4243. obj6.Parent = obj1
  4244.  
  4245. -- 7 - handleguardcap2
  4246. local obj7 = Instance.new("Part")
  4247. obj7.CFrame = CFrame.new(Vector3.new(19.9474983, 5.97502899, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
  4248. obj7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4249. obj7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4250. obj7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4251. obj7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4252. obj7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4253. obj7.Material = Enum.Material.Concrete
  4254. obj7.Size = Vector3.new(0.100000009, 0.349999994, 0.349999994)
  4255. obj7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4256. obj7.Anchored = true
  4257. obj7.BrickColor = BrickColor.new("Black")
  4258. obj7.Friction = 0.30000001192093
  4259. obj7.Shape = Enum.PartType.Cylinder
  4260. obj7.Name = "handleguardcap2"
  4261. obj7.Parent = obj1
  4262.  
  4263. -- 8 - big ass knife
  4264. local obj8 = Instance.new("Part")
  4265. obj8.CFrame = CFrame.new(Vector3.new(18.4375095, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0)
  4266. obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4267. obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4268. obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4269. obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4270. obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4271. obj8.Material = Enum.Material.Metal
  4272. obj8.Size = Vector3.new(0.0500000007, 0.280000001, 0.839999795)
  4273. obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4274. obj8.Anchored = true
  4275. obj8.BrickColor = BrickColor.new("Lily white")
  4276. obj8.Friction = 0.30000001192093
  4277. obj8.Shape = Enum.PartType.Block
  4278. obj8.Name = "big ass knife"
  4279. obj8.Parent = obj1
  4280.  
  4281. -- 9 - Mesh
  4282. local obj9 = Instance.new("BlockMesh")
  4283. obj9.Scale = Vector3.new(0.5, 1, 1)
  4284. obj9.Parent = obj8
  4285.  
  4286. -- 10 - big ass knife
  4287. local obj10 = Instance.new("Part")
  4288. obj10.CFrame = CFrame.new(Vector3.new(19.7425137, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0)
  4289. obj10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4290. obj10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4291. obj10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4292. obj10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4293. obj10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4294. obj10.Material = Enum.Material.Metal
  4295. obj10.Size = Vector3.new(0.0500000007, 0.280000001, 0.289999962)
  4296. obj10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4297. obj10.Anchored = true
  4298. obj10.BrickColor = BrickColor.new("Lily white")
  4299. obj10.Friction = 0.30000001192093
  4300. obj10.Shape = Enum.PartType.Block
  4301. obj10.Name = "big ass knife"
  4302. obj10.Parent = obj1
  4303. local knife = obj10
  4304.  
  4305. -- 11 - Mesh
  4306. local obj11 = Instance.new("BlockMesh")
  4307. obj11.Scale = Vector3.new(0.5, 1, 1)
  4308. obj11.Parent = obj10
  4309.  
  4310. -- 12 - big ass knife
  4311. local obj12 = Instance.new("Part")
  4312. obj12.CFrame = CFrame.new(Vector3.new(19.1075306, 6.08502865, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0)
  4313. obj12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4314. obj12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4315. obj12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4316. obj12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4317. obj12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4318. obj12.Material = Enum.Material.Metal
  4319. obj12.Size = Vector3.new(0.0500000007, 0.159999996, 0.979999959)
  4320. obj12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4321. obj12.Anchored = true
  4322. obj12.BrickColor = BrickColor.new("Lily white")
  4323. obj12.Friction = 0.30000001192093
  4324. obj12.Shape = Enum.PartType.Block
  4325. obj12.Name = "big ass knife"
  4326. obj12.Parent = obj1
  4327.  
  4328. -- 13 - Mesh
  4329. local obj13 = Instance.new("BlockMesh")
  4330. obj13.Scale = Vector3.new(0.5, 1, 1)
  4331. obj13.Parent = obj12
  4332.  
  4333. -- 14 - serration
  4334. local obj14 = Instance.new("WedgePart")
  4335. obj14.CFrame = CFrame.new(Vector3.new(19.4963322, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  4336. obj14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4337. obj14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4338. obj14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4339. obj14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4340. obj14.Material = Enum.Material.Metal
  4341. obj14.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  4342. obj14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4343. obj14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4344. obj14.Anchored = true
  4345. obj14.BrickColor = BrickColor.new("Lily white")
  4346. obj14.Friction = 0.30000001192093
  4347. obj14.Name = "serration"
  4348. obj14.Parent = obj1
  4349.  
  4350. -- 15 - Mesh
  4351. local obj15 = Instance.new("BlockMesh")
  4352. obj15.Scale = Vector3.new(0.5, 1, 1)
  4353. obj15.Parent = obj14
  4354.  
  4355. -- 16 - serration
  4356. local obj16 = Instance.new("WedgePart")
  4357. obj16.CFrame = CFrame.new(Vector3.new(19.2763138, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  4358. obj16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4359. obj16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4360. obj16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4361. obj16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4362. obj16.Material = Enum.Material.Metal
  4363. obj16.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  4364. obj16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4365. obj16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4366. obj16.Anchored = true
  4367. obj16.BrickColor = BrickColor.new("Lily white")
  4368. obj16.Friction = 0.30000001192093
  4369. obj16.Name = "serration"
  4370. obj16.Parent = obj1
  4371.  
  4372. -- 17 - Mesh
  4373. local obj17 = Instance.new("BlockMesh")
  4374. obj17.Scale = Vector3.new(0.5, 1, 1)
  4375. obj17.Parent = obj16
  4376.  
  4377. -- 18 - serration
  4378. local obj18 = Instance.new("WedgePart")
  4379. obj18.CFrame = CFrame.new(Vector3.new(19.3863068, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  4380. obj18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4381. obj18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4382. obj18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4383. obj18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4384. obj18.Material = Enum.Material.Metal
  4385. obj18.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  4386. obj18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4387. obj18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4388. obj18.Anchored = true
  4389. obj18.BrickColor = BrickColor.new("Lily white")
  4390. obj18.Friction = 0.30000001192093
  4391. obj18.Name = "serration"
  4392. obj18.Parent = obj1
  4393.  
  4394. -- 19 - Mesh
  4395. local obj19 = Instance.new("BlockMesh")
  4396. obj19.Scale = Vector3.new(0.5, 1, 1)
  4397. obj19.Parent = obj18
  4398.  
  4399. -- 20 - serration
  4400. local obj20 = Instance.new("WedgePart")
  4401. obj20.CFrame = CFrame.new(Vector3.new(19.5963173, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  4402. obj20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4403. obj20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4404. obj20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4405. obj20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4406. obj20.Material = Enum.Material.Metal
  4407. obj20.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  4408. obj20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4409. obj20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4410. obj20.Anchored = true
  4411. obj20.BrickColor = BrickColor.new("Lily white")
  4412. obj20.Friction = 0.30000001192093
  4413. obj20.Name = "serration"
  4414. obj20.Parent = obj1
  4415.  
  4416. -- 21 - Mesh
  4417. local obj21 = Instance.new("BlockMesh")
  4418. obj21.Scale = Vector3.new(0.5, 1, 1)
  4419. obj21.Parent = obj20
  4420.  
  4421. -- 22 - serration
  4422. local obj22 = Instance.new("WedgePart")
  4423. obj22.CFrame = CFrame.new(Vector3.new(19.1663074, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  4424. obj22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4425. obj22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4426. obj22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4427. obj22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4428. obj22.Material = Enum.Material.Metal
  4429. obj22.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  4430. obj22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4431. obj22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4432. obj22.Anchored = true
  4433. obj22.BrickColor = BrickColor.new("Lily white")
  4434. obj22.Friction = 0.30000001192093
  4435. obj22.Name = "serration"
  4436. obj22.Parent = obj1
  4437.  
  4438. -- 23 - Mesh
  4439. local obj23 = Instance.new("BlockMesh")
  4440. obj23.Scale = Vector3.new(0.5, 1, 1)
  4441. obj23.Parent = obj22
  4442.  
  4443. -- 24 - serration
  4444. local obj24 = Instance.new("WedgePart")
  4445. obj24.CFrame = CFrame.new(Vector3.new(18.9663048, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  4446. obj24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4447. obj24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4448. obj24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4449. obj24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4450. obj24.Material = Enum.Material.Metal
  4451. obj24.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  4452. obj24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4453. obj24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4454. obj24.Anchored = true
  4455. obj24.BrickColor = BrickColor.new("Lily white")
  4456. obj24.Friction = 0.30000001192093
  4457. obj24.Name = "serration"
  4458. obj24.Parent = obj1
  4459.  
  4460. -- 25 - Mesh
  4461. local obj25 = Instance.new("BlockMesh")
  4462. obj25.Scale = Vector3.new(0.5, 1, 1)
  4463. obj25.Parent = obj24
  4464.  
  4465. -- 26 - serration
  4466. local obj26 = Instance.new("WedgePart")
  4467. obj26.CFrame = CFrame.new(Vector3.new(18.8562984, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  4468. obj26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4469. obj26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4470. obj26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4471. obj26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4472. obj26.Material = Enum.Material.Metal
  4473. obj26.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  4474. obj26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4475. obj26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4476. obj26.Anchored = true
  4477. obj26.BrickColor = BrickColor.new("Lily white")
  4478. obj26.Friction = 0.30000001192093
  4479. obj26.Name = "serration"
  4480. obj26.Parent = obj1
  4481.  
  4482. -- 27 - Mesh
  4483. local obj27 = Instance.new("BlockMesh")
  4484. obj27.Scale = Vector3.new(0.5, 1, 1)
  4485. obj27.Parent = obj26
  4486.  
  4487. -- 28 - serration
  4488. local obj28 = Instance.new("WedgePart")
  4489. obj28.CFrame = CFrame.new(Vector3.new(19.0663071, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  4490. obj28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4491. obj28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4492. obj28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4493. obj28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4494. obj28.Material = Enum.Material.Metal
  4495. obj28.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  4496. obj28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4497. obj28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4498. obj28.Anchored = true
  4499. obj28.BrickColor = BrickColor.new("Lily white")
  4500. obj28.Friction = 0.30000001192093
  4501. obj28.Name = "serration"
  4502. obj28.Parent = obj1
  4503.  
  4504. -- 29 - Mesh
  4505. local obj29 = Instance.new("BlockMesh")
  4506. obj29.Scale = Vector3.new(0.5, 1, 1)
  4507. obj29.Parent = obj28
  4508.  
  4509. -- 30 - knifetip1
  4510. local obj30 = Instance.new("WedgePart")
  4511. obj30.CFrame = CFrame.new(Vector3.new(18.0163059, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  4512. obj30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4513. obj30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4514. obj30.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4515. obj30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4516. obj30.Material = Enum.Material.Metal
  4517. obj30.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  4518. obj30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4519. obj30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4520. obj30.Anchored = true
  4521. obj30.BrickColor = BrickColor.new("Lily white")
  4522. obj30.Friction = 0.30000001192093
  4523. obj30.Name = "knifetip1"
  4524. obj30.Parent = obj1
  4525.  
  4526. -- 31 - Mesh
  4527. local obj31 = Instance.new("BlockMesh")
  4528. obj31.Scale = Vector3.new(0.5, 1, 1)
  4529. obj31.Parent = obj30
  4530.  
  4531. -- 32 - redstuff
  4532. local obj32 = Instance.new("Part")
  4533. obj32.CFrame = CFrame.new(Vector3.new(19.9470005, 5.9749999, -134.399994)) * CFrame.Angles(-0, 0, -0)
  4534. obj32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4535. obj32.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4536. obj32.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4537. obj32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4538. obj32.Material = Enum.Material.SmoothPlastic
  4539. obj32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4540. obj32.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014)
  4541. obj32.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4542. obj32.BrickColor = BrickColor.new("Institutional white")
  4543. obj32.Friction = 0.30000001192093
  4544. obj32.Shape = Enum.PartType.Cylinder
  4545. obj32.Name = "redstuff"
  4546. obj32.Anchored = true
  4547. obj32.Parent = obj1
  4548.  
  4549.  
  4550. -- 33 - redstuff
  4551. local obj33 = Instance.new("Part")
  4552. obj33.CFrame = CFrame.new(Vector3.new(18.9800053, 6.1400156, -134.404984)) * CFrame.Angles(-0, 0, -0)
  4553. obj33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4554. obj33.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4555. obj33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4556. obj33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4557. obj33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4558. obj33.Material = Enum.Material.SmoothPlastic
  4559. obj33.Size = Vector3.new(1.81999993, 0.100000001, 0.0500000007)
  4560. obj33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4561. obj33.BrickColor = BrickColor.new("Institutional white")
  4562. obj33.Friction = 0.30000001192093
  4563. obj33.Shape = Enum.PartType.Block
  4564. obj33.Name = "redstuff"
  4565. obj33.Anchored = true
  4566. obj33.Parent = obj1
  4567.  
  4568. -- 34 - redstuff
  4569. local obj34 = Instance.new("Part")
  4570. obj34.CFrame = CFrame.new(Vector3.new(19.9470005, 6.32499981, -134.399994)) * CFrame.Angles(-0, 0, -0)
  4571. obj34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4572. obj34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4573. obj34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4574. obj34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4575. obj34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4576. obj34.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014)
  4577. obj34.Material = Enum.Material.SmoothPlastic
  4578. obj34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4579. obj34.BrickColor = BrickColor.new("Institutional white")
  4580. obj34.Friction = 0.30000001192093
  4581. obj34.Shape = Enum.PartType.Cylinder
  4582. obj34.Name = "redstuff"
  4583. obj34.Anchored = true
  4584. obj34.Parent = obj1
  4585.  
  4586. -- 35 - redstuff
  4587. local obj35 = Instance.new("Part")
  4588. obj35.CFrame = CFrame.new(Vector3.new(19.8830166, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0)
  4589. obj35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4590. obj35.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4591. obj35.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4592. obj35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4593. obj35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4594. obj35.Size = Vector3.new(0.0500000007, 0.319999993, 0.319999993)
  4595. obj35.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4596. obj35.BrickColor = BrickColor.new("Institutional white")
  4597. obj35.Friction = 0.30000001192093
  4598. obj35.Shape = Enum.PartType.Cylinder
  4599. obj35.Material = Enum.Material.SmoothPlastic
  4600. obj35.Name = "redstuff"
  4601. obj35.Anchored = true
  4602. obj35.Parent = obj1
  4603.  
  4604. -- 36 - redstuff
  4605. local obj36 = Instance.new("Part")
  4606. obj36.CFrame = CFrame.new(Vector3.new(20.9430103, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0)
  4607. obj36.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4608. obj36.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4609. obj36.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4610. obj36.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4611. obj36.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4612. obj36.Material = Enum.Material.SmoothPlastic
  4613. obj36.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999)
  4614. obj36.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4615. obj36.BrickColor = BrickColor.new("Institutional white")
  4616. obj36.Friction = 0.30000001192093
  4617. obj36.Shape = Enum.PartType.Cylinder
  4618. obj36.Name = "redstuff"
  4619. obj36.Anchored = true
  4620. obj36.Parent = obj1
  4621.  
  4622. -- 37 - redstuff
  4623. local obj37 = Instance.new("WedgePart")
  4624. obj37.CFrame = CFrame.new(Vector3.new(18.066288, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  4625. obj37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4626. obj37.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4627. obj37.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4628. obj37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4629. obj37.Material = Enum.Material.SmoothPlastic
  4630. obj37.Size = Vector3.new(0.0500000007, 0.0700000003, 0.0700000003)
  4631. obj37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4632. obj37.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4633. obj37.Anchored = true
  4634. obj37.BrickColor = BrickColor.new("Institutional white")
  4635. obj37.Friction = 0.30000001192093
  4636. obj37.Name = "redstuff"
  4637. obj37.Anchored = true
  4638. obj37.Parent = obj1
  4639.  
  4640. -- 38 - redstuff
  4641. local obj38 = Instance.new("Part")
  4642. obj38.CFrame = CFrame.new(Vector3.new(20.1230125, 6.14501476, -134.399979)) * CFrame.Angles(-0, 0, -0)
  4643. obj38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4644. obj38.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4645. obj38.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4646. obj38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4647. obj38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4648. obj38.Material = Enum.Material.SmoothPlastic
  4649. obj38.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999)
  4650. obj38.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4651. obj38.BrickColor = BrickColor.new("Institutional white")
  4652. obj38.Friction = 0.30000001192093
  4653. obj38.Shape = Enum.PartType.Cylinder
  4654. obj38.Name = "redstuff"
  4655. obj38.Anchored = true
  4656. obj38.Parent = obj1
  4657.  
  4658. local function recurse(objnum)
  4659. table.insert(knifeparts,{objnum,objnum.Parent})
  4660. for i,v in pairs(objnum:GetChildren()) do
  4661. recurse(v)
  4662. end
  4663. end
  4664.  
  4665. recurse(obj1)
  4666.  
  4667. local audio = Instance.new('Sound',knife)
  4668. audio.Volume = 2
  4669.  
  4670. local audio2 = Instance.new('Sound',knife)
  4671. audio2.Volume = 2
  4672.  
  4673. local holdpart = Instance.new("Part")
  4674. holdpart.Parent = me
  4675. holdpart.Size = Vector3.new(0.4, 0.4, 0.2)
  4676. holdpart.Position = me.Head.Position + Vector3.new(0, 1, 0)
  4677. holdpart.BrickColor = BrickColor.new("Burnt Sienna")
  4678.  
  4679. local previous = nil
  4680. for i,v in pairs(obj1:GetChildren()) do
  4681. if v:IsA('BasePart') then
  4682. if previous then
  4683. local weld = Instance.new('Weld',v)
  4684. weld.Part0 = v
  4685. weld.Part1 = previous
  4686. weld.C0 = v.CFrame:inverse() * previous.CFrame
  4687. previous.Anchored = false
  4688. previous.CanCollide = false
  4689. local vee = v
  4690. weld.AncestryChanged:connect(function(mez,par)
  4691. wait()
  4692. weld.Parent = vee
  4693. end)
  4694. end
  4695. previous = v
  4696. end
  4697. end
  4698. previous.Anchored = false
  4699. previous.CanCollide = false
  4700.  
  4701. local holdpartweld = Instance.new("Weld", me.Torso)
  4702. holdpartweld.Part0 = me.Torso
  4703. holdpartweld.Part1 = holdpart
  4704. holdpartweld.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1, -0.8, 0.15)
  4705.  
  4706. holdpartweld.AncestryChanged:connect(function(mez,par)
  4707. if par ~= me.Torso then
  4708. wait()
  4709. holdpartweld.Parent = me.Torso
  4710. end
  4711. end)
  4712.  
  4713. local knifeweld = Instance.new('Weld',me.Torso)
  4714. knifeweld.Part0 = me.Torso
  4715. knifeweld.Part1 = obj2
  4716. knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55)
  4717. knifeweld.AncestryChanged:connect(function(mez,par)
  4718. if par ~= me.Torso then
  4719. wait()
  4720. knifeweld.Parent = me.Torso
  4721. end
  4722. end)
  4723. local ScreenGui = Instance.new("ScreenGui")
  4724. local CustomizeGui = Instance.new("Frame")
  4725. local Customize = Instance.new("TextLabel")
  4726. local ClosestColor = Instance.new("TextLabel")
  4727. local Line = Instance.new("TextLabel")
  4728. local Color = Instance.new("ImageLabel")
  4729. local Close = Instance.new("TextButton")
  4730. local RedHue = Instance.new("TextLabel")
  4731. local GreenHue = Instance.new("TextLabel")
  4732. local RedInput = Instance.new("TextBox")
  4733. local BlueHue = Instance.new("TextLabel")
  4734. local GreenInput = Instance.new("TextBox")
  4735. local TransInput = Instance.new("TextBox")
  4736. local BlueInput = Instance.new("TextBox")
  4737. local Message = Instance.new("TextLabel")
  4738. local Message2 = Instance.new("TextLabel")
  4739. local TrailTransparency = Instance.new("TextLabel")
  4740. local TrailInput = Instance.new("TextBox")
  4741. local MusicOption = Instance.new("TextButton")
  4742. local ScreenOption = Instance.new("TextButton")
  4743. local ScreenOptionTxt = Instance.new("TextLabel")
  4744. local MusicOptionTxt = Instance.new("TextLabel")
  4745.  
  4746. -- Properties
  4747.  
  4748. ScreenGui.Parent = playergui
  4749.  
  4750. CustomizeGui.Name = "CustomizeGui"
  4751. CustomizeGui.Parent = ScreenGui
  4752. CustomizeGui.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  4753. CustomizeGui.BackgroundTransparency = 0.5
  4754. CustomizeGui.BorderColor3 = Color3.new(0, 0, 0)
  4755. CustomizeGui.BorderSizePixel = 2
  4756. CustomizeGui.Position = UDim2.new(0, 0, 0.5, 0)
  4757. CustomizeGui.Size = UDim2.new(0.449999988, 0, 0.449999988, 0)
  4758.  
  4759. Customize.Name = "Customize"
  4760. Customize.Parent = CustomizeGui
  4761. Customize.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  4762. Customize.BackgroundTransparency = 0.75
  4763. Customize.BorderSizePixel = 0
  4764. Customize.Size = UDim2.new(1, 0, 0.200000003, 0)
  4765. Customize.FontSize = Enum.FontSize.Size28
  4766. Customize.Text = "ACCENT COLOR CUSTOMIZATION"
  4767. Customize.TextColor3 = Color3.new(1, 1, 1)
  4768. Customize.TextScaled = true
  4769. Customize.TextSize = 25
  4770. Customize.TextStrokeTransparency = 0.5
  4771. Customize.TextWrapped = true
  4772.  
  4773. ClosestColor.Name = "ClosestColor"
  4774. ClosestColor.Parent = CustomizeGui
  4775. ClosestColor.BackgroundColor3 = Color3.new(1, 1, 1)
  4776. ClosestColor.BackgroundTransparency = 1
  4777. ClosestColor.Position = UDim2.new(0, 0, 0.850000024, 0)
  4778. ClosestColor.Size = UDim2.new(1, 0, 0.150000006, 0)
  4779. ClosestColor.Font = Enum.Font.SourceSansLight
  4780. ClosestColor.FontSize = Enum.FontSize.Size32
  4781. ClosestColor.Text = "Your color is closest to Institutional White"
  4782. ClosestColor.TextColor3 = Color3.new(1, 1, 1)
  4783. ClosestColor.TextSize = 30
  4784. ClosestColor.TextStrokeTransparency = 0.5
  4785.  
  4786. Line.Name = "Line"
  4787. Line.Parent = CustomizeGui
  4788. Line.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  4789. Line.BackgroundTransparency = 0.5
  4790. Line.BorderColor3 = Color3.new(0, 0, 0)
  4791. Line.BorderSizePixel = 0
  4792. Line.Position = UDim2.new(0, 0, 0.200000003, 0)
  4793. Line.Size = UDim2.new(1, 0, 0.0299999993, 0)
  4794. Line.Font = Enum.Font.SourceSans
  4795. Line.FontSize = Enum.FontSize.Size14
  4796. Line.Text = " "
  4797. Line.TextSize = 14
  4798.  
  4799. Color.Name = "Color"
  4800. Color.Parent = CustomizeGui
  4801. Color.BackgroundColor3 = Color3.new(1, 1, 1)
  4802. Color.BorderSizePixel = 0
  4803. Color.Position = UDim2.new(0.699999988, 0, 0.419999987, 0)
  4804. Color.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
  4805. Color.SizeConstraint = Enum.SizeConstraint.RelativeYY
  4806.  
  4807. MusicOption.Parent = CustomizeGui
  4808. MusicOption.Name = "MusicOption"
  4809. MusicOption.BackgroundColor3 = Color3.new(0, 1, 0)
  4810. MusicOption.BorderSizePixel = 1
  4811. MusicOption.Position = UDim2.new(0.01, 0, -0.12, 0)
  4812. MusicOption.Size = UDim2.new(0.05, 0, 0.1, 0)
  4813. MusicOption.Text = ""
  4814. MusicOption.BackgroundTransparency = 0.5
  4815.  
  4816. ScreenOption.Parent = CustomizeGui
  4817. ScreenOption.Name = "ScreenOption"
  4818. ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0)
  4819. ScreenOption.BorderSizePixel = 1
  4820. ScreenOption.Position = UDim2.new(0.01, 0, -0.23, 0)
  4821. ScreenOption.Size = UDim2.new(0.05, 0, 0.1, 0)
  4822. ScreenOption.Text = ""
  4823. ScreenOption.BackgroundTransparency = 0.5
  4824.  
  4825. ScreenOptionTxt.Name = "ScreenOptionTxt"
  4826. ScreenOptionTxt.Parent = CustomizeGui
  4827. ScreenOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  4828. ScreenOptionTxt.BackgroundTransparency = 1
  4829. ScreenOptionTxt.Position = UDim2.new(0.07, 0, -0.23, 0)
  4830. ScreenOptionTxt.Size = UDim2.new(1, 0, 0.07, 0)
  4831. ScreenOptionTxt.Font = Enum.Font.SourceSans
  4832. ScreenOptionTxt.FontSize = Enum.FontSize.Size24
  4833. ScreenOptionTxt.Text = "Psychopath Red Filter"
  4834. ScreenOptionTxt.TextColor3 = Color3.new(1, 1, 1)
  4835. ScreenOptionTxt.TextScaled = true
  4836. ScreenOptionTxt.TextSize = 20
  4837. ScreenOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0)
  4838. ScreenOptionTxt.TextStrokeTransparency = 0.5
  4839. ScreenOptionTxt.TextWrapped = true
  4840. ScreenOptionTxt.TextXAlignment = "Left"
  4841.  
  4842. MusicOptionTxt.Name = "MusicOptionTxt"
  4843. MusicOptionTxt.Parent = CustomizeGui
  4844. MusicOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  4845. MusicOptionTxt.BackgroundTransparency = 1
  4846. MusicOptionTxt.Position = UDim2.new(0.07, 0, -0.12, 0)
  4847. MusicOptionTxt.Size = UDim2.new(1, 0, 0.07, 0)
  4848. MusicOptionTxt.Font = Enum.Font.SourceSans
  4849. MusicOptionTxt.FontSize = Enum.FontSize.Size24
  4850. MusicOptionTxt.Text = "Psychopath Background Music"
  4851. MusicOptionTxt.TextColor3 = Color3.new(1, 1, 1)
  4852. MusicOptionTxt.TextScaled = true
  4853. MusicOptionTxt.TextSize = 20
  4854. MusicOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0)
  4855. MusicOptionTxt.TextStrokeTransparency = 0.5
  4856. MusicOptionTxt.TextWrapped = true
  4857. MusicOptionTxt.TextXAlignment = "Left"
  4858.  
  4859. Close.Name = "Close"
  4860. Close.Parent = CustomizeGui
  4861. Close.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  4862. Close.BackgroundTransparency = 0.5
  4863. Close.BorderColor3 = Color3.new(0, 0, 0)
  4864. Close.BorderSizePixel = 2
  4865. Close.Position = UDim2.new(1.005, 0, 0, 0)
  4866. Close.Size = UDim2.new(0.100000001, 0, 0.2, 0)
  4867. Close.Font = Enum.Font.SourceSans
  4868. Close.FontSize = Enum.FontSize.Size14
  4869. Close.Text = "X"
  4870. Close.TextColor3 = Color3.new(1, 1, 1)
  4871. Close.TextScaled = true
  4872. Close.TextSize = 14
  4873. Close.TextStrokeTransparency = 0
  4874. Close.TextWrapped = true
  4875.  
  4876. RedHue.Name = "RedHue"
  4877. RedHue.Parent = CustomizeGui
  4878. RedHue.BackgroundColor3 = Color3.new(1, 1, 1)
  4879. RedHue.BackgroundTransparency = 1
  4880. RedHue.Position = UDim2.new(0.100000001, 0, 0.400000006, 0)
  4881. RedHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  4882. RedHue.Font = Enum.Font.SourceSans
  4883. RedHue.FontSize = Enum.FontSize.Size24
  4884. RedHue.Text = "RED Hue Value: "
  4885. RedHue.TextColor3 = Color3.new(1, 1, 1)
  4886. RedHue.TextScaled = true
  4887. RedHue.TextSize = 20
  4888. RedHue.TextStrokeColor3 = Color3.new(1, 0, 0)
  4889. RedHue.TextStrokeTransparency = 0.75
  4890. RedHue.TextWrapped = true
  4891.  
  4892. GreenHue.Name = "GreenHue"
  4893. GreenHue.Parent = CustomizeGui
  4894. GreenHue.BackgroundColor3 = Color3.new(1, 1, 1)
  4895. GreenHue.BackgroundTransparency = 1
  4896. GreenHue.Position = UDim2.new(0.100000001, 0, 0.5, 0)
  4897. GreenHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  4898. GreenHue.Font = Enum.Font.SourceSans
  4899. GreenHue.FontSize = Enum.FontSize.Size24
  4900. GreenHue.Text = "GREEN Hue Value:"
  4901. GreenHue.TextColor3 = Color3.new(1, 1, 1)
  4902. GreenHue.TextScaled = true
  4903. GreenHue.TextSize = 20
  4904. GreenHue.TextStrokeColor3 = Color3.new(0, 1, 0)
  4905. GreenHue.TextStrokeTransparency = 0.75
  4906. GreenHue.TextWrapped = true
  4907.  
  4908. RedInput.Name = "RedInput"
  4909. RedInput.Parent = CustomizeGui
  4910. RedInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  4911. RedInput.BackgroundTransparency = 0.5
  4912. RedInput.BorderSizePixel = 0
  4913. RedInput.Position = UDim2.new(0.419999987, 0, 0.425000007, 0)
  4914. RedInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
  4915. RedInput.Font = Enum.Font.SourceSans
  4916. RedInput.FontSize = Enum.FontSize.Size14
  4917. RedInput.Text = "255"
  4918. RedInput.TextColor3 = Color3.new(1, 1, 1)
  4919. RedInput.TextSize = 14
  4920. RedInput.TextStrokeTransparency = 0
  4921.  
  4922. BlueHue.Name = "BlueHue"
  4923. BlueHue.Parent = CustomizeGui
  4924. BlueHue.BackgroundColor3 = Color3.new(1, 1, 1)
  4925. BlueHue.BackgroundTransparency = 1
  4926. BlueHue.Position = UDim2.new(0.100000001, 0, 0.600000024, 0)
  4927. BlueHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  4928. BlueHue.Font = Enum.Font.SourceSans
  4929. BlueHue.FontSize = Enum.FontSize.Size24
  4930. BlueHue.Text = "BLUE Hue Value:"
  4931. BlueHue.TextColor3 = Color3.new(1, 1, 1)
  4932. BlueHue.TextScaled = true
  4933. BlueHue.TextSize = 20
  4934. BlueHue.TextStrokeColor3 = Color3.new(0, 0, 1)
  4935. BlueHue.TextStrokeTransparency = 0.75
  4936. BlueHue.TextWrapped = true
  4937.  
  4938. TrailTransparency.Name = "TrailTransparency"
  4939. TrailTransparency.Parent = CustomizeGui
  4940. TrailTransparency.BackgroundColor3 = Color3.new(1, 1, 1)
  4941. TrailTransparency.BackgroundTransparency = 1
  4942. TrailTransparency.Position = UDim2.new(0.090000001, 0, 0.700000024, 0)
  4943. TrailTransparency.Size = UDim2.new(0.310000012, 0, 0.100000001, 0)
  4944. TrailTransparency.Font = Enum.Font.SourceSans
  4945. TrailTransparency.FontSize = Enum.FontSize.Size24
  4946. TrailTransparency.Text = "Trail Transparency:"
  4947. TrailTransparency.TextColor3 = Color3.new(1, 1, 1)
  4948. TrailTransparency.TextScaled = true
  4949. TrailTransparency.TextSize = 20
  4950. TrailTransparency.TextStrokeColor3 = Color3.new(0, 0, 0)
  4951. TrailTransparency.TextWrapped = true
  4952.  
  4953. GreenInput.Name = "GreenInput"
  4954. GreenInput.Parent = CustomizeGui
  4955. GreenInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  4956. GreenInput.BackgroundTransparency = 0.5
  4957. GreenInput.BorderSizePixel = 0
  4958. GreenInput.Position = UDim2.new(0.419999987, 0, 0.524999976, 0)
  4959. GreenInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
  4960. GreenInput.Font = Enum.Font.SourceSans
  4961. GreenInput.FontSize = Enum.FontSize.Size14
  4962. GreenInput.Text = "255"
  4963. GreenInput.TextColor3 = Color3.new(1, 1, 1)
  4964. GreenInput.TextSize = 14
  4965. GreenInput.TextStrokeTransparency = 0
  4966.  
  4967. TransInput.Name = "TransInput"
  4968. TransInput.Parent = CustomizeGui
  4969. TransInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  4970. TransInput.BackgroundTransparency = 0.5
  4971. TransInput.BorderSizePixel = 0
  4972. TransInput.Position = UDim2.new(0.419999987, 0, 0.725000024, 0)
  4973. TransInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
  4974. TransInput.Font = Enum.Font.SourceSans
  4975. TransInput.FontSize = Enum.FontSize.Size14
  4976. TransInput.Text = "50"
  4977. TransInput.TextColor3 = Color3.new(1, 1, 1)
  4978. TransInput.TextSize = 14
  4979. TransInput.TextStrokeTransparency = 0
  4980.  
  4981. BlueInput.Name = "BlueInput"
  4982. BlueInput.Parent = CustomizeGui
  4983. BlueInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  4984. BlueInput.BackgroundTransparency = 0.5
  4985. BlueInput.BorderSizePixel = 0
  4986. BlueInput.Position = UDim2.new(0.419999987, 0, 0.625, 0)
  4987. BlueInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
  4988. BlueInput.Font = Enum.Font.SourceSans
  4989. BlueInput.FontSize = Enum.FontSize.Size14
  4990. BlueInput.Text = "255"
  4991. BlueInput.TextColor3 = Color3.new(1, 1, 1)
  4992. BlueInput.TextSize = 14
  4993. BlueInput.TextStrokeTransparency = 0
  4994.  
  4995. Message.Name = "Message"
  4996. Message.Parent = CustomizeGui
  4997. Message.BackgroundColor3 = Color3.new(1, 1, 1)
  4998. Message.BackgroundTransparency = 1
  4999. Message.Position = UDim2.new(0, 0, 0.2500004, 0)
  5000. Message.Size = UDim2.new(1, 0, 0.100000006, 0)
  5001. Message.Font = Enum.Font.SourceSans
  5002. Message.FontSize = Enum.FontSize.Size18
  5003. Message.Text = "|| Inputs must be values ||"
  5004. Message.TextColor3 = Color3.new(1, 1, 1)
  5005. Message.TextScaled = true
  5006. Message.TextSize = 15
  5007. Message.TextStrokeTransparency = 0.75
  5008. Message.TextWrapped = true
  5009.  
  5010. local attun = Instance.new("Attachment", knife)
  5011. attun.Position = Vector3.new(0, 0.1, -1.75)
  5012. local atdos = Instance.new("Attachment", knife)
  5013. atdos.Position = Vector3.new(0, -0.1, 0.5)
  5014. local trail = Instance.new("Trail", knife)
  5015. trail.LightEmission = 0.5
  5016. trail.Attachment0 = attun
  5017. trail.Attachment1 = atdos
  5018. trail.Lifetime = 0.175
  5019. trail.MinLength = 0
  5020. trail.Enabled = false
  5021.  
  5022. function updatez()
  5023. local rc = tonumber(RedInput.Text)
  5024. local gc = tonumber(GreenInput.Text)
  5025. local bc = tonumber(BlueInput.Text)
  5026. local tcupd = tonumber(TransInput.Text)
  5027. if rc == nil then
  5028. rc = 0
  5029. end
  5030. if gc == nil then
  5031. gc = 0
  5032. end
  5033. if bc == nil then
  5034. bc = 0
  5035. end
  5036. if tcupd == nil then
  5037. tcupd = 0
  5038. end
  5039. local tc = tcupd/100
  5040. Color.BackgroundColor3 = Color3.fromRGB(rc,gc,bc)
  5041. ClosestColor.Text = "Your color is closest to "..tostring(BrickColor.new(Color3.fromRGB(rc,gc,bc)))
  5042. obj32.Color = Color3.fromRGB(rc,gc,bc)
  5043. obj33.Color = Color3.fromRGB(rc,gc,bc)
  5044. obj34.Color = Color3.fromRGB(rc,gc,bc)
  5045. obj35.Color = Color3.fromRGB(rc,gc,bc)
  5046. obj36.Color = Color3.fromRGB(rc,gc,bc)
  5047. obj37.Color = Color3.fromRGB(rc,gc,bc)
  5048. obj38.Color = Color3.fromRGB(rc,gc,bc)
  5049. trail.Color = ColorSequence.new(Color3.fromRGB(rc, gc, bc))
  5050. trail.Transparency = NumberSequence.new(tc)
  5051. TrailTransparency.TextStrokeTransparency = tc
  5052. end
  5053.  
  5054. RedInput.Changed:connect(function(val)
  5055. if val == "Text" and tonumber(RedInput.Text) then
  5056. RedInput.Text = tostring(tonumber(RedInput.Text))
  5057. if tonumber(RedInput.Text) > 255 then
  5058. RedInput.Text = '255'
  5059. end
  5060. elseif val == "Text" then
  5061. RedInput.Text = ""
  5062. end
  5063. updatez()
  5064. end)
  5065. GreenInput.Changed:connect(function(val)
  5066. if val == "Text" and tonumber(GreenInput.Text) then
  5067. GreenInput.Text = tostring(tonumber(GreenInput.Text))
  5068. if tonumber(GreenInput.Text) > 255 then
  5069. GreenInput.Text = '255'
  5070. end
  5071. elseif val == "Text" then
  5072. GreenInput.Text = ""
  5073. end
  5074. updatez()
  5075. end)
  5076. BlueInput.Changed:connect(function(val)
  5077. if val == "Text" and tonumber(BlueInput.Text) then
  5078. BlueInput.Text = tostring(tonumber(BlueInput.Text))
  5079. if tonumber(BlueInput.Text) > 255 then
  5080. BlueInput.Text = '255'
  5081. end
  5082. elseif val == "Text" then
  5083. BlueInput.Text = ""
  5084. end
  5085. updatez()
  5086. end)
  5087. TransInput.Changed:connect(function(val)
  5088. if val == "Text" and tonumber(TransInput.Text) then
  5089. TransInput.Text = tostring(tonumber(TransInput.Text))
  5090. if tonumber(TransInput.Text) > 100 then
  5091. TransInput.Text = '100'
  5092. end
  5093. elseif val == "Text" then
  5094. TransInput.Text = ""
  5095. end
  5096. updatez()
  5097. end)
  5098.  
  5099. Close.MouseButton1Click:connect(function()
  5100. if lerpz == false then
  5101. lerpz = true
  5102. if Close.Text ~= "+" then
  5103. CustomizeGui:TweenPosition(UDim2.new(-0.45,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2))
  5104. for i=1,10 do
  5105. Close.TextTransparency = i/10
  5106. Close.TextStrokeTransparency = i/10
  5107. wait(0.01)
  5108. end
  5109. Close.Text = "+"
  5110. for i=1,10 do
  5111. Close.TextTransparency = (10-i+1)/10
  5112. Close.TextStrokeTransparency = (10-i+1)/10
  5113. wait(0.01)
  5114. end
  5115. lerpz = false
  5116. else
  5117. CustomizeGui:TweenPosition(UDim2.new(0,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2))
  5118. for i=1,10 do
  5119. Close.TextTransparency = i/10
  5120. Close.TextStrokeTransparency = i/10
  5121. wait(0.01)
  5122. end
  5123. Close.Text = "X"
  5124. for i=1,10 do
  5125. Close.TextTransparency = (10-i+1)/10
  5126. Close.TextStrokeTransparency = (10-i+1)/10
  5127. wait(0.01)
  5128. end
  5129. lerpz = false
  5130. end
  5131. end
  5132. end)
  5133.  
  5134. MusicOption.MouseButton1Click:connect(function()
  5135. if canbackgroundmusic == true then
  5136. canbackgroundmusic = false
  5137. MusicOption.BackgroundColor3 = Color3.new(1, 0, 0)
  5138. else
  5139. canbackgroundmusic = true
  5140. MusicOption.BackgroundColor3 = Color3.new(0, 1, 0)
  5141. end
  5142. end)
  5143.  
  5144. ScreenOption.MouseButton1Click:connect(function()
  5145. if cancolorfilter == true then
  5146. cancolorfilter = false
  5147. ScreenOption.BackgroundColor3 = Color3.new(1, 0, 0)
  5148. else
  5149. cancolorfilter = true
  5150. ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0)
  5151. end
  5152. end)
  5153.  
  5154. function equip()
  5155. local doit = coroutine.wrap(function()
  5156. if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then
  5157. acting = true
  5158. local arm = me["Right Arm"]
  5159. local arm2 = me["Left Arm"]
  5160. local tors = me.Torso
  5161. local weld = Instance.new('Weld',arm)
  5162. weld.Part0 = arm
  5163. weld.Part1 = tors
  5164. weld.C0 = CFrame.new(-1.5,0,0)
  5165. local weld2 = Instance.new("Weld", arm2)
  5166. weld2.Part0 = arm2
  5167. weld2.Part1 = tors
  5168. weld2.C0 = CFrame.new(1.5, 0, 0)
  5169. wait(0.001)
  5170. for i = 0,1,0.1 do
  5171. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
  5172. weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i)
  5173. weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i)
  5174. wait(0.001)
  5175. end
  5176. wait(0.15)
  5177. trail.Enabled = true
  5178. for i = 0,1,0.1 do
  5179. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
  5180. weld.C0 = weld.C0:lerp(CFrame.new(-0.5,2,0)*CFrame.Angles(0,0,-1.55),i)
  5181. weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i)
  5182. wait(0.001)
  5183. end
  5184. trail.Enabled = false
  5185. wait(0.2)
  5186. for i = 0,1,0.1 do
  5187. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
  5188. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i)
  5189. wait(0.001)
  5190. end
  5191. weld:Destroy()
  5192. weld2:Remove()
  5193. if tors ~= nil then
  5194. rightshoulderz:Clone().Parent = me.Torso
  5195. leftshoulderz:Clone().Parent = me.Torso
  5196. end
  5197. end
  5198. acting = false
  5199. end)
  5200. doit()
  5201. end
  5202.  
  5203. function kysnigga()
  5204. if kyssing == true then return end
  5205. kyssing = true
  5206. acting = true
  5207. decearingTHING = math.random(1, 100)
  5208. if decearingTHING == 4 then
  5209. decearingEGG = Instance.new("Sound", me.Torso)
  5210. decearingEGG.SoundId = "rbxassetid://138084557"
  5211. decearingEGG.PlaybackSpeed = math.random(10, 12) / 10
  5212. decearingEGG.TimePosition = 0.2
  5213. decearingEGG:Play()
  5214. end
  5215. me.Humanoid.WalkSpeed = 0
  5216. me.Humanoid.JumpPower = 0
  5217.  
  5218. local rightarm = Instance.new("Weld", me.Torso)
  5219. rightarm.Part0 = me.Torso
  5220. rightarm.Part1 = me["Right Arm"]
  5221. rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0)
  5222.  
  5223. local leftarm = Instance.new("Weld", me.Torso)
  5224. leftarm.Part0 = me.Torso
  5225. leftarm.Part1 = me["Left Arm"]
  5226. leftarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0)
  5227.  
  5228. local tors = Instance.new("Weld", me.HumanoidRootPart)
  5229. tors.Part0 = me.HumanoidRootPart
  5230. tors.Part1 = me.Torso
  5231. tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  5232.  
  5233. local rightleg = Instance.new("Weld", me.Torso)
  5234. rightleg.Part0 = me.Torso
  5235. rightleg.Part1 = me["Right Leg"]
  5236. rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0)
  5237.  
  5238. local leftleg = Instance.new("Weld", me.Torso)
  5239. leftleg.Part0 = me.Torso
  5240. leftleg.Part1 = me["Left Leg"]
  5241. leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0)
  5242.  
  5243. for i = 0, 1, 0.03 do
  5244. tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-10), 0, 0), i)
  5245. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i)
  5246. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i)
  5247. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), i)
  5248. wait()
  5249. end
  5250. for i = 0, 1, 0.03 do
  5251. tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(5), 0, 0), i)
  5252. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i)
  5253. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i)
  5254. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(-35)), i)
  5255. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(35)), i)
  5256. knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i)
  5257. wait()
  5258. end
  5259. local bleedzer = Instance.new('Part',me.Torso)
  5260. bleedzer.CFrame = me.Torso.CFrame
  5261. bleedzer.Size = Vector3.new(0.1,0.1,0.1)
  5262. bleedzer.Transparency = 1
  5263. bleedzer.CanCollide = false
  5264. local weld = Instance.new('Weld',bleedzer)
  5265. weld.Part0 = bleedzer
  5266. weld.Part1 = me.Torso
  5267. weld.C0= CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,0)
  5268. local woodpekker = coroutine.wrap(function()
  5269. bleed(bleedzer)
  5270. end)
  5271. woodpekker()
  5272. audio.SoundId = "rbxassetid://199977936"
  5273. audio.PlaybackSpeed = 1.5
  5274. audio:Play()
  5275. audio2.SoundId = "rbxassetid://220834019"
  5276. audio2.PlaybackSpeed = 1
  5277. audio2.TimePosition = 0.1
  5278. audio2:Play()
  5279. for i = 0, 1, 0.1 do
  5280. tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i)
  5281. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
  5282. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
  5283. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i)
  5284. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i)
  5285. knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i)
  5286. wait()
  5287. end
  5288. wait(1)
  5289. audio.SoundId = "rbxassetid://210943487"
  5290. audio.TimePosition = 0.2
  5291. audio.PlaybackSpeed = 0.75
  5292. audio:Play()
  5293. for i = 0, 1, 0.03 do
  5294. tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i)
  5295. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
  5296. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
  5297. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i)
  5298. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i)
  5299. knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i)
  5300. wait()
  5301. end
  5302. for i = 0, 1, 0.03 do
  5303. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i)
  5304. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i)
  5305. knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i)
  5306. wait()
  5307. end
  5308. wait(0.24)
  5309. if me:FindFirstChildOfClass('Humanoid') then
  5310. me:FindFirstChildOfClass('Humanoid').Health = 0
  5311. end
  5312. wait(0.01)
  5313. killz(me,me.Torso.Name,nil,nil,true)
  5314.  
  5315. tors:Remove()
  5316. rightarm:Remove()
  5317. rightleg:Remove()
  5318. leftleg:Remove()
  5319. leftarm:Remove()
  5320. rightshoulderz:Clone().Parent = me.Torso
  5321. leftshoulderz:Clone().Parent = me.Torso
  5322. torsojoint:Clone().Parent = me.HumanoidRootPart
  5323. lefthipz:Clone().Parent = me.Torso
  5324. righthipz:Clone().Parent = me.Torso
  5325. me.Humanoid.JumpPower = 50
  5326. me.Humanoid.WalkSpeed = 16
  5327. acting = false
  5328. canClick = true
  5329. doing = false
  5330. hit = false
  5331. kyssing = false
  5332. if decearingTHING == 4 then
  5333. decearingEGG:Remove()
  5334. end
  5335. end
  5336.  
  5337. function bleedout()
  5338. local doit = coroutine.wrap(function()
  5339. local targe = grabbed
  5340. local num = 0
  5341. while targe and targe:FindFirstChildOfClass('Humanoid') and targe:FindFirstChildOfClass('Humanoid').Health > 0 and num < 11 do
  5342. if targe.Head:FindFirstChild('Died') then
  5343. tone = math.random(6, 12) / 10
  5344. targe.Head.Died.PlaybackSpeed = tone
  5345. targe.Head.Died:Play()
  5346. else
  5347. local deathsound = Instance.new('Sound',targe.Head)
  5348. deathsound.Name = "Died"
  5349. deathsound.SoundId = 'rbxasset://sounds/uuhhh.mp3'
  5350. deathsound.Volume = 0.65
  5351. deathsound.EmitterSize = 5
  5352. deathsound.MaxDistance = 150
  5353. tone = math.random(5, 15) / 10
  5354. targe.Head.Died.PlaybackSpeed = tone
  5355. targe.Head.Died:Play()
  5356. end
  5357. targe:FindFirstChildOfClass('Humanoid').Health = targe:FindFirstChildOfClass('Humanoid').Health - 7
  5358. num = num+1
  5359. wait(0.325)
  5360. end
  5361. targe:FindFirstChildOfClass('Humanoid').Health = 0
  5362. wait()
  5363. killz(targe,'Head',nil,nil,false,true)
  5364. wait(2)
  5365. targe:Remove()
  5366. end)
  5367. doit()
  5368. end
  5369.  
  5370. function liedown()
  5371. local doit = coroutine.wrap(function()
  5372. local targe = grabbed
  5373. wait(2)
  5374. if targe and targe:FindFirstChildOfClass('Humanoid') then
  5375. targe:FindFirstChildOfClass('Humanoid').PlatformStand = false
  5376. end
  5377. end)
  5378. doit()
  5379. end
  5380.  
  5381. function grab()
  5382. local doit = coroutine.wrap(function()
  5383. acting = true
  5384. me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3
  5385. local arm = me["Right Arm"]
  5386. local tors = me.Torso
  5387. local arm2 = me["Left Arm"]
  5388. local humanroot = me.HumanoidRootPart
  5389. local weld2 = Instance.new('Weld',arm)
  5390. weld2.Part0 = arm
  5391. weld2.Part1 = tors
  5392. weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
  5393. local weld3 = Instance.new('Weld',arm2)
  5394. weld3.Part0 = arm2
  5395. weld3.Part1 = tors
  5396. weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0)
  5397. for i = 0,1,0.05 do
  5398. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end
  5399. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i)
  5400. weld3.C0 = weld3.C0:lerp(CFrame.new(1.2,1.3,0)*CFrame.Angles(0,0,1.2),i)
  5401. knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), -1.55) * CFrame.new(0, 0.95, 0)
  5402. wait(0.01)
  5403. end
  5404. grabbing = true
  5405. trail.Enabled = true
  5406. for i = 0,1,0.10 do
  5407. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end
  5408. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i)
  5409. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i)
  5410. wait(0.01)
  5411. end
  5412. trail.Enabled = false
  5413. wait(0.5)
  5414. grabbing = false
  5415. me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3
  5416. if grabbed == nil then
  5417. for i = 0,1,0.1 do
  5418. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil then return end
  5419. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  5420. weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i)
  5421. knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0)
  5422. wait(0.001)
  5423. end
  5424. weld2:Destroy()
  5425. weld3:Destroy()
  5426. rightshoulderz:Clone().Parent = me.Torso
  5427. leftshoulderz:Clone().Parent = me.Torso
  5428. acting = false
  5429. canClick = true
  5430. end
  5431. end)
  5432. doit()
  5433. end
  5434.  
  5435. function kill()
  5436. paralyzed = false
  5437. if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then hardrelease() return end
  5438. targetweld = grabbed.Torso.TargetWeld
  5439. targetweld2 = nil
  5440. local reee = grabbed:FindFirstChild("Left Arm")
  5441. if reee and reee:FindFirstChild("Weld") then
  5442. targetweld2 = reee.Weld
  5443. end
  5444. for i, v in pairs(grabbed:GetChildren()) do
  5445. if v.Name == "Part" then
  5446. v.CanCollide = true
  5447. end
  5448. end
  5449. targetweld3pt = grabbed:FindFirstChild("Right Arm")
  5450. local targetrightshoulder = rightshoulder
  5451. local targetleftshoulder = leftshoulder
  5452. local targetweld3 = Instance.new("Weld", targetweld3pt)
  5453. targetweld3.Part0 = grabbed.Torso
  5454. targetweld3.Part1 = targetweld3pt
  5455. targetweld3.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0)
  5456.  
  5457. local doit = coroutine.wrap(function()
  5458. local arm = me["Right Arm"]
  5459. local tors = grabbed.Torso
  5460. local arm2 = me["Left Arm"]
  5461. if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
  5462. doing = true
  5463. local weld2 = arm:FindFirstChildOfClass('Weld')
  5464. local weld3 = arm2:FindFirstChildOfClass('Weld')
  5465. local humanroot = me.HumanoidRootPart
  5466.  
  5467. for i = 0,1,0.1 do
  5468. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
  5469. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.9, 0, -1.4), i)
  5470. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 0.5, -0.5)* CFrame.Angles(-1.5, 0.4, 1.1), i)
  5471. wait(0.01)
  5472. end
  5473.  
  5474. audio:Stop()
  5475. audio.SoundId = "rbxassetid://517040733"
  5476. tone = math.random(1, 3)
  5477. if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.3 end
  5478. if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end
  5479. if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.2 end
  5480. audio:Play()
  5481.  
  5482. local bleedpart = Instance.new("Part", grabbed)
  5483. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  5484. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  5485. bleedpart.CanCollide = false
  5486. bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0)
  5487. bleedpart.Transparency = 1
  5488.  
  5489. local bleedpartweld = Instance.new("Weld", grabbed.Torso)
  5490. bleedpartweld.Part0 = grabbed.Torso
  5491. bleedpartweld.Part1 = bleedpart
  5492. bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
  5493. local coru=coroutine.wrap(function()
  5494. bleed(bleedpart)
  5495. end)
  5496. coru()
  5497.  
  5498. local slightthrow = Instance.new("BodyThrust", grabbed.Torso)
  5499. slightthrow.Force = Vector3.new(0, 0, -2500)
  5500.  
  5501. local slightthrow2 = Instance.new("BodyAngularVelocity", grabbed.Torso)
  5502. slightthrow2.AngularVelocity = Vector3.new(0, -1000, 0)
  5503. slightthrow2.MaxTorque = Vector3.new(1000, 1000, 1000)
  5504.  
  5505. if grabbed:FindFirstChildOfClass('Humanoid') then
  5506. grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
  5507. end
  5508.  
  5509. killz(grabbed,'Left Leg')
  5510. killz(grabbed,'Left Arm')
  5511. killz(grabbed,'Right Leg')
  5512. killz(grabbed,'Right Arm')
  5513.  
  5514. trail.Enabled = true
  5515.  
  5516. for i = 0,1,0.2 do
  5517. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
  5518. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 0, -1.4), i)
  5519. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i)
  5520. wait(0.01)
  5521. end
  5522.  
  5523. trail.Enabled = false
  5524.  
  5525. bleedout()
  5526.  
  5527. rightshoulderz:Clone().Parent = me.Torso
  5528. leftshoulderz:Clone().Parent = me.Torso
  5529. grabbed = nil
  5530.  
  5531. if humanroot:FindFirstChild('Holder') then
  5532. humanroot.Holder:Destroy()
  5533. end
  5534.  
  5535. wait(0.2)
  5536. slightthrow:Remove()
  5537. slightthrow2:Remove()
  5538. for i = 0,1,0.05 do
  5539. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
  5540. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5, 0, 0)* CFrame.Angles(0, 0, 0), i)
  5541. weld3.C0 = weld3.C0:lerp(CFrame.new(1.5, 0, 0)* CFrame.Angles(0, 0, 0), i)
  5542. knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0)
  5543. wait(0.01)
  5544. end
  5545.  
  5546. weld2:Destroy()
  5547. weld3:Destroy()
  5548. targetweld = nil
  5549. targetweld2 = nil
  5550. targetweld3 = nil
  5551. rightshoulderz:Clone().Parent = me.Torso
  5552. leftshoulderz:Clone().Parent = me.Torso
  5553. acting = false
  5554. canClick = true
  5555. doing = false
  5556. end)
  5557. doit()
  5558. end
  5559.  
  5560. function finish()
  5561. if finishing == true then return end
  5562. finishing = true
  5563. acting = true
  5564. decearingTHING = math.random(1, 100)
  5565. if decearingTHING == 4 then
  5566. decearingEGG = Instance.new("Sound", me.Torso)
  5567. decearingEGG.SoundId = "rbxassetid://138084557"
  5568. decearingEGG.PlaybackSpeed = math.random(10, 12) / 10
  5569. decearingEGG.TimePosition = 0.2
  5570. decearingEGG:Play()
  5571. end
  5572. me.Humanoid.WalkSpeed = 0
  5573. me.Humanoid.JumpPower = 0
  5574.  
  5575. local rightarm = Instance.new("Weld", me.Torso)
  5576. rightarm.Part0 = me.Torso
  5577. rightarm.Part1 = me["Right Arm"]
  5578. rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0)
  5579.  
  5580. local tors = Instance.new("Weld", me.HumanoidRootPart)
  5581. tors.Part0 = me.HumanoidRootPart
  5582. tors.Part1 = me.Torso
  5583. tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  5584.  
  5585. local rightleg = Instance.new("Weld", me.Torso)
  5586. rightleg.Part0 = me.Torso
  5587. rightleg.Part1 = me["Right Leg"]
  5588. rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0)
  5589.  
  5590. local leftleg = Instance.new("Weld", me.Torso)
  5591. leftleg.Part0 = me.Torso
  5592. leftleg.Part1 = me["Left Leg"]
  5593. leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0)
  5594.  
  5595. for i = 0, 1, 0.05 do
  5596. tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), 0, 0), i)
  5597. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i)
  5598. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i)
  5599. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0) * CFrame.Angles(math.rad(179), math.rad(179), 0), i)
  5600. wait()
  5601. end
  5602. for i=1,finishnum do
  5603. local num1 = 0.5
  5604. local num2 = 0.5
  5605. local num3 = 0.25
  5606. if finishnum ~= 1 then
  5607. num3 = 0
  5608. end
  5609. trail.Enabled = true
  5610. for i = 0, 1, num1 do
  5611. tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-60), 0, 0), i)
  5612. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(0), 0, 0), i)
  5613. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(10), 0, 0), i)
  5614. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, -1) * CFrame.Angles(math.rad(160), math.rad(150), 0), i)
  5615. wait()
  5616. end
  5617. wait()
  5618. for i = 0, 1, num2 do
  5619. tors.C0 = tors.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), 0, 0), i)
  5620. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(-30), 0, 0), i)
  5621. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(-20), 0, 0), i)
  5622. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0.2) * CFrame.Angles(math.rad(250), math.rad(180), 0), i)
  5623. wait()
  5624. end
  5625. trail.Enabled = false
  5626. wait(num3)
  5627. end
  5628. wait()
  5629. for i = 0, 1, 0.05 do
  5630. tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  5631. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0) * CFrame.Angles(0, 0, 0), i)
  5632. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0) * CFrame.Angles(0, 0, 0), i)
  5633. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0), i)
  5634. wait()
  5635. end
  5636. tors:Remove()
  5637. rightarm:Remove()
  5638. rightleg:Remove()
  5639. leftleg:Remove()
  5640. rightshoulderz:Clone().Parent = me.Torso
  5641. leftshoulderz:Clone().Parent = me.Torso
  5642. torsojoint:Clone().Parent = me.HumanoidRootPart
  5643. lefthipz:Clone().Parent = me.Torso
  5644. righthipz:Clone().Parent = me.Torso
  5645. me.Humanoid.JumpPower = 50
  5646. me.Humanoid.WalkSpeed = 16
  5647. acting = false
  5648. canClick = true
  5649. doing = false
  5650. hit = false
  5651. finishing = false
  5652. if decearingTHING == 4 then
  5653. decearingEGG:Remove()
  5654. end
  5655. end
  5656.  
  5657. function throw()
  5658. if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end
  5659. paralyzed = false
  5660. targetweld = grabbed.Torso.TargetWeld
  5661. local ree = grabbed:FindFirstChild("Left Arm")
  5662. targetweld2 =nil
  5663. if ree and ree:FindFirstChild("Weld") then
  5664. targetweld2 = ree.Weld
  5665. end
  5666.  
  5667. for i, v in pairs(grabbed:GetChildren()) do
  5668. if v.Name == "Part" then
  5669. v.CanCollide = true
  5670. end
  5671. end
  5672.  
  5673.  
  5674. local doit = coroutine.wrap(function()
  5675. local arm = me["Right Arm"]
  5676. local tors = grabbed.Torso
  5677. local arm2 = me["Left Arm"]
  5678. local targrightshoulder = rightshoulder
  5679.  
  5680. local targleftshoulder = leftshoulder
  5681. if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
  5682. doing = true
  5683. local weld2 = arm:FindFirstChildOfClass('Weld')
  5684. local weld3 = arm2:FindFirstChildOfClass('Weld')
  5685. local humanroot = me.HumanoidRootPart
  5686.  
  5687. for i = 0,1,0.2 do
  5688. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
  5689. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 1, -1.4), i)
  5690. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i)
  5691. targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i)
  5692. if targetweld2 then
  5693. targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i)
  5694. end
  5695. wait(0.01)
  5696. end
  5697.  
  5698. audio:Stop()
  5699. audio.SoundId = "rbxassetid://536642316"
  5700. tone = math.random(1, 3)
  5701. if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.08 end
  5702. if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end
  5703. if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.12 end
  5704. audio:Play()
  5705.  
  5706. local slightthrow = Instance.new("BodyVelocity", grabbed.Torso)
  5707. slightthrow.Velocity = Vector3.new(0,20,0)+(me.Torso.CFrame.lookVector*20)
  5708. slightthrow.P = 5000
  5709. slightthrow.MaxForce = Vector3.new(9000001,9000001,9000001)
  5710. local point = grabbed.Torso.Position
  5711. local aaaaaa = grabbed
  5712. liedown()
  5713.  
  5714. rightshoulderz:Clone().Parent = me.Torso
  5715. leftshoulderz:Clone().Parent = me.Torso
  5716. grabbed = nil
  5717.  
  5718. if humanroot:FindFirstChild('Holder') then
  5719. humanroot.Holder:Destroy()
  5720. end
  5721. local coru = coroutine.wrap(function()
  5722. while aaaaaa and aaaaaa:FindFirstChild('Torso') and (aaaaaa.Torso.Position-point).magnitude < 5 do wait(0.001) end
  5723. if aaaaaa:FindFirstChildOfClass('Humanoid') then
  5724. aaaaaa:FindFirstChildOfClass('Humanoid').Name = "Humanoid"
  5725. aaaaaa:FindFirstChildOfClass('Humanoid').JumpPower = 50
  5726. aaaaaa:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  5727. end
  5728. slightthrow:Remove()
  5729. end)
  5730. coru()
  5731.  
  5732. for i = 0,1,0.05 do
  5733. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
  5734. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  5735. weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i)
  5736. wait(0.01)
  5737. end
  5738. weld2:Destroy()
  5739. weld3:Destroy()
  5740. targetweld:Remove()
  5741. if targetweld2 then
  5742. targetweld2:Remove()
  5743. end
  5744. if rightshoulder then
  5745. rightshoulder:Clone().Parent = tors
  5746. end
  5747. if leftshoulder then
  5748. leftshoulder:Clone().Parent = tors
  5749. end
  5750. headweld:Clone().Parent = tors
  5751. rightshoulderz:Clone().Parent = me.Torso
  5752. leftshoulderz:Clone().Parent = me.Torso
  5753. acting = false
  5754. canClick = true
  5755. doing = false
  5756. end)
  5757. doit()
  5758. end
  5759.  
  5760. cfn,ang,mr,int=CFrame.new,CFrame.Angles,math.rad,Instance.new
  5761. bc=BrickColor.new
  5762. local minimumsize = Vector3.new(0.7,0.7,0.7)
  5763. local surface_between_splitted_parts = 'SmoothNoOutlines'
  5764. local fragmentable = workspace
  5765. local list = {}
  5766. local brickcount = 0
  5767. local storage = {}
  5768. local fillup = 1000
  5769. local maximumstorage = 2000
  5770. local storage_position = Vector3.new(0,0,5000)
  5771. local stored_partsize = Vector3.new(1,1,1)
  5772. local parts_created_per_frame = 5
  5773.  
  5774. local minimumsize = Vector3.new(0.7,0.7,0.7)
  5775. local surface_between_splitted_parts = 'SmoothNoOutlines'
  5776. local fragmentable = workspace
  5777. local list = {}
  5778. local brickcount = 0
  5779. local storage = {}
  5780. local fillup = 1000
  5781. local maximumstorage = 2000
  5782. local storage_position = Vector3.new(0,0,5000)
  5783. local stored_partsize = Vector3.new(1,1,1)
  5784. local parts_created_per_frame = 5
  5785.  
  5786.  
  5787. function fragmentate(cframe,size,color,explosion_position,explosion_blastradius,backsurface,bottomsurface,frontsurface,leftsurface,rightsurface,topsurface,transparency,reflectance,material)
  5788. local xi = size.X >= minimumsize.X*(1+explosion_blastradius/16) and 2 or 1
  5789. local yi = size.Y >= minimumsize.Y*(1+explosion_blastradius/16) and 2 or 1
  5790. local zi = size.Z >= minimumsize.Z*(1+explosion_blastradius/16) and 2 or 1
  5791. if xi == 1 and yi == 1 and zi == 1 or (cframe.p-explosion_position).magnitude > size.magnitude/2 + explosion_blastradius then
  5792. if xi == 1 and yi == 1 and zi == 1 then return end
  5793. if #storage > 0 then
  5794. local p = storage[1]
  5795. p.BrickColor = color
  5796. p.Size = size
  5797. p.Anchored = false
  5798. p.BackSurface = backsurface
  5799. p.BottomSurface = bottomsurface
  5800. p.FrontSurface = frontsurface
  5801. p.LeftSurface = leftsurface
  5802. p.RightSurface = rightsurface
  5803. p.TopSurface = topsurface
  5804. p.Transparency = transparency
  5805. p.CFrame = cframe
  5806. p.Reflectance = reflectance
  5807. p.Material = material
  5808. game:GetService('Debris'):AddItem(p,30)
  5809. p:BreakJoints()
  5810. table.remove(storage,1)
  5811. else
  5812. local p = Instance.new("Part",fragmentable)
  5813. p.BrickColor = color
  5814. p.FormFactor = "Custom"
  5815. p.Size = size
  5816. p.BackSurface = backsurface
  5817. p.BottomSurface = bottomsurface
  5818. p.FrontSurface = frontsurface
  5819. p.LeftSurface = leftsurface
  5820. p.RightSurface = rightsurface
  5821. p.TopSurface = topsurface
  5822. p.Transparency = transparency
  5823. p.Material = material
  5824. if p.Transparency>0.285 then
  5825. p.Anchored = false
  5826. else
  5827. p.Anchored=false
  5828. p.Material='Wood'
  5829. game:GetService('Debris'):AddItem(p,10)
  5830. end
  5831. p.CFrame = cframe
  5832. p.Reflectance = reflectance
  5833. p:BreakJoints()
  5834. end
  5835. return
  5836. end
  5837. local mody = math.random(-125,125)/1000
  5838. for y = 1,yi do
  5839. if math.random()> 0.5 then
  5840. local modx = math.random(-125,125)/1000
  5841. for x = 1,xi do
  5842. local modz = math.random(-125,125)/1000
  5843. for z = 1,zi do --offset = x/xi-0.75+modx)
  5844. fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)),
  5845. Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y,
  5846. zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z or mustardfoot_was_here),color,explosion_position,explosion_blastradius,
  5847. z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface,
  5848. z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface,
  5849. y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material)
  5850. end
  5851.  
  5852. end
  5853. else
  5854. local modz = math.random(-125,125)/1000
  5855. for z = 1,zi do
  5856. local modx = math.random(-125,125)/1000
  5857. for x = 1,xi do
  5858. fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)),
  5859. Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y,
  5860. zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z),color,explosion_position,explosion_blastradius,
  5861. z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface,
  5862. z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface,
  5863. y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material)
  5864. end
  5865. end
  5866. end
  5867. end
  5868. end
  5869.  
  5870. function start_fragmentation(position,radius,nuh)
  5871. local search = Region3.new(position-Vector3.new(radius,radius,radius)*1.1,position+Vector3.new(radius,radius,radius)*1.1)
  5872. repeat
  5873. local finish = false
  5874. local parts = workspace:FindPartsInRegion3WithIgnoreList(search,list,100)
  5875. for i = 1,#parts do
  5876. table.insert(list,1,parts[i])
  5877. end
  5878. finish = true
  5879. until #parts < 100 and finish
  5880. local t = tick()
  5881. for i = 1,#list do
  5882. local p = list[i]
  5883. if p:IsA('UnionOperation') == false and p:IsA('CornerWedgePart') == false and p:IsA('TrussPart') == false and p:IsA('WedgePart') == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<50000 and p.Transparency>0.285 and p.Name~='Base' and p.Parent:FindFirstChildOfClass('Humanoid') == nil and p.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and p:IsDescendantOf(me)==false then
  5884. fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material)
  5885. if #storage < maximumstorage and p.Shape == "Block" then
  5886. p.Anchored = false
  5887. p.FormFactor = "Custom"
  5888. p.Size = stored_partsize
  5889. p.Position = storage_position
  5890. table.insert(storage,1,p)
  5891. else
  5892. p:Destroy()
  5893. end
  5894. end
  5895. if nuh == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<53000 and p.Transparency<0.05 and p.Name~='Base' and tostring(p.Material)=='Enum.Material.Wood' and p:IsDescendantOf(me)==false then
  5896. fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material)
  5897. if #storage < maximumstorage and p.Shape == "Block" then
  5898. p.Anchored = false
  5899. p.Material='Wood'
  5900. p.FormFactor = "Custom"
  5901. p.Size = stored_partsize
  5902. p.Position = storage_position
  5903. table.insert(storage,1,p)
  5904. else
  5905. p:Destroy()
  5906. end
  5907. end
  5908. end
  5909. list = {}
  5910. end
  5911.  
  5912.  
  5913. function fling()
  5914. local doit = coroutine.wrap(function()
  5915. if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') then
  5916. acting = true
  5917. for i=1,finishnum do
  5918. local weld2 = Instance.new('Weld',me["Right Arm"])
  5919. weld2.Part0 = me["Right Arm"]
  5920. weld2.Part1 = me["Torso"]
  5921. weld2.C0 = CFrame.new(-1.5,0,0)
  5922. if finishnum == 1 then
  5923. for i = 0,1,0.05 do
  5924. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  5925. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i)
  5926. wait(0.01)
  5927. end
  5928. end
  5929. audio.SoundId = "rbxassetid://166083610"
  5930. audio.PlaybackSpeed = 1
  5931. audio.TimePosition = 0.1
  5932. audio:Play()
  5933. if finishnum == 1 then
  5934. for i = 0,1,0.5 do
  5935. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  5936. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i)
  5937. wait(0.001)
  5938. end
  5939. end
  5940. weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
  5941. local knofe = obj1:Clone()
  5942. for i, v in pairs(obj1:GetChildren()) do
  5943. if v:IsA('BasePart') then
  5944. v.Transparency = 1
  5945. end
  5946. end
  5947. knofe.Parent = workspace
  5948. knofe.Name = "Projectile"
  5949. knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  5950. knofe:FindFirstChild("Trail", true).Enabled = true
  5951. local heck = Instance.new('BodyVelocity',knofe.Grab)
  5952. heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
  5953. local coru = coroutine.wrap(function()
  5954. wait(0.45)
  5955. if heck then
  5956. heck:Destroy()
  5957. end
  5958. end)
  5959. coru()
  5960. local able = true
  5961. knofe["big ass knife"].Touched:connect(function(hit)
  5962. if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Transparency < 1 and knofe.Grab.CanCollide == false and hit.Parent ~= me and hit.Parent.Parent ~= me then
  5963. local thing = hit.Parent:FindFirstChildOfClass('Humanoid')
  5964. local ree = hit.Parent
  5965. if thing == nil then
  5966. ree = hit.Parent.Parent
  5967. end
  5968. if ree:FindFirstChildOfClass('Humanoid').Health > 0 then
  5969. knofe:FindFirstChild("Trail", true).Enabled = false
  5970. game:GetService('Debris'):AddItem(knofe,5)
  5971. tone = math.random(1, 3)
  5972. local sound = Instance.new('Sound',knofe.Grab)
  5973. if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
  5974. if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
  5975. if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
  5976. sound.PlaybackSpeed = 1
  5977. sound:Play()
  5978. for i, v in pairs(knofe:GetChildren()) do
  5979. if v:IsA('BasePart') then
  5980. v.CanCollide = true
  5981. v.Anchored = true
  5982. end
  5983. end
  5984. hit.Anchored = true
  5985. if ree:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then
  5986. ree:FindFirstChildOfClass('Humanoid').Health = 0
  5987. end
  5988. wait()
  5989. killz(ree,hit.Name,knofe)
  5990. else
  5991. knofe:FindFirstChild("Trail", true).Enabled = false
  5992. heck.Velocity = Vector3.new(0,0,0)
  5993. heck:Destroy()
  5994. game:GetService('Debris'):AddItem(knofe,5)
  5995. tone = math.random(1, 3)
  5996. local sound = Instance.new('Sound',knofe.Grab)
  5997. if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
  5998. if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
  5999. if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
  6000. sound.PlaybackSpeed = 1
  6001. sound:Play()
  6002. for i, v in pairs(knofe:GetChildren()) do
  6003. if v:IsA('BasePart') then
  6004. v.Anchored = false
  6005. end
  6006. end
  6007. hit.Anchored = true
  6008. wait(0.001)
  6009. hit.Anchored = false
  6010. for i, v in pairs(knofe:GetChildren()) do
  6011. if v:IsA('BasePart') then
  6012. v.Anchored = false
  6013. end
  6014. end
  6015. if knofe then
  6016. local coru = coroutine.wrap(function()
  6017. if hit then
  6018. local uno = Instance.new('Part',workspace)
  6019. local dos = Instance.new('Part',workspace)
  6020. uno.CFrame = hit.CFrame
  6021. dos.CFrame = knofe["big ass knife"].CFrame
  6022. local weld = Instance.new('Weld',knofe["big ass knife"])
  6023. weld.Part0 = hit
  6024. weld.Part1 = knofe["big ass knife"]
  6025. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  6026. uno:Destroy()
  6027. dos:Destroy()
  6028. end
  6029. end)
  6030. coru()
  6031. end
  6032. end
  6033. elseif hit.Parent and hit.Parent ~= me and hit.Parent.Parent ~= me and hit.CanCollide and knofe.Grab.CanCollide == false then
  6034. if hit.Transparency and (hit.Transparency<=0.285 or hit:GetMass()<=3000) then
  6035. knofe:FindFirstChild("Trail", true).Enabled = false
  6036. local sound = Instance.new('Sound',knofe.Grab)
  6037. sound.SoundId = 'rbxassetid://267585646'
  6038. sound:Play()
  6039. for i,v in pairs(knofe:GetChildren()) do
  6040. if v:IsA('BasePart') then
  6041. v.Anchored = true
  6042. end
  6043. end
  6044. wait()
  6045. heck.Velocity = Vector3.new(0,0,0)
  6046. heck:Destroy()
  6047. local uno = Instance.new('Part',workspace)
  6048. local dos = Instance.new('Part',workspace)
  6049. uno.CFrame = hit.CFrame
  6050. dos.CFrame = knofe["big ass knife"].CFrame
  6051. local weld = Instance.new('Weld',knofe["big ass knife"])
  6052. weld.Part0 = hit
  6053. weld.Part1 = knofe["big ass knife"]
  6054. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  6055. uno:Destroy()
  6056. dos:Destroy()
  6057. for i,v in pairs(knofe:GetChildren()) do
  6058. if v:IsA('BasePart') then
  6059. v.Anchored = false
  6060. end
  6061. end
  6062. game:GetService('Debris'):AddItem(knofe,5)
  6063. for i,v in pairs(knofe:GetChildren()) do
  6064. if v:IsA('BasePart') then
  6065. v.CanCollide = true
  6066. end
  6067. end
  6068. end
  6069. if hit.Parent and hit.Transparency>0.285 and able == true and hit:GetMass()<3000 and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and (hit.Parent.Parent == nil or hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil) then
  6070. knofe:FindFirstChild("Trail", true).Enabled = false
  6071. able = false
  6072. local sound = Instance.new('Sound',knofe.Grab)
  6073. sound.SoundId = 'rbxassetid://144884907'
  6074. sound:Play()
  6075. local coru = coroutine.wrap(function()
  6076. start_fragmentation(knofe["big ass knife"].Position,1.25,knofe)
  6077. end)
  6078. coru()
  6079. end
  6080. end
  6081. end)
  6082. if finishnum == 1 then
  6083. for i= 0,1,0.1 do
  6084. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  6085. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  6086. wait(0.001)
  6087. end
  6088. else
  6089. for i= 0,1,0.5 do
  6090. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  6091. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  6092. wait(0.001)
  6093. end
  6094. end
  6095. for i,v in pairs(obj1:GetChildren()) do
  6096. if v:IsA('BasePart') then
  6097. v.Transparency = 0
  6098. end
  6099. end
  6100. weld2:Destroy()
  6101. rightshoulderz:Clone().Parent = me.Torso
  6102. end
  6103. acting = false
  6104. canClick = true
  6105. end
  6106. end)
  6107. doit()
  6108. end
  6109.  
  6110. function instasplode()
  6111. local coru = coroutine.wrap(function()
  6112. acting = true
  6113. for i=1,1 do
  6114. local weld2 = Instance.new('Weld',me["Right Arm"])
  6115. weld2.Part0 = me["Right Arm"]
  6116. weld2.Part1 = me["Torso"]
  6117. weld2.C0 = CFrame.new(-1.5,0,0)
  6118. if finishnum == 1 then
  6119. for i = 0,1,0.05 do
  6120. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  6121. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i)
  6122. wait(0.01)
  6123. end
  6124. end
  6125. weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0)
  6126. audio.SoundId = "rbxassetid://166083610"
  6127. audio.PlaybackSpeed = 1
  6128. audio.TimePosition = 0.1
  6129. audio:Play()
  6130. if finishnum == 1 then
  6131. for i = 0,1,0.5 do
  6132. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  6133. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i)
  6134. wait(0.001)
  6135. end
  6136. end
  6137. weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
  6138. local knofe = obj1:Clone()
  6139. for i,v in pairs(obj1:GetChildren()) do
  6140. if v:IsA('BasePart') then
  6141. v.Transparency = 1
  6142. end
  6143. end
  6144. knofe.Parent = workspace
  6145. knofe.Name = "Projectile"
  6146. knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  6147. knofe:FindFirstChild("Trail", true).Enabled = false
  6148. fireofjesUS = Instance.new("Fire", knofe.Grab)
  6149. local heck = Instance.new('BodyVelocity',knofe.Grab)
  6150. heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
  6151. local coru = coroutine.wrap(function()
  6152. wait(0.45)
  6153. if heck then
  6154. heck:Destroy()
  6155. end
  6156. end)
  6157. coru()
  6158. knofe["big ass knife"].Touched:connect(function(hit)
  6159. if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then
  6160. heck.Velocity = Vector3.new(0,0,0)
  6161. heck:Destroy()
  6162. for i,v in pairs(knofe:GetChildren()) do
  6163. if v:IsA('BasePart') then
  6164. v.CanCollide = true
  6165. end
  6166. end
  6167. local hum = hit.Parent:FindFirstChildOfClass('Humanoid')
  6168. if hum == nil then
  6169. hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid')
  6170. end
  6171. if knofe then
  6172. local coru = coroutine.wrap(function()
  6173. if hit then
  6174. local uno = Instance.new('Part',workspace)
  6175. local dos = Instance.new('Part',workspace)
  6176. uno.CFrame = hit.CFrame
  6177. dos.CFrame = knofe["big ass knife"].CFrame
  6178. local weld = Instance.new('Weld',knofe["big ass knife"])
  6179. weld.Part0 = hit
  6180. weld.Part1 = knofe["big ass knife"]
  6181. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  6182. uno:Destroy()
  6183. dos:Destroy()
  6184. end
  6185. end)
  6186. coru()
  6187. end
  6188. local sound = Instance.new('Sound',knofe.Grab)
  6189. sound.Name = "BOOM"
  6190. sound.EmitterSize = 25
  6191. sound.SoundId = 'rbxassetid://476477344'
  6192. sound.Volume = 0.5
  6193. sound:Play()
  6194. local exppart = Instance.new("Part", game.Workspace)
  6195. exppart.Size = Vector3.new(0.2, 0.2, 0.2)
  6196. exppart.Anchored = true
  6197. exppart.CanCollide = false
  6198. exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p)
  6199. exppart.Transparency = 1
  6200. local expaccent = Instance.new("ParticleEmitter", exppart)
  6201. expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))})
  6202. expaccent.LightEmission = 0.2
  6203. expaccent.LightInfluence = 0.3
  6204. expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
  6205. expaccent.Acceleration = Vector3.new(0, 30, 0)
  6206. expaccent.Drag = 15
  6207. expaccent.LockedToPart = false
  6208. expaccent.Lifetime = NumberRange.new(0.5, 1.5)
  6209. expaccent.Rate = 2000
  6210. expaccent.Speed = NumberRange.new(0,0)
  6211. expaccent.SpreadAngle = Vector2.new(360, 360)
  6212. expaccent:Clone().Parent = exppart
  6213. expaccent:Clone().Parent = exppart
  6214. local exp = Instance.new('Explosion',game.Workspace)
  6215. exp.Position = knofe["big ass knife"].Position
  6216. exp.ExplosionType = Enum.ExplosionType.NoCraters
  6217. exp.BlastRadius = 5
  6218. exp.Visible = false
  6219. exp.BlastPressure = 0
  6220. exp.DestroyJointRadiusPercent = 0
  6221. exp.Hit:connect(function(hit)
  6222. if hit.Parent and hit.Parent ~= me and hit.Parent.Name ~= "bitch ass knife" then
  6223. wait(0.001)
  6224. tgt = hit
  6225. local coru=coroutine.wrap(function(tgtt)
  6226. local fireofgods = Instance.new("Fire", tgtt)
  6227. fireofgods.Size = 0
  6228. fireofgods.Heat = 0
  6229. local fireofgodsaccent = expaccent:Clone()
  6230. fireofgodsaccent.Parent = hit
  6231. fireofgodsaccent.Rate = 0
  6232. fireofgodsaccent.Speed = NumberRange.new(5, 50)
  6233. fireofgodsaccent.SpreadAngle = Vector2.new(45, 45)
  6234. fireofgodsaccent.Acceleration = Vector3.new(0, 20, 0)
  6235.  
  6236. while fireofgods.Size < 10 do
  6237. fireofgods.Size = fireofgods.Size + 0.1
  6238. fireofgods.Heat = fireofgods.Heat + 0.1
  6239. fireofgodsaccent.Rate = fireofgodsaccent.Rate + 1
  6240. wait()
  6241. end
  6242. if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then
  6243. hit:BreakJoints()
  6244. elseif hit.Parent and hit.Parent:IsA('Accessory') then
  6245. for i,v in pairs(hit:GetChildren()) do
  6246. if v:IsA('SpecialMesh') then
  6247. v.TextureId = ""
  6248. end
  6249. end
  6250. end
  6251. hit.BrickColor = BrickColor.new("Black")
  6252. for i,v in pairs(hit.Parent:GetChildren()) do
  6253. if v:IsA('Shirt') or v:IsA('Pants') then
  6254. v:Destroy()
  6255. end
  6256. end
  6257.  
  6258. while fireofgods.Size > 5 do
  6259. fireofgods.Size = fireofgods.Size - 0.1
  6260. fireofgods.Heat = fireofgods.Heat - 0.1
  6261. wait()
  6262. end
  6263. fireofgods:Destroy()
  6264. if hit.Parent then
  6265. if hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then
  6266. local p = hit
  6267. fragmentate(p.CFrame,p.Size,p.BrickColor,p.Position,0.01,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material)
  6268. hit:Remove()
  6269. elseif hit.Parent:FindFirstChildOfClass('Humanoid') ~= nil then
  6270. print(hit.Name)
  6271. if hit.Name == "Torso" or hit.Name == "Head" then
  6272. print('ohhh YAAAA')
  6273. hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
  6274. end
  6275. wait()
  6276. killz(hit.Parent,hit.Name,nil,nil,false,false,true)
  6277. end
  6278. end
  6279. end)
  6280. coru(tgt)
  6281. end
  6282. end)
  6283. local explosionaccenttimeout = coroutine.wrap(function()
  6284. wait(0.2)
  6285. for i, exploodn in pairs(exppart:GetChildren()) do
  6286. exploodn.Enabled = false
  6287. end
  6288. wait(2)
  6289. for i, exploodn in pairs(exppart:GetChildren()) do
  6290. exploodn:Remove()
  6291. end
  6292. end)
  6293. explosionaccenttimeout()
  6294. for i,v in pairs(knofe:GetChildren()) do
  6295. if v:IsA('BasePart') then
  6296. v.Transparency = 1
  6297. end
  6298. end
  6299. exp.AncestryChanged:connect(function() knofe:Destroy() end)
  6300. coru()
  6301. end
  6302. end)
  6303. if finishnum == 1 then
  6304. for i= 0,1,0.1 do
  6305. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  6306. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  6307. wait(0.001)
  6308. end
  6309. else
  6310. wait(0.1)
  6311. end
  6312. weld2.C0 = CFrame.new(-1.5,0,0)
  6313. for i,v in pairs(obj1:GetChildren()) do
  6314. if v:IsA('BasePart') then
  6315. v.Transparency = 0
  6316. end
  6317. end
  6318. weld2:Destroy()
  6319. rightshoulderz:Clone().Parent = me.Torso
  6320. end
  6321. acting = false
  6322. canClick = true
  6323. end)
  6324. coru()
  6325. end
  6326.  
  6327. function fireworkit()
  6328. local coru = coroutine.wrap(function()
  6329. acting = true
  6330. local ree = 1
  6331. if finishnum > 1 then
  6332. ree = 3
  6333. end
  6334. for i=1,ree do
  6335. local weld2 = Instance.new('Weld',me["Right Arm"])
  6336. weld2.Part0 = me["Right Arm"]
  6337. weld2.Part1 = me["Torso"]
  6338. weld2.C0 = CFrame.new(-1.5,0,0)
  6339. weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0)
  6340. audio.SoundId = "rbxassetid://166083610"
  6341. audio.PlaybackSpeed = 1
  6342. audio.TimePosition = 0.1
  6343. audio:Play()
  6344. weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
  6345. local knofe = obj1:Clone()
  6346. for i,v in pairs(obj1:GetChildren()) do
  6347. if v:IsA('BasePart') then
  6348. v.Transparency = 1
  6349. end
  6350. end
  6351. local sound = Instance.new('Sound',knofe.Grab)
  6352. sound.Volume = 0.25
  6353. sound.EmitterSize = 200
  6354. sound.MaxDistance = 300
  6355. sound.SoundId = 'rbxassetid://551051176'
  6356. sound:Play()
  6357. knofe.Parent = workspace
  6358. knofe.Name = "Projectile"
  6359. knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  6360. local partic = Instance.new('ParticleEmitter',knofe.Grab)
  6361. partic.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.4,Color3.fromRGB(255,125,0)),ColorSequenceKeypoint.new(0.8,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))})
  6362. partic.LightEmission = 0.5
  6363. partic.LightInfluence = 0
  6364. partic.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.15)})
  6365. partic.Rotation = NumberRange.new(0,90)
  6366. partic.SpreadAngle = Vector2.new(5,5)
  6367. partic.Speed = NumberRange.new(20)
  6368. partic.Texture = 'rbxassetid://603193846'
  6369. partic.EmissionDirection = Enum.NormalId.Left
  6370. partic.Lifetime = NumberRange.new(0.5,1)
  6371. partic.Rate = 100
  6372. local heck = Instance.new('BodyVelocity',knofe.Grab)
  6373. heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*240
  6374. local coru=coroutine.wrap(function()
  6375. wait(1.2)
  6376. sound:Destroy()
  6377. local sound2 = Instance.new('Sound',workspace)
  6378. sound2.SoundId = 'rbxassetid://138080762'
  6379. sound2:Play()
  6380. if heck then
  6381. heck:Destroy()
  6382. end
  6383. for i,v in pairs(knofe:GetChildren()) do
  6384. v.Anchored = true
  6385. end
  6386. partic.Enabled = false
  6387. local colorscheme = math.random(1,4)
  6388. --1 - red & orange
  6389. --2 - blue & pink
  6390. --3 - green & purple
  6391. --4 - blue, red, white
  6392. local colar1 = Color3.fromRGB(255,0,0)
  6393. local colar2 = Color3.fromRGB(255,125,0)
  6394. local colar3 = Color3.fromRGB(255,255,255)
  6395. if colorscheme == 2 then
  6396. colar1 = Color3.fromRGB(0,132,255)
  6397. colar2 = Color3.fromRGB(243,105,255)
  6398. elseif colorscheme == 3 then
  6399. colar1 = Color3.fromRGB(76,255,0)
  6400. colar2 = Color3.fromRGB(128,0,255)
  6401. elseif colorscheme == 4 then
  6402. colar2 = Color3.fromRGB(0,132,255)
  6403. end
  6404. local partic2 = Instance.new('ParticleEmitter',knofe.Grab)
  6405. partic2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar1),ColorSequenceKeypoint.new(1,colar1)})
  6406. partic2.LightEmission = 0.5
  6407. partic2.LightInfluence = 0
  6408. partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.1)})
  6409. partic2.Rotation = NumberRange.new(0,90)
  6410. partic2.SpreadAngle = Vector2.new(180,180)
  6411. partic2.Speed = NumberRange.new(20)
  6412. partic2.Texture = 'rbxassetid://603193846'
  6413. partic2.EmissionDirection = Enum.NormalId.Right
  6414. partic2.Lifetime = NumberRange.new(2,2.5)
  6415. partic2.Rate = 1000
  6416. partic2.Drag = 1
  6417. local partic3 = partic2:Clone()
  6418. partic3.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar2),ColorSequenceKeypoint.new(1,colar2)})
  6419. partic3.Parent = knofe.Grab
  6420. if colorscheme == 4 then
  6421. local partic4 = partic2:Clone()
  6422. partic4.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar3),ColorSequenceKeypoint.new(1,colar3)})
  6423. partic4.Parent = knofe.Grab
  6424. end
  6425. wait(1)
  6426. for i,v in pairs(knofe.Grab:GetChildren()) do
  6427. if v:IsA('ParticleEmitter') then
  6428. v.Enabled = false
  6429. end
  6430. end
  6431. sound:Destroy()
  6432. wait(2)
  6433. knofe:Destroy()
  6434. end)
  6435. coru()
  6436. wait(0.1)
  6437. weld2.C0 = CFrame.new(-1.5,0,0)
  6438. for i,v in pairs(obj1:GetChildren()) do
  6439. if v:IsA('BasePart') then
  6440. v.Transparency = 0
  6441. end
  6442. end
  6443. weld2:Destroy()
  6444. rightshoulderz:Clone().Parent = me.Torso
  6445. end
  6446. acting = false
  6447. canClick = true
  6448. end)
  6449. coru()
  6450. end
  6451.  
  6452. function paralyze()
  6453. local coru = coroutine.wrap(function()
  6454. if paralyzed == true then return end
  6455. paralyzed = true
  6456. local arm = me["Right Arm"]
  6457. local tors = grabbed.Torso
  6458. local arm2 = me["Left Arm"]
  6459. if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
  6460. doing = true
  6461. local weld2 = arm:FindFirstChildOfClass('Weld')
  6462. local weld3 = arm2:FindFirstChildOfClass('Weld')
  6463. local humanroot = me.HumanoidRootPart
  6464. for i = 0,1,0.075 do
  6465. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-2, 0, -1.5), i)
  6466. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i)
  6467. wait(0.01)
  6468. end
  6469. for i = 0,1,0.30 do
  6470. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-0.75, 0, -1.75), i)
  6471. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i)
  6472. wait(0.01)
  6473. end
  6474. killz(grabbed,'Left Leg')
  6475. killz(grabbed,'Left Arm')
  6476. killz(grabbed,'Right Leg')
  6477. killz(grabbed,'Right Arm')
  6478.  
  6479. for i, v in pairs(grabbed:GetChildren()) do
  6480. if v.Name == "Part" then
  6481. v.CanCollide = false
  6482. end
  6483. end
  6484.  
  6485. audio:Stop()
  6486. audio.SoundId = "rbxassetid://2801263"
  6487. tone = math.random(1, 3)
  6488. if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0 end
  6489. if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0 end
  6490. if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0 end
  6491. audio:Play()
  6492.  
  6493. local bleedpart = Instance.new("Part", grabbed)
  6494. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  6495. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  6496. bleedpart.CanCollide = false
  6497. bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0)
  6498. bleedpart.Transparency = 1
  6499.  
  6500. local bleedpartweld = Instance.new("Weld", grabbed.Torso)
  6501. bleedpartweld.Part0 = grabbed.Torso
  6502. bleedpartweld.Part1 = bleedpart
  6503. bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
  6504. local cuntruu=coroutine.wrap(function()
  6505. bleed(bleedpart)
  6506. end)
  6507. local thicc = coroutine.wrap(function()
  6508. wait(3)
  6509. bleedpart:Remove()
  6510. end)
  6511. cuntruu()
  6512. thicc()
  6513.  
  6514. for i = 0,1,0.075 do
  6515. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i)
  6516. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i)
  6517. wait(0.01)
  6518. end
  6519. acting = true
  6520. canClick = true
  6521. doing = false
  6522. end)
  6523. coru()
  6524. end
  6525.  
  6526. function explode()
  6527. local coru = coroutine.wrap(function()
  6528. acting = true
  6529. for i=1,finishnum do
  6530. local weld2 = Instance.new('Weld',me["Right Arm"])
  6531. weld2.Part0 = me["Right Arm"]
  6532. weld2.Part1 = me["Torso"]
  6533. weld2.C0 = CFrame.new(-1.5,0,0)
  6534. if finishnum == 1 then
  6535. for i = 0,1,0.05 do
  6536. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  6537. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i)
  6538. wait(0.01)
  6539. end
  6540. end
  6541. weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0)
  6542. audio.SoundId = "rbxassetid://166083610"
  6543. audio.PlaybackSpeed = 1
  6544. audio.TimePosition = 0.1
  6545. audio:Play()
  6546. if finishnum == 1 then
  6547. for i = 0,1,0.5 do
  6548. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  6549. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i)
  6550. wait(0.001)
  6551. end
  6552. end
  6553. weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
  6554. local knofe = obj1:Clone()
  6555. for i,v in pairs(obj1:GetChildren()) do
  6556. if v:IsA('BasePart') then
  6557. v.Transparency = 1
  6558. end
  6559. end
  6560. knofe.Parent = workspace
  6561. knofe.Name = "Projectile"
  6562. knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  6563. knofe:FindFirstChild("Trail", true).Enabled = false
  6564. local heck = Instance.new('BodyVelocity',knofe.Grab)
  6565. heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
  6566. local coru = coroutine.wrap(function()
  6567. wait(0.45)
  6568. if heck then
  6569. heck:Destroy()
  6570. end
  6571. end)
  6572. coru()
  6573. knofe["big ass knife"].Touched:connect(function(hit)
  6574. if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then
  6575. heck.Velocity = Vector3.new(0,0,0)
  6576. heck:Destroy()
  6577. for i,v in pairs(knofe:GetChildren()) do
  6578. if v:IsA('BasePart') then
  6579. v.CanCollide = true
  6580. end
  6581. end
  6582. local hum = hit.Parent:FindFirstChildOfClass('Humanoid')
  6583. if hum == nil then
  6584. hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid')
  6585. end
  6586. if hum then
  6587. tone = math.random(1, 3)
  6588. local sound = Instance.new('Sound',knofe.Grab)
  6589. if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
  6590. if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
  6591. if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
  6592. sound.PlaybackSpeed = 1
  6593. sound:Play()
  6594. else
  6595. local sound = Instance.new('Sound',knofe.Grab)
  6596. sound.SoundId = 'rbxassetid://267585646'
  6597. sound:Play()
  6598. end
  6599. if knofe then
  6600. local coru = coroutine.wrap(function()
  6601. if hit then
  6602. local uno = Instance.new('Part',workspace)
  6603. local dos = Instance.new('Part',workspace)
  6604. uno.CFrame = hit.CFrame
  6605. dos.CFrame = knofe["big ass knife"].CFrame
  6606. local weld = Instance.new('Weld',knofe["big ass knife"])
  6607. weld.Part0 = hit
  6608. weld.Part1 = knofe["big ass knife"]
  6609. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  6610. uno:Destroy()
  6611. dos:Destroy()
  6612. end
  6613. end)
  6614. coru()
  6615. end
  6616. local coru = coroutine.wrap(function()
  6617. for i=1,15,0.7 do
  6618. local sound = Instance.new('Sound',knofe.Grab)
  6619. if knofe then
  6620. if knofe.serration.BrickColor == BrickColor.new('Really red') then
  6621. for i, v in pairs(knofe:GetChildren()) do
  6622. if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then
  6623. v.BrickColor = BrickColor.new('Lily white')
  6624. v.Material = Enum.Material.SmoothPlastic
  6625. end
  6626. end
  6627. else
  6628. for i,v in pairs(knofe:GetChildren()) do
  6629. if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then
  6630. v.BrickColor = BrickColor.new('Really red')
  6631. v.Material = Enum.Material.Neon
  6632. sound.SoundId = 'rbxassetid://300473653'
  6633. sound.Volume = 0.75
  6634. sound.TimePosition = 0.05
  6635. sound.EmitterSize = 25
  6636. sound.PlaybackSpeed = 1
  6637. sound:Play()
  6638. end
  6639. end
  6640. end
  6641. wait(1/i)
  6642. sound:Destroy()
  6643. end
  6644. end
  6645. local sound = Instance.new('Sound',knofe.Grab)
  6646. sound.Name = "BOOM"
  6647. sound.EmitterSize = 25
  6648. sound.SoundId = 'rbxassetid://12222084'
  6649. sound.TimePosition = 0.1
  6650. sound.Volume = 0.5
  6651. sound:Play()
  6652. local exppart = Instance.new("Part", game.Workspace)
  6653. exppart.Size = Vector3.new(0.2, 0.2, 0.2)
  6654. exppart.Anchored = true
  6655. exppart.CanCollide = false
  6656. exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p)
  6657. exppart.Transparency = 1
  6658. local expaccent = Instance.new("ParticleEmitter", exppart)
  6659. expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))})
  6660. expaccent.LightEmission = 0.2
  6661. expaccent.LightInfluence = 0.3
  6662. expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
  6663. expaccent.Acceleration = Vector3.new(0, -8, 0)
  6664. expaccent.Drag = 15
  6665. expaccent.LockedToPart = true
  6666. expaccent.Lifetime = NumberRange.new(0.5, 1.5)
  6667. expaccent.Rate = 2000
  6668. expaccent.Speed = NumberRange.new(10, 150)
  6669. expaccent.SpreadAngle = Vector2.new(360, 360)
  6670.  
  6671. local exp = Instance.new('Explosion',game.Workspace)
  6672. exp.Position = knofe["big ass knife"].Position
  6673. exp.ExplosionType = Enum.ExplosionType.NoCraters
  6674. exp.BlastRadius = 10
  6675. exp.BlastPressure = 100000
  6676. exp.DestroyJointRadiusPercent = 1
  6677. exp.Hit:connect(function(hit)
  6678. if hit.Parent and hit.Parent ~= me and hit.Parent:FindFirstChildOfClass('Humanoid') then
  6679. if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then
  6680. hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
  6681. end
  6682. wait(0.001)
  6683. local coru=coroutine.wrap(function()
  6684. killz(hit.Parent,'Head',knofe,exp)
  6685. end)
  6686. coru()
  6687. elseif hit.Parent and hit.Parent ~= workspace and hit.Parent ~= me then
  6688. if hit.Parent.Name ~= "Projectile" then
  6689. hit.Parent:BreakJoints()
  6690. end
  6691. elseif hit.Parent and hit.Parent ~= me then
  6692. hit:BreakJoints()
  6693. end
  6694. end)
  6695. local explosionaccenttimeout = coroutine.wrap(function()
  6696. wait(0.2)
  6697. expaccent.Enabled = false
  6698. wait(2)
  6699. exppart:Remove()
  6700. end)
  6701. explosionaccenttimeout()
  6702. for i,v in pairs(knofe:GetChildren()) do
  6703. if v:IsA('BasePart') then
  6704. v.Transparency = 1
  6705. end
  6706. end
  6707. exp.AncestryChanged:connect(function() knofe:Destroy() end)
  6708. end)
  6709. coru()
  6710. end
  6711. end)
  6712. if finishnum == 1 then
  6713. for i= 0,1,0.1 do
  6714. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  6715. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  6716. wait(0.001)
  6717. end
  6718. else
  6719. wait(0.1)
  6720. end
  6721. weld2.C0 = CFrame.new(-1.5,0,0)
  6722. for i,v in pairs(obj1:GetChildren()) do
  6723. if v:IsA('BasePart') then
  6724. v.Transparency = 0
  6725. end
  6726. end
  6727. weld2:Destroy()
  6728. rightshoulderz:Clone().Parent = me.Torso
  6729. end
  6730. acting = false
  6731. canClick = true
  6732. end)
  6733. coru()
  6734. end
  6735.  
  6736. function release()
  6737. if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end
  6738. targetweld = grabbed.Torso.TargetWeld
  6739. local ree= grabbed:FindFirstChild("Left Arm")
  6740. targetweld2 = nil
  6741. if ree and ree:FindFirstChild("Weld") then
  6742. targetweld2 = ree.Weld
  6743. end
  6744. for i, v in pairs(grabbed:GetChildren()) do
  6745. if v.Name == "Part" then
  6746. v.CanCollide = true
  6747. end
  6748. end
  6749. paralyzed = false
  6750. local doit = coroutine.wrap(function()
  6751. local arm = me["Right Arm"]
  6752. local tors = grabbed.Torso
  6753. local arm2 = me["Left Arm"]
  6754. if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
  6755. doing = true
  6756. local weld2 = arm:FindFirstChildOfClass('Weld')
  6757. local weld3 = arm2:FindFirstChildOfClass('Weld')
  6758. local humanroot = me.HumanoidRootPart
  6759.  
  6760. if grabbed:FindFirstChildOfClass('Humanoid') then
  6761. grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false
  6762. end
  6763.  
  6764. rightshoulderz:Clone().Parent = me.Torso
  6765. leftshoulderz:Clone().Parent = me.Torso
  6766. if grabbed:FindFirstChildOfClass('Humanoid') then
  6767. grabbed:FindFirstChildOfClass('Humanoid').Name = "Humanoid"
  6768. grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 50
  6769. grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  6770. grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false
  6771. end
  6772. grabbed = nil
  6773.  
  6774. if humanroot:FindFirstChild('Holder') then
  6775. humanroot.Holder:Destroy()
  6776. end
  6777.  
  6778. for i = 0,1,0.1 do
  6779. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
  6780. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  6781. weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i)
  6782. targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i)
  6783. if targetweld2 then
  6784. targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i)
  6785. end
  6786. wait(0.01)
  6787. end
  6788.  
  6789. knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0.2)
  6790. weld2:Destroy()
  6791. weld3:Destroy()
  6792. targetweld:Remove()
  6793. if targetweld2 then
  6794. targetweld2:Remove()
  6795. end
  6796. if rightshoulder then
  6797. rightshoulder:Clone().Parent = tors
  6798. end
  6799. if leftshoulder then
  6800. leftshoulder:Clone().Parent = tors
  6801. end
  6802. headweld:Clone().Parent = tors
  6803. rightshoulderz:Clone().Parent = me.Torso
  6804. leftshoulderz:Clone().Parent = me.Torso
  6805. acting = false
  6806. canClick = true
  6807. doing = false
  6808. end)
  6809. doit()
  6810. end
  6811.  
  6812. function stabwithpassion()
  6813. local doit = coroutine.wrap(function()
  6814. if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then
  6815. acting = true
  6816. me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 10
  6817. local arm = me["Right Arm"]
  6818. local tors = me.Torso
  6819. local arm2 = me["Left Arm"]
  6820. local humanroot = me.HumanoidRootPart
  6821. local weld = Instance.new('Weld',tors)
  6822. weld.Part0 = tors
  6823. weld.Part1 = humanroot
  6824. weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0)
  6825. local weld2 = Instance.new('Weld',arm)
  6826. weld2.Part0 = arm
  6827. weld2.Part1 = tors
  6828. weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
  6829. local weld3 = Instance.new('Weld',arm2)
  6830. weld3.Part0 = arm2
  6831. weld3.Part1 = tors
  6832. weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0)
  6833.  
  6834. for i = 0,1,0.15 do
  6835. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  6836. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(20),0),i)
  6837. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i)
  6838. knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(90), -1.55) * CFrame.new(0, 0.95, 0), i)
  6839. wait(0.01)
  6840. end
  6841. wait(0.001)
  6842. trail.Enabled = true
  6843. stabbing = true
  6844. audio2.SoundId = 'rbxassetid://608537390'
  6845. audio2:Play()
  6846. for i = 0,1,0.2 do
  6847. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  6848. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-45),0),i)
  6849. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,-1)*CFrame.Angles(math.rad(-90),0,-1),i)
  6850. wait(0.01)
  6851. end
  6852. trail.Enabled = false
  6853. wait(0.1)
  6854. me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 10
  6855. stabbing = false
  6856. wait(0.001)
  6857. for i = 0,1,0.075 do
  6858. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  6859. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i)
  6860. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i)
  6861. weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i)
  6862. knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i)
  6863. wait(0.01)
  6864. end
  6865. weld:Destroy()
  6866. weld2:Destroy()
  6867. weld3:Destroy()
  6868. torsojoint:Clone().Parent = humanroot
  6869. rightshoulderz:Clone().Parent = me.Torso
  6870. leftshoulderz:Clone().Parent = me.Torso
  6871. canClick = true
  6872. hit = false
  6873. acting = false
  6874. end
  6875. end)
  6876. doit()
  6877. end
  6878.  
  6879. function stab()
  6880. local doit = coroutine.wrap(function()
  6881. if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then
  6882. acting = true
  6883. me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3
  6884. local arm = me["Right Arm"]
  6885. local tors = me.Torso
  6886. local arm2 = me["Left Arm"]
  6887. local humanroot = me.HumanoidRootPart
  6888. local weld = Instance.new('Weld',tors)
  6889. weld.Part0 = tors
  6890. weld.Part1 = humanroot
  6891. weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0)
  6892. local weld2 = Instance.new('Weld',arm)
  6893. weld2.Part0 = arm
  6894. weld2.Part1 = tors
  6895. weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
  6896. local weld3 = Instance.new('Weld',arm2)
  6897. weld3.Part0 = arm2
  6898. weld3.Part1 = tors
  6899. weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0)
  6900.  
  6901. for i = 0,1,0.1 do
  6902. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  6903. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i)
  6904. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i)
  6905. wait(0.01)
  6906. end
  6907. wait(0.001)
  6908. trail.Enabled = true
  6909. stabbing = true
  6910. audio2.SoundId = 'rbxassetid://608537390'
  6911. audio2:Play()
  6912. for i = 0,1,0.25 do
  6913. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  6914. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,-0.3,0),i)
  6915. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,0.5)*CFrame.Angles(-0.5,0,-0.5),i)
  6916. wait(0.01)
  6917. end
  6918. trail.Enabled = false
  6919. wait(0.1)
  6920. me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3
  6921. for i = 0,1,0.25 do
  6922. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  6923. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i)
  6924. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.6,-0.3)*CFrame.Angles(0.5,0,-0.5),i)
  6925. wait(0.01)
  6926. end
  6927. stabbing = false
  6928. wait(0.001)
  6929. for i = 0,1,0.05 do
  6930. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  6931. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i)
  6932. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i)
  6933. weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i)
  6934. wait(0.01)
  6935. end
  6936. weld:Destroy()
  6937. weld2:Destroy()
  6938. weld3:Destroy()
  6939. torsojoint:Clone().Parent = humanroot
  6940. rightshoulderz:Clone().Parent = me.Torso
  6941. leftshoulderz:Clone().Parent = me.Torso
  6942. canClick = true
  6943. hit = false
  6944. acting = false
  6945. end
  6946. end)
  6947. doit()
  6948. end
  6949. function hardrelease()
  6950. rightshoulderz:Clone().Parent = me.Torso
  6951. leftshoulderz:Clone().Parent = me.Torso
  6952. if me:FindFirstChild('Right Arm') then
  6953. for i,v in pairs(me["Right Arm"]:GetChildren()) do
  6954. if v:IsA('Weld') then
  6955. v:Destroy()
  6956. end
  6957. end
  6958. end
  6959. if me:FindFirstChild('Left Arm') then
  6960. for i,v in pairs(me["Left Arm"]:GetChildren()) do
  6961. if v:IsA('Weld') then
  6962. v:Destroy()
  6963. end
  6964. end
  6965. end
  6966. acting = false
  6967. canClick = true
  6968. doing = false
  6969. grabbed = nil
  6970. end
  6971. function unequip()
  6972. local doit = coroutine.wrap(function()
  6973. if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then
  6974. acting = true
  6975. local arm = me["Right Arm"]
  6976. local arm2 = me["Left Arm"]
  6977. local tors = me.Torso
  6978. local weld = Instance.new('Weld',arm)
  6979. weld.Part0 = arm
  6980. weld.Part1 = tors
  6981. weld.C0 = CFrame.new(-1.5,0,0)
  6982. local weld2 = Instance.new("Weld", arm2)
  6983. weld2.Part0 = arm2
  6984. weld2.Part1 = tors
  6985. weld2.C0 = CFrame.new(1.5, 0, 0)
  6986. wait(0.001)
  6987. trail.Enabled = true
  6988. for i = 0,1,0.1 do
  6989. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
  6990. weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i)
  6991. weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i)
  6992. wait(0.001)
  6993. end
  6994. trail.Enabled = false
  6995. wait(0.25)
  6996. for i = 0,1,0.1 do
  6997. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
  6998. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i)
  6999. weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i)
  7000. wait(0.01)
  7001. end
  7002. weld:Destroy()
  7003. weld2:Remove()
  7004. if tors ~= nil then
  7005. rightshoulderz:Clone().Parent = me.Torso
  7006. leftshoulderz:Clone().Parent = me.Torso
  7007. end
  7008. acting = false
  7009. end
  7010. end)
  7011. doit()
  7012. end
  7013.  
  7014. mouse.KeyDown:connect(function(key)
  7015. if usable == true then
  7016. if key == "z" then
  7017. if active == false and acting == false then
  7018. active = true
  7019. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7020. notify("KNIFE EQUIPPED",false)
  7021. audio:Stop()
  7022. audio.SoundId = 'rbxassetid://608618332'
  7023. equip()
  7024. wait(0.6)
  7025. audio:Play()
  7026. knifeweld.Part0 = me["Right Arm"]
  7027. knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0)
  7028. elseif acting == false then
  7029. active = false
  7030. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7031. audio:Stop()
  7032. audio.SoundId = 'rbxassetid://608538233'
  7033. unequip()
  7034. notify("KNIFE UNEQUIPPED",false)
  7035. wait(0.3)
  7036. audio:Play()
  7037. knifeweld.Part0 = me.Torso
  7038. knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55)
  7039. canClick = true
  7040. end
  7041. elseif key == "f" then
  7042. if mode == 'kill' or active == false then return end
  7043. mode = "kill"
  7044. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7045. notify("MODE || KILL || [F]",false)
  7046. elseif key == "e" then
  7047. if mode == 'throw' or active == false then return end
  7048. mode = "throw"
  7049. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7050. notify("MODE || PUSH || [E]",false)
  7051. elseif key == "q" then
  7052. if mode == 'release' or active == false then return end
  7053. mode = "release"
  7054. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7055. notify("MODE || RELEASE || [Q]",false)
  7056. elseif key == "x" then
  7057. if mode == 'stab' or active == false or acting == true then return end
  7058. mode = "stab"
  7059. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7060. notify("MODE || STAB || [X]",false)
  7061. elseif key == "c" then
  7062. if mode == 'fling' or active == false or acting == true then return end
  7063. mode = "fling"
  7064. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7065. notify("MODE || THROW || [C]",false)
  7066. elseif key == "b" then
  7067. if mode == 'instasplode' or active == false or acting == true then return end
  7068. mode = "instasplode"
  7069. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7070. notify("MODE || MOLOTOV || [B]",false)
  7071. elseif key == "r" then
  7072. if mode == 'paralyze' or active == false then return end
  7073. mode = "paralyze"
  7074. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7075. notify("MODE || PARALYZE || [R]",false)
  7076. elseif key == "v" then
  7077. if mode == 'explode' or active == false or acting == true then return end
  7078. mode = "explode"
  7079. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7080. notify("MODE || EXPLODE || [V]",false)
  7081. elseif key == "k" then
  7082. if mode == 'suicide' or active == false or acting == true then return end
  7083. mode = "suicide"
  7084. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7085. notify("MODE || SUICIDE || [K]",false)
  7086. elseif key == "h" then
  7087. if mode == 'firework' or active == false or acting == true then return end
  7088. mode = "firework"
  7089. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7090. notify("MODE || FIREWORK || [H]",false)
  7091. elseif key == "g" then
  7092. if mode == 'finish' or active == false then return end
  7093. mode = "finish"
  7094. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7095. local welp = "ON"
  7096. if finishnum == 1 then
  7097. welp = "OFF"
  7098. end
  7099. notify("MODE || FINISH || [G] || "..welp,false)
  7100. elseif key == "n" then
  7101. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7102. if zombiemode == false then
  7103. notify("ZOMBIE MODE ON || [N]",false)
  7104. zombiemode = true
  7105. else
  7106. notify("ZOMBIE MODE OFF || [N]",false)
  7107. zombiemode = false
  7108. end
  7109. elseif key == "m" then
  7110. if finishnum == 1 then
  7111. finishnum = 15
  7112. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7113. notify("PSYCHOPATH MODE ON || [M]",false)
  7114. if cancolorfilter then
  7115. local Sp00kyGui = Instance.new("ScreenGui")
  7116. local ImageLabel = Instance.new("ImageLabel")
  7117.  
  7118. -- Properties
  7119.  
  7120. Sp00kyGui.Parent = playergui
  7121. Sp00kyGui.Name = "REEEEEEEE"
  7122.  
  7123. ImageLabel.Parent = Sp00kyGui
  7124. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  7125. ImageLabel.BackgroundTransparency = 1
  7126. ImageLabel.Size = UDim2.new(1, 0, 1, 0)
  7127. ImageLabel.Image = "rbxassetid://74443700"
  7128. ImageLabel.ImageColor3 = Color3.new(1, 0, 0)
  7129. end
  7130. if canbackgroundmusic == true then
  7131. local sound = Instance.new('Sound',playergui)
  7132. sound.Name = 'PSYCHOPAAAATH'
  7133. sound.SoundId = 'rbxassetid://220875210'
  7134. sound.Looped = true
  7135. sound.Volume = 0.5
  7136. sound:Play()
  7137. end
  7138. else
  7139. finishnum = 1
  7140. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  7141. notify("PSYCHOPATH MODE OFF || [M]",false)
  7142. for i,v in pairs(playergui:GetChildren()) do
  7143. if v.Name == "REEEEEEEE" then
  7144. v:Destroy()
  7145. end
  7146. end
  7147. local thisniggarighthere = playergui:FindFirstChild('PSYCHOPAAAATH')
  7148. if thisniggarighthere then thisniggarighthere:Destroy() end
  7149. end
  7150. end
  7151. end
  7152. end)
  7153.  
  7154. mouse.Button1Down:connect(function()
  7155. if active == false or usable == false then return end
  7156. if canClick == true and acting == false then
  7157. if mode == "stab" and finishnum == 1 then
  7158. canClick = false
  7159. stab()
  7160. elseif mode == "stab" and finishnum == 15 then
  7161. canClick = false
  7162. stabwithpassion()
  7163. elseif mode == "fling" then
  7164. canClick = false
  7165. fling()
  7166. elseif mode == "explode" then
  7167. canClick = false
  7168. explode()
  7169. elseif mode == "instasplode" then
  7170. canClick = false
  7171. instasplode()
  7172. elseif mode == "finish" then
  7173. canClick = false
  7174. finish()
  7175. elseif mode == "suicide" then
  7176. canClick = false
  7177. kysnigga()
  7178. elseif mode == "firework" then
  7179. canClick = false
  7180. fireworkit()
  7181. else
  7182. canClick = false
  7183. grab()
  7184. end
  7185. else
  7186. if grabbed ~= nil and doing == false then
  7187. if mode == "release" then
  7188. if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
  7189. release()
  7190. else
  7191. hardrelease()
  7192. end
  7193. elseif mode == "kill" then
  7194. if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
  7195. kill()
  7196. else
  7197. hardrelease()
  7198. end
  7199. elseif mode == "paralyze" then
  7200. if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
  7201. paralyze()
  7202. else
  7203. hardrelease()
  7204. end
  7205. elseif mode == "throw" then
  7206. if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
  7207. throw()
  7208. else
  7209. hardrelease()
  7210. end
  7211. elseif mode == "explode" then
  7212. if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
  7213. throw()
  7214. else
  7215. hardrelease()
  7216. end
  7217. end
  7218. end
  7219. end
  7220. end)
  7221.  
  7222. knife.Touched:connect(function(hitz)
  7223. if hitz.Parent and hitz.Parent:FindFirstChildOfClass("Humanoid") and hitz.Parent:FindFirstChild('Torso') and acting == true then
  7224. if mode == "stab" and stabbing == true and hit == false then
  7225. hit = true
  7226. tone = math.random(1, 3)
  7227. audio:Stop()
  7228. if tone == 1 then audio.SoundId = "rbxassetid://220833967" end
  7229. if tone == 2 then audio.SoundId = "rbxassetid://220833976" end
  7230. if tone == 3 then audio.SoundId = "rbxassetid://220834000" end
  7231. audio.PlaybackSpeed = 1
  7232. audio:Play()
  7233. killz(hitz.Parent,'Left Leg')
  7234. killz(hitz.Parent,'Left Arm')
  7235. killz(hitz.Parent,'Right Leg')
  7236. killz(hitz.Parent,'Right Arm')
  7237. elseif mode == "finish" and finishing == true then
  7238. print('PSYCHOPATH MODE REEEEEEEEEEEEEEEE')
  7239. tone = math.random(1, 3)
  7240. audio:Stop()
  7241. if tone == 1 then audio.SoundId = "rbxassetid://220833967" end
  7242. if tone == 2 then audio.SoundId = "rbxassetid://220833976" end
  7243. if tone == 3 then audio.SoundId = "rbxassetid://220834000" end
  7244. audio.PlaybackSpeed = 1
  7245. audio:Play()
  7246. if hit == false then
  7247. hitz.Parent:FindFirstChildOfClass('Humanoid').Health = 0
  7248. wait()
  7249. killz(hitz.Parent,'Head',nil,false,true)
  7250. end
  7251. hit = true
  7252. elseif grabbed == nil and grabbing == true and hit == false then
  7253. if hitz.Parent:FindFirstChildOfClass("Humanoid").Health > 0 and hitz.Parent:FindFirstChild('Torso') and hitz.Parent.Torso:FindFirstChild('Neck') then
  7254. grabbed = hitz.Parent
  7255. local weldz = Instance.new('Weld',point)
  7256. weldz.Name = "Holder"
  7257. weldz.Part0 = point
  7258. weldz.Part1 = hitz.Parent.Torso
  7259. weldz.C0 = CFrame.new(0,0,-1.2)
  7260. end
  7261. end
  7262. end
  7263. end)
  7264.  
  7265. player.CharacterAdded:connect(function()
  7266. usable = false
  7267. for i,v in pairs(playergui:GetChildren()) do
  7268. if v.Name == "REEEEEEEE" or v.Name == 'PSYCHOPAAAATH' then
  7269. v:Destroy()
  7270. end
  7271. end
  7272. end)
  7273. while usable do
  7274. local coru = coroutine.wrap(function()
  7275. for i,v in pairs(knifeparts) do
  7276. local function try()
  7277. if v[1].Parent ~= v[2] then
  7278. v[1].Parent = v[2]
  7279. end
  7280. end
  7281. pcall(try)
  7282. end
  7283. if grabbed ~= nil then
  7284. if grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
  7285. for i,v in pairs(grabbed:GetChildren()) do
  7286. if v:IsA('Tool') then
  7287. local model = Instance.new('Model',workspace)
  7288. v.Parent = model
  7289. model:TranslateBy(Vector3.new(3,0,0))
  7290. end
  7291. end
  7292. grabbed:FindFirstChildOfClass('Humanoid').Name = "Hoomanoid"
  7293. grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 0
  7294. grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 0
  7295. grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
  7296. grabweld = grabbed.Torso:FindFirstChild("TargetWeld")
  7297. if grabweld ~= nil then return end
  7298. grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
  7299. if grabbed.Torso:FindFirstChild('Left Shoulder') then
  7300. leftshoulder = grabbed.Torso["Left Shoulder"]:Clone()
  7301. end
  7302. if grabbed.Torso:FindFirstChild('Right Shoulder') then
  7303. rightshoulder = grabbed.Torso["Right Shoulder"]:Clone()
  7304. end
  7305. headweld = grabbed.Torso["Neck"]:Clone()
  7306. local targetweld = Instance.new('Weld',grabbed.Torso)
  7307. targetweld.Part0 = grabbed.Torso
  7308. targetweld.Part1 = grabbed.Head
  7309. targetweld.Name = "TargetWeld"
  7310. targetweld.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(0, 0, 0)
  7311. if grabbed:FindFirstChild('Left Arm') then
  7312. local targetweld2 = Instance.new('Weld',grabbed["Left Arm"])
  7313. targetweld2.Part0 = grabbed.Torso
  7314. targetweld2.Part1 = grabbed["Left Arm"]
  7315. targetweld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
  7316. end
  7317.  
  7318. for i = 0,1,0.1 do
  7319. if me:FindFirstChild("Left Arm") == nil or me:FindFirstChild("Torso") == nil or targetweld == nil then return end
  7320. targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0.25, 0, 0), i)
  7321. if targetweld2 then
  7322. targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0.5, 0)*CFrame.Angles(0, 0, -0.55), i)
  7323. end
  7324. wait(0.001)
  7325. end
  7326. end
  7327. end
  7328. end)
  7329. coru()
  7330. wait()
  7331. end
  7332.  
  7333. end
  7334. local coru=coroutine.wrap(function()
  7335. nub()
  7336. end)
  7337. coru()
  7338.  
  7339. player.CharacterAppearanceLoaded:connect(function()
  7340. local coru =coroutine.wrap(function()
  7341. nub()
  7342. end)
  7343. coru()
  7344. end)
  7345.  
  7346. while true do
  7347. local coru=coroutine.wrap(function()
  7348. if grabbed then
  7349. v:FindFirstChildOfClass('Humanoid').Jump = false
  7350. v:FindFirstChildOfClass('Humanoid').Sit = false
  7351. v:FindFirstChildOfClass('Humanoid').JumpPower = 0
  7352. v:FindFirstChildOfClass('Humanoid').PlatformStand = true
  7353. v:FindFirstChildOfClass('Humanoid').Name = "No escape."
  7354. end
  7355. for i,v in pairs(rekt) do
  7356. if v and v:FindFirstChildOfClass('Humanoid') then
  7357. for a,c in pairs(v:GetChildren()) do
  7358. if c:IsA('Tool') then
  7359. local model = Instance.new('Model',workspace)
  7360. c.Parent = model
  7361. model:TranslateBy(Vector3.new(3,0,0))
  7362. end
  7363. end
  7364. v:FindFirstChildOfClass('Humanoid').Jump = false
  7365. v:FindFirstChildOfClass('Humanoid').Sit = false
  7366. v:FindFirstChildOfClass('Humanoid').JumpPower = 0
  7367. v:FindFirstChildOfClass('Humanoid').PlatformStand = true
  7368. v:FindFirstChildOfClass('Humanoid').Name = "No escape."
  7369. local thing = getplr(v)
  7370. if thing then
  7371. thing.CameraMinZoomDistance = 3
  7372. end
  7373. else
  7374. local thing = getplr(v)
  7375. if thing then
  7376. thing.CameraMinZoomDistance = 0.5
  7377. end
  7378. table.remove(rekt,i)
  7379. end
  7380. end
  7381. end)
  7382. coru()
  7383. local coru2 = coroutine.wrap(function()
  7384. if curpart then
  7385. curpoint = curpart.CFrame.p
  7386. end
  7387. if lastgui then
  7388. lastgui:Destroy()
  7389. lastgui = nil
  7390. end
  7391. if curpoint then
  7392. lastgui = Instance.new('BillboardGui',player.PlayerGui)
  7393. lastgui.AlwaysOnTop = true
  7394. lastgui.MaxDistance = 0
  7395. lastgui.Size = UDim2.new(5,0,5,0)
  7396. if curpart == nil then
  7397. lastgui.Adornee = workspace
  7398. lastgui.StudsOffsetWorldSpace = curpoint
  7399. else
  7400. lastgui.Adornee = curpart
  7401. end
  7402. local cross = Instance.new('ImageLabel',lastgui)
  7403. cross.BackgroundTransparency = 1
  7404. cross.Size = UDim2.new(1,0,1,0)
  7405. cross.Image = 'rbxassetid://316279304'
  7406. for i,v in pairs(zombies) do
  7407. if v:FindFirstChildOfClass('Humanoid') then
  7408. v:FindFirstChildOfClass('Humanoid').WalkToPoint = curpoint
  7409. end
  7410. end
  7411. else
  7412. for i,v in pairs(zombies) do
  7413. if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Head') then
  7414. v:FindFirstChildOfClass('Humanoid').WalkToPoint = v.Head.Position
  7415. end
  7416. end
  7417. end
  7418. end)
  7419. coru2()
  7420. wait()
  7421. end
  7422. end)
  7423.  
  7424. Hub.Name = "Hub"
  7425. Hub.Parent = Frame
  7426. Hub.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  7427. Hub.BackgroundTransparency = 0.69999998807907
  7428. Hub.Position = UDim2.new(0, 0, 0.637681186, 0)
  7429. Hub.Size = UDim2.new(0, 213, 0, 125)
  7430. Hub.Font = Enum.Font.SourceSans
  7431. Hub.FontSize = Enum.FontSize.Size14
  7432. Hub.Text = "Zallyhub"
  7433. Hub.TextSize = 14
  7434. Hub.MouseButton1Down:connect(function()
  7435. -- ZallyHub V1. Made by Zalendier#4007 --
  7436.  
  7437. local Main1 = Instance.new("ScreenGui")
  7438. local Main2 = Instance.new("Frame")
  7439. local cmd1 = Instance.new("TextButton")
  7440. local cmd2 = Instance.new("TextButton")
  7441. local cmd3 = Instance.new("TextButton")
  7442. local cmd4 = Instance.new("TextButton")
  7443. local cmd5 = Instance.new("TextButton")
  7444. local credits = Instance.new("TextLabel")
  7445.  
  7446. -- Gui
  7447. Main1.Name = "ZallyHub"
  7448. Main1.Parent = game.CoreGui
  7449. -- Main
  7450. Main2.Name = "Main"
  7451. Main2.Parent = Main1
  7452. Main2.Draggable = true
  7453. Main2.Active = true
  7454. Main2.BackgroundColor3 = Color3.new(0, 170, 255)
  7455. Main2.BorderSizePixel = 0
  7456. Main2.ZIndex = 1
  7457. Main2.Size = UDim2.new(0, 200, 0, 600)
  7458. -- cmd1
  7459. cmd1.Name = "FE God"
  7460. cmd1.Parent = Main2
  7461. cmd1.Active = true
  7462. cmd1.BackgroundColor3 = Color3.new(0, 100, 255)
  7463. cmd1.BorderSizePixel = 1
  7464. cmd1.BorderColor3 = Color3.new(0, 0, 0)
  7465. cmd1.ZIndex = 10
  7466. cmd1.Size = UDim2.new(0, 200, 0, 100)
  7467. cmd1.TextColor3 = Color3.new(255, 255, 255)
  7468. cmd1.Text = "FE God"
  7469. cmd1.FontSize = "Size32"
  7470. -- FE God
  7471. cmd1.MouseButton1Click:connect(function()
  7472. local player = game.Players.LocalPlayer
  7473. if player.Character then
  7474. if player.Character:FindFirstChild("Humanoid") then
  7475. player.Character.Humanoid.Name = "1"
  7476. end
  7477. local l = player.Character["1"]:Clone()
  7478. l.Parent = player.Character
  7479. l.Name = "Humanoid"; wait(0.1)
  7480. player.Character["1"]:Destroy()
  7481. workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
  7482. player.Character.Animate.Disabled = true; wait(0.1)
  7483. player.Character.Animate.Disabled = false
  7484. end
  7485. print("finished.")
  7486. end)
  7487. -- cmd2
  7488. cmd2.Name = "Admin"
  7489. cmd2.Parent = Main2
  7490. cmd2.Active = true
  7491. cmd2.BackgroundColor3 = Color3.new(0, 100, 255)
  7492. cmd2.BorderSizePixel = 1
  7493. cmd2.BorderColor3 = Color3.new(0, 0, 0)
  7494. cmd2.ZIndex = 9
  7495. cmd2.Size = UDim2.new(0, 200, 0, 100)
  7496. cmd2.Position = UDim2.new(0, 0, 0, 100)
  7497. cmd2.TextColor3 = Color3.new(255, 255, 255)
  7498. cmd2.Text = "Admin"
  7499. cmd2.FontSize = "Size32"
  7500. -- Admin
  7501. cmd2.MouseButton1Click:connect(function()
  7502. --TITLE: RC7 Admin
  7503.  
  7504. local NOCLIP = false
  7505. local JESUSFLY = false
  7506. local SWIM = false
  7507.  
  7508. game:GetService('RunService').Stepped:connect(function()
  7509. if NOCLIP then
  7510. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  7511. elseif JESUSFLY then
  7512. game.Players.LocalPlayer.Character.Humanoid:ChangeState(12)
  7513. elseif SWIM then
  7514. game.Players.LocalPlayer.Character.Humanoid:ChangeState(4)
  7515. end
  7516. end)
  7517.  
  7518. _G.Rc7Notification = function(a,b,c)
  7519. game:GetService("CoreGui"):WaitForChild("RobloxGui").SendNotification:Fire(a, b, "rbxassetid://331959655", c)
  7520. end
  7521.  
  7522. local gPlayers = game:GetService("Players")
  7523. local admin = gPlayers.LocalPlayer.Name
  7524. local bannedplyrs = {}
  7525.  
  7526. local admins = {'Xeradius','AutumnsGift'} -- names here of people who have access to your commands! (Your name doesn't need to be in here.)
  7527.  
  7528. -- declare services / init stuff --
  7529. local services={}
  7530. local cmds={}
  7531. local std={}
  7532. function KICK(PLAYER_KICK)
  7533. if PLAYER_KICK.Character:FindFirstChild('Humanoid') then
  7534. local KICK_1 = Instance.new('SkateboardPlatform', PLAYER_KICK.Character)
  7535. KICK_1.Name = ''
  7536. KICK_1.CFrame = CFrame.new(math.random(-1000, 1000), 1000, math.random(-1000, 1000))
  7537. KICK_1.CanCollide = false
  7538. KICK_1.Transparency = 1
  7539.  
  7540. PLAYER_KICK.Character.Humanoid.WalkSpeed = 0
  7541.  
  7542. wait()
  7543.  
  7544. local WELD_1 = Instance.new('Weld', KICK_1)
  7545. WELD_1.Name = ''
  7546. WELD_1.Part0 = PLAYER_KICK.Character.Torso
  7547. WELD_1.Part1 = KICK_1
  7548. WELD_1.C0 = CFrame.new(0, -400, 0)
  7549.  
  7550. wait()
  7551.  
  7552. KICK_1.Anchored = true
  7553. WELD_1:remove()
  7554. end
  7555. end
  7556.  
  7557.  
  7558. local serverLocked = false
  7559.  
  7560. game.Players.PlayerAdded:connect(function(player)
  7561. if serverLocked == true then
  7562. player.CharacterAdded:connect(function()
  7563. wait(2)
  7564. KICK(player)
  7565. end)
  7566. end
  7567. end)
  7568. function FIX_LIGHTING()
  7569. game.Lighting.Ambient = Color3.new(0.5, 0.5, 0.5)
  7570. game.Lighting.Brightness = 1
  7571. game.Lighting.GlobalShadows = true
  7572. game.Lighting.Outlines = false
  7573. game.Lighting.TimeOfDay = 14
  7574. game.Lighting.FogEnd = 100000
  7575. end
  7576.  
  7577. services.players=gPlayers
  7578. services.lighting=game:GetService('Lighting')
  7579. services.workspace=game:GetService('Workspace')
  7580. services.events = {}
  7581. local user = gPlayers.LocalPlayer
  7582.  
  7583. local cmdprefix=';'
  7584. local scriptprefix='\\'
  7585. local split=" "
  7586.  
  7587.  
  7588. updateevents=function()
  7589. for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
  7590. for i,v in pairs(gPlayers:players())do
  7591. local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
  7592. services.events[#services.events+1] = ev
  7593. end
  7594. end
  7595.  
  7596. -- safazi's lib --
  7597.  
  7598. std.inTable=function(tbl,val)
  7599. if tbl==nil then return false end
  7600.  
  7601. for _,v in pairs(tbl)do
  7602. if v==val then return true end
  7603. end
  7604. return false
  7605. end
  7606.  
  7607. std.out=function(str)
  7608. print(str)
  7609. end
  7610.  
  7611. std.list=function(tbl) --turns table into list with commas
  7612. local str=''
  7613. for i,v in pairs(tbl)do
  7614. str=str..tostring(v)
  7615. if i~=#tbl then str=str..', ' end
  7616. end
  7617. return str
  7618. end
  7619.  
  7620. std.endat=function(str,val)
  7621. local z=str:find(val)
  7622. if z then
  7623. return str:sub(0,z-string.len(val)),true
  7624. else
  7625. return str,false
  7626. end
  7627. end
  7628.  
  7629. std.first=function(str) return str:sub(1,1) end
  7630.  
  7631. isAdmin=function(name)
  7632. if name==admin then
  7633. return true
  7634. elseif admins[name]==true then
  7635. return true
  7636. end
  7637. return false
  7638. end
  7639.  
  7640. gPlayers.PlayerAdded:connect(function(player)
  7641. for i,v in pairs(bannedplyrs) do
  7642. if player == v then player:Destroy() end
  7643. end
  7644. end)
  7645.  
  7646. local exec=function(str)
  7647. spawn(function()
  7648. local script, loaderr = loadstring(str)
  7649. if not script then
  7650. error(loaderr)
  7651. else
  7652. script()
  7653. end
  7654. end)
  7655. end
  7656.  
  7657. local findCmd=function(cmd_name)
  7658. for i,v in pairs(cmds)do
  7659. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  7660. return v
  7661. end
  7662. end
  7663. end
  7664.  
  7665. local getCmd=function(msg)
  7666. local cmd,hassplit=std.endat(msg:lower(),split)
  7667. if hassplit then
  7668. return {cmd,true}
  7669. else
  7670. return {cmd,false}
  7671. end
  7672. end
  7673.  
  7674. local getprfx=function(strn)
  7675. if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  7676. elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  7677. end return
  7678. end
  7679.  
  7680. local getArgs=function(str)
  7681. local args={}
  7682. local new_arg=nil
  7683. local hassplit=nil
  7684. local s=str
  7685. repeat
  7686. new_arg,hassplit=std.endat(s:lower(),split)
  7687. if new_arg~='' then
  7688. args[#args+1]=new_arg
  7689. s=s:sub(string.len(new_arg)+string.len(split)+1)
  7690. end
  7691. until hassplit==false
  7692. return args
  7693. end
  7694.  
  7695. local function execCmd(str, plr)
  7696. local s_cmd
  7697. local a
  7698. local cmd
  7699. s_cmd = getCmd(str) --separate command from string using split {command name,arg bool (for arg system)}
  7700. cmd = findCmd(s_cmd[1]) --get command object {NAME,DESC,{ALIASES},function(args)}
  7701. if cmd == nil then return end
  7702. a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)--start string "a" after command and split
  7703. local args=getArgs(a)--gets us a nice table of arguments
  7704.  
  7705. pcall(function()
  7706. cmd.FUNC(args, plr)
  7707. end)
  7708. end
  7709.  
  7710. function do_exec(str,plr)
  7711. if not isAdmin(plr.Name)then return end
  7712.  
  7713. str=str:gsub('/e ','')--remove "/e " the easy way!
  7714.  
  7715. local t=getprfx(str)
  7716. if t==nil then return end
  7717. str=str:sub(t[2])
  7718. if t[1]=='exec' then
  7719. exec(str)
  7720. elseif t[1]=='cmd' then
  7721. execCmd(str, plr)
  7722. end
  7723. end
  7724.  
  7725. updateevents()
  7726. _G.exec_cmd = execCmd
  7727. --game.Players.LocalPlayer.Chatted:connect(doexec)
  7728.  
  7729. local _char=function(plr_name)
  7730. for i,v in pairs(game.Players:GetChildren())do
  7731. if v:IsA'Player'then
  7732. if v.Name==plr_name then return v.Character end
  7733. end
  7734. end
  7735. return
  7736. end
  7737.  
  7738. local _plr=function(plr_name)
  7739. for i,v in pairs(game.Players:GetChildren())do
  7740. if v:IsA'Player'then
  7741. if v.Name==plr_name then return v end
  7742. end
  7743. end
  7744. return
  7745. end
  7746.  
  7747. function addcmd(name,desc,alias,func)
  7748. cmds[#cmds+1]=
  7749. {
  7750. NAME=name;
  7751. DESC=desc;
  7752. ALIAS=alias;
  7753. FUNC=func;
  7754. }
  7755. end
  7756.  
  7757. local function getPlayer(name)
  7758. local nameTable = {}
  7759. name=name:lower()
  7760. if name == "me" then
  7761. return {admin}
  7762. elseif name == "others" then
  7763. for i,v in pairs(gPlayers:GetChildren()) do
  7764. if v:IsA'Player'then
  7765. if v.Name~=admin then
  7766. nameTable[#nameTable+1]=v.Name
  7767. end
  7768. end
  7769. end
  7770. elseif name == "all" then
  7771. for i,v in pairs(gPlayers:GetChildren()) do
  7772. if v:IsA'Player'then
  7773. nameTable[#nameTable+1]=v.Name
  7774. end
  7775. end
  7776. else
  7777. for i,v in pairs(gPlayers:GetChildren()) do
  7778. local lname = v.Name:lower()
  7779. local i,j = lname:find(name)
  7780. if i == 1 then
  7781. return {v.Name}
  7782. end
  7783. end
  7784. end
  7785. return nameTable
  7786. end
  7787.  
  7788. -- commands --
  7789.  
  7790. addcmd('ff',"ff's a player",{},
  7791. function(args)
  7792. local players=getPlayer(args[1])
  7793. for i,v in pairs(players)do
  7794. local pchar=_char(v)
  7795. Instance.new("ForceField", pchar)
  7796. end
  7797. end)
  7798.  
  7799. addcmd('noff',"unff's a player",{'unff'},
  7800. function(args)
  7801. local players=getPlayer(args[1])
  7802. for i,v in pairs(players)do
  7803. local pchar=_char(v)
  7804. for j,v1 in pairs(pchar:GetChildren()) do
  7805. if v1:IsA("ForceField") then
  7806. v1:Destroy()
  7807. end
  7808. end
  7809. end
  7810. end)
  7811.  
  7812. addcmd('fire','set a player on fire',{},
  7813. function(args)
  7814. local players=getPlayer(args[1])
  7815. for i,v in pairs(players)do
  7816. local pchar=_char(v)
  7817. Instance.new("Fire", pchar.Torso)
  7818. end
  7819. end)
  7820.  
  7821. addcmd('nofire','extinguish a player',{'unfire'},
  7822. function(args)
  7823. local players=getPlayer(args[1])
  7824. for i,v in pairs(players)do
  7825. local pchar=_char(v)
  7826. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  7827. if v1:IsA("Fire") then
  7828. v1:Destroy()
  7829. end
  7830. end
  7831. end
  7832. end)
  7833.  
  7834. addcmd('sp','give a player sparkles',{},
  7835. function(args)
  7836. local players=getPlayer(args[1])
  7837. for i,v in pairs(players)do
  7838. local pchar=_char(v)
  7839. Instance.new("Sparkles", pchar.Torso)
  7840. end
  7841. end)
  7842.  
  7843. addcmd('nosp','remove sparkles from a player',{'unsp'},
  7844. function(args)
  7845. local players=getPlayer(args[1])
  7846. for i,v in pairs(players)do
  7847. local pchar=_char(v)
  7848. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  7849. if v1:IsA("Sparkles") then
  7850. v1:Destroy()
  7851. end
  7852. end
  7853. end
  7854. end)
  7855.  
  7856. addcmd('smoke','give a player smoke',{},
  7857. function(args)
  7858. local players=getPlayer(args[1])
  7859. for i,v in pairs(players)do
  7860. local pchar=_char(v)
  7861. Instance.new("Smoke", pchar.Torso)
  7862. end
  7863. end)
  7864.  
  7865. addcmd('nosmoke','remove smoke from a player',{},
  7866. function(args)
  7867. local players=getPlayer(args[1])
  7868. for i,v in pairs(players)do
  7869. local pchar=_char(v)
  7870. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  7871. if v1:IsA("Smoke") then
  7872. v1:Destroy()
  7873. end
  7874. end
  7875. end
  7876. end)
  7877.  
  7878. addcmd('btools','gives a player btools',{},
  7879. function(args)
  7880. local players=getPlayer(args[1])
  7881. if players ~= nil then
  7882. for i, v in pairs(players) do
  7883. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
  7884. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
  7885. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
  7886. end
  7887. end
  7888. end)
  7889.  
  7890. addcmd('god','gods player',{},
  7891. function(args)
  7892. local players=getPlayer(args[1])
  7893. for i,v in pairs(players)do
  7894. local pchar=_char(v)
  7895. if pchar then pchar.Humanoid.MaxHealth=math.huge end
  7896. end
  7897. end)
  7898.  
  7899. addcmd('sgod','silently gods player',{},
  7900. function(args)
  7901. local players=getPlayer(args[1])
  7902. for i,v in pairs(players)do
  7903. local pchar=_char(v)
  7904. spawn(function()
  7905. pchar.Humanoid.MaxHealth = 10000000
  7906. wait()
  7907. pchar.Humanoid.Health = 10000000
  7908. end)
  7909. end
  7910. end)
  7911.  
  7912. addcmd('ungod','removes god from a player',{},
  7913. function(args)
  7914. local players=getPlayer(args[1])
  7915. for i,v in pairs(players)do
  7916. local pchar=_char(v)
  7917. if pchar then
  7918. pchar.Humanoid.MaxHealth=100
  7919. pchar.Humanoid.Health=100
  7920. end
  7921. end
  7922. end)
  7923.  
  7924. addcmd('heal','resets a players health',{},
  7925. function(args)
  7926. local players=getPlayer(args[1])
  7927. for i,v in pairs(players)do
  7928. local pchar=_char(v)
  7929. if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
  7930. end
  7931. end)
  7932.  
  7933. addcmd('frz','freezes a player',{},
  7934. function(args)
  7935. local players = getPlayer(args[1])
  7936. if players ~= nil then
  7937. for i, v in pairs(players) do
  7938. _char(v).Torso.Anchored = true
  7939. end
  7940. end
  7941. end)
  7942.  
  7943. addcmd('thaw','freezes a player',{},
  7944. function(args)
  7945. local players = getPlayer(args[1])
  7946. if players ~= nil then
  7947. for i, v in pairs(players) do
  7948. _char(v).Torso.Anchored = false
  7949. end
  7950. end
  7951. end)
  7952.  
  7953. addcmd('kill','kills a player',{},
  7954. function(args)
  7955. local players=getPlayer(args[1])
  7956. for i,v in pairs(players)do
  7957. local pchar=_char(v)
  7958. if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  7959. end
  7960. end)
  7961.  
  7962. addcmd('sound','plays a sound',{},
  7963. function(args)
  7964. local function dels(instance)
  7965. for i,v in pairs(instance:GetChildren())do
  7966. if v:IsA'Sound'then v:Destroy()end
  7967. dels(v)
  7968. end
  7969. end
  7970. dels(workspace)
  7971.  
  7972. local c=args[1]or'stop'
  7973. if std.inTable({'stop'},c:lower())then return end
  7974. local s=Instance.new("Sound", workspace)
  7975. s.Looped = true
  7976. s.SoundId = "rbxassetid://"..c
  7977. s.Volume=1
  7978. s:Play() s.Name = "Musickek"
  7979. end)
  7980.  
  7981. addcmd('explode','explode a player', {},
  7982. function(args)
  7983. local players=getPlayer(args[1])
  7984. for i, v in pairs(players) do
  7985. local char = _char(v)
  7986. if char:FindFirstChild("Torso") then
  7987. Instance.new("Explosion", char).Position = char.Torso.Position
  7988. end
  7989. end
  7990. end)
  7991.  
  7992. addcmd('invis','make a player invisible',{},
  7993. function(args)
  7994. local players=getPlayer(args[1])
  7995. for i, v in pairs(players) do
  7996. for k, v2 in pairs(_char(v):GetChildren()) do
  7997. if v2.className == "Part" then
  7998. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  7999. elseif v2.className == "Hat" then
  8000. if v2:FindFirstChild("Handle") then
  8001. v2.Handle.Transparency = 1
  8002. end
  8003. end
  8004. if v2:FindFirstChild("face") then
  8005. v2.face:Destroy()
  8006. end
  8007. end
  8008. end
  8009. end)
  8010.  
  8011. addcmd('vis','make a player visible',{},
  8012. function(args)
  8013. local players=getPlayer(args[1])
  8014. for i, v in pairs(players) do
  8015. for k, v2 in pairs(_char(v):GetChildren()) do
  8016. if v2.className == "Part" then
  8017. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end
  8018. elseif v2.className == "Hat" then
  8019. if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  8020. end
  8021. if v2:FindFirstChild("face") then
  8022. v2.face:Destroy()
  8023. end
  8024. end
  8025. end
  8026. end)
  8027.  
  8028. addcmd('goto','go to a player',{},
  8029. function(args)
  8030. local players=getPlayer(args[1])
  8031. if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  8032. _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  8033. end
  8034. end)
  8035.  
  8036. addcmd('bring','bring a player to you',{},
  8037. function(args)
  8038. local players=getPlayer(args[1])
  8039. for i,v in pairs(players) do
  8040. if _char(v):FindFirstChild("HumanoidRootPart") then
  8041. _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame
  8042. end
  8043. end
  8044. end)
  8045.  
  8046. addcmd('tp','teleport player 1 to player 2',{},
  8047. function(args)
  8048. local players1=getPlayer(args[1])
  8049. local players2=getPlayer(args[2])
  8050. if not players2[1] then return end
  8051. for i,v in pairs(players1) do
  8052. if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  8053. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  8054. end
  8055. end
  8056. end)
  8057.  
  8058. addcmd('charapp','change a players appearance',{},
  8059. function(args)
  8060. local players=getPlayer(args[1])
  8061. if not args[1]or not args[2]then return end
  8062. local id=args[2]
  8063. if players ~= nil then
  8064. for i,v in pairs(players) do
  8065. gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..id
  8066. if _char(v):FindFirstChild("Head") then
  8067. _char(v).Head:Destroy()
  8068. end
  8069. end
  8070. end
  8071. end)
  8072.  
  8073. addcmd('ws','change a players walkspeed',{},
  8074. function(args)
  8075. local players=getPlayer(args[1])
  8076. if not args[1]or not args[2]then return end
  8077. local num=args[2]
  8078. for i,v in pairs(players) do
  8079. if _char(v):FindFirstChild("Humanoid") then
  8080. _char(v).Humanoid.WalkSpeed=tonumber(num)
  8081. end
  8082. end
  8083. end)
  8084.  
  8085. addcmd('time','change the time of day',{},
  8086. function(args)
  8087. if not args[1]then return end
  8088. local time_=tonumber(args[1])
  8089.  
  8090. game.Lighting:SetMinutesAfterMidnight(time_*60)
  8091. end)
  8092.  
  8093. addcmd('kick','kick a player',{},
  8094. function(args)
  8095. local players=getPlayer(args[1])
  8096. for i,v in pairs(players) do
  8097. gPlayers[v]:Destroy()
  8098. end
  8099. end)
  8100.  
  8101. addcmd('ban','ban a player',{},
  8102. function(args)
  8103. local players=getPlayer(args[1])
  8104. for i,v in pairs(players) do
  8105. bannedplyrs[#bannedplyrs+1]=v
  8106. gPlayers[v]:Destroy()
  8107. end
  8108. end)
  8109.  
  8110. addcmd('unlockws','unlock the whole workspace',{},
  8111. function(args)
  8112. local function unlock(instance)
  8113. for i,v in pairs(instance:GetChildren()) do
  8114. if v:IsA("BasePart") then
  8115. v.Locked = false
  8116. end
  8117. unlock(v)
  8118. end
  8119. end
  8120. unlock(workspace)
  8121. end)
  8122.  
  8123. addcmd('unanchorws','unanchor the whole workspace',{},
  8124. function(args)
  8125. local function unanchor(instance)
  8126. for i,v in pairs(instance:GetChildren()) do
  8127. if v:IsA("BasePart") then
  8128. v.Anchored=false
  8129. end
  8130. unanchor(v)
  8131. end
  8132. end
  8133. unanchor(workspace)
  8134. end)
  8135.  
  8136. addcmd('hat','give player a hat ingame',{},
  8137. function(args)
  8138. if not args[1] or not args[2] then return end
  8139. local players=getPlayer(args[1])
  8140. local id=args[2]
  8141. local hat = game:GetObjects("rbxassetid://"..id)[1]
  8142. if hat:IsA("Hat") then
  8143. for i,v in pairs(players) do
  8144. hat:clone().Parent = _char(v)
  8145. end
  8146. end
  8147. hat:Destroy()
  8148. end)
  8149.  
  8150. addcmd('gear','give player a gear ingame',{},
  8151. function(args)
  8152. spawn(function()
  8153. if not args[1] or not args[2] then return end
  8154. local players=getPlayer(args[1])
  8155. local id=args[2]
  8156. local model = game:GetService("InsertService"):LoadAsset(id)
  8157. for i,v in pairs(players) do
  8158. for _,j in pairs(model:GetChildren()) do
  8159. if j:IsA("Tool") then
  8160. j:Clone().Parent = gPlayers[v].Backpack
  8161. end
  8162. end
  8163. end
  8164. model:Destroy()
  8165. end)
  8166. end)
  8167.  
  8168. addcmd('pstools','give player personal server tools',{},
  8169. function(args)
  8170. local players=getPlayer(args[1])
  8171. for i,v in pairs(players) do
  8172. gPlayers[v].PersonalServerRank = 240
  8173. end
  8174. end)
  8175.  
  8176. addcmd('skick','kicks a player by shutting them down, takes a few seconds',{},
  8177. function(args)
  8178. local players=getPlayer(args[1])
  8179. for i,v in pairs(players) do
  8180. spawn(function()
  8181. gPlayers[v].PersonalServerRank = 240
  8182. gPlayers[v].Backpack:WaitForChild("ClassicTool")
  8183. gPlayers[v].PersonalServerRank = 0
  8184. end)
  8185. end
  8186. end)
  8187.  
  8188. addcmd('admin','gives a player admin',{},
  8189. function(args)
  8190. if not args[1]then return end
  8191. local players=getPlayer(args[1])
  8192. table.foreach(players,function(k,v)
  8193. admins[v]=true
  8194. end)
  8195. end)
  8196.  
  8197. addcmd('unadmin','removes a players admin',{},
  8198. function(args)
  8199. if not args[1] then return end
  8200. local players=getPlayer(args[1])
  8201. table.foreach(players,function(k,v)
  8202. admins[v]=nil
  8203. end)
  8204. end)
  8205.  
  8206. addcmd('view','view player',{},
  8207. function(args)
  8208. local players=getPlayer(args[1])
  8209. workspace.CurrentCamera.CameraSubject = game.Players[players[1]].Character
  8210. end)
  8211.  
  8212. addcmd('noclip','noclips local player',nil,
  8213. function(args,speaker)
  8214. NOCLIP = true
  8215. JESUSFLY = false
  8216. SWIM = false
  8217. end)
  8218.  
  8219. addcmd('clip','clips local player',nil,
  8220. function(args,speaker)
  8221. NOCLIP = false
  8222. end)
  8223. addcmd('jesusfly','jesusfly',nil,
  8224. function(args,speaker)
  8225. NOCLIP = false
  8226. JESUSFLY = true
  8227. SWIM = false
  8228. end)
  8229. addcmd('nofly','nofly',nil,
  8230. function(args)
  8231. JESUSFLY = false
  8232. end)
  8233. addcmd('swim','swim',nil,
  8234. function(args)
  8235. NOCLIP = false
  8236. JESUSFLY = false
  8237. SWIM = true
  8238. end)
  8239. addcmd('noswim','noswim',nil,
  8240. function(args)
  8241. SWIM = false
  8242. end)
  8243. addcmd('skybox','sky <id>',nil,
  8244. function(args)
  8245. for i,v in pairs(game.Lighting:GetChildren()) do
  8246. if v:IsA('Sky') then
  8247. v:remove()
  8248. end
  8249. end
  8250. local ID = (args[1])
  8251. local sky = Instance.new('Sky', game.Lighting)
  8252. sky.SkyboxBk = 'rbxassetid://' .. ID
  8253. sky.SkyboxDn = 'rbxassetid://' .. ID
  8254. sky.SkyboxFt = 'rbxassetid://' .. ID
  8255. sky.SkyboxLf = 'rbxassetid://' .. ID
  8256. sky.SkyboxRt = 'rbxassetid://' .. ID
  8257. sky.SkyboxUp = 'rbxassetid://' .. ID
  8258. end)
  8259. addcmd('shrek','shrek <p>',nil,
  8260. function(args)
  8261. local players = getPlayer(args[1])
  8262. for i,v in pairs(players) do
  8263. local pchar = gPlayers[v].Character
  8264. for i,v in pairs(pchar:GetChildren()) do
  8265. if v:IsA('Hat') or v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') then
  8266. v:remove()
  8267. end
  8268. end
  8269. for i,v in pairs(pchar.Head:GetChildren()) do
  8270. if v:IsA('Decal') or v:IsA('SpecialMesh')then
  8271. v:remove()
  8272. end
  8273. end
  8274. if pchar:FindFirstChild('Shirt Graphic') then
  8275. pchar['Shirt Graphic'].Archivable = false
  8276. pchar['Shirt Graphic'].Graphic = ''
  8277. end
  8278. local mesh = Instance.new('SpecialMesh', pchar.Head)
  8279. mesh.MeshType = 'FileMesh'
  8280. pchar.Head.Mesh.MeshId = 'http://www.roblox.com/asset/?id=19999257'
  8281. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  8282. pchar.Head.Mesh.TextureId = 'http://www.roblox.com/asset/?id=156397869'
  8283. local Shirt = Instance.new('Shirt', gPlayers[v].Character)
  8284. local Pants = Instance.new('Pants', gPlayers[v].Character)
  8285. Shirt.ShirtTemplate = 'rbxassetid://133078194'
  8286. Pants.PantsTemplate = 'rbxassetid://133078204'
  8287. end
  8288. end)
  8289. addcmd('ambient','ambient <n> <n> <n>',nil,
  8290. function(args)
  8291. game.Lighting.Ambient = Color3.new(args[1], args[2], args[3])
  8292. end)
  8293. addcmd('fetp','fetp',nil,
  8294. function(args)
  8295. local last_pos = game.Players.LocalPlayer.Character.Torso.CFrame
  8296. for _, Player in pairs(game:GetService("Players"):GetChildren()) do
  8297. if game.Workspace:findFirstChild(Player.Name) then
  8298. local w = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  8299. w.Part0 = w.Parent
  8300. w.Part1 = Player.Character.Torso
  8301. w.C0 = last_pos
  8302. w.C1 = last_pos
  8303. wait(0.1)
  8304. w:Destroy()
  8305. game.Players.LocalPlayer.Character.Torso.CFrame = last_pos
  8306. end
  8307. end
  8308. wait(1)
  8309. game.Players.LocalPlayer.Character.Torso.CFrame = last_pos
  8310. end)
  8311. addcmd('fogend','fogend <n>',nil,
  8312. function(args)
  8313. game.Lighting.FogEnd = args[1]
  8314. end)
  8315. addcmd('slock','serverlock',nil,
  8316. function(args)
  8317. serverLocked = true
  8318. end)
  8319.  
  8320. addcmd('unslock','unserverlock',nil,
  8321. function(args)
  8322. serverLocked = false
  8323. end)
  8324. addcmd('fogend','fogend <n>',{},
  8325. function(args)
  8326. game.Lighting.FogEnd = args[1]
  8327. end)
  8328. addcmd('fogcolor','fogcolor <n> <n> <n>',{},
  8329. function(args)
  8330. game.Lighting.FogColor = Color3.new(args[1], args[2], args[3])
  8331. end)
  8332. addcmd('fixl','fixlighting',nil,
  8333. function(args)
  8334. FIX_LIGHTING()
  8335. end)
  8336. addcmd('particles','particles <p> <id>',{'pts'},
  8337. function(args)
  8338. local players = getPlayer(args[1])
  8339. for i,v in pairs(players) do
  8340. local pchar = gPlayers[v].Character
  8341. for i,v in pairs(pchar.Torso:GetChildren()) do
  8342. if v:IsA('ParticleEmitter') then
  8343. v:remove()
  8344. end
  8345. end
  8346. wait()
  8347. Instance.new('ParticleEmitter', pchar.Torso).Texture = 'http://www.roblox.com/asset/?id=' .. args[2] - 1
  8348. end
  8349. end)
  8350. addcmd('nuke','nuke <p>',nil,
  8351. function(args)
  8352. local players = getPlayer(args[1])
  8353. for i,v in pairs(players) do
  8354. local pchar = gPlayers[v].Character
  8355. spawn(function()
  8356. if gPlayers[v] and pchar and pchar:FindFirstChild('Torso') then
  8357. local nuke = Instance.new('Part', game.Workspace)
  8358. nuke.Name = 'nuke_seth'
  8359. nuke.Anchored = true
  8360. nuke.CanCollide = false
  8361. nuke.FormFactor = 'Symmetric'
  8362. nuke.Shape = 'Ball'
  8363. nuke.Size = Vector3.new(1,1,1)
  8364. nuke.BrickColor = BrickColor.new('New Yeller')
  8365. nuke.Transparency = 0.5
  8366. nuke.Reflectance = 0.2
  8367. nuke.TopSurface = 0
  8368. nuke.BottomSurface = 0
  8369. nuke.Touched:connect(function (hit)
  8370. if hit and hit.Parent then
  8371. local boom = Instance.new('Explosion', game.Workspace)
  8372. boom.Position = hit.Position
  8373. boom.BlastRadius = 11
  8374. boom.BlastPressure = math.huge
  8375. end
  8376. end)
  8377. local CF = pchar.Torso.CFrame
  8378. nuke.CFrame = CF
  8379. for i = 1,333 do
  8380. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  8381. nuke.CFrame = CF
  8382. wait(1/44)
  8383. end
  8384. nuke:remove()
  8385. end
  8386. end)
  8387. end
  8388. end)
  8389. addcmd('nonuke','nonuke',{'unnuke'},
  8390. function(args)
  8391. for i,v in pairs(game.Workspace:GetChildren()) do
  8392. if v.Name == 'nuke_seth' then
  8393. v:remove()
  8394. end
  8395. end
  8396. end)
  8397. _G.Rc7Notification("Done","Moon Admin is fully initilizied",5)
  8398. wait(5)
  8399. if game.Workspace.FilteringEnabled == true then
  8400. _G.Rc7Notification("Filtering","Anal rape is Enabled",5)
  8401. else
  8402. _G.Rc7Notification("Filtering","Anal rape is Disabled",5)
  8403. end
  8404. end)
  8405. -- cmd3
  8406. cmd3.Name = "galaxy titan"
  8407. cmd3.Parent = Main2
  8408. cmd3.Active = true
  8409. cmd3.BackgroundColor3 = Color3.new(0, 100, 255)
  8410. cmd3.BorderSizePixel = 1
  8411. cmd3.BorderColor3 = Color3.new(0, 0, 0)
  8412. cmd3.ZIndex = 8
  8413. cmd3.Size = UDim2.new(0, 200, 0, 100)
  8414. cmd3.Position = UDim2.new(0, 0, 0, 200)
  8415. cmd3.TextColor3 = Color3.new(255, 255, 255)
  8416. cmd3.Text = "Galaxy Titan"
  8417. cmd3.FontSize = "Size32"
  8418. -- btools
  8419. cmd3.MouseButton1Click:connect(function()
  8420. --[[PointCoded's Edit Of The Titan Script]]--
  8421. --[[Old]]--
  8422.  
  8423. local p = game.Players.LocalPlayer
  8424. local char = p.Character
  8425. local mouse = p:GetMouse()
  8426. local larm = char["Left Arm"]
  8427. local rarm = char["Right Arm"]
  8428. local TitanBet = ";"
  8429. local lleg = char["Left Leg"]
  8430. local rleg = char["Right Leg"]
  8431. local hed = char.Head
  8432. local torso = char.Torso
  8433. local hum = char.Humanoid
  8434. local cam = game.Workspace.CurrentCamera
  8435. local root = char.HumanoidRootPart
  8436. local deb = false
  8437. local shot = 0
  8438. local l = game:GetService("Lighting")
  8439. local rs = game:GetService("RunService").RenderStepped
  8440. local stanceToggle = "Normal"
  8441. local Mana = Instance.new("IntValue", char)
  8442. Mana.Value = 5000
  8443. Mana.Name = "Mana"
  8444. math.randomseed(os.time())
  8445. hum.WalkSpeed = 50
  8446. char.Health:Destroy()
  8447. hum.MaxHealth = math.huge
  8448. wait(0.1)
  8449. hum.Health = math.huge
  8450. ----------------------------------------------------
  8451. local G = Instance.new("ScreenGui")
  8452. G.Parent = p.PlayerGui
  8453. G.Name = "Mana"
  8454. local T = Instance.new("TextLabel")
  8455. T.Name = "Mana"
  8456. T.Parent = G
  8457. T.Text = "Mana: "..char.Mana.Value
  8458. T.FontSize = "Size24"
  8459. T.BackgroundTransparency = 1
  8460. T.TextColor3 = Color3.new(255,255,255)
  8461. T.TextStrokeTransparency = 0
  8462. T.Position = UDim2.new(0,250,0,400)
  8463. T.BorderSizePixel = 0
  8464. --//
  8465. for i = 1,30 do
  8466. Instance.new('Fire',larm); Instance.new('Fire',rarm)
  8467. end
  8468. --//
  8469. Debounces = {
  8470. on = false;
  8471. ks = false;
  8472. CanAttack = true;
  8473. CanJoke = true;
  8474. NoIdl = false;
  8475. Slashing = false;
  8476. Slashed = false;
  8477. Grabbing = false;
  8478. Grabbed = false;
  8479. }
  8480. local Touche = {char.Name, }
  8481. ----------------------------------------------------
  8482. function lerp(a, b, t) -- Linear interpolation
  8483. return a + (b - a)*t
  8484. end
  8485.  
  8486. function slerp(a, b, t) --Spherical interpolation
  8487. dot = a:Dot(b)
  8488. if dot > 0.99999 or dot < -0.99999 then
  8489. return t <= 0.5 and a or b
  8490. else
  8491. r = math.acos(dot)
  8492. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  8493. end
  8494. end
  8495.  
  8496. function matrixInterpolate(a, b, t)
  8497. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  8498. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  8499. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  8500. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  8501. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  8502. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  8503. local t = v1:Dot(v2)
  8504. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  8505. return CFrame.new()
  8506. end
  8507. return CFrame.new(
  8508. v0.x, v0.y, v0.z,
  8509. v1.x, v1.y, v1.z,
  8510. v2.x, v2.y, v2.z,
  8511. v3.x, v3.y, v3.z)
  8512. end
  8513. ----------------------------------------------------//Mesh setting
  8514. local cmeshes = {}
  8515. local ll,rl,la,ra,t = Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char)
  8516. ll.BodyPart = 'LeftLeg'
  8517. rl.BodyPart = 'RightLeg'
  8518. la.BodyPart = 'LeftArm'
  8519. ra.BodyPart = 'RightArm'
  8520. t.BodyPart = 'Torso'
  8521. ll.MeshId,ll.OverlayTextureId,rl.MeshId,rl.OverlayTextureId = 68241558,18051314,68241677,18051314
  8522. ra.MeshId,ra.OverlayTextureId,la.MeshId,la.OverlayTextureId = 68241658,18051314,68241543,18051314
  8523. t.MeshId,t.OverlayTextureId=68241695,18051314
  8524.  
  8525. ----------------------------------------------------
  8526. function genWeld(a,b)
  8527. local w = Instance.new("Weld",a)
  8528. w.Part0 = a
  8529. w.Part1 = b
  8530. return w
  8531. end
  8532. function weld(a, b)
  8533. local weld = Instance.new("Weld")
  8534. weld.Name = "W"
  8535. weld.Part0 = a
  8536. weld.Part1 = b
  8537. weld.C0 = a.CFrame:inverse() * b.CFrame
  8538. weld.Parent = a
  8539. return weld;
  8540. end
  8541. ----------------------------------------------------
  8542. function Lerp(c1,c2,al)
  8543. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  8544. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  8545. for i,v in pairs(com1) do
  8546. com1[i] = v+(com2[i]-v)*al
  8547. end
  8548. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  8549. end
  8550. ----------------------------------------------------
  8551. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  8552. local wld = Instance.new("Weld", wp1)
  8553. wld.Part0 = wp0
  8554. wld.Part1 = wp1
  8555. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  8556. end
  8557. ----------------------------------------------------
  8558. for i,v in pairs(char:children()) do
  8559. if v:IsA("Hat") then
  8560. v:Destroy()
  8561. end
  8562. end
  8563. for i,v in pairs(hed:children()) do
  8564. if v:IsA("Sound") then
  8565. v:Destroy()
  8566. end
  8567. end
  8568. ----------------------------------------------------
  8569. function HasntTouched(plrname)
  8570. local ret = true
  8571. for _, v in pairs(Touche) do
  8572. if v == plrname then
  8573. ret = false
  8574. end
  8575. end
  8576. return ret
  8577. end
  8578. ----------------------------------------------------
  8579. larm.Size = larm.Size * 2
  8580. rarm.Size = rarm.Size * 2
  8581. lleg.Size = lleg.Size * 2
  8582. rleg.Size = rleg.Size * 2
  8583. torso.Size = torso.Size * 2
  8584. hed.Size = hed.Size * 2
  8585. root.Size = root.Size * 2
  8586. ----------------------------------------------------
  8587. newWeld(torso, larm, -1.5, 1, 0)
  8588. larm.Weld.C1 = CFrame.new(0, 1, 0)
  8589. newWeld(torso, rarm, 1.5, 1, 0)
  8590. rarm.Weld.C1 = CFrame.new(0, 1, 0)
  8591. newWeld(torso, hed, 0, 3, 0)
  8592. newWeld(torso, lleg, -1, -2, 0)
  8593. lleg.Weld.C1 = CFrame.new(0, 1.5, 0)
  8594. newWeld(torso, rleg, 1, -2, 0)
  8595. rleg.Weld.C1 = CFrame.new(0, 1.5, 0)
  8596. newWeld(root, torso, 0, -2, 0)
  8597. torso.Weld.C1 = CFrame.new(0, -2, 0)
  8598. ----------------------------------------------------
  8599.  
  8600. hed.face:Remove''
  8601. hed.Transparency = 0
  8602. local meshx9 = Instance.new('SpecialMesh',hed)
  8603. meshx9.MeshType = 'FileMesh'
  8604. meshx9.MeshId,meshx9.TextureId = 'rbxassetid://21057410','rbxassetid://122569107'
  8605. meshx9.Scale = Vector3.new(2,2,2)
  8606.  
  8607.  
  8608.  
  8609. lite = Instance.new("PointLight", torso)
  8610. lite.Brightness = 14
  8611. lite.Range = 10
  8612. lite.Color = Color3.new(1, 0, 0)
  8613. local hed2 = hed:Clone()
  8614. hed2.CanCollide = false
  8615. hed2.Parent = char
  8616. hed2:ClearAllChildren()
  8617. hed2.Transparency = 1
  8618. hed2.Name = "DARP"
  8619. local w = Instance.new("Weld",hed2)
  8620. w.Part0 = hed
  8621. w.Part1 = hed2
  8622. w.C0 = CFrame.new(0,0,-0.175)
  8623. z=Instance.new("SurfaceGui",hed2)
  8624. z.Enabled = true
  8625. z.Face = "Front"
  8626. z.Adornee = hed2
  8627. z.CanvasSize = Vector2.new(100,100)
  8628. local face = Instance.new("ImageLabel",z)
  8629. face.Size = UDim2.new(1,-30,1,0)
  8630. face.Position = UDim2.new(0,15,0,0)
  8631. face.BackgroundTransparency = 1
  8632. face.Image='rbxassetid://46282671'
  8633. ----------------------------------------------------
  8634. local m = Instance.new("Model")
  8635. m.Name = "Absolution"
  8636. p1 = Instance.new("Part", m)
  8637. p1.BrickColor = BrickColor.new("Really black")
  8638. p1.FormFactor = Enum.FormFactor.Custom
  8639. p1.Size = Vector3.new(1, 0.600000024, 1.5)
  8640. p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395)
  8641. p1.CanCollide = false
  8642. p1.Locked = true
  8643. p1.Elasticity = 0
  8644. p1.BottomSurface = Enum.SurfaceType.Smooth
  8645. p1.TopSurface = Enum.SurfaceType.Smooth
  8646. b1 = Instance.new("SpecialMesh", p1)
  8647. b1.MeshType = Enum.MeshType.Wedge
  8648. b1.Name = "Mesh"
  8649. b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  8650. p2 = Instance.new("Part", m)
  8651. p2.BrickColor = BrickColor.new("Really black")
  8652. p2.FormFactor = Enum.FormFactor.Custom
  8653. p2.Size = Vector3.new(1, 2.9000001, 1)
  8654. p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005)
  8655. p2.CanCollide = false
  8656. p2.Locked = true
  8657. p2.Elasticity = 0
  8658. p2.BottomSurface = Enum.SurfaceType.Smooth
  8659. p2.TopSurface = Enum.SurfaceType.Smooth
  8660. b2 = Instance.new("BlockMesh", p2)
  8661. b2.Name = "Mesh"
  8662. b2.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  8663. p3 = Instance.new("Part", m)
  8664. p3.BrickColor = BrickColor.new("Really black")
  8665. p3.FormFactor = Enum.FormFactor.Custom
  8666. p3.Size = Vector3.new(1, 1.20000005, 2.0999999)
  8667. p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501)
  8668. p3.CanCollide = false
  8669. p3.Locked = true
  8670. p3.Elasticity = 0
  8671. p3.BottomSurface = Enum.SurfaceType.Smooth
  8672. p3.TopSurface = Enum.SurfaceType.Smooth
  8673. b3 = Instance.new("SpecialMesh", p3)
  8674. b3.MeshType = Enum.MeshType.Wedge
  8675. b3.Name = "Mesh"
  8676. b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  8677. p4 = Instance.new("Part", m)
  8678. p4.BrickColor = BrickColor.new("Really black")
  8679. p4.FormFactor = Enum.FormFactor.Custom
  8680. p4.Size = Vector3.new(1, 1.43999994, 2.05000019)
  8681. p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151)
  8682. p4.CanCollide = false
  8683. p4.Locked = true
  8684. p4.Elasticity = 0
  8685. p4.BottomSurface = Enum.SurfaceType.Smooth
  8686. p4.TopSurface = Enum.SurfaceType.Smooth
  8687. b4 = Instance.new("SpecialMesh", p4)
  8688. b4.MeshType = Enum.MeshType.Wedge
  8689. b4.Name = "Mesh"
  8690. b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  8691. p5 = Instance.new("Part", m)
  8692. p5.BrickColor = BrickColor.new("Really black")
  8693. p5.FormFactor = Enum.FormFactor.Custom
  8694. p5.Size = Vector3.new(1, 1.20000005, 3.20000005)
  8695. p5.CFrame = CFrame.new(67.4995193, 13.241991, 74.8357468, 0.999972522, -3.59118021e-005, -8.00191992e-006, -1.39250224e-005, 0.358383656, -0.933530807, 5.2809708e-005, 0.933500469, 0.358406246)
  8696. p5.CanCollide = false
  8697. p5.Locked = true
  8698. p5.Elasticity = 0
  8699. p5.BottomSurface = Enum.SurfaceType.Smooth
  8700. p5.TopSurface = Enum.SurfaceType.Smooth
  8701. b5 = Instance.new("SpecialMesh", p5)
  8702. b5.MeshType = Enum.MeshType.Wedge
  8703. b5.Name = "Mesh"
  8704. b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  8705. p6 = Instance.new("Part", m)
  8706. p6.Name = "Handle"
  8707. p6.BrickColor = BrickColor.new(192)
  8708. p6.FormFactor = Enum.FormFactor.Custom
  8709. p6.Size = Vector3.new(1.5999999, 13.6000004, 1)
  8710. p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005)
  8711. p6.CanCollide = false
  8712. p6.Locked = true
  8713. p6.Elasticity = 0
  8714. p6.BottomSurface = Enum.SurfaceType.Smooth
  8715. p6.TopSurface = Enum.SurfaceType.Smooth
  8716. b6 = Instance.new("BlockMesh", p6)
  8717. b6.Name = "Mesh"
  8718. b6.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  8719. p7 = Instance.new("Part", m)
  8720. p7.BrickColor = BrickColor.new("Really black")
  8721. p7.FormFactor = Enum.FormFactor.Custom
  8722. p7.Size = Vector3.new(1, 1.00999999, 1.05000019)
  8723. p7.CFrame = CFrame.new(67.5174179, 10.5228004, 76.3114471, 0.999972522, -2.76626724e-005, -6.72184569e-006, -4.7347472e-005, -0.91489929, -0.403581172, 2.14323372e-005, 0.403602213, -0.914867818)
  8724. p7.CanCollide = false
  8725. p7.Locked = true
  8726. p7.Elasticity = 0
  8727. p7.BottomSurface = Enum.SurfaceType.Smooth
  8728. p7.TopSurface = Enum.SurfaceType.Smooth
  8729. b7 = Instance.new("SpecialMesh", p7)
  8730. b7.MeshType = Enum.MeshType.Wedge
  8731. b7.Name = "Mesh"
  8732. b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  8733. p8 = Instance.new("Part", m)
  8734. p8.BrickColor = BrickColor.new("Really black")
  8735. p8.FormFactor = Enum.FormFactor.Custom
  8736. p8.Size = Vector3.new(1, 1.00999999, 1.05000019)
  8737. p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699)
  8738. p8.CanCollide = false
  8739. p8.Locked = true
  8740. p8.Elasticity = 0
  8741. p8.BottomSurface = Enum.SurfaceType.Smooth
  8742. p8.TopSurface = Enum.SurfaceType.Smooth
  8743. b8 = Instance.new("SpecialMesh", p8)
  8744. b8.MeshType = Enum.MeshType.Wedge
  8745. b8.Name = "Mesh"
  8746. b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  8747. p9 = Instance.new("Part", m)
  8748. p9.BrickColor = BrickColor.new("Really black")
  8749. p9.FormFactor = Enum.FormFactor.Custom
  8750. p9.Size = Vector3.new(1, 1.07999957, 1)
  8751. p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005)
  8752. p9.CanCollide = false
  8753. p9.Locked = true
  8754. p9.Elasticity = 0
  8755. p9.BottomSurface = Enum.SurfaceType.Smooth
  8756. p9.TopSurface = Enum.SurfaceType.Smooth
  8757. b9 = Instance.new("BlockMesh", p9)
  8758. b9.Name = "Mesh"
  8759. b9.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  8760. p10 = Instance.new("Part", m)
  8761. p10.BrickColor = BrickColor.new("Really black")
  8762. p10.FormFactor = Enum.FormFactor.Custom
  8763. p10.Size = Vector3.new(1, 1.41999948, 1)
  8764. p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005)
  8765. p10.CanCollide = false
  8766. p10.Locked = true
  8767. p10.Elasticity = 0
  8768. p10.BottomSurface = Enum.SurfaceType.Smooth
  8769. p10.TopSurface = Enum.SurfaceType.Smooth
  8770. b10 = Instance.new("BlockMesh", p10)
  8771. b10.Name = "Mesh"
  8772. b10.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  8773. p11 = Instance.new("Part", m)
  8774. p11.BrickColor = BrickColor.new("Really black")
  8775. p11.FormFactor = Enum.FormFactor.Custom
  8776. p11.Size = Vector3.new(1, 1.50999951, 1)
  8777. p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005)
  8778. p11.CanCollide = false
  8779. p11.Locked = true
  8780. p11.Elasticity = 0
  8781. p11.BottomSurface = Enum.SurfaceType.Smooth
  8782. p11.TopSurface = Enum.SurfaceType.Smooth
  8783. b11 = Instance.new("BlockMesh", p11)
  8784. b11.Name = "Mesh"
  8785. b11.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  8786. p12 = Instance.new("Part", m)
  8787. p12.Name = "BladeCenter"
  8788. p12.BrickColor = BrickColor.new("")
  8789. p12.Material = Enum.Material.Concrete
  8790. p12.FormFactor = Enum.FormFactor.Symmetric
  8791. p12.Size = Vector3.new(1, 2, 2)
  8792. p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005)
  8793. p12.CanCollide = false
  8794. p12.Locked = true
  8795. p12.BottomSurface = Enum.SurfaceType.Smooth
  8796. p12.TopSurface = Enum.SurfaceType.Smooth
  8797. b12 = Instance.new("SpecialMesh", p12)
  8798. b12.MeshType = Enum.MeshType.Brick
  8799. b12.Name = "Mesh"
  8800. b12.Scale = Vector3.new(0.499999911, 1, 0.699999928)
  8801. p13 = Instance.new("Part", m)
  8802. p13.BrickColor = BrickColor.new("Really black")
  8803. p13.FormFactor = Enum.FormFactor.Custom
  8804. p13.Size = Vector3.new(2.91000009, 4.3300004, 1)
  8805. p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005)
  8806. p13.CanCollide = false
  8807. p13.Locked = true
  8808. p13.Elasticity = 0
  8809. p13.BottomSurface = Enum.SurfaceType.Smooth
  8810. p13.TopSurface = Enum.SurfaceType.Smooth
  8811. b13 = Instance.new("BlockMesh", p13)
  8812. b13.Name = "Mesh"
  8813. b13.Scale = Vector3.new(1, 1, 0.400000006)
  8814. p14 = Instance.new("Part", m)
  8815. p14.BrickColor = BrickColor.new("Really black")
  8816. p14.FormFactor = Enum.FormFactor.Custom
  8817. p14.Size = Vector3.new(2.5, 2.17999935, 1)
  8818. p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6420059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005)
  8819. p14.CanCollide = false
  8820. p14.Locked = true
  8821. p14.Elasticity = 0
  8822. p14.BottomSurface = Enum.SurfaceType.Smooth
  8823. p14.TopSurface = Enum.SurfaceType.Smooth
  8824. b14 = Instance.new("BlockMesh", p14)
  8825. b14.Name = "Mesh"
  8826. b14.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  8827. p15 = Instance.new("Part", m)
  8828. p15.BrickColor = BrickColor.new("Really black")
  8829. p15.FormFactor = Enum.FormFactor.Custom
  8830. p15.Size = Vector3.new(1.16999996, 4.2699995, 1)
  8831. p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005)
  8832. p15.CanCollide = false
  8833. p15.Locked = true
  8834. p15.Material = "Neon"
  8835. p15.Elasticity = 0
  8836. p15.BottomSurface = Enum.SurfaceType.Smooth
  8837. p15.TopSurface = Enum.SurfaceType.Smooth
  8838. b15 = Instance.new("BlockMesh", p15)
  8839. b15.Name = "Mesh"
  8840. b15.Scale = Vector3.new(1, 1, 0.400000006)
  8841. p16 = Instance.new("Part", m)
  8842. p16.BrickColor = BrickColor.new("Really black")
  8843. p16.FormFactor = Enum.FormFactor.Custom
  8844. p16.Size = Vector3.new(1.68999994, 4.76000023, 1)
  8845. p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005)
  8846. p16.CanCollide = false
  8847. p16.Locked = true
  8848. p16.Material = "Neon"
  8849. p16.Elasticity = 0
  8850. p16.BottomSurface = Enum.SurfaceType.Smooth
  8851. p16.TopSurface = Enum.SurfaceType.Smooth
  8852. b16 = Instance.new("BlockMesh", p16)
  8853. b16.Name = "Mesh"
  8854. b16.Scale = Vector3.new(1, 1, 0.400000006)
  8855. p17 = Instance.new("Part", m)
  8856. p17.BrickColor = BrickColor.new("Really black")
  8857. p17.FormFactor = Enum.FormFactor.Custom
  8858. p17.Size = Vector3.new(1.78999996, 4.21999979, 1)
  8859. p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005)
  8860. p17.CanCollide = false
  8861. p17.Material = "Neon"
  8862. p17.Locked = true
  8863. p17.Elasticity = 0
  8864. p17.BottomSurface = Enum.SurfaceType.Smooth
  8865. p17.TopSurface = Enum.SurfaceType.Smooth
  8866. b17 = Instance.new("BlockMesh", p17)
  8867. b17.Name = "Mesh"
  8868. b17.Scale = Vector3.new(1, 1, 0.400000006)
  8869. p18 = Instance.new("WedgePart", m)
  8870. p18.BrickColor = BrickColor.new("Black")
  8871. p18.Material = "Neon"
  8872. p18.Name = "BladePart1"
  8873. p18.Material = Enum.Material.Concrete
  8874. p18.Name = "Wedge"
  8875. p18.FormFactor = Enum.FormFactor.Symmetric
  8876. p18.Size = Vector3.new(1, 4, 2)
  8877. p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005)
  8878. p18.CanCollide = false
  8879. p18.Locked = true
  8880. p18.BottomSurface = Enum.SurfaceType.Smooth
  8881. p18.TopSurface = Enum.SurfaceType.Smooth
  8882. b18 = Instance.new("SpecialMesh", p18)
  8883. b18.MeshType = Enum.MeshType.Wedge
  8884. b18.Name = "Mesh"
  8885. b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  8886. p19 = Instance.new("WedgePart", m)
  8887. p19.BrickColor = BrickColor.new("Institutional white")
  8888. p19.Name = "BladePart2"
  8889. p19.Material = "Neon"
  8890. p19.Material = Enum.Material.Concrete
  8891. p19.Name = "Wedge"
  8892. p19.FormFactor = Enum.FormFactor.Symmetric
  8893. p19.Size = Vector3.new(1, 4, 2)
  8894. p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005)
  8895. p19.CanCollide = false
  8896. p19.Locked = true
  8897. p19.BottomSurface = Enum.SurfaceType.Smooth
  8898. p19.TopSurface = Enum.SurfaceType.Smooth
  8899. b19 = Instance.new("SpecialMesh", p19)
  8900. b19.MeshType = Enum.MeshType.Wedge
  8901. b19.Name = "Mesh"
  8902. b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  8903. p20 = Instance.new("Part", m)
  8904. p20.BrickColor = BrickColor.new("Really black")
  8905. p20.FormFactor = Enum.FormFactor.Custom
  8906. p20.Size = Vector3.new(2.53000021, 2.39999938, 1)
  8907. p20.CFrame = CFrame.new(67.4996414, 7.91898966, 71.4148178, -1.09432585e-005, 7.6432425e-006, 0.999972522, 0.992849231, -0.119072601, -7.55000656e-006, 0.119038492, 0.992832959, 1.01311334e-005)
  8908. p20.CanCollide = false
  8909. p20.Material = "Neon"
  8910. p20.Locked = true
  8911. p20.Elasticity = 0
  8912. p20.BottomSurface = Enum.SurfaceType.Smooth
  8913. p20.TopSurface = Enum.SurfaceType.Smooth
  8914. b20 = Instance.new("BlockMesh", p20)
  8915. b20.Name = "Mesh"
  8916. b20.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  8917. p21 = Instance.new("Part", m)
  8918. p21.BrickColor = BrickColor.new("Really black")
  8919. p21.FormFactor = Enum.FormFactor.Custom
  8920. p21.Size = Vector3.new(1, 1.43999994, 1.59000015)
  8921. p21.CFrame = CFrame.new(67.509613, 9.57073689, 76.6228256, 0.999972522, -2.50856156e-005, -1.53699839e-005, -4.86196222e-005, -0.800835371, -0.598824739, 1.91311228e-005, 0.59883821, -0.800800025)
  8922. p21.CanCollide = false
  8923. p21.Locked = true
  8924. p21.Elasticity = 0
  8925. p21.BottomSurface = Enum.SurfaceType.Smooth
  8926. p21.TopSurface = Enum.SurfaceType.Smooth
  8927. b21 = Instance.new("SpecialMesh", p21)
  8928. b21.MeshType = Enum.MeshType.Wedge
  8929. b21.Name = "Mesh"
  8930. b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  8931. w1 = Instance.new("Weld", p1)
  8932. w1.Name = "Part_Weld"
  8933. w1.Part0 = p1
  8934. w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  8935. w1.Part1 = p2
  8936. w1.C1 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008)
  8937. w2 = Instance.new("Weld", p2)
  8938. w2.Name = "Part_Weld"
  8939. w2.Part0 = p2
  8940. w2.C0 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008)
  8941. w2.Part1 = p3
  8942. w2.C1 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105)
  8943. w3 = Instance.new("Weld", p3)
  8944. w3.Name = "Part_Weld"
  8945. w3.Part0 = p3
  8946. w3.C0 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105)
  8947. w3.Part1 = p4
  8948. w3.C1 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  8949. w4 = Instance.new("Weld", p4)
  8950. w4.Name = "Part_Weld"
  8951. w4.Part0 = p4
  8952. w4.C0 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  8953. w4.Part1 = p5
  8954. w4.C1 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  8955. w5 = Instance.new("Weld", p5)
  8956. w5.Name = "Part_Weld"
  8957. w5.Part0 = p5
  8958. w5.C0 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  8959. w5.Part1 = p6
  8960. w5.C1 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015)
  8961. w6 = Instance.new("Weld", p6)
  8962. w6.Name = "Part_Weld"
  8963. w6.Part0 = p6
  8964. w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015)
  8965. w6.Part1 = p7
  8966. w6.C1 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  8967. w7 = Instance.new("Weld", p7)
  8968. w7.Name = "Part_Weld"
  8969. w7.Part0 = p7
  8970. w7.C0 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  8971. w7.Part1 = p8
  8972. w7.C1 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  8973. w8 = Instance.new("Weld", p8)
  8974. w8.Name = "Part_Weld"
  8975. w8.Part0 = p8
  8976. w8.C0 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  8977. w8.Part1 = p9
  8978. w8.C1 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005)
  8979. w9 = Instance.new("Weld", p9)
  8980. w9.Name = "Part_Weld"
  8981. w9.Part0 = p9
  8982. w9.C0 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005)
  8983. w9.Part1 = p10
  8984. w9.C1 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008)
  8985. w10 = Instance.new("Weld", p10)
  8986. w10.Name = "Part_Weld"
  8987. w10.Part0 = p10
  8988. w10.C0 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008)
  8989. w10.Part1 = p11
  8990. w10.C1 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005)
  8991. w11 = Instance.new("Weld", p11)
  8992. w11.Name = "Part_Weld"
  8993. w11.Part0 = p11
  8994. w11.C0 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005)
  8995. w11.Part1 = p12
  8996. w11.C1 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005)
  8997. w12 = Instance.new("Weld", p12)
  8998. w12.Name = "Part_Weld"
  8999. w12.Part0 = p12
  9000. w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005)
  9001. w12.Part1 = p13
  9002. w12.C1 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008)
  9003. w13 = Instance.new("Weld", p13)
  9004. w13.Name = "Part_Weld"
  9005. w13.Part0 = p13
  9006. w13.C0 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008)
  9007. w13.Part1 = p14
  9008. w13.C1 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008)
  9009. w14 = Instance.new("Weld", p14)
  9010. w14.Name = "Part_Weld"
  9011. w14.Part0 = p14
  9012. w14.C0 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008)
  9013. w14.Part1 = p15
  9014. w14.C1 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008)
  9015. w15 = Instance.new("Weld", p15)
  9016. w15.Name = "Part_Weld"
  9017. w15.Part0 = p15
  9018. w15.C0 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008)
  9019. w15.Part1 = p16
  9020. w15.C1 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008)
  9021. w16 = Instance.new("Weld", p16)
  9022. w16.Name = "Part_Weld"
  9023. w16.Part0 = p16
  9024. w16.C0 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008)
  9025. w16.Part1 = p17
  9026. w16.C1 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008)
  9027. w17 = Instance.new("Weld", p17)
  9028. w17.Name = "Wedge_Weld"
  9029. w17.Part0 = p17
  9030. w17.C0 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008)
  9031. w17.Part1 = p18
  9032. w17.C1 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005)
  9033. w18 = Instance.new("Weld", p18)
  9034. w18.Name = "Wedge_Weld"
  9035. w18.Part0 = p18
  9036. w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005)
  9037. w18.Part1 = p19
  9038. w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
  9039. w19 = Instance.new("Weld", p19)
  9040. w19.Name = "Part_Weld"
  9041. w19.Part0 = p19
  9042. w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
  9043. w19.Part1 = p20
  9044. w19.C1 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009)
  9045. w20 = Instance.new("Weld", p20)
  9046. w20.Name = "Part_Weld"
  9047. w20.Part0 = p20
  9048. w20.C0 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009)
  9049. w20.Part1 = p21
  9050. w20.C1 = CFrame.new(-67.5104218, -38.2193756, 67.100563, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  9051. m.Parent = char
  9052. m:MakeJoints()
  9053. ----------------------------------------------------
  9054. local cor = Instance.new("Part", char.Absolution)
  9055. cor.Name = "Thingy"
  9056. cor.Locked = true
  9057. cor.BottomSurface = 0
  9058. cor.CanCollide = false
  9059. cor.Size = Vector3.new(1, 13, 1)
  9060. cor.Transparency = 1
  9061. cor.TopSurface = 0
  9062. corw = Instance.new("Weld", cor)
  9063. corw.Part0 = rarm
  9064. corw.Part1 = cor
  9065. corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  9066. corw.C1 = CFrame.new(0, 0, 0)
  9067. weld1 = Instance.new("Weld", char.Absolution)
  9068. weld1.Part0 = cor
  9069. weld1.Part1 = p6
  9070. weld1.C0 = CFrame.new(0, 0, 0)
  9071. ----------------------------------------------------
  9072. hitb = Instance.new("Part", char.Absolution)
  9073. hitb.Name = "Thingy2"
  9074. hitb.Locked = true
  9075. hitb.BottomSurface = 0
  9076. hitb.CanCollide = false
  9077. hitb.Size = Vector3.new(0, 8, 6)
  9078. hitb.Transparency = 1
  9079. hitb.TopSurface = 0
  9080. weld2 = Instance.new("Weld", char.Absolution)
  9081. weld2.Part0 = hitb
  9082. weld2.Part1 = p12
  9083. weld2.C0 = CFrame.new(0, .6, 1)
  9084.  
  9085.  
  9086. ----------------------------------------------------
  9087. function weld5(part0, part1, c0, c1)
  9088. weeld=Instance.new("Weld", part0)
  9089. weeld.Part0=part0
  9090. weeld.Part1=part1
  9091. weeld.C0=c0
  9092. weeld.C1=c1
  9093. return weeld
  9094. end
  9095. ----------------------------------------------------
  9096. function newRay(start,face,range,wat)
  9097. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  9098. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  9099. return rey,hit,pos
  9100. end
  9101. ----------------------------------------------------
  9102. mod5 = Instance.new("Model",char)
  9103.  
  9104. function FindNearestTorso(Position,Distance,SinglePlayer)
  9105. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  9106. local List = {}
  9107. for i,v in pairs(workspace:GetChildren())do
  9108. if v:IsA("Model")then
  9109. if v:findFirstChild("Torso")then
  9110. if v ~= char then
  9111. if(v.Torso.Position -Position).magnitude <= Distance then
  9112. table.insert(List,v)
  9113. end
  9114. end
  9115. end
  9116. end
  9117. end
  9118. return List
  9119. end
  9120.  
  9121. function Landing()
  9122. part=Instance.new('Part',mod5)
  9123. part.Anchored=true
  9124. part.CanCollide=false
  9125. part.FormFactor='Custom'
  9126. part.Size=Vector3.new(.2,.2,.2)
  9127. part.CFrame=root.CFrame*CFrame.new(0,-2,0)
  9128. part.Transparency=.7
  9129. part.BrickColor=BrickColor.new('Really black')
  9130. mesh=Instance.new('SpecialMesh',part)
  9131. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  9132. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  9133. mesh.Scale=Vector3.new(10,5,10)
  9134.  
  9135. for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  9136. if v:FindFirstChild('Humanoid') then
  9137. v.Humanoid:TakeDamage(math.random(20,30))
  9138. v.Humanoid.PlatformStand = true
  9139. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  9140. end
  9141. end
  9142.  
  9143. coroutine.resume(coroutine.create(function()
  9144. for i=0,3.8,0.05 do
  9145. wait()
  9146. part.CFrame=part.CFrame
  9147. part.Transparency=i
  9148. mesh.Scale=mesh.Scale+Vector3.new(3,3,3)
  9149. end
  9150. part.Parent = nil
  9151. end))
  9152. end
  9153. ----------------------------------------------------
  9154. mod4 = Instance.new("Model",char)
  9155.  
  9156. ptez = {0.7, 0.8, 0.9, 1}
  9157.  
  9158. function FindNearestTorso(Position,Distance,SinglePlayer)
  9159. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  9160. local List = {}
  9161. for i,v in pairs(workspace:GetChildren())do
  9162. if v:IsA("Model")then
  9163. if v:findFirstChild("Torso")then
  9164. if v ~= char then
  9165. if(v.Torso.Position -Position).magnitude <= Distance then
  9166. table.insert(List,v)
  9167. end
  9168. end
  9169. end
  9170. end
  9171. end
  9172. return List
  9173. end
  9174.  
  9175. function GroundPound()
  9176. part=Instance.new('Part',mod4)
  9177. part.Anchored=true
  9178. part.CanCollide=false
  9179. part.FormFactor='Custom'
  9180. part.Size=Vector3.new(.2,.2,.2)
  9181. part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0)
  9182. part.Transparency=.7
  9183. part.BrickColor=BrickColor.new('Institutional white')
  9184. mesh=Instance.new('SpecialMesh',part)
  9185. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  9186. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  9187. mesh.Scale=Vector3.new(3,3,3)
  9188. part2=Instance.new('Part',mod4)
  9189. part2.Anchored=true
  9190. part2.CanCollide=false
  9191. part2.FormFactor='Custom'
  9192. part2.Size=Vector3.new(.2,.2,.2)
  9193. part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6)
  9194. part2.Transparency=.7
  9195. part2.BrickColor=BrickColor.new('Institutional white')
  9196. mesh2=Instance.new('SpecialMesh',part2)
  9197. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  9198. mesh2.Scale=Vector3.new(3,1.5,3)
  9199. x = Instance.new("Sound",char)
  9200. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  9201. x.Pitch = ptez[math.random(1,#ptez)]
  9202. x.Volume = 1
  9203. wait(.1)
  9204. x:Play()
  9205. for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do
  9206. if v:FindFirstChild('Humanoid') then
  9207. v.Humanoid:TakeDamage(math.random(8,15))
  9208. end
  9209. end
  9210. coroutine.resume(coroutine.create(function()
  9211. for i=0,0.62,0.13 do
  9212. wait()
  9213. part.CFrame=part.CFrame
  9214. part.Transparency=i
  9215. mesh.Scale=mesh.Scale+Vector3.new(5,5,5)
  9216. part2.CFrame=part2.CFrame
  9217. part2.Transparency=i
  9218. mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5)
  9219. end
  9220. part.Parent=nil
  9221. part2.Parent=nil
  9222. x:Destroy()
  9223. end))
  9224. end
  9225. ----------------------------------------------------
  9226. mod=Instance.new('Model',char)
  9227.  
  9228. function charge()
  9229. hed.Velocity=hed.CFrame.lookVector*200
  9230. part=Instance.new('Part',mod)
  9231. part.Anchored=true
  9232. part.CanCollide=false
  9233. part.FormFactor='Custom'
  9234. part.Size=Vector3.new(.2,.2,.2)
  9235. part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0)
  9236. part.Transparency=.7
  9237. part.Name = "Wow"
  9238. part.BrickColor=BrickColor.new('Black')
  9239. mesh=Instance.new('SpecialMesh',part)
  9240. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  9241. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  9242. mesh.Scale=Vector3.new(10,5,10)
  9243. part2=part:clone()
  9244. part2.Parent=mod
  9245. part2.BrickColor=BrickColor.new('Institutional white')
  9246. mesh2=mesh:clone()
  9247. mesh2.Parent=part2
  9248. mesh2.Scale=Vector3.new(20,10,20)
  9249. part3=part2:clone()
  9250. part3.Parent = mod
  9251. part3.BrickColor=BrickColor.new('Cyan')
  9252. mesh3=mesh2:clone()
  9253. mesh2.Parent=part3
  9254. mesh3.Scale=Vector3.new(30,15,30)
  9255. coroutine.resume(coroutine.create(function()
  9256. for i=0,1,0.1 do
  9257. wait()
  9258. part.CFrame=part.CFrame
  9259. part.Transparency=i
  9260. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  9261. part2.CFrame=part2.CFrame
  9262. part2.Transparency=i
  9263. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  9264. part3.CFrame=part3.CFrame
  9265. part3.Transparency=i
  9266. mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1)
  9267. end
  9268. part.Parent=nil
  9269. part2.Parent=nil
  9270. part3.Parent = nil
  9271. part1:remove()
  9272. part:remove()
  9273. part2:remove()
  9274. part3:remove()
  9275. end))
  9276. end
  9277. ----------------------------------------------------
  9278. function FindNearestTorso(Position,Distance,SinglePlayer)
  9279. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  9280. local List = {}
  9281. for i,v in pairs(workspace:GetChildren())do
  9282. if v:IsA("Model")then
  9283. if v:findFirstChild("Torso")then
  9284. if v ~= char then
  9285. if(v.Torso.Position -Position).magnitude <= Distance then
  9286. table.insert(List,v)
  9287. end
  9288. end
  9289. end
  9290. end
  9291. end
  9292. return List
  9293. end
  9294.  
  9295. mod3 = Instance.new("Model",rleg)
  9296.  
  9297. function Stomp()
  9298. part=Instance.new('Part',mod3)
  9299. part.Anchored=true
  9300. part.CanCollide=false
  9301. part.FormFactor='Custom'
  9302. part.Size=Vector3.new(.2,.2,.2)
  9303. part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0)
  9304. part.Transparency=0.7
  9305. part.BrickColor=BrickColor.new('')
  9306. mesh=Instance.new('SpecialMesh',part)
  9307. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  9308. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  9309. mesh.Scale=Vector3.new(25,25,25)
  9310. part2=part:clone()
  9311. part2.Parent=mod3
  9312. part2.BrickColor=BrickColor.new('Deep orange')
  9313. mesh2=mesh:clone()
  9314. mesh2.Parent=part2
  9315. mesh2.Scale=Vector3.new(15,15,15)
  9316. part3=part:clone()
  9317. part3.Parent=mod3
  9318. part3.TopSurface=0
  9319. part3.BottomSurface=0
  9320. part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0)
  9321. mesh3=Instance.new('SpecialMesh',part3)
  9322. mesh3.MeshType = 3
  9323. mesh3.Scale=Vector3.new(12,12,12)
  9324. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  9325. if v:FindFirstChild('Humanoid') then
  9326. v.Humanoid:TakeDamage(math.random(20,60))
  9327. v.Humanoid.PlatformStand = true
  9328. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  9329. end
  9330. end
  9331. coroutine.resume(coroutine.create(function()
  9332. for i=0,3.8,0.05 do
  9333. wait()
  9334. part.CFrame=part.CFrame
  9335. part.Transparency=i
  9336. mesh.Scale=mesh.Scale+Vector3.new(5,5,5)
  9337. part2.CFrame=part2.CFrame
  9338. part2.Transparency=i
  9339. mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5)
  9340. part3.CFrame=part3.CFrame
  9341. part3.Transparency=i
  9342. mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5)
  9343. end
  9344. end))
  9345. end
  9346. ----------------------------------------------------
  9347.  
  9348. local acos = math.acos
  9349. local sqrt = math.sqrt
  9350. local Vec3 = Vector3.new
  9351. local fromAxisAngle = CFrame.fromAxisAngle
  9352.  
  9353. local function toAxisAngle(CFr)
  9354. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  9355. local Angle = math.acos((R00+R11+R22-1)/2)
  9356. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  9357. A = A == 0 and 0.00001 or A
  9358. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  9359. B = B == 0 and 0.00001 or B
  9360. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  9361. C = C == 0 and 0.00001 or C
  9362. local x = (R21-R12)/sqrt(A)
  9363. local y = (R02-R20)/sqrt(B)
  9364. local z = (R10-R01)/sqrt(C)
  9365. return Vec3(x,y,z),Angle
  9366. end
  9367.  
  9368. function ApplyTrig(Num,Func)
  9369. local Min,Max = Func(0),Func(1)
  9370. local i = Func(Num)
  9371. return (i-Min)/(Max-Min)
  9372. end
  9373.  
  9374. function LerpCFrame(CFrame1,CFrame2,Num)
  9375. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  9376. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  9377. end
  9378.  
  9379. function Crater(Torso,Radius)
  9380. Spawn(function()
  9381. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  9382. local Ignore = {}
  9383. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  9384. if v.Character ~= nil then
  9385. Ignore[#Ignore+1] = v.Character
  9386. end
  9387. end
  9388. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  9389. if Hit == nil then return end
  9390. local Parts = {}
  9391. for i = 1,360,10 do
  9392. local P = Instance.new("Part",Torso.Parent)
  9393. P.Anchored = true
  9394. P.FormFactor = "Custom"
  9395. P.BrickColor = Hit.BrickColor
  9396. P.Material = Hit.Material
  9397. P.TopSurface = "Smooth"
  9398. P.BottomSurface = "Smooth"
  9399. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  9400. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  9401. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  9402. if math.random(0,5) == 0 then -- rubble
  9403. local P = Instance.new("Part",Torso.Parent)
  9404. P.Anchored = true
  9405. P.FormFactor = "Custom"
  9406. P.BrickColor = Hit.BrickColor
  9407. P.Material = Hit.Material
  9408. P.TopSurface = "Smooth"
  9409. P.BottomSurface = "Smooth"
  9410. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  9411. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  9412. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  9413. end
  9414. end
  9415. for i = 0,1,0.05 do
  9416. for i2,v in pairs(Parts) do
  9417. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  9418. end
  9419. wait(0.02)
  9420. end
  9421. for i,v in pairs(Parts) do
  9422. if v[1].Size.X > 2.1 then
  9423. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  9424. end
  9425. v[1].Anchored = false
  9426. end
  9427. for i = 0,1,0.05 do
  9428. for i2,v in pairs(Parts) do
  9429. v[1].Transparency = i
  9430. if i == 1 then
  9431. v[1]:Destroy()
  9432. elseif i >= 0.25 then
  9433. v[1].CanCollide = false
  9434. end
  9435. end
  9436. wait(0.02)
  9437. end
  9438. Parts = nil
  9439. end)
  9440. end
  9441.  
  9442. ----------------------------------------------------
  9443. mouse.KeyDown:connect(function(key)
  9444. if key == "r" and char.Mana.Value>=50 then
  9445. char.Mana.Value = char.Mana.Value - 50
  9446. larm.BrickColor = BrickColor.new("Bright red")
  9447. rarm.BrickColor = BrickColor.new("Bright red")
  9448. if Debounces.CanAttack == true then
  9449. Debounces.CanAttack = false
  9450. Debounces.on = true
  9451. Debounces.NoIdl = true
  9452. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  9453. hit = ht.Parent
  9454. if ht and hit:IsA("Model") then
  9455. if hit:FindFirstChild("Humanoid") then
  9456. if hit.Name ~= p.Name then
  9457. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  9458. wait(1)
  9459. end
  9460. end
  9461. elseif ht and hit:IsA("Hat") then
  9462. if hit.Parent.Name ~= p.Name then
  9463. if hit.Parent:FindFirstChild("Humanoid") then
  9464.  
  9465. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  9466. wait(1)
  9467. --Debounces.Slashed = false
  9468. end
  9469. end
  9470. end
  9471. end)
  9472. q = Instance.new("Sound",hed)
  9473. q.SoundId = "http://www.roblox.com/asset/?id=134012322"
  9474. q.Pitch = 0.85
  9475. q.Looped = false
  9476. q1 = Instance.new("Sound",hed)
  9477. q1.SoundId = "http://www.roblox.com/asset/?id=134012322"
  9478. q1.Pitch = 0.85
  9479. q1.Looped = false
  9480. q:Play()
  9481. q1:Play()
  9482. for i = 1,20 do
  9483. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
  9484. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
  9485. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
  9486. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  9487. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  9488. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  9489. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5)
  9490. if Debounces.on == false then break end
  9491. wait()
  9492. end
  9493. n = Instance.new("Sound",hed)
  9494. n.SoundId = "http://www.roblox.com/asset/?id=168514932"
  9495. n.Pitch = 0.94
  9496. n.Looped = false
  9497. n1 = Instance.new("Sound",hed)
  9498. n1.SoundId = "http://www.roblox.com/asset/?id=168514932"
  9499. n1.Pitch = 0.94
  9500. n1.Looped = false
  9501. n:Play()
  9502. n1:Play()
  9503. b = Instance.new("Sound",hed)
  9504. b.SoundId = "http://www.roblox.com/asset/?id=168586586"
  9505. b.Pitch = 0.94
  9506. b.Looped = false
  9507. b1 = Instance.new("Sound",hed)
  9508. b1.SoundId = "http://www.roblox.com/asset/?id=168586586"
  9509. b1.Pitch = 0.94
  9510. b1.Looped = false
  9511. b:Play()
  9512. b1:Play()
  9513. for i = 1,26 do
  9514. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5)
  9515. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5)
  9516. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5)
  9517. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5)
  9518. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5)
  9519. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5)
  9520. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5)
  9521. if Debounces.on == false then break end
  9522. wait()
  9523. end
  9524. wait(.5)
  9525. to:disconnect()
  9526. q:Destroy()
  9527. q1:Destroy()
  9528. n:Destroy()
  9529. n1:Destroy()
  9530. larm.BrickColor = BrickColor.new("Really black")
  9531. rarm.BrickColor = BrickColor.new("Really black")
  9532. if Debounces.CanAttack == false then
  9533. Debounces.CanAttack = true
  9534. Debounces.on = false
  9535. Debounces.NoIdl = false
  9536. end
  9537. end
  9538. end
  9539. end)
  9540. ----------------------------------------------------
  9541. mouse.KeyDown:connect(function(key)
  9542. if key == "q" and char.Mana.Value>=50 then
  9543. char.Mana.Value = char.Mana.Value - 50
  9544. larm.BrickColor = BrickColor.new("Bright red")
  9545. rarm.BrickColor = BrickColor.new("Bright red")
  9546. if Debounces.CanAttack == true then
  9547. Debounces.CanAttack = false
  9548. Debounces.on = true
  9549. Debounces.NoIdl = true
  9550. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  9551. hit = ht.Parent
  9552. if ht and hit:IsA("Model") then
  9553. if hit:FindFirstChild("Humanoid") then
  9554. if hit.Name ~= p.Name then
  9555. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  9556. wait(1)
  9557. --Debounces.Slashed = false
  9558. --end
  9559. end
  9560. end
  9561. elseif ht and hit:IsA("Hat") then
  9562. if hit.Parent.Name ~= p.Name then
  9563. if hit.Parent:FindFirstChild("Humanoid") then
  9564. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  9565. wait(1)
  9566. --Debounces.Slashed = false
  9567. end
  9568. end
  9569. end
  9570. end)
  9571. for i = 1, 20 do
  9572. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(21), math.rad(75), math.rad(50)), 0.2)
  9573. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-18)), 0.2)
  9574. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5)
  9575. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5)
  9576. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  9577. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  9578. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  9579. if Debounces.on == false then break end
  9580. wait()
  9581. end
  9582. z = Instance.new("Sound",hed)
  9583. z.SoundId = "rbxassetid://160069154"
  9584. z.Looped = false
  9585. z.Pitch = .9
  9586. z1 = Instance.new("Sound",hed)
  9587. z1.SoundId = "rbxassetid://160069154"
  9588. z1.Looped = false
  9589. z1.Pitch = .9
  9590. wait(0.01)
  9591. z:Play()
  9592. z1:Play()
  9593. for i = 1, 12 do
  9594. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), 0.2)
  9595. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2,.9,-1) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.5)
  9596. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5)
  9597. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5)
  9598. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5)
  9599. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5)
  9600. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  9601. if Debounces.on == false then break end
  9602. wait()
  9603. end
  9604. for i = 1, 12 do
  9605. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(140), math.rad(0), math.rad(50)), 0.4)
  9606. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.4)
  9607. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5)
  9608. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5)
  9609. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  9610. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  9611. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  9612. if Debounces.on == false then break end
  9613. wait()
  9614. end
  9615. z = Instance.new("Sound",hed)
  9616. z.SoundId = "rbxassetid://168586621"
  9617. z.Looped = false
  9618. z.Pitch = 1
  9619. z1 = Instance.new("Sound",hed)
  9620. z1.SoundId = "rbxassetid://168586621"
  9621. z1.Looped = false
  9622. z1.Pitch = 1
  9623. wait(0.01)
  9624. z:Play()
  9625. z1:Play()
  9626. for i = 1, 12 do
  9627. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(10)), 0.5)
  9628. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-18)), 0.4)
  9629. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5)
  9630. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5)
  9631. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5)
  9632. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5)
  9633. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(-110), math.rad(-90), math.rad(20)), 1)
  9634. if Debounces.on == false then break end
  9635. wait()
  9636. end
  9637. to:disconnect()
  9638. larm.BrickColor = BrickColor.new("Really black")
  9639. rarm.BrickColor = BrickColor.new("Really black")
  9640. if Debounces.CanAttack == false then
  9641. Debounces.CanAttack = true
  9642. Debounces.on = false
  9643. Debounces.NoIdl = false
  9644. end
  9645. end
  9646. end
  9647. end)
  9648. ----------------------------------------------------
  9649. Sit = false
  9650. mouse.KeyDown:connect(function(key)
  9651. if key == "v" then
  9652. if Sit == false then
  9653. Sit = true
  9654. hum.WalkSpeed = 20
  9655. stanceToggle = "Sitting"
  9656. elseif Sit == true then
  9657. Sit = false
  9658. hum.WalkSpeed = 50
  9659. stanceToggle = "Normal"
  9660. end
  9661. end
  9662. end)
  9663. ----------------------------------------------------
  9664. mouse.KeyDown:connect(function(key)
  9665. if key == "t" and char.Mana.Value>=50 then
  9666. char.Mana.Value = char.Mana.Value - 50
  9667. if Debounces.CanAttack == true then
  9668. Debounces.CanAttack = false
  9669. Debounces.on = true
  9670. Debounces.NoIdl = true
  9671. for i = 1, 25 do
  9672. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
  9673. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
  9674. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
  9675. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  9676. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4)
  9677. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
  9678. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
  9679. if Debounces.on == false then break end
  9680. wait()
  9681. end
  9682. Spawn(function()
  9683. local Parts = {}
  9684. for Y = -5,5 do
  9685. local P = Instance.new("Part",char)
  9686. P.Anchored = true
  9687. P.FormFactor = "Custom"
  9688. P.CanCollide = false
  9689. P.Size = Vector3.new(1,1,1)
  9690. P.TopSurface = "SmoothNoOutlines"
  9691. P.BottomSurface = "SmoothNoOutlines"
  9692. P.BrickColor = BrickColor.new("Really black")
  9693. P.Material = "Neon"
  9694. P.Name = tostring(Y)
  9695. local i = (Y+5)/(10)
  9696. i = 1-math.cos(math.pi*i-(math.pi/2))
  9697. P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*6),0,0)
  9698. P.Touched:connect(function(ht)
  9699. local hit = ht.Parent
  9700. if hit:FindFirstChild("Humanoid") then
  9701. hit.Humanoid:TakeDamage(math.random(100,math.huge))
  9702. end
  9703. end)
  9704. s = Instance.new("Sound",P)
  9705. s.SoundId = "rbxassetid://228343271"
  9706. s.Volume = .7
  9707. s.Pitch = 0.9
  9708. s:Play()
  9709. P.Touched:connect(function(ht)
  9710. hit = ht.Parent
  9711. if ht and hit:IsA("Model") then
  9712. if hit:FindFirstChild("Humanoid") then
  9713. if hit.Name ~= p.Name then
  9714.  
  9715. hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
  9716. hit:FindFirstChild("Humanoid").PlatformStand = true
  9717. wait(1)
  9718. --Debounces.Slashed = false
  9719. --end
  9720. end
  9721. end
  9722. elseif ht and hit:IsA("Hat") then
  9723. if hit.Parent.Name ~= p.Name then
  9724. if hit.Parent:FindFirstChild("Humanoid") then
  9725.  
  9726. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
  9727. hit:FindFirstChild("Humanoid").PlatformStand = true
  9728. wait(1)
  9729. --Debounces.Slashed = false
  9730. --end
  9731. end
  9732. end
  9733. end
  9734. end)
  9735. Parts[#Parts+1] = P
  9736. end
  9737. local BREAKIT = false
  9738. local CParts = {}
  9739. local Rocks = {}
  9740. local LastPos = nil
  9741. for i = 1,70 do
  9742. for i2,v in pairs(Parts) do
  9743. v.CFrame = v.CFrame*CFrame.new(0,0,-4)
  9744. local cf = v.CFrame
  9745. v.Size = v.Size+Vector3.new(1,1,1)
  9746. v.CFrame = cf
  9747. v.Transparency = v.Transparency+0.02
  9748. if v.Transparency >= 0.975 then BREAKIT = true end
  9749. if v.Name == "0" then
  9750. local Ignore = {}
  9751. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  9752. if v.Character ~= nil then
  9753. Ignore[#Ignore+1] = v.Character
  9754. end
  9755. end
  9756. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
  9757. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  9758. if Hit ~= nil then
  9759. if #Rocks == 0 then
  9760. for i = 1,5 do
  9761. local P = Instance.new("Part",char)
  9762. Rocks[#Rocks+1] = P
  9763. P.Anchored = true
  9764. P.FormFactor = "Custom"
  9765. P.BrickColor = Hit.BrickColor
  9766. P.Material = Hit.Material
  9767. P.TopSurface = "Smooth"
  9768. P.BottomSurface = "Smooth"
  9769. P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100)
  9770. end
  9771. end
  9772. for i,P in pairs(Rocks) do
  9773. P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  9774. end
  9775. local P = Instance.new("Part",char)
  9776. CParts[#CParts+1] = {P,tick()}
  9777. P.Anchored = true
  9778. P.FormFactor = "Custom"
  9779. P.BrickColor = Hit.BrickColor
  9780. P.Material = Hit.Material
  9781. P.TopSurface = "Smooth"
  9782. P.BottomSurface = "Smooth"
  9783. P.Size = Vector3.new(5,5,5)*(math.random(100,300)/100)
  9784. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  9785. Pos = Pos.p
  9786. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  9787. local P = P:Clone()
  9788. CParts[#CParts+1] = {P,tick()}
  9789. P.Parent = char
  9790. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  9791. Pos = Pos.p
  9792. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
  9793. if LastPos ~= nil then
  9794. local P = P:Clone()
  9795. CParts[#CParts+1] = {P,tick()}
  9796. P.Parent = char
  9797. P.BrickColor = BrickColor.new("Really black")
  9798. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  9799. Pos = Pos.p
  9800. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  9801. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.30)
  9802. --P.Velocity = Vector3.new(0,-1000,0)
  9803. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  9804. end
  9805. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  9806. end
  9807. end
  9808. end
  9809. if BREAKIT then break end
  9810. wait(0.002)
  9811. end
  9812. for i,v in pairs(Rocks) do
  9813. CParts[#CParts+1] = {v,tick()}
  9814. end
  9815. for i,v in pairs(Parts) do
  9816. v:Destroy()
  9817. end
  9818. Parts = nil
  9819. while true do
  9820. local t = tick()
  9821. local p = nil
  9822. for i,v in pairs(CParts) do
  9823. if t-v[2] > 4 then
  9824. v[1].Transparency = v[1].Transparency+0.05
  9825. if v[1].Transparency >= 1 then
  9826. v[1]:Destroy()
  9827. CParts[i] = nil
  9828. end
  9829. end
  9830. p = v
  9831. end
  9832. if p == nil then break end
  9833. wait(0.002)
  9834. end
  9835. for i,v in pairs(CParts) do
  9836. v:Destroy()
  9837. end
  9838. CParts = {}
  9839. end)
  9840. for i = 1, 20 do
  9841. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.4)
  9842. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.4)
  9843. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.4)
  9844. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4)
  9845. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4)
  9846. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4)
  9847. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
  9848. if Debounces.on == false then break end
  9849. wait()
  9850. end
  9851. if Debounces.CanAttack == false then
  9852. Debounces.CanAttack = true
  9853. Debounces.on = false
  9854. Debounces.NoIdl = false
  9855. end
  9856. end
  9857. end
  9858. end)
  9859. ----------------------------------------------------
  9860. mouse.KeyDown:connect(function(key)
  9861. if key == "e" and char.Mana.Value>=50 then
  9862. char.Mana.Value = char.Mana.Value - 50
  9863. larm.BrickColor = BrickColor.new("Bright red")
  9864. rarm.BrickColor = BrickColor.new("Bright red")
  9865. if Debounces.CanAttack == true then
  9866. Debounces.CanAttack = false
  9867. Debounces.on = true
  9868. Debounces.NoIdl = true
  9869. for i = 1, 18 do
  9870. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.7, 0) * CFrame.Angles(math.rad(90),math.rad(50),math.rad(90)), 0.4)
  9871. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)
  9872. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  9873. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  9874. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  9875. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  9876. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  9877. if Debounces.on == false then break end
  9878. wait()
  9879. end
  9880. local HandCF = CFrame.new(char.Absolution.Handle.Position - Vector3.new(0,8.8,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  9881. local rng = Instance.new("Part", char.Absolution.Handle)
  9882. rng.Anchored = true
  9883. rng.BrickColor = BrickColor.new("Really black")
  9884. rng.CanCollide = true
  9885. rng.FormFactor = 3
  9886. rng.Name = "Ring"
  9887. rng.Size = Vector3.new(1, 1, 1)
  9888. rng.CanCollide = false
  9889. rng.Transparency = 0.35
  9890. rng.TopSurface = 0
  9891. rng.BottomSurface = 0
  9892. rng.CFrame = HandCF
  9893. local rngm = Instance.new("SpecialMesh", rng)
  9894. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  9895. rngm.Scale = Vector3.new(1, 1, 2)
  9896. x = Instance.new("Sound", hed)
  9897. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  9898. x.Looped = false
  9899. x.Pitch = .7
  9900. x.Volume = 1
  9901. x1 = Instance.new("Sound", hed)
  9902. x1.SoundId = "http://www.roblox.com/asset/?id=169445602"
  9903. x1.Looped = false
  9904. x1.Pitch = .7
  9905. x1.Volume = 1
  9906. x:Play()
  9907. x1:Play()
  9908. rngto = rng.Touched:connect(function(ht)
  9909. hit = ht.Parent
  9910. if ht and hit:IsA("Model") then
  9911. if hit:FindFirstChild("Humanoid") then
  9912. if hit.Name ~= p.Name then
  9913.  
  9914. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  9915. hit:FindFirstChild("Humanoid").PlatformStand = true
  9916. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  9917. --Debounces.Slashed = false
  9918. --end
  9919. end
  9920. end
  9921. elseif ht and hit:IsA("Hat") then
  9922. if hit.Parent.Name ~= p.Name then
  9923. if hit.Parent:FindFirstChild("Humanoid") then
  9924.  
  9925. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  9926. hit:FindFirstChild("Humanoid").PlatformStand = true
  9927. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  9928. --Debounces.Slashed = false
  9929. end
  9930. end
  9931. end
  9932. end)
  9933. coroutine.wrap(function()
  9934. for i = 1, 60, 2 do
  9935. rngm.Scale = Vector3.new(10 + i*10, 10 + i*10, 10)
  9936. rng.Size = rngm.Scale
  9937. rng.CFrame = HandCF
  9938. rng.Transparency = i/60
  9939. wait()
  9940. end
  9941. wait()
  9942. rng:Destroy()
  9943. end)()
  9944. for i = 1, 18 do
  9945. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.4)
  9946. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)
  9947. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  9948. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  9949. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  9950. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  9951. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, 0.2) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  9952. if Debounces.on == false then break end
  9953. wait()
  9954. end
  9955. larm.BrickColor = BrickColor.new("Really black")
  9956. rarm.BrickColor = BrickColor.new("Really black")
  9957. x:Destroy()
  9958. x1:Destroy()
  9959. if Debounces.CanAttack == false then
  9960. Debounces.CanAttack = true
  9961. Debounces.on = false
  9962. Debounces.NoIdl = false
  9963. end
  9964. end
  9965. end
  9966. end)
  9967. ----------------------------------------------------
  9968. mouse.KeyDown:connect(function(key)
  9969. if key == "y" then
  9970. if Debounces.CanAttack == true then
  9971. Debounces.CanAttack = false
  9972. Debounces.on = true
  9973. Debounces.NoIdl = true
  9974. for i = 1, 15 do
  9975. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2)
  9976. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.2)
  9977. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  9978. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2)
  9979. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  9980. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  9981. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  9982. if Debounces.on == false then break end
  9983. wait()
  9984. end
  9985. x = Instance.new("Sound",char)
  9986. x.SoundId = "rbxassetid://228343271"
  9987. x.Pitch = 1
  9988. x.Volume = .8
  9989. wait(.1)
  9990. x:Play()
  9991. Debounces.on = false
  9992. Debounces.Here = false
  9993. shot = shot + 1
  9994. local rng = Instance.new("Part", char)
  9995. rng.Anchored = true
  9996. rng.BrickColor = BrickColor.new("Really black")
  9997. rng.CanCollide = false
  9998. rng.FormFactor = 3
  9999. rng.Name = "Ring"
  10000. rng.Size = Vector3.new(1, 1, 1)
  10001. rng.Transparency = 0.35
  10002. rng.TopSurface = 0
  10003. rng.BottomSurface = 0
  10004. rng2 = rng:clone()
  10005. rng3 = rng2:clone()
  10006. rng4 = rng2:clone()
  10007. local rngm = Instance.new("SpecialMesh", rng)
  10008. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  10009. rngm.TextureId = "http://www.roblox.com/asset/?id=122569107"
  10010. rngm.Scale = Vector3.new(10, 10, 1)
  10011. rngm2 = rngm:clone()
  10012. rngm2.Scale = Vector3.new(5, 5, 1)
  10013. rngm3=rngm2:clone()
  10014. rngm3.Parent = rng3
  10015. rngm3.Scale = Vector3.new(8, 8, 1)
  10016. rngm4 = rngm2:clone()
  10017. rngm4.Parent = rng4
  10018. rngm4.Scale = Vector3.new(6, 6, 1)
  10019. local bem = Instance.new("Part", char)
  10020. bem.Anchored = true
  10021. bem.BrickColor = BrickColor.new("Really black")
  10022. bem.CanCollide = false
  10023. bem.FormFactor = 3
  10024. bem.Name = "Beam" .. shot
  10025. bem.Size = Vector3.new(1, 1, 1)
  10026. bem.Transparency = 0.35
  10027. bem.TopSurface = 0
  10028. bem.BottomSurface = 0
  10029. local bemm = Instance.new("SpecialMesh", bem)
  10030. bemm.MeshType = 4
  10031. bemm.Scale = Vector3.new(1, 4, 4)
  10032. local out = Instance.new("Part", char)
  10033. out.Anchored = true
  10034. out.BrickColor = BrickColor.new("Really black")
  10035. out.CanCollide = false
  10036. out.FormFactor = 3
  10037. out.Name = "Out"
  10038. out.Size = Vector3.new(4, 4, 4)
  10039. out.Transparency = 0.35
  10040. out.TopSurface = 0
  10041. out.BottomSurface = 0
  10042. local outm = Instance.new("SpecialMesh", out)
  10043. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  10044. outm.TextureId = "http://www.roblox.com/asset/?id=122569107"
  10045. outm.Scale = Vector3.new(4, 4, 4)
  10046. local bnd = Instance.new("Part", char)
  10047. bnd.Anchored = true
  10048. bnd.BrickColor = BrickColor.new("Really black")
  10049. bnd.CanCollide = false
  10050. bnd.FormFactor = 3
  10051. bnd.Material = "Neon"
  10052. bnd.Name = "Bend"
  10053. bnd.Size = Vector3.new(1, 1, 1)
  10054. bnd.Transparency = 1
  10055. bnd.TopSurface = 0
  10056. bnd.BottomSurface = 0
  10057. local bndm = Instance.new("SpecialMesh", bnd)
  10058. bndm.MeshType = 3
  10059. bndm.Scale = Vector3.new(8, 8, 8)
  10060. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  10061. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  10062. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  10063. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  10064. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  10065. rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0)
  10066. Debounces.Shewt = true
  10067. coroutine.wrap(function()
  10068. for i = 1, 50, 0.2 do
  10069. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  10070. rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  10071. rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1)
  10072. rng.Transparency = i/20
  10073. rng3.Transparency = 1/16
  10074. rng4.Transparency = i/12
  10075. wait()
  10076. end
  10077. wait()
  10078. rng:Destroy()
  10079. end)()
  10080. if Debounces.Shewt == true then
  10081. char:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  10082. hit = ht.Parent
  10083. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  10084. if HasntTouched(hit.Name) == true and deb == false then
  10085. deb = true
  10086. coroutine.wrap(function()
  10087. hit:FindFirstChild("Humanoid").PlatformStand = true
  10088. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  10089. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  10090. end)()
  10091. table.insert(Touche, hit.Name)
  10092. deb = false
  10093. end
  10094. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  10095. if HasntTouched(hit.Parent.Name) == true and deb == false then
  10096. deb = true
  10097. coroutine.wrap(function()
  10098. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  10099. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  10100. wait(1)
  10101. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  10102. end)()
  10103. table.insert(Touche, hit.Parent.Name)
  10104. deb = false
  10105. for i, v in pairs(Touche) do
  10106. print(v)
  10107. end
  10108. end
  10109. end
  10110. end)
  10111. end
  10112. for i = 0, 260, 8 do
  10113. bem.Size = Vector3.new(i, 2, 2)
  10114. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  10115. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  10116. bnd.Size = Vector3.new(1,1,1)
  10117. bndm.Scale = Vector3.new(8,8,8)
  10118. if i % 10 == 0 then
  10119. local newRng = rng2:Clone()
  10120. newRng.Parent = char
  10121. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  10122. local newRngm = rngm2:clone()
  10123. newRngm.Parent=newRng
  10124. coroutine.wrap(function()
  10125. for i = 1, 10, 0.2 do
  10126. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  10127. newRng.Transparency = i/10
  10128. wait()
  10129. end
  10130. wait()
  10131. newRng:Destroy()
  10132. end)()
  10133. end
  10134. wait()
  10135. end
  10136. wait()
  10137. Debounces.Shewt = false
  10138. bem:Destroy()
  10139. out:Destroy()
  10140. bnd:Destroy()
  10141. Debounces.Ready = false
  10142. for i, v in pairs(Touche) do
  10143. table.remove(Touche, i)
  10144. end
  10145. wait()
  10146. table.insert(Touche, char.Name)
  10147. Debounces.NoIdl = false
  10148. if Debounces.CanAttack == false then
  10149. Debounces.CanAttack = true
  10150. end
  10151. end
  10152. end
  10153. end)
  10154. ----------------------------------------------------
  10155. sidz = {"231917888", "231917845", "231917806"}
  10156. ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
  10157. mouse.KeyDown:connect(function(key)
  10158. if key == "f" and char.Mana.Value>=50 then
  10159. char.Mana.Value = char.Mana.Value - 50
  10160. larm.BrickColor = BrickColor.new("Really black")
  10161. rarm.BrickColor = BrickColor.new("Camo")
  10162. if Debounces.CanAttack == true then
  10163. Debounces.CanAttack = false
  10164. Debounces.on = true
  10165. Debounces.NoIdl = true
  10166. for i = 1, 10 do
  10167. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.4)
  10168. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.4)
  10169. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  10170. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  10171. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  10172. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  10173. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  10174. if Debounces.on == false then break end
  10175. wait()
  10176. end
  10177. z = Instance.new("Sound",char)
  10178. z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)]
  10179. z.Pitch = ptz[math.random(1,#ptz)]
  10180. z.Volume = 1
  10181. z1 = Instance.new("Sound",char)
  10182. z1.SoundId = z.SoundId
  10183. z1.Pitch = z.Pitch
  10184. z1.Volume = 1
  10185. wait(1)
  10186. z:Play()
  10187. z1:Play()
  10188. Stomp()
  10189. for i = 1, 20 do
  10190. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.6)
  10191. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.6)
  10192. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  10193. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6)
  10194. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
  10195. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, -1.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
  10196. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  10197. if Debounces.on == false then break end
  10198. wait()
  10199. end
  10200. if Debounces.CanAttack == false then
  10201. Debounces.CanAttack = true
  10202. Debounces.on = false
  10203. Debounces.NoIdl = false
  10204. larm.BrickColor = BrickColor.new("Really black")
  10205. rarm.BrickColor = BrickColor.new("Really black")
  10206. end
  10207. end
  10208. end
  10209. end)
  10210. ----------------------------------------------------
  10211. mouse.KeyDown:connect(function(key)
  10212. if key == "g" and char.Mana.Value>5 then
  10213. char.Mana.Value = char.Mana.Value - 5
  10214. larm.BrickColor = BrickColor.new("Camo")
  10215. rarm.BrickColor = BrickColor.new("Really black")
  10216. if Debounces.CanAttack == true then
  10217. Debounces.CanAttack = false
  10218. Debounces.on = true
  10219. Debounces.NoIdl = true
  10220. chrg = lleg.Touched:connect(function(ht)
  10221. hit = ht.Parent
  10222. if ht and hit:IsA("Model") then
  10223. if hit:FindFirstChild("Humanoid") then
  10224. if hit.Name ~= p.Name then
  10225.  
  10226. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  10227. hit:FindFirstChild("Humanoid").PlatformStand = true
  10228. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  10229. --Debounces.Slashed = false
  10230. --end
  10231. end
  10232. end
  10233. elseif ht and hit:IsA("Hat") then
  10234. if hit.Parent.Name ~= p.Name then
  10235. if hit.Parent:FindFirstChild("Humanoid") then
  10236.  
  10237. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  10238. hit:FindFirstChild("Humanoid").PlatformStand = true
  10239. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  10240. --Debounces.Slashed = false
  10241. end
  10242. end
  10243. end
  10244. end)
  10245. for i = 1, 14 do
  10246. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.5)
  10247. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.5)
  10248. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.5)
  10249. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5)
  10250. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.8, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5)
  10251. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5)
  10252. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9)
  10253. if Debounces.on == false then break end
  10254. wait()
  10255. end
  10256. charge()
  10257. z = Instance.new("Sound",char)
  10258. z.SoundId = "rbxassetid://200632875"
  10259. z.Volume = 1
  10260. z.Pitch = .8
  10261. z1 = Instance.new("Sound",char)
  10262. z1.SoundId = "rbxassetid://200632875"
  10263. z1.Volume = 1
  10264. z1.Pitch = .9
  10265. z:Play()
  10266. z1:Play()
  10267. wait(1)
  10268. z:Destroy()
  10269. z1:Destroy()
  10270. chrg:disconnect()
  10271. if Debounces.CanAttack == false then
  10272. Debounces.CanAttack = true
  10273. Debounces.on = false
  10274. Debounces.NoIdl = false
  10275. larm.BrickColor = BrickColor.new("Really black")
  10276. rarm.BrickColor = BrickColor.new("Really black")
  10277. end
  10278. end
  10279. end
  10280. end)
  10281. ----------------------------------------------------
  10282. pt = {0.7, 0.8, 0.9}
  10283. mouse.KeyDown:connect(function(key)
  10284. if key == "h" and char.Mana.Value>50 then
  10285. char.Mana.Value = char.Mana.Value - 50
  10286. if Debounces.CanJoke == true then
  10287. Debounces.CanJoke = false
  10288. u = Instance.new("Sound")
  10289. u.SoundId = "http://www.roblox.com/asset/?id=138199573"
  10290. u.Parent = char
  10291. u.Looped = false
  10292. u.Pitch = pt[math.random(1,#pt)]
  10293. u.Volume = 1
  10294. u2 = Instance.new("Sound")
  10295. u2.SoundId = "http://www.roblox.com/asset/?id=138199573"
  10296. u2.Parent = char
  10297. u2.Looped = false
  10298. u2.Pitch = u.Pitch
  10299. u2.Volume = 1
  10300. wait(.01)
  10301. u:Play()
  10302. u2:Play()
  10303. wait(6)
  10304. u:Destroy()
  10305. u2:Destroy()
  10306. if Debounces.CanJoke == false then
  10307. Debounces.CanJoke = true
  10308. end
  10309. end
  10310. end
  10311. end)
  10312. ----------------------------------------------------
  10313. mouse.KeyDown:connect(function(key)
  10314. if key == "j" and char.Mana.Value> 30 then
  10315. char.Mana.Value = char.Mana.Value-30
  10316. if Debounces.CanJoke == true then
  10317. Debounces.CanJoke = false
  10318. z = Instance.new("Sound",char)
  10319. z.SoundId = "rbxassetid://135017755"
  10320. z.Pitch = .76
  10321. z.Volume = 1
  10322. wait()
  10323. z:Play()
  10324. wait(6)
  10325. z:Destroy()
  10326. if Debounces.CanJoke == false then
  10327. Debounces.CanJoke = true
  10328. end
  10329. end
  10330. end
  10331. end)
  10332. ----------------------------------------------------
  10333. mouse.KeyDown:connect(function(key)
  10334. if key == "k" and char.Mana.Value> 10 then
  10335. char.Mana.Value = char.Mana.Value -10
  10336. if Debounces.CanJoke == true then
  10337. Debounces.CanJoke = false
  10338. z = Instance.new("Sound",char)
  10339. z.SoundId = "rbxassetid://135017578"
  10340. z.Pitch = .76
  10341. z.Volume = 1
  10342. wait()
  10343. z:Play()
  10344. wait(4)
  10345. z:Destroy()
  10346. if Debounces.CanJoke == false then
  10347. Debounces.CanJoke = true
  10348. end
  10349. end
  10350. end
  10351. end)
  10352. ----------------------------------------------------
  10353. mouse.KeyDown:connect(function(key)
  10354. if key == "u" and char.Mana.Value>200 then
  10355. wait(1)
  10356. char.Mana.Value = char.Mana.Value-200
  10357. charge()
  10358. wait(0.6)
  10359. charge()
  10360. wait(0.6)
  10361. charge()
  10362. wait(2)
  10363. end
  10364. end)
  10365. ----------------------------------------------------
  10366. mouse.KeyDown:connect(function(key)
  10367. if key == "x" and char.Mana.Value>50 then
  10368. char.Mana.Value = char.Mana.Value-50
  10369. if Debounces.CanAttack == true then
  10370. Debounces.CanAttack = false
  10371. Debounces.NoIdl = true
  10372. Debounces.on = true
  10373. Debounces.ks = true
  10374. for i = 1, 10 do
  10375. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6)
  10376. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.7,.9,-.5)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(20)), 0.6)
  10377. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  10378. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6)
  10379. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.6)
  10380. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.7, .6) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(0)), 0.6)
  10381. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  10382. if Debounces.on == false then break end
  10383. wait()
  10384. end
  10385. z = Instance.new("Sound",hed)
  10386. z.SoundId = "rbxassetid://169445092"
  10387. z.Volume = 1
  10388. wait(0.1)
  10389. z:Play()
  10390. kik = rleg.Touched:connect(function(ht)
  10391. hit = ht.Parent
  10392. if ht and hit:IsA("Model") then
  10393. if hit:FindFirstChild("Humanoid") then
  10394. if hit.Name ~= p.Name then
  10395.  
  10396. if Debounces.ks==true then
  10397. z = Instance.new("Sound",hed)
  10398. z.SoundId = "rbxassetid://169380525"
  10399. z.Volume = 1
  10400. z:Play()
  10401. Debounces.ks=false
  10402. end
  10403. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  10404. hit:FindFirstChild("Humanoid").PlatformStand = true
  10405. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  10406. --Debounces.Slashed = false
  10407. --end
  10408. end
  10409. end
  10410. elseif ht and hit:IsA("Hat") then
  10411. if hit.Parent.Name ~= p.Name then
  10412. if hit.Parent:FindFirstChild("Humanoid") then
  10413.  
  10414. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  10415. hit:FindFirstChild("Humanoid").PlatformStand = true
  10416. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  10417. --Debounces.Slashed = false
  10418. --end
  10419. end
  10420. end
  10421. end
  10422. end)
  10423. for i = 1, 8 do
  10424. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  10425. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.7)
  10426. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7)
  10427. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7)
  10428. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  10429. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.6, -1.4) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.7)
  10430. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  10431. if Debounces.on == false then break end
  10432. wait()
  10433. end
  10434. kik:disconnect()
  10435. if Debounces.CanAttack == false then
  10436. Debounces.CanAttack = true
  10437. Debounces.on = false
  10438. Debounces.NoIdl = false
  10439. end
  10440. end
  10441. end
  10442. end)
  10443. ----------------------------------------------------
  10444. mouse.KeyDown:connect(function(key)
  10445. if key == "c" and char.Mana.Value>80 then
  10446. char.Mana.Value = char.Mana.Value -80
  10447. if Debounces.CanAttack == true then
  10448. Debounces.CanAttack = false
  10449. Debounces.NoIdl = true
  10450. Debounces.on = true
  10451. SIDZ = {"231917744", "231917742"}
  10452. PTZ = {0.7, 0.8, 0.9, 1}
  10453. for i = 1, 20 do
  10454. wait()
  10455. for i,v in pairs(char.Absolution:children()) do
  10456. if v:IsA("Part") or v:IsA("WedgePart") then
  10457. v.Transparency = v.Transparency + 0.05
  10458. end
  10459. end
  10460. end
  10461. function FindNearestTorso(Position,Distance,SinglePlayer)
  10462. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  10463. local List = {}
  10464. for i,v in pairs(workspace:GetChildren())do
  10465. if v:IsA("Model")then
  10466. if v:findFirstChild("Torso")then
  10467. if v ~= char then
  10468. if(v.Torso.Position -Position).magnitude <= Distance then
  10469. table.insert(List,v)
  10470. end
  10471. end
  10472. end
  10473. end
  10474. end
  10475. return List
  10476. end
  10477. GroundPound()
  10478. for i = 1, 5 do
  10479. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  10480. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  10481. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  10482. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  10483. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  10484. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  10485. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  10486. if Debounces.on == false then break end
  10487. wait()
  10488. end
  10489. GroundPound()
  10490. for i = 1, 5 do
  10491. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  10492. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  10493. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  10494. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  10495. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  10496. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  10497. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  10498. if Debounces.on == false then break end
  10499. wait()
  10500. end
  10501. GroundPound()
  10502. for i = 1, 5 do
  10503. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  10504. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  10505. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  10506. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  10507. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  10508. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  10509. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  10510. if Debounces.on == false then break end
  10511. wait()
  10512. end
  10513. GroundPound()
  10514. for i = 1, 5 do
  10515. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  10516. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  10517. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  10518. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  10519. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  10520. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  10521. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  10522. if Debounces.on == false then break end
  10523. wait()
  10524. end
  10525. GroundPound()
  10526. for i = 1, 5 do
  10527. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  10528. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  10529. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  10530. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  10531. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  10532. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  10533. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  10534. if Debounces.on == false then break end
  10535. wait()
  10536. end
  10537. GroundPound()
  10538. for i = 1, 5 do
  10539. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  10540. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  10541. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  10542. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  10543. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  10544. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  10545. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  10546. if Debounces.on == false then break end
  10547. wait()
  10548. end
  10549. for i = 1, 18 do
  10550. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4)
  10551. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(10)), 0.4)
  10552. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  10553. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  10554. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  10555. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  10556. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  10557. if Debounces.on == false then break end
  10558. wait()
  10559. end
  10560. for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do
  10561. if v:FindFirstChild('Humanoid') then
  10562. v.Humanoid:TakeDamage(math.random(20,60))
  10563. v.Humanoid.PlatformStand = true
  10564. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  10565. end
  10566. end
  10567. x = Instance.new("Sound",char)
  10568. x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)]
  10569. x.Pitch = PTZ[math.random(1,#PTZ)]
  10570. x.Volume = 1
  10571. wait(0.1)
  10572. x:Play()
  10573. Crater(hed,20)
  10574. for i = 1, 14 do
  10575. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-10)), 0.6)
  10576. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), 0.6)
  10577. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6)
  10578. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6)
  10579. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
  10580. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
  10581. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  10582. if Debounces.on == false then break end
  10583. wait()
  10584. end
  10585. if Debounces.CanAttack == false then
  10586. Debounces.CanAttack = true
  10587. Debounces.on = false
  10588. Debounces.NoIdl = false
  10589. for i = 1, 20 do
  10590. wait()
  10591. for i,v in pairs(char.Absolution:children()) do
  10592. if v:IsA("Part") or v:IsA("WedgePart") then
  10593. v.Transparency = v.Transparency - 0.05
  10594. end
  10595. end
  10596. end
  10597. end
  10598. end
  10599. end
  10600. end)
  10601. ----------------------------------------------------176349813
  10602. mouse.KeyDown:connect(function(key)
  10603. if key == "b" and char.Mana.Value>80 then
  10604. char.Mana.Value = char.Mana.Value -80
  10605. hum.WalkSpeed = 20
  10606. if Debounces.CanAttack == true then
  10607. Debounces.CanAttack = false
  10608. Debounces.NoIdl = true
  10609. Debounces.on = true
  10610. for i = 1,20 do
  10611. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1)
  10612. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1)
  10613. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1)
  10614. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1)
  10615. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1)
  10616. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1)
  10617. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  10618. if Debounces.on == false then break end
  10619. wait()
  10620. end
  10621. wait(1)
  10622. v = Instance.new("Sound")
  10623. v.SoundId = "rbxassetid://181384451"
  10624. v.Parent = char
  10625. v.Looped = false
  10626. v.Pitch = 1.04
  10627. v.Volume = 1.5
  10628. wait(.01)
  10629. v:Play()
  10630.  
  10631. v = Instance.new("Sound")
  10632. v.SoundId = "rbxassetid://138252341"
  10633. v.Parent = char
  10634. v.Looped = false
  10635. v.Pitch = 1.04
  10636. v.Volume = 1.2
  10637. wait(.01)
  10638. v:Play()
  10639. if Daytime == true then
  10640. Daytime = false
  10641. l.TimeOfDay = 24
  10642. else
  10643. Daytime = true
  10644. l.TimeOfDay = 12
  10645. l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
  10646. end
  10647.  
  10648. local Shockwave = function()
  10649. local rng1 = Instance.new("Part", char)
  10650. rng1.Anchored = true
  10651. rng1.BrickColor = BrickColor.new("Institutional white")
  10652. rng1.CanCollide = false
  10653. rng1.FormFactor = 3
  10654. rng1.Name = "Ring"
  10655. rng1.Material = "Neon"
  10656. rng1.Size = Vector3.new(1, 1, 1)
  10657. rng1.Transparency = 0.35
  10658. rng1.TopSurface = 0
  10659. rng1.BottomSurface = 0
  10660. local rngm1 = Instance.new("SpecialMesh", rng)
  10661. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  10662. rngm1.Scale = Vector3.new(10, 10, 1)
  10663. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  10664. local Wave = Instance.new("Part", game.Workspace)
  10665. Wave.Name = "Shockwave"
  10666. Wave.BrickColor = BrickColor.new("Really black")
  10667. Wave.Size = Vector3.new(1, 1, 1)
  10668. Wave.Shape = "Ball"
  10669. Wave.Name = "Wave"
  10670. Wave.Material = "Neon"
  10671. Wave.CanCollide = false
  10672. Wave.Anchored = true
  10673. Wave.TopSurface = 0
  10674. Wave.BottomSurface = 0
  10675. Wave.Touched:connect(function(hit)
  10676. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  10677. local Occlude = true
  10678. local NotOccludes = {
  10679. char.Name;
  10680. "Wings";
  10681. "Scythe";
  10682. "Thingy";
  10683. "Thingy2"; -- put all of the names in a table pls
  10684. }
  10685. for i,v in pairs(NotOccludes) do
  10686. if hit.Parent.Name == v then
  10687. Occlude = false
  10688. end
  10689. end
  10690. --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then
  10691. if Occlude then
  10692. hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - math.huge
  10693. hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  10694. end
  10695. end
  10696. end)
  10697.  
  10698. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  10699.  
  10700. coroutine.wrap(function()
  10701. for i = 1, 20, 0.2 do
  10702. rngm1.Scale = Vector3.new(30 + i*2, 30 + i*2, 1)
  10703. rng1.Transparency = i/20
  10704. local Wav2 = game.Workspace.Wave:Clone()
  10705. Wav2.Position = Vector3.new(math.random(0,200),2,math.random(0,200))
  10706. wait()
  10707. end
  10708. wait()
  10709. rng1:Destroy()
  10710. end)()
  10711.  
  10712. Delay(0, function()
  10713.  
  10714. if Daytime == false then
  10715. for i = 1, 50, 1 do
  10716. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  10717. Wave.CFrame = char.Torso.CFrame
  10718. local t = i / 50
  10719. Wave.Transparency = t
  10720. wait()
  10721. end
  10722. else
  10723. for i = 1, 50, 1 do
  10724. Wave.Size = Vector3.new(20 + i, 20 + i, 20 + i)
  10725. Wave.CFrame = char.Torso.CFrame
  10726. local t = i / 50
  10727. Wave.Transparency = t
  10728. wait()
  10729. end
  10730. end
  10731. Wave:Destroy()
  10732. end)
  10733. Delay(0, function()
  10734. while wait() do
  10735. if Wave ~= nil then
  10736. Wave.CFrame = char.Torso.CFrame
  10737. else
  10738. break
  10739. end
  10740. end
  10741. end)
  10742. end
  10743. Shockwave()
  10744. for i = 1, 15 do
  10745. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  10746. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  10747. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  10748. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  10749. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  10750. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  10751. if Debounces.on == false then break end
  10752. wait()
  10753. end
  10754. for i = 1, 15 do
  10755. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  10756. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  10757. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  10758. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  10759. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  10760. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  10761. if Debounces.on == false then break end
  10762. wait()
  10763. end
  10764. for i = 1, 15 do
  10765. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  10766. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  10767. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  10768. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  10769. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  10770. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  10771. if Debounces.on == false then break end
  10772. wait()
  10773. end
  10774. for i = 1, 15 do
  10775. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  10776. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  10777. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  10778. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  10779. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  10780. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  10781. if Debounces.on == false then break end
  10782. wait()
  10783. end
  10784. for i = 1, 15 do
  10785. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  10786. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  10787. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  10788. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  10789. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  10790. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  10791. if Debounces.on == false then break end
  10792. wait()
  10793. end
  10794. for i = 1, 15 do
  10795. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  10796. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  10797. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  10798. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  10799. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  10800. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  10801. if Debounces.on == false then break end
  10802. wait()
  10803. end
  10804. wait(1.4)
  10805. Debounces.NoIdl = false
  10806. hum.WalkSpeed = 50
  10807. Debounces.on = false
  10808. wait()
  10809. if Debounces.CanAttack == false then
  10810. Debounces.CanAttack = true
  10811. v:Destroy()
  10812. end
  10813. char.Mana.Value = char.Mana.Value + 1000
  10814. wait(4)
  10815. end
  10816. end
  10817. end)
  10818. ----------------------------------------------------
  10819. mouse.KeyDown:connect(function(key)
  10820. if key == "m" and char.Mana.Value> 60 then
  10821. char.Mana.Value = char.Mana.Value-60
  10822. hum.WalkSpeed = 0
  10823. if Debounces.CanAttack == true then
  10824. Debounces.CanAttack = false
  10825. Debounces.on = true
  10826. Debounces.NoIdl = true
  10827. x = Instance.new("Sound",char)
  10828. x.SoundId = "http://www.roblox.com/asset/?id=169445572"
  10829. x.Looped = false
  10830. x.Pitch = 1.1
  10831. x.Volume = 1
  10832. x:Play()
  10833. x2 = Instance.new("Sound",char)
  10834. x2.SoundId = "http://www.roblox.com/asset/?id=169380495"
  10835. x2.Looped = false
  10836. x2.Pitch = .7
  10837. x2.Volume = 1
  10838. wait(.1)
  10839. x:Play()
  10840. x2:Play()
  10841. for i = 1, 20 do
  10842. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
  10843. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
  10844. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2)
  10845. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
  10846. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  10847. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2)
  10848. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4)
  10849. if Debounces.on == false then break end
  10850. wait()
  10851. x:Destroy()
  10852. x2:Destroy()
  10853. end
  10854. wait(1)
  10855. local rng = Instance.new("Part", char)
  10856. rng.Anchored = true
  10857. rng.BrickColor = BrickColor.new("Really black")
  10858. rng.CanCollide = false
  10859. rng.FormFactor = 3
  10860. rng.Name = "Ring"
  10861. rng.Size = Vector3.new(1, 1, 1)
  10862. rng.Transparency = 0.35
  10863. rng.TopSurface = 0
  10864. rng.BottomSurface = 0
  10865. rng.Position = torso.Position - Vector3.new(0,2,0)
  10866. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  10867. local rngm = Instance.new("SpecialMesh", rng)
  10868. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  10869. rngm.Scale = Vector3.new(1, 1, 2)
  10870. x = Instance.new("Sound",char)
  10871. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  10872. x.Looped = false
  10873. x.Pitch = .7
  10874. x.Volume = 1
  10875. x:Play()
  10876. coroutine.wrap(function()
  10877. for i = 1, 60, 2 do
  10878. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  10879. rng.Transparency = i/60
  10880. wait()
  10881. end
  10882. wait()
  10883. rng:Destroy()
  10884. end)()
  10885. hum.WalkSpeed = 50
  10886. BV = Instance.new("BodyVelocity", torso)
  10887. BV.maxForce = Vector3.new(0,200000,0)
  10888. BV.P = 100000
  10889. BV.velocity = Vector3.new(0,800,0)
  10890. for i = 1, 20 do
  10891. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7)
  10892. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  10893. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  10894. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7)
  10895. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  10896. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  10897. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  10898. if Debounces.on == false then break end
  10899. wait()
  10900. end
  10901. x:Destroy()
  10902. BV:Destroy()
  10903. for i = 1, 30 do
  10904. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  10905. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3)
  10906. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  10907. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  10908. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  10909. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  10910. if Debounces.on == false then break end
  10911. wait()
  10912. end
  10913. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  10914. for i = 1, 30 do
  10915. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  10916. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10917. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  10918. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  10919. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  10920. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  10921. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  10922. if Debounces.on == false then break end
  10923. wait()
  10924. end
  10925. end
  10926. Debounces.on = false
  10927. Debounces.NoIdl = false
  10928. local ry,ht,ps=nil,nil,nil
  10929. while ht==nil do
  10930. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  10931. wait()
  10932. end
  10933. z = Instance.new("Sound",char)
  10934. z.SoundId = "rbxassetid://142070127"
  10935. z.Volume = 1
  10936. wait(.1)
  10937. z:Play()
  10938. Landing()
  10939. hum.WalkSpeed = 50
  10940. if Debounces.CanAttack == false then
  10941. Debounces.CanAttack = true
  10942. end
  10943. end
  10944. end
  10945. end)
  10946. ----------------------------------------------------
  10947. Grab = false
  10948. mouse.KeyDown:connect(function(key)
  10949. if key == "z" then
  10950. larm.BrickColor = BrickColor.new("Bright red")
  10951. rarm.BrickColor = BrickColor.new("Bright red")
  10952. Debounces.on = true
  10953. Debounces.NoIdl = true
  10954. if Grab == false then
  10955. gp = nil
  10956. con1=larm.Touched:connect(function(hit) -- this is grab
  10957. ht = hit.Parent
  10958. hum1=ht:FindFirstChild('Humanoid')
  10959. if hum1 ~= nil then
  10960. hum1.PlatformStand=true
  10961. gp = ht
  10962. Grab = true
  10963. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0))
  10964. asd.Parent = larm
  10965. asd.Name = "asd"
  10966. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  10967. elseif hum1 == nil then
  10968. con1:disconnect()
  10969. wait() return
  10970. end
  10971. end)
  10972. for i = 1, 18 do
  10973. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2)
  10974. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.65,.9,-.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  10975. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  10976. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2)
  10977. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  10978. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  10979. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9)
  10980. if Debounces.on == false then break end
  10981. wait()
  10982. end
  10983. con1:disconnect()
  10984. Debounces.on = false
  10985. Debounces.NoIdl = false
  10986. elseif Grab == true then
  10987. Grab = false
  10988. for i = 1, 20 do
  10989. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2)
  10990. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1)
  10991. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  10992. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  10993. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  10994. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  10995. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  10996. if Debounces.on == false then end
  10997. wait()
  10998. end
  10999. if gp ~= nil then
  11000. for i,v in pairs(larm:GetChildren()) do
  11001. if v.Name == "asd" and v:IsA("Weld") then
  11002. v:Remove()
  11003. end
  11004. end
  11005. bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  11006. bv.maxForce = Vector3.new(400000, 400000, 400000)
  11007. bv.P = 125000
  11008. bv.velocity = char.Head.CFrame.lookVector * 200
  11009. for i = 1, 12 do
  11010. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5)
  11011. if Debounces.on == false then end
  11012. wait()
  11013. end
  11014. ht=nil
  11015. Spawn(function()
  11016. wait(0.5)
  11017. bv:Destroy()
  11018. end)
  11019. Debounces.on = false
  11020. Debounces.NoIdl = false
  11021. elseif ht == nil then wait()
  11022. Grab = false
  11023. Debounces.on = false
  11024. Debounces.NoIdl = false
  11025. end
  11026. end
  11027. end
  11028. end)
  11029. ----------------------------------------------------
  11030. mouse.KeyDown:connect(function(key)
  11031. if string.byte(key) == 52 then
  11032. char.Humanoid.WalkSpeed = 21
  11033. end
  11034. end)
  11035. mouse.KeyUp:connect(function(key)
  11036. if string.byte(key) == 52 then
  11037. char.Humanoid.WalkSpeed = 50
  11038. end
  11039. end)
  11040. ----------------------------------------------------
  11041. local animpose = "Idle"
  11042. local lastanimpose = "Idle"
  11043. local sine = 0
  11044. local change = 1
  11045. local val = 0
  11046. local ffing = false
  11047. ----------------------------------------------------
  11048. x = Instance.new("Sound", char)
  11049. x.SoundId = "http://www.roblox.com/asset/?id=187922823"
  11050. x.Looped = true
  11051. x.Volume = 1
  11052. x.Pitch = 1
  11053. local footsteps = false
  11054. -------------------------------
  11055. game:GetService("RunService").RenderStepped:connect(function()
  11056. if char.Humanoid.Jump == true then
  11057. jump = true
  11058. else
  11059. jump = false
  11060. end
  11061. char.Humanoid.FreeFalling:connect(function(f)
  11062. if f then
  11063. ffing = true
  11064. else
  11065. ffing = false
  11066. end
  11067. end)
  11068. sine = sine + change
  11069. if jumpn == true then
  11070. animpose = "Jumping"
  11071. elseif ffing == true then
  11072. animpose = "Freefalling"
  11073. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  11074. animpose = "Idle"
  11075. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  11076. animpose = "Walking"
  11077. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  11078. animpose = "Running"
  11079. end
  11080. if animpose ~= lastanimpose then
  11081. sine = 0
  11082. if Debounces.NoIdl == false then
  11083. if animpose == "Idle" then
  11084. for i = 1, 2 do
  11085. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2)
  11086. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
  11087. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  11088. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  11089. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  11090. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  11091. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  11092. end
  11093. elseif animpose == "Walking" then
  11094. for i = 1, 2 do
  11095. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2)
  11096. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
  11097. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2)
  11098. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
  11099. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  11100. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  11101. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  11102. end
  11103. elseif animpose == "Running" then
  11104. for i = 1, 2 do
  11105. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2)
  11106. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2)
  11107. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  11108. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  11109. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  11110. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  11111. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  11112. end
  11113. wait()
  11114. end
  11115. else
  11116. end
  11117. end
  11118. lastanimpose = animpose
  11119. if Debounces.NoIdl == false then
  11120. if animpose == "Idle" then
  11121. if stanceToggle == "Normal" then
  11122. change = 0.5
  11123. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(0),math.rad(20)), 0.2)
  11124. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2)
  11125. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2)
  11126. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2)
  11127. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  11128. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  11129. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  11130. elseif stanceToggle == "Sitting" then
  11131. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2)
  11132. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2)
  11133. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2)
  11134. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2)
  11135. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2)
  11136. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2)
  11137. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  11138. end
  11139. elseif animpose == "Walking" then
  11140. if stanceToggle == "Normal" then
  11141. change = 1
  11142. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(90+2*math.cos(sine/7)), math.rad(0), math.rad(20)), 0.04)
  11143. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/4, math.rad(1) + -math.sin(sine/14)/2, math.rad(-30)), 0.04)
  11144. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/7)), math.rad(0), math.rad(0)),0.03)
  11145. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/7)), 0, math.rad(0)), 0.04)
  11146. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), 0.04)
  11147. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .04)
  11148. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 0.04)
  11149. end
  11150. elseif animpose == "Running" then
  11151. change = 1
  11152. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10-20*math.cos(sine/4)/2), math.rad(-40+10*math.cos(sine/4)/2), math.rad(50-10*math.cos(sine/4)/2)), 0.2)
  11153. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .5)*CFrame.Angles(math.rad(10+20*math.cos(sine/4)/2), math.rad(40-10*math.cos(sine/4)/2), math.rad(-50+10*math.cos(sine/4)/2)), 0.2)
  11154. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  11155. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  11156. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  11157. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  11158. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  11159. end
  11160. end
  11161. if animpose == "Walking" then
  11162. if footsteps == false then
  11163. x:Play()
  11164. footsteps = true
  11165. end
  11166. x.Pitch = 1.1
  11167. elseif animpose == "Idle" then
  11168. x:Stop()
  11169. footsteps = false
  11170. elseif animpose == "Running" then
  11171. x.Pitch = 1.2
  11172. if footsteps == false then
  11173. x:Play()
  11174. footsteps = true
  11175. end
  11176. end
  11177. end)
  11178. p.Chatted:connect(function(msg)
  11179. if msg == TitanBet.."loadsong" then
  11180. z = Instance.new("Sound", char)
  11181. z.SoundId = "rbxassetid://306826153"--242463565
  11182. z.Name = "Music"
  11183. z.Looped = true
  11184. z.Volume = 1
  11185. z.Pitch = 1
  11186. wait()
  11187. if p.Name == "PointCoded" or "nguyenjimbo" then
  11188. z:Play()
  11189. else
  11190. print("Not Point Coded = no music")
  11191. end
  11192. end
  11193.  
  11194. end)
  11195.  
  11196. p.Chatted:connect(function(msg)
  11197. if msg == TitanBet.."stopsong" then
  11198. char.Music:remove()
  11199. end
  11200.  
  11201. end)
  11202.  
  11203. while true do
  11204. local pe = char:GetChildren()
  11205. pe.Locked = true
  11206. p.PlayerGui.Mana.Mana.Text = "Mana: "..char.Mana.Value
  11207. if char.Mana.Value>4999 then
  11208. char.Mana.Value = 4999
  11209. end
  11210. char.Mana.Value = char.Mana.Value + 1
  11211. local pe = char:GetChildren()
  11212. hum.MaxHealth = 50000
  11213. hum.Health = 50000
  11214. pe.Locked = true
  11215. wait(0.000000000000000000000000001)
  11216. end
  11217. end)
  11218. -- cmd4
  11219. cmd4.Name = "666"
  11220. cmd4.Parent = Main2
  11221. cmd4.Active = true
  11222. cmd4.BackgroundColor3 = Color3.new(0, 100, 255)
  11223. cmd4.BorderSizePixel = 1
  11224. cmd4.BorderColor3 = Color3.new(0, 0, 0)
  11225. cmd4.ZIndex = 7
  11226. cmd4.Size = UDim2.new(0, 200, 0, 100)
  11227. cmd4.Position = UDim2.new(0, 0, 0, 300)
  11228. cmd4.TextColor3 = Color3.new(255, 255, 255)
  11229. cmd4.Text = "666"
  11230. cmd4.FontSize = "Size32"
  11231. -- 666
  11232. cmd4.MouseButton1Click:connect(function()
  11233. local rekt = Instance.new('ColorCorrectionEffect', game.Lighting)
  11234. rekt.TintColor = Color3.new(155, 1, 0)
  11235. rekt.Brightness = 0.2
  11236. rekt.Contrast = 1
  11237. rekt.Saturation = 1
  11238. local topkek = Instance.new('BlurEffect', game.Lighting)
  11239. topkek.Size = 3
  11240. local bloom = Instance.new('BloomEffect', game.Lighting)
  11241. bloom.Intensity = 0.4
  11242. bloom.Size = 56
  11243. bloom.Threshold = 1
  11244.  
  11245. for i,v in next,workspace:children''do
  11246. if(v:IsA'BasePart')then
  11247. me=v;
  11248. bbg=Instance.new('BillboardGui',me);
  11249. bbg.Name='stuf';
  11250. bbg.Adornee=me;
  11251. bbg.Size=UDim2.new(2.5,0,2.5,0)
  11252. tlb=Instance.new'TextLabel';
  11253. tlb.Text='666 666 666 666 666 666';
  11254. tlb.Font='SourceSansBold';
  11255. tlb.FontSize='Size48';
  11256. tlb.TextColor3=Color3.new(1,0,0);
  11257. tlb.Size=UDim2.new(1.25,0,1.25,0);
  11258. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  11259. tlb.BackgroundTransparency=1;
  11260. tlb.Parent=bbg;
  11261. end;end;
  11262. s=Instance.new'Sound';
  11263. s.Parent=workspace;
  11264. s.SoundId='rbxassetid://152840862';
  11265. s.Pitch=1;
  11266. s.Volume=1;
  11267. s.Looped=true;
  11268. s:play();
  11269. --end;end)();
  11270. function xds(dd)
  11271. for i,v in next,dd:children''do
  11272. if(v:IsA'BasePart')then
  11273. v.BrickColor=BrickColor.new'Really black';
  11274. v.TopSurface='Smooth';
  11275. v.BottomSurface='Smooth';
  11276. a=Instance.new('PointLight',v);
  11277. a.Color=Color3.new(1,0,0);
  11278. a.Range=15;
  11279. a.Brightness=5;
  11280. f=Instance.new('Fire',v);
  11281. f.Size=19;
  11282. f.Heat=22;
  11283. end;
  11284. game.Lighting.TimeOfDay=0;
  11285. game.Lighting.Brightness=0;
  11286. game.Lighting.ShadowColor=Color3.new(0,0,0);
  11287. game.Lighting.Ambient=Color3.new(1,0,0);
  11288. game.Lighting.FogEnd=200;
  11289. game.Lighting.FogColor=Color3.new(0,0,0);
  11290. local dec = 'http://www.roblox.com/asset/?id=19399245';
  11291. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  11292. if #(v:GetChildren())>0 then
  11293. xds(v)
  11294. end
  11295. end
  11296. end
  11297. xds(game.Workspace)
  11298. end)
  11299. -- cmd5
  11300. cmd5.Name = "wings"
  11301. cmd5.Parent = Main2
  11302. cmd5.Active = true
  11303. cmd5.BackgroundColor3 = Color3.new(0, 100, 255)
  11304. cmd5.BorderSizePixel = 1
  11305. cmd5.BorderColor3 = Color3.new(0, 0, 0)
  11306. cmd5.ZIndex = 6
  11307. cmd5.Size = UDim2.new(0, 200, 0, 100)
  11308. cmd5.Position = UDim2.new(0, 0, 0, 400)
  11309. cmd5.TextColor3 = Color3.new(255, 255, 255)
  11310. cmd5.Text = "Wings"
  11311. cmd5.FontSize = "Size32"
  11312. -- wings
  11313. cmd5.MouseButton1Click:connect(function()
  11314.  
  11315. function weld(p0,p1,c0,c1,par)
  11316. local w = Instance.new("Weld",p0 or par)
  11317. w.Part0 = p0
  11318. w.Part1 = p1
  11319. w.C0 = c0 or CFrame.new()
  11320. w.C1 = c1 or CFrame.new()
  11321. return w
  11322. end
  11323.  
  11324. local motors = {}
  11325.  
  11326. function motor(p0,p1,c0,c1,des,vel,par)
  11327. local w = Instance.new("Motor6D",p0 or par)
  11328. w.Part0 = p0
  11329. w.Part1 = p1
  11330. w.C0 = c0 or CFrame.new()
  11331. w.C1 = c1 or CFrame.new()
  11332. w.MaxVelocity = tonumber(vel) or .05
  11333. w.DesiredAngle = tonumber(des) or 0
  11334. return w
  11335. end
  11336.  
  11337. function lerp(a,b,c)
  11338. return a+(b-a)*c
  11339. end
  11340.  
  11341. function clerp(c1,c2,al)
  11342. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  11343. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  11344. for i,v in pairs(com1) do
  11345. com1[i] = lerp(v,com2[i],al)
  11346. end
  11347. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  11348. end
  11349.  
  11350. function ccomplerp(c1,c2,al)
  11351. local com1 = {c1:components()}
  11352. local com2 = {c2:components()}
  11353. for i,v in pairs(com1) do
  11354. com1[i] = lerp(v,com2[i],al)
  11355. end
  11356. return CFrame.new(unpack(com1))
  11357. end
  11358.  
  11359. function tickwave(time,length,offset)
  11360. return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length
  11361. end
  11362.  
  11363. function invcol(c)
  11364. c = c.Color
  11365. return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r))
  11366. end
  11367.  
  11368. local oc = oc or function(...) return ... end
  11369. local plr = game.Players.LocalPlayer
  11370. local char = plr.Character
  11371. local tor = char.Torso
  11372. local hum = char.Humanoid
  11373.  
  11374. hum.PlatformStand = false
  11375.  
  11376. pcall(function()
  11377. char.Wings:Destroy()
  11378. end)
  11379. pcall(function()
  11380. char.Angel:Destroy() -- hat
  11381. end)
  11382.  
  11383. local mod = Instance.new("Model",char)
  11384. mod.Name = "Wings"
  11385.  
  11386. local special = {
  11387. --rigletto = {"Really black","Institutional white",0,0,false,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  11388. --rigletto = {"New Yeller",nil,0.4,0.7,true,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  11389. --rigletto = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  11390. --rigletto = {"Royal purple",nil,.4,.4,true},
  11391. --rigletto = {"Black",nil,0,0,false},
  11392.  
  11393. --rigletto = {"White",nil,0,0,false},
  11394. --rigletto = {"Black","Bright red",.5,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  11395. --rigletto = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  11396. rigletto = {"Reddish brown",1030,0,0,false},
  11397. --rigletto = {"Really black","Really black",.2,0,true,Color3.new(0,0,0),Color3.new(0,0,0)},
  11398. --rigletto = {"Brown","Nougat",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  11399. --rigletto = {"Bright red","Really black",0.5,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  11400. --rigletto = {"Bright red","Bright orange",0,0,true,Color3.new(1,150/225,0)},
  11401. --rigletto = {"Dark grey","Dark grey",0,0.6,false,Color3.new(1,150/225,0)},
  11402. --rigletto = {"Light stone grey","White",0.5,0,false,Color3.new(1,150/225,0)},
  11403. }
  11404.  
  11405. local topcolor = BrickColor.new("White")--invcol(char.Torso.BrickColor)
  11406. local feacolor = BrickColor.new("White")--char.Torso.BrickColor
  11407. local part = Instance.new("Part")
  11408. part.FormFactor = "Custom"
  11409. part.Size = Vector3.new(.2,.2,.2)
  11410. part.TopSurface,part.BottomSurface = 0,0
  11411. part.CanCollide = false
  11412. part.BrickColor = topcolor
  11413. --part.Transparency = .7
  11414. --part.Reflectance = .7
  11415. local ef = Instance.new("Fire",part2)
  11416. ef.Size = .15
  11417. ef.Color = Color3.new(0,0,1)
  11418. ef.SecondaryColor = Color3.new()
  11419. part:BreakJoints()
  11420.  
  11421. local a = special[plr.Name:lower()]
  11422. if a then
  11423. part.BrickColor,part.Transparency,part.Reflectance,ef.Parent,ef.Color,ef.SecondaryColor = BrickColor.new(a[1]),a[3],a[4],a[5] and part or nil,a[6] or ef.Color,a[7] or ef.SecondaryColor
  11424. end
  11425. function newpart()
  11426. local clone = part:Clone()
  11427. clone.Parent = mod
  11428. clone:BreakJoints()
  11429. return clone
  11430. end
  11431.  
  11432. local feath = newpart()
  11433. feath.BrickColor = a and (a[2] and BrickColor.new(a[2]) or feath.BrickColor) or feacolor
  11434. feath.Transparency = 0
  11435. Instance.new("SpecialMesh",feath).MeshType = "Sphere"
  11436.  
  11437. function newfeather()
  11438. local clone = feath:Clone()
  11439. clone.Parent = mod
  11440. clone:BreakJoints()
  11441. return clone
  11442. end
  11443.  
  11444.  
  11445.  
  11446. ---------- RIGHT WING
  11447.  
  11448. local r1 = newpart()
  11449. r1.Size = Vector3.new(.3,1.5,.3)*1.2
  11450. local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1)
  11451.  
  11452. local r2 = newpart()
  11453. r2.Size = Vector3.new(.4,1.8,.4)*1.2
  11454. local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1)
  11455.  
  11456. local r3 = newpart()
  11457. r3.Size = Vector3.new(.3,2.2,.3)*1.2
  11458. local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1)
  11459.  
  11460. local r4 = newpart()
  11461. r4.Size = Vector3.new(.25,1.2,.25)*1.2
  11462. local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1)
  11463.  
  11464. local feather = newfeather()
  11465. feather.Mesh.Scale = Vector3.new(1,1,1)
  11466. feather.Size = Vector3.new(.4,3,.3)
  11467. weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  11468.  
  11469. feather = newfeather()
  11470. feather.Mesh.Scale = Vector3.new(1,1,1)
  11471. feather.Size = Vector3.new(.4,2.3,.3)
  11472. weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  11473.  
  11474. feather = newfeather()
  11475. feather.Mesh.Scale = Vector3.new(1,1,1)
  11476. feather.Size = Vector3.new(.35,2.2,.25)
  11477. weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  11478.  
  11479. local rf3 = {}
  11480. for i=0,7 do
  11481. feather = newfeather()
  11482. feather.Mesh.Scale = Vector3.new(1,1,1)
  11483. feather.Size = Vector3.new(.45,2.2,.35)
  11484. table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  11485. end
  11486.  
  11487. local rf2 = {}
  11488. for i=0,6 do
  11489. feather = newfeather()
  11490. feather.Mesh.Scale = Vector3.new(1,1,1)
  11491. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  11492. table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  11493. end
  11494.  
  11495. local rf1 = {}
  11496. for i=0,6 do
  11497. feather = newfeather()
  11498. feather.Mesh.Scale = Vector3.new(1,1,1)
  11499. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  11500. table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  11501. end
  11502.  
  11503. ---------- LEFT WING
  11504.  
  11505. local l1 = newpart()
  11506. l1.Size = Vector3.new(.3,1.5,.3)*1.2
  11507. local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1)
  11508.  
  11509. local l2 = newpart()
  11510. l2.Size = Vector3.new(.4,1.8,.4)*1.2
  11511. local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1)
  11512.  
  11513. local l3 = newpart()
  11514. l3.Size = Vector3.new(.3,2.2,.3)*1.2
  11515. local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1)
  11516.  
  11517. local l4 = newpart()
  11518. l4.Size = Vector3.new(.25,1.2,.25)*1.2
  11519. local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1)
  11520.  
  11521. local feather = newfeather()
  11522. feather.Mesh.Scale = Vector3.new(1,1,1)
  11523. feather.Size = Vector3.new(.4,3,.3)
  11524. weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  11525.  
  11526. feather = newfeather()
  11527. feather.Mesh.Scale = Vector3.new(1,1,1)
  11528. feather.Size = Vector3.new(.4,2.3,.3)
  11529. weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  11530.  
  11531. feather = newfeather()
  11532. feather.Mesh.Scale = Vector3.new(1,1,1)
  11533. feather.Size = Vector3.new(.35,2.2,.25)
  11534. weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  11535.  
  11536. local lf3 = {}
  11537. for i=0,7 do
  11538. feather = newfeather()
  11539. feather.Mesh.Scale = Vector3.new(1,1,1)
  11540. feather.Size = Vector3.new(.45,2.2,.35)
  11541. table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  11542. end
  11543.  
  11544. local lf2 = {}
  11545. for i=0,6 do
  11546. feather = newfeather()
  11547. feather.Mesh.Scale = Vector3.new(1,1,1)
  11548. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  11549. table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  11550. end
  11551.  
  11552. local lf1 = {}
  11553. for i=0,6 do
  11554. feather = newfeather()
  11555. feather.Mesh.Scale = Vector3.new(1,1,1)
  11556. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  11557. table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  11558. end
  11559.  
  11560. local rwing = {rm1,rm2,rm3,rm4}
  11561. local lwing = {lm1,lm2,lm3,lm4}
  11562.  
  11563. local oc0 = {}
  11564. for i,v in pairs(rwing) do
  11565. oc0[v] = v.C0
  11566. end
  11567. for i,v in pairs(lwing) do
  11568. oc0[v] = v.C0
  11569. end
  11570.  
  11571. function gotResized()
  11572. if lastsize then
  11573. if tor.Size == lastsize then return end -- This shouldn't happen?
  11574. local scaleVec = tor.Size/lastsize
  11575. for i,v in pairs(oc0) do
  11576. oc0[i] = v-v.p+scaleVec*v.p
  11577. end
  11578. lastsize = tor.Size
  11579. end
  11580. lastsize = tor.Size
  11581. end
  11582.  
  11583. tor.Changed:connect(function(p)
  11584. if p == "Size" then
  11585. gotResized()
  11586. end
  11587. end)
  11588.  
  11589. gotResized()
  11590.  
  11591. local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;}--0,.3,0,0
  11592.  
  11593. local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  11594. local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  11595.  
  11596. local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0}
  11597.  
  11598. local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
  11599.  
  11600. local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0}
  11601.  
  11602.  
  11603. function setwings(tab,time)
  11604. time = time or 10
  11605.  
  11606. for i=1,4 do
  11607. rwing[i].DesiredAngle = tab[i]
  11608. lwing[i].DesiredAngle = tab[i]
  11609. rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time
  11610. lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time
  11611. local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new())
  11612. local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new())
  11613. end
  11614.  
  11615. for i,v in pairs(rf1) do
  11616. v.DesiredAngle = tab[9]
  11617. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  11618. end
  11619. for i,v in pairs(lf1) do
  11620. v.DesiredAngle = tab[9]
  11621. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  11622. end
  11623. for i,v in pairs(rf2) do
  11624. v.DesiredAngle = tab[10]
  11625. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  11626. end
  11627. for i,v in pairs(lf2) do
  11628. v.DesiredAngle = tab[10]
  11629. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  11630. end
  11631. for i,v in pairs(rf3) do
  11632. v.DesiredAngle = tab[11]
  11633. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  11634. end
  11635. for i,v in pairs(lf3) do
  11636. v.DesiredAngle = tab[11]
  11637. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  11638. end
  11639. end
  11640. setwings(outhigh,1)
  11641.  
  11642. flying = false
  11643. moving = false
  11644.  
  11645. for i,v in pairs(tor:GetChildren()) do
  11646. if v.ClassName:lower():match("body") then
  11647. v:Destroy()
  11648. end
  11649. end
  11650.  
  11651. local ctor = tor:Clone()
  11652. ctor:ClearAllChildren()
  11653. ctor.Name = "cTorso"
  11654. ctor.Transparency = 1
  11655. ctor.CanCollide = false
  11656. ctor.FormFactor = "Custom"
  11657. ctor.Size = Vector3.new(.2,.2,.2)
  11658. ctor.Parent = mod
  11659. weld(tor,ctor)
  11660. local bg = Instance.new("BodyGyro",ctor)
  11661. bg.maxTorque = Vector3.new()
  11662. bg.P = 15000
  11663. bg.D = 1000
  11664.  
  11665. local bv = Instance.new("BodyVelocity",ctor)
  11666. bv.maxForce = Vector3.new()
  11667. bv.P = 15000
  11668.  
  11669. vel = Vector3.new()
  11670. cf = CFrame.new()
  11671. flspd = 0
  11672.  
  11673.  
  11674. keysdown = {}
  11675. keypressed = {}
  11676. ktime = {}
  11677. descendtimer = 0
  11678.  
  11679. jumptime = tick()
  11680. hum.Jumping:connect(function()
  11681. jumptime = tick()
  11682. end)
  11683.  
  11684. cam = workspace.CurrentCamera
  11685.  
  11686. kd = plr:GetMouse().KeyDown:connect(oc(function(key)
  11687. keysdown[key] = true
  11688. keypressed[key] = true
  11689. if key == "2" then
  11690. descendtimer = tick()
  11691. elseif key == " " and not hum.Jump then
  11692. jumptime = tick()
  11693. elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .1 then
  11694. reqrotx = key == "a" and math.pi*2 or -math.pi*2
  11695. print(reqrotx)
  11696. end
  11697. ktime[key] = tick()
  11698. end))
  11699.  
  11700. ku = plr:GetMouse().KeyUp:connect(function(key)
  11701. keysdown[key] = false
  11702. if key == " " then
  11703. descendtimer = tick()
  11704. end
  11705. end)
  11706.  
  11707. function mid(a,b,c)
  11708. return math.max(a,math.min(b,c or -a))
  11709. end
  11710. function bn(a)
  11711. return a and 1 or 0
  11712. end
  11713. function gm(tar)
  11714. local m = 0
  11715. for i,v in pairs(tar:GetChildren()) do
  11716. if v:IsA("BasePart") then
  11717. m = m + v:GetMass()
  11718. end
  11719. m = m + gm(v)
  11720. end
  11721. return m
  11722. end
  11723. reqrotx = 0
  11724. local con
  11725. con = game:GetService("RunService").Stepped:connect(oc(function()
  11726. if not mod:IsDescendantOf(workspace) then
  11727. pcall(function() kd:disconnect() end)
  11728. pcall(function() ku:disconnect() end)
  11729. bg:Destroy()
  11730. bv:Destroy()
  11731. con:disconnect()
  11732. script:Destroy()
  11733. return
  11734. end
  11735.  
  11736. local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity)
  11737. local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z
  11738. if flying then
  11739. local lfldir = fldir
  11740. fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit
  11741. local lmoving = moving
  11742. moving = fldir.magnitude > .1
  11743. if lmoving and not moving then
  11744. idledir = lfldir*Vector3.new(1,0,1)
  11745. descendtimer = tick()
  11746. end
  11747. local dbomb = fldir.Y < -.6 or (moving and keysdown["0"])
  11748. if moving and keysdown["0"] and lmoving then
  11749. fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit
  11750. end
  11751. local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0))
  11752. local descending = (not moving and keysdown["2"] and not keysdown[" "])
  11753. cf = ccomplerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07)
  11754. local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05
  11755. hum.PlatformStand = true
  11756. bg.maxTorque = Vector3.new(1,1,1)*9e5
  11757. local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector
  11758. bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0)
  11759. reqrotx = reqrotx - reqrotx/10
  11760. bv.maxForce = Vector3.new(1,1,1)*9e4*.5
  11761. local anioff =(bn(keysdown[" "])-bn(keysdown["2"]))/2
  11762. local ani = tickwave(1.5-anioff,1)
  11763. bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["2"]))*15,0)+vel,.6)
  11764. vel = moving and cf.lookVector*flspd or Vector3.new()
  11765. flspd = math.min(140,lerp(flspd,moving and (fldir.Y<0 and flspd-fldir.Y*2 or math.max(60,flspd-fldir.Y)) or 60,.4))
  11766. setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15)
  11767. for i=1,4 do
  11768. --CFrame.Angles(-.5+bn(i==3)*2.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1)
  11769. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2)
  11770. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2)
  11771. end
  11772. local hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),{char})
  11773. if hit and down.Y < -.85 and tick()-flystart > 1 then
  11774. flying = false
  11775. hum.PlatformStand = false
  11776. tor.Velocity = Vector3.new()
  11777. end
  11778. else
  11779. bg.maxTorque = Vector3.new()
  11780. bv.maxForce = Vector3.new()
  11781. local ani = tickwave(walking and .8 or 4.5,1)
  11782. setwings(idle,10)
  11783. local x,y,z = fspd/160,uspd/700,sspd/900
  11784. for i=1,4 do
  11785. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)),.2)
  11786. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)),.2)
  11787. end
  11788.  
  11789. if keypressed[" "] and not flying and (tick()-jumptime > .05 and (tick()-jumptime < 3 or hum.Jump)) then
  11790. vel = Vector3.new(0,50,0)
  11791. bv.velocity = vel
  11792. idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1)
  11793. cf = tor.CFrame * CFrame.Angles(-.01,0,0)
  11794. tor.CFrame = cf
  11795. bg.cframe = cf
  11796. flystart = tick()
  11797. flying = true
  11798. end
  11799. end
  11800. keypressed = {}
  11801. end))
  11802.  
  11803. -- FUCK U LOL
  11804. end)
  11805. credits.Name = "credits"
  11806. credits.Parent = Main2
  11807. credits.Active = true
  11808. credits.BackgroundColor3 = Color3.new(0, 100, 255)
  11809. credits.BorderSizePixel = 0
  11810. credits.BorderColor3 = Color3.new(0, 0, 0)
  11811. credits.ZIndex = 1
  11812. credits.Size = UDim2.new(0, 200, 0, 100)
  11813. credits.Position = UDim2.new(0, 0, 0, 500)
  11814. credits.TextColor3 = Color3.new(255, 255, 255)
  11815. credits.Text = "Leaked By Team N3x"
  11816. credits.FontSize = "Size14"
  11817. end)
Add Comment
Please, Sign In to add comment