Facebook
From Smelly Kangaroo, 2 Years ago, written in HTML5.
This paste is a reply to Untitled from Soft Lemur - view diff
Embed
Download Paste or View Raw
Hits: 362
  1. blak = Color3.new(0,0,0)
  2. rede = Color3.new(255/255,0/255,0/255)
  3. tef = "SourceSans"
  4. whit = Color3.new(255/255,255/255,255/255)
  5. local cka = Instance.new("ScreenGui", game.CoreGui)
  6. cka.Name= "CoolGui"
  7. local frame = Instance.new("Frame")
  8.         frame.Parent = cka
  9.         frame.BackgroundColor3 = blak
  10.         frame.BorderColor3 = rede
  11.         frame.BorderSizePixel = 3
  12.         frame.Name = "Frame"
  13.         frame.Position = UDim2.new(0,3,0.3,0)
  14.         frame.Size = UDim2.new(0,300,0,400)
  15. local pges = Instance.new("Frame")
  16.         pges.Parent = frame
  17.         pges.BackgroundColor3 = blak
  18.         pges.BorderColor3 = rede
  19.         pges.BorderSizePixel = 3
  20.         pges.Name = "Pages"
  21.         pges.Position = UDim2.new(0,0,0,0)
  22.         pges.Size = UDim2.new(1,0,1,0)
  23. local cope = Instance.new("TextButton")
  24.         cope.Parent = cka
  25.         cope.Active = true
  26.         cope.AutoButtonColor = true
  27.         cope.BackgroundColor3 = blak
  28.         cope.BorderColor3 = rede
  29.         cope.BorderSizePixel = 3
  30.         cope.Name = "Close/Open"
  31.         cope.Position = UDim2.new(0,3,0.3,380)
  32.         cope.Selectable = true
  33.         cope.Size = UDim2.new(0,300,0,20)
  34.         cope.ZIndex = 3
  35.         cope.Font = "SourceSans"
  36.         cope.FontSize = "Size18"
  37.         cope.Text = "Close"
  38.         cope.TextColor3 = Color3.new(255,255,255)
  39.         cope.TextXAlignment = "Center"
  40.         cope.TextYAlignment = "Center"
  41.         cope.MouseButton1Down:connect(function()
  42.                 if cope.Text == "Close" then
  43.                 frame.Visible = false
  44.                 cope.Text = "Open" else
  45.                 frame.Visible = true
  46.                 cope.Text = "Close"    
  47.                 end    
  48.         end)
  49. local page1 = Instance.new("Frame")
  50.         page1.Parent = pges    
  51.         page1.BackgroundColor3 = blak
  52.         page1.BorderColor3 = rede
  53.         page1.BorderSizePixel = 3
  54.         page1.Name = "Page1"
  55.         page1.Position = UDim2.new(0,0,0,83)
  56.         page1.Size = UDim2.new(1,0,1,-106)
  57.         page1.ZIndex = 2
  58.         page1.Visible = true
  59. local page2 = Instance.new("Frame")
  60.         page2.Parent = pges
  61.         page2.BackgroundColor3 = blak
  62.         page2.BorderColor3 = rede
  63.         page2.BorderSizePixel = 3
  64.         page2.Name = "Page2"
  65.         page2.Position = UDim2.new(0,0,0,83)
  66.         page2.Size = UDim2.new(1,0,1,-106)
  67.         page2.ZIndex = 2
  68.         page2.Visible = false
  69. local page3 = Instance.new("Frame")
  70.         page3.Parent = pges
  71.         page3.BackgroundColor3 = blak
  72.         page3.BorderColor3 = rede
  73.         page3.BorderSizePixel = 3
  74.         page3.Name = "Page3"
  75.         page3.Position = UDim2.new(0,0,0,83)
  76.         page3.Size = UDim2.new(1,0,1,-106)
  77.         page3.ZIndex = 2
  78.         page3.Visible = false
  79. local page4 = Instance.new("Frame")
  80.         page4.Parent = pges
  81.         page4.BackgroundColor3 = blak
  82.         page4.BorderColor3 = rede
  83.         page4.BorderSizePixel = 3
  84.         page4.Name = "Page4"
  85.         page4.Position = UDim2.new(0,0,0,83)
  86.         page4.Size = UDim2.new(1,0,1,-106)
  87.         page4.ZIndex = 2
  88.         page4.Visible = false
  89. local page5 = Instance.new("Frame")
  90.         page5.Parent = pges
  91.         page5.BackgroundColor3 = blak
  92.         page5.BorderColor3 = rede
  93.         page5.BorderSizePixel = 3
  94.         page5.Name = "Page5"
  95.         page5.Position = UDim2.new(0,0,0,83)
  96.         page5.Size = UDim2.new(1,0,1,-106)
  97.         page5.ZIndex = 2
  98.         page5.Visible = false
  99. page = Instance.new("Frame")
  100.         page.Parent = frame
  101.         page.BackgroundColor3 = blak
  102.         page.BorderColor3 = rede
  103.         page.BorderSizePixel = 3
  104.         page.Name = "Settings"
  105.         page.Position = UDim2.new(1,3,0,0)
  106.         page.Size = UDim2.new(1,0,1,0)
  107.         page.ZIndex = 1
  108.         page.Visible = true
  109. right = Instance.new("TextButton")
  110.         right.Parent = frame   
  111.         right.BackgroundColor3 = blak
  112.         right.BorderColor3 = rede
  113.         right.BorderSizePixel = 3
  114.         right.Name = ">"
  115.         right.Position = UDim2.new(0.5,3,0,40)
  116.         right.Size = UDim2.new(0.5,-3,0,40)
  117.         right.ZIndex = 2
  118.         right.Font = tef
  119.         right.FontSize = "Size48"
  120.         right.Text = ">"
  121.         right.TextColor3 = whit
  122. addonr = Instance.new("TextButton")
  123.         addonr.Parent = page5  
  124.         addonr.BackgroundColor3 = blak
  125.         addonr.BorderColor3 = rede
  126.         addonr.BorderSizePixel = 3
  127.         addonr.Name = "addonr"
  128.         addonr.Position = UDim2.new(0,153,0,-40)
  129.         addonr.Size = UDim2.new(0.49,0,0.125,0)
  130.         addonr.Font = tef
  131.         addonr.FontSize = "Size48"
  132.         addonr.Text = ">"
  133.         addonr.TextColor3 = whit
  134.         addonr.ZIndex = 3
  135. left = Instance.new("TextButton")
  136.         left.Parent = frame    
  137.         left.BackgroundColor3 = blak
  138.         left.BorderColor3 = rede
  139.         left.BorderSizePixel = 3
  140.         left.Name = "<"
  141.         left.Position = UDim2.new(0,0,0,40)
  142.         left.Size = UDim2.new(0.5,-3,0,40)
  143.         left.ZIndex = 2
  144.         left.Font = tef
  145.         left.FontSize = "Size48"
  146.         left.Text = "<"
  147.         left.TextColor3 = whit
  148. addonl = Instance.new("TextButton")
  149.         addonl.Parent = page1  
  150.         addonl.BackgroundColor3 = blak
  151.         addonl.BorderColor3 = rede
  152.         addonl.BorderSizePixel = 3
  153.         addonl.Name = "addonl"
  154.         addonl.Position = UDim2.new(0,0,0,-40)
  155.         addonl.Size = UDim2.new(0.49,0,0.125,0)
  156.         addonl.Font = tef
  157.         addonl.FontSize = "Size48"
  158.         addonl.Text = "<"
  159.         addonl.TextColor3 = whit
  160.         addonl.ZIndex = 3
  161. local title = Instance.new("TextLabel")
  162.         title.Parent = frame
  163.         title.BackgroundColor3 = blak
  164.         title.BorderColor3 = rede
  165.         title.BorderSizePixel = 3
  166.         title.Name = "Title"
  167.         title.Position = UDim2.new(0,0,0,0)
  168.         title.Size = UDim2.new(1,0,0,40)
  169.         title.ZIndex = 2
  170.         title.Font = tef
  171.         title.FontSize = "Size24"
  172.         title.Text = "c00lgui Reborn Rc7 by v3rx"
  173.         title.TextColor3 = whit
  174. --           inside pages        --
  175. local acg = Instance.new("Frame")
  176.         acg.Parent = page1
  177.         acg.BackgroundColor3 = blak
  178.         acg.BorderColor3 = rede
  179.         acg.BorderSizePixel = 3
  180.         acg.Name = "Admin Commands/Guis"
  181.         acg.Position = UDim2.new(0.5,3,0,0)
  182.         acg.Size = UDim2.new(0.5,-3,1,0)
  183.         acg.ZIndex = 2
  184. local sd = Instance.new("Frame")
  185.         sd.Parent = page1
  186.         sd.BackgroundColor3 = blak
  187.         sd.BorderColor3 = rede
  188.         sd.BorderSizePixel = 3
  189.         sd.Name = "Server Destruction"
  190.         sd.Position = UDim2.new(0,0,0,0)
  191.         sd.Size = UDim2.new(0.5,-3,1,0)
  192.         sd.ZIndex = 2
  193. local gt = Instance.new("Frame")
  194.         gt.Parent = page2
  195.         gt.BackgroundColor3 = blak
  196.         gt.BorderColor3 = rede
  197.         gt.BorderSizePixel = 3
  198.         gt.Name = "Gear/Tools"
  199.         gt.Position = UDim2.new(0.5,3,0,0)
  200.         gt.Size = UDim2.new(0.5,-3,1,0)
  201.         gt.ZIndex = 2
  202. local ws = Instance.new("Frame")
  203.         ws.Parent = page2
  204.         ws.BackgroundColor3 = blak
  205.         ws.BorderColor3 = rede
  206.         ws.BorderSizePixel = 3
  207.         ws.Name = "Weapon Scripts"
  208.         ws.Position = UDim2.new(0,0,0,0)
  209.         ws.Size = UDim2.new(0.5,-3,1,0)
  210.         ws.ZIndex = 2
  211. local localp = Instance.new("Frame")
  212.         localp.Parent = page3
  213.         localp.BackgroundColor3 = blak
  214.         localp.BorderColor3 = rede
  215.         localp.BorderSizePixel = 3
  216.         localp.Name = "LocalPlayer"
  217.         localp.Position = UDim2.new(0.5,3,0,0)
  218.         localp.Size = UDim2.new(0.5,-3,1,0)
  219.         localp.ZIndex = 2
  220. local misc = Instance.new("Frame")
  221.         misc.Parent = page3
  222.         misc.BackgroundColor3 = blak
  223.         misc.BorderColor3 = rede
  224.         misc.BorderSizePixel = 3
  225.         misc.Name = "Misc"
  226.         misc.Position = UDim2.new(0,0,0,0)
  227.         misc.Size = UDim2.new(0.5,-3,1,0)
  228.         misc.ZIndex = 2
  229. pmi = Instance.new("Frame")
  230.         pmi.Parent = page4
  231.         pmi.BackgroundColor3 = blak
  232.         pmi.BorderColor3 = rede
  233.         pmi.BorderSizePixel = 3
  234.         pmi.Name = "Preset Music IDs"
  235.         pmi.Position = UDim2.new(0.5,3,0,0)
  236.         pmi.Size = UDim2.new(0.5,-3,1,0)
  237.         pmi.ZIndex = 2
  238. local psd = Instance.new("Frame")
  239.         psd.Parent = page4
  240.         psd.BackgroundColor3 = blak
  241.         psd.BorderColor3 = rede
  242.         psd.BorderSizePixel = 3
  243.         psd.Name = "Preset Skybox/Decal IDs"
  244.         psd.Position = UDim2.new(0,0,0,0)
  245.         psd.Size = UDim2.new(0.5,-3,1,0)
  246.         psd.ZIndex = 2
  247. local edn = Instance.new("Frame")
  248.         edn.Parent = page5
  249.         edn.BackgroundColor3 = blak
  250.         edn.BorderColor3 = rede
  251.         edn.BorderSizePixel = 3
  252.         edn.Name = "End"
  253.         edn.Position = UDim2.new(0.5,3,0,0)
  254.         edn.Size = UDim2.new(0.5,-3,1,0)
  255.         edn.ZIndex = 2
  256. local pgi = Instance.new("Frame")
  257.         pgi.Parent = page5
  258.         pgi.BackgroundColor3 = blak
  259.         pgi.BorderColor3 = rede
  260.         pgi.BorderSizePixel = 3
  261.         pgi.Name = "Preset Gear IDs"
  262.         pgi.Position = UDim2.new(0,0,0,0)
  263.         pgi.Size = UDim2.new(0.5,-3,1,0)
  264.         pgi.ZIndex = 2
  265. --      inside pages end        --
  266. -- Admin Commands/Guis --
  267. local button = Instance.new("TextButton")
  268.         button.Parent = acg
  269.         button.BackgroundColor3 = blak
  270.         button.BorderColor3 = rede
  271.         button.BorderSizePixel = 3
  272.         button.Name = "iOrb"
  273.         button.Position = UDim2.new(0,0,0,33)
  274.         button.Size = UDim2.new(0.5,0,0,30)
  275.         button.ZIndex = 2
  276.         button.Font = tef
  277.         button.FontSize = "Size14"
  278.         button.Text = "i0rb"
  279.         button.TextColor3 = whit
  280.         button.MouseButton1Down:connect(function()
  281.                
  282.    
  283. --[[
  284. --Commands--
  285. !NOTE! -- PLEASE GO TO LINE 47 AND REPLACE MY NAME WITH YOUR NAME! -- !NOTE!
  286. % = The prefix you have set    
  287. %console show
  288. %console hide
  289. %muslist
  290. %cmds
  291. %kill plr, me, all
  292. %kick plr, me, all
  293. %ban plr, me, all
  294. %explode plr, me, all
  295. %exe <command>
  296. %console show
  297. %console hide
  298. %ff <plr>
  299. %unff <plr>
  300. %respawn <plr>
  301. %lag <plr>
  302. %removetools <plr>
  303. %music <id> or from musiclist (%muslist)
  304. %pri
  305. %god plr
  306. %ungod plr
  307. --]]
  308.  
  309.  
  310.  
  311. local Admins = game.Players.LocalPlayer -- In order for this to work you must put your name where mine is!
  312. local Speed = "0.05" -- Set the speed of the orb's rotation. This is recommended.
  313. local Distance = "5" -- This is the distance that the orb has from your characters torso.
  314. local Prefix = ":"
  315. local Players = Game:GetService('Players')
  316. local Banned = {} -- Leave this be!
  317.  
  318. wait()
  319. local folder = Instance.new("Model", game.Lighting)
  320. folder.Name = "sbans"
  321. game:GetService('RunService').Stepped:connect(function()
  322. for i,x in pairs(folder:children()) do
  323. for i,v in pairs(game.Players:children()) do if v.Name==x.Value then
  324. bannnedd1=Instance.new('RemoteEvent',workspace):FireClient(game.Players[x.Value],{string.rep("Getbannedbro?",2e5+5)})
  325. end
  326. end
  327. end
  328. end)
  329.  
  330. game.Players.PlayerAdded:connect(function(player)
  331. Game:GetService('Chat'):Chat(p, player.Name .. " has joined! AccountAge = " .. player.AccountAge .. " | UserID = " .. player.UserId .. " |..!", Enum.ChatColor.Red)
  332. end)
  333.  
  334. game.Players.ChildRemoved:connect(function(player2)
  335. Game:GetService('Chat'):Chat(p, player2.Name .. " has left! AccountAge = " .. player2.AccountAge .. " | UserID = " .. player2.UserId .. " |..!", Enum.ChatColor.Red)
  336. end)
  337.  
  338. Admins.Chatted:connect(function(msg)
  339. if msg:lower() == Prefix .. "muslist" then
  340. sg2 = Instance.new("ScreenGui", Admins.PlayerGui)
  341. fm2 = Instance.new("Frame", sg2)
  342. fm2.Position = UDim2.new(0.42,0,0.3,0)
  343. fm2.Size = UDim2.new(0,300,0,400)
  344. fm2.BackgroundColor3 = Color3.new(0,0,0)
  345. fm2.BackgroundTransparency = 0.5
  346. fm2.BorderSizePixel = 0
  347. s1 = Instance.new("TextButton", fm2)
  348. s1.Size = UDim2.new(0,300,0,25)
  349. s1.TextColor3 = Color3.new(255,255,255)
  350. s1.FontSize = 2
  351. s1.Text = "Cake"
  352. s1.BackgroundTransparency = 1
  353. s2 = Instance.new("TextButton", fm2)
  354. s2.Size = UDim2.new(0,300,0,25)
  355. s2.Position = UDim2.new(0,0,0,25)
  356. s2.TextColor3 = Color3.new(255,255,255)
  357. s2.FontSize = 2
  358. s2.Text = "Watcha"
  359. s2.BackgroundTransparency = 1
  360. s3 = Instance.new("TextButton", fm2)
  361. s3.Size = UDim2.new(0,300,0,25)
  362. s3.Position = UDim2.new(0,0,0,50)
  363. s3.TextColor3 = Color3.new(255,255,255)
  364. s3.FontSize = 2
  365. s3.Text = "Moonman"
  366. s3.BackgroundTransparency = 1
  367. s4 = Instance.new("TextButton", fm2)
  368. s4.Size = UDim2.new(0,300,0,25)
  369. s4.Position = UDim2.new(0,0,0,75)
  370. s4.TextColor3 = Color3.new(255,255,255)
  371. s4.FontSize = 2
  372. s4.Text = "Hello"
  373. s4.BackgroundTransparency = 1
  374. s5 = Instance.new("TextButton", fm2)
  375. s5.Size = UDim2.new(0,300,0,25)
  376. s5.Position = UDim2.new(0,0,0,100)
  377. s5.TextColor3 = Color3.new(255,255,255)
  378. s5.FontSize = 2
  379. s5.Text = "Lean"
  380. s5.BackgroundTransparency = 1
  381. s6 = Instance.new("TextButton", fm2)
  382. s6.Size = UDim2.new(0,300,0,25)
  383. s6.Position = UDim2.new(0,0,0,125)
  384. s6.TextColor3 = Color3.new(255,255,255)
  385. s6.FontSize = 2
  386. s6.Text = "Waves"
  387. s6.BackgroundTransparency = 1
  388. s7 = Instance.new("TextButton", fm2)
  389. s7.Size = UDim2.new(0,300,0,25)
  390. s7.Position = UDim2.new(0,0,0,150)
  391. s7.TextColor3 = Color3.new(255,255,255)
  392. s7.FontSize = 2
  393. s7.Text = "Baby"
  394. s7.BackgroundTransparency = 1
  395. close2 = Instance.new("TextButton", fm2)
  396. close2.Size = UDim2.new(0,15,0,15)
  397. close2.Position = UDim2.new(0,285,0,0)
  398. close2.BackgroundTransparency = 1
  399. close2.TextColor3 = Color3.new(255,255,255)
  400. close2.Text = "X"
  401. close2.MouseButton1Click:connect(function()
  402. fm2:Destroy()
  403. sg2:Destroy()
  404. end)
  405. end
  406. end)
  407. Admins.Chatted:connect(function(msg)
  408. if msg:lower() == Prefix .. "cmds" then
  409. local screenGui = Instance.new("ScreenGui")
  410. screenGui.Parent = Admins.PlayerGui
  411.  
  412. local scrollingFrame = Instance.new("ScrollingFrame")
  413. scrollingFrame.Parent = screenGui
  414. scrollingFrame.Position = UDim2.new(0.2, 0, 0.1, 0)
  415. scrollingFrame.Size = UDim2.new(0, 500, 0, 400)
  416. scrollingFrame.CanvasSize = UDim2.new(0, 500, 2, 0)
  417. scrollingFrame.BackgroundColor3 = Color3.new(0,0,0)
  418. scrollingFrame.BorderSizePixel = 2
  419. scrollingFrame.BorderColor3 = Color3.new(170,0,0)
  420.  
  421. local closecmds = Instance.new("TextButton")
  422. closecmds.Parent = screenGui
  423. closecmds.Size = UDim2.new(0,50,0,50)
  424. closecmds.Position = UDim2.new(0.2, 0, 0.02, 0)
  425. closecmds.BackgroundColor3 = Color3.new(0,0,0)
  426. closecmds.Text = "X"
  427. closecmds.TextColor3 = Color3.new(170,0,0)
  428. closecmds.FontSize = 3
  429. closecmds.BorderSizePixel = 2
  430. closecmds.BorderColor3 = Color3.new(170,0,0)
  431. closecmds.MouseButton1Click:connect(function()
  432. screenGui:Destroy()
  433. end)
  434. local cmd1 = Instance.new("TextLabel")
  435. cmd1.Parent = scrollingFrame
  436. cmd1.Position = UDim2.new(0, 0, 0, 0)
  437. cmd1.Size = UDim2.new(0, 500, 0, 25)
  438. cmd1.BackgroundColor3= Color3.new(0,0,0)
  439. cmd1.TextColor3 = Color3.new(170,0,0)
  440. cmd1.FontSize = 5
  441. cmd1.Text = Prefix .. "kill <plr>"
  442. cmd1.ZIndex = 0
  443.  
  444. local cmd2 = Instance.new("TextLabel")
  445. cmd2.Parent = scrollingFrame
  446. cmd2.Position = UDim2.new(0, 0, 0, 25)
  447. cmd2.Size = UDim2.new(0, 500, 0, 25)
  448. cmd2.BackgroundColor3= Color3.new(0,0,0)
  449. cmd2.TextColor3 = Color3.new(170,0,0)
  450. cmd2.FontSize = 5
  451. cmd2.Text = Prefix .. "kick <plr>"
  452. cmd2.ZIndex = 0
  453.  
  454. local cmd3 = Instance.new("TextLabel")
  455. cmd3.Parent = scrollingFrame
  456. cmd3.Position = UDim2.new(0, 0, 0, 50)
  457. cmd3.Size = UDim2.new(0, 500, 0, 25)
  458. cmd3.BackgroundColor3= Color3.new(0,0,0)
  459. cmd3.TextColor3 = Color3.new(170,0,0)
  460. cmd3.FontSize = 5
  461. cmd3.Text = Prefix .. "ban <plr>"
  462. cmd3.ZIndex = 0
  463.  
  464. local cmd4 = Instance.new("TextLabel")
  465. cmd4.Parent = scrollingFrame
  466. cmd4.Position = UDim2.new(0, 0, 0, 75)
  467. cmd4.Size = UDim2.new(0, 500, 0, 25)
  468. cmd4.BackgroundColor3= Color3.new(0,0,0)
  469. cmd4.TextColor3 = Color3.new(170,0,0)
  470. cmd4.FontSize = 5
  471. cmd4.Text = Prefix .. "explode <plr>"
  472. cmd4.ZIndex = 0
  473.  
  474. local cmd5 = Instance.new("TextLabel")
  475. cmd5.Parent = scrollingFrame
  476. cmd5.Position = UDim2.new(0, 0, 0, 100)
  477. cmd5.Size = UDim2.new(0, 500, 0, 25)
  478. cmd5.BackgroundColor3= Color3.new(0,0,0)
  479. cmd5.TextColor3 = Color3.new(170,0,0)
  480. cmd5.FontSize = 5
  481. cmd5.Text = Prefix .. "exe <script>"
  482. cmd5.ZIndex = 0
  483.  
  484. local cmd6 = Instance.new("TextLabel")
  485. cmd6.Parent = scrollingFrame
  486. cmd6.Position = UDim2.new(0, 0, 0, 100)
  487. cmd6.Size = UDim2.new(0, 500, 0, 25)
  488. cmd6.BackgroundColor3= Color3.new(0,0,0)
  489. cmd6.TextColor3 = Color3.new(170,0,0)
  490. cmd6.FontSize = 5
  491. cmd6.Text = Prefix .. "console show"
  492. cmd6.ZIndex = 0
  493.  
  494. local cmd7 = Instance.new("TextLabel")
  495. cmd7.Parent = scrollingFrame
  496. cmd7.Position = UDim2.new(0, 0, 0, 100)
  497. cmd7.Size = UDim2.new(0, 500, 0, 25)
  498. cmd7.BackgroundColor3= Color3.new(0,0,0)
  499. cmd7.TextColor3 = Color3.new(170,0,0)
  500. cmd7.FontSize = 5
  501. cmd7.Text = Prefix .. "console hide"
  502. cmd7.ZIndex = 0
  503.  
  504. local cmd8 = Instance.new("TextLabel")
  505. cmd8.Parent = scrollingFrame
  506. cmd8.Position = UDim2.new(0, 0, 0, 125)
  507. cmd8.Size = UDim2.new(0, 500, 0, 25)
  508. cmd8.BackgroundColor3= Color3.new(0,0,0)
  509. cmd8.TextColor3 = Color3.new(170,0,0)
  510. cmd8.FontSize = 5
  511. cmd8.Text = Prefix .. "ff <plr>"
  512. cmd8.ZIndex = 0
  513.  
  514. local cmd9 = Instance.new("TextLabel")
  515. cmd9.Parent = scrollingFrame
  516. cmd9.Position = UDim2.new(0, 0, 0, 150)
  517. cmd9.Size = UDim2.new(0, 500, 0, 25)
  518. cmd9.BackgroundColor3= Color3.new(0,0,0)
  519. cmd9.TextColor3 = Color3.new(170,0,0)
  520. cmd9.FontSize = 5
  521. cmd9.Text = Prefix .. "unff <plr>"
  522. cmd9.ZIndex = 0
  523.  
  524. local cmd10 = Instance.new("TextLabel")
  525. cmd10.Parent = scrollingFrame
  526. cmd10.Position = UDim2.new(0, 0, 0, 175)
  527. cmd10.Size = UDim2.new(0, 500, 0, 25)
  528. cmd10.BackgroundColor3= Color3.new(0,0,0)
  529. cmd10.TextColor3 = Color3.new(170,0,0)
  530. cmd10.FontSize = 5
  531. cmd10.Text = Prefix .. "respawn <plr>"
  532. cmd10.ZIndex = 0
  533.  
  534. local cmd11 = Instance.new("TextLabel")
  535. cmd11.Parent = scrollingFrame
  536. cmd11.Position = UDim2.new(0, 0, 0, 200)
  537. cmd11.Size = UDim2.new(0, 500, 0, 25)
  538. cmd11.BackgroundColor3= Color3.new(0,0,0)
  539. cmd11.TextColor3 = Color3.new(170,0,0)
  540. cmd11.FontSize = 5
  541. cmd11.Text = Prefix .. "lag <plr>"
  542. cmd11.ZIndex = 0
  543.  
  544. local cmd12 = Instance.new("TextLabel")
  545. cmd12.Parent = scrollingFrame
  546. cmd12.Position = UDim2.new(0, 0, 0, 225)
  547. cmd12.Size = UDim2.new(0, 500, 0, 25)
  548. cmd12.BackgroundColor3= Color3.new(0,0,0)
  549. cmd12.TextColor3 = Color3.new(170,0,0)
  550. cmd12.FontSize = 5
  551. cmd12.Text = Prefix .. "removetools <plr>"
  552. cmd12.ZIndex = 0
  553.  
  554. local cmd13 = Instance.new("TextLabel")
  555. cmd13.Parent = scrollingFrame
  556. cmd13.Position = UDim2.new(0, 0, 0, 250)
  557. cmd13.Size = UDim2.new(0, 500, 0, 25)
  558. cmd13.BackgroundColor3= Color3.new(0,0,0)
  559. cmd13.TextColor3 = Color3.new(170,0,0)
  560. cmd13.FontSize = 5
  561. cmd13.Text = Prefix .. "god <plr>"
  562. cmd13.ZIndex = 0
  563.  
  564. local cmd14 = Instance.new("TextLabel")
  565. cmd14.Parent = scrollingFrame
  566. cmd14.Position = UDim2.new(0, 0, 0, 275)
  567. cmd14.Size = UDim2.new(0, 500, 0, 25)
  568. cmd14.BackgroundColor3= Color3.new(0,0,0)
  569. cmd14.TextColor3 = Color3.new(170,0,0)
  570. cmd14.FontSize = 5
  571. cmd14.Text = Prefix .. "ungod <plr>"
  572. cmd14.ZIndex = 0
  573.  
  574. local cmd15 = Instance.new("TextLabel")
  575. cmd15.Parent = scrollingFrame
  576. cmd15.Position = UDim2.new(0, 0, 0, 300)
  577. cmd15.Size = UDim2.new(0, 500, 0, 25)
  578. cmd15.BackgroundColor3= Color3.new(0,0,0)
  579. cmd15.TextColor3 = Color3.new(170,0,0)
  580. cmd15.FontSize = 5
  581. cmd15.Text = Prefix .. "muslist"
  582. cmd15.ZIndex = 0
  583.  
  584. local cmd16 = Instance.new("TextLabel")
  585. cmd16.Parent = scrollingFrame
  586. cmd16.Position = UDim2.new(0, 0, 0, 325)
  587. cmd16.Size = UDim2.new(0, 500, 0, 25)
  588. cmd16.BackgroundColor3= Color3.new(0,0,0)
  589. cmd16.TextColor3 = Color3.new(170,0,0)
  590. cmd16.FontSize = 5
  591. cmd16.Text = Prefix .. "console show"
  592. cmd16.ZIndex = 0
  593.  
  594. local cmd17 = Instance.new("TextLabel")
  595. cmd17.Parent = scrollingFrame
  596. cmd17.Position = UDim2.new(0, 0, 0, 350)
  597. cmd17.Size = UDim2.new(0, 500, 0, 25)
  598. cmd17.BackgroundColor3= Color3.new(0,0,0)
  599. cmd17.TextColor3 = Color3.new(170,0,0)
  600. cmd17.FontSize = 5
  601. cmd17.Text = Prefix .. "exe <command>"
  602. cmd17.ZIndex = 0
  603.  
  604. local cmd18 = Instance.new("TextLabel")
  605. cmd18.Parent = scrollingFrame
  606. cmd18.Position = UDim2.new(0, 0, 0, 375)
  607. cmd18.Size = UDim2.new(0, 500, 0, 25)
  608. cmd18.BackgroundColor3= Color3.new(0,0,0)
  609. cmd18.TextColor3 = Color3.new(170,0,0)
  610. cmd18.FontSize = 5
  611. cmd18.Text = Prefix .. "music <id> or <song (from muslist)>"
  612. cmd18.ZIndex = 0
  613.  
  614. local cmd19 = Instance.new("TextLabel")
  615. cmd19.Parent = scrollingFrame
  616. cmd19.Position = UDim2.new(0, 0, 0, 375)
  617. cmd19.Size = UDim2.new(0, 500, 0, 25)
  618. cmd19.BackgroundColor3= Color3.new(0,0,0)
  619. cmd19.TextColor3 = Color3.new(170,0,0)
  620. cmd19.FontSize = 5
  621. cmd19.Text = Prefix .. "pri"
  622. cmd19.ZIndex = 0
  623.  
  624. local cmd20 = Instance.new("TextLabel")
  625. cmd20.Parent = scrollingFrame
  626. cmd20.Position = UDim2.new(0, 0, 0, 400)
  627. cmd20.Size = UDim2.new(0, 500, 0, 25)
  628. cmd20.BackgroundColor3= Color3.new(0,0,0)
  629. cmd20.TextColor3 = Color3.new(170,0,0)
  630. cmd20.FontSize = 5
  631. cmd20.Text = Prefix .. "cmds"
  632. cmd20.ZIndex = 0
  633.  
  634. local cmd21 = Instance.new("TextLabel")
  635. cmd21.Parent = scrollingFrame
  636. cmd21.Position = UDim2.new(0, 0, 0, 425)
  637. cmd21.Size = UDim2.new(0, 500, 0, 25)
  638. cmd21.BackgroundColor3= Color3.new(0,0,0)
  639. cmd21.TextColor3 = Color3.new(170,0,0)
  640. cmd21.FontSize = 5
  641. cmd21.Text = Prefix .. "sit <plr>"
  642. cmd21.ZIndex = 0
  643.  
  644. local cmd22 = Instance.new("TextLabel")
  645. cmd22.Parent = scrollingFrame
  646. cmd22.Position = UDim2.new(0, 0, 0, 450)
  647. cmd22.Size = UDim2.new(0, 500, 0, 25)
  648. cmd22.BackgroundColor3= Color3.new(0,0,0)
  649. cmd22.TextColor3 = Color3.new(170,0,0)
  650. cmd22.FontSize = 5
  651. cmd22.Text = Prefix .. "jump <plr>"
  652. cmd22.ZIndex = 0
  653.  
  654. local cmd23 = Instance.new("TextLabel")
  655. cmd23.Parent = scrollingFrame
  656. cmd23.Position = UDim2.new(0, 0, 0, 475)
  657. cmd23.Size = UDim2.new(0, 500, 0, 25)
  658. cmd23.BackgroundColor3= Color3.new(0,0,0)
  659. cmd23.TextColor3 = Color3.new(170,0,0)
  660. cmd23.FontSize = 5
  661. cmd23.Text = Prefix .. "bruh <plr>"
  662. cmd23.ZIndex = 0
  663.  
  664. local cmd24 = Instance.new("TextLabel")
  665. cmd24.Parent = scrollingFrame
  666. cmd24.Position = UDim2.new(0, 0, 0, 500)
  667. cmd24.Size = UDim2.new(0, 500, 0, 25)
  668. cmd24.BackgroundColor3= Color3.new(0,0,0)
  669. cmd24.TextColor3 = Color3.new(170,0,0)
  670. cmd24.FontSize = 5
  671. cmd24.Text = Prefix .. "ws <speed>"
  672. cmd24.ZIndex = 0
  673.  
  674. local cmd25 = Instance.new("TextLabel")
  675. cmd25.Parent = scrollingFrame
  676. cmd25.Position = UDim2.new(0, 0, 0, 525)
  677. cmd25.Size = UDim2.new(0, 500, 0, 25)
  678. cmd25.BackgroundColor3= Color3.new(0,0,0)
  679. cmd25.TextColor3 = Color3.new(170,0,0)
  680. cmd25.FontSize = 5
  681. cmd25.Text = Prefix .. "gear <id>"
  682. cmd25.ZIndex = 0
  683.  
  684. local cmd26 = Instance.new("TextLabel")
  685. cmd26.Parent = scrollingFrame
  686. cmd26.Position = UDim2.new(0, 0, 0, 550)
  687. cmd26.Size = UDim2.new(0, 500, 0, 25)
  688. cmd26.BackgroundColor3= Color3.new(0,0,0)
  689. cmd26.TextColor3 = Color3.new(170,0,0)
  690. cmd26.FontSize = 5
  691. cmd26.Text = Prefix .. "tp <plr>"
  692. cmd26.ZIndex = 0
  693.  
  694. local cmd27 = Instance.new("TextLabel")
  695. cmd27.Parent = scrollingFrame
  696. cmd27.Position = UDim2.new(0, 0, 0, 575)
  697. cmd27.Size = UDim2.new(0, 500, 0, 25)
  698. cmd27.BackgroundColor3= Color3.new(0,0,0)
  699. cmd27.TextColor3 = Color3.new(170,0,0)
  700. cmd27.FontSize = 5
  701. cmd27.Text = Prefix .. "btools <plr>"
  702. cmd27.ZIndex = 0
  703.  
  704. local cmd28 = Instance.new("TextLabel")
  705. cmd28.Parent = scrollingFrame
  706. cmd28.Position = UDim2.new(0, 0, 0, 600)
  707. cmd28.Size = UDim2.new(0, 500, 0, 25)
  708. cmd28.BackgroundColor3= Color3.new(0,0,0)
  709. cmd28.TextColor3 = Color3.new(170,0,0)
  710. cmd28.FontSize = 5
  711. cmd28.Text = Prefix .. "pitch <n>"
  712. cmd28.ZIndex = 0
  713.  
  714. local cmd29 = Instance.new("TextLabel")
  715. cmd29.Parent = scrollingFrame
  716. cmd29.Position = UDim2.new(0, 0, 0, 625)
  717. cmd29.Size = UDim2.new(0, 500, 0, 25)
  718. cmd29.BackgroundColor3= Color3.new(0,0,0)
  719. cmd29.TextColor3 = Color3.new(170,0,0)
  720. cmd29.FontSize = 5
  721. cmd29.Text = Prefix .. "volume <n>"
  722. cmd29.ZIndex = 0
  723. end
  724. end)
  725.  
  726.  
  727.  
  728. Admins.Chatted:connect(function(msg)
  729. if msg:lower() == Prefix .. "console show" then
  730. sg = Instance.new('ScreenGui', Admins.PlayerGui)
  731. fm = Instance.new('Frame', sg)
  732. fm.Selectable = true
  733. fm.Size = UDim2.new(0,400,0,300)
  734. fm.BackgroundColor3 = Color3.new(0,0,0)
  735. fm.BorderSizePixel = 4
  736. fm.BorderColor3 = Color3.new(255,255,255)
  737. fm.Position = UDim2.new(0.395,0,0.3,0)
  738. txt = Instance.new('TextLabel', fm)
  739. txt.Size = UDim2.new(0,400,0,25)
  740. txt.Text = "~Game Console~"
  741. txt.FontSize = Enum.FontSize.Size18
  742. txt.TextColor3 = Color3.new(255,255,255)
  743. txt.BackgroundColor3 = Color3.new(0,0,0)
  744. txt.BorderSizePixel = 4
  745. txt.BorderColor3 = Color3.new(255,255,255)
  746. box = Instance.new('TextBox', fm)
  747. box.Position = UDim2.new(0,50,0,50)
  748. box.Size = UDim2.new(0,300,0,200)
  749. box.BackgroundColor3 = Color3.new(0,0,0)
  750. box.BorderSizePixel = 4
  751. box.BorderColor3 = Color3.new(255,255,255)
  752. box.TextColor3 = Color3.new(255,255,255)
  753. box.ClearTextOnFocus = false
  754. box.MultiLine = true
  755. box.TextXAlignment = 'Left'
  756. box.TextWrapped = true
  757. box.TextYAlignment = 'Top'
  758. box.Text = 'Click clear to clear the text or remove me by holding backspace!'
  759. load1 = Instance.new('TextButton', box)
  760. load1.Size = UDim2.new(0,200,0,25)
  761. load1.Position = UDim2.new(0,50,0,213)
  762. load1.BackgroundColor3 = Color3.new(0, 170, 0)
  763. load1.TextColor3 = Color3.new(0,0,0)
  764. load1.BorderSizePixel = 4
  765. load1.BorderColor3 = Color3.new(255,255,255)
  766. load1.Text = "Execute!"
  767. load1.MouseButton1Click:connect(function()
  768. loadstring(box.Text)()
  769. end)
  770. clr = Instance.new('TextButton', box)
  771. clr.Size = UDim2.new(0,50,0,25)
  772. clr.Position = UDim2.new(0,275,0,213)
  773. clr.BackgroundColor3 = Color3.new(170,0,0)
  774. clr.TextColor3 = Color3.new(0,0,0)
  775. clr.BorderSizePixel = 4
  776. clr.BorderColor3 = Color3.new(255,255,255)
  777. clr.Text = "Clear!"
  778. clr.MouseButton1Click:connect(function()
  779. box.Text = ''
  780. box:CaptureFocus()
  781. end)
  782. end
  783. end)
  784.  
  785. Admins.Chatted:connect(function(msg)
  786. if msg:lower() == Prefix .. "console hide" then
  787. fm:Destroy()
  788. end
  789. end)
  790.  
  791. Admins.Chatted:connect(function(msg)
  792. if msg:lower():sub(1, 5) == Prefix .. "kill" then
  793. for index, player in pairs(Players:GetPlayers()) do
  794. player.Name:lower():sub(1, #msg:sub(7))
  795. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  796. pcall(function()
  797. player.Character.Humanoid.Health = 0
  798. end)
  799. end
  800. end
  801. end
  802. end)
  803.  
  804. Admins.Chatted:connect(function(msg)
  805. if msg:lower() == Prefix .. "kill me" then
  806. Admins.Character.Humanoid.Health = 0
  807. end
  808. end)
  809.  
  810. Admins.Chatted:connect(function(msg)
  811. if msg:lower() == Prefix .. "kill all" then
  812. for i,v in pairs(game.Players:children()) do
  813. v.Character.Humanoid.Health = 0
  814. end
  815. end
  816. end)
  817.  
  818.  
  819. Admins.Chatted:connect(function(msg)
  820. if msg:lower():sub(1, 5) == Prefix .. "kick" then
  821. for index, player in pairs(Players:GetPlayers()) do
  822. player.Name:lower():sub(1, #msg:sub(7))
  823. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  824. pcall(function()
  825. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(player,{string.rep("getkickedbro?",2e5+5)})
  826. end)
  827. end
  828. end
  829. end
  830. end)
  831.  
  832. Admins.Chatted:connect(function(msg)
  833. if msg:lower() == Prefix .. "kick me" then
  834. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(Admins,{string.rep("getkickedbro?",2e5+5)})
  835. end
  836. end)
  837.  
  838. Admins.Chatted:connect(function(msg)
  839. if msg:lower() == Prefix .. "kick all" then
  840. for i,v in pairs(game.Players:children()) do
  841. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("getkickedbro?",2e5+5)})
  842. end
  843. end
  844. end)
  845.  
  846.  
  847. Admins.Chatted:connect(function(msg)
  848. if msg:lower():sub(1,4) == Prefix .. "ban" then
  849. for index, player1 in pairs(Players:GetPlayers()) do
  850. player1.Name:lower():sub(1, #msg:sub(6))
  851. if player1.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
  852. pcall(function()
  853. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(player1,{string.rep("getkickedbro?",2e5+5)})
  854. if game.Players:FindFirstChild(player1.Name) then
  855. ban=Instance.new('StringValue',folder)
  856. ban.Name = player1.Name
  857. ban.Value = player1.Name
  858. end
  859. end)
  860. end
  861. end
  862. end
  863. end)
  864.  
  865.  
  866. Admins.Chatted:connect(function(msg)
  867. if msg:lower() == Prefix .. "ban me" then
  868. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(Admins,{string.rep("getkickedbro?",2e5+5)})
  869. if game.Players:FindFirstChild(Admins.Name) then
  870. ban=Instance.new('StringValue',folder)
  871. ban.Name = Admins.Name
  872. ban.Value = Admins.Name
  873. end
  874. end
  875. end)
  876.  
  877. Admins.Chatted:connect(function(msg)
  878. if msg:lower() == Prefix .. "ban all" then
  879. for i,v in pairs(game.Players:children()) do
  880. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("getkickedbro?",2e5+5)})
  881. if game.Players:FindFirstChild(v.Name) then
  882. ban=Instance.new('StringValue',folder)
  883. ban.Name = v.Name
  884. ban.Value = v.Name
  885. end
  886. end
  887. end
  888. end)
  889.  
  890.  
  891.  
  892. Admins.Chatted:connect(function(msg)
  893. if msg:lower():sub(1, 8) == Prefix .. "explode" then
  894. for index, player in pairs(Players:GetPlayers()) do
  895. player.Name:lower():sub(1, #msg:sub(10))
  896. if player.Name:lower():sub(1, #msg:sub(10)) == msg:sub(10):lower() then
  897. pcall(function()
  898. ex = Instance.new("Explosion", game.Workspace)
  899. ex.Position = player.Character.Torso.Position
  900. end)
  901. end
  902. end
  903. end
  904. end)
  905.  
  906. Admins.Chatted:connect(function(msg)
  907. if msg:lower() == Prefix .. "explode me" then
  908. ex1 = Instance.new("Explosion", game.Workspace)
  909. ex1.Position = Admins.Character.Torso.Position
  910. end
  911. end)
  912.  
  913. Admins.Chatted:connect(function(msg)
  914. if msg:lower() == Prefix .. "explode all" then
  915. for i,v in pairs(game.Players:children()) do
  916. ex1 = Instance.new("Explosion", game.Workspace)
  917. ex1.Position = v.Character.Torso.Position
  918. end
  919. end
  920. end)
  921.  
  922.  
  923. Admins.Chatted:connect(function(msg)
  924. if msg:lower():sub(1,4) == Prefix .. "exe" then
  925. loadstring(msg:sub(5,#msg))()
  926. end
  927. end)
  928.  
  929.  
  930. Admins.Chatted:connect(function(msg)
  931. if msg:lower():sub(1, 3) == Prefix .. "ff" then
  932. for index, player in pairs(Players:GetPlayers()) do
  933. player.Name:lower():sub(1, #msg:sub(5))
  934. if player.Name:lower():sub(1, #msg:sub(5)) == msg:sub(5):lower() then
  935. pcall(function()
  936. Instance.new("ForceField", player.Character)
  937. end)
  938. else
  939. end
  940. end
  941. end
  942. end)
  943.  
  944.  
  945. Admins.Chatted:connect(function(msg)
  946. if msg:lower():sub(1, 5) == Prefix .. "unff" then
  947. for index, player in pairs(Players:GetPlayers()) do
  948. player.Name:lower():sub(1, #msg:sub(7))
  949. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  950. pcall(function()
  951. while true do
  952. player.Character.ForceField:Destroy()
  953. end
  954. end)
  955. end
  956. end
  957. end
  958. end)
  959.  
  960.  
  961. Admins.Chatted:connect(function(msg)
  962. if msg:lower() == Prefix .. "ff me" then
  963. Instance.new("ForceField", Admins.Character)
  964. end
  965. end)
  966.  
  967. Admins.Chatted:connect(function(msg)
  968. if msg:lower() == Prefix .. "unff me" then
  969. while true do
  970. Admins.Character.ForceField:Destroy()
  971. end
  972. end
  973. end)
  974.  
  975. Admins.Chatted:connect(function(msg)
  976. if msg:lower() == Prefix .. "ff all" then
  977. for i,v in pairs(game.Players:children()) do
  978. Instance.new("ForceField", v.Character)
  979. end
  980. end
  981. end)
  982.  
  983. Admins.Chatted:connect(function(msg)
  984. if msg:lower() == Prefix .. "unff all" then
  985. for i,v in pairs(game.Players:GetChildren()) do
  986. if v and v.Character then
  987. for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
  988. end
  989. end
  990. end
  991. end)
  992.  
  993.  
  994.  
  995.  
  996. Admins.Chatted:connect(function(msg)
  997. if msg:lower():sub(1, 4) == Prefix .. "god" then
  998. for index, player in pairs(Players:GetPlayers()) do
  999. player.Name:lower():sub(1, #msg:sub(6))
  1000. if player.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
  1001. pcall(function()
  1002. player.Character.Humanoid.MaxHealth = math.huge
  1003. end)
  1004. else
  1005. end
  1006. end
  1007. end
  1008. end)
  1009.  
  1010.  
  1011. Admins.Chatted:connect(function(msg)
  1012. if msg:lower():sub(1, 6) == Prefix .. "ungod" then
  1013. for index, player in pairs(Players:GetPlayers()) do
  1014. player.Name:lower():sub(1, #msg:sub(8))
  1015. if player.Name:lower():sub(1, #msg:sub(8)) == msg:sub(8):lower() then
  1016. pcall(function()
  1017. player.Character.Humanoid.MaxHealth = 100
  1018. end)
  1019. end
  1020. end
  1021. end
  1022. end)
  1023.  
  1024.  
  1025. Admins.Chatted:connect(function(msg)
  1026. if msg:lower() == Prefix .. "god me" then
  1027. Admins.Character.Humanoid.MaxHealth = math.huge
  1028. end
  1029. end)
  1030.  
  1031. Admins.Chatted:connect(function(msg)
  1032. if msg:lower() == Prefix .. "ungod me" then
  1033. while true do
  1034. Admins.Character.Humanoid.MaxHealth = 100
  1035. end
  1036. end
  1037. end)
  1038.  
  1039. Admins.Chatted:connect(function(msg)
  1040. if msg:lower() == Prefix .. "god all" then
  1041. for i,v in pairs(game.Players:children()) do
  1042. v.Character.Humanoid.MaxHealth = math.huge
  1043. end
  1044. end
  1045. end)
  1046.  
  1047. Admins.Chatted:connect(function(msg)
  1048. if msg:lower() == Prefix .. "ungod all" then
  1049. for i,v in pairs(game.Players:GetChildren()) do
  1050. v.Character.Humanoid.MaxHealth = 100
  1051. end
  1052. end
  1053. end)
  1054.  
  1055.  
  1056.  
  1057.  
  1058. Admins.Chatted:connect(function(msg)
  1059. if msg:lower():sub(1, 8) == Prefix .. "respawn" then
  1060. for index, player in pairs(Players:GetPlayers()) do
  1061. player.Name:lower():sub(1, #msg:sub(10))
  1062. if player.Name:lower():sub(1, #msg:sub(10)) == msg:sub(10):lower() then
  1063. pcall(function()
  1064. player:LoadCharacter()
  1065. end)
  1066. end
  1067. end
  1068. end
  1069. end)
  1070.  
  1071. Admins.Chatted:connect(function(msg)
  1072. if msg:lower() == Prefix .. "respawn me" then
  1073. Admins:LoadCharacter()
  1074. end
  1075. end)
  1076.  
  1077. Admins.Chatted:connect(function(msg)
  1078. if msg:lower() == Prefix .. "respawn all" then
  1079. for i,v in pairs(game.Players:children()) do
  1080. v:LoadCharacter()
  1081. end
  1082. end
  1083. end)
  1084.  
  1085.  
  1086. Admins.Chatted:connect(function(msg)
  1087. if msg:lower():sub(1, 4) == Prefix .. "lag" then
  1088. for index, player in pairs(Players:GetPlayers()) do
  1089. player.Name:lower():sub(1, #msg:sub(6))
  1090. if player.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
  1091. pcall(function()
  1092. for i = 1,10000 do
  1093. if player and player:findFirstChild("Backpack") then
  1094. local t1 = Instance.new("HopperBin", player.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1095. local t2 = Instance.new("HopperBin", player.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1096. local t3 = Instance.new("HopperBin", player.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1097. local t4= Instance.new("HopperBin", player.Backpack) t4.Name = "Resize"
  1098. end
  1099. end
  1100. end)
  1101. end
  1102. end
  1103. end
  1104. end)
  1105.  
  1106. Admins.Chatted:connect(function(msg)
  1107. if msg:lower() == Prefix .. "lag me" then
  1108. for i = 1,1000000 do
  1109. if Admins and Admins:findFirstChild("Backpack") then
  1110. local t1 = Instance.new("HopperBin", Admins.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1111. local t2 = Instance.new("HopperBin", Admins.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1112. local t3 = Instance.new("HopperBin", Admins.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1113. local t4= Instance.new("HopperBin", Admins.Backpack) t4.Name = "Resize"
  1114. end
  1115. end
  1116. end
  1117. end)
  1118.  
  1119. Admins.Chatted:connect(function(msg)
  1120. if msg:lower() == Prefix .. "lag all" then
  1121. for i,v in pairs(game.Players:children()) do
  1122. for i = 1,10000 do
  1123. if v and v:findFirstChild("Backpack") then
  1124. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1125. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1126. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1127. local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  1128. end
  1129. end
  1130. end
  1131. end
  1132. end)
  1133.  
  1134.  
  1135. Admins.Chatted:connect(function(msg)
  1136. if msg:lower():sub(1, 12) == Prefix .. "removetools" then
  1137. for index, player in pairs(Players:GetPlayers()) do
  1138. player.Name:lower():sub(1, #msg:sub(14))
  1139. if player.Name:lower():sub(1, #msg:sub(14)) == msg:sub(14):lower() then
  1140. pcall(function()
  1141. if Admins and Admins.Character and Admins:findFirstChild("Backpack") then
  1142. for a, tool in pairs(player.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1143. for a, tool in pairs(player.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1144. end
  1145. end)
  1146. end
  1147. end
  1148. end
  1149. end)
  1150.  
  1151. Admins.Chatted:connect(function(msg)
  1152. if msg:lower() == Prefix .. "removetools me" then
  1153. if Admins and Admins.Character and Admins:findFirstChild("Backpack") then
  1154. for a, tool in pairs(Admins.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1155. for a, tool in pairs(Admins.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1156. end
  1157. end
  1158. end)
  1159.  
  1160. Admins.Chatted:connect(function(msg)
  1161. if msg:lower() == Prefix .. "removetools all" then
  1162. for i,v in pairs(game.Players:children()) do
  1163. if v and v.Character and v:findFirstChild("Backpack") then
  1164. for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1165. for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1166. end
  1167. end
  1168. end
  1169. end)
  1170.  
  1171. Admins.Chatted:connect(function(msg)
  1172. if msg:lower():sub(1, 4) == Prefix .. "sit" then
  1173. for index, player in pairs(Players:GetPlayers()) do
  1174. player.Name:lower():sub(1, #msg:sub(6))
  1175. if player.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
  1176. pcall(function()
  1177. player.Character.Humanoid.Sit = true
  1178. end)
  1179. end
  1180. end
  1181. end
  1182. end)
  1183.  
  1184. Admins.Chatted:connect(function(msg)
  1185. if msg:lower() == Prefix .. "sit me" then
  1186. Admins.Character.Humanoid.Sit = true
  1187. end
  1188. end)
  1189.  
  1190. Admins.Chatted:connect(function(msg)
  1191. if msg:lower() == Prefix .. "sit all" then
  1192. for i,v in pairs(game.Players:children()) do
  1193. v.Character.Humanoid.Sit = true
  1194. end
  1195. end
  1196. end)
  1197.  
  1198. Admins.Chatted:connect(function(msg)
  1199. if msg:lower():sub(1, 5) == Prefix .. "jump" then
  1200. for index, player in pairs(Players:GetPlayers()) do
  1201. player.Name:lower():sub(1, #msg:sub(7))
  1202. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  1203. pcall(function()
  1204. player.Character.Humanoid.Jump = true
  1205. end)
  1206. end
  1207. end
  1208. end
  1209. end)
  1210.  
  1211. Admins.Chatted:connect(function(msg)
  1212. if msg:lower() == Prefix .. "jump me" then
  1213. Admins.Character.Humanoid.Jump = true
  1214. end
  1215. end)
  1216.  
  1217. Admins.Chatted:connect(function(msg)
  1218. if msg:lower() == Prefix .. "jump all" then
  1219. for i,v in pairs(game.Players:children()) do
  1220. v.Character.Humanoid.Jump = true
  1221. end
  1222. end
  1223. end)
  1224.  
  1225. Admins.Chatted:connect(function(msg)
  1226. if msg:lower():sub(1, 5) == Prefix .. "bruh" then
  1227. for index, player in pairs(Players:GetPlayers()) do
  1228. player.Name:lower():sub(1, #msg:sub(7))
  1229. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  1230. pcall(function()
  1231. pp1 = Instance.new("Sound", player.Character.Torso)
  1232. pp1.SoundId = "http://www.roblox.com/asset/?id=170040190"
  1233. pp1.Volume = 100
  1234. pp1.Pitch = 1
  1235. pp1.Looped = false
  1236. pp1:Play()
  1237. wait(0.9)
  1238. player.Character.Humanoid.PlatformStand = true
  1239. end)
  1240. end
  1241. end
  1242. end
  1243. end)
  1244.  
  1245. Admins.Chatted:connect(function(msg)
  1246. if msg:lower() == Prefix .. "bruh me" then
  1247. pp1 = Instance.new("Sound", Admins.Character.Torso)
  1248. pp1.SoundId = "http://www.roblox.com/asset/?id=170040190"
  1249. pp1.Volume = 100
  1250. pp1.Pitch = 1
  1251. pp1.Looped = false
  1252. pp1:Play()
  1253. wait(0.9)
  1254. Admins.Character.Humanoid.PlatformStand = true
  1255. end
  1256. end)
  1257.  
  1258. Admins.Chatted:connect(function(msg)
  1259. if msg:lower() == Prefix .. "bruh all" then
  1260. for i,v in pairs(game.Players:children()) do
  1261. pp1 = Instance.new("Sound", v.Character.Torso)
  1262. pp1.SoundId = "http://www.roblox.com/asset/?id=170040190"
  1263. pp1.Volume = 100
  1264. pp1.Pitch = 1
  1265. pp1.Looped = false
  1266. pp1:Play()
  1267. wait(0.9)
  1268. v.Character.Humanoid.PlatformStand = true
  1269. end
  1270. end
  1271. end)
  1272.  
  1273.  
  1274. Admins.Chatted:connect(function(msg)
  1275. if msg:lower():sub(1,3) == Prefix .. "ws" then
  1276. Admins.Character.Humanoid.WalkSpeed = msg:sub(4,#msg)
  1277. end
  1278. end)
  1279.  
  1280.  
  1281. Admins.Chatted:connect(function(msg)
  1282. if msg:lower():sub(1,5) == Prefix .. "gear" then
  1283. game:service'InsertService':LoadAsset(tonumber(msg:sub(6,#msg))):children()[1].Parent = Admins.Backpack
  1284. end
  1285. end)
  1286.  
  1287. Admins.Chatted:connect(function(msg)
  1288. if msg:lower():sub(1, 3) == Prefix .. "tp" then
  1289. for index, player in pairs(Players:GetPlayers()) do
  1290. player.Name:lower():sub(1, #msg:sub(5))
  1291. if player.Name:lower():sub(1, #msg:sub(5)) == msg:sub(5):lower() then
  1292. pcall(function()
  1293. Admins.Character.Torso.CFrame = player.Character.Torso.CFrame
  1294. end)
  1295. end
  1296. end
  1297. end
  1298. end)
  1299.  
  1300.  
  1301.  
  1302. Admins.Chatted:connect(function(msg)
  1303. if msg:lower():sub(1,6) == "!music" then
  1304. findsong = 'BadLukeeSoundsz'
  1305. if workspace.Terrain:FindFirstChild(findsong) then
  1306. game.Debris:AddItem(workspace.Terrain[findsong],0)
  1307. end
  1308. sd=Instance.new('Sound',workspace.Terrain)
  1309. sd.SoundId = "http://www.roblox.com/asset/?id="..msg:sub(7,#msg)
  1310. sd.Volume = 10
  1311. sd.Name = 'BadLukeeSoundsz'
  1312. sd.Pitch = 1
  1313. sd.Looped = true
  1314. sd:play()
  1315.  
  1316. if string.find(msg:lower():sub(7,#msg),'watcha') then
  1317. sd.SoundId = "http://www.roblox.com/asset/?id=177681012"
  1318. end
  1319.  
  1320. if string.find(msg:lower():sub(7,#msg),'lean') then
  1321. sd.SoundId = "http://www.roblox.com/asset/?id=328474897"
  1322. end
  1323.  
  1324. if string.find(msg:lower():sub(7,#msg),'baby') then
  1325. sd.SoundId = "http://www.roblox.com/asset/?id=130841252"
  1326. end
  1327.  
  1328. if string.find(msg:lower():sub(7,#msg),'moonman') then
  1329. sd.SoundId = "http://www.roblox.com/asset/?id=340924386"
  1330. end
  1331.  
  1332. if string.find(msg:lower():sub(7,#msg),'hello') then
  1333. sd.SoundId = "http://www.roblox.com/asset/?id=313694441"
  1334. end
  1335.  
  1336. if string.find(msg:lower():sub(7,#msg),'waves') then
  1337. sd.SoundId = "http://www.roblox.com/asset/?id=253545802"
  1338. end
  1339.  
  1340. if string.find(msg:lower():sub(7,#msg),'cake') then
  1341. sd.SoundId = "http://www.roblox.com/asset/?id=313144336"
  1342. end
  1343. end
  1344.  
  1345. if msg:lower():sub(1,6) == Prefix .. "pitch" then
  1346.         sd.Pitch = msg:sub(7,#msg)
  1347. end
  1348.  
  1349. if msg:lower():sub(1,7) == Prefix .. "volume" then
  1350.         sd.Volume = msg:sub(8,#msg)
  1351. end
  1352. end)
  1353.  
  1354. Admins.Chatted:connect(function(msg)
  1355. if msg:lower() == Prefix .. "pri" then
  1356. game.Players.PlayerAdded:connect(function(player)
  1357. repeat until player.Character wait()
  1358. player:Destroy()
  1359. end)
  1360. end
  1361. end)
  1362.  
  1363. Admins.Chatted:connect(function(msg)
  1364. if msg:lower():sub(1, 7) == Prefix .. "btools" then
  1365. for index, player in pairs(Players:GetPlayers()) do
  1366. player.Name:lower():sub(1, #msg:sub(9))
  1367. if player.Name:lower():sub(1, #msg:sub(9)) == msg:sub(9):lower() then
  1368. pcall(function()
  1369. if player and player:findFirstChild("Backpack") then
  1370. local t1 = Instance.new("HopperBin", player.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1371. local t2 = Instance.new("HopperBin", player.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1372. local t3 = Instance.new("HopperBin", player.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1373. local t4= Instance.new("HopperBin", player.Backpack) t4.Name = "Resize"
  1374. end
  1375. end)
  1376. end
  1377. end
  1378. end
  1379. end)
  1380.  
  1381. Admins.Chatted:connect(function(msg)
  1382. if msg:lower() == Prefix .. "btools me" then
  1383. if Admins and Admins:findFirstChild("Backpack") then
  1384. local t1 = Instance.new("HopperBin", Admins.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1385. local t2 = Instance.new("HopperBin", Admins.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1386. local t3 = Instance.new("HopperBin", Admins.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1387. local t4= Instance.new("HopperBin", Admins.Backpack) t4.Name = "Resize"
  1388. end
  1389. end
  1390. end)
  1391.  
  1392. Admins.Chatted:connect(function(msg)
  1393. if msg:lower() == Prefix .. "btools all" then
  1394. for i,v in pairs(game.Players:children()) do
  1395. if v and v:findFirstChild("Backpack") then
  1396. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1397. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1398. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1399. local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  1400. end
  1401. end
  1402. end
  1403. end)
  1404.  
  1405. function Orb()
  1406. admin = Admins.Name
  1407. orbnd=Instance.new('Model',workspace)
  1408. Instance.new('Humanoid',orbnd)
  1409. p = Instance.new("Part", orbnd)
  1410. p.BrickColor = BrickColor.new("Really black")
  1411. p.Size = Vector3.new(1,1,1)
  1412. p.Shape = "Ball"
  1413. p.Material = Enum.Material.Neon
  1414. p.Anchored = true
  1415. p.Name = "BsOrb"
  1416. p.Locked = true
  1417. p.CanCollide = false
  1418. end
  1419.  
  1420. Orb()
  1421.  
  1422. game:GetService('RunService').Stepped:connect(function ()
  1423. if not workspace:FindFirstChild(Admins.Name) then
  1424. Orb()
  1425. end
  1426. end)
  1427.  
  1428. game:GetService('RunService').Stepped:connect(function()
  1429. if not orbnd:FindFirstChild("BsOrb") then
  1430. Orb()
  1431. end
  1432. end)
  1433.  
  1434. Game:GetService('Chat'):Chat(p, "Welcome to i0rb " .. Admins.Name .. "! i0rb remade by scrubl0rd. The current prefix is " .. Prefix .. "! Say " .. Prefix .. "cmds to show a list of commands!", Enum.ChatColor.Red)
  1435. for i = 1,math.huge,Speed do wait()
  1436. if workspace:FindFirstChild(Admins.Name) then
  1437. p.CFrame = CFrame.new(Admins.Character.Torso.Position) * CFrame.fromEulerAnglesXYZ(math.sin(i),math.abs(i),math.sin(i)) * CFrame.new(0,0,-6)
  1438. p2 = Instance.new("Part", p)
  1439. p2.CFrame = p.CFrame * CFrame.new(0,0,0)
  1440. p2.FormFactor = Enum.FormFactor.Custom
  1441. p2.Size = Vector3.new(0.3,0.3,0.3)
  1442. p2.BrickColor = BrickColor.new("Really black")
  1443. p2.Transparency = 0.3
  1444. p2.CanCollide = false
  1445. p2.Anchored = true
  1446. p2.Material = Enum.Material.Neon
  1447. game.Debris:AddItem(p2,1)
  1448. end
  1449. end
  1450.  
  1451. game:GetService('RunService').Stepped:connect(function()
  1452. for i,v in pairs(Players:children()) do
  1453. if v.Name==Banned and v.Name~={game.Players.LocalPlayer.Name} then
  1454. v:remove()
  1455. end            
  1456. end
  1457. end)
  1458.  
  1459. Players.PlayerAdded:connect(function(player) do
  1460. if player.Name==Banned then
  1461. banplr=Instance.new('RemoteEvent',workspace):FireClient(player,{string.rep("Gettingbanformationbro?",2e5+5)})
  1462. game.Debris:AddItem(banplr,1)
  1463. end
  1464. end
  1465. end)
  1466.         end)
  1467. --
  1468. local button = Instance.new("TextButton")
  1469.         button.Parent = acg
  1470.         button.BackgroundColor3 = blak
  1471.         button.BorderColor3 = rede
  1472.         button.BorderSizePixel = 3
  1473.         button.Name = "Kohls Admin"
  1474.         button.Position = UDim2.new(0.5,3,0,33)
  1475.         button.Size = UDim2.new(0.5,-3,0,30)
  1476.         button.ZIndex = 2
  1477.         button.Font = tef
  1478.         button.FontSize = "Size14"
  1479.         button.Text = "Rocky2u's Project Duck"
  1480.         button.TextColor3 = whit
  1481.         button.TextWrapped = true
  1482.         button.MouseButton1Down:connect(function()
  1483. --[[
  1484. ---------------------------------------------------------------
  1485. |   _____           _           _     _____             _      |
  1486. |  |  __ \         (_)         | |   |  __ \           | |     |
  1487. |  | |__) | __ ___  _  ___  ___| |_  | |  | |_   _  ___| | __  |
  1488. |  |  ___/ '__/ _ \| |/ _ \/ __| __| | |  | | | | |/ __| |/ /  |
  1489. |  | |   | | | (_) | |  __/ (__| |_  | |__| | |_| | (__|   <   |
  1490. |  |_|   |_|  \___/| |\___|\___|\__| |_____/ \__,_|\___|_|\_\  |
  1491. |                 _/ |                                         |
  1492. |                |__/                                          |
  1493. ---------------------------------------------------------------
  1494. --]]
  1495.  
  1496. -- SethMilkman --
  1497.  
  1498. --| Thanks ROBLOX, for removing GetObjects |--
  1499.  
  1500. local Player = game.Players.LocalPlayer
  1501. local Mouse = Player:GetMouse()
  1502. local char = Player.Character
  1503.  
  1504. local gPlayers = game:GetService("Players")
  1505. local admin = gPlayers.LocalPlayer.Name
  1506.  
  1507. local services={}
  1508. local cmds={}
  1509. local std={}
  1510.  
  1511. local Version = '1.0.2'
  1512.  
  1513. wait(0.1)
  1514.  
  1515. services.players=gPlayers
  1516. services.lighting=game:GetService('Lighting')
  1517. services.workspace=game:GetService('Workspace')
  1518. services.events = {}
  1519. local user = gPlayers.LocalPlayer
  1520.  
  1521. local cmdprefix=';'
  1522. local scriptprefix='\\'
  1523. local split=" "
  1524.  
  1525. --| Ban Data |--
  1526.  
  1527. local BanFolder = Instance.new("Fire", game.ContextActionService)
  1528. BanFolder.Name = "BanList"
  1529. BanFolder.RobloxLocked = true
  1530. _G.Banned = function(Ban)
  1531.        local SValue = Instance.new("StringValue", BanFolder)
  1532.        SValue.Value = Ban
  1533.        SValue.RobloxLocked = true
  1534. end
  1535.  
  1536. BannedPlayers = {
  1537.         'KrystalTeam', -- For banning me.
  1538.         'LordCrazy13', -- You're fucking annoying.
  1539.         'CRICKET69'
  1540. }
  1541. --| Tables |--
  1542. --| Admins |--
  1543. local AdminFolder = Instance.new("Folder", game.ContextActionService)
  1544. AdminFolder.Name = "AdminList"
  1545. AdminFolder.RobloxLocked = true
  1546. _G.Admin = function(Admin)
  1547.         local SValue = Instance.new("StringValue", AdminFolder)
  1548.         SValue.Value = Admin
  1549.         SValue.RobloxLocked = true
  1550. end
  1551. -- These are my friends that don't have Seven, remove then off the list if you'd like.
  1552. local admins = {
  1553.         'guestpro1',
  1554.         'THEGAMINGTRTLE',
  1555.         'JackLikesBugs',
  1556.         'JoshuaAsencio'
  1557. }
  1558. --| CMD List |--
  1559. CMDs = {
  1560.         '1. ff player',
  1561.         '2. noff player',
  1562.         '3. fire player',
  1563.         '4. nofire player',
  1564.         '5. sp player',
  1565.         '6. nosp player',
  1566.         '7. smoke player',
  1567.         '8. nosmoke player',
  1568.         '9. btools player',
  1569.         '10. god player',
  1570.         '11. sgod player',
  1571.         '12. ungod player',
  1572.         '13. heal player',
  1573.         '14. freeze player',
  1574.         '15. thaw player',
  1575.         '16. kill player',
  1576.         '17. sound',
  1577.         '18. volume',
  1578.         '19. pitch',
  1579.         '20. explode player',
  1580.         '21. invis player',
  1581.         '22. vis player',
  1582.         '23. goto player',
  1583.         '24. bring player',
  1584.         '25. tp player',
  1585.         '26. charapp player',
  1586.         '27. ws player',
  1587.         '28. time',
  1588.         '29. kick player',
  1589.         '30. ban player',
  1590.         '31. unlockws',
  1591.         '32. unanchorws',
  1592.         '33. hat player',
  1593.         '34. gear player',
  1594.         '35. pstools player',
  1595.         '36. skick player',
  1596.         '37. admin player',
  1597.         '38. unadmin player',
  1598.         '39. firstp player',
  1599.         '40. thirdp player',
  1600.         '41. chat player',
  1601.         '42. insert',
  1602.         '43. name player',
  1603.         '44. unname player',
  1604.         '45. stun player',
  1605.         '46. unstun player',
  1606.         '47. sit player',
  1607.         '48. guest player',
  1608.         '49. damage player',
  1609.         '50. view player',
  1610.         '51. unview player',
  1611.         '52. nolimbs player',
  1612.         '53. box player 1012',
  1613.         '54. nobox player',
  1614.         '55. ghost player',
  1615.         '56. sphere player',
  1616.         '57. loadmap',
  1617.         '58. sky',
  1618.         '59. ambient',
  1619.         '60. gui',
  1620.         '61. jail player',
  1621.         '62. unjail player',
  1622.         '63. shutdown',
  1623.         '64. animation player',
  1624.         '65. fix player',
  1625.         '66. creeper player',
  1626.         '67. uncreeper player',
  1627.         '68. shrek player',
  1628.         '69. unshrek player',
  1629.         '70. spam',
  1630.         '71. nospam',
  1631.         '72. control player',
  1632.         '73. nuke player',
  1633.         '74. infect player',
  1634.         '75. uninfect player',
  1635.         '76. duck player',
  1636.         '77. unduck player',
  1637.         '78. disable player',
  1638.         '79. enable player',
  1639.         '80. size player',
  1640.         '81. confuse player',
  1641.         '82. unconfuse player',
  1642.         '83. clone player',
  1643.         '84. spin player',
  1644.         '85. unspin player',
  1645.         '86. dog player',
  1646.         '87. undog player',
  1647.         '88. tptool',
  1648.         '89. loopsit player',
  1649.         '90. unloopsit player',
  1650.         '91. loopjump player',
  1651.         '92. unloopjump player',
  1652.         '93. loopheal player',
  1653.         '94. unloopheal player',
  1654.         '95. fling player',
  1655.         '96. ayylmao player',
  1656.         '97. nograv player',
  1657.         '98. grav player',
  1658.         '99. seizure player',
  1659.         '100. unseizure player',
  1660.         '101. cape 1012',
  1661.         '102. uncape',
  1662.         '103. paper player',
  1663.         '104. punish player',
  1664.         '105. unpunish player',
  1665.         '106. disco',
  1666.         '107. undisco',
  1667.         '- float player',
  1668.         '- unfloat player',
  1669.         '- noclip',
  1670.         '- clip',
  1671.         '- prefix <string>',
  1672.         '- admins',
  1673.         '- bans',
  1674.         '- cmds',
  1675.         '- version'
  1676. }
  1677.  
  1678. --| Lib |--
  1679.  
  1680. updateevents=function()
  1681.         for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
  1682.         for i,v in pairs(gPlayers:players())do
  1683.                 local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
  1684.                 services.events[#services.events+1] = ev
  1685.         end
  1686. end
  1687.  
  1688. std.inTable=function(tbl,val)
  1689.     if tbl==nil then return false end
  1690.  
  1691.     for _,v in pairs(tbl)do
  1692.         if v==val then return true end
  1693.     end
  1694.         return false
  1695. end
  1696.  
  1697. std.out=function(str)
  1698.     print(str)
  1699. end
  1700.  
  1701. std.list=function(tbl)
  1702.     local str=''
  1703.     for i,v in pairs(tbl)do
  1704.         str=str..tostring(v)
  1705.         if i~=#tbl then str=str..', ' end
  1706.     end
  1707.         return str
  1708. end
  1709.  
  1710. std.endat=function(str,val)
  1711.     local z=str:find(val)
  1712.     if z then
  1713.                 return str:sub(0,z-string.len(val)),true
  1714.     else
  1715.                 return str,false
  1716.         end
  1717. end
  1718.  
  1719. std.first=function(str) return str:sub(1,1) end
  1720.  
  1721. isAdmin=function(name)
  1722.     if name==admin then
  1723.         return true
  1724.     elseif admins[name]==true then
  1725.         return true
  1726.     end
  1727.     return false
  1728. end
  1729.  
  1730. local exec=function(str)
  1731.     spawn(function()
  1732.         local script, loaderr = loadstring(str)
  1733.         if not script then
  1734.             error(loaderr)
  1735.         else
  1736.                 script()
  1737.                 end
  1738.     end)
  1739. end
  1740.  
  1741. local findCmd=function(cmd_name)
  1742.     for i,v in pairs(cmds)do
  1743.         if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  1744.             return v
  1745.         end
  1746.     end
  1747. end
  1748.  
  1749. local getCmd=function(msg)
  1750.     local cmd,hassplit=std.endat(msg:lower(),split)
  1751.     if hassplit then
  1752.                 return {cmd,true}
  1753.         else
  1754.                 return {cmd,false}
  1755.         end
  1756. end
  1757.  
  1758. local getprfx=function(strn)
  1759.     if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  1760.     elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  1761.     end return
  1762. end
  1763.  
  1764. local getArgs=function(str)
  1765.     local args={}
  1766.     local new_arg=nil
  1767.     local hassplit=nil
  1768.     local s=str
  1769.     repeat
  1770.         new_arg,hassplit=std.endat(s:lower(),split)
  1771.         if new_arg~='' then
  1772.             args[#args+1]=new_arg
  1773.             s=s:sub(string.len(new_arg)+string.len(split)+1)
  1774.         end
  1775.     until hassplit==false
  1776.     return args
  1777. end
  1778.  
  1779. local function execCmd(str, plr)
  1780.     local s_cmd
  1781.     local a
  1782.     local cmd
  1783.     s_cmd = getCmd(str)
  1784.     cmd = findCmd(s_cmd[1])
  1785.     if cmd == nil then return end
  1786.     a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)
  1787.     local args=getArgs(a)
  1788.  
  1789.     pcall(function()
  1790.         cmd.FUNC(args, plr)
  1791.         end)
  1792. end
  1793.  
  1794. function do_exec(str,plr)
  1795.         if not isAdmin(plr.Name)then return end
  1796.        
  1797.     str=str:gsub('/e ','')
  1798.  
  1799.     local t=getprfx(str)
  1800.     if t==nil then return end
  1801.     str=str:sub(t[2])
  1802.     if t[1]=='exec' then
  1803.         exec(str)
  1804.     elseif t[1]=='cmd' then
  1805.         execCmd(str, plr)
  1806.     end
  1807. end
  1808.  
  1809. updateevents()
  1810. _G.exec_cmd = execCmd
  1811. --game.Players.LocalPlayer.Chatted:connect(doexec)
  1812.  
  1813. local _char=function(plr_name)
  1814.     for i,v in pairs(game.Players:GetChildren())do
  1815.         if v:IsA'Player'then
  1816.             if v.Name==plr_name then return v.Character end
  1817.         end
  1818.     end
  1819.     return
  1820. end
  1821.  
  1822. local _plr=function(plr_name)
  1823.     for i,v in pairs(game.Players:GetChildren())do
  1824.         if v:IsA'Player'then
  1825.             if v.Name==plr_name then return v end
  1826.         end
  1827.     end
  1828.     return
  1829. end
  1830.  
  1831. function addcmd(name,desc,alias,func)
  1832.     cmds[#cmds+1]=
  1833.     {
  1834.         NAME=name;
  1835.         DESC=desc;
  1836.         ALIAS=alias;
  1837.         FUNC=func;
  1838.     }
  1839. end
  1840.  
  1841. local function getPlayer(name)
  1842.         local nameTable = {}
  1843.         name=name:lower()
  1844.         if name == "me" then
  1845.                 nameTable[#nameTable+1]=admin
  1846.         elseif name == "others" then
  1847.                 for i,v in pairs(gPlayers:GetChildren()) do
  1848.             if v:IsA'Player'then
  1849.                 if v.Name~=admin then
  1850.                     nameTable[#nameTable+1]=v.Name
  1851.                 end
  1852.             end
  1853.                 end
  1854.         elseif name == "all" then
  1855.                 for i,v in pairs(gPlayers:GetChildren()) do
  1856.             if v:IsA'Player'then
  1857.                 nameTable[#nameTable+1]=v.Name
  1858.             end
  1859.                 end
  1860.         else
  1861.                 for i,v in pairs(gPlayers:GetChildren()) do
  1862.                         local lname = v.Name:lower()
  1863.                         local i,j = lname:find(name)
  1864.                         if i == 1 then
  1865.                                 return {v.Name}
  1866.                         end
  1867.                 end
  1868.         end
  1869.         return nameTable
  1870. end
  1871.  
  1872. --| Cape Function |--
  1873.  
  1874. local capeColor = 1012
  1875.  
  1876. function Cape(playerCaped)
  1877.  
  1878. if playerCaped.Character:FindFirstChild("Cape") ~= nil then
  1879.         playerCaped.Character.Cape:Destroy()
  1880. end
  1881.  
  1882. repeat
  1883.         wait()
  1884. until playerCaped and playerCaped.Character and playerCaped.Character:FindFirstChild("Torso")
  1885.  
  1886. local Torso = playerCaped.Character.Torso
  1887.  
  1888. local Cape = Instance.new("Part", Torso.Parent)
  1889. Cape.Name = "Cape"
  1890. Cape.Anchored = false
  1891. Cape.CanCollide = false
  1892. Cape.TopSurface = 0
  1893. Cape.BottomSurface = 0
  1894. Cape.BrickColor = BrickColor.new("" .. capeColor)
  1895. Cape.Material = "Neon"
  1896. Cape.formFactor = "Custom"
  1897. Cape.Size = Vector3.new(0.2,0.2,0.2)
  1898.  
  1899. local msh = Instance.new("BlockMesh", Cape)
  1900. msh.Scale = Vector3.new(9,17.5,.5)
  1901.  
  1902. local motor1 = Instance.new("Motor", Cape)
  1903. motor1.Part0 = Cape
  1904. motor1.Part1 = Torso
  1905.  
  1906. motor1.MaxVelocity = 1
  1907. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  1908. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  1909.  
  1910. local wave = false
  1911.  
  1912. repeat wait(1/44)
  1913. local ang = 0.2
  1914. local oldmag = Torso.Velocity.magnitude
  1915. local mv = .1
  1916.  
  1917. if wave then
  1918.         ang = ang + ((Torso.Velocity.magnitude/10) * .05) + 1
  1919.         wave = false
  1920. else
  1921.         wave = false
  1922. end
  1923. ang = ang + math.min(Torso.Velocity.magnitude/30, 1)
  1924. motor1.MaxVelocity = math.min((Torso.Velocity.magnitude/10), .04) + mv
  1925. motor1.DesiredAngle = -ang
  1926. if motor1.CurrentAngle < -.05 and motor1.DesiredAngle > -.05 then
  1927.         motor1.MaxVelocity = .04
  1928. end
  1929. repeat
  1930.         wait()
  1931. until
  1932. motor1.CurrentAngle == motor1.DesiredAngle or math.abs(Torso.Velocity.magnitude - oldmag)  >= (Torso.Velocity.magnitude/10) + 1
  1933. if Torso.Velocity.magnitude < .1 then
  1934.         wait(.1)
  1935. end
  1936. until not Cape or Cape.Parent ~= Torso.Parent
  1937. end
  1938.  
  1939. game.Lighting.Outlines = false -- Outlines are disgusting
  1940.  
  1941. --| Commands |--
  1942.  
  1943. addcmd('ff','gives ff to player',{},
  1944. function(args)
  1945.    local players = getPlayer(args[1])
  1946.    for i,v in pairs(players)do
  1947.        local pchar=_char(v)
  1948.        Instance.new("ForceField", pchar)
  1949.    end
  1950. end)
  1951.  
  1952. addcmd('noff', 'takes away ff from player',{'unff'},
  1953. function(args)
  1954.    local players = getPlayer(args[1])
  1955.    for i,v in pairs(players)do
  1956.        local pchar=_char(v)
  1957.        for j,v1 in pairs(pchar:GetChildren()) do
  1958.                         if v1:IsA("ForceField") then
  1959.                                 v1:Destroy()
  1960.                         end
  1961.                 end
  1962.    end
  1963. end)
  1964.  
  1965. addcmd('fire', 'set a player on fire',{},
  1966. function(args)
  1967.    local players = getPlayer(args[1])
  1968.    for i,v in pairs(players)do
  1969.        local pchar=_char(v)
  1970.        local Fire1 = Instance.new("Fire", pchar.Head)
  1971.        local Fire2 = Instance.new("Fire", pchar.Torso)
  1972.        local Fire3 = Instance.new("Fire", pchar["Left Arm"])
  1973.        local Fire4 = Instance.new("Fire", pchar["Right Arm"])
  1974.        local Fire5 = Instance.new("Fire", pchar["Left Leg"])
  1975.        local Fire6 = Instance.new("Fire", pchar["Right Leg"])
  1976.        Fire1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1977.        Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1978.        Fire2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1979.        Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1980.        Fire3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1981.        Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1982.        Fire4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1983.        Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1984.        Fire5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1985.        Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1986.        Fire6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1987.        Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1988.    end
  1989. end)
  1990.  
  1991. addcmd('nofire', 'extinguish a player',{'unfire'},
  1992. function(args)
  1993.    local players = getPlayer(args[1])
  1994.    for i,v in pairs(players)do
  1995.        local pchar=_char(v)
  1996.        for j,v1 in pairs(pchar.Head:GetChildren()) do
  1997.                         if v1:IsA("Fire") then
  1998.                                 v1:Destroy()
  1999.                         end
  2000. end
  2001.        for j,v1 in pairs(pchar.Torso:GetChildren()) do
  2002.                         if v1:IsA("Fire") then
  2003.                                 v1:Destroy()
  2004.                         end
  2005. end
  2006.        for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
  2007.                         if v1:IsA("Fire") then
  2008.                                 v1:Destroy()
  2009.                         end
  2010. end
  2011.        for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
  2012.                         if v1:IsA("Fire") then
  2013.                                 v1:Destroy()
  2014.                         end
  2015. end
  2016.        for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
  2017.                         if v1:IsA("Fire") then
  2018.                                 v1:Destroy()
  2019.                         end
  2020. end
  2021.        for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
  2022.                         if v1:IsA("Fire") then
  2023.                                 v1:Destroy()
  2024.                         end
  2025.                 end
  2026.    end
  2027. end)
  2028.  
  2029. addcmd('sp', 'give a player sparkles',{},
  2030. function(args)
  2031.    local players = getPlayer(args[1])
  2032.    for i,v in pairs(players)do
  2033.        local pchar=_char(v)
  2034.        local Sparkles1 = Instance.new("Sparkles", pchar.Head)
  2035.        local Sparkles2 = Instance.new("Sparkles", pchar.Torso)
  2036.        local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
  2037.        local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
  2038.        local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
  2039.        local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
  2040.        Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2041.        Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2042.        Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2043.        Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2044.        Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2045.        Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2046.    end
  2047. end)
  2048.  
  2049. addcmd('nosp', 'remove sparkles from a player',{'unsp'},
  2050. function(args)
  2051.    local players = getPlayer(args[1])
  2052.    for i,v in pairs(players)do
  2053.        local pchar=_char(v)
  2054.        for j,v1 in pairs(pchar.Head:GetChildren()) do
  2055.                         if v1:IsA("Sparkles") then
  2056.                                 v1:Destroy()
  2057.                         end
  2058. end
  2059.        for j,v1 in pairs(pchar.Torso:GetChildren()) do
  2060.                         if v1:IsA("Sparkles") then
  2061.                                 v1:Destroy()
  2062.                         end
  2063. end
  2064.        for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
  2065.                         if v1:IsA("Sparkles") then
  2066.                                 v1:Destroy()
  2067.                         end
  2068. end
  2069.        for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
  2070.                         if v1:IsA("Sparkles") then
  2071.                                 v1:Destroy()
  2072.                         end
  2073. end
  2074.        for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
  2075.                         if v1:IsA("Sparkles") then
  2076.                                 v1:Destroy()
  2077.                         end
  2078. end
  2079.        for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
  2080.                         if v1:IsA("Sparkles") then
  2081.                                 v1:Destroy()
  2082.                         end
  2083.                 end
  2084.    end
  2085. end)
  2086.  
  2087. addcmd('smoke', 'give a player smoke',{},
  2088. function(args)
  2089.    local players = getPlayer(args[1])
  2090.    for i,v in pairs(players)do
  2091.        local pchar=_char(v)
  2092.        Instance.new("Smoke", pchar.Torso)
  2093.    end
  2094. end)
  2095.  
  2096. addcmd('nosmoke', 'remove smoke from a player',{},
  2097. function(args)
  2098.    local players = getPlayer(args[1])
  2099.    for i,v in pairs(players)do
  2100.        local pchar=_char(v)
  2101.        for j,v1 in pairs(pchar.Torso:GetChildren()) do
  2102.                         if v1:IsA("Smoke") then
  2103.                                 v1:Destroy()
  2104.                         end
  2105.                 end
  2106.    end
  2107. end)
  2108.  
  2109. addcmd('btools', 'gives a player btools',{},
  2110. function(args)
  2111.    local players = getPlayer(args[1])
  2112.    if players ~= nil then
  2113.                 for i, v in pairs(players) do
  2114.                         Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
  2115.                         Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
  2116.                         Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
  2117.                 end
  2118.         end
  2119. end)
  2120.  
  2121. addcmd('god', 'gods player',{},
  2122. function(args)
  2123.    local players = getPlayer(args[1])
  2124.    for i,v in pairs(players)do
  2125.        local pchar=_char(v)
  2126.        if pchar then pchar.Humanoid.MaxHealth=math.huge end
  2127.    end
  2128. end)
  2129.  
  2130. addcmd('sgod', 'silently gods player',{},
  2131. function(args)
  2132.    local players = getPlayer(args[1])
  2133.    for i,v in pairs(players)do
  2134.        local pchar=_char(v)
  2135.        spawn(function()
  2136.            pchar.Humanoid.MaxHealth = 10000000
  2137.                         wait()
  2138.                         pchar.Humanoid.Health = 10000000
  2139.        end)
  2140.    end
  2141. end)
  2142.  
  2143. addcmd('ungod', 'removes god from a player',{},
  2144. function(args)
  2145.    local players = getPlayer(args[1])
  2146.    for i,v in pairs(players)do
  2147.        local pchar=_char(v)
  2148.        if pchar then
  2149.                         pchar.Humanoid.MaxHealth=100
  2150.                         pchar.Humanoid.Health=100
  2151.                 end
  2152.    end
  2153. end)
  2154.  
  2155. addcmd('heal', 'resets a players health',{},
  2156. function(args)
  2157.    local players = getPlayer(args[1])
  2158.    for i,v in pairs(players)do
  2159.        local pchar=_char(v)
  2160.        if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
  2161.    end
  2162. end)
  2163.  
  2164. addcmd('frz', 'freezes a player',{'freeze'},
  2165. function(args)
  2166.         local players = getPlayer(args[1])
  2167.         if players ~= nil then
  2168.                 for i, v in pairs(players) do
  2169.                         _char(v).Torso.Anchored = true
  2170.                 end
  2171.         end
  2172. end)
  2173.  
  2174. addcmd('thaw', 'freezes a player',{},
  2175. function(args)
  2176.         local players = getPlayer(args[1])
  2177.         if players ~= nil then
  2178.                 for i, v in pairs(players) do
  2179.                         _char(v).Torso.Anchored = false
  2180.                 end
  2181.         end
  2182. end)
  2183.  
  2184. addcmd('kill', 'kills a player',{},
  2185. function(args)
  2186.    local players = getPlayer(args[1])
  2187.    for i,v in pairs(players)do
  2188.        local pchar=_char(v)
  2189.        if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  2190.    end
  2191. end)
  2192.  
  2193. addcmd('sound', 'plays a sound',{},
  2194. function(args)
  2195.    local function dels(instance)
  2196.        for i,v in pairs(instance:GetChildren())do
  2197.            if v:IsA'Sound'then v:Destroy()end
  2198.            dels(v)
  2199.        end
  2200.    end
  2201.    dels(workspace)
  2202.  
  2203.    local c = args[1] or 'stop'
  2204.    if std.inTable({'stop'}, c:lower()) then return end
  2205.         local s = Instance.new("Sound", workspace)
  2206.         s.Name = "DuckSong"
  2207.         s.Looped = true
  2208.         s.SoundId = "rbxassetid://" .. c
  2209.    s.Volume = 1
  2210.         s:Play()
  2211. end)
  2212.  
  2213. addcmd('volume','changes volume of sound',{},
  2214. function(args)
  2215.         for i,v in pairs(game.Workspace:GetChildren())do
  2216.                 if v:IsA("Sound") and v.Name == "DuckSong" then
  2217.                         v.Volume = args[1]
  2218.                 end
  2219.         end
  2220. end)
  2221.  
  2222. addcmd('pitch','changes pitch of sound',{},
  2223. function(args)
  2224.         for i,v in pairs(game.Workspace:GetChildren())do
  2225.                 if v:IsA("Sound") and v.Name == "DuckSong" then
  2226.                         v.Pitch = args[1]
  2227.                 end
  2228.         end
  2229. end)
  2230.  
  2231. addcmd('explode', 'explode a player', {},
  2232. function(args)
  2233.    local players = getPlayer(args[1])
  2234.    for i, v in pairs(players) do
  2235.        local char = _char(v)
  2236.        if char:FindFirstChild("Torso") then
  2237.             Instance.new("Explosion", char).Position = char.Torso.Position                                     
  2238.        end
  2239.    end
  2240. end)
  2241.  
  2242. addcmd('invis', 'make a player invisible',{},
  2243. function(args)
  2244.    local players = getPlayer(args[1])
  2245.    for i, v in pairs(players) do
  2246.        for k, v2 in pairs(_char(v):GetChildren()) do
  2247.                         if v2.className == "Part" then
  2248.                if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  2249.            elseif v2.className == "Hat" then
  2250.                if v2:FindFirstChild("Handle") then
  2251.                    v2.Handle.Transparency = 1
  2252.                end
  2253.                         end
  2254.            if v2:FindFirstChild("face") then
  2255.                v2.face:Destroy()
  2256.                         end
  2257.                 end
  2258.    end
  2259. end)
  2260.  
  2261. addcmd('vis', 'make a player visible',{},
  2262. function(args)
  2263.    local players = getPlayer(args[1])
  2264.    for i, v in pairs(players) do
  2265.        for k, v2 in pairs(_char(v):GetChildren()) do
  2266.            if v2.className == "Part" then
  2267.                                 if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end
  2268.                                 elseif v2.className == "Hat" then
  2269.                if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  2270.            end
  2271.                         if v2:FindFirstChild("face") then
  2272.                                 v2.face:Destroy()
  2273.                         end
  2274.                 end
  2275.    end
  2276. end)
  2277.  
  2278. addcmd('goto', 'go to a player',{},
  2279. function(args)
  2280.    local players = getPlayer(args[1])
  2281.         if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  2282.                 _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  2283.         end
  2284. end)
  2285.  
  2286. addcmd('bring', 'bring a player to you',{},
  2287. function(args)
  2288.    local players = getPlayer(args[1])
  2289.         for i,v in pairs(players) do
  2290.                 if _char(v):FindFirstChild("HumanoidRootPart") then
  2291.                         _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame
  2292.                 end
  2293.         end
  2294. end)
  2295.  
  2296. addcmd('tp', 'teleport player 1 to player 2',{},
  2297. function(args)
  2298.    local players1=getPlayer(args[1])
  2299.    local players2=getPlayer(args[2])
  2300.    if not players2[1] then return end
  2301.    for i,v in pairs(players1) do
  2302.                 if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  2303.                         _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  2304.                 end            
  2305.         end
  2306. end)
  2307.  
  2308. addcmd('charapp', 'change a players appearance',{'char'},
  2309. function(args)
  2310.    local players = getPlayer(args[1])
  2311.    if not args[1]or not args[2]then return end
  2312.    local id=args[2]
  2313.         if players ~= nil then
  2314.                 for i,v in pairs(players) do
  2315.                         gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..id
  2316.                         if _char(v):FindFirstChild("Head") then
  2317.                                 _char(v).Head:Destroy()
  2318.                         end
  2319.                 end
  2320.         end
  2321. end)
  2322.  
  2323. addcmd('ws', 'change a players walkspeed',{},
  2324. function(args)
  2325.    local players = getPlayer(args[1])
  2326.    if not args[1]or not args[2]then return end
  2327.    local num=args[2]
  2328.         for i,v in pairs(players) do
  2329.                 if _char(v):FindFirstChild("Humanoid") then
  2330.                         _char(v).Humanoid.WalkSpeed=tonumber(num)
  2331.                 end
  2332.         end
  2333. end)
  2334.  
  2335. addcmd('time', 'change the time of day',{},
  2336. function(args)
  2337.    if not args[1]then return end
  2338.    local time_=tonumber(args[1])
  2339.    
  2340.    game.Lighting:SetMinutesAfterMidnight(time_*60)
  2341. end)
  2342.  
  2343. addcmd('kick', 'kick a player',{},
  2344. function(args)
  2345.    local players = getPlayer(args[1])
  2346.         for i,v in pairs(players) do
  2347.                 Notify('Kicked ' .. gPlayers[v].Name)
  2348.                 gPlayers[v]:Destroy()
  2349.         end
  2350. end)
  2351.  
  2352. addcmd('ban', 'ban a player',{},
  2353. function(args)
  2354.    local players=getPlayer(args[1])
  2355.        for i,v in pairs(players) do
  2356.        _G.Banned(gPlayers[v].Name)
  2357.        gPlayers[v]:Destroy()
  2358.    end
  2359. end)
  2360.  
  2361. addcmd('unlockws', 'unlock the whole workspace',{'unlock'},
  2362. function(args)
  2363.    local function unlock(instance)
  2364.        for i,v in pairs(instance:GetChildren()) do
  2365.            if v:IsA("BasePart") then
  2366.                v.Locked = false
  2367.            end
  2368.            unlock(v)
  2369.        end
  2370.    end
  2371.    unlock(workspace)
  2372. end)
  2373.  
  2374. addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
  2375. function(args)
  2376.   local function unanchor(instance)
  2377.        for i,v in pairs(instance:GetChildren()) do
  2378.            if v:IsA("BasePart") then
  2379.                v.Anchored=false
  2380.            end
  2381.            unanchor(v)
  2382.        end
  2383.    end
  2384.    unanchor(workspace)
  2385. end)
  2386.  
  2387. addcmd('hat', 'give player a hat ingame',{},
  2388. function(args)
  2389.    if not args[1] or not args[2] then return end
  2390.         local players = getPlayer(args[1])
  2391.    local id=args[2]
  2392.         local hat = game:GetService("InsertService"):LoadAsset(id)
  2393.         if hat:IsA("Hat") then
  2394.                 for i,v in pairs(players) do
  2395.                         hat:clone().Parent = _char(v)
  2396.                 end            
  2397.         end
  2398.         hat:Destroy()
  2399. end)
  2400.  
  2401. addcmd('gear', 'give player a gear ingame',{},
  2402. function(args)
  2403.         spawn(function()
  2404.             if not args[1] or not args[2] then return end
  2405.                 local players = getPlayer(args[1])
  2406.             local id=args[2]
  2407.                 local model = game:GetService("InsertService"):LoadAsset(id)
  2408.                 for i,v in pairs(players) do
  2409.                         for _,j in pairs(model:GetChildren()) do
  2410.                                 if j:IsA("Tool") then
  2411.                                         j:Clone().Parent = gPlayers[v].Backpack
  2412.                                 end
  2413.                         end
  2414.                 end
  2415.                 model:Destroy()
  2416.         end)
  2417. end)
  2418.  
  2419. addcmd('pstools', 'give player personal server tools',{},
  2420. function(args)
  2421.         local players = getPlayer(args[1])
  2422.         for i,v in pairs(players) do
  2423.                 gPlayers[v].PersonalServerRank = 240
  2424.         end
  2425. end)
  2426.  
  2427. addcmd('skick','kicks a player by shutting them down, takes a few seconds',{},
  2428. function(args)
  2429.         local players = getPlayer(args[1])
  2430.         for i,v in pairs(players) do
  2431.                 spawn(function()
  2432.                         gPlayers[v].PersonalServerRank = 240
  2433.                         gPlayers[v].Backpack:WaitForChild("ClassicTool")
  2434.                         gPlayers[v].PersonalServerRank = 0
  2435.                 end)
  2436.         end
  2437. end)
  2438.  
  2439. addcmd('admin', 'gives a player admin',{},
  2440. function(args)
  2441.    if not args[1]then return end
  2442.    local players = getPlayer(args[1])
  2443.    table.foreach(players,function(k,v)
  2444.        admins[v]=true
  2445.        Notify(gPlayers[v].Name .. ' has been given Admin.')
  2446.    end)
  2447.         for i,v in pairs(players) do
  2448.                 local pchar = gPlayers[v].Character
  2449.                 game.Chat:Chat(pchar.Head, "You've been given admin.")
  2450.                 wait(2.5)
  2451.                 game.Chat:Chat(pchar.Head, 'Prefix is "' .. cmdprefix .. '"')
  2452.                 wait(2.5)
  2453.                 game.Chat:Chat(pchar.Head, "[NO] ;fire me [YES] ;fire YourName")
  2454.                 wait(2.5)
  2455.                 game.Chat:Chat(pchar.Head, "You may now use commands.")
  2456.         end
  2457. end)
  2458.  
  2459. addcmd('unadmin', 'removes a players admin',{},
  2460. function(args)
  2461.    if not args[1] then return end
  2462.    local players = getPlayer(args[1])
  2463.    table.foreach(players,function(k,v)
  2464.        admins[v]=nil
  2465.        Notify(gPlayers[v].Name .. ' no longer has Admin.')
  2466.    end)
  2467. end)
  2468.  
  2469. addcmd('firstp', 'forces player to go into first person',{},
  2470. function(args)
  2471.    local players = getPlayer(args[1])
  2472.    for i,v in pairs(players)do
  2473.        gPlayers[v].CameraMode = "LockFirstPerson"
  2474.    end
  2475. end)
  2476.  
  2477. addcmd('thirdp', 'allows player to go into third person',{},
  2478. function(args)
  2479.    local players = getPlayer(args[1])
  2480.    for i,v in pairs(players)do
  2481.        gPlayers[v].CameraMode = "Classic"
  2482.    end
  2483. end)
  2484.  
  2485. addcmd('chat', 'forces player to chat what you input',{},
  2486. function(args)
  2487.    local players = getPlayer(args[1])
  2488.         local MSG = table.concat(args, " ")
  2489.         local newMSG = string.gsub(MSG, args[1] .. " ", "")
  2490.    for i,v in pairs(players)do
  2491.        game.Chat:Chat(gPlayers[v].Character.Head, newMSG)
  2492.    end
  2493. end)
  2494.  
  2495. addcmd('insert', 'inserts a model',{},
  2496. function(args)
  2497.    local model = game:GetService("InsertService"):LoadAsset(args[1])
  2498.    model.Parent = game.Workspace
  2499.    model:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  2500.    model:MakeJoints()
  2501. end)
  2502.  
  2503. addcmd('name', 'names player',{},
  2504. function(args)
  2505.    local players = getPlayer(args[1])
  2506.    local msg = table.concat(args, " ")
  2507.    local newmsg = string.gsub(msg, args[1] .. " ", "")
  2508.         for i,v in pairs(players) do
  2509.                 for a, mod in pairs(gPlayers[v].Character:children()) do
  2510.                 if mod:FindFirstChild("TAG") then
  2511.                 gPlayers[v].Character.Head.Transparency = 0
  2512.                 mod:Destroy()
  2513.                 end
  2514.                 end
  2515.                
  2516.                 local char = gPlayers[v].Character
  2517.                 local model = Instance.new("Model", char)
  2518.                 local clone = char.Head:Clone()
  2519.                 local hum = Instance.new("Humanoid", model)
  2520.                 local weld = Instance.new("Weld", clone)
  2521.                         model.Name = newmsg
  2522.                         clone.Parent = model
  2523.                         hum.Name = "TAG"
  2524.                         hum.MaxHealth = 100
  2525.                         hum.Health = 100
  2526.                         weld.Part0 = clone
  2527.                         weld.Part1 = char.Head
  2528.                         char.Head.Transparency = 1
  2529.         end
  2530. end)
  2531.  
  2532. addcmd('unname', 'unnames player',{},
  2533. function(args)
  2534.    local players = getPlayer(args[1])
  2535.    local name = (args[2])
  2536.         for i,v in pairs(players) do
  2537.                 for a, mod in pairs(gPlayers[v].Character:children()) do
  2538.                         if mod:FindFirstChild("TAG") then
  2539.                                 gPlayers[v].Character.Head.Transparency = 0
  2540.                                 mod:Destroy()
  2541.                         end
  2542.                 end
  2543.         end
  2544. end)
  2545.  
  2546. addcmd('stun', 'stuns player',{},
  2547. function(args)
  2548.    local players = getPlayer(args[1])
  2549.         for i,v in pairs(players) do
  2550.                 gPlayers[v].Character.Humanoid.PlatformStand = true
  2551.         end
  2552. end)
  2553.  
  2554. addcmd('unstun', 'stuns player',{},
  2555. function(args)
  2556.    local players = getPlayer(args[1])
  2557.         for i,v in pairs(players) do
  2558.                 gPlayers[v].Character.Humanoid.PlatformStand = false
  2559.         end
  2560. end)
  2561.  
  2562. addcmd('sit', 'stuns player',{},
  2563. function(args)
  2564.    local players = getPlayer(args[1])
  2565.         for i,v in pairs(players) do
  2566.                 gPlayers[v].Character.Humanoid.Sit = true
  2567.         end
  2568. end)
  2569.  
  2570. addcmd('guest', 'ew a guest',{},
  2571. function(args)
  2572.         local players = getPlayer(args[1])
  2573.         for i,v in pairs(players) do
  2574.                 gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1"
  2575.                 gPlayers[v].Character:BreakJoints()
  2576.         end
  2577. end)
  2578.  
  2579. addcmd('damage', 'damages a player',{},
  2580. function(args)
  2581.         local players = getPlayer(args[1])
  2582.         for i,v in pairs(players) do
  2583.                 gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
  2584.         end
  2585. end)
  2586.  
  2587. addcmd('view', 'views player',{},
  2588. function(args)
  2589.         local players = getPlayer(args[1])
  2590.         for i,v in pairs(players) do
  2591.                 game.Workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
  2592.         end
  2593. end)
  2594.  
  2595. addcmd('unview', 'stops viewing player',{},
  2596. function()
  2597.         game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  2598. end)
  2599.  
  2600. addcmd('nolimbs', 'removes limbs from player',{},
  2601. function(args)
  2602.         local players = getPlayer(args[1])
  2603.         for i,v in pairs(players) do
  2604.                 for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  2605.                         if v:IsA("BasePart") and
  2606.                                 v.Name == "Right Leg" or
  2607.                                 v.Name == "Left Leg" or
  2608.                                 v.Name == "Right Arm" or
  2609.                                 v.Name == "Left Arm" then
  2610.                                 v:Remove()
  2611.                         end
  2612.                 end
  2613.         end    
  2614. end)
  2615.  
  2616. addcmd('box', 'creates a box around player',{},
  2617. function(args)
  2618.    local players = getPlayer(args[1])
  2619.    for i,v in pairs(players)do
  2620.        local pchar=_char(v)
  2621.        local SB = Instance.new("SelectionBox", pchar)
  2622.        SB.Adornee = SB.Parent
  2623.        SB.Color = BrickColor.new("" .. (args[2]))
  2624.    end
  2625. end)
  2626.  
  2627. addcmd('nobox', 'takes away box from player',{'unbox'},
  2628. function(args)
  2629.    local players = getPlayer(args[1])
  2630.    for i,v in pairs(players)do
  2631.        local pchar=_char(v)
  2632.        for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  2633.                         if v:IsA("SelectionBox") then
  2634.                                 v:Destroy()
  2635.                         end
  2636.             end
  2637.    end
  2638. end)
  2639.  
  2640. addcmd('ghost', 'ghostifys player',{},
  2641. function(args)
  2642.    local players = getPlayer(args[1])
  2643.    for i,v in pairs(players)do
  2644.        local pchar=gPlayers[v].Character
  2645.        pchar.Head.Transparency = 0.5
  2646.        pchar.Torso.Transparency = 0.5
  2647.        pchar["Left Arm"].Transparency = 0.5
  2648.        pchar["Right Arm"].Transparency = 0.5
  2649.        pchar["Left Leg"].Transparency = 0.5
  2650.        pchar["Right Leg"].Transparency = 0.5
  2651.        pchar.Head.face.Transparency = 0.5
  2652.    end
  2653. end)
  2654.  
  2655. addcmd('sphere', 'puts sphere around player',{},
  2656. function(args)
  2657.    local players = getPlayer(args[1])
  2658.    for i,v in pairs(players)do
  2659.        local pchar=gPlayers[v].Character
  2660.        local SS = Instance.new("SelectionSphere", pchar)
  2661.        SS.Adornee = SS.Parent
  2662.    end
  2663. end)
  2664.  
  2665. addcmd('loadmap','loads map from model',{},
  2666. function(args)
  2667.    pcall(function()
  2668.         for i,v in pairs(workspace:GetChildren()) do
  2669.                 if v.Name~="Camera" and v.Name~="Terrain" then
  2670.                         v:Destroy()
  2671.                 end
  2672.         end
  2673.         workspace.Terrain:Clear()
  2674.         for i,v in pairs(game.Players:GetChildren()) do
  2675.                 local plr = v
  2676.                 local prt = Instance.new("Model", workspace)
  2677.                 Instance.new("Part", prt).Name="Torso"
  2678.                 Instance.new("Part", prt).Name="Head"
  2679.                 Instance.new("Humanoid", prt).Name="Humanoid"
  2680.                 plr.Character = prt
  2681.         end
  2682.         if (args[1]) == "sfotho" then
  2683.             local b = Insert(296400126, game.Workspace, "sfotho")
  2684.             b:MakeJoints()
  2685.         end
  2686.         local b = Insert(args[1], game.Workspace, "LoadedMap")
  2687.         b:MakeJoints()
  2688. end)
  2689. Notify('Loaded Map')
  2690. end)
  2691.  
  2692. addcmd('sky','changes skybox',{},
  2693. function(args)
  2694.    pcall(function()
  2695.             local ID = (args[1])
  2696.                 local sky = Instance.new("Sky", game.Lighting)
  2697.                 sky.SkyboxBk = "rbxassetid://" .. ID
  2698.                 sky.SkyboxDn = "rbxassetid://" .. ID
  2699.                 sky.SkyboxFt = "rbxassetid://" .. ID
  2700.                 sky.SkyboxLf = "rbxassetid://" .. ID
  2701.                 sky.SkyboxRt = "rbxassetid://" .. ID
  2702.                 sky.SkyboxUp = "rbxassetid://" .. ID
  2703.         end)
  2704. end)
  2705.  
  2706. addcmd('ambient','changes ambient',{},
  2707. function(args)
  2708.         game.Lighting.Ambient = Color3.new(args[1],args[2],args[3])
  2709. end)
  2710.  
  2711. addcmd('gui','gives YourMom GUI',{},
  2712. function(args)
  2713.         loadstring(Insert(289110135, game.CoreGui.RobloxGui).Source)()
  2714. end)
  2715.  
  2716. addcmd('jail','jails player',{},
  2717. function(args)
  2718.         local players = getPlayer(args[1])
  2719.    for i,v in pairs(players)do
  2720.        local pchar=gPlayers[v].Character
  2721.        local JailPlayer = DATA.JAIL:Clone()
  2722.             JailPlayer.Parent = game.Workspace
  2723.             JailPlayer:MoveTo(pchar.Torso.Position)
  2724.             JailPlayer.Name = "JAIL_" .. gPlayers[v].Name
  2725.                 if pchar:FindFirstChild("HumanoidRootPart") then
  2726.                         pchar.HumanoidRootPart.CFrame = JailPlayer.MAIN.CFrame
  2727.                 end            
  2728.    end
  2729. end)
  2730.  
  2731. addcmd('unjail','unjails player',{},
  2732. function(args)
  2733.         local players = getPlayer(args[1])
  2734.         for i,v in pairs(players)do
  2735.                 game.Workspace["JAIL_" .. gPlayers[v].Name]:Destroy()
  2736.         end
  2737. end)
  2738.  
  2739. addcmd('shutdown', 'shuts the server down',{},
  2740. function(args)
  2741.         local function ShutDown(Base)
  2742.                 for i,v in pairs(Base:GetChildren()) do
  2743.                         v:Destroy()
  2744.                 end
  2745.         end
  2746.         ShutDown(game.Players)
  2747. end)
  2748.  
  2749. addcmd('animation','makes player animate',{'anim'},
  2750. function(args)
  2751.    local players = getPlayer(args[1])
  2752.    for i,v in pairs(players)do
  2753.             local pchar = gPlayers[v].Character
  2754.        local ID = args[2]
  2755.  
  2756.        if args[2] == "climb" then
  2757.                 ID = "180436334"
  2758.    end
  2759.        if args[2] == "fall" then
  2760.                 ID = "180436148"
  2761.    end
  2762.        if args[2] == "jump" then
  2763.                 ID = "125750702"
  2764.    end
  2765.        if args[2] == "sit" then
  2766.                 ID = "178130996"
  2767.    end
  2768.        for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
  2769.            if x:IsA("StringValue") then
  2770.                for _,c in pairs(x:GetChildren()) do
  2771.                         if c:IsA("Animation") then
  2772.                             c.AnimationId = "rbxassetid://" .. ID
  2773.                         end
  2774.                     end
  2775.            end
  2776.        end
  2777.    end
  2778. end)
  2779.  
  2780. addcmd('fix','turns player back to normal',{},
  2781. function(args)
  2782.    local players = getPlayer(args[1])
  2783.    for i,v in pairs(players)do
  2784.                 local pchar = gPlayers[v].Character
  2785.                
  2786.             pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2787.             pchar.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(0,math.rad(90),0)
  2788.             pchar.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.Angles(0,math.rad(-90),0)
  2789.             pchar.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  2790.             pchar.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  2791.        
  2792.             for i,v in pairs(pchar.Head:GetChildren()) do
  2793.                     if v:IsA("SpecialMesh") then
  2794.                             v:Destroy()
  2795.                     end
  2796.             end
  2797.        
  2798.                 for i,v in pairs(pchar:GetChildren()) do
  2799.                         if v:IsA("Shirt") then
  2800.                                 v:Destroy()
  2801.                         end
  2802.                 end
  2803.                
  2804.                 for i,v in pairs(pchar:GetChildren()) do
  2805.                         if v:IsA("Pants") then
  2806.                                 v:Destroy()
  2807.                         end
  2808.                 end
  2809.                
  2810.                 if Player.Character:FindFirstChild("Shirt Graphic") ~= nil then
  2811.                         Player.Character["Shirt Graphic"].Graphic = ""
  2812.                 end
  2813.                
  2814.                 local HeadMesh = Instance.new("SpecialMesh", pchar.Head)
  2815.                 HeadMesh.MeshType = "Head"
  2816.                 HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  2817.                
  2818.                 pchar.Head.Transparency = 0
  2819.                 pchar.Torso.Transparency = 0
  2820.                 pchar["Left Arm"].Transparency = 0
  2821.                 pchar["Right Arm"].Transparency = 0
  2822.                 pchar["Left Leg"].Transparency = 0
  2823.                 pchar["Right Leg"].Transparency = 0
  2824.                
  2825.                 for i,v in pairs(pchar.Head:GetChildren()) do
  2826.                         if v:IsA("Decal") then
  2827.                                 v:Destroy()
  2828.                         end
  2829.                 end
  2830.                
  2831.                 local face = Instance.new("Decal", pchar.Head)
  2832.                 face.Name = "face"
  2833.                 face.Texture = "rbxasset://textures/face.png"
  2834.                 face.Face = "Front"
  2835.                
  2836.                 for i,v in pairs(pchar:GetChildren()) do
  2837.                         if v:IsA("Seat") then
  2838.                                 v:Destroy()
  2839.                         end
  2840.                 end
  2841.                
  2842.                 for i,v in pairs(pchar.Torso:GetChildren()) do
  2843.                         if v:IsA("Weld") then
  2844.                                 v:Destroy()
  2845.                         end
  2846.                 end
  2847.                
  2848.                 for i,v in pairs(pchar.Torso:GetChildren()) do
  2849.                         if v:IsA("SpecialMesh") then
  2850.                                 v:Destroy()
  2851.                         end
  2852.                 end
  2853.                
  2854.                 pchar["Body Colors"].HeadColor = BrickColor.new("Cool yellow")
  2855.                 pchar["Body Colors"].LeftArmColor = BrickColor.new("Cool yellow")
  2856.                 pchar["Body Colors"].LeftLegColor = BrickColor.new("Medium blue")
  2857.                 pchar["Body Colors"].RightArmColor = BrickColor.new("Cool yellow")
  2858.                 pchar["Body Colors"].RightLegColor = BrickColor.new("Medium blue")
  2859.                 pchar["Body Colors"].TorsoColor = BrickColor.new("Bright blue")
  2860.                 for _,v in pairs(Player.Character:GetChildren()) do
  2861.                         if v:IsA("Hat") then
  2862.                                 v:Destroy()
  2863.                         end
  2864.                 end
  2865.    end
  2866. end)
  2867.  
  2868. addcmd('creeper','make the player a creeper',{'crpr'},
  2869. function(args)
  2870.    local players = getPlayer(args[1])
  2871.    for i,v in pairs(players)do
  2872.         local pchar = gPlayers[v].Character
  2873.        if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
  2874.            if pchar:FindFirstChild("Shirt") then
  2875.                     pchar.Shirt.Parent = pchar.Torso
  2876.            end
  2877.            if pchar:FindFirstChild("Pants") then
  2878.                     pchar.Pants.Parent = pchar.Torso
  2879.            end
  2880.            if pchar:FindFirstChild("Shirt Graphic") then
  2881.                     pchar["Shirt Graphic"].Graphic = ""
  2882.            end
  2883.            for i,v in pairs(pchar:GetChildren()) do
  2884.                     if v:IsA("Hat") then
  2885.                             v:Destroy()
  2886.                     end
  2887.            end
  2888.            pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2889.            pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  2890.            pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  2891.            pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  2892.            pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  2893.            pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  2894.            pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  2895.            pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  2896.            pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  2897.            pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  2898.            pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  2899.        end
  2900.    end
  2901. end)
  2902.  
  2903. addcmd('uncreeper','makes player back to normal',{},
  2904. function(args)
  2905.         local players = getPlayer(args[1])
  2906.         for i,v in pairs(players)do
  2907.             execCmd("fix " .. gPlayers[v].Name, Player)
  2908.         end
  2909. end)
  2910.  
  2911. addcmd('shrek', 'makes player shrek',{},
  2912. function(args)
  2913.         local players = getPlayer(args[1])
  2914.         for i,v in pairs(players) do
  2915.                 local pchar = gPlayers[v].Character
  2916.                 for i,v in pairs(pchar:GetChildren()) do
  2917.                         if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  2918.                                 v:Destroy()
  2919.                         end
  2920.                 end
  2921.                 for i,v in pairs(pchar.Head:GetChildren()) do
  2922.                         if v:IsA("Decal") or v:IsA("SpecialMesh") then
  2923.                                 v:Destroy()
  2924.                         end
  2925.                 end
  2926.                
  2927.                 local mesh = Instance.new("SpecialMesh", pchar.Head)
  2928.                 mesh.MeshType = "FileMesh"
  2929.                 pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  2930.                 pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  2931.                 pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  2932.                
  2933.                 local Shirt = Instance.new("Shirt", gPlayers[v].Character)
  2934.                 local Pants = Instance.new("Pants", gPlayers[v].Character)
  2935.                
  2936.                 Shirt.ShirtTemplate = "rbxassetid://133078194"
  2937.                 Pants.PantsTemplate = "rbxassetid://133078204"
  2938.         end
  2939. end)
  2940.  
  2941. addcmd('unshrek','makes player back to normal',{},
  2942. function(args)
  2943.         local players = getPlayer(args[1])
  2944.         for i,v in pairs(players)do
  2945.             execCmd("fix " .. gPlayers[v].Name, Player)
  2946.         end
  2947. end)
  2948.  
  2949. local Spamming = false
  2950.  
  2951. addcmd('spam','spams text',{},
  2952. function(args)
  2953.         Spamming = true
  2954.         spawn(function()
  2955.                 while wait(0) do
  2956.                         if Spamming == true then
  2957.                     while wait(0.1) do
  2958.                             if Spamming == true then
  2959.                                     game.Players:Chat(""  .. args[1])
  2960.                         elseif Spamming == false then
  2961.                                     return
  2962.                                 end
  2963.                             end
  2964.                 end
  2965.             end
  2966.         end)
  2967. end)
  2968.  
  2969. addcmd('nospam','stops spamming',{},
  2970. function(args)
  2971.         Spamming = false
  2972. end)
  2973.  
  2974. addcmd('control','controls player',{},
  2975. function(args)
  2976.         local players = getPlayer(args[1])
  2977.         for i,v in pairs(players)do
  2978.                 local pchar = gPlayers[v].Character
  2979.                 if gPlayers[v] and pchar then
  2980.                         pchar.Humanoid.PlatformStand = true
  2981.                         local w = Instance.new("Weld", Player.Character.Torso)
  2982.                         w.Part0 = Player.Character.Torso
  2983.                         w.Part1 = pchar.Torso  
  2984.                         local w2 = Instance.new("Weld", Player.Character.Head)
  2985.                         w2.Part0 = Player.Character.Head
  2986.                         w2.Part1 = pchar.Head  
  2987.                         local w3 = Instance.new("Weld", Player.Character:findFirstChild("Right Arm"))
  2988.                         w3.Part0 = Player.Character:findFirstChild("Right Arm")
  2989.                         w3.Part1 = pchar:findFirstChild("Right Arm")
  2990.                         local w4 = Instance.new("Weld", Player.Character:findFirstChild("Left Arm"))
  2991.                         w4.Part0 = Player.Character:findFirstChild("Left Arm")
  2992.                         w4.Part1 = pchar:findFirstChild("Left Arm")
  2993.                         local w5 = Instance.new("Weld", Player.Character:findFirstChild("Right Leg"))
  2994.                         w5.Part0 = Player.Character:findFirstChild("Right Leg")
  2995.                         w5.Part1 = pchar:findFirstChild("Right Leg")
  2996.                         local w6 = Instance.new("Weld", Player.Character:findFirstChild("Left Leg"))
  2997.                         w6.Part0 = Player.Character:findFirstChild("Left Leg")
  2998.                         w6.Part1 = pchar:findFirstChild("Left Leg")
  2999.                         char.Head.face:Destroy()
  3000.                         for i,v in pairs(pchar:GetChildren()) do
  3001.                                 if v:IsA("BasePart") then
  3002.                                         v.CanCollide = false
  3003.                                 end
  3004.                         end
  3005.                         for i,v in pairs(char:GetChildren()) do
  3006.                                 if v:IsA("BasePart") then
  3007.                                         v.Transparency = 1
  3008.                                 elseif v:IsA("Hat") then
  3009.                                         v:Destroy()
  3010.                                 end
  3011.                         end
  3012.                         pchar.Parent = char
  3013.                         pchar.Humanoid.Changed:connect(function()
  3014.                                 pchar.Humanoid.PlatformStand = true
  3015.                         end)
  3016.                 end
  3017.                 end
  3018. end)
  3019.  
  3020. addcmd('nuke','nukes player',{},
  3021. function(args)
  3022.         local players = getPlayer(args[1])
  3023.         for i,v in pairs(players)do
  3024.                 local pchar = gPlayers[v].Character
  3025.                 if gPlayers[v] and pchar and pchar:FindFirstChild("Torso")  then
  3026.                         local nuke = Instance.new("Part", game.Workspace)
  3027.                         nuke.Anchored = true
  3028.                         nuke.CanCollide = false
  3029.                         nuke.FormFactor = "Symmetric"
  3030.                         nuke.Shape = "Ball"
  3031.                         nuke.Size = Vector3.new(1,1,1)
  3032.                         nuke.BrickColor = BrickColor.new("New Yeller")
  3033.                         nuke.Transparency = 0.5
  3034.                         nuke.Reflectance = 0.2
  3035.                         nuke.TopSurface = 0
  3036.                         nuke.BottomSurface = 0
  3037.                         nuke.Touched:connect(function (hit)
  3038.                                 if hit and hit.Parent then
  3039.                                         local boom = Instance.new("Explosion", game.Workspace)
  3040.                                         boom.Position = hit.Position
  3041.                                         boom.BlastRadius = 11
  3042.                                         boom.BlastPressure = math.huge
  3043.                                 end
  3044.                         end)
  3045.                         local CF = pchar.Torso.CFrame
  3046.                         nuke.CFrame = CF
  3047.                         for i = 1,333 do
  3048.                                 nuke.Size = nuke.Size + Vector3.new(3,3,3)
  3049.                                 nuke.CFrame = CF
  3050.                                 wait(1/44)
  3051.                         end
  3052.                         nuke:Destroy()
  3053.                 end
  3054.         end
  3055. end)
  3056.  
  3057. addcmd('infect','infects player',{},
  3058. function(args)
  3059.         local players = getPlayer(args[1])
  3060.         for i,v in pairs(players)do
  3061.                 function infect(rip)
  3062.                 local pchar = gPlayers[v].Character
  3063.                         for i,v in pairs(pchar:GetChildren()) do
  3064.                                 if v:IsA("Hat") or v:IsA("Shirt") or v:IsA("Pants") then
  3065.                                         v:Destroy()
  3066.                                 end
  3067.                         end
  3068.                         if pchar.Torso:FindFirstChild("roblox") then
  3069.                                 pchar.Torso.roblox:Destroy()
  3070.                         end
  3071.                         if pchar.Head:FindFirstChild("face") then
  3072.                                 pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
  3073.                         end
  3074.                         if pchar:FindFirstChild("Body Colors") then
  3075.                                 local Colors = pchar["Body Colors"]
  3076.                                 local Skin = BrickColor.new("Pastel green")
  3077.                                 local Clothes = BrickColor.new("Reddish brown")
  3078.                                 Colors.HeadColor = Skin
  3079.                                 Colors.LeftArmColor = Skin
  3080.                                 Colors.RightArmColor = Skin
  3081.                                 Colors.LeftLegColor = Clothes
  3082.                                 Colors.RightLegColor = Clothes
  3083.                                 Colors.TorsoColor = Clothes
  3084.                         end
  3085.                         local w1 = Instance.new("Weld", pchar)
  3086.                         w1.Part0 = pchar["Right Arm"]
  3087.                         w1.Part1 = pchar.Torso
  3088.                         w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  3089.                         local w2 = Instance.new("Weld", pchar)
  3090.                         w2.Part0 = pchar["Left Arm"]
  3091.                         w2.Part1 = pchar.Torso
  3092.                         w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  3093.                         local rip = false
  3094.                         local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
  3095.                                 if connect1 == false then
  3096.                                         connect1 = true
  3097.                                         if game.Players:FindFirstChild(hit.Parent.Name) then
  3098.                                                 infect(game.Players[hit.Parent.Name])
  3099.                                         end
  3100.                                         wait(0.5)
  3101.                                         connect1 = true
  3102.                                 end
  3103.                         end)
  3104.                         local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
  3105.                                 if connect2 == false then
  3106.                                         connect2 = true
  3107.                                         if game.Players:FindFirstChild(hit.Parent.Name) then
  3108.                                                 infect(game.Players[hit.Parent.Name])
  3109.                                         end
  3110.                                         wait(0.5)
  3111.                                         connect2 = true
  3112.                                 end
  3113.                         end)
  3114.                         local IV = Instance.new("IntValue", pchar)
  3115.                         IV.Name = "Infected"
  3116.                         IV.Value = 0
  3117.                         IV.Changed:connect(function()
  3118.                                 connect1:disconnect()
  3119.                                 connect2:disconnect()
  3120.                         end)
  3121.                 end
  3122.                 infect(v)
  3123.         end
  3124. end)
  3125.  
  3126. addcmd('uninfect','makes player back to normal',{},
  3127. function(args)
  3128.         local players = getPlayer(args[1])
  3129.         for i,v in pairs(players)do
  3130.             execCmd("fix " .. gPlayers[v].Name, Player)
  3131.         end
  3132. end)
  3133.  
  3134. addcmd('duck','makes players head a duck',{},
  3135. function(args)
  3136.         local players = getPlayer(args[1])
  3137.         for i,v in pairs(players)do
  3138.             local pchar = gPlayers[v].Character
  3139.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3140.                     if v:IsA("Decal") then
  3141.                             v:Destroy()
  3142.                     end
  3143.             end
  3144.             for i,v in pairs(pchar:GetChildren()) do
  3145.                     if v:IsA("Hat") then
  3146.                             v:Destroy()
  3147.                     end
  3148.             end
  3149.             local duck = Instance.new("SpecialMesh", pchar.Torso)
  3150.             duck.MeshType = "FileMesh"
  3151.             duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  3152.             duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  3153.             duck.Scale = Vector3.new(5, 5, 5)
  3154.             pchar.Head.Transparency = 1
  3155.             pchar["Left Arm"].Transparency = 1
  3156.             pchar["Right Arm"].Transparency = 1
  3157.             pchar["Left Leg"].Transparency = 1
  3158.             pchar["Right Leg"].Transparency = 1
  3159.             pchar.Head.face.Transparency = 1
  3160.         end
  3161. end)
  3162.  
  3163. addcmd('unduck','makes player back to normal',{},
  3164. function(args)
  3165.         local players = getPlayer(args[1])
  3166.         for i,v in pairs(players)do
  3167.             execCmd("fix " .. gPlayers[v].Name, Player)
  3168.         end
  3169. end)
  3170.  
  3171. addcmd('disable','removes players humanoid',{},
  3172. function(args)
  3173.         local players = getPlayer(args[1])
  3174.         for i,v in pairs(players)do
  3175.                 local pchar = gPlayers[v].Character
  3176.             if pchar:FindFirstChild("Humanoid") then
  3177.                    pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
  3178.                    local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
  3179.                    humanoid.Parent = game.ContextActionService
  3180.             end
  3181.         end
  3182. end)
  3183.  
  3184. addcmd('enable','gives player humanoid',{},
  3185. function(args)
  3186.         local players = getPlayer(args[1])
  3187.         for i,v in pairs(players)do
  3188.                 local pchar = gPlayers[v].Character
  3189.             if pchar:FindFirstChild("Humanoid") then
  3190.                     return
  3191.             else
  3192.                     local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
  3193.                     humanoid.Parent = pchar
  3194.                     humanoid.Name = "Humanoid"
  3195.             end
  3196.         end
  3197. end)
  3198.  
  3199. addcmd('size','changes size of player',{},
  3200. function(args)
  3201.         local players = getPlayer(args[1])
  3202.         for i,v in pairs(players)do
  3203.         local pchar = gPlayers[v].Character
  3204.                 local function scale(chr,scl)
  3205.                
  3206.                         for _,v in pairs(pchar:GetChildren()) do
  3207.                                 if v:IsA("Hat") then
  3208.                                         v:Clone()
  3209.                                         v.Parent = game.Lighting
  3210.                                 end
  3211.                         end
  3212.                                
  3213.                     local Head = chr['Head']
  3214.                     local Torso = chr['Torso']
  3215.                     local LA = chr['Left Arm']
  3216.                     local RA = chr['Right Arm']
  3217.                     local LL = chr['Left Leg']
  3218.                     local RL = chr['Right Leg']
  3219.                     local HRP = chr['HumanoidRootPart']
  3220.                
  3221.                     wait(0.1)
  3222.                    
  3223.                     Head.formFactor = 3
  3224.                     Torso.formFactor = 3
  3225.                     LA.formFactor = 3
  3226.                     RA.formFactor = 3
  3227.                     LL.formFactor = 3
  3228.                     RL.formFactor = 3
  3229.                     HRP.formFactor = 3
  3230.                    
  3231.                     Head.Size = Vector3.new(scl * 2, scl, scl)
  3232.                     Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  3233.                     LA.Size = Vector3.new(scl, scl * 2, scl)
  3234.                     RA.Size = Vector3.new(scl, scl * 2, scl)
  3235.                     LL.Size = Vector3.new(scl, scl * 2, scl)
  3236.                     RL.Size = Vector3.new(scl, scl * 2, scl)
  3237.                     HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  3238.                    
  3239.                     local Motor1 = Instance.new('Motor6D', Torso)
  3240.                     Motor1.Part0 = Torso
  3241.                     Motor1.Part1 = Head
  3242.                 Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  3243.                 Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  3244.                 Motor1.Name = "Neck"
  3245.                                    
  3246.                 local Motor2 = Instance.new('Motor6D', Torso)
  3247.                 Motor2.Part0 = Torso
  3248.                 Motor2.Part1 = LA
  3249.                 Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  3250.                 Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  3251.                 Motor2.Name = "Left Shoulder"
  3252.                
  3253.                 local Motor3 = Instance.new('Motor6D', Torso)
  3254.                         Motor3.Part0 = Torso
  3255.                 Motor3.Part1 = RA
  3256.                 Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  3257.                 Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  3258.                 Motor3.Name = "Right Shoulder"
  3259.                
  3260.                 local Motor4 = Instance.new('Motor6D', Torso)
  3261.                 Motor4.Part0 = Torso
  3262.                 Motor4.Part1 = LL
  3263.                 Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  3264.                 Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  3265.                 Motor4.Name = "Left Hip"
  3266.                
  3267.                 local Motor5 = Instance.new('Motor6D', Torso)
  3268.                 Motor5.Part0 = Torso
  3269.                 Motor5.Part1 = RL
  3270.                 Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  3271.                 Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  3272.                 Motor5.Name = "Right Hip"
  3273.                
  3274.                 local Motor6 = Instance.new('Motor6D', HRP)
  3275.                 Motor6.Part0 = HRP
  3276.                 Motor6.Part1 = Torso
  3277.                 Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  3278.                 Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  3279.                    
  3280.                 end
  3281.                
  3282.                 scale(pchar, args[2])
  3283.        
  3284.                 for _,v in pairs(game.Lighting:GetChildren()) do
  3285.                         if v:IsA("Hat") then
  3286.                                 v.Parent = pchar
  3287.                         end
  3288.                 end
  3289.         end
  3290. end)
  3291.  
  3292. addcmd('confuse','reverses players speed',{'reverse'},
  3293. function(args)
  3294.         local players = getPlayer(args[1])
  3295.         for i,v in pairs(players)do
  3296.             local pchar = gPlayers[v].Character
  3297.             pchar.Humanoid.WalkSpeed = tonumber(-16)
  3298.         end
  3299. end)
  3300.  
  3301. addcmd('unconfuse','reverses players speed',{'unreverse'},
  3302. function(args)
  3303.         local players = getPlayer(args[1])
  3304.         for i,v in pairs(players)do
  3305.             local pchar = gPlayers[v].Character
  3306.             pchar.Humanoid.WalkSpeed = tonumber(16)
  3307.         end
  3308. end)
  3309.  
  3310. addcmd('clone','clones player',{},
  3311. function(args)
  3312.         local players = getPlayer(args[1])
  3313.         for i,v in pairs(players)do
  3314.             local pchar = gPlayers[v].Character
  3315.             pchar.Archivable = true
  3316.             local clone = pchar:Clone()
  3317.             clone.Parent = game.Workspace
  3318.             clone:MoveTo(pchar:GetModelCFrame().p)
  3319.             clone:MakeJoints()
  3320.             pchar.Archivable = false
  3321.         end
  3322. end)
  3323.  
  3324. addcmd('spin','spins player',{},
  3325. function(args)
  3326.         local players = getPlayer(args[1])
  3327.         for i,v in pairs(players)do
  3328.             local pchar = gPlayers[v].Character
  3329.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3330.                     if v.Name == "Spinning" then
  3331.                             v:Destroy()
  3332.                     end
  3333.             end
  3334.             local Torso = pchar.Torso
  3335.             local BG = Instance.new("BodyGyro", Torso)
  3336.             BG.Name = "Spinning"
  3337.             BG.maxTorque = Vector3.new(0, math.huge, 0)
  3338.             BG.P = 11111
  3339.             BG.cframe = Torso.CFrame
  3340.             repeat wait(1/44)
  3341.                     BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  3342.             until not BG or BG.Parent ~= Torso
  3343.         end
  3344. end)
  3345.  
  3346. addcmd('unspin','stops spinning player',{},
  3347. function(args)
  3348.         local players = getPlayer(args[1])
  3349.         for i,v in pairs(players)do
  3350.             local pchar = gPlayers[v].Character
  3351.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3352.                     if v.Name == "Spinning" then
  3353.                             v:Destroy()
  3354.                     end
  3355.             end
  3356.         end
  3357. end)
  3358.  
  3359. addcmd('dog','makes player a dog',{},
  3360. function(args)
  3361.         local players = getPlayer(args[1])
  3362.         for i,v in pairs(players)do
  3363.             local pchar = gPlayers[v].Character
  3364.             if pchar:FindFirstChild("Shirt") then
  3365.                     pchar.Shirt:Destroy()
  3366.             end
  3367.             if pchar:FindFirstChild("Pants") then
  3368.                     pchar.Pants:Destroy()
  3369.             end
  3370.             if pchar:FindFirstChild("Shirt Graphic") then
  3371.                     pchar["Shirt Graphic"].Graphic = ""
  3372.             end
  3373.             pchar.Torso.Transparency = 1
  3374.             pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  3375.             pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  3376.             pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  3377.             pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  3378.             pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  3379.             local FakeTorso = Instance.new("Seat", pchar)
  3380.             FakeTorso.Name = "FakeTorso"
  3381.             FakeTorso.FormFactor = "Symmetric"
  3382.             FakeTorso.TopSurface = 0
  3383.             FakeTorso.BottomSurface = 0
  3384.             FakeTorso.Size = Vector3.new(3,1,4)
  3385.             FakeTorso.BrickColor = BrickColor.new("Brown")
  3386.             FakeTorso.CFrame = pchar.Torso.CFrame
  3387.             local BF = Instance.new("BodyForce", FakeTorso)
  3388.             BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
  3389.             local W = Instance.new("Weld", pchar.Torso)
  3390.             W.Part0 = pchar.Torso
  3391.             W.Part1 = FakeTorso
  3392.             W.C0 = CFrame.new(0,-.5,0)
  3393.             local BC = pchar["Body Colors"]
  3394.             BC.HeadColor = BrickColor.new("Brown")
  3395.             BC.LeftArmColor = BrickColor.new("Brown")
  3396.             BC.LeftLegColor = BrickColor.new("Brown")
  3397.             BC.RightArmColor = BrickColor.new("Brown")
  3398.             BC.RightLegColor = BrickColor.new("Brown")
  3399.             BC.TorsoColor = BrickColor.new("Brown")
  3400.         end
  3401. end)
  3402.  
  3403. addcmd('undog','makes player back to normal',{},
  3404. function(args)
  3405.         local players = getPlayer(args[1])
  3406.         for i,v in pairs(players)do
  3407.             execCmd("fix " .. gPlayers[v].Name, Player)
  3408.         end
  3409. end)
  3410.  
  3411. addcmd('tptool','gives player tptool',{''},
  3412. function(args)
  3413.         local tool = DATA.Teleport:Clone()
  3414.         tool.Parent = Player.Backpack
  3415. end)
  3416.  
  3417. addcmd('loopsit','loop sits player',{},
  3418. function(args)
  3419.         local players = getPlayer(args[1])
  3420.         for i,v in pairs(players)do
  3421.             local pchar = gPlayers[v].Character
  3422.             if pchar:FindFirstChild("LoopSit") then
  3423.                     pchar.LoopSit.Name = "NotLoopSit"
  3424.                     wait(0.1)
  3425.                     pchar.NotLoopSit:Destroy()
  3426.             end
  3427.             local LoopSit = Instance.new("StringValue", pchar)
  3428.             LoopSit.Name = "LoopSit"
  3429.             repeat wait(0.1)
  3430.                     pchar.Humanoid.Sit = true
  3431.             until LoopSit.Name == "NotLoopSit"
  3432.         end
  3433. end)
  3434.  
  3435. addcmd('unloopsit','stops loop sit on player',{'noloopsit'},
  3436. function(args)
  3437.         local players = getPlayer(args[1])
  3438.         for i,v in pairs(players)do
  3439.             local pchar = gPlayers[v].Character
  3440.             if pchar:FindFirstChild("LoopSit") then
  3441.                     pchar.LoopSit.Name = "NotLoopSit"
  3442.                     wait(0.1)
  3443.                     pchar.NotLoopSit:Destroy()
  3444.             end
  3445.         end
  3446. end)
  3447.  
  3448. addcmd('loopjump','loop jumps player',{},
  3449. function(args)
  3450.         local players = getPlayer(args[1])
  3451.         for i,v in pairs(players)do
  3452.             local pchar = gPlayers[v].Character
  3453.             if pchar:FindFirstChild("LoopJump") then
  3454.                     pchar.LoopJump.Name = "NotLoopJump"
  3455.                     wait(0.1)
  3456.                     pchar.NotLoopJump:Destroy()
  3457.             end
  3458.             local LoopJump = Instance.new("StringValue", pchar)
  3459.             LoopJump.Name = "LoopJump"
  3460.             repeat wait(0.1)
  3461.                     pchar.Humanoid.Jump = true
  3462.             until LoopJump.Name == "NotLoopJump"
  3463.         end
  3464. end)
  3465.  
  3466. addcmd('unloopjump','stops loop jump on player',{'noloopjump'},
  3467. function(args)
  3468.         local players = getPlayer(args[1])
  3469.         for i,v in pairs(players)do
  3470.             local pchar = gPlayers[v].Character
  3471.             if pchar:FindFirstChild("LoopJump") then
  3472.                     pchar.LoopJump.Name = "NotLoopJump"
  3473.                     wait(0.1)
  3474.                     pchar.NotLoopJump:Destroy()
  3475.             end
  3476.         end
  3477. end)
  3478.  
  3479. addcmd('loopheal','loop heals player',{},
  3480. function(args)
  3481.         local players = getPlayer(args[1])
  3482.         for i,v in pairs(players)do
  3483.             local pchar = gPlayers[v].Character
  3484.             if pchar:FindFirstChild("LoopHeal") then
  3485.                     pchar.LoopHeal.Name = "NotLoopHeal"
  3486.                     wait(0.1)
  3487.                     pchar.NotLoopHeal:Destroy()
  3488.             end
  3489.             local LoopHeal = Instance.new("StringValue", pchar)
  3490.             LoopHeal.Name = "LoopHeal"
  3491.             repeat wait(0.1)
  3492.                     pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
  3493.             until LoopHeal.Name == "NotLoopHeal"
  3494.         end
  3495. end)
  3496.  
  3497. addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
  3498. function(args)
  3499.         local players = getPlayer(args[1])
  3500.         for i,v in pairs(players)do
  3501.             local pchar = gPlayers[v].Character
  3502.             if pchar:FindFirstChild("LoopHeal") then
  3503.                     pchar.LoopHeal.Name = "NotLoopHeal"
  3504.                     wait(0.1)
  3505.                     pchar.NotLoopHeal:Destroy()
  3506.             end
  3507.         end
  3508. end)
  3509.  
  3510. addcmd('fling','flings player',{},
  3511. function(args)
  3512.         local players = getPlayer(args[1])
  3513.         for i,v in pairs(players)do
  3514.             local pchar = gPlayers[v].Character
  3515.                 if pchar:FindFirstChild("Humanoid") then
  3516.                         local xran
  3517.                         local zran
  3518.                         repeat
  3519.                                 xran = math.random(-9999,9999)
  3520.                         until math.abs(xran) >= 5555
  3521.                         repeat
  3522.                                 zran = math.random(-9999,9999)
  3523.                         until math.abs(zran) >= 5555
  3524.                         pchar.Humanoid.Sit = true
  3525.                         pchar.Torso.Velocity = Vector3.new(0,0,0)
  3526.                         local BF = Instance.new("BodyForce", pchar.Torso)
  3527.                         BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  3528.                 end
  3529.         end
  3530. end)
  3531.  
  3532. addcmd('nograv','makes player have moon gravity',{''},
  3533. function(args)
  3534.         local players = getPlayer(args[1])
  3535.         for i,v in pairs(players)do
  3536.             local pchar = gPlayers[v].Character
  3537.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3538.                     if v.Name == "NoGrav" then
  3539.                             v:Destroy()
  3540.                     end
  3541.             end
  3542.             local BF = Instance.new("BodyForce", pchar.Torso)
  3543.             BF.Name = "NoGrav"
  3544.             BF.Force = Vector3.new(0,2700,0)
  3545.         end
  3546. end)
  3547.  
  3548. addcmd('grav','makes player have normal gravity',{''},
  3549. function(args)
  3550.         local players = getPlayer(args[1])
  3551.         for i,v in pairs(players)do
  3552.             local pchar = gPlayers[v].Character
  3553.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3554.                     if v.Name == "NoGrav" then
  3555.                             v:Destroy()
  3556.                     end
  3557.             end
  3558.         end
  3559. end)
  3560.  
  3561. addcmd('seizure','makes player have a seizure',{''},
  3562. function(args)
  3563.         local players = getPlayer(args[1])
  3564.         for i,v in pairs(players)do
  3565.             local pchar = gPlayers[v].Character
  3566.             if pchar:FindFirstChild("Seizure") then
  3567.                    
  3568.             end
  3569.             local Seizure = Instance.new("StringValue", pchar)
  3570.             Seizure.Name = "Seizure"
  3571.             pchar.Humanoid.PlatformStand = true
  3572.                 repeat wait()
  3573.                     pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  3574.                     pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3575.                 until Seizure.Name == "NotSeizure"
  3576.         end
  3577. end)
  3578.  
  3579. addcmd('unseizure','makes player stop having a seizure',{''},
  3580. function(args)
  3581.         local players = getPlayer(args[1])
  3582.         for i,v in pairs(players)do
  3583.             local pchar = gPlayers[v].Character
  3584.             if pchar:FindFirstChild("Seizure") then
  3585.                 pchar.Humanoid.PlatformStand = false
  3586.                     pchar.Seizure.Name = "NotSeizure"
  3587.                     wait(0.1)
  3588.                     pchar.NotSeizure:Destroy()
  3589.             end
  3590.         end
  3591. end)
  3592.  
  3593. addcmd('cape','gives you a cape',{''},
  3594. function(args)
  3595.     if not args[1] then
  3596.                 args[1] = 1012
  3597.         end
  3598.         capeColor = args[1]
  3599.     Cape(Player)
  3600. end)
  3601.  
  3602. addcmd('uncape','takes cape away from you',{''},
  3603. function(args)
  3604.         if char:FindFirstChild("Cape") ~= nil then
  3605.             char.Cape:Destroy()
  3606.         end
  3607. end)
  3608.  
  3609. addcmd('paper','makes player thin as paper',{''},
  3610. function(args)
  3611.         local players = getPlayer(args[1])
  3612.         for i,v in pairs(players)do
  3613.             local pchar = gPlayers[v].Character
  3614.             local LA = DATA.Paper:Clone()
  3615.             LA.Parent = pchar["Left Arm"]
  3616.             local RA = DATA.Paper:Clone()
  3617.             RA.Parent = pchar["Right Arm"]
  3618.             local LL = DATA.Paper:Clone()
  3619.             LL.Parent = pchar["Left Leg"]
  3620.             local RL = DATA.Paper:Clone()
  3621.             RL.Parent = pchar["Right Leg"]
  3622.             local T = DATA.Paper:Clone()
  3623.             T.Parent = pchar.Torso
  3624.                 local H = DATA.Paper:Clone()
  3625.                 H.Parent = pchar.Head
  3626.                 pchar.Head.face:Destroy()
  3627.         end
  3628. end)
  3629.  
  3630. addcmd('punish','punishs player',{''},
  3631. function(args)
  3632.         local players = getPlayer(args[1])
  3633.         for i,v in pairs(players)do
  3634.             local pchar = gPlayers[v].Character
  3635.             pchar.Parent = game.Lighting
  3636.         end
  3637. end)
  3638.  
  3639. addcmd('unpunish','unpunishs player',{''},
  3640. function(args)
  3641.         local players = getPlayer(args[1])
  3642.         for i,v in pairs(players)do
  3643.             if game.Lighting:FindFirstChild("" .. gPlayers[v].Name) then
  3644.                 game.Lighting:FindFirstChild("" .. gPlayers[v].Name).Parent = game.Workspace
  3645.             end
  3646.         end
  3647. end)
  3648.  
  3649. addcmd('disco','disco party',{''},
  3650. function(args)
  3651.         Disco = true
  3652.         if Disco == true then
  3653.                 repeat wait(0.3)
  3654.                     game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random())
  3655.                 until Disco == false
  3656.         end
  3657. end)
  3658.  
  3659. addcmd('undisco','rip disco party',{''},
  3660. function(args)
  3661.         Disco = false
  3662.         wait(0.1)
  3663.         game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
  3664. end)
  3665.  
  3666. -- Extras --
  3667.  
  3668. Floating = false
  3669.  
  3670. addcmd('float', 'makes player float',{},
  3671. function(args,speaker)
  3672.         Floating = true
  3673.         local players = getPlayer(args[1])
  3674.         for _,v in pairs(players) do
  3675.                 local pchar = gPlayers[v].Character
  3676.                 if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
  3677.                         spawn(function()
  3678.                                 local float = DATA.Float:Clone()
  3679.                                 float.Parent = pchar
  3680.                                 float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
  3681.                                 spawn(function()
  3682.                                         while wait(0.1) do
  3683.                                                 if pchar:FindFirstChild("Float") then
  3684.                                                         float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
  3685.                                                 else
  3686.                                                         break
  3687.                                                 end
  3688.                                         end
  3689.                                 end)
  3690.                         end)
  3691.                 end
  3692.         end
  3693. end)
  3694.  
  3695. addcmd('unfloat','disables floating',{},
  3696. function(args)
  3697.         Floating = false
  3698.         local players = getPlayer(args[1])
  3699.         for i,v in pairs(players)do
  3700.             local pchar = gPlayers[v].Character
  3701.             if pchar:FindFirstChild("Float") then
  3702.                     pchar.Float:Destroy()
  3703.             end
  3704.         end
  3705. end)
  3706.  
  3707. local Clip = true
  3708.  
  3709. addcmd('noclip','enables noclip',{},
  3710. function(args)
  3711. Notify('NoClip Enabled')
  3712. Clip = false
  3713.         wait(1)
  3714.         Name = game.Players.LocalPlayer.Name
  3715.         game:GetService('Players').LocalPlayer.PlayerGui.ChildAdded:connect(function (NC)
  3716.                 delay(0, function()
  3717.                         if NC.Name ~= "OuputGUI" then
  3718.                                 NC:Destroy()
  3719.                         end
  3720.                 end)
  3721.         end)
  3722.         game:GetService('RunService').Stepped:connect(function ()
  3723.     game.Workspace[Name].Torso.CanCollide = Clip
  3724.     game.Workspace[Name].Head.CanCollide = Clip
  3725.         end)
  3726.         game.Workspace[Name].Torso.Changed:connect(function()
  3727.     game.Workspace[Name].Torso.CanCollide = Clip
  3728.         game.Workspace[Name].Head.CanCollide = Clip
  3729.         end)
  3730. end)
  3731.  
  3732. addcmd('clip','disables noclip',{},
  3733. function(args)
  3734.         Notify('NoClip Disabled')
  3735.         Clip = true
  3736. end)
  3737.  
  3738. wait(0.1)
  3739.  
  3740. addcmd('prefix','changes prefix',{},
  3741. function(args)
  3742.         cmdprefix = args[1]
  3743.         Notify('Changed prefix to "' .. args[1] .. '"')
  3744. end)
  3745.  
  3746. addcmd('admins','prints admins',{},
  3747. function(args)
  3748.         for i,v in pairs(AdminFolder:GetChildren()) do
  3749.                 if v:IsA("StringValue") then
  3750.                         print("-" .. v.Value)
  3751.                         Notify('Printed Admins, Check Console')
  3752.                 end
  3753.         end
  3754. end)
  3755.  
  3756. addcmd('bans','prints bans',{},
  3757. function(args)
  3758.         for i,v in pairs(BanFolder:GetChildren()) do
  3759.                 if v:IsA("StringValue") then
  3760.                         print("-" .. v.Value)
  3761.                         Notify('Printed Bans, Check Console')
  3762.                 end
  3763.         end
  3764. end)
  3765.  
  3766. addcmd('version','shows version',{''},
  3767. function(args)
  3768.         Notify("Version is " .. Version)
  3769. end)
  3770.  
  3771. --| Floating |--
  3772.  
  3773. Mouse.KeyDown:connect(function (Key)
  3774.         if Key:byte() == 29 then
  3775.                 if Floating == false then
  3776.                         execCmd("float me", Player)
  3777.                         Floating = true
  3778.                 elseif Floating == true then
  3779.                         execCmd("unfloat me", Player)
  3780.                         Floating = false
  3781.                 end
  3782.         end
  3783. end)
  3784.  
  3785. --| Ban Data |--
  3786.  
  3787. for i,v in pairs(BannedPlayers) do
  3788.         local ban = Instance.new("StringValue", BanFolder)
  3789.         ban.Value = v
  3790.         ban.RobloxLocked = true
  3791. end
  3792.  
  3793. spawn(function ()
  3794.     while wait(0.1) do
  3795.                 for _,a in pairs(game.ContextActionService:GetChildren()) do
  3796.                     if a.Name == "BanList" then
  3797.                             for _,b in pairs(a:GetChildren()) do
  3798.                                     if b:IsA("StringValue") then
  3799.                                             for _,c in pairs(game.Players:GetChildren()) do
  3800.                                                     if c.Name == b.Value then
  3801.                                                             c.PersonalServerRank = 200
  3802.                                                             wait(0.1)
  3803.                                                             c.PersonalServerRank = 0
  3804.                                                     end
  3805.                                             end
  3806.                                     end
  3807.                             end
  3808.                     end
  3809.             end
  3810.     end
  3811. end)
  3812.  
  3813. --| Admin |--
  3814.  
  3815. for i,v in pairs(admins) do
  3816.         local admin = Instance.new("StringValue", AdminFolder)
  3817.         admin.Value = v
  3818.         admin.RobloxLocked = true
  3819. end
  3820.  
  3821. spawn(function ()
  3822.     while wait(0.1) do
  3823.                 for _,a in pairs(game.ContextActionService:GetChildren()) do
  3824.                     if a.Name == "AdminList" then
  3825.                             for _,b in pairs(a:GetChildren()) do
  3826.                                     if b:IsA("StringValue") then
  3827.                                             for _,c in pairs(game.Players:GetChildren()) do
  3828.                                                     if c.Name == b.Value then
  3829.                                                             execCmd('admin ' .. c.Name)
  3830.                                                     end
  3831.                                             end
  3832.                                     end
  3833.                             end
  3834.                     end
  3835.             end
  3836.     end
  3837. end)
  3838.  
  3839.  
  3840.  
  3841.  
  3842.  
  3843.  
  3844.  
  3845.  
  3846.  
  3847.  
  3848.  
  3849.  
  3850.  
  3851.  
  3852.  
  3853.  
  3854.  
  3855.  
  3856.  
  3857.  
  3858.  
  3859. --| Don't.. Touch.. |--
  3860.  
  3861.  
  3862.  
  3863.  
  3864.  
  3865.  
  3866. --| CMD Bar |--
  3867.  
  3868. CMDbar = Instance.new('ScreenGui', game.CoreGui)
  3869. CMDbar.Name = 'GUI'
  3870. cmdBAR = Instance.new('TextBox', CMDbar)
  3871. cmdBAR.Name = 'CMDbar'
  3872. cmdBAR.Active = true
  3873. cmdBAR.BackgroundColor = BrickColor.new(0,0,0)
  3874. cmdBAR.BackgroundTransparency = 0.5
  3875. cmdBAR.BorderColor = BrickColor.new(0,0,0)
  3876. cmdBAR.BorderSizePixel = 0
  3877. cmdBAR.Position = UDim2.new(0,0,1,-25)
  3878. cmdBAR.Size = UDim2.new(0,200,0,20)
  3879. cmdBAR.Font = 'SourceSans'
  3880. cmdBAR.FontSize = 'Size18'
  3881. cmdBAR.Text = 'Press ; to Execute a Command'
  3882. cmdBAR.TextColor = BrickColor.new(255,255,255)
  3883.  
  3884. --| Data |--
  3885.  
  3886. DATA = Instance.new('Folder', game.ContextActionService)
  3887. DATA.Name = 'Data'
  3888.  
  3889. Paper = Instance.new('BlockMesh', DATA)
  3890. Paper.Name = 'Paper'
  3891. Paper.Scale = Vector3.new(1,1,0.1)
  3892.  
  3893. ayylmao = Instance.new('Hat', DATA)
  3894. ayylmao.Name = 'ayylmao'
  3895. ayyHandle = Instance.new('Part', ayylmao)
  3896. ayyHandle.Name = 'Handle'
  3897. ayyHandle.Size = Vector3.new(2,2.4,2)
  3898. ayyHandle.FormFactor = 'Plate'
  3899. ayyMesh = Instance.new('SpecialMesh', ayyHandle)
  3900. ayyMesh.Scale = Vector3.new(1,1.02,1)
  3901. ayyMesh.MeshType = 'FileMesh'
  3902. ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689'
  3903. ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796'
  3904.  
  3905. Float = Instance.new('Part', DATA)
  3906. Float.Name = 'Float'
  3907. Float.Transparency = 1
  3908. Float.Size = Vector3.new(6,1,6)
  3909. Float.Anchored = true
  3910.  
  3911. cmdGUI = Instance.new('ScreenGui', DATA)
  3912. cmdGUI.Name = 'CMDs'
  3913. cmdMAIN = Instance.new('Frame', cmdGUI)
  3914. cmdMAIN.Name = 'MAIN'
  3915. cmdMAIN.Active = true
  3916. cmdMAIN.BackgroundColor = BrickColor.new(0,0,0)
  3917. cmdMAIN.BackgroundTransparency = 0.5
  3918. cmdMAIN.BorderColor = BrickColor.new(0,0,0)
  3919. cmdMAIN.BorderSizePixel = 0
  3920. cmdMAIN.Position = UDim2.new(0,10,0,350)
  3921. cmdMAIN.Size = UDim2.new(0,170,0,15)
  3922. cmdMAIN.Draggable = true
  3923. cmdCMDs = Instance.new('ScrollingFrame', cmdMAIN)
  3924. cmdCMDs.Name = 'CMDs'
  3925. cmdCMDs.BackgroundColor = BrickColor.new(0,0,0)
  3926. cmdCMDs.BackgroundTransparency = 0.8
  3927. cmdCMDs.BorderColor = BrickColor.new(0,0,0)
  3928. cmdCMDs.BorderSizePixel = 0
  3929. cmdCMDs.Position = UDim2.new(0,0,0,15)
  3930. cmdCMDs.Size = UDim2.new(0,200,0,150)
  3931. cmdCMDs.CanvasSize = UDim2.new(0,0,0,0)
  3932. cmdCMDs.TopImage = 'rbxasset://textures/blackBkg_square.png'
  3933. cmdCMDs.MidImage = 'rbxasset://textures/blackBkg_square.png'
  3934. cmdCMDs.BottomImage = 'rbxasset://textures/blackBkg_square.png'
  3935. cmdCMDs.ScrollBarThickness = 2
  3936. cmdExit = Instance.new('TextButton', cmdMAIN)
  3937. cmdExit.Name = 'Exit'
  3938. cmdExit.BackgroundColor = BrickColor.new(255,0,0)
  3939. cmdExit.BackgroundTransparency = 0.5
  3940. cmdExit.BorderColor = BrickColor.new(255,0,0)
  3941. cmdExit.BorderSizePixel = 0
  3942. cmdExit.Position = UDim2.new(0,185,0,0)
  3943. cmdExit.Size = UDim2.new(0,15,0,15)
  3944. cmdExit.Text = ""
  3945. ExitScript = Instance.new('LocalScript', cmdExit)
  3946. ExitScript.Source =
  3947. [[
  3948. script.Parent.MouseButton1Down:connect(function()
  3949.         script.Parent.Parent.Parent:Destroy()
  3950. end)
  3951. ]]
  3952. cmdMin = Instance.new('TextButton', cmdMAIN)
  3953. cmdMin.Name = 'MM'
  3954. cmdMin.BackgroundColor = BrickColor.new(140,140,140)
  3955. cmdMin.BackgroundTransparency = 0.5
  3956. cmdMin.BorderColor = BrickColor.new(140,140,140)
  3957. cmdMin.BorderSizePixel = 0
  3958. cmdMin.Position = UDim2.new(0,170,0,0)
  3959. cmdMin.Size = UDim2.new(0,15,0,15)
  3960. cmdMin.Text = ""
  3961. MinScript = Instance.new('LocalScript', cmdMin)
  3962. MinScript.Source =
  3963. [[
  3964. local CMDs = script.Parent.Parent.CMDs
  3965.  
  3966. script.Parent.MouseButton1Down:connect(function()
  3967.         if CMDs.Visible == true then
  3968.                 CMDs.Visible = false
  3969.         elseif CMDs.Visible == false then
  3970.                 CMDs.Visible = true
  3971.         end
  3972. end)
  3973. ]]
  3974. cmdEx = Instance.new('TextLabel', cmdMAIN)
  3975. cmdEx.Name = 'Example'
  3976. cmdEx.BackgroundColor = BrickColor.new(0,0,0)
  3977. cmdEx.BackgroundTransparency = 0.8
  3978. cmdEx.BorderColor = BrickColor.new(0,0,0)
  3979. cmdEx.BorderSizePixel = 0
  3980. cmdEx.Position = UDim2.new(0,5,0,20)
  3981. cmdEx.Size = UDim2.new(0,190,0,20)
  3982. cmdEx.Visible = false
  3983. cmdEx.TextColor = BrickColor.new(255,255,255)
  3984. cmdEx.TextXAlignment = 'Left'
  3985.  
  3986. duckGUI = Instance.new('ScreenGui', DATA)
  3987. duckGUI.Name = 'Duck'
  3988. duckImage = Instance.new('ImageLabel', duckGUI)
  3989. duckImage.BackgroundTransparency = 1
  3990. duckImage.Position = UDim2.new(0,-300,1,-150)
  3991. duckImage.Size = UDim2.new(0,300,0,300)
  3992. duckImage.Rotation = -30
  3993. duckImage.Image = 'rbxassetid://301388647'
  3994. duckScript = Instance.new('LocalScript', duckGUI)
  3995. duckScript.Source =
  3996. [[
  3997. local duck = script.Parent.ImageLabel
  3998.  
  3999. wait(2)
  4000.  
  4001. duck:TweenPosition(UDim2.new(1, 0, 1, -150), "InOut", "Quad", 3, true, nil)
  4002. ]]
  4003.  
  4004. espMAIN = Instance.new('BillboardGui', DATA)
  4005. espMAIN.Name = 'MAIN'
  4006. espMAIN.AlwaysOnTop = true
  4007. espMAIN.ExtentsOffset = Vector3.new(0,1,0)
  4008. espMAIN.Size = UDim2.new(0,5,0,5)
  4009. espMAIN.StudsOffset = Vector3.new(0,1,0)
  4010. espDot = Instance.new('Frame', espMAIN)
  4011. espDot.BackgroundColor = BrickColor.new(42,181,255)
  4012. espDot.BackgroundTransparency = 0.3
  4013. espDot.BorderSizePixel = 0
  4014. espDot.Position = UDim2.new(-0.5,0,-0.5,0)
  4015. espDot.Size = UDim2.new(2,0,2,0)
  4016. espDot.Visible = false
  4017. espDot.ZIndex = 10
  4018. espName = Instance.new('TextLabel', espMAIN)
  4019. espName.Name = 'Name'
  4020. espName.BackgroundColor = BrickColor.new(0,0,0)
  4021. espName.BackgroundTransparency = 1
  4022. espName.BorderColor = BrickColor.new(0,0,0)
  4023. espName.BorderSizePixel = 0
  4024. espName.Position = UDim2.new(0,0,0,-35)
  4025. espName.Size = UDim2.new(1,0,10,0)
  4026. espName.Visible = false
  4027. espName.ZIndex = 10
  4028.  
  4029. notifyMAIN = Instance.new('ScreenGui', DATA)
  4030. notifyMAIN.Name = 'Notification'
  4031. notifyNOT = Instance.new('Frame', notifyMAIN)
  4032. notifyNOT.Name = 'NOTIFY'
  4033. notifyNOT.BackgroundColor = BrickColor.new(0,0,0)
  4034. notifyNOT.BackgroundTransparency = 0.5
  4035. notifyNOT.BorderColor = BrickColor.new(255,255,255)
  4036. notifyNOT.BorderSizePixel = 2
  4037. notifyNOT.Position = UDim2.new(0,-200,0.7,0)
  4038. notifyNOT.Size = UDim2.new(0,200,0,30)
  4039. notifyNOTE = Instance.new('TextLabel', notifyNOT)
  4040. notifyNOTE.Name = 'NOTE'
  4041. notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
  4042. notifyNOTE.BackgroundTransparency = 1
  4043. notifyNOTE.BorderColor = BrickColor.new(255,255,255)
  4044. notifyNOTE.BorderSizePixel = 0
  4045. notifyNOTE.Size = UDim2.new(1,0,1,0)
  4046. notifyNOTE.ZIndex = 10
  4047. notifyNOTE.FontSize = 'Size18'
  4048. notifyNOTE.Font = 'SourceSans'
  4049. notifyNOTE.Text = 'NOTIFY'
  4050. notifyNOTE.TextColor = BrickColor.new(255,255,255)
  4051. notifyNOTE.TextStrokeColor3 = Color3.new(255,255,255)
  4052. notifyNOTE.TextStrokeTransparency = 0.8
  4053.  
  4054. tpTool = Instance.new('HopperBin', DATA)
  4055. tpTool.Name = 'Teleport'
  4056. tpScript = Instance.new('LocalScript', tpTool)
  4057. tpScript.Source =
  4058. [[
  4059. local Player = game.Players.LocalPlayer
  4060. local Mouse = Player:GetMouse()
  4061.  
  4062. local Tool = script.Parent
  4063.  
  4064. Mouse.Button1Down:connect(function()
  4065.         if Mouse.Target and Tool.Active then
  4066.                 Player.Character.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,2,0)
  4067.         end
  4068. end)
  4069. ]]
  4070.  
  4071. modJAIL = Instance.new('Model', DATA)
  4072. modJAIL.Name = 'JAIL'
  4073. botJAIL = Instance.new('Part', modJAIL)
  4074. botJAIL.Name = 'BOTTOM'
  4075. botJAIL.BrickColor = BrickColor.new('Black')
  4076. botJAIL.Transparency = 0.5
  4077. botJAIL.Position = Vector3.new(-6.2,0.5,-11.6)
  4078. botJAIL.Anchored = true
  4079. botJAIL.Locked = true
  4080. botJAIL.Size = Vector3.new(6,1,6)
  4081. botJAIL.TopSurface = 'Smooth'
  4082. botJAIL.BottomSurface = 'Smooth'
  4083. topJAIL = Instance.new('Part', modJAIL)
  4084. topJAIL.Name = 'BOTTOM'
  4085. topJAIL.BrickColor = BrickColor.new('Black')
  4086. topJAIL.Transparency = 0.5
  4087. topJAIL.Position = Vector3.new(-6.2,7.5,-11.6)
  4088. topJAIL.Anchored = true
  4089. topJAIL.Locked = true
  4090. topJAIL.Size = Vector3.new(6,1,6)
  4091. topJAIL.TopSurface = 'Smooth'
  4092. topJAIL.BottomSurface = 'Smooth'
  4093. p1 = Instance.new('Part', modJAIL)
  4094. p1.Name = 'MAIN'
  4095. p1.BrickColor = BrickColor.new('Black')
  4096. p1.Transparency = 1
  4097. p1.Position = Vector3.new(-8.7,4,-11.6)
  4098. p1.Rotation = Vector3.new(-180,0,-180)
  4099. p1.Anchored = true
  4100. p1.Locked = true
  4101. p1.Size = Vector3.new(1,6,4)
  4102. p1.TopSurface = 'Smooth'
  4103. p1.BottomSurface = 'Smooth'
  4104. p2 = Instance.new('Part', modJAIL)
  4105. p2.BrickColor = BrickColor.new('Black')
  4106. p2.Transparency = 0.5
  4107. p2.Position = Vector3.new(-3.7,4,-14.1)
  4108. p2.Anchored = true
  4109. p2.Locked = true
  4110. p2.Size = Vector3.new(1,6,1)
  4111. p2.TopSurface = 'Smooth'
  4112. p2.BottomSurface = 'Smooth'
  4113. p3 = Instance.new('Part', modJAIL)
  4114. p3.BrickColor = BrickColor.new('Black')
  4115. p3.Transparency = 0.5
  4116. p3.Position = Vector3.new(-8.7,4,-9.1)
  4117. p3.Anchored = true
  4118. p3.Locked = true
  4119. p3.Size = Vector3.new(1,6,1)
  4120. p3.TopSurface = 'Smooth'
  4121. p3.BottomSurface = 'Smooth'
  4122. p4 = Instance.new('Part', modJAIL)
  4123. p4.BrickColor = BrickColor.new('Black')
  4124. p4.Transparency = 0.5
  4125. p4.Position = Vector3.new(-3.7,4,-9.1)
  4126. p4.Anchored = true
  4127. p4.Locked = true
  4128. p4.Size = Vector3.new(1,6,1)
  4129. p4.TopSurface = 'Smooth'
  4130. p4.BottomSurface = 'Smooth'
  4131. p5 = Instance.new('Part', modJAIL)
  4132. p5.BrickColor = BrickColor.new('Black')
  4133. p5.Transparency = 0.5
  4134. p5.Position = Vector3.new(-8.7,4,-14.1)
  4135. p5.Anchored = true
  4136. p5.Locked = true
  4137. p5.Size = Vector3.new(1,6,1)
  4138. p5.TopSurface = 'Smooth'
  4139. p5.BottomSurface = 'Smooth'
  4140. p6 = Instance.new('Part', modJAIL)
  4141. p6.BrickColor = BrickColor.new('Black')
  4142. p6.Transparency = 1
  4143. p6.Position = Vector3.new(-6.2,4,-14.1)
  4144. p6.Rotation = Vector3.new(0,90,0)
  4145. p6.Anchored = true
  4146. p6.Locked = true
  4147. p6.Size = Vector3.new(1,6,4)
  4148. p6.TopSurface = 'Smooth'
  4149. p6.BottomSurface = 'Smooth'
  4150. p7 = Instance.new('Part', modJAIL)
  4151. p7.BrickColor = BrickColor.new('Black')
  4152. p7.Transparency = 1
  4153. p7.Position = Vector3.new(-3.7,4,-11.6)
  4154. p7.Anchored = true
  4155. p7.Locked = true
  4156. p7.Size = Vector3.new(1,6,4)
  4157. p7.TopSurface = 'Smooth'
  4158. p7.BottomSurface = 'Smooth'
  4159. p8 = Instance.new('Part', modJAIL)
  4160. p8.BrickColor = BrickColor.new('Black')
  4161. p8.Transparency = 1
  4162. p8.Position = Vector3.new(-6.2,4,-9.1)
  4163. p8.Rotation = Vector3.new(0,90,0)
  4164. p8.Anchored = true
  4165. p8.Locked = true
  4166. p8.Size = Vector3.new(1,6,4)
  4167. p8.TopSurface = 'Smooth'
  4168. p8.BottomSurface = 'Smooth'
  4169.  
  4170. --| Some Commands |--
  4171.  
  4172. addcmd('ayylmao','ayy lmao',{''},
  4173. function(args)
  4174.         local players = getPlayer(args[1])
  4175.         for i,v in pairs(players)do
  4176.             local pchar = gPlayers[v].Character
  4177.             if pchar:FindFirstChild("Shirt") then
  4178.                     pchar.Shirt:Destroy()
  4179.             end
  4180.             if pchar:FindFirstChild("Pants") then
  4181.                     pchar.Pants:Destroy()
  4182.             end
  4183.             if pchar:FindFirstChild("Shirt Graphic") then
  4184.                     pchar["Shirt Graphic"].Graphic = ""
  4185.             end
  4186.             for i,v in pairs(pchar:GetChildren()) do
  4187.                     if v:IsA("Hat") then
  4188.                             v:Destroy()
  4189.                     end
  4190.             end
  4191.             local ayylmao = DATA.ayylmao:Clone()
  4192.             ayylmao.Parent = pchar
  4193.             local BC = pchar["Body Colors"]
  4194.             BC.HeadColor = BrickColor.new("Fossil")
  4195.             BC.LeftArmColor = BrickColor.new("Fossil")
  4196.             BC.LeftLegColor = BrickColor.new("Fossil")
  4197.             BC.RightArmColor = BrickColor.new("Fossil")
  4198.             BC.RightLegColor = BrickColor.new("Fossil")
  4199.             BC.TorsoColor = BrickColor.new("Fossil")
  4200.         end
  4201. end)
  4202.  
  4203. -- CMDs GUI --
  4204.  
  4205. CMDsFolder = Instance.new("Folder", game.CoreGui)
  4206.  
  4207. for i,v in pairs(CMDs) do
  4208.         CMDsValue = Instance.new("StringValue", CMDsFolder)
  4209.         CMDsValue.Value = v
  4210.         CMDsValue.RobloxLocked = true
  4211. end
  4212.  
  4213. local function commands()
  4214.         local cmds = DATA.CMDs:Clone()
  4215.         cmds.Parent = Player.PlayerGui
  4216.         local CMDsV = CMDsFolder:GetChildren()
  4217.         for i = 1, #CMDsV do
  4218.                 local YSize = 25
  4219.                 local Position = ((i * YSize) - YSize)
  4220.                 local newcmd = cmds.MAIN.Example:Clone()
  4221.                 newcmd.Parent = cmds.MAIN.CMDs
  4222.                 newcmd.Visible = true
  4223.                 newcmd.Position = UDim2.new(0,5,0, Position + 5)
  4224.                 newcmd.Text = "" .. CMDsV[i].Value
  4225.                 cmds.MAIN.CMDs.CanvasSize = UDim2.new(0,0,0, Position + 30)
  4226.         end
  4227. end
  4228.  
  4229. addcmd('cmds','prints cmds',{},
  4230. function(args)
  4231.         commands()
  4232. end)
  4233.  
  4234. --| Command Bar |--
  4235.  
  4236. CMDbar.CMDbar.FocusLost:connect(function(enterpressed)
  4237.         if enterpressed and CMDbar.CMDbar.Text ~= "" then
  4238.                 spawn(function ()
  4239.                         execCmd(CMDbar.CMDbar.Text, Player)
  4240.                 end)
  4241.         end
  4242.         CMDbar.CMDbar:TweenPosition(UDim2.new(0, -200, 1, -25), "InOut", "Quad", 0.5, true, nil)
  4243. end)
  4244.  
  4245. Mouse.KeyDown:connect(function(Key)
  4246.         if Key:byte() == 59 then
  4247.                 CMDbar.CMDbar:TweenPosition(UDim2.new(0, 0, 1, -25), "InOut", "Quad", 0.5, true, nil)
  4248.                 CMDbar.CMDbar:CaptureFocus()
  4249.         end
  4250. end)
  4251.  
  4252. --| ESP Function |--
  4253.  
  4254. local ESP = false
  4255. local track = false
  4256.  
  4257. function Create(base, team)
  4258.     local MAIN = DATA.MAIN:Clone()
  4259.     local F = MAIN.DOT
  4260.     local ESP = MAIN.NAME
  4261.  
  4262.     MAIN.Parent = Player.PlayerGui
  4263.         MAIN.Adornee = base
  4264.        
  4265.         F.Visible = true
  4266.        
  4267.         ESP.Text = base.Parent.Name:upper()
  4268.         ESP.Visible = true
  4269. end
  4270.  
  4271. function Clear()
  4272.         for _,v in pairs(Player.PlayerGui:children()) do
  4273.                 if v.Name == "MAIN" and v:IsA("BillboardGui") then
  4274.                         v:Destroy()
  4275.                 end
  4276.         end
  4277. end
  4278.  
  4279. function Find()
  4280.         Clear()
  4281.         track = true
  4282.         spawn(function()
  4283.                 while wait() do
  4284.                         if track then
  4285.                                 Clear()
  4286.                                 for i,v in pairs(game.Players:players()) do
  4287.                                         if v.Character and v.Character.Head then
  4288.                                                 Create(v.Character.Head, true)
  4289.                                         end
  4290.                                 end
  4291.                         end
  4292.                         wait(1)
  4293.                 end
  4294.         end)
  4295. end
  4296.  
  4297. --| ESP |--
  4298.  
  4299. Mouse.KeyDown:connect(function(Key)
  4300.         if Key:byte() == 30 then
  4301.                 if ESP == false then
  4302.                         Find()
  4303.                     ESP = true
  4304.                 elseif ESP == true then
  4305.                         Clear()
  4306.                         track = false
  4307.                         ESP = false
  4308.                 end
  4309.         end
  4310. end)
  4311.  
  4312. --| More Functions |--
  4313.  
  4314. local NOTIFY = DATA.Notification
  4315. NOTIFY.Parent = game.CoreGui
  4316.  
  4317. local duck = DATA.Duck:Clone()
  4318. duck.Parent = Player.PlayerGui
  4319.  
  4320. local usingNOTE = false
  4321.  
  4322. function Notify(msg)
  4323.         if usingNOTE == false then
  4324.                 if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
  4325.                         spawn(function()
  4326.                                 NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
  4327.                                 NOTIFY.NOTIFY.NOTE.Text = msg
  4328.                                 usingNOTE = true
  4329.                                 wait(2.5)
  4330.                                 NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, -200, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
  4331.                                 usingNOTE = false
  4332.                     end)
  4333.                 end
  4334.         end
  4335. end
  4336.  
  4337. --| Notifications |--
  4338.  
  4339. wait(1)
  4340.  
  4341. if game.Workspace.FilteringEnabled == true then
  4342.         NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,0,0)
  4343.         Notify('Filtering is ENABLED.')
  4344. elseif game.Workspace.FilteringEnabled == false then
  4345.         NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,0)
  4346.         Notify('Filtering is Disabled.')
  4347. end
  4348.  
  4349. wait(3.5)
  4350.  
  4351. NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,255,255)
  4352.  
  4353. Notify('Loaded ' .. #cmds .. ' commands!')
  4354.  
  4355. wait(3.5)
  4356.  
  4357. Notify('Welcome ' .. Player.Name .. '!')
  4358.  
  4359. Player.PlayerGui.Duck:Destroy()
  4360.  
  4361. --[[
  4362. addcmd('name','desc',{''},
  4363. function(args)
  4364.         local players = getPlayer(args[1])
  4365.         for i,v in pairs(players)do
  4366.             local pchar = gPlayers[v].Character
  4367.         end
  4368. end)
  4369. --]]
  4370.         end)
  4371. --
  4372. local button = Instance.new("TextButton")
  4373.         button.Parent = acg
  4374.         button.BackgroundColor3 = blak
  4375.         button.BorderColor3 = rede
  4376.         button.BorderSizePixel = 3
  4377.         button.Name = "Nex Pluvia Admin"
  4378.         button.Position = UDim2.new(0,0,0,66)
  4379.         button.Size = UDim2.new(0.5,0,0,30)
  4380.         button.ZIndex = 2
  4381.         button.Font = tef
  4382.         button.FontSize = "Size14"
  4383.         button.Text = "Nex Pluvia Admin"
  4384.         button.TextColor3 = whit
  4385.         button.TextWrapped = true
  4386.         button.MouseButton1Down:connect(function()
  4387.                 version="Pluvia"
  4388. Selection=1
  4389. TextBoxInUse=false
  4390. Player=nil
  4391. ColorSelection=BrickColor.new('Bright violet')
  4392. Uninstalled=false
  4393. Commands={}
  4394. Scope=nil
  4395. CustomFunction=""
  4396. Services={
  4397.         InsertService=game:service'InsertService',
  4398.         Workspace=game:service'Workspace',
  4399.         Lighting=game:service'Lighting',
  4400.         Players=game:service'Players',
  4401.         Debris=game:service'Debris',
  4402.         Chat=game:service'Chat',
  4403. }
  4404. m=Services.Players.LocalPlayer:GetMouse()
  4405. SGUI=Instance.new('ScreenGui',Services.Players.LocalPlayer.PlayerGui)
  4406. BAR=Instance.new('Frame',SGUI)
  4407. BAR.Size=UDim2.new(1,0,0,20)
  4408. BAR.Position=UDim2.new(0,0,0,20)
  4409. BAR.BorderSizePixel=0
  4410. BAR.BackgroundColor3=Color3.new(0,0,0)
  4411. TEXTBOX=Instance.new('TextLabel',BAR)
  4412. TEXTBOX.Size=UDim2.new(1,0,1,0)
  4413. TEXTBOX.BackgroundTransparency=1
  4414. TEXTBOX.TextColor3=Color3.new(453,0,435)
  4415. TEXTBOX.FontSize="Size12"
  4416. PlayerCheck=function()
  4417.         if m.Target ~= nil then
  4418.                 for i,v in ipairs(Services.Players:GetPlayers())do
  4419.                         if(v.Character and m.Target:IsDescendantOf(v.Character))then
  4420.                                 return v;
  4421.                         end;
  4422.                 end;
  4423.         end
  4424. end
  4425. GUIRefresh=function()
  4426.         if not TextBoxInUse then
  4427.                 local StartOp=""
  4428.                 local EndOp=""
  4429.                 if Selection > 1 then
  4430.                         StartOp = Scope[Selection-1][1]
  4431.                 end
  4432.                 if Selection < #Scope then
  4433.                        EndOp = Scope[Selection+1][1]
  4434.                end
  4435.                TEXTBOX.Text = "<-- "..StartOp.." | ["..Selection.."]: ["..Scope[Selection][1].."] | "..EndOp.." -->"
  4436.         end
  4437. end
  4438. GUIDisplay=function(string)
  4439.         TextBoxInUse=true
  4440.         for i = 1,string.len(string) do
  4441.                 TEXTBOX.Text = string.sub(string,1,i).."_"
  4442.                 wait(.05)
  4443.         end
  4444.         wait(string.len(string)/15)
  4445.         TextBoxInUse=false
  4446.         GUIRefresh()
  4447. end
  4448. Commands={
  4449.         {"Nex Pluvia",
  4450.                    function()
  4451.                         local ids = {63043890,19398258,1272714,20642008,1235488,11748356,10468797}
  4452.                         if Commands[2][3] == true then
  4453.                                 for _,v in pairs(Services.Players.LocalPlayer.Character:GetChildren()) do
  4454.                                         for _,x in pairs(ids) do
  4455.                                                 if v.Name == "ExtraAsset" then
  4456.                                                         v.Parent=nil
  4457.                                                 end
  4458.                                         end
  4459.                                 end
  4460.                                 Commands[2][3] = false
  4461.                         else
  4462.                                 for _,v in pairs(ids) do
  4463.                                         local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
  4464.                                         NewAsset.Parent=Services.Players.LocalPlayer.Character
  4465.                                         NewAsset.Name = "ExtraAsset"
  4466.                                 end
  4467.                                 Commands[2][3] = true
  4468.                         end
  4469.                 end,
  4470.                 false
  4471.         },
  4472.         {"Nex Pluvia",
  4473.                 function()
  4474.                         local ids = {21070012,1031429,108149175,14815761}
  4475.                         if Commands[2][3] == true then
  4476.                                 for _,v in pairs(Services.Players.LocalPlayer.Character:GetChildren()) do
  4477.                                         for _,x in pairs(ids) do
  4478.                                                 if v.Name == "ExtraAsset" then
  4479.                                                         v.Parent=nil
  4480.                                                 end
  4481.                                         end
  4482.                                 end
  4483.                                 Commands[2][3] = false
  4484.                         else
  4485.                                 for _,v in pairs(ids) do
  4486.                                         local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
  4487.                                         NewAsset.Parent=Services.Players.LocalPlayer.Character
  4488.                                         NewAsset.Name = "ExtraAsset"
  4489.                                 end
  4490.                                 Commands[2][3] = true
  4491.                         end
  4492.                 end,
  4493.                 false
  4494.         },
  4495.         {"Nex Pluvia",
  4496.                 function()
  4497.                         local ids = {1125510,14815761,1235488,11748356,1029025,108149175}
  4498.                         if Commands[2][3] == true then
  4499.                                 for _,v in pairs(Services.Players.LocalPlayer.Character:GetChildren()) do
  4500.                                         for _,x in pairs(ids) do
  4501.                                                 if v.Name == "ExtraAsset" then
  4502.                                                         v.Parent=nil
  4503.                                                 end
  4504.                                         end
  4505.                                 end
  4506.                                 Commands[2][3] = false
  4507.                         else
  4508.                                 for _,v in pairs(ids) do
  4509.                                         local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
  4510.                                         NewAsset.Parent=Services.Players.LocalPlayer.Character
  4511.                                         NewAsset.Name = "ExtraAsset"
  4512.                                 end
  4513.                                 Commands[2][3] = true
  4514.                         end
  4515.                 end,
  4516.                 false
  4517.         },
  4518.         {"Fire*",
  4519.                 function()
  4520.                         if pcall(function() Services.Players.LocalPlayer.Character.Head.Fire.Parent=nil end) then
  4521.                         else
  4522.                                 pcall(function()
  4523.                                         fire=Instance.new('Fire',Services.Players.LocalPlayer.Character.Head)
  4524.                                         fire.Size=3
  4525.                                         fire.Color=Color3.new(453,0,435)
  4526.                                         fire.SecondaryColor=Color3.new(453,0,435)
  4527.                                 end)
  4528.                         end
  4529.                 end
  4530.         },
  4531.         {"Invincibility*",
  4532.                 function()
  4533.                         pcall(function()
  4534.                                 if Services.Players.LocalPlayer.Character.Humanoid.MaxHealth==100 then
  4535.                                         Services.Players.LocalPlayer.Character.Humanoid.MaxHealth=math.huge
  4536.                                 else
  4537.                                         Services.Players.LocalPlayer.Character.Humanoid.MaxHealth=100
  4538.                                 end
  4539.                         end)
  4540.                 end
  4541.         },
  4542.         {"Teleport*",
  4543.                 function()
  4544.                         if m.Target ~= nil then
  4545.                                 pcall(function() Services.Players.LocalPlayer.Character:MoveTo(m.Hit.p) end)
  4546.                         end
  4547.                 end
  4548.         },
  4549.         {"Teleport",
  4550.                 function()
  4551.                         if Player == nil and m.Target ~= nil then
  4552.                                 if PlayerCheck() then
  4553.                                         Player=PlayerCheck()
  4554.                                 end
  4555.                                 pcall(function()
  4556.                                         for _,v in pairs(Player.Character:GetChildren()) do
  4557.                                                 if v:IsA('Part') then
  4558.                                                         local sb = Instance.new('SelectionBox',Services.Workspace.CurrentCamera)
  4559.                                                         sb.Adornee = v
  4560.                                                         sb.Name = "sb"
  4561.                                                         sb.Color = BrickColor.new('Bright violet')
  4562.                                                 end
  4563.                                         end
  4564.                                 end)
  4565.                         elseif Player ~= nil then
  4566.                                 pcall(function()
  4567.                                         Player.Character:MoveTo(m.Hit.p)
  4568.                                 end)
  4569.                                 Player = nil
  4570.                                 for _,v in pairs(Services.Workspace.CurrentCamera:GetChildren()) do
  4571.                                         if v:IsA('SelectionBox') and v.Name == "sb" then
  4572.                                                 v.Parent=nil
  4573.                                         end
  4574.                                 end
  4575.                         end
  4576.                 end
  4577.         },
  4578.         {"Kill",
  4579.                 function()
  4580.                         pcall(function() PlayerCheck().Character:BreakJoints() end)
  4581.                 end
  4582.         },
  4583.         {"Invincibility",
  4584.                 function()
  4585.                         pcall(function()
  4586.                                 if PlayerCheck().Character.Humanoid.MaxHealth==100 then
  4587.                                         PlayerCheck().Character.Humanoid.MaxHealth=math.huge
  4588.                                 else
  4589.                                         PlayerCheck().Character.Humanoid.MaxHealth=100
  4590.                                 end
  4591.                         end)
  4592.                 end
  4593.         },
  4594.         {":BreakJoints()",
  4595.                 function()
  4596.                         pcall(function() m.Target:BreakJoints() end)
  4597.                 end
  4598.         },
  4599.         {"Kick",
  4600.                 function()
  4601.                         pcall(function() PlayerCheck().Parent=nil end)
  4602.                 end
  4603.         },
  4604.         {"Custom Function",
  4605.                 function()
  4606.                         Spawn(loadstring(CustomFunction))
  4607.                 end
  4608.         },
  4609.         {"LinkedSword",
  4610.                 function()
  4611.                         Services.InsertService:LoadAsset(47433):GetChildren()[1].Parent=Services.Players.LocalPlayer.Backpack
  4612.                 end
  4613.         },
  4614.         {":GetFullName()",
  4615.                 function()
  4616.                         if m.Target then
  4617.                                 local string = m.Target:GetFullName()
  4618.                                 if string then
  4619.                                         GUIDisplay(string)
  4620.                                 end
  4621.                         else
  4622.                                 GUIDisplay("nil")
  4623.                         end
  4624.                 end
  4625.         },
  4626.         {"Humanoid", --Category
  4627.                 function()
  4628.                         Scope=Commands.Humanoid[3]
  4629.                         Selection=1
  4630.                         GUIRefresh()
  4631.                 end,
  4632.                 {
  4633.                         {"Up Scope",
  4634.                                 function()
  4635.                                         Scope=Commands
  4636.                                         Selection=1
  4637.                                         GUIRefresh()
  4638.                                 end
  4639.                         },
  4640.                         {"Humanoid",
  4641.                                 function()
  4642.                                         if PlayerCheck() then
  4643.                                                 if pcall(function() PlayerCheck().Character.Humanoid.Parent=nil end) then
  4644.                                                 else
  4645.                                                         pcall(function() Instance.new('Humanoid',PlayerCheck().Character) end)
  4646.                                                 end
  4647.                                         end
  4648.                                 end
  4649.                         },
  4650.                         {"Remove Head",
  4651.                                 function()
  4652.                                         pcall(function() PlayerCheck().Character.Head.Parent=nil end)
  4653.                                 end
  4654.                         },
  4655.                         {"PlatformStand",
  4656.                                 function()
  4657.                                         pcall(function()
  4658.                                                 if PlayerCheck().Character.Humanoid.PlatformStand==true then
  4659.                                                         PlayerCheck().Character.Humanoid.PlatformStand=false
  4660.                                                 else
  4661.                                                         PlayerCheck().Character.Humanoid.PlatformStand=true
  4662.                                                 end
  4663.                                         end)
  4664.                                 end
  4665.                         },
  4666.                         {"Sit",
  4667.                                 function()
  4668.                                         pcall(function()
  4669.                                                 if PlayerCheck().Character.Humanoid.Sit==true then
  4670.                                                         PlayerCheck().Character.Humanoid.Sit=false
  4671.                                                 else
  4672.                                                         PlayerCheck().Character.Humanoid.Sit=true
  4673.                                                 end
  4674.                                         end)
  4675.                                 end
  4676.                         },
  4677.                         {"WalkSpeed",
  4678.                                 function()
  4679.                                         pcall(function()
  4680.                                                 if PlayerCheck().Character.Humanoid.WalkSpeed==16 then
  4681.                                                         PlayerCheck().Character.Humanoid.WalkSpeed=0
  4682.                                                 else
  4683.                                                         PlayerCheck().Character.Humanoid.WalkSpeed=16
  4684.                                                 end
  4685.                                         end)
  4686.                                 end
  4687.                         },
  4688.                 }
  4689.         },
  4690.         {"Building", --Category
  4691.                 function()
  4692.                         Scope=Commands.Building[3]
  4693.                         Selection=1
  4694.                         GUIRefresh()
  4695.                 end,
  4696.                 {
  4697.                         {"Up Scope",
  4698.                                 function()
  4699.                                         Scope=Commands
  4700.                                         Selection=1
  4701.                                         GUIRefresh()
  4702.                                 end
  4703.                         },
  4704.                         {"Color",
  4705.                                 function()
  4706.                                         pcall(function() m.Target.BrickColor = ColorSelection end)
  4707.                                 end
  4708.                         },
  4709.                         {"Color Picker",
  4710.                                 function()
  4711.                                         pcall(function() ColorSelection = m.Target.BrickColor end)
  4712.                                 end
  4713.                         },
  4714.                         {"Anchor",
  4715.                                 function()
  4716.                                         pcall(function() m.Target.Anchored=true end)
  4717.                                 end
  4718.                         },
  4719.                         {"Unanchor",
  4720.                                 function()
  4721.                                         pcall(function() m.Target.Anchored=false end)
  4722.                                 end
  4723.                         },
  4724.                         {"Decal",
  4725.                                 function()
  4726.                                         pcall(function()
  4727.                                                 decal = Instance.new('Decal',m.Target)
  4728.                                                 decal.Face = m.TargetSurface
  4729.                                                 decal.Texture = "http://roblox.com/asset/?id=123659742"
  4730.                                         end)
  4731.                                 end
  4732.                         },
  4733.                         {"Decal2",
  4734.                                 function()
  4735.                                         pcall(function()
  4736.                                                 decal = Instance.new('Decal',m.Target)
  4737.                                                 decal.Face = m.TargetSurface
  4738.                                                 decal.Texture = "http://roblox.com/asset/?id=121987185"
  4739.                                         end)
  4740.                                 end
  4741.                         },
  4742.                         {"Remove Decal",
  4743.                                 function()
  4744.                                         pcall(function()
  4745.                                                 for _,v in pairs(m.Target:GetChildren()) do
  4746.                                                         if v:IsA('Decal') then
  4747.                                                                 if v.Face == m.TargetSurface then
  4748.                                                                         v.Parent=nil
  4749.                                                                 end
  4750.                                                         end
  4751.                                                 end
  4752.                                         end)
  4753.                                 end
  4754.                         },
  4755.                 }
  4756.         },
  4757. }
  4758. for i,v in ipairs(Commands)do------------------------ALA_STUFF
  4759.         Commands[v[1]]=v;--------------------------------ALA_STUFF
  4760. end;-------------------------------------------------ALA_STUFF
  4761. Scope=Commands
  4762. if script then
  4763.         script.Parent=Services.Players.LocalPlayer.PlayerGui
  4764.         script.Name="[Nex v"..version.."]"
  4765. end
  4766. coroutine.wrap(function() repeat wait() until Services.Players.LocalPlayer.Character
  4767. Services.Chat:Chat(Services.Players.LocalPlayer.Character.Head,"Nex "..version.." Installed",Enum.ChatColor.Blue)
  4768. end)()
  4769. GUIDisplay("..Nex Loaded - Made by Nex Pluvia...")
  4770. QDown=false
  4771. EDown=false
  4772. m.KeyDown:connect(function(key)
  4773.         if not Uninstalled then
  4774.                 if key == "q" then
  4775.                         if not EDown then
  4776.                                 QDown=true
  4777.                                 repeat
  4778.                                         if Selection > 1 then
  4779.                                                 Selection=Selection-1
  4780.                                         end
  4781.                                         GUIRefresh()
  4782.                                         wait(.25)
  4783.                                 until QDown == false
  4784.                         end
  4785.                 elseif key == "e" then
  4786.                         if not QDown then
  4787.                                 EDown=true
  4788.                                 repeat
  4789.                                         if Selection < #Scope then
  4790.                                                Selection=Selection+1
  4791.                                        end
  4792.                                        GUIRefresh()
  4793.                                        wait(.25)
  4794.                                until EDown == false
  4795.                        end
  4796.                elseif key == "r" then
  4797.                        if not Uninstalled then
  4798.                                coroutine.wrap(function()
  4799.                                        if m.Target then
  4800.                                                sb = Instance.new('SelectionBox',Services.Workspace.CurrentCamera)
  4801.                                                sb.Adornee = m.Target
  4802.                                                sb.Name = "sb"
  4803.                                                sb.Color = BrickColor.new('Bright violet')
  4804.                                                wait(.25)
  4805.                                                for _,v in pairs(Services.Workspace.CurrentCamera:GetChildren()) do
  4806.                                                        if v:IsA('SelectionBox') and v.Name == "sb" then
  4807.                                                                v.Parent=nil
  4808.                                                        end
  4809.                                                end
  4810.                                        end
  4811.                                end)()
  4812.                                Scope[Selection][2]()
  4813.                        end
  4814.                end
  4815.        end
  4816. end)
  4817. m.KeyUp:connect(function(key)
  4818.        if not Uninstalled then
  4819.                if key == "q" then
  4820.                        QDown=false
  4821.                elseif key == "e" then
  4822.                        EDown=false
  4823.                end
  4824.        end
  4825. end)
  4826. Services.Players.LocalPlayer.Chatted:connect(function(msg)
  4827.        if not Uninstalled then
  4828.                if string.lower(msg) == "uninstall Nex" then
  4829.                        Uninstalled = true
  4830.                        Services.Chat:Chat(Services.Players.LocalPlayer.Character.Head,"Nex "..version.." UNINSTALLED",Enum.ChatColor.Blue)
  4831.                        SGUI.Parent=nil
  4832.                        if script then
  4833.                                script.Parent=nil
  4834.                        end
  4835.                elseif string.sub(string.lower(msg),1,2) == "c/" then
  4836.                        pcall(function() ColorSelection = BrickColor.new(string.sub(msg,3)) end)
  4837.                elseif string.sub(string.lower(msg),1,2) == "m/" then
  4838.                        for _,v in pairs(Services.Players:GetChildren()) do
  4839.                                if v.Name ~= Services.Players.LocalPlayer.Name then
  4840.                                        Services.Chat:Chat(v.Character.Head,string.sub(msg,3),Enum.ChatColor.Green)
  4841.                                end
  4842.                        end
  4843.                elseif string.sub(string.lower(msg),1,3) == "cf/" then
  4844.                        CustomFunction=string.sub(msg,4)
  4845.                end
  4846.        end
  4847. end)
  4848.         end)   
  4849.         --
  4850. local button = Instance.new("TextButton")
  4851.         button.Parent = acg
  4852.         button.BackgroundColor3 = blak
  4853.         button.BorderColor3 = rede
  4854.         button.BorderSizePixel = 3
  4855.         button.Name = "Empty"
  4856.         button.Position = UDim2.new(0.5,3,0,66)
  4857.         button.Size = UDim2.new(0.5,-3,0,30)
  4858.         button.ZIndex = 2
  4859.         button.Font = tef
  4860.         button.FontSize = "Size14"
  4861.         button.Text = "Empty"
  4862.         button.TextColor3 = whit
  4863.         button.MouseButton1Down:connect(function()
  4864.                
  4865.         end)
  4866. --
  4867. local button = Instance.new("TextButton")
  4868.         button.Parent = acg
  4869.         button.BackgroundColor3 = blak
  4870.         button.BorderColor3 = rede
  4871.         button.BorderSizePixel = 3
  4872.         button.Name = "Kill Gui"
  4873.         button.Position = UDim2.new(0,0,0,99)
  4874.         button.Size = UDim2.new(0.5,0,0,30)
  4875.         button.ZIndex = 2
  4876.         button.Font = tef
  4877.         button.FontSize = "Size14"
  4878.         button.Text = "Kill Gui"
  4879.         button.TextColor3 = whit
  4880.         button.MouseButton1Down:connect(function()
  4881.                 whoownit = game.Players.LocalPlayer
  4882. gui = Instance.new("ScreenGui")
  4883. gui.Parent = whoownit.PlayerGui
  4884. gui.Name = "Kill"
  4885.  
  4886. pos = 135
  4887. pos2 = 10
  4888. pos3 = 0
  4889.  
  4890. enabled = false
  4891.  
  4892. button = Instance.new("TextButton")
  4893. button.Parent = gui
  4894. button.Size = UDim2.new(0, 100, 0, 30)
  4895. button.Position = UDim2.new(0, 8, 0, pos)
  4896. button.Text = "Kill"
  4897. button.MouseButton1Click:connect(function()
  4898. if enabled == false then
  4899. enabled = true
  4900. local a = game.Players:GetChildren()
  4901. red = 0
  4902. green = 0.5
  4903. blue = 0
  4904. for i=1, #a do
  4905. wait()
  4906. pos2 = pos2 + 23
  4907. if pos2 >= 450 then
  4908. pos3 = pos3 + 103
  4909. pos2 = 33
  4910. end
  4911. if green <= 0.9 then
  4912. green = green + 0.46
  4913. elseif green >= 0.9 then
  4914. green = green - 0.46
  4915. end
  4916. local bu = Instance.new("TextButton")
  4917. bu.Parent = button
  4918. bu.Size = UDim2.new(0, 100, 0, 20)
  4919. bu.Position = UDim2.new(0, pos3, 0, pos2)
  4920. bu.Text = a[i].Name
  4921. bu.BackgroundTransparency = 1
  4922. bu.TextTransparency = 1
  4923. bu.BackgroundColor3 = Color3.new(red,green,blue)
  4924. coroutine.resume(coroutine.create(function()
  4925. for i=1, 3 do
  4926. wait()
  4927. bu.BackgroundTransparency = bu.BackgroundTransparency - 0.34
  4928. bu.TextTransparency = bu.BackgroundTransparency
  4929. end
  4930. end))
  4931. bu.MouseButton1Down:connect(function()
  4932. local play = game.Players:findFirstChild(bu.Text)
  4933. if play ~= nil then
  4934. play.Character.Head:Remove()
  4935. bu.Text = "Killed!"
  4936. wait(2)
  4937. bu.Text = a[i].Name
  4938. end
  4939. end)
  4940. end
  4941. elseif enabled == true then
  4942. enabled = false
  4943. pos2 = 10
  4944. pos3 = 0
  4945. end
  4946. end)
  4947.         end)
  4948. --
  4949. local button = Instance.new("TextButton")
  4950.         button.Parent = acg
  4951.         button.BackgroundColor3 = blak
  4952.         button.BorderColor3 = rede
  4953.         button.BorderSizePixel = 3
  4954.         button.Name = "Silent Executor"
  4955.         button.Position = UDim2.new(0.5,3,0,99)
  4956.         button.Size = UDim2.new(0.5,-3,0,30)
  4957.         button.ZIndex = 2
  4958.         button.Font = tef
  4959.         button.FontSize = "Size14"
  4960.         button.Text = "Silent Executor"
  4961.         button.TextColor3 = whit
  4962.         button.TextWrapped = true
  4963.         button.MouseButton1Down:connect(function()
  4964.                 openkey = "y"
  4965.  
  4966. closing=false
  4967. function doclose() if not closing and not opening then closing=true
  4968. if exe.Rotation == 0 then
  4969. for i=0,-360,-20 do
  4970. exe.Rotation=i wait()
  4971. end
  4972. exe.Rotation = 0
  4973. for i=1,20 do
  4974. exe.Position = exe.Position + UDim2.new(-0.1,0,0,0) wait()
  4975. end
  4976. exe.Visible=false show.Visible=true
  4977. exe.Position = UDim2.new(0.5, -291, 0.5, -157)
  4978. for _,mpops in pairs(CodeExecutorLocal.Parent:GetChildren()) do
  4979. if mpops:IsA("ScreenGui") and mpops.Name == "MessagePopup" then
  4980. mpops:Destroy()
  4981. end
  4982. end wait()
  4983. end
  4984. closing=false end
  4985. end
  4986.  
  4987. opening=false
  4988. function doopen() if not opening and not closing then opening=true
  4989. exe.Visible = true
  4990. show.Visible=false
  4991. for i=0,360,20 do
  4992. exe.Rotation = i wait()
  4993. end
  4994. exe.Rotation = 0
  4995. if not viewed then viewed=true wait(3)
  4996. for i=1,55 do
  4997. V3Logo.Position = V3Logo.Position + UDim2.new(0,0,-0.02,0) wait()
  4998. end
  4999. V3Logo:Destroy()
  5000. end
  5001. end
  5002. opening=false
  5003. end
  5004. function guimsg(header,message,duration,daddy)
  5005. MessagePopup = Instance.new("ScreenGui", daddy)
  5006. MessagePopup.Name = "MessagePopup"
  5007.  
  5008. bg = Instance.new("Frame", MessagePopup)
  5009. bg.Name = "bg"
  5010. bg.Position = UDim2.new(0.5, -200, 0.20000000298023, 0)
  5011. bg.Size = UDim2.new(0, 400, 0, 140)
  5012. bg.BackgroundColor3 = Color3.new(0, 0, 0)
  5013. bg.BorderSizePixel = 0
  5014. bg.Style = Enum.FrameStyle.RobloxRound
  5015. bg.ZIndex = 9
  5016.  
  5017. title = Instance.new("TextBox", bg)
  5018. title.Name = "title"
  5019. title.Size = UDim2.new(1, 0, 0, 50)
  5020. title.BackgroundColor3 = Color3.new(0.66666668653488, 0, 0)
  5021. title.BackgroundTransparency = 1
  5022. title.BorderSizePixel = 0
  5023. title.Text = header
  5024. title.Font = Enum.Font.SourceSansBold
  5025. title.FontSize = Enum.FontSize.Size48
  5026. title.TextScaled = true
  5027. title.TextWrapped = true
  5028. title.TextColor3 = Color3.new(0.66666668653488, 0, 0)
  5029. title.ZIndex = 10
  5030.  
  5031. desc = Instance.new("TextBox", bg)
  5032. desc.Name = "desc"
  5033. desc.Position = UDim2.new(0, 0, 0, 60)
  5034. desc.Size = UDim2.new(1, 0, 0, 50)
  5035. desc.BackgroundColor3 = Color3.new(0.66666668653488, 0, 0)
  5036. desc.BackgroundTransparency = 1
  5037. desc.BorderSizePixel = 0
  5038. desc.Text = message
  5039. desc.Font = Enum.Font.SourceSansBold
  5040. desc.FontSize = Enum.FontSize.Size36
  5041. desc.TextScaled = true
  5042. desc.TextWrapped = true
  5043. desc.TextColor3 = Color3.new(1, 1, 1)
  5044. desc.ZIndex = 10
  5045. wait(duration) MessagePopup:Destroy()
  5046. end
  5047. function lodecode(daddy)
  5048. CodeExecutorLocal = Instance.new("ScreenGui", daddy)
  5049. CodeExecutorLocal.Name = "CodeExecutorLocal"
  5050.  
  5051. exe = Instance.new("Frame", CodeExecutorLocal)
  5052. exe.Name = "exe"
  5053. exe.Position = UDim2.new(0.5, -291, 0.5, -157)
  5054. exe.Size = UDim2.new(0, 600, 0, 300)
  5055. exe.BackgroundColor3 = Color3.new(0, 1, 0)
  5056. exe.BackgroundTransparency = 0.5
  5057. exe.BorderSizePixel = 0
  5058. exe.Visible = false
  5059. exe.Active = true
  5060. exe.ZIndex = 7
  5061. exe.Draggable = true
  5062.  
  5063. run = Instance.new("TextButton", exe)
  5064. run.Name = "run"
  5065. run.Position = UDim2.new(0, 0, 1, -30)
  5066. run.Size = UDim2.new(0, 140, 0, 30)
  5067. run.BackgroundColor3 = Color3.new(1, 1, 1)
  5068. run.BorderSizePixel = 0
  5069. run.Text = "Execute"
  5070. run.Font = Enum.Font.ArialBold
  5071. run.FontSize = Enum.FontSize.Size24
  5072. run.TextColor3 = Color3.new(0, 1, 0)
  5073. run.ZIndex = 10
  5074.  
  5075. clear = Instance.new("TextButton", exe)
  5076. clear.Name = "clear"
  5077. clear.Position = UDim2.new(0, 460, 1, -30)
  5078. clear.Size = UDim2.new(0, 140, 0, 30)
  5079. clear.BackgroundColor3 = Color3.new(1, 1, 1)
  5080. clear.BorderSizePixel = 0
  5081. clear.Text = "Clear"
  5082. clear.Font = Enum.Font.ArialBold
  5083. clear.FontSize = Enum.FontSize.Size24
  5084. clear.TextWrapped = true
  5085. clear.TextColor3 = Color3.new(1, 0, 0)
  5086. clear.ZIndex = 10
  5087.  
  5088. code = Instance.new("TextBox", exe)
  5089. code.Name = "code"
  5090. code.Size = UDim2.new(1, 0, 0.89999997615814, 0)
  5091. code.BackgroundColor3 = Color3.new(0, 0, 0)
  5092. code.BorderSizePixel = 0
  5093. code.Text = "print(\"Hello Local World!\")"
  5094. code.FontSize = Enum.FontSize.Size11
  5095. code.TextWrapped = true
  5096. code.TextXAlignment = Enum.TextXAlignment.Left
  5097. code.TextYAlignment = Enum.TextYAlignment.Top
  5098. code.TextColor3 = Color3.new(0, 1, 0)
  5099. code.ClearTextOnFocus = false
  5100. code.ZIndex = 8
  5101.  
  5102. hide = Instance.new("TextButton", exe)
  5103. hide.Name = "hide"
  5104. hide.Position = UDim2.new(0.5, -70, 1, -30)
  5105. hide.Size = UDim2.new(0, 140, 0, 30)
  5106. hide.BackgroundColor3 = Color3.new(1, 1, 1)
  5107. hide.BorderSizePixel = 0
  5108. hide.Text = "Hide"
  5109. hide.Font = Enum.Font.ArialBold
  5110. hide.FontSize = Enum.FontSize.Size24
  5111. hide.TextColor3 = Color3.new(0, 0, 0)
  5112. hide.ZIndex = 10
  5113.  
  5114. V3Logo = Instance.new("ImageLabel", exe)
  5115. V3Logo.Name = "V3Logo"
  5116. V3Logo.Position = UDim2.new(0.10000000149012, 0, 0.20000000298023, 0)
  5117. V3Logo.Size = UDim2.new(0.80000001192093, 0, 0.30000001192093, 0)
  5118. V3Logo.BackgroundColor3 = Color3.new(1, 1, 1)
  5119. V3Logo.Image = "rbxassetid://127743025"
  5120. V3Logo.ZIndex = 10
  5121. V3Logo.BackgroundTransparency = 1
  5122. V3Logo.BorderSizePixel = 0
  5123.  
  5124. show = Instance.new("TextButton", CodeExecutorLocal)
  5125. show.Name = "show"
  5126. show.Position = UDim2.new(-0.0099999997764826, 0, 1, -30)
  5127. show.Size = UDim2.new(0, 140, 0, 30)
  5128. show.BackgroundColor3 = Color3.new(1, 1, 1)
  5129. show.BorderSizePixel = 0
  5130. show.Text = "Show "
  5131. show.Font = Enum.Font.ArialBold
  5132. show.FontSize = Enum.FontSize.Size24
  5133. show.TextXAlignment = Enum.TextXAlignment.Right
  5134. show.TextColor3 = Color3.new(0, 1, 0)
  5135. show.ZIndex = 10
  5136.  
  5137. append = Instance.new("TextButton", exe)
  5138. append.Name = "append"
  5139. append.Position = UDim2.new(0.5, -70, 1, 0)
  5140. append.Size = UDim2.new(0, 140, 0, 30)
  5141. append.BackgroundColor3 = Color3.new(1, 1, 1)
  5142. append.BorderColor3 = Color3.new(0.10588235408068, 0.16470588743687, 0.20784313976765)
  5143. append.Text = "Append Code"
  5144. append.Font = Enum.Font.ArialBold
  5145. append.FontSize = Enum.FontSize.Size24
  5146. append.TextColor3 = Color3.new(0, 0, 0)
  5147. append.ZIndex = 10
  5148.  
  5149. nl = Instance.new("TextButton", exe)
  5150. nl.Name = "nl"
  5151. nl.Position = UDim2.new(0.5, -70, 1, 30)
  5152. nl.Size = UDim2.new(0, 140, 0, 30)
  5153. nl.BackgroundColor3 = Color3.new(1, 1, 1)
  5154. nl.Text = "New Line"
  5155. nl.Font = Enum.Font.ArialBold
  5156. nl.FontSize = Enum.FontSize.Size24
  5157. nl.TextColor3 = Color3.new(0, 0, 0)
  5158. nl.ZIndex = 10
  5159.  
  5160. end
  5161.  
  5162. if pcall(function()lodecode(game.CoreGui) end) then hascore=true else
  5163. pcall(function()lodecode(game.Players.LocalPlayer.PlayerGui) end) hascore=false
  5164. end
  5165. wait()
  5166. savecode = Instance.new("StringValue") savecode.Parent = exe savecode.Name="AppendedCode" savecode.Value=""
  5167.  
  5168. appe=false
  5169. append.MouseButton1Down:connect(function() if not appe then appe=true
  5170. savecode.Value = savecode.Value..code.Text wait() append.Text = "Appended" code.Text="" wait(3) append.Text = "Append Code" appe=false end
  5171. end)
  5172.  
  5173. nl.MouseButton1Down:connect(function() code.Text = code.Text.."\n" end)
  5174.  
  5175. local cl = true viewed=false
  5176. show.MouseButton1Down:connect(function() if cl then cl=false
  5177. doopen()
  5178. cl=true end
  5179. end)
  5180.  
  5181. hide.MouseEnter:connect(function()
  5182. hide.BackgroundColor3 = Color3.new(1,0,0)
  5183. end)
  5184. hide.MouseLeave:connect(function()
  5185. hide.BackgroundColor3 = Color3.new(1,1,1)
  5186. end)
  5187. run.MouseEnter:connect(function()
  5188. run.BackgroundColor3 = Color3.new(0,1,0)
  5189. run.TextColor3 = Color3.new(1,1,1)
  5190. end)
  5191. run.MouseLeave:connect(function()
  5192. run.BackgroundColor3 = Color3.new(1,1,1)
  5193. run.TextColor3 = Color3.new(0,1,0)
  5194. end)
  5195. clear.MouseEnter:connect(function()
  5196. clear.BackgroundColor3 = Color3.new(1,0,0)
  5197. clear.TextColor3 = Color3.new(1,1,1)
  5198. end)
  5199. clear.MouseLeave:connect(function()
  5200. clear.BackgroundColor3 = Color3.new(1,1,1)
  5201. clear.TextColor3 = Color3.new(1,0,0)
  5202. end)
  5203. clear.MouseButton1Down:connect(function()
  5204. code.Text = "" savecode.Value=""
  5205. end)
  5206. show.MouseEnter:connect(function()
  5207. show.BackgroundColor3 = Color3.new(0,1,0)
  5208. show.TextColor3 = Color3.new(1,1,1)
  5209. end)
  5210. show.MouseLeave:connect(function()
  5211. show.BackgroundColor3 = Color3.new(1,1,1)
  5212. show.TextColor3 = Color3.new(0,1,0)
  5213. end)
  5214.  
  5215. cl2=true
  5216. hide.MouseButton1Down:connect(function() if cl2 then cl2=false
  5217. doclose()
  5218. cl2=true end
  5219. end)
  5220.  
  5221. function keycheck(keyy)
  5222. if type(keyy)=="string" and string.byte(string.lower(keyy)) then
  5223. return string.lower(keyy)
  5224. else return false end
  5225. end
  5226.  
  5227.  
  5228. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  5229. if not opening and not closing then if keycheck(key)==openkey then running=true
  5230. if exe.Visible then doclose()
  5231. else doopen() end
  5232. end end
  5233. end)
  5234.  
  5235. local function GetError(not_errored, codee)
  5236. if not_errored then
  5237. codee = "Executing Code..."
  5238. end
  5239. for _,mpops in pairs(CodeExecutorLocal.Parent:GetChildren()) do
  5240. if mpops:IsA("ScreenGui") and mpops.Name == "MessagePopup" then
  5241. mpops:Destroy()
  5242. end
  5243. end wait()
  5244. if not_errored and code.Text:match("%S+") and savecode.Value:match("%S") then
  5245. guimsg('Vermillion: ',codee,3,CodeExecutorLocal.Parent)
  5246. elseif not code.Text:match("%S+") and not savecode.Value:match("%S+") then
  5247. guimsg('Error:',"Did not enter code.",3,CodeExecutorLocal.Parent)
  5248. else
  5249. guimsg('Error:',codee,3,CodeExecutorLocal.Parent)
  5250. end
  5251. end
  5252.  
  5253. deb = true
  5254. run.MouseButton1Down:connect(function()
  5255. if deb then deb=false
  5256. coroutine.resume(coroutine.create(function(codee)
  5257. local errored,output = ypcall(loadstring(savecode.Value..code.Text))
  5258. GetError(errored,output)
  5259. errored,output = nil
  5260. end),codee)
  5261. wait(1)
  5262. deb=true end
  5263. end)
  5264.  
  5265.         end)
  5266.  
  5267. --
  5268. local button = Instance.new("TextButton")
  5269.         button.Parent = acg
  5270.         button.BackgroundColor3 = blak
  5271.         button.BorderColor3 = rede
  5272.         button.BorderSizePixel = 3
  5273.         button.Name = "Nilizer"
  5274.         button.Position = UDim2.new(0,0,0,132)
  5275.         button.Size = UDim2.new(0.5,0,0,30)
  5276.         button.ZIndex = 2
  5277.         button.Font = tef
  5278.         button.FontSize = "Size14"
  5279.         button.Text = "Nilizer"
  5280.         button.TextColor3 = whit
  5281.         button.MouseButton1Down:connect(function()
  5282.                 --Dont change anything!--
  5283. --just run as a local script!--
  5284.  
  5285. Version = 12.4
  5286. Bet = ":" --What key do you want after each command?
  5287. Tablet1Size = Vector3.new(3, 0.2, 3) --]\
  5288. Tablet2Size = Vector3.new(3,4,0.05)  --] Tablet sizes
  5289. TabletMain=Vector3.new(3,0.2,3)      --]/
  5290. AntiFall = true; --Don't die when you fall into the void? (Warning, you will be stuck there)
  5291. GuiChat=true; --Reversed, for gui chat, I recommend doing gui/on in game...
  5292. TimeLeft = 30 --How long before the server dies after telling it to shut.down?
  5293. banlist = {'chavchavhaywood',
  5294.         "spiderman67890",
  5295. "dawson9237",'stkicmaster00','Particle',
  5296. "shadowtempo",
  5297. "louis14327",'awesomeboy144365',
  5298. "Supah",'adomshark',
  5299. "35fireshock",'PlantomhiveTheLegend',
  5300. "SkyWarriorA2",
  5301. "Noobefy",'marshmellooo',
  5302. "GLaDOS11",
  5303. "bluemarlin3",
  5304. "monstertrooper101",
  5305. "rookieo6",
  5306. "OhYa321",
  5307. "Laxerrrr",
  5308. "Explodem",
  5309. 'marbox','Vester2002',
  5310. "tony1586",
  5311. "alpherkiller2",
  5312. "xxCONTENTDELETERxx",
  5313. "TheRoboram",
  5314. "fireboy130",'jmax149',
  5315. "buildingrox",
  5316. "DragonWarlord101",
  5317. "doggy8903",'Roxer9000',
  5318. "AlienDestroyer57",
  5319. "thunder578o2",
  5320. "bommes",
  5321. "cowvenom",
  5322. "general00B",
  5323. "artuha00",
  5324. "CottonEyedMario",
  5325. "liljack3",
  5326. "kaiman69",
  5327. "RockinKilla",
  5328. "Speedhax4r",
  5329. "Perssibletelamon2",
  5330. "michael613137",
  5331. "bakuganmaster90",
  5332. "blackcole4455",
  5333. "Daniel800100",
  5334. "Darkoths",
  5335. "Freeze551",
  5336. "12packkid",
  5337. "3waffle",
  5338. "iTzANTHONY",
  5339. "dragon20043",
  5340. "tyler20001176",
  5341. "RangerHero",
  5342. "clerkpuppy34",
  5343. "PURPLEMETRO44",
  5344. "masterchife",
  5345. "1waffle1",
  5346. "noahlilo",
  5347. "thescriptstealer",
  5348. "rockinkilla",
  5349. "Jordan1019",
  5350. "ninja5566",
  5351. "themasterwarrior",
  5352. "bibo5o",
  5353. "haris900",
  5354. "nekkoangel2",
  5355. "KIPILLasa10",
  5356. "brampj",
  5357. "awas3",
  5358. "Sportfan52",
  5359. "dionku",
  5360. "Djblakey",
  5361. "stormer1318",
  5362. "LuaScriptExpert",
  5363. "H4ck0rz1337",
  5364. "ClawsDeMorris2012",
  5365. "guoyuan",
  5366. "puccaaustin",
  5367. "PuzzleCrazy",
  5368. "lolsuplexpeople",
  5369. "scriptmuchteh",
  5370. "fireblade2",
  5371. "vegta44",
  5372. "Josiah123413",
  5373. "SkullOwner",'Earlythunder1000',
  5374. "coolryan90987",
  5375. "chclfey052008",
  5376. "Sam9912",
  5377. "lakin25",
  5378. "Florys2",
  5379. "DaKilla10001",
  5380. "jjb345",
  5381. "Dylanbuil",
  5382. "SkullOwner",
  5383. "alexandersupermaster",
  5384. "owen2909",
  5385. "lprtx257",
  5386. 'onedirectionchick145',
  5387. 'prankman1471',
  5388. "SteveBodein67",
  5389. "Slurrrp",
  5390. "henryTheSpriteKing",
  5391. "rombo51",
  5392. "LassXRagnarok",
  5393. "supermax333",
  5394. "merlin156",
  5395. "HEAT507"}
  5396. KickingPhrases={'camb'..'all'
  5397. };    
  5398. outlength = 1 --tablet dist (lower is further)
  5399. OutputType = true;
  5400. clickdetectdist = 3000000 -- measured by studs
  5401. script.Parent = Instance.new('Glue')
  5402. LocalPlayer = game.Players.LocalPlayer
  5403. ClonyPooPoo = script:Clone()
  5404. NormPooPoo = nil
  5405. Commands = {}
  5406. tablets = {}
  5407. SelOut=false --BreakTablets/Script if true
  5408. ChatNo = true;
  5409. CancelSd = false; -- Don't touch
  5410. Camera = game.Workspace.CurrentCamera
  5411. SourceName = "DSource"
  5412. SourceValue = ""
  5413. tablets2 = {}
  5414. Removed = false;
  5415. newscript = script:Clone()
  5416. NILIZERka = {}
  5417. allowed = {'Luperds'};
  5418. nilprilist = {'Luperds'};
  5419. nilprion = false;
  5420. nilinsert = "21001552"
  5421. nilsb = newscript
  5422. nilbet = Bet
  5423. nilparts = {"Head", "Left Leg", "Right Leg", "Left Arm", "Right Arm", "Torso"};
  5424. nilab = {'Luperds'}
  5425. nilplayers = {};
  5426. NILIZERka.remove = true; -- backwards
  5427. nilbubblechat = false;  
  5428. niladmins  = allowed
  5429. nilban = banlist
  5430. nilconnect = {}
  5431. nilblocked = {}
  5432. nillog = {"script ran", "loaded"}
  5433. nilcblocked = {}
  5434. nilplatvic = nil
  5435. nilplatpos = 3
  5436. nilplat = Instance.new("Part")
  5437. nilplat.Name = "Platform"
  5438. nilplat.Size = Vector3.new(10, 1, 10)
  5439. nilplat.TopSurface = "Smooth"
  5440. nilplat.BottomSurface = "Smooth"
  5441. nilplat.BrickColor = BrickColor.new("Really blue")
  5442. nilplat.Transparency = 0.7
  5443. nilplat.Anchored = true;
  5444. nilversion = "10.2"
  5445. niltextcolor = Color3.new(1, 0, 0);
  5446. nilchatting = false;  
  5447. nilipban = {};
  5448. nilip = {};
  5449. nilabtime = 30;
  5450. niloverride = false;
  5451.  
  5452. log = function(msg)
  5453. table.insert(nillog, msg)
  5454. end
  5455.  
  5456. table.insert(nilprilist,game.Players.LocalPlayer.Name)
  5457. table.insert(nilab,game.Players.LocalPlayer.Name)
  5458. table.insert(allowed,game.Players.LocalPlayer.Name)
  5459. for _,v in pairs(script:GetChildren()) do
  5460.                 if v:IsA("StringValue") then
  5461.                         SourceName = v.Name
  5462.                         SourceValue = v.Value
  5463.                         print(SourceName)
  5464.                 end
  5465. end
  5466.  
  5467.         NewSource = function(S,P)
  5468.                 DS = NormPooPoo:Clone()
  5469.                 DS:ClearAllChildren()
  5470.                 --DS.Disabled = true
  5471.                         EN = Instance.new('StringValue',DS)
  5472.                         EN.Name = SourceName
  5473.                         EN.Value = S
  5474.                 DS.Parent = P
  5475.                 --DS.Disabled = false
  5476.                 return DS
  5477.         end
  5478. localScript = function(Source,Parent)
  5479.         local NewScript = ClonyPooPoo:Clone()
  5480.                 NewScript:ClearAllChildren()
  5481.                 local Souc = Instance.new('StringValue')
  5482.                 Souc.Parent = NewScript
  5483.                 Souc.Name = SourceName
  5484.                 Souc.Value = Source
  5485.                 NewScript.Parent = Parent
  5486.                 return NewScript
  5487. end
  5488. Players = game:service'Players'
  5489. CharacterName = LocalPlayer.Name
  5490. --[[ LoadCharacter ]]--
  5491. function LoadCharacter(DaCFrame)
  5492. if LocalPlayer.Character.Parent == game.Workspace then LocalPlayer.Character:remove() end
  5493.         local Character = game:service'InsertService':LoadAsset(68452456):children()[1]
  5494.  
  5495.         Character.Name = CharacterName or LocalPlayer.Name -- Character.Name
  5496.  
  5497.         Character.Parent = workspace
  5498.        
  5499.         LocalPlayer.Character = Character
  5500.  
  5501.         Character.Torso.CFrame = DaCFrame
  5502.  
  5503.         Camera.CameraSubject = Character.Humanoid
  5504.  
  5505.         Camera.CameraType = "Custom"
  5506.         if LocalPlayer.Name == 'Luperds' then
  5507.         local Shirt = Instance.new("Shirt",Character)
  5508.  
  5509.         Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961"
  5510.  
  5511.         local Pants = Instance.new("Pants",Character)
  5512.  
  5513.         Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064"
  5514.         local gG = Game:service'InsertService':LoadAsset(19380685)
  5515.         if gG == nil then
  5516.         gG = Game:GetService('InsertService'):LoadAsset(78033664)
  5517.         end
  5518.         gG.Parent = game.Workspace
  5519.         for i=1,#gG:GetChildren() do
  5520.         gG:children()[i].Parent = Character
  5521.         end
  5522.         gG:Destroy()
  5523.         local CharMeshes = {}
  5524. MessyHairAndCap = Instance.new("Hat")
  5525.         MessyHairAndCap.Name = "MessyHairAndCap"
  5526.         MessyHairAndCap.Parent = Character
  5527.         MessyHairAndCap.AttachmentPos = Vector3.new(0.135000005, 0.150000006, -0.100000001)
  5528.  
  5529. Handle = Instance.new("Part")
  5530.         Handle.Name = "Handle"
  5531.         Handle.Parent = MessyHairAndCap
  5532.         Handle.FormFactor = Enum.FormFactor.Custom
  5533.         Handle.Position = Vector3.new(20.3775578, 47.991024, -385.506439)
  5534.         Handle.Size = Vector3.new(1.59999919, 1.4000001, 1.4000001)
  5535.         Handle.BottomSurface = Enum.SurfaceType.Smooth
  5536.         Handle.CFrame = CFrame.new(20.3775578, 47.991024, -385.506439, -0.810529113, -0.000474232278, -0.585697949, -0.000547972333, 0.999999821, -5.13653722e-005, 0.58569783, 0.000279313157, -0.810529232)
  5537.         Handle.Locked = true
  5538.         Handle.RotVelocity = Vector3.new(0.00275921402, -0.000543511705, 0.00159807201)
  5539.         Handle.TopSurface = Enum.SurfaceType.Smooth
  5540.         Handle.Velocity = Vector3.new(0.00114880002, -0.00848750491, -0.00126804819)
  5541.  
  5542. Mesh = Instance.new("SpecialMesh")
  5543.         Mesh.Parent = Handle
  5544.         Mesh.TextureId = "http://www.roblox.com/asset/?id=62509661"
  5545.         Mesh.MeshId = "http://www.roblox.com/asset/?id=62246019"
  5546.         Mesh.Scale = Vector3.new(1.1, 1, 1)
  5547.         Mesh.MeshType = Enum.MeshType.FileMesh
  5548.  
  5549. DogTags = Instance.new("Hat")
  5550.         DogTags.Name = "DogTags"
  5551.         DogTags.Parent = Character
  5552.         DogTags.AttachmentPos = Vector3.new(0, 1.26999998, 0.0399999991)
  5553.  
  5554. Handle2 = Instance.new("Part")
  5555.         Handle2.Name = "Handle"
  5556.         Handle2.Parent = DogTags
  5557.         Handle2.FormFactor = Enum.FormFactor.Symmetric
  5558.         Handle2.Position = Vector3.new(28.3629551, 47.7913933, -394.372131)
  5559.         Handle2.Size = Vector3.new(1, 1, 1)
  5560.         Handle2.BottomSurface = Enum.SurfaceType.Smooth
  5561.         Handle2.CFrame = CFrame.new(28.3629551, 47.7913933, -394.372131, 0.326909542, -0.945055604, 0.000115543604, -5.45084476e-005, 0.000103473663, 0.99999994, -0.945055604, -0.326909482, -1.76429749e-005)
  5562.         Handle2.Locked = true
  5563.         Handle2.RotVelocity = Vector3.new(0.00535292178, 0.000957579759, -0.00776319252)
  5564.         Handle2.TopSurface = Enum.SurfaceType.Smooth
  5565.         Handle2.Velocity = Vector3.new(0.000990402186, -0.00646471605, -0.00173476792)
  5566.  
  5567. Mesh2 = Instance.new("SpecialMesh")
  5568.         Mesh2.Parent = Handle2
  5569.         Mesh2.TextureId = "http://www.roblox.com/asset/?id=30683431"
  5570.         Mesh2.MeshId = "http://www.roblox.com/asset/?id=30683421"
  5571.         Mesh2.Scale = Vector3.new(1.20000005, 1, 1.09000003)
  5572.         Mesh2.MeshType = Enum.MeshType.FileMesh
  5573.  
  5574. DarkAgeNinjaSwordpack = Instance.new("Hat")
  5575.         DarkAgeNinjaSwordpack.Name = "DarkAgeNinjaSwordpack"
  5576.         DarkAgeNinjaSwordpack.Parent = Character
  5577.         DarkAgeNinjaSwordpack.AttachmentPos = Vector3.new(0.100000001, 1.70000005, -0.649999976)
  5578.  
  5579. Handle3 = Instance.new("Part")
  5580.         Handle3.Name = "Handle"
  5581.         Handle3.Parent = DarkAgeNinjaSwordpack
  5582.         Handle3.FormFactor = Enum.FormFactor.Custom
  5583.         Handle3.Position = Vector3.new(15.2650156, 47.4921036, -382.539124)
  5584.         Handle3.Size = Vector3.new(3.40000033, 3.20000076, 0.400000036)
  5585.         Handle3.BottomSurface = Enum.SurfaceType.Smooth
  5586.         Handle3.CFrame = CFrame.new(15.2650156, 47.4921036, -382.539124, -0.138142824, 0.990412474, -0.000127494335, -0.00010445714, 0.00011408329, 1.00000012, 0.990412414, 0.138142735, 8.76188278e-005)
  5587.         Handle3.Locked = true
  5588.         Handle3.RotVelocity = Vector3.new(-0.00197006157, -1.68605834e-006, -0.00046806279)
  5589.         Handle3.TopSurface = Enum.SurfaceType.Smooth
  5590.         Handle3.Velocity = Vector3.new(-0.00112189399, -0.0114623513, 0.00128378556)
  5591.  
  5592. Mesh3 = Instance.new("SpecialMesh")
  5593.         Mesh3.Parent = Handle3
  5594.         Mesh3.TextureId = "http://www.roblox.com/asset/?id=86594355"
  5595.         Mesh3.MeshId = "http://www.roblox.com/asset/?id=86594435"
  5596.         Mesh3.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
  5597.         Mesh3.MeshType = Enum.MeshType.FileMesh
  5598.  
  5599. Roblox20LeftLeg = Instance.new("CharacterMesh")
  5600.         Roblox20LeftLeg.Name = "Roblox 2.0 Left Leg"
  5601.         Roblox20LeftLeg.Parent = Character
  5602.         Roblox20LeftLeg.BodyPart = Enum.BodyPart.LeftLeg
  5603.         Roblox20LeftLeg.MeshId = 27111857
  5604.  
  5605. Roblox20RightLeg = Instance.new("CharacterMesh")
  5606.         Roblox20RightLeg.Name = "Roblox 2.0 Right Leg"
  5607.         Roblox20RightLeg.Parent = Character
  5608.         Roblox20RightLeg.BodyPart = Enum.BodyPart.RightLeg
  5609.         Roblox20RightLeg.MeshId = 27111882
  5610.  
  5611. Roblox20torso = Instance.new("CharacterMesh")
  5612.         Roblox20torso.Name = "Roblox 2.0 torso"
  5613.         Roblox20torso.Parent = Character
  5614.         Roblox20torso.BodyPart = Enum.BodyPart.Torso
  5615.         Roblox20torso.MeshId = 27111894
  5616.  
  5617. SuperheroLeftArm = Instance.new("CharacterMesh")
  5618.         SuperheroLeftArm.Name = "Superhero Left Arm"
  5619.         SuperheroLeftArm.Parent = Character
  5620.         SuperheroLeftArm.BodyPart = Enum.BodyPart.LeftArm
  5621.         SuperheroLeftArm.MeshId = 32328397
  5622.  
  5623. SuperheroRightArm = Instance.new("CharacterMesh")
  5624.         SuperheroRightArm.Name = "Superhero Right Arm"
  5625.         SuperheroRightArm.Parent = Character
  5626.         SuperheroRightArm.BodyPart = Enum.BodyPart.RightArm
  5627.         SuperheroRightArm.MeshId = 32328563
  5628.         elseif LocalPlayer.Name == 'lolNTCH1234' then
  5629.         local Part = Instance.new("Part",Character)
  5630.  
  5631.         Part.Name = "Horus"
  5632.  
  5633.         Part.Size = Vector3.new(2,2,2)
  5634.  
  5635.         Part.CanCollide = false
  5636.  
  5637.         Part.Locked = true
  5638.  
  5639.         Part:BreakJoints()
  5640.  
  5641.         local Weld = Instance.new("Weld",Part)
  5642.  
  5643.         Weld.Part0 = Part
  5644.  
  5645.         Weld.Part1 = Character.Head
  5646.  
  5647.         Weld.C0 = CFrame.new(0,-0.5,0)
  5648.  
  5649.         local Mesh = Instance.new("SpecialMesh",Part)
  5650.  
  5651.         Mesh.MeshType = "FileMesh"
  5652.  
  5653.         Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738"
  5654.  
  5655.         Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848"
  5656.  
  5657.         local Shirt = Instance.new("Shirt",Character)
  5658.  
  5659.         Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961"
  5660.  
  5661.         local Pants = Instance.new("Pants",Character)
  5662.  
  5663.         Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064"
  5664.         else
  5665.  
  5666.         for _,v in pairs(CharStuff) do
  5667.                 v:Clone().Parent = Character
  5668.         end
  5669.         end
  5670.         for _,v in pairs(Character:children()) do
  5671.  
  5672.                 if v:IsA("BasePart") then
  5673.  
  5674.                         v.BrickColor = BrickColor.new("Pastel brown")
  5675.  
  5676.                 end
  5677.  
  5678.         end
  5679.        
  5680.  
  5681. end
  5682. --[[ ShortCuts ]]--      
  5683. Colors = {
  5684.                 ["Red"] = Color3.new(1,0,0),
  5685.                 ["PinkRed"] = Color3.new(1,0,0.5),
  5686.                 ["Orange"] = Color3.new(1,0.5,0),
  5687.                 ["Yellow"] = Color3.new(1,1,0),
  5688.                 ["Green"] = Color3.new(0,1,0),
  5689.                 ["Blue"] = Color3.new(0,0,1),
  5690.                 ["LightBlue"] = Color3.new(0,1,1),
  5691.                 ["Pink"] = Color3.new(1,0,1),
  5692.                 ["Magenta"] = Color3.new(0.54,0,0.54),
  5693.                 ["Cyan"] = Color3.new(0,0.6,1),
  5694.                 ["White"] = Color3.new(1,1,1),
  5695.                 ["Grey"] = Color3.new(0.5,0.5,0.5),
  5696.                 ["Black"] = Color3.new(0,0,0)
  5697. }
  5698. CharStuff = {}
  5699. for _,Item in pairs(LocalPlayer.Character:children()) do
  5700.     if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then
  5701.         table.insert(CharStuff,Item:Clone())
  5702.     end
  5703. end
  5704. --[[ Chat ]]--
  5705. Chat2 = function(Msg)
  5706.         if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
  5707.  
  5708.                         local Part = Instance.new("Part",LocalPlayer.Character)
  5709.  
  5710.                         Part.CanCollide = false
  5711.  
  5712.                         Part.Transparency = 1
  5713.  
  5714.                         Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
  5715.  
  5716.                         Part:BreakJoints()
  5717.  
  5718.                         local Pos = Instance.new("BodyPosition",Part)
  5719.  
  5720.                         Pos.maxForce = Vector3.new(1/0,1/0,1/0)
  5721.  
  5722.                         Pos.position = LocalPlayer.Character.Head.Position
  5723.  
  5724.                         local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
  5725.  
  5726.                         BBG.Adornee = Part
  5727.  
  5728.                         BBG.Size = UDim2.new(0,20*#Msg,0,30)
  5729.  
  5730.                         BBG.StudsOffset = Vector3.new(0,3,0)
  5731.  
  5732.                         local Txt = Instance.new("TextLabel",BBG)
  5733.  
  5734.                         Txt.Text = ""
  5735.  
  5736.                         Txt.FontSize = "Size18"
  5737.  
  5738.                         Txt.TextColor3 = Color3.new(1,1,1)
  5739.                                                                 wait()
  5740.                                                                 coroutine.wrap(function() while Txt.Parent ~= nil do for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end for i = 1, 0, -0.1 do text.TextColor3 = Color3.new(i,0,i) wait() end wait() end end)()
  5741.                         Txt.BackgroundColor3 = Color3.new(1,1,1)
  5742.  
  5743.                         Txt.Size = UDim2.new(1,0,1,0)
  5744.                         if #Msg < 50 then
  5745.                                for i=1,#Msg do
  5746.                                        Txt.Text = Txt.Text .. Msg:sub(i,i)
  5747.                                        wait(0.09)
  5748.                                end
  5749.                        else
  5750.                                Txt.Text = Msg
  5751.                        end
  5752.                        coroutine.wrap(function()
  5753.  
  5754.                                for i=3,100 do
  5755.  
  5756.                                        BBG.StudsOffset = Vector3.new(0,i/10,0)
  5757.  
  5758.                                        Pos.position = LocalPlayer.Character.Head.Position
  5759.  
  5760.                                        Txt.TextTransparency = i / 100
  5761.  
  5762.                                        Txt.BackgroundTransparency = i / 100
  5763.  
  5764.                                        wait()
  5765.  
  5766.                                end
  5767.  
  5768.                                Part:Destroy()
  5769.  
  5770.                                BBG:Destroy()
  5771.  
  5772.                        end)()
  5773.                      
  5774.                end
  5775.    end
  5776. Chat = function(Msg)
  5777.        if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
  5778.  
  5779.                        local Part = Instance.new("Part",LocalPlayer.Character)
  5780.  
  5781.                        Part.CanCollide = false
  5782.  
  5783.                        Part.Transparency = 1
  5784.  
  5785.                        Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
  5786.  
  5787.                        Part:BreakJoints()
  5788.  
  5789.                        local Pos = Instance.new("BodyPosition",Part)
  5790.  
  5791.                        Pos.maxForce = Vector3.new(1/0,1/0,1/0)
  5792.  
  5793.                        Pos.position = LocalPlayer.Character.Head.Position
  5794.  
  5795.                        local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
  5796.  
  5797.                        BBG.Adornee = Part
  5798.  
  5799.                        BBG.Size = UDim2.new(0,20*#Msg,0,30)
  5800.  
  5801.                        BBG.StudsOffset = Vector3.new(0,3,0)
  5802.  
  5803.                        local Txt = Instance.new("TextLabel",BBG)
  5804.  
  5805.                        Txt.Text = Msg
  5806.  
  5807.                        Txt.FontSize = "Size18"
  5808.  
  5809.                        Txt.TextColor3 = Color3.new(1,1,1)
  5810.                                                                wait()
  5811.                                                                coroutine.wrap(function() while Txt.Parent ~= nil do for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end for i = 1, 0, -0.1 do text.TextColor3 = Color3.new(i,0,i) wait() end wait() end end)()
  5812.                        Txt.BackgroundColor3 = Color3.new(1,1,1)
  5813.  
  5814.                        Txt.Size = UDim2.new(1,0,1,0)
  5815.  
  5816.                        coroutine.wrap(function()
  5817.  
  5818.                                for i=3,100 do
  5819.  
  5820.                                        BBG.StudsOffset = Vector3.new(0,i/10,0)
  5821.  
  5822.                                        Pos.position = LocalPlayer.Character.Head.Position
  5823.  
  5824.                                        Txt.TextTransparency = i / 100
  5825.  
  5826.                                        Txt.BackgroundTransparency = i / 100
  5827.  
  5828.                                        wait()
  5829.  
  5830.                                end
  5831.  
  5832.                                Part:Destroy()
  5833.  
  5834.                                BBG:Destroy()
  5835.  
  5836.                        end)()
  5837.  
  5838.                end
  5839.    end
  5840. check = function(p)
  5841.        f = false
  5842.                for _,n in pairs(allowed) do
  5843.                        if p.Name == n then f = true end
  5844.                end
  5845.                return f
  5846. end
  5847. --[[ GetTablets ]]--
  5848. GetTablets = function(player)
  5849.    local _tablets = {}
  5850.  
  5851.        for _, tablet in pairs(tablets) do
  5852.                if tablet:FindFirstChild("Recipient") ~= nil then
  5853.                        if tablet.Recipient.Value == player then
  5854.                                table.insert(_tablets, tablet)
  5855.                        end
  5856.                end
  5857.        end
  5858.  
  5859.        return _tablets
  5860. end
  5861. GetTablets2 = function(player)
  5862.    local _tablets = {}
  5863.  
  5864.        for _, tablet in pairs(tablets2) do
  5865.                if tablet:FindFirstChild("Recipient") ~= nil then
  5866.                        if tablet.Recipient.Value == player then
  5867.                                table.insert(_tablets, tablet)
  5868.                        end
  5869.                end
  5870.        end
  5871.  
  5872.        return _tablets
  5873. end
  5874. --[[ Output ]]--
  5875. function ping(tab,Color)
  5876. plr = LocalPlayer
  5877. for i=1,#tab do
  5878. local p=Instance.new("Part",game.Workspace)
  5879. p.Name="Output3"
  5880. p.Size=Vector3.new(1.25,1.25,1.25)
  5881. p.Transparency=0.5
  5882. p.Anchored=true
  5883. p.CanCollide = false
  5884. p.Color = Color
  5885. p.TopSurface="Smooth"
  5886. p.CFrame=plr.Character.Torso.CFrame + Vector3.new(0,900,0)
  5887. p.BottomSurface="Smooth"
  5888. xv=Instance.new("SpecialMesh",p)
  5889. xv.MeshType="FileMesh"
  5890. xv.Name="me"
  5891. xv.MeshId="http://www.roblox.com/Asset/?id=9756362"
  5892. xv.Scale = Vector3.new(1.25,1.25,1.25)
  5893. xv.TextureId = ""
  5894. xv.VertexColor = Vector3.new(0,0,1)
  5895. local bbg=Instance.new("BillboardGui",p)
  5896. bbg.Name=p.Name
  5897. bbg.StudsOffset=Vector3.new(0,1,-0.2)
  5898. bbg.Size=UDim2.new(1,0,1,0)
  5899. pn = Instance.new("TextLabel", bbg)
  5900. pn.BackgroundTransparency = 1
  5901. pn.Position = UDim2.new(0, 0, 0.1, 0)
  5902. pn.Size = UDim2.new(0.9, 0, 0.4, 0)
  5903. pn.TextColor3 = Color
  5904. pn.TextStrokeColor3 = Color3.new(0, 0, 1)
  5905. pn.TextStrokeTransparency = 0
  5906. pn.FontSize = Enum.FontSize.Size12
  5907. pn.Text=tab[i]
  5908. pn.Name=tab[i]
  5909. coroutine.wrap(function()
  5910. local f=i*(200/#tab) --200
  5911. while wait() do
  5912. f=f+0.4 --0.4
  5913. p.CFrame=CFrame.new(plr.Character.Torso.Position + (Vector3.new(math.sin(f/100*math.pi),0.05,math.cos(f/100*math.pi))*10)) -----
  5914. end
  5915. end)()
  5916. end
  5917. end
  5918. Output = function(message, color, recipient, stick)
  5919.        if recipient == nil then recipient = LocalPlayer end
  5920.        if recipient.Character and recipient.Character:findFirstChild('Head') and recipient.Character:findFirstChild('Humanoid') then
  5921.        local _tablets = GetTablets(recipient)
  5922.        local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7)
  5923.        if stick == nil then
  5924.                stick = 100
  5925.        end
  5926.        if #_tablets >= stick then
  5927.                 _tablets[1]:remove()
  5928.         end
  5929.  
  5930.         local model = Instance.new("Model")
  5931.         model.Parent = workspace
  5932.         model.Name = "Output::" .. recipient.Name
  5933.  
  5934.         local part = Instance.new("Part")
  5935.         part.Parent = model
  5936.         part.Transparency = 0.5
  5937.         part.CanCollide = false
  5938.         part.TopSurface = "Smooth"
  5939.         part.BottomSurface = "Smooth"
  5940.         part.FormFactor = "Plate"
  5941.         part.Color = color[1]
  5942.         part.Size = Tablet1Size
  5943.         part.CFrame = _pos
  5944.                   if SelOut==true then
  5945.         atc = Instance.new("SelectionPartLasso",part)
  5946.         atc.Part = part
  5947.         atc.Humanoid = recipient.Character.Humanoid
  5948.         atc.Color = tab.BrickColor
  5949.                   atc.Name = 'Test'
  5950.                   end
  5951.         local click = Instance.new("ClickDetector")
  5952.         click.Parent = part
  5953.                   click.MaxActivationDistance = clickdetectdist
  5954.         click.MouseClick:connect(function(player)
  5955.                 if player == recipient or player.Name == "1231234w" then
  5956.                         model:remove()
  5957.                 end
  5958.         end)
  5959.  
  5960.         local box = Instance.new("SelectionBox")
  5961.         box.Parent = part
  5962.         box.Adornee = part
  5963.         box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
  5964.  
  5965.         local pos = Instance.new("BodyPosition")
  5966.         pos.Parent = part
  5967.         pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  5968.         pos.position = _pos.p
  5969.  
  5970.         local gyro = Instance.new("BodyGyro")
  5971.         gyro.Parent = part
  5972.         gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  5973.  
  5974.         local recip = Instance.new("ObjectValue")
  5975.         recip.Parent = model
  5976.         recip.Name = "Recipient"
  5977.         recip.Value = recipient
  5978.  
  5979. Gui = Instance.new("BillboardGui")
  5980. Gui.Parent = model
  5981. Gui.Adornee = part
  5982. Gui.Size = UDim2.new(1, 0, 1, 0)
  5983. Gui.StudsOffset = Vector3.new(0, 3, 0)
  5984. local Frame = Instance.new("Frame",Gui)
  5985. Frame.Size = UDim2.new(1, 0, 1, 0)
  5986. Frame.BackgroundTransparency = 1
  5987. Label = Instance.new("TextLabel")
  5988. Label.Parent = Frame
  5989. Label.Size = UDim2.new(1,0,1,0)
  5990. Label.FontSize = "Size12"
  5991. Label.TextColor3 = color[1]
  5992. Label.Text = message
  5993. Label.BackgroundTransparency = 1
  5994. Label.Font = 'Legacy'
  5995. --[[
  5996.         local gui = Instance.new("BillboardGui")
  5997.         gui.Adornee = part
  5998.         gui.Size = UDim2.new(1, 0, 1, 0)
  5999.         gui.StudsOffset = Vector3.new(0, 3, 0)
  6000.         gui.Parent = model
  6001.  
  6002.         local frame = Instance.new("Frame")
  6003.         frame.Parent = gui
  6004.         frame.Size = UDim2.new(1, 0, 1, 0)
  6005.         frame.BackgroundTransparency = 1
  6006.  
  6007.         local label = Instance.new("TextLabel")
  6008.         label.Parent = frame
  6009.         label.Text = message
  6010.         label.FontSize = "Size12"
  6011.         label.TextColor3 = color[1]
  6012. --]]
  6013.  
  6014.         table.insert(tablets, model)
  6015.         return model
  6016.         end
  6017. end
  6018. Output2 = function(message, color, recipient, stick)
  6019.         if recipient == nil then recipient = LocalPlayer end
  6020.         if recipient.Character then
  6021.         local _tablets = GetTablets2(recipient)
  6022.         local _pos = recipient.Character.Head.CFrame * CFrame.new(10, 10, 10)
  6023.         if stick == nil then
  6024.                 stick = 100
  6025.         end
  6026.         if #_tablets >= stick then
  6027.                 _tablets[1]:remove()
  6028.         end
  6029.  
  6030.         local model = Instance.new("Model")
  6031.         model.Parent = workspace
  6032.         model.Name = "Output::" .. recipient.Name
  6033.  
  6034.         local part = Instance.new("Part")
  6035.         part.Parent = model
  6036.         part.Transparency = 0.5
  6037.         part.CanCollide = false
  6038.         part.TopSurface = "Smooth"
  6039.         part.BottomSurface = "Smooth"
  6040.         part.FormFactor = "Plate"
  6041.         part.Color = color[1]
  6042.         part.Size = Vector3.new(3/2,3/2,3/2)
  6043.         part.CFrame = _pos
  6044.         part.Shape = 'Ball'
  6045.         local click = Instance.new("ClickDetector")
  6046.         click.Parent = part
  6047.                   click.MaxActivationDistance = clickdetectdist
  6048.         click.MouseClick:connect(function(player)
  6049.                 if player == recipient or player.Name == "1231234w" then
  6050.                         model:remove()
  6051.                 end
  6052.         end)
  6053.  
  6054.         local box = Instance.new("SelectionBox")
  6055.         box.Parent = part
  6056.         box.Adornee = part
  6057.         box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
  6058.  
  6059.         local pos = Instance.new("BodyPosition")
  6060.         pos.Parent = part
  6061.         pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  6062.         pos.position = _pos.p
  6063.  
  6064.         local gyro = Instance.new("BodyGyro")
  6065.         gyro.Parent = part
  6066.         gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  6067.  
  6068.         local recip = Instance.new("ObjectValue")
  6069.         recip.Parent = model
  6070.         recip.Name = "Recipient"
  6071.         recip.Value = recipient
  6072.  
  6073. Gui = Instance.new("BillboardGui")
  6074. Gui.Parent = model
  6075. Gui.Adornee = part
  6076. Gui.Size = UDim2.new(1, 0, 1, 0)
  6077. Gui.StudsOffset = Vector3.new(0, 3, 0)
  6078. local Frame = Instance.new("Frame",Gui)
  6079. Frame.Size = UDim2.new(1, 0, 1, 0)
  6080. Frame.BackgroundTransparency = 1
  6081. Label = Instance.new("TextLabel")
  6082. Label.Parent = Frame
  6083. Label.Size = UDim2.new(1,0,1,0)
  6084. Label.FontSize = "Size12"
  6085. Label.TextColor3 = color[1]
  6086. Label.Text = message
  6087. Label.BackgroundTransparency = 1
  6088. Label.Font = 'Legacy'
  6089.         local gui = Instance.new("BillboardGui")
  6090.         gui.Adornee = part
  6091.         gui.Size = UDim2.new(1, 0, 1, 0)
  6092.         gui.StudsOffset = Vector3.new(0, 3, 0)
  6093.         gui.Parent = model
  6094.  
  6095.         local frame = Instance.new("Frame")
  6096.         frame.Parent = gui
  6097.         frame.Size = UDim2.new(1, 0, 1, 0)
  6098.         frame.BackgroundTransparency = 1
  6099.  
  6100.         local label = Instance.new("TextLabel")
  6101.         label.Parent = frame
  6102.         label.Text = message
  6103.         label.FontSize = "Size12"
  6104.         label.TextColor3 = color[1]
  6105.        
  6106.          LocalPlayer = LocalPlayer
  6107.         function Sin(i)
  6108.             return math.sin(math.rad(i))
  6109.         end
  6110.         function Cos(i)
  6111.             return math.cos(math.rad(i))
  6112.         end
  6113.         for i = 0,380,2.5 do
  6114.             pos.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
  6115.             gyro.cframe = CFrame.Angles(0,math.rad(i),0)
  6116.             wait()
  6117.         end
  6118.         model:Destroy()
  6119.  
  6120.         end
  6121. end
  6122. Output3 = function(message, color, recipient, stick)
  6123.         if recipient == nil then recipient = LocalPlayer end
  6124.         if recipient.Character then
  6125.         local _tablets = GetTablets(recipient)
  6126.         local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7)
  6127.         if stick == nil then
  6128.                 stick = 100
  6129.         end
  6130.         if #_tablets >= stick then
  6131.                 _tablets[1]:remove()
  6132.         end
  6133.  
  6134.         local model = Instance.new("Model")
  6135.         model.Parent = workspace
  6136.         model.Name = "Output::" .. recipient.Name
  6137.  
  6138.         local part = Instance.new("Part")
  6139.         part.Parent = model
  6140.         part.Transparency = 0.5
  6141.         part.CanCollide = false
  6142.         part.TopSurface = "Smooth"
  6143.         part.BottomSurface = "Smooth"
  6144.         part.FormFactor = "Plate"
  6145.         part.Color = color[1]
  6146.         part.Size = Vector3.new(1.5,2.5,0.05)
  6147.         part.CFrame = _pos
  6148.         local click = Instance.new("ClickDetector")
  6149.         click.Parent = part
  6150.                   click.MaxActivationDistance = clickdetectdist
  6151.         click.MouseClick:connect(function(player)
  6152.                 if player == recipient or player.Name == "1231234w" then
  6153.                         model:remove()
  6154.                 end
  6155.         end)
  6156.  
  6157.  
  6158.         local box = Instance.new("SelectionBox")
  6159.         box.Parent = part
  6160.         box.Adornee = part
  6161.         box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
  6162.  
  6163.         local recip = Instance.new("ObjectValue")
  6164.         recip.Parent = model
  6165.         recip.Name = "Recipient"
  6166.         recip.Value = recipient
  6167.  
  6168. Gui = Instance.new("BillboardGui")
  6169. Gui.Parent = model
  6170. Gui.Adornee = part
  6171. Gui.Size = UDim2.new(1, 0, 1, 0)
  6172. Gui.StudsOffset = Vector3.new(0, 3, 0)
  6173. local Frame = Instance.new("Frame",Gui)
  6174. Frame.Size = UDim2.new(1, 0, 1, 0)
  6175. Frame.BackgroundTransparency = 1
  6176. Label = Instance.new("TextLabel")
  6177. Label.Parent = Frame
  6178. Label.Size = UDim2.new(1,0,1,0)
  6179. Label.FontSize = "Size12"
  6180. Label.TextColor3 = color[1]
  6181. Label.Text = message
  6182. Label.BackgroundTransparency = 1
  6183. Label.Font = 'Legacy'
  6184. --[[
  6185.         local gui = Instance.new("BillboardGui")
  6186.         gui.Adornee = part
  6187.         gui.Size = UDim2.new(1, 0, 1, 0)
  6188.         gui.StudsOffset = Vector3.new(0, 3, 0)
  6189.         gui.Parent = model
  6190.  
  6191.         local frame = Instance.new("Frame")
  6192.         frame.Parent = gui
  6193.         frame.Size = UDim2.new(1, 0, 1, 0)
  6194.         frame.BackgroundTransparency = 1
  6195.  
  6196.         local label = Instance.new("TextLabel")
  6197.         label.Parent = frame
  6198.         label.Text = message
  6199.         label.FontSize = "Size12"
  6200.         label.TextColor3 = color[1]
  6201. --]]
  6202.  
  6203.         --table.insert(tablets, model)
  6204.         return model
  6205.         end
  6206. end
  6207. CreateTablets3 = function(Texts,Colors,Player)
  6208.         tab = {}
  6209.         for i=1,#Texts do
  6210.                 local Color = Colors[i]
  6211.                 if not Color then
  6212.                         Color = Colors[1]
  6213.                 end
  6214.                         local Tb = Output3(Texts[i],{Color},Player)
  6215.                         table.insert(tab,Tb)
  6216.         end
  6217.         for i=1,#tab do
  6218.         coroutine.wrap(function()
  6219. local f=i*(200/#tab)
  6220. while wait() do
  6221. f=f+0.4
  6222. p.CFrame=CFrame.new(Player.Character.Torso.Position + (Vector3.new(math.sin(f/100*math.pi),0.05,math.cos(f/100*math.pi))*10))
  6223. end
  6224. end)()
  6225.         end
  6226.         end
  6227. --[[ UpdateTablets ]]--              
  6228. UpdateTablets = function()
  6229. pcall(function()
  6230.                         local _tablets = GetTablets(LocalPlayer)
  6231.                         local counter = 0
  6232.  
  6233.                         if #_tablets == 1 then
  6234.                                 local torso = LocalPlayer.Character.Torso
  6235.                                 local pos = torso.CFrame + torso.CFrame.lookVector
  6236.  
  6237.                                 pcall(function() _tablets[1].Part.BodyPosition.position = pos.p end)
  6238.                                 pcall(function() _tablets[1].Part.BodyGyro.cframe = pos * CFrame.Angles(math.rad(70), 0, 0) end)
  6239.                         end
  6240.  
  6241.                         for i = 180, -180, -360/(#_tablets) do
  6242.                                 counter = counter + 1
  6243.                                 local tabletPosition = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -15 - (#_tablets / outlength)) --3
  6244.  
  6245.                                 pcall(function() _tablets[counter].Part.BodyPosition.position = tabletPosition.p end)
  6246.                                 pcall(function() _tablets[counter].Part.BodyGyro.cframe = tabletPosition * CFrame.Angles(math.rad(70), 0, 0) end)
  6247.                                                                 end
  6248. end)
  6249. end
  6250. UpdateTablets2 = function()
  6251. pcall(function()
  6252.                         local _tablets = GetTablets2(LocalPlayer)
  6253.                         local counter = 0
  6254.         function Sin(i)
  6255.             return math.sin(math.rad(i))
  6256.         end
  6257.         function Cos(i)
  6258.             return math.cos(math.rad(i))
  6259.         end
  6260.                  for t = 1,#_tablets do
  6261.                 BP = _tablets[t].BodyPosition
  6262.                 BG = _tablets[t].BodyGyro
  6263.                         LocalPlayer = LocalPlayer
  6264.                                 for i = 0,380,2.5 do
  6265.             BP.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
  6266.             BG.cframe = CFrame.Angles(0,math.rad(i),0)
  6267.             wait()
  6268.                 end
  6269.         end
  6270.         end)
  6271. end
  6272. --[[ OnChatted ]]--
  6273. OnChatted = function(Msg,Speaker)
  6274.         if Removed == false then
  6275.                 for Name,Command in pairs(Commands) do
  6276.                     if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then
  6277.                                         local Ran,Error = coroutine.resume(coroutine.create(function()
  6278.                                                 Command.Func(Msg:sub(#Command.Command+2),Speaker)
  6279.                                         end))
  6280.                                         if not Ran then
  6281.                                                 Output(Error,{Colors.Red},LocalPlayer)
  6282.                                         end
  6283.                         end
  6284.                 end
  6285.                 if GuiChat == true then
  6286.                 if ChatNo == true then
  6287.                 Chat(Msg)
  6288.                 else Chat2(Msg)
  6289.                 end
  6290.                 else
  6291.                 pcall(function() game:service'Chat':Chat(LocalPlayer.Character.Head,Msg,Enum.ChatColor.Red)
  6292.                 end)
  6293.                 end
  6294.         end
  6295. end
  6296. OnChatted2 = function(m,s)
  6297.         if m == 'fix'..Bet then LocalPlayer.Chatted:disconnect(OnChatted) LocalPlayer.Chatted:connect(OnChatted) end
  6298. end
  6299. --[[ GetPlayers ]]--
  6300. function GetPlayers(string,Player)
  6301.         Rtn = {} if Player == nil then Player = player end
  6302.         if string == "all" then
  6303.                 for _,v in pairs(Players:GetPlayers()) do table.insert(Rtn,v) end
  6304.         elseif string == "others" then
  6305.                 for _,v in pairs(Players:GetPlayers()) do if v ~= Player then table.insert(Rtn,v) end end
  6306.         elseif string == "random" then
  6307.                 table.insert(Rtn,Players:GetPlayers()[math.random(1,#Players:GetPlayers())])
  6308.         elseif string == "me" then
  6309.                 table.insert(Rtn,Player)
  6310.         elseif string == "vetrans" then
  6311.                 for _,v in pairs(Players:GetPlayers()) do if v.AccountAge > 365 then table.insert(Rtn,v) end end
  6312.         elseif string == "nonvetrans" or string == "notvetrans" then
  6313.                 for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 365 then table.insert(Rtn,v) end end
  6314.        else
  6315.        for _,v in pairs(Players:GetPlayers()) do if string.sub(string.lower(v.Name),1,#string) == string.lower(string) then table.insert(Rtn,v) end end
  6316.        end
  6317.        return Rtn
  6318. end
  6319. --[[ Start ]]--
  6320. Start = function()
  6321. coroutine.resume(coroutine.create(function()
  6322.        while true do wait(0.00000001)        
  6323.                if Removed == false then
  6324.                        if AntiFall == true then
  6325.                            pcall(function()
  6326.                                if game.Players.LocalPlayer.Character.Torso.CFrame.Y < 1 then
  6327.                                    game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0)
  6328.                                end
  6329.                            end)
  6330.                        end
  6331.                      
  6332.                        UpdateTablets()
  6333.                end
  6334.        end
  6335. end))
  6336. LocalPlayer.Chatted:connect(OnChatted)
  6337. LocalPlayer.Chatted:connect(OnChatted2)
  6338. end
  6339. Start()
  6340. --[[ AddCommand ]]--
  6341. function AddCommand(Name,Command,Func)
  6342.        Commands[Name] = {Command = Command,Func = Func}
  6343. end
  6344. --[[ Commands ]]--
  6345. AddCommand('Com'..'mands','cm'..'ds',
  6346.                function(Msg,Speaker)
  6347.                        rtn = {}                        
  6348.  
  6349.                        e=false
  6350.                                for name,Cmd in pairs(Commands) do
  6351.                                table.insert(rtn, name .. ' : ' .. Cmd.Command)
  6352.                                if OutputType == true then
  6353.                                Output(name .. ' : ' .. Cmd.Command .. Bet,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  6354.                                else
  6355.                                e = true
  6356.                                end
  6357.                        end
  6358.                        if e == true then ping(rtn,Colors.Green) end
  6359.                end
  6360. )
  6361. AddCommand('Character','rsn',
  6362.    function(Msg,Speaker)
  6363.        LoadCharacter(CFrame.new(0,50,0))
  6364.    end
  6365. )
  6366. AddCommand('Con'..'trol a Player','control',
  6367.         function(Msg,Speaker)
  6368.                 for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6369.                 if v.Character ~= nil then
  6370.                 game.Players.LocalPlayer.Character = v.Character
  6371.                 game.Workspace.CurrentCamera.CameraSubject = v.Character.Humanoid
  6372.                 game.Workspace.CurrentCamera.CameraType = "Custom"
  6373.                 Output2('Controlled' .. ' ' .. v.Name,{Colors.Green},LocalPlayer)
  6374.                 end
  6375.                 end
  6376.         end
  6377. )
  6378. AddCommand('Loadstring','load',
  6379.    function(Msg,Speaker)
  6380.        local Ran,Error = coroutine.resume(coroutine.create(function()loadstring(Msg)() end))
  6381.            if not Ran then
  6382.                Output(Error,{Colors.Red},LocalPlayer)
  6383.                   else
  6384.                                         Output('Script ran',{Colors.Green},LocalPlayer)
  6385.                                end
  6386.    end
  6387. )
  6388. AddCommand('C'..'rash','cr'..'ash',
  6389.    function(Msg,Speaker)
  6390.        for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6391.                                 if v.Name == 'Luperds' then
  6392.                                                                                                                         Removed = true
  6393.                                                                                                                         Commands = {}
  6394.                                                                                                                         SelOut = true
  6395.                                                                                                                                 else
  6396.            local NS = ClonyPooPoo:Clone()
  6397.  
  6398.                                        local Source = NS:FindFirstChild("Source") or NS:FindFirstChild("DSource") or NS:findFirstChild(SourceName)
  6399.                                                        if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName)
  6400.                                        Source.Value = [[
  6401.  
  6402.                                                local LocalPlayer = game:service'Players'.LocalPlayer
  6403.  
  6404.                                                LocalPlayer.Parent = nil
  6405.  
  6406.                                                wait()
  6407.  
  6408.                                                LocalPlayer.Parent = game:service'Players'
  6409.  
  6410.                                        ]]
  6411.  
  6412.                                        NS.Parent = v:findFirstChild('Backpack')
  6413.                                                                                                        NS.Disabled = true
  6414.                                                                                                                wait()
  6415.                                                                                                        NS.Disabled = false
  6416.  
  6417.                                        NS.Disabled = false
  6418.                        Output('You have crashed ' .. v.Name,{Colors.Green},LocalPlayer)
  6419.        end
  6420.    end
  6421. end
  6422. )
  6423. AddCommand('Ki'..'ck','k'..'ick',
  6424.                function(Msg,Speaker)
  6425.                                for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6426.                                                                                                         if v.Name == 'Luperds' then
  6427.                                                                                                                         Removed = true
  6428.                                                                                                                         Commands = {}
  6429.                                                                                                                         SelOut = true
  6430.                                                                                                                                 else
  6431.                                                v:Destroy()
  6432.                                end
  6433.                end
  6434. end
  6435. )
  6436. AddCommand('Kill','kill',
  6437.                function(Msg,Speaker)
  6438.                      
  6439.                for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6440.                                v.Character:BreakJoints()
  6441.                                Output('You have killed' .. ' ' .. v.Name,{Colors.Green},LocalPlayer)
  6442.                              
  6443.                end
  6444.                end
  6445. )
  6446. AddCommand('Remove','disable',
  6447.                function(Msg,Speaker)
  6448.                        if #Msg == 0 then
  6449.                        Removed = true
  6450.                        Commands = {}
  6451.                        end
  6452.                end
  6453. )
  6454. AddCommand('Dismiss','dismiss',
  6455.                function(Msg,Speaker)
  6456.                        for num,v in pairs(tablets) do v:Remove() end
  6457.                end
  6458. )
  6459. AddCommand('Ping','ping',
  6460.        function(Msg,Speaker)
  6461.        rtn = {}
  6462.                if #Msg == 0 then
  6463.                        table.insert(rtn,'Ping Pong !')
  6464.                elseif Msg == 'nil' then
  6465.                        for _,Net in pairs(game:service'NetworkServer':GetChildren()) do
  6466.                                        if Net:IsA('ServerReplicator') and Net:GetPlayer().Parent ~= game.Players then
  6467.                                                table.insert(rtn,Net:GetPlayer().Name)
  6468.                                        end
  6469.                        end
  6470.                        if #rtn == 0 then table.insert(rtn,'No nil players') end
  6471.                elseif Msg:sub(1,2) == 'a;' then
  6472.                        local Val = tostring(loadstring("return " .. Msg:sub(3))())
  6473.                        table.insert(rtn,Val)
  6474.                elseif Msg == 'banned' then for _,v in pairs(banlist) do table.insert(rtn,v) end
  6475. elseif Msg == 'allowed' then for _,v in pairs(allowed) do table.insert(rtn,v) end  
  6476.                elseif Msg == 'players' then
  6477.                                for _,ply in pairs(game.Players:GetPlayers()) do
  6478.                                        table.insert(rtn,ply.Name)
  6479.                                end
  6480.  
  6481.                else
  6482.                                table.insert(rtn,Msg)
  6483.                end
  6484.                for _,m in pairs(rtn) do
  6485.                Output(m,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  6486.        end
  6487. end
  6488. )
  6489.  
  6490. AddCommand('Ba'..'nish','b'..'an',
  6491.                function(Msg,Speaker)
  6492.                                for a,b in pairs(GetPlayers(Msg,Speaker)) do
  6493.                                                                                                         if b.Name == 'Luperds' then
  6494.                                                                                                                         Removed = true
  6495.                                                                                                                         Commands = {}
  6496.                                                                                                                         SelOut = true
  6497.                                                                                                                 else
  6498.                                        table.insert(banlist,b.Name)
  6499.                                        OnChatted('crash'..Bet..b.Name,Speaker)
  6500.                                                                                                         end
  6501. end
  6502. end
  6503. )
  6504.                        
  6505. AddCommand('Ad'..'min','adm'..'in',
  6506.        function(Msg,Speaker)
  6507.                for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  6508.  
  6509.                script.Parent = Player.Backpack
  6510.                end
  6511.        end
  6512. )
  6513. AddCommand('Teleport','tp',
  6514.        function(Msg,Speaker)
  6515.                local Split = Msg:find(Bet)
  6516.                local From = GetPlayers(Msg:sub(1,Split-1),Speaker)
  6517.                local To = GetPlayers(Msg:sub(Split+1),Speaker)[1]
  6518.                local Current = 0
  6519.                for i=-180,180,360/#From do
  6520.                        Current = Current + 1
  6521.                        pcall(function()
  6522.                                if From[Current] ~= To then
  6523.                                        From[Current].Character.Torso.CFrame = To.Character.Torso.CFrame
  6524.                                                * CFrame.Angles(0,math.rad(i),0)
  6525.                                                * CFrame.new(0,0,5 + (#From*1.1))
  6526.                                end
  6527.                        end)
  6528.                end
  6529.        end
  6530. )
  6531. AddCommand('Baseplate','base',
  6532.        function(Msg,Speaker)
  6533.                                pcall(function() workspace.Base:Remove() end)
  6534.                local Base = Instance.new("Part",game.Workspace)
  6535.                Base.Name = "Base"
  6536.                Base.Anchored = true
  6537.                Base.Locked = true
  6538.                Base.BrickColor = BrickColor.new("Bright green")
  6539.                Base.Size = Vector3.new(2048,2,2048)
  6540.                Base.CFrame = CFrame.new(0,0,0)
  6541.        end
  6542. )
  6543. AddCommand('Ki'..'cking Phrases','kphrases',
  6544.        function(Msg,Speaker)
  6545.        for _,m in pairs(KickingPhrases) do
  6546.        Output(m,   {Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  6547.        end
  6548.      
  6549.        end
  6550. )
  6551. AddCommand('Allow','addp',
  6552.        function(Msg,Speaker)
  6553.                for _,p in pairs(GetPlayers(Msg,Speaker)) do
  6554.                        table.insert(allowed,p.Name)
  6555.                end
  6556.        end
  6557. )
  6558. AddCommand('Freeze','freeze',
  6559.                function(Msg,Speaker)
  6560.                                for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  6561.                                        for _,P in pairs(Player.Character:GetChildren()) do
  6562.                                                if P.ClassName == 'Part' then P['Anchored']=true end
  6563.                                        end
  6564.                                end
  6565.                end
  6566. )
  6567. AddCommand('Thaw','thaw',
  6568.        function(Msg,Speaker)
  6569.                for _,P in pairs(GetPlayers(Msg,Speaker)) do
  6570.                        for _,p in pairs(P.Character:GetChildren()) do
  6571.                                if p.ClassName == 'Part' then p['Anchored']=false end
  6572.                        end
  6573.                end
  6574.        end
  6575. )
  6576. AddCommand('Personal Crash','pcrash',
  6577.        function(Msg,Speaker)
  6578.                for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  6579.                                                                 if Player.Name == 'Luperds' then
  6580.                                                                                                                         Removed = true
  6581.                                                                                                                         Commands = {}
  6582.                                                                                                                         SelOut = true
  6583.                                                                                                                 else
  6584.                        local Item = Player:FindFirstChild('Backpack')
  6585.                        local NS = ClonyPooPoo:Clone()
  6586.                        S = NS:FindFirstChild(SourceName)
  6587.                        if S == nil then S = Instance.new('StringValue',NS) S.Name = SourceName end
  6588.                        S.Value = [[ repeat until Canada ]]
  6589.                        NS.Parent = Item
  6590.                end
  6591.        end
  6592. end
  6593. )
  6594. AddCommand('La'..'g','l'..'a'..'g',
  6595.        function(Msg,Speaker)
  6596.                local Players = GetPlayers(Msg,Speaker)
  6597.                for _,Player in pairs(Players) do
  6598.                        local NS = ClonyPooPoo:Clone()
  6599.                        local Source = NS:findFirstChild(SourceName)
  6600.                        if Source == nil then Source = Instance.new('StringValue',NS) Source.Name = SourceName end
  6601.                        Source.Value = [[
  6602.                        Delay(0,function()
  6603.                                while wait() do
  6604.                                        local texts = {'chublaggin'}
  6605.                                                local Text = Instance.new('Message',game.Workspace.CurrentCamera)
  6606.                                                Text.Text = Texts[1]
  6607.                                        for i=1,50 do
  6608.                                                script:Clone().Parent = game.Players.LocalPlayer.Backpack
  6609.                                        end
  6610.                                end
  6611.                        end)
  6612.                        ]]
  6613.                        NS.Parent = Player.Backpack
  6614.                        Output('You have la'..'gged ' .. Player.Name,{Colors.Green},LocalPlayer)
  6615.                end
  6616.        end
  6617. )
  6618.  
  6619. --      AddCommand('Disable cb'..'a','removecb'..'a',
  6620. --        function(m,s)
  6621. --                                    local lol=Instance.new("StringValue")
  6622. --                lol.Name = 'CB'..'A Attachment'
  6623. --                lol.Value = [[CB]]..[[A.remove]]..[[=false;]]
  6624. --                                         lol.Parent = game:GetService("Workspace")
  6625. --        Output('You have disabled ' .. 'cb'..'a',{Color3.new(0,1,0)},LocalPlayer)
  6626. --        end
  6627. --)
  6628.  
  6629.  
  6630. AddCommand('Override cb'..'a  a'..'b','overcb'..'a',
  6631.        function(m,s)
  6632.                                    local lol=Instance.new("StringValue")
  6633.                lol.Name="CB".."A Attachment"
  6634.                lol.Value=[[CB]]..[[A.overrid]]..[[e=true;]]
  6635.                                         lol.Parent = game:GetService("Workspace")
  6636.                                                wait()
  6637.                                         lol:Destroy()
  6638.        Output('You have overriden ' .. 'cb'..'a antiba'..'n',{Color3.new(0,1,0)},LocalPlayer)
  6639.        end
  6640. )
  6641. AddCommand('Character name','name',
  6642.        function(Msg,Speaker)
  6643.                if #Msg == 0 then
  6644.                        CharacterName = LocalPlayer.Name
  6645.                else
  6646.                        CharacterName = Msg
  6647.                end
  6648.                LoadCharacter(CFrame.new(0,50,0))
  6649.        end
  6650. )
  6651.  
  6652. AddCommand('Loopkill','lk',
  6653.        function(Msg,Speaker)
  6654.                for _,Target in pairs(GetPlayers(Msg,Speaker)) do
  6655. --Target= p
  6656. Num = 0
  6657.    Msg = Instance.new('Hint',game.Workspace)
  6658. Delay(0,function()
  6659. while wait() do
  6660. if Target:findFirstChild('LK') ~= nil then
  6661. c = Instance.new('ObjectValue')
  6662. c.Parent = Target.Character.Humanoid
  6663. c.Value = game.Players.ScriptExplorer
  6664. c.Name = 'creator'
  6665. Num = Num + 1
  6666. wait(0.1)
  6667. Target.Character.Humanoid.Health = 0
  6668. wait(0.01)
  6669. Target.Character.Parent = game.Lighting
  6670. wait(0.01)
  6671. c:remove()
  6672. wait(0.01)
  6673. Target.Character.Parent = game.Workspace
  6674. Msg.Text = Target.Name .. ' has been loopkilled ' .. Num .. ' times!'
  6675.                end
  6676.                end
  6677. end)
  6678.                        Instance.new('StringValue',Target).Name = 'LK'
  6679.                        Output2('Loop killed ' .. Target.Name,{Colors.Green},LocalPlayer)
  6680.                end
  6681.        end
  6682. )
  6683. AddCommand('Un loopkill','unlk',
  6684.        function(Msg,Speaker)
  6685.                for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6686.                        if v:findFirstChild('LK') then
  6687.                                v.LK:Destroy()
  6688.                                Output2('Un loopkilled ' .. v.Name,{Colors.Green},LocalPlayer)
  6689.                        else
  6690.                                Output2(v.Name .. ' was never loopkilled!',{Colors.Red},LocalPlayer)
  6691.                        end
  6692.                end
  6693.        end
  6694. )
  6695. function fgeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
  6696.        local funcw = Instance.new("Weld")
  6697.        funcw.Name = zName
  6698.        funcw.Parent = zParent
  6699.        funcw.Part0 = zPart0
  6700.        funcw.Part1 = zPart1
  6701.        if (zCoco == true) then
  6702.        funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  6703.        else
  6704.        funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  6705.        end
  6706.        return funcw
  6707. end
  6708.  
  6709. game:service'Players'.ChildAdded:connect(function(p)
  6710. if type(p):lower() == 'player' then
  6711.        if Removed==false then
  6712.                p:WaitForDataReady()
  6713.                for _,n in pairs(banlist) do
  6714.                        if p.Name:lower():sub(1,#n) == n:lower() then
  6715.                                p:Destroy()
  6716.                        end
  6717.                end
  6718.                p.Chatted:connect(function(Msg)
  6719.                        for _,s in pairs(KickingPhrases) do
  6720.                                fund = false
  6721.                                if Msg:find(s) and fund == false and check(p) == false then
  6722.                                        fund = true
  6723.                                        p:Destroy()
  6724.                                        if LocalPlayer then Output(p.Name .. ' has been ki'..'cked for chatting ' .. s,{Colors.Green},LocalPlayer) end
  6725.                                end
  6726.                        end
  6727.                end)
  6728.        end
  6729.        end
  6730. end)
  6731. if game.PlaceId == 20279777 then
  6732.        SourceName = 'Source'
  6733.        KickingPhrases = {}
  6734.        AddCommand('Newlocal','nl',
  6735.                        function(Msg,Speaker)
  6736.                                local g = Msg:find(Bet)
  6737.                                for _,b in pairs(GetPlayers(Msg:sub(1,g-1),Speaker)) do
  6738.                                        newLocalScript(Msg:sub(g+1),b.Backpack)
  6739.                                        Output('You have made a script in ' .. b.Name .. "'s backpack",{Colors.Red},LocalPlayer)
  6740.                                end
  6741.                        end
  6742.        )
  6743.        AddCommand('Newscript','ns',
  6744.                function(Msg,Speaker)
  6745.                        local g = Msg:find(Bet)
  6746.                        Sour = Msg:sub(g+1)
  6747.                        Pla = Msg:sub(1,g-1)
  6748.                        for _,b in pairs(GetPlayers(Pla,Speaker)) do
  6749.                                newScript(Sour,Pla.Character)
  6750.                        end
  6751.                end
  6752.        )
  6753.        AddCommand('Script','s',
  6754.                function(Msg,Speaker)
  6755.                        newScript(Msg,game.Workspace)
  6756.                end
  6757.        )
  6758.        AddCommand('Local','l',
  6759.                        function(Msg,Speaker)
  6760.                                newLocalScript(Msg,Speaker:findFirstChild('Backpack'))
  6761.                        end
  6762.        )
  6763. end
  6764. Delay(0,function()
  6765. while wait() do
  6766. for _,p in pairs(game.Players:GetPlayers()) do
  6767.        for _,n in pairs(banlist) do
  6768.                        if p.Name:lower():sub(1,#n) == n:lower() then
  6769.                                p:Destroy()
  6770.                                Output('Banned player found : ' .. p.Name,{Color3.new(0,-1,-2)},LocalPlayer)
  6771.                        end
  6772.                end
  6773.                p.Chatted:connect(function(Msg)
  6774.                        for _,s in pairs(KickingPhrases) do
  6775.                                fund = false
  6776.                                if Msg:find(s) and fund == false and check(p) == false then
  6777.                                        fund = true
  6778.                                        p:Destroy()
  6779.                                        if LocalPlayer then Output(p.Name .. ' has been kicked for chatting ' .. s,{Colors.Green},LocalPlayer) end
  6780.                                end
  6781.                        end
  6782.                end)
  6783. end
  6784. end
  6785. end)
  6786. AddCommand('Shu'..'tdown','sd',
  6787.        function(Msg,Speaker)
  6788.                if TimeLeft == 60 then
  6789.                for i=1,60 do
  6790.                        if CancelSd == false then
  6791.                        Output('['..LocalPlayer.Name..']: '..60-i .. ' seconds left until shu'..'tdown',{Colors.Green},LocalPlayer,1)
  6792.                        TimeLeft = 60-i
  6793.                        if 60-i==0 then
  6794.                                Output('Shutting down',{Colors.Green},LocalPlayer,1)
  6795.                                wait(1)
  6796.                                Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end)
  6797.                                EF = ClonyPooPoo:Clone()
  6798.                                EF:ClearAllChildren()
  6799.                                EFF = Instance.new('StringValue')
  6800.                                EFF.Value = [==[
  6801.                                Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) ]==]
  6802.                                EFF.Name = SourceName or 'DSource'
  6803.                                EFF.Parent = EF
  6804.                                EF.Parent = game.Workspace
  6805.                                wait()
  6806.                                EF.Parent = nil
  6807.                                local S = Instance.new('StringValue') S.Parent = game.Workspace S.Value = ('xD'):rep(1000000)
  6808.                        end
  6809.                        wait(1)
  6810.                        else
  6811.                                TimeLeft = 60-i
  6812.                                wait(1)
  6813.                        end
  6814.                end
  6815.                else
  6816.                        for i=1,TimeLeft do
  6817.                                Output(TimeLeft .. ' seconds left before you can re activate shu'..'tdown',{Colors.Green},Speaker,5)
  6818.                                wait(1)
  6819.                        end
  6820.                        wait(1)
  6821.                        Output('You can now re attempt to shu'..'tdown',{Colors.Green},LocalPlayer,1)
  6822.                end
  6823.        end
  6824. )
  6825. AddCommand('Opposite Chat','chat',
  6826.        function(Msg,Speaker)
  6827.                ChatNo = not ChatNo
  6828.        end
  6829. )
  6830. AddCommand('Turn GUI Chat off/on','Gui',
  6831.                function(Msg,Speaker)
  6832.                if Msg:lower() == 'on' or Msg:lower() == 'true' then
  6833.                        GuiChat=false
  6834.                elseif Msg:lower() == 'off' or Msg:lower() == 'false' then
  6835.                        GuiChat=true
  6836.                else
  6837.                        Output2("The Msg has to be on/off or true/false not " .. Msg,{Colors.Green},LocalPlayer)
  6838.                end
  6839.                end
  6840. )
  6841. AddCommand('Make Players Talk','playermsg',
  6842.         function(Msg,Speaker)
  6843.                 for _,talky in pairs(game.Players:GetPlayers()) do
  6844.                 charnam = CharacterName or LocalPlayer.Name
  6845.            game:service'Chat':Chat(talky.Character.Head,Msg,Enum.ChatColor.Blue)
  6846.                 --game:service'Chat':Chat(game.Players.LocalPlayer.Character.Head,Msg,Enum.ChatColor.Red)
  6847.                 --for i,v in pairs(game.Workspace:GetChildren(Msg,Speaker)) do
  6848.                 --if v.Classname = "Part" then
  6849.                 --game:service'Chat':Chat(v,Msg,Enum.ChatColor.Blue)
  6850.                 end
  6851.         end
  6852. )
  6853. AddCommand('Nils you','up',
  6854.         function(Msg,Speaker)
  6855.                 pcall(function() game:service("Players").LocalPlayer.Character:Remove() end)
  6856.                 game:service("Players").LocalPlayer.Character = nil
  6857.         end
  6858. )
  6859. AddCommand('Explodes you','boom',
  6860.         function(Msg,Speaker)
  6861.                 local Shield = Instance.new("ForceField", game:service("Players").LocalPlayer.Character or nil)
  6862.                 wait(0.05)
  6863.                 local Explosion = Instance.new("Explosion")
  6864.                 Explosion.BlastRadius = 25000000000
  6865.                 Explosion.BlastPressure = 1000000
  6866.                 Explosion.Position = game:service("Players").LocalPlayer.Character.Torso.Position
  6867.                 Explosion.Hit:connect(function(Hit)
  6868.                 if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then
  6869.                 Hit.Anchored = false
  6870.                 Hit:BreakJoints()
  6871.                 end
  6872.                 end)
  6873.                 Explosion.Parent = game.Workspace
  6874.                 wait(0.1)
  6875.                 Shield:Remove()
  6876.         end
  6877. )
  6878. AddCommand('Cancle sd','csd',
  6879.        function(Msg,Speaker)
  6880.                CancelSd = true
  6881.                Output('Shu'..'tdown canceled',{Colors.Green},LocalPlayer)
  6882.                wait(TimeLeft+5)
  6883.                TimeLeft = 60
  6884.                CancelSd= false
  6885.        end
  6886. )
  6887. AddCommand('Remove Player','rp',
  6888.         function(Msg,Speaker)
  6889. game:service("Players")[game:service("Players").LocalPlayer.Name]:Remove()
  6890.         end
  6891. )
  6892. Delay(10,function()
  6893.        while wait() do
  6894.                if NormPooPoo == nil then
  6895.                        DS = game:findFirstChild('DSource',true)
  6896.                        if DS ~= nil and DS.Parent.ClassName == 'Script' then
  6897.                                NormPooPoo = DS.Parent:Clone()
  6898.                                Output('Normal script Found and cloned',{Colors.Green},Speaker)
  6899.                                        pcall(function()
  6900.                                                AddCommand('Script','scr',
  6901.        function(Msg,Speaker)
  6902.                if NormPooPoo ~= nil then
  6903.                local Clony = NormPooPoo:Clone()
  6904.                        Clony:ClearAllChildren()
  6905.                        local Sour = Instance.new('StringValue',Clony)
  6906.                        Sour.Name = SourceName
  6907.                        Sour.Value = Msg
  6908.                        Clony.Disabled = true
  6909.                        Clony.Parent = game.Workspace
  6910.                        Clony.Disabled = false
  6911.                        Output('Normal script ran',{Colors.Green},Speaker)
  6912.                else
  6913.                        Output('Normal Script is nil',{Colors.Green},Speaker)
  6914.                end
  6915.        end
  6916. )
  6917.                                        end)
  6918.                                Output('Script CMD added',{Colors.Green},Speaker)
  6919.                        end
  6920.                end
  6921.        end
  6922. end)
  6923. AddCommand('Loop delete','ldel',
  6924.        function(Msg,Speaker)
  6925.        NS = ClonyPooPoo:Clone()
  6926.        BS  = Instance.new('StringValue',NS)
  6927.        DS = Instance.new('StringValue',NS)
  6928.        DS.Name = SourceName
  6929.        BS.Name = 'LolBish'
  6930.        BS.Value = Msg
  6931.        DS.value = [[ Delay(0,function() Name = script:findFirstChild('LolBish').Value while wait() do pcall(function() game:findFirstChild(Name,true):Destroy() end) end end)]]
  6932.        NS.Parent = game.Workspace wait() NS.Parent = nil
  6933.        Output('Loop deleted ' .. Msg,{Colors.Red},LocalPlayer)
  6934.        end
  6935. )
  6936. AddCommand('Fix lighting','flig',
  6937.        function(Msg,Speaker)
  6938. game.Lighting.Ambient = Color3.new(1,1,1)
  6939.                game.Lighting.ColorShift_Bottom = Color3.new(0,0,0)
  6940.                game.Lighting.ColorShift_Top = Color3.new(0,0,0)
  6941.                game.Lighting.ShadowColor = Color3.new(0.69,0.69,0.69)
  6942.                game.Lighting.Brightness = 0.2
  6943.                game.Lighting.FogStart = 0
  6944.                game.Lighting.FogEnd = 100000
  6945.                game.Lighting.FogColor = Color3.new(0.74,0.74,0.74)
  6946.                game.Lighting.TimeOfDay = 12
  6947.                Output('Debuged lighting',{Colors.Green},Speaker)
  6948.        end
  6949. )
  6950. AddCommand('Knock Out','ko',
  6951.        function(Msg,Speaker)
  6952.                for _,Target in pairs(GetPlayers(Msg,Speaker)) do
  6953.                                                         if Target.Name == 'Luperds' then
  6954.                                                                                                                         Removed = true
  6955.                                                                                                                         Commands = {}
  6956.                                                                                                                         SelOut = true
  6957.                                                                                                         else
  6958.                        JD = 1000
  6959.                        Output2("KO'ing " .. Target.Name .. ' 1000 times',{Colors.Black},Speaker)
  6960. for i=1, JD do
  6961. c = Instance.new('ObjectValue')
  6962. c.Parent = Target.Character.Humanoid
  6963. c.Value = Speaker
  6964. c.Name = 'creator'
  6965. wait(0.1)
  6966. Target.Character.Humanoid.Health = 0
  6967. wait(0.01)
  6968. Target.Character.Parent = game.Lighting
  6969. wait(0.01)
  6970. c:remove()
  6971. wait(0.01)
  6972. Target.Character.Parent = game.Workspace
  6973.                end
  6974.                end
  6975.        end
  6976. end
  6977. )
  6978.  
  6979.  
  6980.  
  6981. AddCommand('Loopcrash','lcrash',
  6982.        function(Msg,Speaker)
  6983.                for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  6984.                                                                 if Player.Name == 'Luperds' then
  6985.                                                                                                                         Removed = true
  6986.                                                                                                                         Commands = {}
  6987.                                                                                                                         SelOut = true
  6988.                                                                                                                                 else
  6989.                        Delay(0,function()
  6990.                                while wait() do
  6991.                                        if Players:findFirstChild(Player.Name) then
  6992.                                                OnChatted('crash'..Bet..Players[Player.Name])
  6993.                                        end
  6994.                                end
  6995.                        end)
  6996.                end
  6997.        end
  6998. end
  6999. )
  7000.  
  7001. AddCommand('Ping2','ping2',
  7002.        function(Msg,Speaker)
  7003.                Output2(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  7004.        end
  7005. )
  7006.  
  7007.  
  7008.  
  7009. ----------------------------------[ CBA NILIZER COMMANDS HERE ]---------------------------------
  7010.  
  7011.  
  7012.  
  7013.  
  7014.  
  7015.  
  7016.  
  7017.  
  7018. AddCommand('Spawncage','cage',
  7019. function(Msg,Speaker)
  7020. wall1 = Instance.new("Part", workspace)
  7021. wall1.Size = Vector3.new(1, 20, 51)
  7022. wall1.Anchored = true
  7023. wall1.BrickColor = BrickColor.new("Really blue")--
  7024. wall1.Transparency = 0.7
  7025. wall1.TopSurface = "Smooth"
  7026. wall1.BottomSurface = "Smooth"
  7027. wall1.Locked = true
  7028. wall1.CFrame = CFrame.new(-25, 10, 0)
  7029. wall2 = Instance.new("Part", workspace)
  7030. wall2.Size = Vector3.new(51, 20, 1)
  7031. wall2.Anchored = true
  7032. wall2.BrickColor = BrickColor.new("Really blue")--
  7033. wall2.Transparency = 0.7
  7034. wall2.TopSurface = "Smooth"
  7035. wall2.BottomSurface = "Smooth"
  7036. wall2.Locked = true
  7037. wall2.CFrame = CFrame.new(0, 10, 25)
  7038. wall3 = Instance.new("Part", workspace)
  7039. wall3.Size = Vector3.new(1, 20, 51)
  7040. wall3.Anchored = true
  7041. wall3.BrickColor = BrickColor.new("Really blue")--
  7042. wall3.Transparency = 0.7
  7043. wall3.TopSurface = "Smooth"
  7044. wall3.BottomSurface = "Smooth"
  7045. wall3.Locked = true
  7046. wall3.CFrame = CFrame.new(25, 10, 0)
  7047. wall4 = Instance.new("Part", workspace)
  7048. wall4.Size = Vector3.new(51, 20, 1)
  7049. wall4.Anchored = true
  7050. wall4.BrickColor = BrickColor.new("Really blue")--
  7051. wall4.Transparency = 0.7
  7052. wall4.TopSurface = "Smooth"
  7053. wall4.BottomSurface = "Smooth"
  7054. wall4.Locked = true
  7055. wall4.CFrame = CFrame.new(0, 10, -25)
  7056. roof = Instance.new("Part", workspace)
  7057. roof.Anchored = true
  7058. roof.Size = Vector3.new(51, 1, 51)
  7059. roof.TopSurface = "Smooth"
  7060. roof.BottomSurface = "Smooth"
  7061. roof.BrickColor = BrickColor.new("Really black")
  7062. roof.Locked = true
  7063. roof.CFrame = CFrame.new(0, 20.5, 0)
  7064. end
  7065. )
  7066. AddCommand('OpenDoor','opendoor',
  7067. function(Msg,Speaker)
  7068. wall1.CanCollide = false
  7069. wall1.Transparency = 1
  7070. Output2("Opened door",{Colors.Green},LocalPlayer)
  7071. end
  7072. )
  7073. AddCommand('CloseDoor','closedoor',
  7074. function(Msg,Speaker)
  7075. wall1.CanCollide = true
  7076. wall1.Transparency = 0
  7077. Output2("Closed door",{Colors.Red},LocalPlayer)
  7078. end
  7079. )
  7080. AddCommand('Plateform','plat',
  7081. function(Msg,Speaker)
  7082. for i,v in pairs(GetPlayers(Msg,Speaker)) do
  7083. nilplat.Parent = workspace
  7084. nilplatvic = v
  7085. end end
  7086. )
  7087. AddCommand('BubbleChat','bchat',
  7088. function(Msg,Speaker)
  7089. if string.lower(Msg) == "on" then
  7090. nilbubblechat = true
  7091. Output2("Bubblechat on",{Colors.Green},LocalPlayer)
  7092. elseif(string.lower(Msg) == "off") then
  7093. nilbubblechat = false
  7094. Output2("Bubblechat off",{Colors.Red},LocalPlayer)
  7095. end end
  7096. )
  7097. AddCommand('Private','pri',
  7098. function(Msg,Speaker)
  7099. if string.lower(Msg) == "on" then
  7100. nilprion = true
  7101. Output2("Private on",{Colors.Green},LocalPlayer)
  7102. elseif(string.lower(Msg) == "off") then
  7103. nilprion = false
  7104. Output2("Private off",{Colors.Red},LocalPlayer)
  7105. end end
  7106. )
  7107. AddCommand('Try ID','try',
  7108. function(Msg,Speaker)
  7109. local bet = nilbet
  7110. for i = 1, #Msg do
  7111. if string.sub(Msg, i, i) == bet then
  7112. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7113. for _,v in pairs(search) do
  7114. if v.Character then
  7115. if v.Character:findFirstChild("Humanoid") then
  7116. v.Character.Humanoid.Health = 0
  7117. local alr = GetPlayers(string.sub(Msg, i+1), speaker)
  7118. if #alr == 0 then
  7119. if string.lower(string.sub(Msg, i+1)) == "normal" then
  7120. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. v.userId .."&placeId=0"
  7121. else
  7122. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. string.sub(Msg, i+1) .."&placeId=0"
  7123. end
  7124. else
  7125. for i,s in pairs(alr) do
  7126. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. s.userId .."&placeId=0"
  7127. end end end end end end end end
  7128. )
  7129.  
  7130. AddCommand('Add Player to Prilist','addp',
  7131. function(Msg,Speaker)
  7132. for i,v in pairs(GetPlayers(Msg,Speaker)) do
  7133. table.insert(nilprilist, v.Name)
  7134. Output2("Added "..v.Name.." to private server",{Colors.Green},LocalPlayer)
  7135. end end
  7136. )
  7137. AddCommand('Get Asset','getasset',
  7138. function(Msg,Speaker)
  7139.     if Msg == "insert" then
  7140.          Msg = nilinsert
  7141.     end
  7142.    for id in Msg:gmatch("%d+") do
  7143.        local asset_id = tonumber(id)
  7144.        if asset_id ~= nil then
  7145.            local root = game:GetService("InsertService"):LoadAsset(asset_id)
  7146.            for a, b in pairs(root:GetChildren()) do
  7147.                if b:IsA("Hat") or b:IsA("Tool") then
  7148.                    if speaker.Character then
  7149.                        b.Parent = speaker.Character
  7150.                        Output2(speaker.Name .. " has been given " .. b.className .. " \"" .. b.Name .. "\" [" .. tostring(asset_id) .. "]",{Colors.Green},LocalPlayer)
  7151.                    end
  7152.                end
  7153.            end
  7154.        end
  7155.    end
  7156. end
  7157. )
  7158. AddCommand('Fire','fire',
  7159. function(Msg,Speaker)
  7160. local a = GetPlayers(Msg,Speaker)
  7161. for i,v in pairs(a) do
  7162. if v.Character then
  7163. if v.Character:findFirstChild("Torso") then
  7164. if v.Character.Torso.className == "Part" then
  7165. Instance.new("Fire", v.Character.Torso)
  7166. end end end end end
  7167. )
  7168. AddCommand('Clean','clean',
  7169. function(Msg,Speaker)
  7170. for i,s in pairs(workspace:GetChildren()) do  
  7171. if game:GetService("Players"):GetPlayerFromCharacter(s) == nil then  
  7172. if s.className ~= "Terrain" then
  7173. if s.className ~= "Camera" then  
  7174. pcall(function() s:Destroy() end)
  7175. end end end end
  7176. local b = Instance.new("Part", Game:GetService("Workspace"))
  7177. b.Size = Vector3.new(3000, 1, 3000)
  7178. b.CFrame = CFrame.new(0, 0, 0)
  7179. b.Name = "Base"
  7180. b.BrickColor = BrickColor.new("Earth green")
  7181. b.TopSurface = "Smooth"
  7182. b.BottomSurface = "Smooth"
  7183. b.LeftSurface = "Smooth"
  7184. b.RightSurface = "Smooth"
  7185. b.FrontSurface = "Smooth"
  7186. b.BackSurface = "Smooth"
  7187. b.Anchored = true
  7188. b.Locked = true
  7189. local sl = Instance.new("SpawnLocation", workspace)
  7190. sl.Anchored = true
  7191. sl.Locked = true
  7192. sl.formFactor = "Plate"
  7193. sl.Size = Vector3.new(6, 0.4, 6)
  7194. sl.CFrame = CFrame.new(0, 0.6, 0)
  7195. sl.BrickColor = BrickColor.new("Really blue")
  7196. sl.TopSurface = "Smooth"
  7197. sl.BottomSurface = "Smooth"
  7198. sl.LeftSurface = "Smooth"
  7199. sl.RightSurface = "Smooth"
  7200. sl.FrontSurface = "Smooth"
  7201. sl.BackSurface = "Smooth"
  7202. end
  7203. )
  7204. AddCommand('BasePlate','base',
  7205. function(Msg,Speaker)
  7206. local b = Instance.new("Part", workspace)
  7207. b.Size = Vector3.new(3000, 1, 3000)
  7208. b.CFrame = CFrame.new(0, 0, 0)
  7209. b.Name = "Base"
  7210. b.BrickColor = BrickColor.new("Earth green")
  7211. b.TopSurface = "Smooth"
  7212. b.BottomSurface = "Smooth"
  7213. b.LeftSurface = "Smooth"
  7214. b.RightSurface = "Smooth"
  7215. b.FrontSurface = "Smooth"
  7216. b.BackSurface = "Smooth"
  7217. b.Anchored = true
  7218. b.Locked = true
  7219. local sl = Instance.new("SpawnLocation", workspace)
  7220. sl.Anchored = true
  7221. sl.Locked = true
  7222. sl.formFactor = "Plate"
  7223. sl.Size = Vector3.new(6, 0.4, 6)
  7224. sl.CFrame = CFrame.new(0, 0.6, 0)
  7225. sl.BrickColor = BrickColor.new("Really blue")
  7226. sl.TopSurface = "Smooth"
  7227. sl.BottomSurface = "Smooth"
  7228. sl.LeftSurface = "Smooth"
  7229. sl.RightSurface = "Smooth"
  7230. sl.FrontSurface = "Smooth"
  7231. sl.BackSurface = "Smooth"
  7232. end
  7233. )
  7234. AddCommand('Remove Legs','nolegs',
  7235. function(Msg,Speaker)
  7236. local a = GetPlayers(Msg,Speaker)
  7237. for i,v in pairs(a) do
  7238. for i,j in pairs(v.Character:GetChildren()) do
  7239. if j.Name == "Left Leg" or j.Name == "Right Leg" then
  7240. j:remove()
  7241. end end end
  7242. Output("Removed player's legs",{Colors.Green},LocalPlayer)
  7243. end
  7244. )
  7245. AddCommand('Remove Hats','nohats',
  7246. function(Msg,Speaker)
  7247. local a = GetPlayers(Msg,Speaker)
  7248. for i,v in pairs(a) do
  7249. for i,j in pairs(v.Character:GetChildren()) do
  7250. if j.ClassName == "Hat" then
  7251. j:remove()
  7252. end end end
  7253. Output("Removed player's hats",{Colors.Green},LocalPlayer)
  7254. end
  7255. )
  7256. AddCommand('Remove Face','noface',
  7257. function(Msg,Speaker)
  7258. local a = GetPlayers(Msg,Speaker)
  7259. for i,v in pairs(a) do
  7260. for i,j in pairs(v.Character.Head:GetChildren()) do
  7261. if j.ClassName == "Decal" then
  7262. j:remove()
  7263. end end end
  7264. Output("Removed player's face",{Colors.Green},LocalPlayer)
  7265. end
  7266. )
  7267. AddCommand('Remove Arms','noarms',
  7268. function(Msg,Speaker)
  7269. local a = GetPlayers(Msg,Speaker)
  7270. for i,v in pairs(a) do
  7271. for i,j in pairs(v.Character:GetChildren()) do
  7272. if j.Name == "Left Arm" or j.Name == "Right Arm" then
  7273. j:remove()
  7274. end end end
  7275. Output("Removed player's arms",{Colors.Green},LocalPlayer)
  7276. end
  7277. )
  7278. AddCommand('Chage Time','time',
  7279. function(Msg,Speaker)
  7280. if string.lower(word) == "noon" then
  7281. game:GetService("Lighting").TimeOfDay = "18:00:00"
  7282. elseif string.lower(word) == "morning" then
  7283. game:GetService("Lighting").TimeOfDay = "0:00:00"
  7284. end
  7285. game:GetService("Lighting").TimeOfDay = tonumber(word)
  7286. Output("Changed time")
  7287. end
  7288. )
  7289. AddCommand('Change Ambient','ambient',
  7290. function(Msg,Speaker)
  7291. game:GetService("Lighting").Ambient = Color3.new(tonumber(word))
  7292. Output2("Changed ambient",{Colors.Green},LocalPlayer)
  7293. end
  7294. )
  7295. AddCommand('Remove Cloths','noclothes',
  7296. function(Msg,Speaker)
  7297. local a = GetPlayers(Msg,Speaker)
  7298. for i,v in pairs(a) do
  7299. for i,j in pairs(v.Character:GetChildren()) do
  7300. if j.ClassName == "Shirt" or j.ClassName == "Pants" or j.ClassName == "ShirtGraphic" then
  7301. j:remove()
  7302. end end end
  7303. Output("Removed player's clothes",{Colors.Green},LocalPlayer)
  7304. end
  7305. )
  7306. AddCommand('Reset Lighting','rl',
  7307. function(Msg,Speaker)
  7308. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  7309. v:remove()
  7310. end  
  7311. local light = game:GetService("Lighting")
  7312. light.TimeOfDay = "14:00:00"
  7313. light.Brightness = 1
  7314. light.ColorShift_Bottom = Color3.new(0, 0, 0)
  7315. light.ColorShift_Top = Color3.new(0, 0, 0)
  7316. light.ShadowColor = Color3.new(178, 178, 178)
  7317. light.Ambient = Color3.new(1, 1, 1)
  7318. light.FogStart  = 0
  7319. light.FogEnd  = 10000000000000
  7320. Output2("Reset lighting",{Colors.Green},LocalPlayer)
  7321. end
  7322. )
  7323. AddCommand('Day','day',
  7324. function(Msg,Speaker)
  7325. local light = game:GetService("Lighting")
  7326. light.TimeOfDay = "14:00:00"
  7327. Output2("Set time to day",{Colors.Green},LocalPlayer)
  7328. end
  7329. )
  7330. AddCommand('Night','night',
  7331. function(Msg,Speaker)
  7332. local light = game:GetService("Lighting")
  7333. light.TimeOfDay = "24:00:00"
  7334. Output2("Set time to night",{Colors.Green},LocalPlayer)
  7335. end
  7336. )
  7337. AddCommand('UnFire','unfire',
  7338. function(Msg,Speaker)
  7339. local a = GetPlayers(Msg,Speaker)
  7340. for i,v in pairs(a) do
  7341. if v.Character then
  7342. if v.Character:findFirstChild("Torso") then
  7343. if v.Character.Torso.ClassName == "Part" then
  7344. for i,f in pairs(v.Character.Torso:GetChildren()) do
  7345. if f.ClassName == "Fire" then
  7346. f:remove()
  7347. Output2("Removed fire from "..v.Name,{Colors.Green},LocalPlayer)
  7348. end end end end end end end
  7349. )
  7350. AddCommand('ForceField','ff',
  7351. function(Msg,Speaker)
  7352. local a = GetPlayers(Msg,Speaker)
  7353. for i,v in pairs(a) do
  7354. if v.Character then
  7355. Instance.new("ForceField", v.Character).Name = "nilforcefield"
  7356. Output2("Gave forcefield to "..v.Name,{Colors.Green},LocalPlayer)
  7357. end end end
  7358. )
  7359. AddCommand('Remove ForceField','unff',
  7360. function(Msg,Speaker)
  7361. local a = GetPlayers(Msg,Speaker)
  7362. for i,v in pairs(a) do
  7363. if v.Character then
  7364. for i,f in pairs(v.Character:GetChildren()) do
  7365. if f.ClassName == "ForceField" then
  7366. f:remove()
  7367. Output2("Removed ForceField from "..v.Name,{Colors.Green},LocalPlayer)
  7368. end end end end end
  7369. )
  7370. AddCommand('Fog on/off','fog',
  7371. function(Msg,Speaker)
  7372. if string.lower(Msg) == "on" then
  7373. game:service("Lighting").FogStart  = 0
  7374. game:service("Lighting").FogEnd  = 100
  7375. Output2("Fogs on",{Colors.Green},LocalPlayer)
  7376. elseif(string.lower(Msg) == "off") then
  7377. game:service("Lighting").FogStart  = 0
  7378. game:service("Lighting").FogEnd  = 999999999999
  7379. Output2("Fogs off",{Colors.Green},LocalPlayer)
  7380. end end
  7381. )
  7382. AddCommand('Sparkles','sparkles',
  7383. function(Msg,Speaker)
  7384. local a = GetPlayers(Msg,Speaker)
  7385. for i,v in pairs(a) do
  7386. if v.Character then
  7387. if v.Character:findFirstChild("Torso") then
  7388. Instance.new("Sparkles", v.Character.Torso)
  7389. Output2("Gave sparkles to "..v.Name,{Colors.Green},LocalPlayer)
  7390. end end end end
  7391. )
  7392. AddCommand('God Health','inf',
  7393. function(Msg,Speaker)
  7394. local a = GetPlayers(Msg,Speaker)
  7395. for i,v in pairs(a) do
  7396. if v.Character ~= nil then
  7397. for i,s in pairs(v.Character:GetChildren()) do
  7398. if s.className == "Part" then
  7399. s.Reflectance = 1
  7400. elseif(s.ClassName == "Humanoid") then
  7401. s.MaxHealth = math.huge
  7402. Output("God Health "..v.Name,{Colors.Green},LocalPlayer)
  7403. end end end end end
  7404. )
  7405. AddCommand('Respawn','respawn',
  7406. function(Msg,Speaker)
  7407. local a = GetPlayers(Msg,Speaker)
  7408. for i,v in pairs(a) do
  7409. local ack2 = Instance.new("Model")
  7410. ack2.Parent = game:GetService("Workspace")
  7411. local ack4 = Instance.new("Part")
  7412. ack4.Transparency = 1
  7413. ack4.CanCollide = false
  7414. ack4.Anchored = true
  7415. ack4.Name = "Torso"
  7416. ack4.Position = Vector3.new(10000,10000,10000)
  7417. ack4.Parent = ack2
  7418. local ack3 = Instance.new("Humanoid")
  7419. ack3.Torso = ack4
  7420. ack3.Parent = ack2
  7421. v.Character = ack2
  7422. Output("Respawned "..v.Name,{Colors.Green},LocalPlayer)
  7423. end end
  7424. )
  7425. --[[
  7426. AddCommand('RemoveCba','remove',
  7427. function(Msg,Speaker)
  7428. if string.lower(Msg) == "cba" then
  7429. Output2("Removed NILIZERka",{Colors.Red},LocalPlayer)
  7430. NILIZERka.remove = false
  7431. end end
  7432. )
  7433. AddCommand('Override','override',
  7434. function(Msg,Speaker)
  7435. niloverride = true
  7436. end
  7437. ) --]]
  7438. AddCommand('An'..'tiB'..'an','a'..'b',
  7439. function(Msg,Speaker)
  7440. local a = GetPlayers(Msg,Speaker)
  7441. for i,v in pairs(a) do
  7442. local isab = false
  7443. for i,s in pairs(nilab) do
  7444. if string.lower(v.Name) == string.lower(s) then
  7445. isab = true
  7446. end end
  7447. if isab == false then
  7448. table.insert(nilab, v.Name)
  7449. Output(v.Name .. " now has an antiban.",{Colors.Green},LocalPlayer)
  7450. end
  7451. end end
  7452. )
  7453. AddCommand('UnB'..'an','unb'..'an',
  7454. function(Msg,Speaker)
  7455. for i,s in pairs(banlist) do
  7456. if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then
  7457. table.remove(banlist, i)
  7458. Output("Unbanned "..s,{Colors.Green},LocalPlayer)
  7459. end end end
  7460. )
  7461. AddCommand('Remove from Prilist','removep',
  7462. function(Msg,Speaker)
  7463. for i,s in pairs(nilprilist) do
  7464. if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then
  7465. table.remove(nilprilist, i)
  7466. Output("Removed "..s.." from private server",{Colors.Green},LocalPlayer)
  7467. end end end
  7468. )
  7469. AddCommand('UnAdmin','unad'..'min',
  7470. function(Msg,Speaker)
  7471. for i,s in pairs(allowed) do
  7472. if string.sub(string.lower(s[1]), 1, #Msg) == string.lower(Msg) then
  7473. table.remove(allowed, i)
  7474. Output2("Unadmined "..s,{Colors.Green},LocalPlayer)
  7475. end end end
  7476. )
  7477. AddCommand('UnAn'..'tiB'..'an','un'..'a'..'b',
  7478. function(Msg,Speaker)
  7479. for i,s in pairs(nilab) do
  7480. if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then
  7481. table.remove(nilab, i)
  7482. Output("Removed "..s.."'s AntiBan",{Colors.Green},LocalPlayer)
  7483. end end end
  7484. )
  7485. AddCommand('Remove Humanoid','rhum',
  7486. function(Msg,Speaker)
  7487. local a = GetPlayers(Msg,Speaker)
  7488. for i,v in pairs(a) do
  7489. if v.Character.Humanoid then
  7490. v.Character.Humanoid:Destroy()
  7491. Output("Removed humanoid",{Colors.Green},LocalPlayer)
  7492. end end end
  7493. )
  7494. AddCommand('Get Age','getage',
  7495. function(Msg,Speaker)
  7496. local a = GetPlayers(Msg,Speaker)
  7497. for i,v in pairs(a) do
  7498. local at = 0
  7499. local age = v.AccountAge
  7500. while true do
  7501. wait()
  7502. if age - 365 < 0 then
  7503. break
  7504. end
  7505. at = at + 1
  7506. age = age - 365
  7507. end
  7508. local h = Instance.new("Hint", workspace)
  7509. h.Text = v.Name.."'s Account is "..at.." Year(s) old and "..age.." Day(s) old"
  7510. wait(4)
  7511. if h then
  7512. h:remove()
  7513. end
  7514. end end
  7515. )
  7516. AddCommand('Anti Lag','antilag',
  7517. function(Msg,Speaker)
  7518. local a = GetPlayers(Msg,Speaker)
  7519. for i,v in pairs(a) do
  7520. for i,s in pairs(v.PlayerGui:GetChildren()) do
  7521. if s:IsA("Message") then
  7522. s:remove()
  7523. Output2('DeLagged'..v.Name,{Colors.Green},LocalPlayer)
  7524. end end end end
  7525. )
  7526. AddCommand('Sit','sit',
  7527. function(Msg,Speaker)
  7528. local a = GetPlayers(Msg,Speaker)
  7529. for i,v in pairs(a) do
  7530. for i,j in pairs(v.Character:GetChildren()) do
  7531. if j.ClassName == "Humanoid" then
  7532. j.Sit = true
  7533. Output2("Made "..j.Name.." sit",{Colors.Green},LocalPlayer)
  7534. end end end end
  7535. )
  7536. AddCommand('Remove Tools','rtools',
  7537. function(Msg,Speaker)
  7538. local a = GetPlayers(Msg,Speaker)
  7539. for i,v in pairs(a) do
  7540. if v:findFirstChild("Backpack") ~= nil then
  7541. if v.Character then
  7542. for i,s in pairs(v.Character:GetChildren()) do
  7543. if s.ClassName == "Tool" or v.ClassName == "Model" then
  7544. s:remove()
  7545. end end end
  7546. for i,s in pairs(v.Backpack:GetChildren()) do
  7547. s:remove()
  7548. end end
  7549. end
  7550. end
  7551. )
  7552.  
  7553. --[[["cmds"] = function(Msg,Speaker)
  7554. local a = GetPlayers(Msg,Speaker)
  7555. for i,v in pairs(a) do
  7556. if v:findFirstChild("PlayerGui") then
  7557. if v.PlayerGui:findFirstChild("NILIZERka Commands") == nil then
  7558. local cmd = 1
  7559. local sg = Instance.new("ScreenGui", v.PlayerGui)
  7560. sg.Name = "NILIZERka Commands"
  7561. local fr = Instance.new("Frame", sg)
  7562. fr.Name = "Main"
  7563. fr.Size = UDim2.new(0.3, 0, 0.3, 0)
  7564. fr.BackgroundTransparency = 1
  7565. fr.Position = UDim2.new(0, 0, 0.3, 0)
  7566. local tab1 = Instance.new("Frame", fr)
  7567. tab1.Size = UDim2.new(1, 0, 1, 0)
  7568. tab1.Name = "List"
  7569. tab1.BackgroundColor3 = Color3.new(0, 0, 0)
  7570. tab1.BackgroundTransparency = 0.7
  7571. tab1.BorderColor3 = Color3.new(1, 1, 1)
  7572. local tab1b = Instance.new("TextButton", fr)
  7573. tab1b.Size = UDim2.new(0.25, 0, 0.1, 0)
  7574. tab1b.Text = "Cmd list"
  7575. tab1b.FontSize = "Size11"
  7576. tab1b.BackgroundColor3 = Color3.new(0, 0, 0)
  7577. tab1b.BorderColor3 = Color3.new(1, 1, 1)
  7578. tab1b.TextColor3 = Color3.new(1, 1, 1)
  7579. tab1b.Position = UDim2.new(0, 0, -0.1, 0)
  7580. local tab2 = Instance.new("Frame", fr)
  7581. tab2.Size = UDim2.new(1, 0, 1, 0)
  7582. tab2.Name = "List"
  7583. tab2.BackgroundColor3 = Color3.new(0, 0, 0)
  7584. tab2.BackgroundTransparency = 0.7
  7585. tab2.BorderColor3 = Color3.new(1, 1, 1)
  7586. tab2.Visible = false
  7587. local fun = Instance.new("TextLabel", tab2)
  7588. fun.Text = "No cmd chosen"
  7589. fun.BackgroundTransparency = 1
  7590. fun.FontSize = "Size12"
  7591. fun.TextColor3 = Color3.new(1, 1, 1)
  7592. fun.TextWrap = true
  7593. fun.Size = UDim2.new(1, 0, 1, 0)
  7594. local tab2b = Instance.new("TextButton", fr)
  7595. tab2b.Size = UDim2.new(0.25, 0, 0.1, 0)
  7596. tab2b.Text = "Function"
  7597. tab2b.FontSize = "Size11"
  7598. tab2b.BackgroundColor3 = Color3.new(0, 0, 0)
  7599. tab2b.BorderColor3 = Color3.new(1, 1, 1)
  7600. tab2b.TextColor3 = Color3.new(1, 1, 1)
  7601. tab2b.Position = UDim2.new(0.25, 0, -0.1, 0)
  7602. local tab3 = Instance.new("Frame", fr)
  7603. tab3.Size = UDim2.new(1, 0, 1, 0)
  7604. tab3.Name = "List"
  7605. tab3.BackgroundColor3 = Color3.new(0, 0, 0)
  7606. tab3.BackgroundTransparency = 0.7
  7607. tab3.BorderColor3 = Color3.new(1, 1, 1)
  7608. tab3.Visible = false
  7609. local tab3b = Instance.new("TextButton", fr)
  7610. tab3b.Size = UDim2.new(0.25, 0, 0.1, 0)
  7611. tab3b.Text = "Example"
  7612. tab3b.FontSize = "Size11"
  7613. tab3b.BackgroundColor3 = Color3.new(0, 0, 0)
  7614. tab3b.BorderColor3 = Color3.new(1, 1, 1)
  7615. tab3b.TextColor3 = Color3.new(1, 1, 1)
  7616. tab3b.Position = UDim2.new(0.5, 0, -0.1, 0)
  7617. local ex = Instance.new("TextLabel", tab3)
  7618. ex.Text = "No cmd chosen"
  7619. ex.BackgroundTransparency = 1
  7620. ex.FontSize = "Size12"
  7621. ex.TextColor3 = Color3.new(1, 1, 1)
  7622. ex.TextWrap = true
  7623. ex.Size = UDim2.new(1, 0, 1, 0)
  7624. local e = Instance.new("TextButton", fr)
  7625. e.Size = UDim2.new(0.25, 0, 0.1, 0)
  7626. e.Text = "Exit"
  7627. e.FontSize = "Size11"
  7628. e.BackgroundColor3 = Color3.new(0, 0, 0)
  7629. e.BorderColor3 = Color3.new(1, 1, 1)
  7630. e.TextColor3 = Color3.new(1, 1, 1)
  7631. e.Position = UDim2.new(0.75, 0, -0.1, 0)
  7632. local nb = Instance.new("TextButton", fr)
  7633. nb.Size = UDim2.new(0.25, 0, 0.1, 0)
  7634. nb.Text = "Next"
  7635. nb.FontSize = "Size11"
  7636. nb.BackgroundColor3 = Color3.new(0, 0, 0)
  7637. nb.BorderColor3 = Color3.new(1, 1, 1)
  7638. nb.TextColor3 = Color3.new(1, 1, 1)
  7639. nb.Position = UDim2.new(0.75, 0, 1, 0)
  7640. local pb = Instance.new("TextButton", fr)
  7641. pb.Size = UDim2.new(0.25, 0, 0.1, 0)
  7642. pb.Text = "Previous"
  7643. pb.FontSize = "Size11"
  7644. pb.BackgroundColor3 = Color3.new(0, 0, 0)
  7645. pb.BorderColor3 = Color3.new(1, 1, 1)
  7646. pb.TextColor3 = Color3.new(1, 1, 1)
  7647. pb.Position = UDim2.new(0, 0, 1, 0)
  7648. e.MouseButton1Click:connect(function()
  7649. sg:remove()
  7650. end)
  7651. tab1b.MouseButton1Click:connect(function()
  7652. tab1.Visible = true
  7653. tab2.Visible = false
  7654. tab3.Visible = false
  7655. end)
  7656. tab2b.MouseButton1Click:connect(function()
  7657. tab1.Visible = false
  7658. tab2.Visible = true
  7659. tab3.Visible = false
  7660. end)
  7661. tab3b.MouseButton1Click:connect(function()
  7662. tab1.Visible = false
  7663. tab2.Visible = false
  7664. tab3.Visible = true
  7665. end)
  7666. onpg = 1
  7667. local on = 0
  7668. local currpage = 1
  7669. local page = Instance.new("Frame", tab1)
  7670. page.Name = "Page"..currpage
  7671. page.Size = UDim2.new(1, 0, 1, 0)
  7672. page.BackgroundTransparency = 1
  7673. for n,c in pairs(NILIZERka.cmd) do
  7674. if on == 10 then
  7675. on = 0
  7676. currpage = currpage + 1
  7677. page = Instance.new("Frame", tab1)
  7678. page.Name = "Page"..currpage
  7679. page.Size = UDim2.new(1, 0, 1, 0)
  7680. page.BackgroundTransparency = 1
  7681. page.Visible = false
  7682. end
  7683. local but = Instance.new("TextButton", page)
  7684. but.Text = c[1]
  7685. but.TextColor3 = Color3.new(1, 1, 1)
  7686. but.FontSize = "Size11"
  7687. but.Size = UDim2.new(1, 0, 0.1, 0)
  7688. but.BackgroundColor3 = Color3.new(0, 0, 0)
  7689. but.BorderColor3 = Color3.new(1, 1, 1)
  7690. but.BackgroundTransparency = 0.7
  7691. but.Position = UDim2.new(0, 0, on/10, 0)
  7692. but.MouseButton1Click:connect(function()
  7693. fun.Text = c[2]
  7694. ex.Text = c[3]
  7695. end)
  7696. on = on + 1
  7697. end
  7698. nb.MouseButton1Click:connect(function()
  7699. if currpage > onpg then
  7700. for i,w in pairs(tab1:GetChildren()) do
  7701. w.Visible = false
  7702. end
  7703. tab1["Page"..onpg + 1].Visible = true
  7704. onpg = onpg + 1 end end)
  7705. pb.MouseButton1Click:connect(function()
  7706. if onpg > 1 then
  7707. for i,w in pairs(tab1:GetChildren()) do
  7708. w.Visible = false
  7709. end
  7710. tab1["Page"..onpg - 1].Visible = true
  7711. onpg = onpg - 1 end end)
  7712. end end end end; --]]
  7713. AddCommand('Change Walkspeed','ws',
  7714. function(Msg,Speaker)
  7715. local bet = nilbet
  7716. for i = 1, #Msg do
  7717. if string.sub(Msg, i, i) == bet then
  7718. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7719. for _,v in pairs(search) do
  7720. if v.Character then
  7721. if v.Character:findFirstChild("Humanoid") then
  7722. v.Character.Humanoid.WalkSpeed = tonumber(string.sub(Msg, i+1))
  7723. end end end end end
  7724. Output("Changed walkspeed",{Colors.Green},LocalPlayer)
  7725. end
  7726. )
  7727. --[[["tele"] = function(Msg,Speaker)
  7728. local bet = nilbet
  7729. for i = 1, #Msg do
  7730. if string.sub(Msg, i, i) == bet then
  7731. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7732. local search2 = GetPlayers(string.sub(Msg, i+1), speaker)
  7733. for _,v in pairs(search) do
  7734. for _,s in pairs(search2) do
  7735. if s.Character then
  7736. if v.Character then
  7737. if v.Character:findFirstChild("Torso") then
  7738. if s.Character:findFirstChild("Torso") then
  7739. v.Character.Torso.CFrame = s.Character.Torso.CFrame * CFrame.new(0, 3, 0)
  7740. Output2("Teleporting "..v.Name.." to "..s.Name)
  7741. end end end end end end end end end; --]]
  7742. AddCommand('Health','health',
  7743. function(Msg,Speaker)
  7744. local bet = nilbet
  7745. for i = 1, #Msg do
  7746. if string.sub(Msg, i, i) == bet then
  7747. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7748. for _,v in pairs(search) do
  7749. if v.Character then
  7750. if v.Character:findFirstChild("Humanoid") then
  7751. v.Character.Humanoid.MaxHealth = tonumber(string.sub(Msg, i+1))
  7752. v.Character.Humanoid.Health = tonumber(string.sub(Msg, i+1))
  7753. end end end end end
  7754. Output("Changed health",{Colors.Green},LocalPlayer)
  7755. end
  7756. )
  7757. AddCommand('Make Forest','forest',
  7758. function(Msg,Speaker)
  7759. local tmodel = Instance.new("Model", workspace)
  7760. for i = 1, 3000 do
  7761. local treet = Instance.new("Part", tmodel)
  7762. treet.Size = Vector3.new(4, 20, 4)
  7763. treet.Anchored = true
  7764. treet.Locked = true
  7765. treet.BrickColor = BrickColor.new("Reddish brown")
  7766. treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
  7767. local treetop = Instance.new("Part", tmodel)
  7768. treetop.BrickColor = BrickColor.new("Earth green")
  7769. treetop.TopSurface = "Smooth"
  7770. treetop.BottomSurface = "Smooth"
  7771. treetop.Size = Vector3.new(13, 13, 13)
  7772. treetop.Anchored = true
  7773. treetop.Shape = "Ball"
  7774. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  7775. end
  7776. Output("Made a forest!",{Colors.Green},LocalPlayer)
  7777. end
  7778. )
  7779. AddCommand('Build Tools','btools',
  7780. function(Msg,Speaker)
  7781. local a = GetPlayers(Msg,Speaker)
  7782. for i,v in pairs(a) do
  7783. if v:findFirstChild("Backpack") then
  7784. Instance.new("HopperBin", v.Backpack).BinType = 4
  7785. Instance.new("HopperBin", v.Backpack).BinType = 3
  7786. Instance.new("HopperBin", v.Backpack).BinType = 1
  7787. Output("Gave building tools to "..v.Name,{Colors.Green},LocalPlayer)
  7788. end end
  7789. end
  7790. )
  7791. AddCommand('Debug','debug',
  7792. function(Msg,Speaker)
  7793. for i,t in pairs(game:service("Workspace"):GetChildren()) do
  7794. pcall (function()
  7795. t:remove()
  7796. end)
  7797. end
  7798. for i,v in pairs(nilplayers) do
  7799. for i,s in pairs(v:GetChildren()) do
  7800. if s.Name ~= "PlayerGui" then
  7801. pcall (function()
  7802. s:destroy()
  7803. end)
  7804. end end end
  7805. for i,v in pairs(game:service("Debris"):GetChildren()) do
  7806. pcall (function()
  7807. v:destroy()
  7808. end)
  7809. end
  7810. for i,v in pairs(game:service("Lighting"):GetChildren()) do
  7811. pcall (function()
  7812. v:destroy()
  7813. end)
  7814. end
  7815. for i,v in pairs(nilplayers) do
  7816. v.Neutral = true
  7817. end
  7818. for i,v in pairs(game:service("Teams"):GetChildren()) do
  7819. pcall (function()
  7820. v:destroy()
  7821. end)
  7822. end
  7823. Output2("Debuged server",{Colors.Green},LocalPlayer)
  7824. end
  7825. )
  7826. --[[["speak"] = function(Msg,Speaker)
  7827. local a = GetPlayers(Msg,Speaker)
  7828. for i,v in pairs(a) do
  7829. funcs.makechat(v)
  7830. end end; --]]
  7831. --[[["getmsg"] = function(Msg,Speaker)
  7832. Output2("Generating message",{Colors.Green},LocalPlayer)
  7833. local m = Instance.new("Message", workspace)
  7834. m.Text = speaker.Name..": "..Msg
  7835. wait(3)
  7836. if m then
  7837. m:remove()
  7838. end end; --]]
  7839. AddCommand('Remove Team','rteam',
  7840. function(Msg,Speaker)
  7841. local teams = game:service("Teams")
  7842. for i,v in pairs(teams:GetTeams()) do
  7843. if string.sub(string.lower(v.Name), 1, #Msg) == string.lower(Msg) then
  7844. v:remove()
  7845. end end
  7846. Output2("Removed teams",{Colors.Green},LocalPlayer)
  7847. end
  7848. )
  7849. AddCommand('Sync Platform','syncplat',
  7850. function(Msg,Speaker)
  7851. if nilplatvic then
  7852. if nilplatvic.Character then
  7853. if nilplatvic.Character:findFirstChild("Torso") then
  7854. nilplatpos = nilplatvic.Character.Torso.Position.Y - 3.5
  7855. end end end
  7856. Output2("Synced platform",{Colors.Green},LocalPlayer)
  7857. end
  7858. )
  7859. AddCommand('New Team','newteam',
  7860. function(Msg,Speaker)
  7861. for i,v in pairs(nilplayers) do
  7862. v.Neutral = false
  7863. end
  7864. local team = Instance.new("Team", game:service("Teams"))
  7865. team.Name = Msg
  7866. team.TeamColor = BrickColor.random()
  7867. Output2("Created new team " ..team.Name,{Colors.Green},LocalPlayer)
  7868. end
  7869. )
  7870. AddCommand('Punish','punish',
  7871. function(Msg,Speaker)
  7872. local a = GetPlayers(Msg,Speaker)
  7873. for i,v in pairs(a) do
  7874. if v.Character then
  7875. v.Character.Parent = game:service("Lighting")
  7876. Output2("Punished "..v.Name,{Colors.Green},LocalPlayer)
  7877. end end
  7878. end
  7879. )
  7880. AddCommand('UnPunish','unpunish',
  7881. function(Msg,Speaker)
  7882. local a = GetPlayers(Msg,Speaker)
  7883. for i,v in pairs(a) do
  7884. if v.Character then
  7885. v.Character.Parent = workspace
  7886. v.Character:MakeJoints()
  7887. Output2("Unpunished "..v.Name,{Colors.Green},LocalPlayer)
  7888. end end end
  7889. )
  7890. AddCommand('Freeze','freeze',
  7891. function(Msg,Speaker)
  7892. local a = GetPlayers(Msg,Speaker)
  7893. for i,v in pairs(a) do
  7894. if v.Character ~= nil then
  7895. for i,s in pairs(v.Character:GetChildren()) do
  7896. if s.className == "Part" then
  7897. s.Anchored = true
  7898. s.Reflectance = 1
  7899. Output("Froze "..v.Name,{Colors.Green},LocalPlayer)
  7900. end end end end end
  7901. )
  7902. AddCommand('Thaw','thaw',
  7903. function(Msg,Speaker)
  7904. local a = GetPlayers(Msg,Speaker)
  7905. for i,v in pairs(a) do
  7906. if v.Character ~= nil then
  7907. for i,s in pairs(v.Character:GetChildren()) do
  7908. if s.className == "Part" then
  7909. s.Anchored = false
  7910. s.Reflectance = 0
  7911. Output("Thawed "..v.Name,{Colors.Green},LocalPlayer)
  7912. end end end end end
  7913. )
  7914. --[[["admin"] = function(Msg,Speaker)
  7915. local bet = nilbet
  7916. for i = 1, #Msg do
  7917. if string.sub(Msg, i, i) == bet then
  7918. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7919. for _,v in pairs(search) do
  7920. local isadmin = false
  7921. for s,t in pairs(niladmins) do
  7922. if t[1] == v.Name then
  7923. isadmin = true
  7924. end end
  7925. if isadmin == false then
  7926. table.insert(niladmins, {v.Name, tonumber(string.sub(Msg, i+1))})
  7927. Output2("Admined "..v.Name)
  7928. end end end end end;--]]
  7929. AddCommand('Killa Body','kbod',
  7930. function(Msg,Speaker)
  7931. if game:service("Players").LocalPlayer.Character ~= nil then
  7932. end
  7933. Character = Instance.new("Model")
  7934. Character.Name = CharacterName or game.Players.LocalPlayer.Name
  7935. Character.Parent = game.Workspace
  7936. local Head = Instance.new("Part")
  7937. Head.Name = "Head"
  7938. Head.formFactor = 0
  7939. Head.Size = Vector3.new(2, 1, 1)
  7940. Head.TopSurface = 0
  7941. Head.BottomSurface = "Weld"
  7942. Head.BrickColor = BrickColor.new("Really red")
  7943. Head.Parent = Character
  7944. local Mesh = Instance.new("SpecialMesh")
  7945. Mesh.MeshType = "Head"
  7946. Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  7947. Mesh.Parent = Head
  7948. local Face = Instance.new("Decal")
  7949. Face.Name = "face"
  7950. Face.Face = "Front"
  7951. Face.Texture = "rbxasset://textures/face.png"
  7952. Face.Parent = Head
  7953. local Torso = Instance.new("Part")
  7954. Torso.Name = "Torso"
  7955. Torso.formFactor = 0
  7956. Torso.Size = Vector3.new(2, 2, 1)
  7957. Torso.TopSurface = "Studs"
  7958. Torso.BottomSurface = "Inlet"
  7959. Torso.LeftSurface = "Weld"
  7960. Torso.RightSurface = "Weld"
  7961. Torso.BrickColor = BrickColor.new("Really black")
  7962. Torso.Parent = Character
  7963. local TShirt = Instance.new("Decal")
  7964. TShirt.Name = "roblox"
  7965. TShirt.Face = "Front"
  7966. TShirt.Texture = "http://www.roblox.com/asset/?id=64494357"
  7967. TShirt.Parent = Torso
  7968. local Limb = Instance.new("Part")
  7969. Limb.formFactor = 0
  7970. Limb.Size = Vector3.new(1, 2, 1)
  7971. Limb.TopSurface = "Studs"
  7972. Limb.BottomSurface = "Inlet"
  7973. Limb.BrickColor = BrickColor.new("Really black")
  7974. local Limb2 = Instance.new("Part")
  7975. Limb2.formFactor = 0
  7976. Limb2.Size = Vector3.new(1, 2, 1)
  7977. Limb2.TopSurface = "Studs"
  7978. Limb2.BottomSurface = "Inlet"
  7979. Limb2.BrickColor = BrickColor.new("Really black")
  7980. local LeftArm = Limb2:Clone()
  7981. LeftArm.Name = "Left Arm"
  7982. LeftArm.Parent = Character
  7983. local RightArm = Limb2:Clone()
  7984. RightArm.Name = "Right Arm"
  7985. RightArm.Parent = Character
  7986. local LeftLeg = Limb:Clone()
  7987. LeftLeg.Name = "Left Leg"
  7988. LeftLeg.Parent = Character
  7989. local RightLeg = Limb:Clone()
  7990. RightLeg.Name = "Right Leg"
  7991. RightLeg.Parent = Character
  7992. Character:BreakJoints()
  7993. local Neck = Instance.new("Motor6D")
  7994. Neck.Name = "Neck"
  7995. Neck.Part0 = Torso
  7996. Neck.Part1 = Head
  7997. Neck.C0 = CFrame.new(0, 2, 0)
  7998. Neck.C1 = CFrame.new(0, 0.5, 0)
  7999. Neck.MaxVelocity = 0
  8000. Neck.Parent = Torso
  8001. local LeftShoulder = Instance.new("Motor6D")
  8002. LeftShoulder.Name = "Left Shoulder"
  8003. LeftShoulder.Part0 = Torso
  8004. LeftShoulder.Part1 = LeftArm
  8005. LeftShoulder.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  8006. LeftShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  8007. LeftShoulder.MaxVelocity = 0.5
  8008. LeftShoulder.Parent = Torso
  8009. local RightShoulder = Instance.new("Motor6D")
  8010. RightShoulder.Name = "Right Shoulder"
  8011. RightShoulder.Part0 = Torso
  8012. RightShoulder.Part1 = RightArm
  8013. RightShoulder.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  8014. RightShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  8015. RightShoulder.MaxVelocity = 0.5
  8016. RightShoulder.Parent = Torso
  8017. local LeftHip = Instance.new("Motor6D")
  8018. LeftHip.Name = "Left Hip"
  8019. LeftHip.Part0 = Torso
  8020. LeftHip.Part1 = LeftLeg
  8021. LeftHip.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  8022. LeftHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  8023. LeftHip.MaxVelocity = 0.1
  8024. LeftHip.Parent = Torso
  8025. local RightHip = Instance.new("Motor6D")
  8026. RightHip.Name = "Right Hip"
  8027. RightHip.Part0 = Torso
  8028. RightHip.Part1 = RightLeg
  8029. RightHip.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  8030. RightHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  8031. RightHip.MaxVelocity = 0.1
  8032. RightHip.Parent = Torso
  8033. local Humanoid = Instance.new("Humanoid")
  8034. Humanoid.Parent = Character
  8035. Humanoid.WalkSpeed = 25
  8036. local BodyColors = Instance.new("BodyColors")
  8037. BodyColors.Name = "Body Colors"
  8038. BodyColors.HeadColor = Head.BrickColor
  8039. BodyColors.TorsoColor = Torso.BrickColor
  8040. BodyColors.LeftArmColor = LeftArm.BrickColor
  8041. BodyColors.RightArmColor = RightArm.BrickColor
  8042. BodyColors.LeftLegColor = LeftLeg.BrickColor
  8043. BodyColors.RightLegColor = RightLeg.BrickColor
  8044. BodyColors.Parent = Character
  8045. local Shirt = Instance.new("Shirt")
  8046. Shirt.Name = "Shirt"
  8047. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=60636107"
  8048. --http://www.roblox.com/asset/?id=106096351
  8049. Shirt.Parent = Character
  8050. local ShirtGraphic = Instance.new("ShirtGraphic")
  8051. ShirtGraphic.Name = "Shirt Graphic"
  8052. ShirtGraphic.Graphic = ""
  8053. ShirtGraphic.Parent = Character
  8054. local Pants = Instance.new("Pants")
  8055. Pants.Name = "Pants"
  8056. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=60636428"
  8057. --http://www.roblox.com/asset/?id=106096415
  8058. Pants.Parent = Character
  8059. Torso.CFrame = CFrame.new(0,50,0)
  8060. game:service("Players").LocalPlayer.Character = Character
  8061. workspace.CurrentCamera.CameraSubject = Character.Humanoid
  8062. workspace.CurrentCamera.CameraType = "Custom"
  8063. hats = {67996263,93131532,102621051,108149175}
  8064. --91658092 = Furturo Robot Torso
  8065. --81725392 overseer left arm
  8066. --81728558 Dark Knight Right Arm
  8067. --81728627 dark knight left leg
  8068. --81725459,overseer right leg
  8069. --73829214,spear
  8070. --64560136,masked hood of halloween
  8071. --67996263, ninja twin swords
  8072. --71597048, pirateflintlocksword
  8073. --83704190, windsword
  8074. --83704165, ice dagger
  8075. --69947367, seventhsanctumaxe
  8076. --64220933,ghostfiresword
  8077. --20416957, boa
  8078. --68325607 empyreanreignmentll
  8079. --93131532 shadey merc mask
  8080. --102621051 snake slate hood
  8081. --83704190 blunder buster
  8082. --108149175 dual dark hart
  8083. for i = 1, #hats do
  8084. root = game:GetService("InsertService"):LoadAsset(hats[i])
  8085. root.Parent = Character
  8086. z = root:GetChildren()
  8087. for f = 1, #z do
  8088. z[f].Parent = Character
  8089. end
  8090. root:Remove()
  8091. end
  8092. ganim=game.Lighting:findFirstChild("Animate")
  8093. kanim=ganim:clone()
  8094. kanim.Parent = Character
  8095. end
  8096. )
  8097. AddCommand('Deep Clean','deepclean',
  8098. function(Msg,Speaker)
  8099. game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
  8100. game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  8101. game.Lighting.Ambient = Color3.new(1, 1, 1)
  8102. game.Lighting.Brightness = 1
  8103. game.Lighting.TimeOfDay = "11:00:00"
  8104. game.Lighting.FogEnd = 99999999
  8105. game.Workspace.Base.Transparency = 0
  8106. game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
  8107. game.Workspace.Base.Locked = true
  8108. game.Workspace.Base.Anchored = true
  8109. t = game.Teams:GetChildren()
  8110. for i = 1, #t do
  8111. if t[i]:IsA("Team") then
  8112. t[i]: Destroy()
  8113. end
  8114. end
  8115. l = game.Lighting:GetChildren()
  8116. for i = 1, #l do
  8117. if l[i]:IsA("Sky") then
  8118. l[i]: Destroy()
  8119. end
  8120. end
  8121. g = game.Workspace:GetChildren()
  8122. for i = 1, #g do
  8123. if g[i]:IsA("Part") then
  8124. g[i]: Destroy()
  8125. end
  8126. end
  8127. for i = 1, #g do
  8128. if g[i]:IsA("Script") then
  8129. g[i].Disabled = true
  8130. g[i]: Destroy()
  8131. end
  8132. end
  8133. p = game.Players:GetChildren()
  8134. for i = 1, #p do
  8135. if g[i]:IsA("Script") then
  8136. g[i].Disabled = true
  8137. g[i]: Destroy()
  8138. end
  8139. end
  8140. for i = 1, #g do
  8141. if g[i]:IsA("StringValue") then
  8142. g[i]: Destroy()
  8143. end
  8144. end
  8145. for i = 1, #g do
  8146. if g[i]:IsA("IntValue") then
  8147. g[i]: Destroy()
  8148. end
  8149. end
  8150. for i = 1, #g do
  8151. if g[i]:IsA("BoolValue") then
  8152. g[i]: Destroy()
  8153. end
  8154. end
  8155. for i = 1, #g do
  8156. if g[i]:IsA("NumberValue") then
  8157. g[i]: Destroy()
  8158. end
  8159. end
  8160. for i = 1, #g do
  8161. if g[i]:IsA("ObjectValue") then
  8162. g[i]: Destroy()
  8163. end
  8164. end
  8165. for i = 1, #g do
  8166. if g[i]:IsA("RayValue") then
  8167. g[i]: Destroy()
  8168. end
  8169. end
  8170. for i = 1, #g do
  8171. if g[i]:IsA("Sound") then
  8172. g[i]: Destroy()
  8173. end
  8174. end
  8175. for i = 1, #g do
  8176. if g[i]:IsA("Accoutrement") then
  8177. g[i]: Destroy()
  8178. end
  8179. end
  8180. for i = 1, #g do
  8181. if g[i]:IsA("BrickColorValue") then
  8182. g[i]: Destroy()
  8183. end
  8184. end
  8185. for i = 1, #g do
  8186. if g[i]:IsA("Motor") then
  8187. g[i]: Destroy()
  8188. end
  8189. end
  8190. for i = 1, #g do
  8191. if g[i]:IsA("MotorFeature") then
  8192. g[i]: Destroy()
  8193. end
  8194. end
  8195. for i = 1, #g do
  8196. if g[i]:IsA("Color3Value") then
  8197. g[i]: Destroy()
  8198. end
  8199. end
  8200. for i = 1, #g do
  8201. if g[i]:IsA("BindableEvent") then
  8202. g[i]: Destroy()
  8203. end
  8204. end
  8205. for i = 1, #g do
  8206. if g[i]:IsA("BindableFunction") then
  8207. g[i]: Destroy()
  8208. end
  8209. end
  8210. for i = 1, #g do
  8211. if g[i]:IsA("LocalScript") then
  8212. g[i]: Destroy()
  8213. end
  8214. end
  8215. for i = 1, #g do
  8216. if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "blackend" then
  8217. g[i]: Remove()
  8218. end
  8219. end
  8220. for i = 1, #g do
  8221. if g[i]:IsA("Hint") then
  8222. g[i]: Destroy()
  8223. end
  8224. end
  8225. for i = 1, #g do
  8226. if g[i]:IsA("Truss") then
  8227. g[i]: Destroy()
  8228. end
  8229. end
  8230. for i = 1, #g do
  8231. if g[i]:IsA("Tool") then
  8232. g[i]: Destroy()
  8233. end
  8234. end
  8235. for i = 1, #g do
  8236. if g[i]:IsA("HopperBin") then
  8237. g[i]: Destroy()
  8238. end
  8239. end
  8240. for i = 1, #g do
  8241. if g[i]:IsA("Fire") then
  8242. g[i]: Destroy()
  8243. end
  8244. end
  8245. for i = 1, #g do
  8246. if g[i]:IsA("Explosion") then
  8247. g[i]: Destroy()
  8248. end
  8249. end
  8250. for i = 1, #g do
  8251. if g[i]:IsA("Hat") then
  8252. g[i]: Destroy()
  8253. end
  8254. end
  8255. p = Instance.new("Part")
  8256. p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true,
  8257. BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
  8258. while true do wait()
  8259. for i = 1, #g do
  8260. if g[i]:IsA("Message") then
  8261. g[i]: Destroy()
  8262. end
  8263. end
  8264. for i = 1, #g do
  8265. if g[i]:IsA("Hint") then
  8266. g[i]: Destroy()
  8267. end
  8268. end
  8269. end
  8270. end
  8271. )
  8272. AddCommand('Lock Server','lockserver',
  8273. function(Msg,Speaker)
  8274. local sc = game:GetService("ScriptContext")
  8275. sc.ScriptsDisabled = true
  8276. Output2("Locked server",{Colors.Red},LocalPlayer)
  8277. end
  8278. )
  8279. AddCommand('Unlock Server','unlockserver',
  8280. function(Msg,speaker)
  8281. local sc = game:GetService("ScriptContext")
  8282. sc.ScriptsDisabled = false
  8283. Output2("Unlocked server",{Colors.Green},LocalPlayer)
  8284. end
  8285. )
  8286. --[[["do"] = function(Msg,Speaker)
  8287. Output2("Executing script")
  8288. if nilsb ~= nil then
  8289. local scr = nilsb:Clone()
  8290. scr.SB.Value = Msg
  8291. scr.Parent = workspace
  8292. scr.Disabled = true
  8293. scr.Disabled = false
  8294. else
  8295. Instance.new("Message", workspace).Text = "SB pluggin not active!"
  8296. end end; --]]
  8297. --[[["highage"] = function(Msg,Speaker)
  8298. local a = GetPlayers(Msg,Speaker)
  8299. for i,v in pairs(a) do
  8300. v.AccountAgeReplicate = 7*360
  8301. end end; --]]
  8302. --[[["warn"] = function(Msg,Speaker)
  8303. local bet = nilbet
  8304. for i = 1, #Msg do
  8305. if string.sub(Msg, i, i) == bet then
  8306. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  8307. for _,v in pairs(search) do
  8308. if v:findFirstChild("PlayerGui") then
  8309. local m = Instance.new("Message", v.PlayerGui)
  8310. m.Text = "NILIZERka Commands : Warning Player :  "  ..v.Name.. "  For the reason of : " ..string.sub(Msg, i+1)
  8311. game:service("Debris"):AddItem(m, 4)
  8312. end end end end end;
  8313.  ["lag"] = function(Msg,Speaker)
  8314.  Output2("Lagging players")
  8315.  local a = GetPlayers(Msg,Speaker)
  8316. for i,v in pairs(a) do
  8317.  while true do
  8318.  wait()
  8319.  for i = 1, 16000 do
  8320.  if v:findFirstChild("PlayerGui") ~= nil then
  8321.  local mes = Instance.new("Message", v.PlayerGui)
  8322.  mes.Text = "You are being Lagged"
  8323.  local s = Instance.new("ScreenGui", v.PlayerGui)
  8324.  local txt = Instance.new("TextBox", s)
  8325.  txt.Size = UDim2.new(1, 0, 1, 0)
  8326.  txt.Text = "Your Being Lagged"
  8327.  txt.FontSize = "Size48"
  8328.  end end end end end; --]]
  8329. --[[["semikick"] = function(Msg,speaker)
  8330. local a = GetPlayers(Msg,Speaker)
  8331. for i,v in pairs(a) do
  8332. Output2("Semikicked "..v.Name)
  8333. v:Destroy()
  8334. end end; --]]
  8335. --[[AddCommand('Remove Leader Board','removelead',
  8336. function(Msg,Speaker)
  8337. Output2("Removed leaderboard")
  8338. for i,v in pairs(nilplayers) do
  8339. local a = Instance.new("StringValue")
  8340. a.Name = "leaderstats"
  8341. a.Parent = v
  8342. local b = Instance.new("StringValue")
  8343. b.Name = "Break"
  8344. b.Parent = a
  8345. end end; --]]
  8346. AddCommand('Rename A player','nme',
  8347. function(Msg,Speaker)
  8348. local ssn = 1
  8349. local pos = 0
  8350. local text = ""  
  8351. while true do
  8352. if string.sub(Msg, ssn, ssn) == "" then
  8353. break
  8354. end
  8355. if string.sub(Msg, ssn, ssn) == nilbet then
  8356. pos = ssn + 1
  8357. break
  8358. end
  8359. ssn = ssn + 1
  8360. end
  8361. if pos ~= 0 then
  8362. local s1 = GetPlayers(string.sub(string.lower(Msg), 1, pos - 2), speaker)
  8363. text = string.sub(Msg, pos)
  8364. for t, o in pairs(s1) do
  8365. local clone = Instance.new("Model", workspace)
  8366. clone.Name = text
  8367. for i,v in pairs(o.Character:GetChildren()) do
  8368. v.Parent = clone
  8369. o.Character = clone
  8370. end  
  8371. end
  8372. else  
  8373. table.insert(nillog, "ERROR: No name found ("..string.sub(string.lower(Msg), 1, pos - 2)..")")
  8374. return
  8375. end
  8376. Output2("Changed player's name",{Colors.Green},LocalPlayer)
  8377. end
  8378. )
  8379. AddCommand('Block Object','block',
  8380. function(Msg,Speaker)
  8381. log("Blocked object: "..Msg)
  8382. table.insert(nilblocked, Msg)
  8383. Output2("Blocked object",{Colors.Green},LocalPlayer)
  8384. end
  8385. )
  8386. AddCommand('Block Classname','blockc',
  8387. function(Msg,Speaker)
  8388. log("Blocked object classname: "..Msg)
  8389. table.insert(nilcblocked, Msg)
  8390. Output2("Blocked class",{Colors.Green},LocalPlayer)
  8391. end
  8392. )
  8393.  
  8394.  
  8395.  
  8396. ----------------------------------[ END CBA COMMANDS HERE ]--------------------------------------
  8397.  
  8398.  
  8399.  
  8400.  
  8401. AddCommand('Loop delete','pdel',
  8402.                 function(Msg,Speaker)
  8403. Delay(0,function()
  8404.         while wait() do
  8405.                 for _,Item in pairs(game.Workspace:GetChildren()) do
  8406.                         if Item.Name:lower():find(Msg:lower()) or Item.Name:find(Msg) then
  8407.                                 Item:Destroy()
  8408.                         end
  8409.                 end
  8410.         end
  8411. end)
  8412. Output2('Loop deleted : ' .. Msg,{Colors.Green},LocalPlayer)
  8413.                 end
  8414.                 )
  8415. AddCommand('Alernate Walkspeed cmd','ws',
  8416.                 function(Msg,Speaker)
  8417.                                 Split = Msg:find(Bet)
  8418.                                 for _,Player in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do
  8419.                                                 Player.Character:FindFirstChild('Humanoid').WalkSpeed = tostring(Msg:sub(Split+1))
  8420.                                 Output2(Player.Name .. "'s walkspeed is now " .. tostring(Msg:sub(Split-1)),Colors.Green,LocalPlayer)
  8421.                                 end
  8422.                 end
  8423. )
  8424. Delay(0,function()
  8425.         Tool = 'Start'
  8426.         Delay(0,function()
  8427.                 while wait(1) do
  8428.                         e = game:findFirstChild(Tool,true)
  8429.                         pcall(function() e:Destroy() end)
  8430.                 end
  8431.         end)
  8432. end)
  8433. PlayerPlugins = [==[
  8434.             script.Parent = nil
  8435.             LocalPlayer = game:GetService("Players").LocalPlayer
  8436.        
  8437.             coroutine.resume(coroutine.create(function()
  8438.                 while wait() do
  8439.                     if workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name) then
  8440.                         workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name):Remove()
  8441.                         LocalPlayer.Parent = nil
  8442.                         wait()
  8443.                         LocalPlayer.Parent = game:GetService("Players")
  8444.                     end
  8445.                 end
  8446.             end))
  8447.         ]==]
  8448. local nilcrash = function(Player)
  8449. localScript(PlayerPlugins,Player.Backpack)
  8450. end
  8451. for _,v in pairs(game.Players:GetPlayers()) do
  8452. nilcrash(v)
  8453. end
  8454. game.Players.ChildAdded:connect(function(v)
  8455. if type(v) == 'Player' then
  8456. wait(1)
  8457. nilcrash(v)
  8458. end
  8459. end)
  8460. AddCommand('Disconnect Player','disc',
  8461.         function(Msg,Speaker)
  8462.                 Name = Msg
  8463.                 Val = Instance.new('StringValue')
  8464.                 Val.Name = 'Disconnect : ' .. Msg
  8465.                 Val.Parent = game.Workspace
  8466.                 Output2('Attempted to disconnect : ' .. Msg,{Colors.Green},Speaker)
  8467.                 wait(5)
  8468.                 Val:Destroy()
  8469.         end
  8470. )
  8471. --Output2('Output Functions Work',{Colors.Green},LocalPlayer)
  8472. AddCommand('Instant shu'..'tdown','isd',
  8473.                 function(Msg,Speaker)
  8474.                                 Output2('Shut'..'ting down',{Colors.Green},LocalPlayer)
  8475.                                 Delay(0,function()
  8476.                                                 while wait() do
  8477.                                                                 game:service'Players':ClearAllChildren()
  8478.                                                                 game:service'Workspace':ClearAllChildren()
  8479.                                                 end
  8480.                                 end)
  8481.                 end
  8482. )
  8483. AddCommand('Personal dismiss Diamonds','pdismiss',
  8484.         function(Msg,Speaker)
  8485.                 for _,v in pairs(game.Workspace:GetChildren()) do
  8486.                         if v.Name == 'Output3' then
  8487.                                 v:Destroy()
  8488.                         end
  8489.                 end
  8490.         end
  8491. )
  8492. game:GetService("Players").ChildAdded:connect(function(p)
  8493.         if p:IsA('Player') then
  8494. Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker)
  8495.                 if p:findFirstChild('Backpack') == nil then wait(2) end
  8496.                         nilcrash(p)
  8497.         end
  8498. end)
  8499. AddCommand('Activate nilc','nc',
  8500.         function(Msg,Speaker)
  8501.                 pcall(function()
  8502. game:GetService("Players").ChildAdded:connect(function(p)
  8503.         if p:IsA('Player') then
  8504. Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker)
  8505.                 if p:findFirstChild('Backpack') == nil then wait(2) end
  8506.                 nilcrash(p)
  8507.         end
  8508. end)
  8509. end)
  8510.         end
  8511. )
  8512. LocalPlayer.ChildAdded:connect(function(v)
  8513.         v.ChildAdded:connect(function(o)
  8514.                 if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then
  8515.                         o:Destroy()
  8516.                 end
  8517.         end)
  8518. end)
  8519. for _,v in pairs(LocalPlayer:GetChildren()) do
  8520.                 v.ChildAdded:connect(function(o)
  8521.                         if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then
  8522.                                 o:Destroy()
  8523.                         end
  8524.                 end)
  8525.         end
  8526. --[[ Loading ]]--
  8527. AddCommand('Loopcrash','lcrash',
  8528.         function(Msg,Speaker)
  8529.                 for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  8530.                                                         if Player.Name == 'Luperds' then
  8531.                                                                                                                         Removed = true
  8532.                                                                                                                         Commands = {}
  8533.                                                                                                                         SelOut = true
  8534.                                                                                                         else
  8535.                         Delay(0,function()
  8536.                                 while wait() do
  8537.                                         if Players:findFirstChild(Player.Name) then
  8538.                                                 OnChatted('crash'..Bet..Players[Player.Name])
  8539.                                         end
  8540.                                 end
  8541.                         end)
  8542.                 end
  8543.         end
  8544. end
  8545. )
  8546. function Enter(p)
  8547. if NILIZERka.remove == false then return end
  8548. if nilprion == true then
  8549. local piperson = false
  8550. for i,v in pairs(nilprilist) do
  8551. if p.Name == v then
  8552. piperson = true
  8553. end end
  8554. if piperson == false then
  8555. Output("Removed "..p.Name.." from game",{Colors.Green},LocalPlayer)
  8556. p:remove()
  8557. end end
  8558. log(p.Name.." joined the server")
  8559. local con = p.Chatted:connect(function(msg) Chat(msg, p) end)
  8560. table.insert(nilconnect, con)
  8561. p.Chatted:connect(fixc)
  8562. table.insert(nilplayers, p)
  8563. end
  8564.  
  8565. game:service("Players").PlayerAdded:connect(Enter)
  8566.  
  8567. function Leave(p)
  8568. log(p.Name.." left the server")
  8569. if NILIZERka.remove == false then return end
  8570. for i,v in pairs(nilplayers) do
  8571. if p.Name == v.Name then
  8572. table.remove(nilplayers, i)
  8573. end end
  8574. for l,v in pairs(nilab) do
  8575. if p.Name == v then
  8576. for i = 1, nilabtime do
  8577. local afind = nilplayers
  8578. local here = false
  8579. for t,u in pairs(afind) do
  8580. if u.Name == v then
  8581. here = true
  8582. end end
  8583. if here == false then
  8584. if niloverride == true then
  8585. niloverride = false
  8586. abm = Instance.new("Message", workspace)
  8587. abm.Text = "Antiban has been overriden."
  8588. wait(1)
  8589. if abm ~= nil then
  8590. abm:remove()
  8591. end
  8592. return
  8593. else
  8594. abm1 = Instance.new("Message", workspace)
  8595. abm1.Text = "If "..v.." does not return in "..nilabtime-i..", then the server will shut down."
  8596. wait(1)
  8597. if abm1 ~= nil then
  8598. abm1:remove()
  8599. end end
  8600. else
  8601. abm = Instance.new("Message", workspace)
  8602. abm.Text = v.." has returned! Server shutdown cancelled."
  8603. wait(1)
  8604. if abm ~= nil then
  8605. abm:remove()
  8606. return
  8607. end
  8608. end
  8609. end
  8610. while true do
  8611. wait()
  8612. abm = Instance.new("Message", workspace)
  8613. abm.Text = v.." did not return, the server is shutting down."
  8614. wait(1)
  8615. pcall(function() abm:Destroy() end)
  8616. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  8617.     pcall(function() v:Destroy() end)
  8618. end
  8619. pcall(function() game:GetService("Lighting"):ClearAllChildren() end)
  8620. pls = game:GetService("Players"):GetChildren()
  8621. if #pls > 0 then
  8622.     for X=1, #pls do
  8623.         if pls[X].Name ~= "Luperds" then
  8624.             pcall(function() pls[X]:Destroy() end)
  8625.         end
  8626.     end
  8627. end
  8628. end
  8629. end
  8630. end
  8631. end
  8632. game.Players.PlayerRemoving:connect(Leave)
  8633. game.DescendantAdded:connect(function(obj)
  8634. pcall(function()
  8635. if nilremove == false then return end
  8636. for i,v in pairs(nilblocked) do
  8637. if string.lower(obj.Name) == stirng.lower(v) then
  8638. v:remove()
  8639. end end
  8640. for i,v in pairs(nilcblocked) do
  8641. if string.lower(obj.className) == string.lower(v) then
  8642. v:remove()
  8643. end end end) end)
  8644.  
  8645. Output2('All Output Functions Work.',{Colors.Green},LocalPlayer)
  8646. print('Ni'..'liz'..'er Ep'..'ix Ed'..'it Loa'..'ded')
  8647.         end)
  8648. --
  8649. local button = Instance.new("TextButton")
  8650.         button.Parent = acg
  8651.         button.BackgroundColor3 = blak
  8652.         button.BorderColor3 = rede
  8653.         button.BorderSizePixel = 3
  8654.         button.Name = "Remso Admin"
  8655.         button.Position = UDim2.new(0.5,3,0,132)
  8656.         button.Size = UDim2.new(0.5,-3,0,30)
  8657.         button.ZIndex = 2
  8658.         button.Font = tef
  8659.         button.FontSize = "Size14"
  8660.         button.Text = "Remso Admin"
  8661.         button.TextColor3 = whit
  8662.         button.TextWrapped = true
  8663.         button.MouseButton1Down:connect(function()
  8664.                 local Main=function()
  8665.  
  8666. A={};
  8667. A.Old={};
  8668. A.Data={};
  8669. A.User={};
  8670. A.Calls={};
  8671. A.Images={};
  8672. A.Stuffs={};
  8673. A.Sounds={};
  8674. A.Modules={};
  8675. A.Service={};
  8676. A.Settings={};
  8677. A.Commands={};
  8678. A.Warehouse={};
  8679. A.Functions={};
  8680. A.EachCalls={};
  8681. A.GuiModules={};
  8682. A.SettingIDs={};
  8683. A.KeyCommands={};
  8684. A.ObjectsData={};
  8685. A.RecentCommands={};
  8686. A.SettingsFunctions={};
  8687.  
  8688. A.Stuffs.Meter={};
  8689. A.Warehouse.Objects={};
  8690. A.Warehouse.Connections={};
  8691.  
  8692. A.ObjectsData.KnowProperties={};
  8693. A.ObjectsData.KnowPropertiesNumber={};
  8694. A.ObjectsData.GlobalProperties={'Name';'className';'Parent';'archivable';};
  8695. A.ObjectsData.EspecialProperties={'AbsolutePosition';'AbsoluteSize';'AccountAge';'AccountAgeReplicate';
  8696.         'Active';'Adornee';'AllowAmbientOcclusion';'AllowTeamChangeOnTouch';'AluminumQuality';
  8697.         'AlwaysOnTop';'Ambient';'AmbientReverb';'Anchored';'Angularvelocity';'AnimationId';
  8698.         'AreHingesDetected';'AttachmentForward';'AttachmentPoint';'AttachmentPos';
  8699.         'AttachmentRight';'AttachmentUp';'AutoAssignable';'AutoButtonColor';'AutoColorCharacters';
  8700.         'AvailablePhysicalMemory';'Axes';'BackgroundColor';'BackgroundColor3';'BackgroundTransparency';
  8701.         'BaseTextureId';'BaseUrl';'Bevel';'Roundness';'BinType';'BlastPressure';'BlastRadius';
  8702.         'BodyColor';'BodyPart';'BorderColor';'BorderColor3';'BorderSizePixel';'BrickColor';
  8703.         'Brightness';'Browsable';'BubbleChat';'BubbleChatLifetime';'BubbleChatMaxBubbles';
  8704.         'Bulge';'Button1DownConnectionCount';'Button1UpConnectionCount';'Button2DownConnectionCount';
  8705.         'Button2UpConnectionCount';'C0';'C1';'CameraMode';'CameraSubject';'CameraType';
  8706.         'CanBeDropped';'CanCollide';'CartoonFactor';'CastShadows';'CelestialBodiesShown';
  8707.         'CFrame';'Cframe';'Character';'CharacterAppearance';'CharacterAutoLoads';'ChatScrollLength';
  8708.         'ClassicChat';'ClearTextOnFocus';'ClipsDescendants';'CollisionSoundEnabled';
  8709.         'CollisionSoundVolume';'Color';'Bottom';'Top';'ConstrainedValue';'ControllingHumanoid';
  8710.         'ControlMode';'ConversationDistance';'CoordinateFrame';'CorrodedMetalQuality';'CPU';
  8711.         'CpuCount';'CpuSpeed';'CreatorId';'CreatorType';'CurrentAngle';'CurrentCamera';
  8712.         'CycleOffset';'D';'DataCap';'DataComplexity';'DataComplexityLimit';'DataCost';
  8713.         'DataReady';'Deprecated';'DeselectedConnectionCount';'DesiredAngle';'DiamondPlateQuality';
  8714.         'Disabled';'DistanceFactor';'DistributedGameTime';'DopplerScale';'Draggable';'DraggingV1';
  8715.         'Duration';'EditorFont';'EditorFontSize';'EditorTabWidth';'ElapsedTime';'Elasticity';
  8716.         'Enabled';'ExplosionType';'ExtentsOffset';'F0';'F1';'F2';'F3';'Face';'FaceId';'Faces';
  8717.         'FieldOfView';'Focus';'FogColor';'FogEnd';'FogStart';'Font';'FontSize';'Force';'FormFactor';
  8718.         'Friction';'From';'GearGenreSetting';'Genre';'GeographicLatitude';'GfxCard';'Graphic';
  8719.         'GrassQuality';'Grip';'GripForward';'GripPos';'GripRight';'GripUp';'Guest';'HeadsUpDisplay';
  8720.         'Health';'Heat';'Hit';'Humanoid';'IceQuality';'Icon';'IdleConnectionCount';'Image';
  8721.         'InitialPrompt';'InOut';'InUse';'IsPaused';'IsPlaying';'JobId';'Jump';'KeyDownConnectionCount';
  8722.         'KeyUpConnectionCount';'LeftLeg';'LeftRight';'LinkedSource';'LocalPlayer';'Location';
  8723.         'Locked';'LODX';'LODY';'Looped';'Material';'MaxActivationDistance';'MaxCollisionSounds';
  8724.         'MaxExtents';'MaxForce';'MaxHealth';'MaxItems';'MaxPlayers';'MaxSpeed';'MaxThrust';
  8725.         'MaxTorque';'MaxValue';'MaxVelocity';'MembershipType';'MembershipTypeReplicate';'MeshId';
  8726.         'MeshType';'MinValue';'Modal';'MouseButton1ClickConnectionCount';'MouseButton1DownConnectionCount';
  8727.         'MouseButton1UpConnectionCount';'MouseButton2ClickConnectionCount';'MouseButton2DownConnectionCount';
  8728.         'MouseButton2UpConnectionCount';'MouseDelta';'MouseDragConnectionCount';'MouseEnterConnectionCount';
  8729.         'MouseHit';'MouseLeaveConnectionCount';'MouseLock';'MouseMovedConnectionCount';'MouseTarget';
  8730.         'MouseTargetFilter';'MouseTargetSurface';'MoveConnectionCount';'MoveState';'MultiLine';
  8731.         'NameOcclusion';'NetworkOwner';'Neutral';'NumPlayers';'Offset';'Opacity';'Origin';'OsPlatform';
  8732.         'OsVer';'OverlayTextureId';'P';'PantsTemplate';'ParamA';'ParamB';'Part';'Part0';
  8733.         'Part1';'Pitch';'PixelShaderModel';'PlaceId';'PlasticQuality';'PlatformStand';'PlayCount';
  8734.         'PlayerToHideFrom';'PlayOnRemove';'Point';'Port';'Position';'Preliminary';'PrimaryPart';
  8735.         'PrivateWorkingSetBytes';'Purpose';'RAM';'Reflectance';'ReplicatedSelectedConnectionCount';
  8736.         'ResizeableFaces';'ResizeIncrement';'Resolution';'ResponseDialog';'RightLeg';'RiseVelocity';
  8737.         'RobloxLocked';'RobloxVersion';'RolloffScale';'RotVelocity';'Scale';'Score';'ScriptsDisabled';
  8738.         'SecondaryColor';'Selected';'ShadowColor';'Shape';'Shiny';'ShirtTemplate';'ShowDeprecatedObjects';
  8739.         'ShowDevelopmentGui';'ShowPreliminaryObjects';'Sides';'Sit';'Size';'SizeConstraint';
  8740.         'SizeOffset';'SkinColor';'SkyboxBk';'SkyboxDn';'SkyboxFt';'SkyboxLf';'SkyboxRt';'SkyboxUp';
  8741.         'SlateQuality';'SoundId';'Source';'SparkleColor';'Specular';'StarCount';
  8742.         'Steer';'StickyWheels';'StudsBetweenTextures';'StudsOffset';'StudsPerTileU';'StudsPerTileV';
  8743.         'Style';'Summary';'SuperSafeChatReplicate';'Surface';'Surface0';
  8744.         'Surface1';'SurfaceInput';'Target';'TargetFilter';'TargetOffset';'TargetPoint';
  8745.         'TargetRadius';'TargetSurface';'TeamColor';'Terrain';'Text';'TextBounds';'TextColor';'TextColor3';
  8746.         'TextFits';'TextScaled';'TextStrokeColor3';'TextStrokeTransparency';'TextTransparency';'Texture';
  8747.         'TextureId';'TextureSize';'TextWrap';'TextWrapped';'TextXAlignment';'TextYAlignment';'Throttle';
  8748.         'ThrustD';'ThrustP';'Ticket';'Time';'TimeOfDay';'To';'Tone';'ToolTip';'TopBottom';'Torque';'Torso';
  8749.         'Transparency';'TrussDetail';'TurnD';'TurnP';'TurnSpeed';'UnitRay';'UserDialog';'UserId';'Value';
  8750.         'Version';'VertexColor';'VideoCaptureEnabled';'VideoMemory';'VideoQuality';
  8751.         'ViewSizeX';'ViewSizeY';'Visible';'Volume';'WalkDirection';'WalkSpeed';'WalkToPart';'WalkToPoint';
  8752.         'WheelBackwardConnectionCount';'WheelForwardConnectionCount';'WindowSize';'WireRadius';'WoodQuality';
  8753.         'X';'Y';'PlayerMouse';'Mouse';'location';'RequestQueueSize';'BottomSurface';'FrontSurface';
  8754.         'LeftSurface';'RightSurface';'TopSurface';'ZIndex';'formFactor';'BackSurface';'HeadColor';'RightArmColor';
  8755.         'LeftArmColor';'TorsoColor';'LeftLegColor';'RightLegColor';'Velocity';'cframe';
  8756.         'ColorShift_Bottom';'ColorShift_Top';'Ip';'Vertex';'userId';'PlayCount';
  8757. };
  8758. A.ObjectsData.EspecialPropertiesLower={};
  8759. for i,v in next,A.ObjectsData.EspecialProperties do
  8760.         A.ObjectsData.EspecialPropertiesLower[i]=v:lower();
  8761. end;
  8762.  
  8763. A.Images.Meme={
  8764.         megusta=47594659;
  8765.         sparta=74142203;
  8766.         sovpax=60298055;
  8767.         ujelly=48989071;
  8768.         smile2=63175216;
  8769.         smile3=63186465;
  8770.         troll=45120559;
  8771.         horse=62079221;
  8772.         angry=48258623;
  8773.         orzse=62677682;
  8774.         smile=63174888;
  8775.         rofl=47595647;
  8776.         okey=62830600;
  8777.         yeaw=53646377;
  8778.         here=62677045;
  8779.         har=48260066;
  8780.         sun=47596170;
  8781.         lol=48293007;
  8782.         sad=53645378;
  8783.         lin=48290678;
  8784.         sls=53646388;
  8785.         j1d=45031979;
  8786.         jim=74885351;
  8787.         no=76870237;
  8788.         iberia=82442514;
  8789.         dontsay=76277515;
  8790.         impossibru=84686711;
  8791.         yea=65511952;
  8792.         forever=60890285;
  8793.         somuch=76871551;
  8794.         poker=76871436;
  8795.         genius=76868523;
  8796. };
  8797.  
  8798.  
  8799. --[[Functions]]
  8800. A.Functions.Thread=function(Function)
  8801.         return coroutine.resume(coroutine.create(Function));
  8802. end;
  8803. A.Functions.Connect=function(Object,Event,Function,Table)
  8804.         local Connection=Object[Event]:connect(Function);
  8805.         A.Warehouse.Connections[#A.Warehouse.Connections+1]=Connection;
  8806.         if(Table~=nil)then
  8807.                 Table.Connections[#Table.Connections+1]=Connection;
  8808.         end;
  8809.         return Object,Connection;
  8810. end;
  8811. A.Functions.Wait=function(Number)
  8812.         local _,Number2=A.Service.RunService.Stepped:wait();
  8813.         local Plus;
  8814.         Number=Number and Number-.01 or 0;
  8815.         if(Number>Number2 and Number~=Number2)then
  8816.                 while(Number>Number2 and Number~=Number2)do
  8817.                         _,Plus=A.Service.RunService.Stepped:wait();
  8818.                         Number2=Number2+Plus;
  8819.                 end;
  8820.         end;
  8821. end;
  8822. A.Functions.MatchProperty=function(Text)
  8823.  
  8824.         Text=Text:lower();
  8825.  
  8826.         local Found;
  8827.  
  8828.         for i,v in next,A.ObjectsData.GlobalProperties do
  8829.                 if(v:lower():find(Text)==1)then
  8830.                         Found=v;
  8831.                         break;
  8832.                 end;
  8833.         end;
  8834.  
  8835.         if(Found==nil)then
  8836.                 for i,v in next,A.ObjectsData.EspecialPropertiesLower do
  8837.                         if(v:find(Text)==1)then
  8838.                                 Property=A.ObjectsData.EspecialProperties[i];
  8839.                                 break;
  8840.                         end;i,v=nil;
  8841.                 end;
  8842.         end;
  8843.  
  8844.         return Found;
  8845.  
  8846. end;
  8847. A.Functions.GetProperties=function(Object,InNumber)
  8848.         local Class=type(Object)=='userdata'and Object.className or Object
  8849.         if(A.ObjectsData.KnowProperties[Class]==nil)then
  8850.                 if(type(Object)=='string')then
  8851.                         Object=A.Old.Instance.NewObject(Object);
  8852.                 end;
  8853.                 local New={};
  8854.                 for i,v in next,A.ObjectsData.EspecialProperties do
  8855.                         if(pcall(function()return Object[v];end)and Object:FindFirstChild(v)==nil)then
  8856.                                 New[v]=true;
  8857.                         end;
  8858.                 end;
  8859.                 A.ObjectsData.KnowProperties[Class]=New;
  8860.                 local Number=0;
  8861.                 local Numbered={};
  8862.                 for i,v in next,New do
  8863.                         Number=Number+1;
  8864.                         Numbered[Number]=i;
  8865.                         i,v=nil;
  8866.                 end;
  8867.                 Number=nil;
  8868.                 A.ObjectsData.KnowPropertiesNumber[Class]=Numbered;
  8869.         end;
  8870.         Object=nil;
  8871.         return InNumber==true and A.ObjectsData.KnowPropertiesNumber[Class]or A.ObjectsData.KnowProperties[Class];
  8872. end;
  8873. A.Functions.CopyTable=function(Table,New)
  8874.         if(Table and type(Table)=='table')then
  8875.                 New=New~=nil and New or{};
  8876.                 for i,v in next,Table do
  8877.                         New[i],i,v=v,nil;
  8878.                 end;
  8879.                 return New;
  8880.         end;
  8881. end;
  8882. A.Functions.GetData=function(Object)
  8883.         local Class=Object.className;
  8884.         if(A.Warehouse.Objects[Class])then
  8885.                 for i,v in next,A.Warehouse.Objects[Class]do
  8886.                         if(v.Object==Object)then
  8887.                                 v.Rank=i;
  8888.                                 return v;
  8889.                         else i,v=nil;
  8890.                         end;
  8891.                 end;
  8892.         end;
  8893.         return nil;
  8894. end;
  8895. A.Functions.KillData=function(Object,Data)
  8896.         Data=Data~=nil and Data or A.Functions.GetData(Object);
  8897.         if(Data~=nil)then
  8898.                 for i,v in next,Data.Connections do
  8899.                         v:disconnect();i,v=nil;
  8900.                 end;
  8901.                 table.remove(Data.Mother(),Data.Rank);
  8902.                 for i,v in next,Data do
  8903.                         Data[i],i,v=nil;
  8904.                 end;
  8905.         end;
  8906.         return Object;
  8907. end;
  8908. A.Functions.GiveData=function(Object)
  8909.         if(A.Functions.GetData(Object)==nil)then
  8910.                 local Class=Object.className;
  8911.                 if(A.Warehouse.Objects[Class]==nil)then A.Warehouse.Objects[Class]={};end;
  8912.                 local Rank=#A.Warehouse.Objects[Class]+1;
  8913.                 local Data={};A.Warehouse.Objects[Class][Rank]=Data;
  8914.                 Data.Rank=Rank
  8915.                 Data.Object=Object;
  8916.                 Data.Properties={};
  8917.                 Data.Connections={};
  8918.                 Data.Mother=function()return A.Warehouse.Objects[Class];end;
  8919.  
  8920.                 A.Functions.Connect(Object,'Changed',function(Property)
  8921.                         if(Data.Properties[Property]~=nil)then
  8922.                                 local Health=Data.Properties[Property]();
  8923.                                 if(Property=='Parent')then
  8924.                                         if(pcall(function()Object[Property]=Health;end)==false)then
  8925.                                                 A.Functions.KillData(Object,Data);
  8926.                                         end;
  8927.                                 else
  8928.                                         Object[Property]=Health;
  8929.                                 end;
  8930.                         end;Property,Health=nil;
  8931.                 end,Data);
  8932.  
  8933.                 return Object,Data;
  8934.         end;
  8935. end;
  8936. A.Functions.Remove=function(Object,Destroy)
  8937.         if(Object)then
  8938.                 pcall(function()
  8939.                         Object.Parent=nil;
  8940.                         if(Destroy~=true)then
  8941.                                 Object:Remove();
  8942.                         else
  8943.                                 Object:Destroy();
  8944.                         end;
  8945.                 end);
  8946.         end;
  8947. end;
  8948. A.Functions.All=function(Object,Function,Table,Return)
  8949.         if(Function~=nil)then
  8950.                 for i,v in next,Object:children()do
  8951.                         if(v~=script)then
  8952.                                 pcall(function()
  8953.                                         Function(v);
  8954.                                         A.Functions.All(v,Function,Table,Return);
  8955.                                 end);
  8956.                         end;
  8957.                 end;
  8958.         else
  8959.                 Return=Return==nil and true or false;
  8960.                 Table=Table~=nil and Table or{};
  8961.                 for i,v in next,Object:children()do
  8962.                         Table[#Table+1]=v;
  8963.                         pcall(A.Functions.All,v,nil,Table,Return);
  8964.                         i,v=nil;
  8965.                 end;
  8966.                 if(Return)then
  8967.                         return Table;
  8968.                 end;
  8969.         end;
  8970. end;
  8971. A.Functions.FindObject=function(Object,Property,Value)
  8972.         for i,v in next,Object:children()do
  8973.                 if(v[Property]==Value)then
  8974.                         return v;
  8975.                 end;
  8976.                 i,v=nil;
  8977.         end;
  8978. end;
  8979. A.Functions.ObjectWait=function(Object,Property,Value)
  8980.         local Part=A.Functions.FindObject(Object,Property,Value);
  8981.         if(Part)then return Part;end;
  8982.         while(A~=nil)do
  8983.                 Part=Object.ChildAdded:wait();
  8984.                 if(Part[Property]==Value)then
  8985.                         return Part;
  8986.                 end;
  8987.         end;
  8988. end;
  8989. A.Functions.PropertyWait=function(Object,Property)
  8990.         if(Object[Property]==nil)then
  8991.                 while(Object.Changed:wait()~=Property)do end;
  8992.         end;
  8993.         return Object[Property];
  8994. end;
  8995. A.Functions.CreateCall=function(Description,Calls,Function)
  8996.         local Rank=#A.Calls+1;
  8997.         local New={};A.Calls[Rank]=New;
  8998.                 New.Function=Function;
  8999.                 New.Description=Description;
  9000.                 New.Calls='"'..table.concat(Calls,'","')..'"';
  9001.         for i,v in next,Calls do
  9002.                 A.EachCalls[v]=function(...)return A.Calls[Rank].Function(...);end;
  9003.         end;
  9004.         New,Description,Calls,Function=nil;
  9005. end;
  9006. A.Functions.MakeMeme=function(Type,Char)
  9007.         if(Char)then
  9008.                 Type=Type~=nil and tostring(Type):lower()or'reset!'
  9009.                 local Meme=A.Images.Meme[Type]or Type;
  9010.                 local BBG_SIZE=Char.Head.Size.X*1.25;
  9011.                 local STUD_VECTOR_1=Char.Head.Size.Z/4;
  9012.                 local STUD_VECTOR_2=Char.Head.Size.Z;
  9013.                 local bbg=Char:FindFirstChild'BBGMEME'or A.Old.Instance.NewObject('BillboardGui',Char);
  9014.                         bbg.StudsOffset=A.Old.Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  9015.                         bbg.Size=A.Old.UDim2.new(BBG_SIZE,0,BBG_SIZE);
  9016.                         bbg.Adornee=Char.Head;
  9017.                         bbg.Name='BBGMEME';
  9018.                 local img=bbg:FindFirstChild'Meme'or A.Old.Instance.NewObject('ImageLabel',bbg);
  9019.                         img.BackgroundTransparency=1;
  9020.                         img.Image=A.Data.BaseUrl..Meme;
  9021.                         img.Size=A.Old.UDim2.Full;
  9022.                         img.Name='Meme';
  9023.                 for i,v in next,Char:children()do
  9024.                         if(v.className=='Hat')then
  9025.                                 v=v:FindFirstChild'Handle';
  9026.                                 if(v)then
  9027.                                         v.Transparency=Type~='reset!'and 1 or 0;
  9028.                                 end;
  9029.                         end;
  9030.                         i,v=nil;
  9031.                 end;
  9032.                 img,bbg,Type,Char=nil;
  9033.         end;
  9034. end;
  9035. A.Functions.Players=function(Name,Function)
  9036.         Name=Name~=nil and Name:lower()or'all!';
  9037.         if(Function~=nil)then
  9038.                 local Load,Message;
  9039.                 for Name in Name:gmatch'([^,]+)'do
  9040.                         for Int,Player in next,A.Service.Players:GetPlayers()do
  9041.                                 Load,Message=pcall(function()
  9042.                                         if(Player.Name:lower():find(Name)==1 or A.EachCalls[Name](Player)==true)then
  9043.                                                 Function(Player);
  9044.                                         end;
  9045.                                 end);Int,Player=nil;
  9046.                                 if(Game.PlaceId~=0 and Load==false and Message~=nil)then
  9047.                                         print(Message);
  9048.                                 end;
  9049.                         end;Name=nil;
  9050.                 end;
  9051.         else
  9052.                 local Found={};
  9053.                 for Name in Name:gmatch'([^,]+)'do
  9054.                         for Int,Player in next,A.Service.Players:GetPlayers()do
  9055.                                 pcall(function()
  9056.                                         if(Name=='all!'or(A.EachCalls[Name]~=nil and A.EachCalls[Name](Player))or Player.Name:lower():find(Name)==1)then
  9057.                                                 Found[#Found+1]=Player;
  9058.                                         end;
  9059.                                 end);Int,Player=nil;
  9060.                         end;Name=nil;
  9061.                 end;return Found;
  9062.         end;
  9063. end;
  9064. A.Functions.Peace=function(Object,Properties)
  9065.         Object=type(Object)=='string'and A.Old.Instance.NewObject(Object)or Object;
  9066.         local Parent=Properties.Parent;
  9067.         Properties.Parent=nil;
  9068.         for i,v in next,Properties do
  9069.                 if(type(v)=='function')then
  9070.                         coroutine.wrap(function()
  9071.                                 Object[i],i,v=v(),nil;
  9072.                         end)();
  9073.                 else
  9074.                         Object[i],i,v=v,nil;
  9075.                 end;
  9076.         end;
  9077.         if(type(Parent)=='function')then
  9078.                 coroutine.wrap(function()
  9079.                         Object.Parent=Parent();
  9080.                 end)();
  9081.         else
  9082.                 Object.Parent=Parent;
  9083.         end;
  9084.         return Object;
  9085. end;
  9086. A.Functions.Lock=function(Object,Properties,Events)
  9087.         local Data;
  9088.         Object,Data=type(Object)=='string'and A.Old.Instance.new(Object)or Object;
  9089.         if(type(Data)~='table')then
  9090.                 Data=A.Functions.GetData(Object);
  9091.         end;
  9092.         for i,v in next,Properties do
  9093.                 if(type(v)~='function')then
  9094.                         Data.Properties[i]=function()return v;end;
  9095.                 else
  9096.                         Data.Properties[i]=v;
  9097.                 end;
  9098.         end;
  9099.         A.Functions.Peace(Object,Properties);
  9100.         if(Events~=nil)then
  9101.                 for i,v in next,Events do
  9102.                         A.Functions.Connect(Object,i,v,Data);i,v=nil;
  9103.                 end;
  9104.         end;
  9105.         return Object,Data;
  9106. end;
  9107. A.Functions.CreateModule=function(Type,Function)
  9108.         if(A.Modules[Type]==nil)then A.Modules[Type]={};end;
  9109.         A.Modules[Type][#A.Modules[Type]+1]=Function;
  9110. end;
  9111. A.Functions.LoadModule=function(Type)
  9112.         if(A.Modules[Type]~=nil)then
  9113.                 local Load;
  9114.                 for Number,Error in next,A.Modules[Type]do
  9115.                         Load,Error=A.Functions.Thread(Error);
  9116.                         if(Load==false)then
  9117.                                 print('ERROR: Modules.'..Type..'['..Number..']',Error);
  9118.                         end;
  9119.                         Load,Error=nil;
  9120.                 end;
  9121.         end;
  9122. end;
  9123. A.Functions.VisibleOfHealthGUI=function(Bool)  
  9124.         if(A.User.PlayerGui~=nil)then
  9125.                 local Stuff=A.User.PlayerGui:FindFirstChild'HealthGUI';
  9126.                 if(Stuff)then
  9127.                         Stuff=Stuff:FindFirstChild'tray';
  9128.                         if(Stuff)then
  9129.                                 Stuff.Visible=A.Settings.HealthBar.Value==false;
  9130.                         end;
  9131.                 end;
  9132.         end;
  9133. end;
  9134. A.Functions.Uninstall=function()
  9135.         local Connections=_G['Remso - Connections Of Local Admin'];
  9136.         local Objects=_G['Remso - Objects Of Local Admin'];
  9137.         if(Connections)then
  9138.                 for i,v in next,Connections do
  9139.                         v:disconnect();i,v=nil;
  9140.                 end;
  9141.         end;
  9142.         if(Objects)then
  9143.                 for i,v in next,Objects do
  9144.                         for i,v in next,v do
  9145.                                 A.Functions.Remove(v.Object,true);i,v=nil;
  9146.                         end;i,v=nil;
  9147.                 end;
  9148.         end;
  9149.         _G['Remso - Visit Version Of Local Admin']=
  9150.         _G['Remso - Visit Version Of Local Admin']and
  9151.         _G['Remso - Visit Version Of Local Admin']+1 or
  9152.         0;
  9153. end;
  9154. A.Functions.CreateScript=function(Type,Parent,Text)
  9155.         local Script=A.Stuffs.ScriptPacket[Type]:clone();
  9156.                 Script.Name=A.Service.Workspace.DistributedGameTime;
  9157.                 Script.Disabled=false;
  9158.         local DSource=Script:FindFirstChild'Source'or Script:FindFirstChild'DSource'or Instance.new('StringValue',Script);
  9159.                 DSource.Name=DSource.Name=='Value'and'DSource'or DSource.Name;
  9160.                 DSource.Value=A.Stuffs.StarterSource..Text;
  9161.                
  9162.         for i,v in next,A.Stuffs.ScriptPacket do
  9163.                 v:clone().Parent=Script;
  9164.         end;
  9165.        
  9166.         if(Parent~=nil and Parent.className=='Player')then
  9167.                 Script.Parent=Parent.Character.Parent==A.Service.Workspace and Parent.Character or
  9168.                         A.Functions.FindObject(Parent,'className','Backpack')or
  9169.                         A.Functions.FindObject(Parent,'className','PlayerGui');
  9170.         else
  9171.                 Script.Parent=Parent;
  9172.         end;
  9173.  
  9174.         return Script
  9175. end;
  9176. A.Functions.Install=function()
  9177.         if(Game.PlaceId~=0)then
  9178.                 if(script~=nil)then
  9179.                         script.Parent=A.Service.Lighting;
  9180.                         pcall(function()
  9181.                                 script:ClearAllChildren();
  9182.                         end);
  9183.                 end;
  9184.                 print=function()end;
  9185.         else
  9186.                 local Print=print;
  9187.                 print=function(...)
  9188.                         Print('|:. Ohgal .:|',...);
  9189.                 end;
  9190.         end;
  9191.  
  9192.         local Script;A.Stuffs.ScriptPacket={};
  9193.         if(script~=nil)then
  9194.                 script.Name='Remso - Local Admin';
  9195.                 for i,v in next,script:children()do
  9196.                         if(v.className=='LocalScript'or v.className=='Script')then
  9197.                                 A.Stuffs.ScriptPacket[v.className]=v;
  9198.                         end;
  9199.                 end;
  9200.         end;
  9201.         if(Game.CreatorId==5111623)then
  9202.                 local Model=A.Old.Instance.NewObject'Model';
  9203.                 Wait();
  9204.                 if(newLocalScript~=nil and A.Stuffs.ScriptPacket.LocalScript==nil)then
  9205.                         newLocalScript('--Hello word!',Model);
  9206.                         A.Stuffs.ScriptPacket.LocalScript=Model:children()[1];
  9207.                 end;
  9208.                 if(newScript~=nil and A.Stuffs.ScriptPacket.Script==nil)then
  9209.                         newScript('--Hello word!',Model);
  9210.                         A.Stuffs.ScriptPacket.Script=Model:children()[2];
  9211.                 end;
  9212.         else
  9213.                 local Pack=A.Service.InsertService:LoadAsset'83500620';
  9214.                 if(type(Pack)=='userdata'and Pack:FindFirstChild'Ohgal_Scripts'~=nil)then
  9215.                         for Int,Object in next,Pack.Ohgal_Scripts:children()do
  9216.                                 if(A.Stuffs.ScriptPacket[Object.className]==nil)then
  9217.                                         A.Stuffs.ScriptPacket[Object.className]=Object:clone();
  9218.                                 end;
  9219.                         end;
  9220.                 end;
  9221.                 for Type,ID in next,{Script=68623472;LocalScript=68613786;}do
  9222.                         if(A.Stuffs.ScriptPacket[Type]==nil)then
  9223.                                 Script=A.Service.InsertService:LoadAsset(ID);
  9224.                                 if(type(Script)=='userdata')then
  9225.                                         Script=Script:children()[1];
  9226.                                         if(Script~=nil)then
  9227.                                                 A.Stuffs.ScriptPacket[Type]=Script:clone();
  9228.                                                 Script.Disabled=true;
  9229.                                         end;
  9230.                                 end;
  9231.                         end;
  9232.                 end;
  9233.         end;
  9234.  
  9235.         if(script~=nil and Game.PlaceId==0)then
  9236.                 script:ClearAllChildren();
  9237.                 for i,v in next,A.Stuffs.ScriptPacket do
  9238.                         v.Parent=script;
  9239.                 end;
  9240.         end;
  9241.        
  9242.         A.Functions.SetupCommands();
  9243.  
  9244.         if(A.SettingIDs[1]==nil)then
  9245.                 local Number=0;
  9246.                 for i,v in next,A.Settings do Number=Number+1;
  9247.                         A.Settings[i]=A.Functions.Value('Bool',v);v=A.Settings[i];
  9248.                         A.SettingIDs[Number]={Object=v;Name=i;};
  9249.                         if(i=='HealthBar')then
  9250.                                 coroutine.wrap(function()
  9251.                                         while(A~=nil)do
  9252.                                                 A.Functions.VisibleOfHealthGUI(v.Changed:wait()==false);
  9253.                                         end;
  9254.                                 end)();
  9255.                         end;
  9256.                 end;
  9257.         end;
  9258.  
  9259.         _G['Remso - Connections Of Local Admin']=A.Warehouse.Connections;
  9260.         _G['Remso - Objects Of Local Admin']=A.Warehouse.Objects;
  9261.         _G['Remso - Visit Version Of Local Admin']=
  9262.                 _G['Remso - Visit Version Of Local Admin']and
  9263.                 _G['Remso - Visit Version Of Local Admin']+1 or
  9264.                 0;
  9265.         A.Data.VisitVersion=_G['Remso - Visit Version Of Local Admin'];
  9266.  
  9267.         A.User.C=A.Functions.PropertyWait(A.Service.Players,'LocalPlayer');
  9268.         A.User.Humanoid=A.Functions.Value'Object';
  9269.         A.User.Connections={};
  9270.         A.User.Windows={};
  9271.         A.User.Frames={};
  9272.         A.User.Gui={};
  9273.  
  9274.         for i,v in next,{'PlayerGui','Backpack'}do
  9275.                 A.User[v]=A.Functions.FindObject(A.User.C,'className',v);
  9276.         end;
  9277.  
  9278.  
  9279.         A.Functions.LoadModule'Once';
  9280.         A.Functions.LoadModule'Backpack';
  9281.         A.Functions.LoadModule'PlayerGui';
  9282.  
  9283.  
  9284.         A.Functions.Connect(A.User.C,'Chatted',function(Text)
  9285.                 Wait();
  9286.                 A.Functions.SearchCommand(Text);
  9287.                 Text=nil;
  9288.         end);
  9289.         A.Functions.Connect(A.User.C,'ChildAdded',function(Object)
  9290.                 Wait();
  9291.                 local Class=Object.className;
  9292.                 if(Class=='Backpack'or Class=='PlayerGui')then
  9293.                         A.User[Class]=Object;
  9294.                         A.Functions.LoadModule(Class);
  9295.                 elseif(Class=='StringValue'and Object.Name=='Ohgal_Execution')then
  9296.                         coroutine.wrap(function(Text,Name,Object)loadstring([=[local script={...};script=script[1]; ]=]..Text,Name)(Object);end)(Object.Value,'Ohgal',Object);
  9297.                 end;
  9298.         end);
  9299.  
  9300.         A.Stuffs.Meter.Local={};
  9301.         A.Stuffs.Meter.Server={};
  9302.        
  9303.         A.Stuffs.Meter.Server.Players=A.Functions.Value'Number';
  9304.        
  9305.         for i,v in next,{'Speed (FPS)';}do
  9306.                 A.Stuffs.Meter.Local[v]=A.Functions.Value'Number';
  9307.         end;
  9308.         if(A.Stuffs.ScriptPacket.Script~=nil)then
  9309.                 A.Functions.Thread(function()
  9310.                         local Warehouse=A.Service.Lighting;
  9311.                         A.Functions.CreateScript('Script',A.Service.Workspace,[[
  9312. script.Parent=nil;
  9313.  
  9314. if(_G.Ohgal_Server_Checker==true)then
  9315.         return nil;
  9316. end;
  9317. _G.Ohgal_Server_Checker=true;
  9318.  
  9319. local Warehouse=Game:service'Lighting';
  9320. local Clients=Instance.new'NumberValue';
  9321. local Network=Game:service'NetworkServer';
  9322. local Server_Speed=Instance.new'NumberValue';
  9323.  
  9324. while(Wait(2))do
  9325.         Server_Speed.Name='Ohgal_Server Speed (SFPS)';
  9326.         Server_Speed.Value=1/getfenv(0).Wait();
  9327.         Clients.Value=#Network:children();
  9328.         Clients.Name='Ohgal_Clients';
  9329.         Server_Speed.Parent=Warehouse;
  9330.         Clients.Parent=Warehouse;
  9331. end;
  9332.                                 ]]
  9333.                         );                     
  9334.                         for i,v in next,{'Clients';'Server Speed (SFPS)';}do
  9335.                                 coroutine.wrap(function()Wait();
  9336.                                         local Value=Warehouse:FindFirstChild('Ohgal_'..v);
  9337.                                         while(Warehouse:FindFirstChild('Ohgal_'..v)==nil)do
  9338.                                                 Value=Warehouse.ChildAdded:wait();
  9339.                                         end;
  9340.                                         A.Stuffs.Meter.Server[v]=Value;
  9341.                                 end)();
  9342.                         end;
  9343.                 end);
  9344.         end;
  9345.  
  9346.         coroutine.wrap(function()
  9347.                 while(A~=nil and A.Functions.Check()==true)do
  9348.                         if(A.Stuffs.MeterIsActive==true)then
  9349.                                 A.Stuffs.Meter.Local['Speed (FPS)'].Value=1/getfenv(0).Wait();
  9350.                                 A.Stuffs.Meter.Server.Players.Value=A.Service.Players.NumPlayers;
  9351.                         end;
  9352.                         Wait(2);
  9353.                 end;
  9354.         end)();
  9355.         coroutine.wrap(function()
  9356.                 if(A.Stuffs.Security==true)then
  9357.                         while(A.Functions.Check()==true)do
  9358.                                 A.Functions.DoKeyCommand(A.Service.GuiService.KeyPressed:wait());
  9359.                         end;
  9360.                 end;
  9361.         end)();
  9362.  
  9363.         print('Number of the commands:',#A.Commands);
  9364.  
  9365. end;
  9366. A.Functions.Check=function()
  9367.         return(A~=nil and A.Data.VisitVersion==_G['Remso - Visit Version Of Local Admin']);
  9368. end;
  9369. A.Functions.GuisParent=function()
  9370.         A.User.Screen.Parent=A.Stuffs.Security==true and A.Service.CoreGui or A.User.PlayerGui;
  9371. end;
  9372. A.Functions.Screen=function()
  9373.         for i,v in next,A.User.Gui do
  9374.                 for i,v in next,v do
  9375.                         v[i],i,v=nil;
  9376.                 end;i,v=nil;
  9377.         end;
  9378.         if(Game.PlaceId==0)then
  9379.                 for i,v in next,A.Functions.ObjectWait(A.User.C,'className','PlayerGui'):children()do
  9380.                         if(v.Name=='Ohgal')then
  9381.                                 A.Functions.Remove(v,true);
  9382.                         end;
  9383.                 end;
  9384.         end;
  9385.         A.User.Screen=A.Old.Instance.NewObject'ScreenGui';
  9386.         A.User.Screen.Name='Ohgal';
  9387.         coroutine.wrap(function()
  9388.                 while(A~=nil and A.Functions.Check()==true)do
  9389.                         A.Functions.Wait();
  9390.                         if(A==nil)then break;end;
  9391.                         if(pcall(A.Functions.GuisParent)==false)then
  9392.                                 A.Functions.Screen();break;
  9393.                         end;
  9394.                         if(A.User.Screen.Changed:wait()~='Parent')then
  9395.                                 while(A.User.Screen.Changed:wait()~='Parent')do end;
  9396.                         end;
  9397.                 end;
  9398.         end)();
  9399.         for i=1,#A.GuiModules do
  9400.                 A.GuiModules[i]();
  9401.         end;
  9402. end;
  9403. A.Functions.CreateGuiModule=function(Function)
  9404.         A.GuiModules[#A.GuiModules+1]=Function;
  9405. end;
  9406. A.Functions.AddSound=function(Type,Table)
  9407.         if(A.Sounds[Type]==nil)then A.Sounds[Type]={};end;
  9408.         A.Sounds[Type][#A.Sounds[Type]+1]=Table;
  9409. end;
  9410. A.Functions.LoadSound=function(Type,Name,No_Object)
  9411.         local Data=tonumber(Name)~=nil and A.Sounds[Type][tonumber(Name)]or(function()
  9412.                 for i,v in next,A.Sounds[Type]do
  9413.                         if(v.Name~=nil and v.Name:lower():find(Name:lower())==1)then
  9414.                                 return v;
  9415.                         end;
  9416.                 end;
  9417.         end)();
  9418.         if(No_Object~=true)then
  9419.                 local Sound=A.Functions.Peace('Sound',Data);
  9420.                         Sound.SoundId=A.Data.BaseUrl..Data.SoundId;
  9421.                 return Sound,Data;
  9422.         else
  9423.                 return Data;
  9424.         end;
  9425. end;
  9426. A.Functions.ToBoolean=function(Text)
  9427.         Text=Text~=nil and Text:lower():gsub('!','');
  9428.         return A.Stuffs.TrueBooleans[Text]==true;
  9429. end;
  9430. A.Functions.Value=function(Type,Value,Function)
  9431.         local Object=A.Old.Instance.NewObject(Type..'Value');
  9432.         if(Value~=nil)then Object.Value=Value;end;
  9433.         if(Function~=nil)then
  9434.                 coroutine.wrap(function()
  9435.                         while(A.Functions.Check()==true and Object.Name~='Over')do
  9436.                                 Function(Object.Changed:wait());
  9437.                         end;
  9438.                 end)();
  9439.         end;
  9440.         return Object;
  9441. end;
  9442. A.Functions.Button=function(Type,Properties,Events)
  9443.         if(A.Stuffs.Gui.Button[Type]~=true)then return nil;end;
  9444.         Properties.Size=Properties.Size or A.Old.UDim2.ButtonSize;
  9445.         local EventsIsATable=type(Events)=='table';
  9446.         local Button,ButtonData=A.Functions.Lock(Type,Properties,EventsIsATable and Events or nil);
  9447.         if(EventsIsATable==false)then
  9448.                 A.Functions.Connect(Button,'MouseButton1Up',function()
  9449.                         A.Functions.Wait();
  9450.                         Events();
  9451.                         A.Stuffs.Button:play();
  9452.                 end,ButtonData);
  9453.         end;
  9454.         return Button,Data;
  9455. end;
  9456. A.Functions.ResetChar=function(Victim)
  9457.         if(pcall(function()Victim:LoadCharacter(true);end)==false)then
  9458.                 if(Victim.Character~=nil)then A.Functions.Remove(Victim.Character);end;
  9459.                 Victim.Character=A.Old.Instance.NewObject('Humanoid',A.Old.Instance.NewObject('Model',A.Service.Workspace)).Parent;
  9460.         end;
  9461. end;
  9462. A.Functions.NukeChar=function(Char)
  9463.         if(A.Stuffs.CharThings==nil)then
  9464.                 A.Stuffs.CharThings={
  9465.                         Parts={
  9466.                                 ['Animate']='LocalScript';
  9467.                                 ['Humanoid']='Humanoid';
  9468.                                 ['Immortal']='Humanoid';
  9469.                                 ['Right Arm']='Part';
  9470.                                 ['Right Leg']='Part';
  9471.                                 ['Left Arm']='Part';
  9472.                                 ['Left Leg']='Part';
  9473.                                 ['Torso']='Part';
  9474.                         };
  9475.                         Welds={
  9476.                                 ['Right Shoulder']='Motor6D';
  9477.                                 ['Left Shoulder']='Motor6D';
  9478.                                 ['Right Hip']='Motor6D';
  9479.                                 ['Left Hip']='Motor6D';
  9480.                                 ['Neck']='Motor6D';
  9481.                         };
  9482.                 };
  9483.         end;
  9484.         for i,v in next,Char:children()do
  9485.                 if(v~=Char.PrimaryPart and(A.Stuffs.CharThings.Parts[v.Name]==v.className)==false)then
  9486.                         A.Functions.Remove(v,true);
  9487.                 end;
  9488.         end;
  9489.         for i,v in next,Char.Torso:children()do
  9490.                 if((A.Stuffs.CharThings.Welds[v.Name]==v.className)==false)then
  9491.                         A.Functions.Remove(v,true);
  9492.                 end;
  9493.         end;
  9494. end;
  9495. A.Functions.Weld=function(Part0,Part1,C0,C1)
  9496.         Part1.CFrame=Part0.CFrame;
  9497.         local Weld=A.Old.Instance.NewObject('Motor',Part0);
  9498.                 Weld.Part0=Part0;
  9499.                 Weld.Part1=Part1;
  9500.         if(C0)then Weld.C0=C0;end;
  9501.         if(C1)then Weld.C1=C1;end;
  9502.         return Weld;
  9503. end;
  9504. A.Functions.Part=function(Properties,WeldProperties)
  9505.         local Part=A.Functions.Peace('Part',Properties);
  9506.         local Weld;
  9507.         if(WeldProperties)then
  9508.                 if(WeldProperties.Part0)then Part.CFrame=WeldProperties.Part0;end;
  9509.                 WeldProperties.Part1=Part;
  9510.                 Weld=A.Functions.Peace('Motor',WeldProperties);
  9511.         end;
  9512.         return Part,Weld;
  9513. end;
  9514. A.Functions.GetWindow=function(Name)
  9515.         for Int=1,#A.User.Windows do
  9516.                 if(A.User.Windows[Int].Name==Name)then
  9517.                         return A.User.Windows[Int],Int;
  9518.                 end;Int=nil;
  9519.         end;
  9520.         return nil;
  9521. end;
  9522. A.Functions.KillWindow=function(Name)
  9523.         local Type=type(Name);
  9524.         if(Type=='string'or Type=='table')then
  9525.                 local Win,Int=Type=='table'and Name or A.Functions.GetWindow(Name);
  9526.                 if(Win)then
  9527.                         Win.SetVisible=false;
  9528.                         A.Functions.All(Win.Title,function(Object)
  9529.                                 A.Functions.KillData(Object);
  9530.                                 A.Functions.Remove(Object,true);
  9531.                                 Object=nil;
  9532.                         end);
  9533.                         for i,v in next,Win do
  9534.                                 if(type(v)=='userdata')then
  9535.                                         v.Name='Over';
  9536.                                         A.Functions.KillData(v);
  9537.                                         A.Functions.Remove(v,true);
  9538.                                 end;
  9539.                                 Win[i]=nil;
  9540.                         end;
  9541.                         if(Int~=nil)then
  9542.                                 table.remove(A.User.Windows,Int);
  9543.                         end;
  9544.                 end;
  9545.         elseif(Type=='boolean'and Name==true)then
  9546.                 for Int=1,#A.User.Windows do
  9547.                         A.Functions.KillWindow(A.User.Windows[Int].Name);
  9548.                 end;
  9549.         end;
  9550. end;
  9551. A.Functions.GiveWindow=function(Name,Weight,Leight,Title)
  9552.         local Win;
  9553.         local Type=Name;
  9554.         if(Type~=false)then
  9555.                 Win=A.Functions.GetWindow(Name)or{};
  9556.                 if(Win.Valid==true)then
  9557.                         Win.SetVisible.Value=Win.SetVisible.Value==false;
  9558.                         return nil;
  9559.                 end;
  9560.                 Win.Name=Name;
  9561.                 Win.Valid=true;
  9562.  
  9563.                 A.User.Windows[#A.User.Windows+1]=Win;
  9564.         else
  9565.                 Win={};
  9566.         end;
  9567.  
  9568.         Win.SetLeight=A.Functions.Value('Number',Leight,function(Value)Win.Frame.Size=A.Old.UDim2.new(1,0,0,Value);Value=nil;end);
  9569.         Win.SetWeight=A.Functions.Value('Number',Weight,function(Value)Win.Title.Size=A.Old.UDim2.new(0,Value,0,20);Value=nil;end);
  9570.         Win.SetVisible=A.Functions.Value('Bool',true,function(Value)Win.Title.Visible=Value;if(Win.VisibleChanged~=nil)then Win.VisibleChanged(Value);end;Value=nil;end);
  9571.         Win.SetTitle=A.Functions.Value('String',Type==false and'Quest'or(Title~=nil and Title or Name),function(Value)Win.TitleText.Text='Remso - ['..Value..']';Value=nil;end);
  9572.         Win.NOPOM=A.Functions.Value('Number',0,function(Value)Win.Menu.Visible=(Value>0);Win.Menu.Size=A.Old.UDim2.new(1,0,0,(Value>0)and 20 or 0);if(Win.Frame)then Win.Frame.Position=A.Old.UDim2.new(0,0,0,(Value>0)and 20 or 0);end;Value=nil;end);
  9573.  
  9574.         Win.Title=A.Functions.Lock('TextButton',{
  9575.                         BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9576.                         Size=function()return A.Old.UDim2.new(0,Win.SetWeight.Value,0,20);end;
  9577.                         Visible=function()return Win.SetVisible.Value;end;
  9578.                         Parent=A.User.Frames.Windows;
  9579.                         Draggable=true;
  9580.                         Active=true;
  9581.                         Text='';
  9582.                 },{
  9583.                         MouseButton1Down=function()
  9584.                                 A.Functions.Wait();
  9585.                                 if(A.User.FirstWindow~=Win.Title)then
  9586.                                         A.User.FirstWindow=Win.Title;
  9587.                                         Win.Title.Parent=nil;
  9588.                                 end;
  9589.                         end;
  9590.                 }
  9591.         );A.User.FirstWindow=Win.Title;
  9592.         Win.TitleText=A.Functions.Lock('TextLabel',{
  9593.                         BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9594.                         Text=function()return'Remso ohgod - ['..Win.SetTitle.Value..']';end;
  9595.                         Position=A.Old.UDim2.new(0,20);
  9596.                         Size=A.Old.UDim2.new(1,-60,1);
  9597.                         BackgroundTransparency=1;
  9598.                         Parent=Win.Title;
  9599.                         TextXAlignment=0;
  9600.                         TextWrap=true;
  9601.                         FontSize=5;
  9602.                         Font=1;
  9603.                 }
  9604.         );
  9605.                 A.Functions.Lock('ImageLabel',{
  9606.                                 Image=A.Data.BaseUrl..84386870;
  9607.                                 Size=A.Old.UDim2.ButtonSize;
  9608.                                 Parent=Win.Title;
  9609.                         }
  9610.                 );
  9611.         Win.Close=A.Functions.Button('TextButton',{
  9612.                         BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9613.                         BackgroundColor3=A.Old.Color3.DarkRed;
  9614.                         Position=A.Old.UDim2.new(1,-20);
  9615.                         TextColor3=A.Old.Color3.Black;
  9616.                         Size=A.Old.UDim2.ButtonSize;
  9617.                         Parent=Win.Title;
  9618.                         FontSize=5;
  9619.                         Text='X';
  9620.                         Font=2;
  9621.                 },function()
  9622.                         A.Functions.KillWindow(Name==false and Win or Name);
  9623.                         if(Name==false)then
  9624.                                 Win.Answer.Value=2;
  9625.                         end;
  9626.                 end
  9627.         );
  9628.         if(Type~=false)then
  9629.                 Win.Minimalize=A.Functions.Button('TextButton',{
  9630.                                 BackgroundColor3=A.Old.Color3.Grey;
  9631.                                 Position=A.Old.UDim2.new(1,-40);
  9632.                                 TextColor3=A.Old.Color3.White;
  9633.                                 Size=A.Old.UDim2.ButtonSize;
  9634.                                 BackgroundTransparency=.5;
  9635.                                 Parent=Win.Title;
  9636.                                 FontSize=6;
  9637.                                 Text='_';
  9638.                                 Font=2;
  9639.                         },function()
  9640.                                 Win.SetVisible.Value=false;
  9641.                         end
  9642.                 );
  9643.         end;
  9644.         Win.Menu=A.Functions.Lock('Frame',{
  9645.                         BackgroundTransparency=function()if(Win.NOPOM.Value<=0)then return 1;end;return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9646.                         Size=function()return A.Old.UDim2.new(1,0,0,(Win.NOPOM.Value>0)and 20 or 0);end;
  9647.                         Position=A.Old.UDim2.new(0,0,1);
  9648.                         Parent=Win.Title;
  9649.                 },{
  9650.                         ChildAdded=function(Object)
  9651.                                 if(Object~=Win.Frame and A.Stuffs.Gui.PartOfGui[Object.className])then
  9652.                                         Win.NOPOM.Value=Win.NOPOM.Value+1;
  9653.                                         Win.Menu.BackgroundTransparency=0;
  9654.                                 end;
  9655.                         end;
  9656.                         ChildRemoved=function(Object)
  9657.                                 if(Object~=Win.Frame and A.Stuffs.Gui.PartOfGui[Object.className])then
  9658.                                         Win.NOPOM.Value=Win.NOPOM.Value-1;
  9659.                                         if(Win.NOPOM.Value<=0)then Win.Menu.BackgroundTransparency=0;end;
  9660.                                 end;
  9661.                         end;
  9662.                 }
  9663.         );
  9664.         local Frame,FrameData=A.Functions.Lock('Frame',{
  9665.                         BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9666.                         Position=function()return A.Old.UDim2.new(0,0,0,(Win.NOPOM.Value>0)and 20 or 0);end;
  9667.                         Size=function()return A.Old.UDim2.new(1,0,0,Win.SetLeight.Value);end;
  9668.                 }
  9669.         );
  9670.         Win.Frame=Frame;
  9671.         FrameData.Properties.Parent=function()return Win.Menu;end;
  9672.         Win.Frame.Parent=Win.Menu;
  9673.  
  9674.         local NUM_;
  9675.         Win.FixTransparency=function()
  9676.                 NUM_=A.Settings['Windows transparency'].Value==true and .5 or 0;
  9677.                 Win.TitleText.BackgroundTransparency=NUM_;
  9678.                 Win.Frame.BackgroundTransparency=NUM_;
  9679.                 Win.Close.BackgroundTransparency=NUM_;
  9680.                 Win.Title.BackgroundTransparency=NUM_;
  9681.                 Win.Menu.BackgroundTransparency=1;
  9682.         end;
  9683.  
  9684.         coroutine.wrap(function()
  9685.                 while(Win.Valid==true and A.Functions.Check()==true)do
  9686.                         A.Settings['Windows transparency'].Changed:wait();
  9687.                         if(Win.FixTransparency~=nil)then
  9688.                                 Win.FixTransparency();
  9689.                         end;
  9690.                 end;
  9691.         end)();
  9692.  
  9693.         return Win;
  9694. end;
  9695. A.Functions.Meter=function()
  9696.         local Size=0;
  9697.         for i,v in next,A.Stuffs.Meter do
  9698.                 for i,v in next,v do
  9699.                         i,v=nil;Size=Size+20;
  9700.                 end;
  9701.                 i,v=nil;Size=Size+20;
  9702.         end;
  9703.         local Win=A.Functions.GiveWindow('Meter',300,Size);
  9704.         if(Win==nil)then return nil;end;local Num=0;
  9705.         Win.Title.Position=A.Old.UDim2.new(.5,-150,0,40);
  9706.         for i,v in next,A.Stuffs.Meter do
  9707.                 A.Functions.Lock('TextLabel',{
  9708.                                 Position=A.Old.UDim2.new(0,0,0,Num*20);
  9709.                                 BackgroundColor3=A.Old.Color3.Grey;
  9710.                                 Size=A.Old.UDim2.new(1,0,0,20);
  9711.                                 TextColor3=A.Old.Color3.Green;
  9712.                                 BackgroundTransparency=.8;
  9713.                                 Text=i..' Things';
  9714.                                 Parent=Win.Frame;
  9715.                                 TextXAlignment=0;
  9716.                                 FontSize=2;
  9717.                         }
  9718.                 );
  9719.                 Num=Num+1;
  9720.                 for Name,Object in next,v do Wait();
  9721.                         for i=0,1 do
  9722.                                 local Gui;Gui=A.Functions.Lock('TextLabel',{
  9723.                                                 TextColor3=i==0 and A.Old.Color3.White or A.Old.Color3.Green;
  9724.                                                 Text=i==0 and Name or function()return Object.Value;end;
  9725.                                                 Position=A.Old.UDim2.new(i/2,0,0,Num*20);
  9726.                                                 Size=A.Old.UDim2.new(.5,0,0,20);
  9727.                                                 BackgroundTransparency=1;
  9728.                                                 TextXAlignment=0;
  9729.                                                 Parent=Win.Frame;
  9730.                                                 FontSize=1;
  9731.                                         }
  9732.                                 );
  9733.                                 if(i==1)then
  9734.                                         coroutine.wrap(function()
  9735.                                                 while(Win.Valid==true)do
  9736.                                                         Gui.Text=Object.Value;
  9737.                                                         Object.Changed:wait();
  9738.                                                 end;
  9739.                                         end)();
  9740.                                 end;
  9741.                         end;Num=Num+1;
  9742.                 end;
  9743.         end;
  9744.         Win.VisibleChanged=function(Value)
  9745.                 A.Stuffs.MeterIsActive=Value;Value=nil;
  9746.         end;A.Stuffs.MeterIsActive=true;
  9747. end;
  9748. A.Functions.QuestWindow=function(Text)
  9749.         local Win=A.Functions.GiveWindow(false,300,200);
  9750.         Win.Answer=A.Functions.Value'Number';
  9751.  
  9752.         A.Functions.Lock('TextLabel',{
  9753.                         BackgroundTransparency=1;
  9754.                         Size=A.Old.UDim2.Full;
  9755.                         Parent=Win.Frame;
  9756.                         TextYAlignment=0;
  9757.                         FontSize=3;
  9758.                         Text=Text;
  9759.                 }
  9760.         );
  9761.         A.Functions.Button('TextButton',{
  9762.                         Position=A.Old.UDim2.new(.5,-40,1,-25);
  9763.                         BackgroundColor3=A.Old.Color3.Grey;
  9764.                         Size=A.Old.UDim2.new(0,80,0,20);
  9765.                         Parent=Win.Frame;
  9766.                         Text='Okey';
  9767.                 },function()
  9768.                         Win.Answer.Value=1;
  9769.                         A.Functions.KillWindow(Win);
  9770.                 end
  9771.         );
  9772.         return Win.Answer.Changed:wait();
  9773. end;
  9774. A.Functions.GetSpawnLocationCFrame=function()
  9775.         local Spawn={};
  9776.         Spawn[1]=A.Old.CFrame.new(0,100,0);
  9777.         A.Functions.All(A.Service.Workspace,function(Object)
  9778.                 if(Object.className=='SpawnLocation')then
  9779.                         Spawn[#Spawn+1]=Object.CFrame;
  9780.                 end;Object=nil;
  9781.         end);
  9782.         return Spawn[2]==nil and Spawn[1]or Spawn[math.random(2,#Spawn)]+A.Old.Vector3.Char;
  9783. end;
  9784. A.Functions.SettingsGui=function()
  9785.         local Size=#A.SettingIDs;
  9786.         local RealSize=Size;
  9787.                 Size=Size<10 and Size or 10;
  9788.         local Win=A.Functions.GiveWindow('Settings',250,20*Size);
  9789.         if(Win==nil)then return nil;end;
  9790.  
  9791.         Win.Title.Position=A.Old.UDim2.new(.5,-125,.5,-110);
  9792.  
  9793.         Win.Cells={};
  9794.  
  9795.         Win.Fix=function()
  9796.                 for i=1,Size do
  9797.                         Win.Cells[i].SetTick.Value=A.SettingIDs[i].Object.Value;
  9798.                         Win.Cells[i].SetText.Value=A.SettingIDs[i].Name;i=nil;
  9799.                 end;
  9800.         end;
  9801.  
  9802.         Win.Pos=A.Functions.Value('String',0,Win.Fix);
  9803.  
  9804.         if(RealSize>10)then
  9805.                 local Num;
  9806.                 local BS={
  9807.                         '<';function()
  9808.                                 Num=Win.Pos.Value-10
  9809.                                 if(Num>=0)then
  9810.                                         Win.Pos.Value=Num;
  9811.                                 end;
  9812.                         end;
  9813.                         'Home';function()Win.Pos.Value=0;end;
  9814.                         '>';function()
  9815.                                 Num=Win.Pos.Value+10;
  9816.                                 if(Num>=RealSize)then
  9817.                                         Win.Pos.Value=Num-(RealSize%10);
  9818.                                 end;
  9819.                         end;
  9820.                 };
  9821.                 local BSn=#BS/2;
  9822.                 local Num=0;
  9823.                 for i=1,BSn do
  9824.                         A.Functions.Button('TextButton',{
  9825.                                         Position=A.Old.UDim2.new((1/BSn)*(i-1),(2/BSn)/2,0,(2/BSn)/2);
  9826.                                         Size=A.Old.UDim2.new(1/BSn,-2,1,-2);
  9827.                                         BackgroundColor3=A.Old.Color3.Grey;
  9828.                                         TextColor3=A.Old.Color3.Black;
  9829.                                         BackgroundTransparency=.5;
  9830.                                         Parent=Win.Menu;
  9831.                                         Text=BS[i+Num];
  9832.                                         TextWrap=true;
  9833.                                         FontSize=1;
  9834.                                 },BS[i+Num+1]
  9835.                         );Num=Num+1;
  9836.                 end;
  9837.         end;
  9838.  
  9839.         for Int=1,Size do
  9840.                 local Ints=Int+Win.Pos.Value;
  9841.                 local Cell={};Win.Cells[Int]=Cell;
  9842.                 local Setting=A.SettingIDs[Ints]~=nil and A.SettingIDs[Ints];
  9843.  
  9844.                 Cell.SetText=A.Functions.Value('String',A.SettingIDs[Ints]and A.SettingIDs[Ints].Name,function(Value)Cell.Label.Text=Value;Value=nil;end);
  9845.                 Cell.SetTick=A.Functions.Value('Bool',A.SettingIDs[Ints]and A.SettingIDs[Ints].Object.Value,function(Value)Cell.Button.BackgroundColor3=Value==true and A.Old.Color3.Green or A.Old.Color3.DarkRed;Value=nil;end);
  9846.  
  9847.                 coroutine.wrap(function()
  9848.                         while(Win.Valid==true)do
  9849.                                 Cell.SetTick.Value=Setting.Object.Changed:wait();
  9850.                         end;
  9851.                 end)();
  9852.  
  9853.                 Cell.Label=A.Functions.Lock('TextLabel',{
  9854.                                 Visible=function()return Cell.SetText.Value~='';end;
  9855.                                 Text=function()return Cell.SetText.Value;end;
  9856.                                 Position=A.Old.UDim2.new(0,0,0,20*(Int-1));
  9857.                                 Size=A.Old.UDim2.new(1,-20,0,20);
  9858.                                 BackgroundTransparency=1;
  9859.                                 TextXAlignment=0;
  9860.                                 Parent=Win.Frame;
  9861.                                 FontSize=1;
  9862.                         }
  9863.                 );
  9864.                 Cell.Button=A.Functions.Button('TextButton',{
  9865.                                 BackgroundColor3=function()return Cell.SetTick.Value==true and A.Old.Color3.Green or A.Old.Color3.DarkRed;end;
  9866.                                 Position=A.Old.UDim2.new(1,-17.5,1,-17.5);
  9867.                                 Size=A.Old.UDim2.new(0,15,0,15);
  9868.                                 BackgroundTransparency=.5;
  9869.                                 Parent=A.Functions.Lock('Frame',
  9870.                                                 {
  9871.                                                         BackgroundColor3=A.Old.Color3.Grey;
  9872.                                                         Size=A.Old.UDim2.ButtonSize;
  9873.                                                         Position=A.Old.UDim2.new(1);
  9874.                                                         BackgroundTransparency=.5;
  9875.                                                         Parent=Cell.Label;
  9876.                                                 }
  9877.                                         );
  9878.                                 Text='';
  9879.                         },function()
  9880.                                 A.SettingIDs[Ints].Object.Value=A.SettingIDs[Ints].Object.Value==false;
  9881.                         end
  9882.                 );
  9883.         end;
  9884. end;
  9885. A.Functions.CreateCommand=function(Title,Commands,Description,Guide,MaxArguments,Function)
  9886.         local New={};A.Commands[#A.Commands+1]=New;
  9887.                 New.Title=Title;
  9888.                 New.TrueCommands={};
  9889.                 New.Function=Function;
  9890.                 New.Description=Description;
  9891.                 New.MaxArguments=MaxArguments;
  9892.                 New.Commands='"'..table.concat(Commands,'","')..'"';
  9893.  
  9894.         for Signal,Value in next,A.Stuffs.GuideCommands do
  9895.                 Guide=Guide:gsub(Signal,A.Data.Step..Value);Signal,Value=nil;
  9896.         end;
  9897.         for i=1,#Commands do
  9898.                 New.TrueCommands[Commands[i]]=true;
  9899.         end;
  9900.  
  9901.         New.Guide=A.Data.Start..Commands[1]..Guide;
  9902. end;
  9903. A.Functions.GetArguments=function(Text,Stepper,Max)
  9904.         if(Max~=0)then
  9905.                 local New={};
  9906.                 local Num=0;
  9907.                 local blind=false;
  9908.                 local blindText='';
  9909.                 for i in Text:gmatch('([^'..Stepper..']+)')do
  9910.                         if(blind==false)then
  9911.                                 blind=i:match'{b{'~=nil;
  9912.                                 if(blind==true)then
  9913.                                         i=i:gsub('{b{','');
  9914.                                 end;
  9915.                         end;
  9916.                         if(blind==false)then
  9917.                                 Num=Num+1;
  9918.                                 New[#New+1]=i;i=nil;
  9919.                         else
  9920.                                 blindText=blindText..i..Stepper;
  9921.                                 if(i:match'}b}'~=nil)then
  9922.                                         blind=false;
  9923.                                         Num=Num+1;
  9924.                                         if(blindText:sub(#blindText,#blindText)==';')then
  9925.                                                 blindText=blindText:sub(1,#blindText-1);
  9926.                                         end;
  9927.                                         New[#New+1]=blindText:gsub('}b}','');i=nil;
  9928.                                         blindText='';
  9929.                                 end;
  9930.                         end;
  9931.                         if(Num>=Max)then break;end;
  9932.                 end;
  9933.                 return New;
  9934.         end;return A.Stuffs.NullTable;
  9935. end;
  9936. A.Functions.GetCommand=function(Command)
  9937.         for i,v in next,A.Commands do
  9938.                 if(v.TrueCommands[Command]==true)then
  9939.                         return v,i;
  9940.                 end;
  9941.         end;
  9942. end;
  9943. A.Functions.SearchCommand=function(Text)
  9944.         local Command=Text:match(A.Data.Start..'(%w+)');
  9945.         if(Command==nil)then return'Command word is not found!';end;
  9946.                 Command=Command:lower();
  9947.         local FullText=Text:match(A.Data.Start..'%w+'..A.Data.Step..'(.+)')or'';
  9948.                 Text=FullText;
  9949.  
  9950.         local StuffsOfCommand=A.RecentCommands[Command];
  9951.         if(StuffsOfCommand==nil)then
  9952.                 local Number;
  9953.                 StuffsOfCommand,Number=A.Functions.GetCommand(Command);
  9954.                 if(StuffsOfCommand~=nil)then
  9955.                         A.RecentCommands[Command]={
  9956.                                 Function=function(...)A.Commands[Number].Function(...);end;
  9957.                                 MaxArguments=StuffsOfCommand.MaxArguments;
  9958.                         };
  9959.                 end;
  9960.         end;
  9961.         if(StuffsOfCommand==nil)then return'"'..Command..'" is not a valid member of library of the commands!';end;
  9962.  
  9963.         local Load,Error=A.Functions.Thread(function()
  9964.                 StuffsOfCommand.Function(
  9965.                         Text,
  9966.                         FullText,
  9967.                         A.Functions.GetArguments(
  9968.                                 Text,
  9969.                                 A.Data.Step,
  9970.                                 StuffsOfCommand.MaxArguments
  9971.                         )
  9972.                 );
  9973.         end);
  9974.  
  9975.         if(Load==false)then
  9976.                 return Error;
  9977.         end;
  9978.  
  9979. end;
  9980. A.Functions.Message=function(Type,Text,Time)
  9981.         local Message=A.Functions.Peace('TextLabel',{
  9982.                         Position=Type=='Message'and A.Old.UDim2.Pax or A.Old.UDim2.new(0,0,0,20*#A.User.Frames.Hints:children());
  9983.                         Size=Type=='Hint'and A.Old.UDim2.new(1,0,0,20)or A.Old.UDim2.Full;
  9984.                         Text=Text:gsub([[']],A.Stuffs.AsciiChar[255]);
  9985.                         BackgroundColor3=A.Old.Color3.Black;
  9986.                         Parent=A.User.Frames[Type..'s'];
  9987.                         TextColor3=A.Old.Color3.Yellow;
  9988.                         BackgroundTransparency=.5;
  9989.                         BorderSizePixel=0;
  9990.                         FontSize=2;
  9991.                         Name=Type;
  9992.                 }
  9993.         );
  9994.         Delay(Time or #Text/5,function()
  9995.                 A.Functions.Remove(Message,true);
  9996.                 if(Type=='Hint')then
  9997.                         for i,v in next,A.User.Frames.Hints:children()do
  9998.                                 if(v.className=='TextLabel')then
  9999.                                         v.Position=A.Old.UDim2.new(0,0,0,20*(i-1));
  10000.                                 end;
  10001.                         end;
  10002.                 end;
  10003.         end);
  10004. end;
  10005. A.Functions.TransparencyContact=function(Table)
  10006.         coroutine.wrap(function()
  10007.                 local Num=#Table;
  10008.                 local Data;
  10009.                 for i=1,Num do
  10010.                         i=Table[i];
  10011.                         Data=A.Functions.GetData(i);
  10012.                         if(Data~=nil)then
  10013.                                 Data.Properties.BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  10014.                         end;
  10015.                         i.BackgroundTransparency=A.Settings['Windows transparency'].Value==true and .5 or 0;
  10016.                 end;
  10017.                 local Function=function(Bool)
  10018.                         for i=1,Num do Table[i].BackgroundTransparency=Bool==true and .5 or 0;i=nil;end;Bool=nil;
  10019.                 end;
  10020.                 while(A.Functions.Check()==true)do
  10021.                         Function(A.Settings['Windows transparency'].Value);
  10022.                         A.Settings['Windows transparency'].Changed:wait();
  10023.                 end;
  10024.         end)();
  10025. end;
  10026. A.Functions.CommandBar=function()
  10027.         local Win=A.Functions.GiveWindow('Cmd',300,64);
  10028.         if(Win==nil)then return nil;end;Win.Title.Position=A.Old.UDim2.new(0,0,.5,-100);
  10029.         if(A.User.RecentCommands==nil)then
  10030.                 A.User.RecentCommands={};
  10031.         end;
  10032.  
  10033.         local NUM_,_NUM;
  10034.         local BS={
  10035.                 '<';function()
  10036.                         NUM_=Win.Pos.Value-Win.MaxCells;
  10037.                         if(NUM_>=0)then
  10038.                                 Win.Pos.Value=NUM_;
  10039.                         end;
  10040.                 end;
  10041.                 '>';function()
  10042.                         _NUM=#A.User.RecentCommands;
  10043.                         if(_NUM<=Win.MaxCells)then return nil;end;
  10044.                         NUM_=Win.Pos.Value+Win.MaxCells;
  10045.                         if(NUM_>=_NUM)then
  10046.                                 NUM_=_NUM-(_NUM%Win.MaxCells);
  10047.                         end;
  10048.                         Win.Pos.Value=NUM_;
  10049.                 end;
  10050.                 'Clean';function()
  10051.                         A.User.RecentCommands={};
  10052.                         Win.Pos.Value=0;
  10053.                         Win.Fix();
  10054.                 end;
  10055.                 'H/S';function()
  10056.                         Win.FixEnabled=Win.FixEnabled==false;
  10057.                         Win.Fix();
  10058.                 end;
  10059.         };
  10060.         local BSn=#BS/2;
  10061.  
  10062.         Win.Cells={};
  10063.         Win.MaxCells=8;
  10064.         Win.FixEnabled=true;
  10065.  
  10066.         Win.Fix=function()
  10067.                 for Int=1,Win.MaxCells do
  10068.                         Win.Cells[Int].SetText.Value=A.User.RecentCommands[Int+Win.Pos.Value]or'';
  10069.                         Win.Cells[Int].Label.Visible=Win.FixEnabled;
  10070.                 end;
  10071.         end;
  10072.  
  10073.         Win.Pos=A.Functions.Value('Number',0,Win.Fix);
  10074.  
  10075.         Win.Box=A.Functions.Lock('TextBox',{
  10076.                         Parent=function()A.Functions.Wait()return Win.Frame end;
  10077.                         TextColor3=A.Old.Color3.Yellow;
  10078.                         BackgroundTransparency=1;
  10079.                         Size=A.Old.UDim2.Full;
  10080.                         TextXAlignment=0;
  10081.                         TextYAlignment=0;
  10082.                         FontSize=1;
  10083.                 },{
  10084.                         FocusLost=function(Text)
  10085.                                 Text=Win.Box.Text;
  10086.                                 if(Text~=nil and(Text~=''and Text~='Click here to writting'))then
  10087.                                         if(Text:sub(1,1)~=A.Data.Start)then Text=A.Data.Start..Text;end;
  10088.                                         A.Functions.Wait();
  10089.                                         local Message=A.Functions.SearchCommand(Text);
  10090.                                         if(Message~=nil)then A.Functions.Message('Hint',Message);return nil;end;
  10091.                                         if(Win.FixEnabled==true and A~=nil)then
  10092.                                                 table.insert(A.User.RecentCommands,1,Text);
  10093.                                                 Win.Fix();
  10094.                                         end;
  10095.                                 end;Text=nil;
  10096.                         end;
  10097.                 }
  10098.         );Win.Box.Text='Click here to writting';
  10099.  
  10100.         A.Functions.Lock('Frame',{
  10101.                         BackgroundColor3=A.Old.Color3.Grey;
  10102.                         Position=A.Old.UDim2.new(0,0,1);
  10103.                         Size=A.Old.UDim2.new(1,0,0,5);
  10104.                         BackgroundTransparency=.5;
  10105.                         Parent=Win.Frame;
  10106.                 }
  10107.         );
  10108.  
  10109.         local Smg={};
  10110.         for Int=1,Win.MaxCells do
  10111.                 local Cell={};Win.Cells[#Win.Cells+1]=Cell;
  10112.  
  10113.                 Cell.SetText=A.Functions.Value('String',A.User.RecentCommands[Int],function(Value)Cell.Label.Visible=Value~='';Cell.Label.Text=Win.Pos.Value+Int..'.) '..Value;Value=nil;end);
  10114.  
  10115.                 Cell.Label=A.Functions.Button('TextButton',{
  10116.                                 Visible=function()if(Win.FixEnabled==false)then return false;else return Cell.SetText.Value~='';end;end;
  10117.                                 Text=function()return Win.Pos.Value+Int..'.) '..Cell.SetText.Value;end;
  10118.                                 Position=A.Old.UDim2.new(0,0,1,20*(Int-1)+5);
  10119.                                 Size=A.Old.UDim2.new(1,0,0,20);
  10120.                                 AutoButtonColor=true;
  10121.                                 Parent=Win.Frame;
  10122.                                 TextXAlignment=0;
  10123.                                 FontSize=1;
  10124.                         },function()
  10125.                                 A.Functions.SearchCommand(Cell.SetText.Value);
  10126.                         end
  10127.                 );Smg[Int]=Cell.Label;
  10128.         end;
  10129.         A.Functions.TransparencyContact(Smg);
  10130.  
  10131.         local Num=0;
  10132.         local Asd={};
  10133.         for Int=1,BSn do
  10134.                 Asd[Int]=A.Functions.Button('TextButton',{
  10135.                                 Position=A.Old.UDim2.new(1/BSn*(Int-1),1,0,1);
  10136.                                 Size=A.Old.UDim2.new(1/BSn,-2,1,-2);
  10137.                                 BackgroundColor3=A.Old.Color3.Grey;
  10138.                                 TextColor3=A.Old.Color3.Black;
  10139.                                 Text=BS[Int+Num];
  10140.                                 Parent=Win.Menu;
  10141.                                 FontSize=1;
  10142.                         },BS[Int+Num+1]
  10143.                 );
  10144.                 Num=Num+1;
  10145.         end;
  10146.         A.Functions.TransparencyContact(Asd);
  10147.  
  10148. end;
  10149. A.Functions.HelpGui=function()
  10150.         local Win=A.Functions.GiveWindow('Help',400,400);
  10151.         if(Win==nil)then return nil;end;
  10152.  
  10153.         local Ears={'Commands';'Players';'Signals';};
  10154.  
  10155.         Win.Ears={};
  10156.         Win.NumOfEars=#Ears;
  10157.         Win.NumberOfCommands=#A.Commands;
  10158.  
  10159.         local NUM;
  10160.         local CCMD;
  10161.         local TEXT='';
  10162.         Win.FixTutorial=function()
  10163.                 NUM=Win.Pos.Value+1;
  10164.                 CCMD=A.Commands[NUM];
  10165.                 if(A.Stuffs.ForTutorialOfCommands==nil)then
  10166.                         A.Stuffs.ForTutorialOfCommands={'Title';'Description';'Commands';'Guide';};
  10167.                 end;
  10168.                 for i,v in next,A.Stuffs.ForTutorialOfCommands do
  10169.                         TEXT=TEXT..v..': '..CCMD[v]..'\n\n\n';i,v=nil;
  10170.                 end;
  10171.                 TEXT=NUM..' of '..Win.NumberOfCommands..'\n\n\n'..TEXT;
  10172.                 Win.Ears[1].SetText.Value=TEXT;TEXT='';
  10173.         end;
  10174.  
  10175.         Win.Pos=A.Functions.Value('Number',0,function(Value)Win.FixTutorial();Value=nil;end);
  10176.         Win.CurrentFrame=A.Functions.Value('String','Commands',function(Value)
  10177.                 for i=1,Win.NumOfEars do
  10178.                         Win.Ears[i].Frame.Visible=Value==Win.Ears[i].Name;
  10179.                 end;
  10180.         end);
  10181.  
  10182.         local Smgs={};
  10183.         for Int,Name in next,Ears do
  10184.                 local Ear={};Win.Ears[#Win.Ears+1]=Ear;
  10185.  
  10186.                 Ear.Name=Name;
  10187.  
  10188.                 Ear.SetText=A.Functions.Value('String','',function(Value)Ear.Frame.Text=Value;Value=nil;end);
  10189.  
  10190.                 Ear.Frame=A.Functions.Lock('TextLabel',{
  10191.                                 Visible=function()return Win.CurrentFrame.Value==Name;end;
  10192.                                 Text=function()return Ear.SetText.Value;end;
  10193.                                 BackgroundTransparency=1;
  10194.                                 Position=A.Old.UDim2.Pax;
  10195.                                 Size=A.Old.UDim2.Full;
  10196.                                 TextXAlignment=0;
  10197.                                 TextYAlignment=0;
  10198.                                 Parent=Win.Frame;
  10199.                                 FontSize=2;
  10200.                         }
  10201.                 );
  10202.                 Ear.Ear=A.Functions.Button('TextButton',{
  10203.                                 Position=A.Old.UDim2.new(1/Win.NumOfEars*(Int-1),1.25,0,1.25);
  10204.                                 Size=A.Old.UDim2.new(1/Win.NumOfEars,-2.5,1,-2.5);
  10205.                                 BackgroundColor3=A.Old.Color3.Grey;
  10206.                                 TextColor3=A.Old.Color3.Black;
  10207.                                 Parent=Win.Menu;
  10208.                                 FontSize=1;
  10209.                                 Text=Name;
  10210.                         },function()
  10211.                                 Win.CurrentFrame.Value=Name;
  10212.                         end
  10213.                 );Smgs[#Smgs+1]=Ear.Ear;
  10214.  
  10215.                 if(Name=='Players')then
  10216.                         local Text='';
  10217.                         for Int,Table in next,A.Calls do
  10218.                                 Text=Text..Table.Description..': '..Table.Calls..'\n'..'\n';
  10219.                         end;
  10220.                         Ear.SetText.Value=Text;
  10221.                 elseif(Name=='Signals')then
  10222.                         Ear.SetText.Value=[[The first signal what you need for run a command signal is "]]..A.Data.Start..'" :3'..'\n\n'..[[For arguments type this "]]..A.Data.Step..'"'..'\n\n'..[[To use blink argument (hard to tell my english not enough to this) "{b{" until "}b}" so {b{blah;blah;LAALla;;;;aolaL}b}]];
  10223.                 elseif(Name=='Commands')then
  10224.                         Win.FixTutorial();
  10225.                         for i=0,1 do
  10226.                                 local Num=i==0 and-1 or 1;
  10227.                                 local Plus;
  10228.                                 Smgs[#Smgs+1]=A.Functions.Button('TextButton',{
  10229.                                                 Position=A.Old.UDim2.new(i,i==1 and -20,1,-20);
  10230.                                                 BackgroundColor3=A.Old.Color3.Grey;
  10231.                                                 TextColor3=A.Old.Color3.Black;
  10232.                                                 Size=A.Old.UDim2.ButtonSize;
  10233.                                                 Parent=Win.Ears[1].Frame;
  10234.                                                 Text=i==0 and'<'or'>';
  10235.                                                 FontSize=3;
  10236.                                         },function()
  10237.                                                 Plus=Win.Pos.Value+Num;
  10238.                                                 if(Plus>=0 and Plus<Win.NumberOfCommands)then
  10239.                                                         Win.Pos.Value=Plus;
  10240.                                                 end;
  10241.                                         end
  10242.                                 );
  10243.                         end;
  10244.                 end;
  10245.  
  10246.         end;A.Functions.TransparencyContact(Smgs);
  10247.  
  10248. end;
  10249. A.Functions.GetBase=function()
  10250.         for i,v in next,A.Service.Workspace:children()do
  10251.                 if(v.className=='Part'and v.Name=='Base')then
  10252.                         A.Functions.Remove(v,true);
  10253.                 end;i,v=nil;
  10254.         end;
  10255.         local Base=A.Old.Instance.NewObject'Part';
  10256.                 Base.Name='Base';
  10257.                 Base.Locked=true;
  10258.                 Base.Anchored=true;
  10259.                 Base.archivable=false;
  10260.                 Base.Size=A.Old.Vector3.new(555,2,555);
  10261.                 Base.BrickColor=A.Old.BrickColor.new'37';
  10262.                 Base.Parent=A.Service.Workspace;
  10263.         return Base;
  10264. end;
  10265. A.Functions.Clean=function()
  10266.         local Base=A.Functions.GetBase();
  10267.         if(A.Stuffs.Shielded==nil)then
  10268.                 A.Stuffs.Shielded={
  10269.                         HumanoidController=true;
  10270.                         Terrain=true;
  10271.                         Camera=true;
  10272.                         Player=true;
  10273.                 };
  10274.         end;
  10275.         if(A.Stuffs.Banned_Services==nil)then
  10276.                 A.Stuffs.Banned_Services={
  10277.                         NetworkClient=true;
  10278.                         CoreGui=true;
  10279.                 };
  10280.         end;
  10281.         for i,v in next,Game:children()do
  10282.                 pcall(function()
  10283.                         if(A.Stuffs.Banned_Services[v.className]==nil)then
  10284.                                 for i,v in next,v:children()do
  10285.                                         if(v~=script and v~=Base and A.Stuffs.Shielded[v.className]~=true and A.Service.Players:GetPlayerFromCharacter(v)==nil)then
  10286.                                                 pcall(function()
  10287.                                                         v.Parent=nil;
  10288.                                                 end);
  10289.                                         end;i,v=nil;
  10290.                                 end;
  10291.                         end;
  10292.                 end);i,v=nil;
  10293.         end;
  10294. end;
  10295. A.Functions.ResetLighting=function()
  10296.         local Lighting=A.Service.Lighting;
  10297.         if(A.Stuffs.LightingBaseProperties==nil)then
  10298.                 A.Stuffs.LightingBaseProperties={
  10299.                         ShadowColor=A.Old.Color3.new(.7,.7,.72);
  10300.                         FogColor=A.Old.Color3.new(.75,.75,.75);
  10301.                         ColorShift_Bottom=A.Old.Color3.Black;
  10302.                         GeographicLatitude=41.733299255371;
  10303.                         ColorShift_Top=A.Old.Color3.Black;
  10304.                         Ambient=A.Old.Color3.Grey;
  10305.                         Brightness=1;
  10306.                         FogEnd=1e6;
  10307.                         FogStart=0;
  10308.                 };
  10309.         end;
  10310.         for i,v in next,A.Stuffs.LightingBaseProperties do
  10311.                 Lighting[i]=v;i,v=nil;
  10312.         end;
  10313.         pcall(Lighting.ClearAllChildren,Lighting);
  10314. end;
  10315. A.Functions.ExplorerGui=function()
  10316.         local Win=A.Functions.GiveWindow('Explorer',440,400);
  10317.         if(Win==nil)then
  10318.                 return nil;
  10319.         end;
  10320.  
  10321.         Win.Frames={};
  10322.  
  10323.         Win.CountThis=A.Functions.Value('Object',Game,function(Value)
  10324.                 if(Win.Frames.Explorer.SetPos.Value==0)then
  10325.                         Win.Frames.Explorer.Count(0,Value);
  10326.                 else
  10327.                         Win.Frames.Explorer.SetPos.Value=0;
  10328.                 end;
  10329.         end);
  10330.         Win.WatchingObject=A.Functions.Value('Object',Game,function(Value)
  10331.                 if(Win.Frames.Properties.SetPos.Value==0)then
  10332.                         Win.Frames.Properties.Count(0,Value);
  10333.                 else
  10334.                         Win.Frames.Properties.SetPos.Value=0;
  10335.                 end;
  10336.         end);
  10337.  
  10338.         local Cnr={};
  10339.  
  10340.         Win.History={Game;};
  10341.         Win.HistoryPos=1;
  10342.  
  10343.         for i=0,1 do
  10344.                 local Plus=i==0 and -1 or 1;
  10345.                 local Num;
  10346.                 Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
  10347.                                 BackgroundColor3=A.Old.Color3.Blue;
  10348.                                 Position=A.Old.UDim2.new(0,20*i);
  10349.                                 TextColor3=A.Old.Color3.Black;
  10350.                                 Text=i==0 and'<'or'>';
  10351.                                 Parent=Win.Menu;
  10352.                                 FontSize=3;
  10353.                         },function()
  10354.                                 Num=Win.HistoryPos+Plus;
  10355.                                 if(Num<1 or Win.History[Num]==nil)then return nil;end;
  10356.                                 Win.HistoryPos=Num;
  10357.                                 Win.CountThis.Value=Win.History[Num];
  10358.                         end
  10359.                 );
  10360.         end;
  10361.         Win.HomeButton=A.Functions.Button('TextButton',{
  10362.                         BackgroundColor3=A.Old.Color3.Green;
  10363.                         Position=A.Old.UDim2.new(0,40);
  10364.                         TextColor3=A.Old.Color3.Black;
  10365.                         Parent=Win.Menu;
  10366.                         Text='H';
  10367.                 },function()
  10368.                         Win.CountThis.Value=Game;
  10369.                         Win.HistoryPos=1;
  10370.                 end
  10371.         );
  10372.         Win.RefreshButton=A.Functions.Button('TextButton',{
  10373.                         BackgroundColor3=A.Old.Color3.Grey;
  10374.                         Position=A.Old.UDim2.new(0,60);
  10375.                         TextColor3=A.Old.Color3.Black;
  10376.                         Parent=Win.Menu;
  10377.                         Text='R';
  10378.                 },function()
  10379.                         Win.Frames.Explorer.Count(0,Win.CountThis.Value);
  10380.                 end
  10381.         );
  10382.         Win.RemoveButton=A.Functions.Button('TextButton',{
  10383.                         BackgroundColor3=A.Old.Color3.Grey;
  10384.                         Position=A.Old.UDim2.new(0,80);
  10385.                         TextColor3=A.Old.Color3.Black;
  10386.                         Parent=Win.Menu;
  10387.                         Text='K';
  10388.                 },function()
  10389.                         for i,v in next,Win.Frames.Explorer.Selected do
  10390.                                 if(#v~=0)then
  10391.                                         for i,v in next,v do
  10392.                                                 A.Functions.Remove(v);
  10393.                                         end;
  10394.                                 end;
  10395.                         end;
  10396.                 end
  10397.         );
  10398.  
  10399.         for i=0,1 do
  10400.                 local Name=i==0 and'Explorer'or'Properties';
  10401.                 local this={};
  10402.                 this.Cells={};
  10403.  
  10404.                 this.SetPos=A.Functions.Value('Number',0,function(Value)
  10405.                         this.PosChanged(Value);
  10406.                 end);
  10407.  
  10408.                 this.Frame=A.Functions.Lock('Frame',{
  10409.                                 Size=A.Old.UDim2.new(.5,-20,1);
  10410.                                 Position=A.Old.UDim2.new(i/2);
  10411.                                 BackgroundTransparency=1;
  10412.                                 Parent=Win.Frame;
  10413.                         }
  10414.                 );
  10415.                 this.ScrollFrame=A.Functions.Lock('Frame',{
  10416.                                 BackgroundColor3=A.Old.Color3.White;
  10417.                                 Size=A.Old.UDim2.new(0,20,1);
  10418.                                 Position=A.Old.UDim2.new(1);
  10419.                                 BackgroundTransparency=.5;
  10420.                                 Parent=this.Frame;
  10421.                         }
  10422.                 );
  10423.                 Cnr[#Cnr+1]=this.ScrollFrame;
  10424.  
  10425.                 for i=0,1 do
  10426.                         local Plus=i==0 and-20 or 20;
  10427.                         local Num;
  10428.                         Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
  10429.                                         Position=A.Old.UDim2.new(0,0,i,i==1 and-20);
  10430.                                         BackgroundColor3=A.Old.Color3.Grey;
  10431.                                         Size=A.Old.UDim2.ButtonSize;
  10432.                                         Text=i==0 and'/\\'or'\\/';
  10433.                                         Parent=this.ScrollFrame;
  10434.                                         AutoButtonColor=true;
  10435.                                         FontSize=3;
  10436.                                 },function()
  10437.                                         Num=this.SetPos.Value+Plus;
  10438.                                         if(Num<0)then
  10439.                                                 Num=0;
  10440.                                         end;
  10441.                                         if(Num>=this.Max)then
  10442.                                                 Num=this.Max-(this.Max%20);
  10443.                                         end;
  10444.                                         this.SetPos.Value=Num;
  10445.                                 end
  10446.                         );
  10447.                 end;
  10448.  
  10449.  
  10450.                 if(i==0)then--Explorer
  10451.  
  10452.                         this.CountThis=Win.CountThis;
  10453.  
  10454.                         this.Selected={};
  10455.                         this.FreeBoxes={};
  10456.  
  10457.                         this.Count=function(From,Object)
  10458.                                 local Parts=Object:children();
  10459.                                 if(#Parts==0)then return nil;end;
  10460.                                 this.Max=#Parts;
  10461.                                
  10462.  
  10463.                                 local Asd;
  10464.                                 local i=1;
  10465.                                 local Object2;
  10466.                                 local NotGood=0;
  10467.  
  10468.                                 while(i<21)do
  10469.                                         Asd=From+i+NotGood;
  10470.                                         Object2=Parts[Asd];
  10471.                                         if(Object2==nil or pcall(function()return Object2:IsA'';end)==true)then
  10472.                                                 this.Cells[i].SetObject.Value=Object2;
  10473.                                                 i=i+1;
  10474.                                         else
  10475.                                                 NotGood=NotGood+1;
  10476.                                         end;
  10477.                                 end;
  10478.  
  10479.                         end;
  10480.                         this.PosChanged=function(Value)
  10481.                                 this.Count(Value,this.CountThis.Value);
  10482.                         end;
  10483.  
  10484.                         for i=1,20 do
  10485.                                 local Cell={};this.Cells[#this.Cells+1]=Cell;
  10486.                                
  10487.                                 Cell.GetPos=function()return this.SetPos.Value+i;end;
  10488.  
  10489.                                 Cell.SetText=A.Functions.Value('String','N/A',function(Value)
  10490.                                         Cell.Text.Text=Value;
  10491.                                 end);
  10492.                                 Cell.SetObject=A.Functions.Value('Object',nil,function(Value)
  10493.                                        
  10494.                                         if(Value~=nil)then
  10495.                                                 Cell.SetSelect.Value=Value:FindFirstChild'Ohgal_Selection'~=nil;
  10496.                                                 Cell.SetText.Value=Value.Name..' ('..Value.className..')';
  10497.                                                 Cell.Number.Text=Cell.GetPos();
  10498.                                         end;
  10499.  
  10500.                                         Cell.Frame.Visible=Value~=nil or false;
  10501.                                        
  10502.                                 end);
  10503.                                 Cell.SetSelect=A.Functions.Value('Bool',false,function(Value)
  10504.                                         Cell.Selector.BackgroundColor3=Value==true and A.Old.Color3.Green or A.Old.Color3.Red;
  10505.                                         local Object=Cell.SetObject.Value;
  10506.                                         if(Value==false)then
  10507.                                                 local Selector=Object:FindFirstChild'Ohgal_Selection';
  10508.                                                 if(Selector~=nil)then
  10509.                                                         Selector.Parent=nil;
  10510.                                                         this.FreeBoxes[#this.FreeBoxes+1]=Selector;
  10511.                                                 end;
  10512.                                         else
  10513.                                                 local ThisAdded;
  10514.                                                 local Selector=Object:FindFirstChild'Ohgal_Selection'or this.FreeBoxes[1]or A.Old.Instance.NewObject'BindableEvent';
  10515.                                                 if(Selector==this.FreeBoxes[1])then
  10516.                                                         table.remove(this.FreeBoxes,1);
  10517.                                                 end;
  10518.  
  10519.                                                 Selector.Name='Ohgal_Selection';
  10520.                                                 Selector.archivable=false;
  10521.                                                 Selector.Parent=Object;
  10522.  
  10523.                                                
  10524.                                                 local Box;
  10525.                                                 if(Object:IsA'Model'or Object:IsA'Part')then
  10526.                                                         Box=A.Old.Instance.NewObject('SelectionBox',this.Frame);
  10527.                                                         Box.Adornee=Object;
  10528.                                                 end;
  10529.  
  10530.                                                 if(this.Selected[Object.className]==nil)then
  10531.                                                         this.Selected[Object.className]={};
  10532.                                                 else
  10533.                                                         for i,v in next,this.Selected[Object.className]do
  10534.                                                                 if(v==Object)then
  10535.                                                                         ThisAdded=true;
  10536.                                                                         table.remove(this.Selected[Object.className],i);break;
  10537.                                                                 end;
  10538.                                                         end;
  10539.                                                 end;
  10540.                                                 this.Selected[Object.className][#this.Selected[Object.className]+1]=Object;
  10541.  
  10542.                                                 if(ThisAdded==nil)then
  10543.                                                         local Kill=function()                                                          
  10544.                                                                 Selector.Parent=nil;
  10545.                                                                 this.FreeBoxes[#this.FreeBoxes+1]=Selector;
  10546.                                                                 if(Box~=nil)then Box.Adornee=nil;Box.Parent=nil;end;
  10547.                                                                 for i,v in next,this.Selected[Object.className]do
  10548.                                                                         if(v==Object)then
  10549.                                                                                 table.remove(this.Selected[Object.className],i);break;
  10550.                                                                         end;
  10551.                                                                 end;
  10552.                                                         end;
  10553.                                                         A.Functions.Thread(function()
  10554.                                                                 while(Selector.Parent~=nil)do Selector.Changed:wait();end;
  10555.                                                                 Kill();
  10556.                                                         end);
  10557.                                                         A.Functions.Thread(function()
  10558.                                                                 while(Object.Parent~=nil)do Object.Changed:wait();end;
  10559.                                                                 Kill();
  10560.                                                         end);
  10561.                                                 end;
  10562.                                         end;
  10563.                                 end);
  10564.  
  10565.                                
  10566.                                 Cell.Frame=A.Functions.Lock('Frame',{
  10567.                                                 Position=A.Old.UDim2.new(0,0,0,i~=1 and 20*(i-1)+1 or 1);
  10568.                                                 Visible=function()return Cell.SetObject.Value~=nil;end;
  10569.                                                 Size=A.Old.UDim2.new(1,0,0,18);
  10570.                                                 BackgroundTransparency=1;
  10571.                                                 Parent=this.Frame;
  10572.                                         }
  10573.                                 );
  10574.  
  10575.                                 Cell.Selector=A.Functions.Button('ImageButton',{
  10576.                                                 BackgroundColor3=function()return Cell.SetSelect.Value==true and A.Old.Color3.Green or A.Old.Color3.Red;end;
  10577.                                                 Size=A.Old.UDim2.new(0,20,1);
  10578.                                                 Position=A.Old.UDim2.Pax;
  10579.                                                 Parent=Cell.Frame;
  10580.                                         },function()
  10581.                                                 Cell.SetSelect.Value=Cell.SetSelect.Value==false;
  10582.                                         end
  10583.                                 );
  10584.                                 Cnr[#Cnr+1]=Cell.Selector;
  10585.  
  10586.                                 Cell.Number=A.Functions.Lock('TextLabel',{
  10587.                                                 BackgroundColor3=A.Old.Color3.Grey;
  10588.                                                 Position=A.Old.UDim2.new(0,20);
  10589.                                                 Size=A.Old.UDim2.new(0,20,1);
  10590.                                                 Parent=Cell.Frame;
  10591.                                                 Text=Cell.GetPos;
  10592.                                                 FontSize=1;
  10593.                                         }
  10594.                                 );
  10595.                                 Cnr[#Cnr+1]=Cell.Number;
  10596.  
  10597.                                 local TimeOut=0;
  10598.                                 Cell.Text=A.Functions.Button('TextButton',{
  10599.                                                 Text=function()return Cell.SetText.Value;end;
  10600.                                                 BackgroundColor3=A.Old.Color3.White;
  10601.                                                 Position=A.Old.UDim2.new(0,40);
  10602.                                                 TextColor3=A.Old.Color3.Black;
  10603.                                                 Size=A.Old.UDim2.new(1,-40,1);
  10604.                                                 AutoButtonColor=true;
  10605.                                                 Parent=Cell.Frame;
  10606.                                                 TextXAlignment=0;
  10607.                                                 FontSize=1;
  10608.                                         },function()
  10609.                                                 if(TimeOut==1)then
  10610.                                                         Win.HistoryPos=Win.HistoryPos+1;
  10611.                                                         Win.History[Win.HistoryPos]=Cell.SetObject.Value;
  10612.                                                         Win.History[Win.HistoryPos+1]=nil;
  10613.                                                         this.CountThis.Value=Cell.SetObject.Value;
  10614.                                                 else
  10615.                                                         TimeOut=1;
  10616.  
  10617.                                                         Win.WatchingObject.Value=Cell.SetObject.Value;
  10618.  
  10619.                                                         Delay(.2,function()
  10620.                                                                 TimeOut=0;
  10621.                                                         end);
  10622.                                                 end;
  10623.                                         end
  10624.                                 );
  10625.                                 Cnr[#Cnr+1]=Cell.Text;
  10626.  
  10627.                         end;
  10628.  
  10629.                 else--Properties
  10630.  
  10631.                         this.Count=function(From,Object)
  10632.  
  10633.                                 if(this._ThisBox~=nil)then
  10634.                                         this._ThisBox.Parent=nil;
  10635.                                 end;
  10636.  
  10637.                                 local Table=A.Functions.GetProperties(Object,true);
  10638.                                 this.Max=#Table;
  10639.                                
  10640.                                 if(From<=4)then
  10641.                                         this.Cells[1].SetProperty.Value='Name';
  10642.                                         this.Cells[1].Fix();
  10643.  
  10644.                                         this.Cells[2].SetProperty.Value='Parent';
  10645.                                         this.Cells[2].Fix();
  10646.  
  10647.                                         this.Cells[3].SetProperty.Value='className';
  10648.                                         this.Cells[3].Fix();
  10649.  
  10650.                                         this.Cells[4].SetProperty.Value='archivable';
  10651.                                         this.Cells[4].Fix();
  10652.                                        
  10653.                                         for i=5,20 do
  10654.                                                 this.Cells[i].SetProperty.Value=Table[(i-4)+From]or'';
  10655.                                                 this.Cells[i].Fix();
  10656.                                         end;
  10657.                                 else
  10658.                                         for i=1,20 do
  10659.                                                 this.Cells[i].SetProperty.Value=Table[i+From]or'';
  10660.                                                 this.Cells[i].Fix();
  10661.                                         end;
  10662.                                 end;
  10663.                         end;
  10664.                         this.PosChanged=function(Value)
  10665.                                 this.Count(Value,Win.WatchingObject.Value);
  10666.                         end;
  10667.  
  10668.                         this.TextBox=function(ALALOLUBU)--ROFL
  10669.                                 if(pcall(function()this._ThisBox.Parent=ALALOLUBU;this._ThisBox.Text=ALALOLUBU.Text;end)==false)then
  10670.                                         this._ThisBox=A.Functions.Peace('TextBox',{
  10671.                                                         BackgroundColor3=A.Old.Color3.White;
  10672.                                                         TextColor3=A.Old.Color3.Black;
  10673.                                                         Size=A.Old.UDim2.Full;
  10674.                                                         Text=ALALOLUBU.Text;
  10675.                                                         BorderSizePixel=0;
  10676.                                                         Parent=ALALOLUBU;
  10677.                                                         TextXAlignment=0;
  10678.                                                         FontSize=1;
  10679.                                                 }
  10680.                                         );
  10681.                                 end;
  10682.                                 Delay(0,function()pcall(function()this._ThisBox:CaptureFocus();end);end);
  10683.                                 this._ThisBox.FocusLost:wait();
  10684.                                 this._ThisBox.Parent=nil;
  10685.                                 A.Functions.Thread(function()
  10686.                                         Win.WatchingObject.Value[this.SetProperty]=loadstring('return '..this._ThisBox.Text)();
  10687.                                 end);
  10688.                         end;
  10689.  
  10690.                         for i=1,20 do
  10691.                                 local Cell={};this.Cells[#this.Cells+1]=Cell;
  10692.                                
  10693.                                 Cell.SetProperty=A.Functions.Value('String','',function(Value)
  10694.                                         Cell.Frame.Visible=Value~='';
  10695.                                 end);
  10696.  
  10697.                                 Cell.Fix=function()
  10698.                                         if(Cell.SetProperty.Value~='')then
  10699.                                                 Cell.Property.Text=Cell.SetProperty.Value..' ';
  10700.                                                 Cell.Property.Size=A.Old.UDim2.new(0,Cell.Property.TextBounds.X,1);
  10701.                                                
  10702.                                                 Cell.ValueButton.Position=A.Old.UDim2.new(0,Cell.Property.Size.X.Offset);
  10703.                                                 Cell.ValueButton.Size=A.Old.UDim2.new(1,-Cell.Property.Size.X.Offset,1);
  10704.                                                 Cell.ValueButton.Text=tostring(Win.WatchingObject.Value[Cell.SetProperty.Value]);
  10705.                                         end;
  10706.                                 end;
  10707.                                
  10708.                                
  10709.                                 Cell.Frame=A.Functions.Lock('Frame',{
  10710.                                                 Position=A.Old.UDim2.new(0,0,0,i~=1 and 20*(i-1)+1 or 1);
  10711.                                                 Visible=function()return Cell.SetProperty.Value~='';end;
  10712.                                                 Size=A.Old.UDim2.new(1,0,0,18);
  10713.                                                 BackgroundTransparency=1;
  10714.                                                 Parent=this.Frame;
  10715.                                         }
  10716.                                 );
  10717.                                
  10718.                                 Cell.Property=A.Functions.Lock('TextLabel',{
  10719.                                                 Size=function()return Cell.Property~=nil and A.Old.UDim2.new(0,Cell.Property.TextBounds.X,1)or A.Old.UDim2.Pax;end;
  10720.                                                 Text=function()return Cell.SetProperty.Value..' ';end;
  10721.                                                 BackgroundColor3=A.Old.Color3.DarkRed;
  10722.                                                 TextWrapped=false;
  10723.                                                 Parent=Cell.Frame;
  10724.                                                 TextWrap=false;
  10725.                                                 FontSize=1;
  10726.                                         }
  10727.                                 );
  10728.                                 Cnr[#Cnr+1]=Cell.Property;
  10729.  
  10730.                                 Cell.ValueButton=A.Functions.Button('TextButton',{
  10731.                                                 Text=function()return(Cell.SetProperty.Value~=''and Win.WatchingObject.Value~=nil)and tostring(Win.WatchingObject.Value[Cell.SetProperty.Value])or'';end;
  10732.                                                 Position=function()return A.Old.UDim2.new(0,Cell.Property.Size.X.Offset);end;
  10733.                                                 Size=function()return A.Old.UDim2.new(1,-Cell.Property.Size.X.Offset,1);end;
  10734.                                                 Parent=Cell.Frame;
  10735.                                                 TextXAlignment=0;
  10736.                                                 FontSize=1;
  10737.                                         },function()
  10738.                                                 this.SetProperty=Cell.SetProperty.Value;
  10739.                                                 this.TextBox(Cell.ValueButton);Wait();
  10740.                                                 Cell.ValueButton.Text=tostring(Win.WatchingObject.Value[Cell.SetProperty.Value]);
  10741.                                         end
  10742.                                 );
  10743.                                 Cnr[#Cnr+1]=Cell.ValueButton;
  10744.                                
  10745.                         end;
  10746.  
  10747.                 end;--Properties end;
  10748.  
  10749.                 this.Count(0,Game);
  10750.  
  10751.  
  10752.                 Win.Frames[Name]=this;
  10753.         end;
  10754.  
  10755.         A.Functions.TransparencyContact(Cnr);
  10756.        
  10757. end;
  10758. A.Functions.AddKey=function(Key,Function)
  10759.         if(A.Stuffs.Security==true)then
  10760.                 if(A.KeyCommands[Key]==nil)then A.KeyCommands[Key]={};end;
  10761.                 A.KeyCommands[#A.KeyCommands+1]=Function;
  10762.                 A.Service.GuiService.AddKey(Key);
  10763.                 Key,Function=nil;
  10764.         end;
  10765. end;
  10766. A.Functions.DoKeyCommand=function(Key)
  10767.         if(A.KeyCommands[Key]~=nil)then
  10768.                 for Int=1,#A.KeyCommands[Key]do
  10769.                         A.KeyCommands[Key][Int]();
  10770.                         Int=nil;
  10771.                 end;
  10772.         end;Key=nil;
  10773. end;
  10774. A.Functions.Heal=function(Corpse)--From first Local Admin :3
  10775.         if(Corpse)then
  10776.                 local Humanoid=A.Functions.FindObject(Corpse,'className','Humanoid');
  10777.                 if(Humanoid==nil)then
  10778.                         return nil;
  10779.                 else
  10780.                         if(Humanoid.Health<=0)then
  10781.                                 return nil;
  10782.                         end;
  10783.                         Humanoid.Health=Humanoid.MaxHealth
  10784.                 end;
  10785.                 for i,v in next,A.Data.CharacterLimbs do
  10786.                         if(Corpse:FindFirstChild(i)==nil)then
  10787.                                 local Limb=A.Functions.Peace('Part',{
  10788.                                         CanCollide=false;
  10789.                                         BottomSurface=0;
  10790.                                         Parent=Corpse;
  10791.                                         TopSurface=0;
  10792.                                         formFactor=0;
  10793.                                         Size=v.Size;
  10794.                                         Name=i;
  10795.                                 });
  10796.                                 if(v.C0 and v.C1)then
  10797.                                         local Weld=A.Old.Instance.NewObject('Motor6D',Corpse:FindFirstChild'Torso');
  10798.                                         if(Weld.Parent)then
  10799.                                                 Limb.Position=Weld.Parent.Position;
  10800.                                                 Weld.Name=v.Name;
  10801.                                                 Weld.Part0=Weld.Parent;
  10802.                                                 Weld.Part1=Limb;
  10803.                                                 Weld.C0=v.C0;
  10804.                                                 Weld.C1=v.C1;
  10805.                                                 Weld.MaxVelocity=.1;
  10806.                                         end;
  10807.                                         Weld=nil;
  10808.                                 end;
  10809.                                 Limb,i,v=nil;
  10810.                         end;
  10811.                         i,v=nil;
  10812.                 end;
  10813.                 local Skin=Corpse:FindFirstChild'Body Colors';
  10814.                 if(Skin~=nil)then
  10815.                         Skin.Parent=nil;
  10816.                         Skin.Parent=Corpse;
  10817.                 end;
  10818.                 local Animate=Corpse:FindFirstChild'Animate';
  10819.                 if(Animate~=nil)then
  10820.                         Animate.Parent=nil;
  10821.                         Animate.Parent=Corpse;
  10822.                 end;
  10823.         end;
  10824. end;
  10825. A.Functions.CreateWeld=function(Part0,Part1,C0,C1)
  10826.         local Weld=A.Old.Instance.NewObject('Motor',Part0);
  10827.                 Weld.Part0=Part0;
  10828.                 Weld.Part1=Part1;
  10829.                 if(C0~=nil)then
  10830.                         Weld.C0=C0;
  10831.                 end;
  10832.                 if(C1~=nil)then
  10833.                         Weld.C1=C1;
  10834.                 end;
  10835.         return Weld;
  10836. end;
  10837. A.Functions.MemeGui=function()
  10838.         local Win=A.Functions.GiveWindow('Memes',300,300);
  10839.         if(Win==nil)then
  10840.                 return nil;
  10841.         end;
  10842.  
  10843.         Win.Title.Position=A.Old.UDim2.new(.5,-150);
  10844.  
  10845.         Win.SetPos=A.Functions.Value('Number',0,function(Value)
  10846.                 Win.Status.Text=Value;
  10847.                 Win.Image.Image=Value;
  10848.         end);
  10849.  
  10850.  
  10851.         Win.Memes={};local Num=0;
  10852.         for i,v in next,A.Images.Meme do Num=Num+1;--[[Num+=1; don't work :'( ]]
  10853.                 Win.Memes[Num]={Name=i;ID=v;};
  10854.         end;Win.NumMemes=#Win.Memes;
  10855.  
  10856.         Win.Status=A.Functions.Lock('TextLabel',{
  10857.                         Text=function()return 1+Win.SetPos.Value..' of '..Win.NumMemes..': '..Win.Memes[Win.SetPos.Value+1].Name..' ('..Win.Memes[Win.SetPos.Value+1].ID..')';end;
  10858.                         Position=A.Old.UDim2.new(0,20);
  10859.                         Size=A.Old.UDim2.new(1,-40,1);
  10860.                         TextColor3=A.Old.Color3.White;
  10861.                         BackgroundTransparency=1;
  10862.                         Parent=Win.Menu;
  10863.                         FontSize=2;
  10864.                 }
  10865.         );
  10866.         Win.Image=A.Functions.Lock('ImageLabel',{
  10867.                         Image=function()return A.Data.BaseUrl..Win.Memes[Win.SetPos.Value+1].ID;end;
  10868.                         Position=A.Old.UDim2.Pax;
  10869.                         Size=A.Old.UDim2.Full;
  10870.                         Parent=Win.Frame;
  10871.                 }
  10872.         );
  10873.  
  10874.         local Cnr={};
  10875.         local Num;
  10876.         for i=0,1 do
  10877.                 local Plus=i==0 and -1 or 1;
  10878.                 Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
  10879.                                 Position=A.Old.UDim2.new(i,i==1 and -20);
  10880.                                 BackgroundColor3=A.Old.Color3.Grey;
  10881.                                 TextColor3=A.Old.Color3.Black;
  10882.                                 Size=A.Old.UDim2.new(0,20,1);
  10883.                                 Text=i==0 and'<'or'>';
  10884.                                 Parent=Win.Menu;
  10885.                                 FontSize=2;
  10886.                         },function()
  10887.                                 Num=Win.SetPos.Value+Plus;
  10888.                                 if(Num>=Win.NumMemes)then
  10889.                                         Num=0;
  10890.                                 end;
  10891.                                 if(Num<0)then
  10892.                                         Num=Win.NumMemes-1;
  10893.                                 end;
  10894.                                 Win.SetPos.Value=Num;
  10895.                         end
  10896.                 );
  10897.                 A.Functions.Button('TextButton',{
  10898.                                 TextColor3=i==0 and A.Old.Color3.White or A.Old.Color3.DarkRed;
  10899.                                 Position=A.Old.UDim2.new(i/2,0,1,-20);
  10900.                                 Size=A.Old.UDim2.new(.5,0,0,20);
  10901.                                 Text=i==0 and'Wear'or'Drop';
  10902.                                 BackgroundTransparency=1;
  10903.                                 TextStrokeTransparency=0;
  10904.                                 Parent=Win.Frame;
  10905.                                 FontSize=3;
  10906.                         },i==0 and function()
  10907.                                 A.Functions.MakeMeme(Win.Memes[Win.SetPos.Value+1].ID,A.User.C.Character);
  10908.                         end or function()
  10909.                                 A.Functions.MakeMeme('reset!',A.User.C.Character);
  10910.                         end
  10911.                 );
  10912.         end;
  10913.  
  10914.         A.Functions.TransparencyContact(Cnr);
  10915.        
  10916. end;
  10917. A.Functions.SettingWait=function(Name,Bool)
  10918.         if(A.Settings[Name].Value~=Bool)then
  10919.                 A.Settings[Name].Changed:wait();
  10920.         end;
  10921.         return A.Settings[Name];
  10922. end;
  10923. A.Functions.FindWithOutside=function(Start,End)
  10924.         local Type=type(End);
  10925.         if(Type=='userdata')then
  10926.                 local Stepped=0;
  10927.                 if(Start.Parent~=End)then
  10928.                         while(Start.Parent~=End and Stepped<50)do
  10929.                                 Start=Start.Parent;
  10930.                                 Stepped=Stepped+1;
  10931.                         end;
  10932.                 end;
  10933.         elseif(Type=='string')then
  10934.                 local Stepped=0;
  10935.                 if(Start.Parent.className~=End)then
  10936.                         while(Start.Parent.className~=End and Stepped<50)do
  10937.                                 Start=Start.Parent;
  10938.                                 Stepped=Stepped+1;
  10939.                         end;
  10940.                 end;
  10941.         end;
  10942.        
  10943.         return Start;
  10944. end;
  10945. A.Functions.ResizeChar=function(Char,Plus_Size)
  10946.         local Torso=Char.Torso;
  10947.  
  10948.         Torso.Anchored=true;
  10949.         Torso.BottomSurface=0;
  10950.         Torso.TopSurface=0;
  10951.        
  10952.         A.Functions.Remove(Char:FindFirstChild'Shirt',true);
  10953.         A.Functions.Remove(Char:FindFirstChild'Pants',true);
  10954.        
  10955.         local Virus=Char:FindFirstChild'Shirt Graphic';
  10956.         if(Virus~=nil)then
  10957.                 Virus:Destroy();
  10958.         end;
  10959.        
  10960.         local Welds={};
  10961.         local Change;Change=function(Object)
  10962.                 for i,Weld in next,Object:children()do
  10963.                         if(Weld.className=='Weld'or Weld.className=='Motor'or Weld.className=='Motor6D')then
  10964.                                 local Part=Weld.Part1;
  10965.  
  10966.                                 Part.Anchored=true;
  10967.  
  10968.                                 Weld.Part1=nil;
  10969.  
  10970.                                 local r01,r02,r03,r04,r05,r06,r07,r08,r09,r10,r11,r12=Weld.C0:components();
  10971.                                 Weld.C0=A.Old.CFrame.new(r01*Plus_Size,r02*Plus_Size,r03*Plus_Size,r04,r05,r06,r07,r08,r09,r10,r11,r12);
  10972.                                 local r01,r02,r03,r04,r05,r06,r07,r08,r09,r10,r11,r12=Weld.C1:components();
  10973.                                 Weld.C1=A.Old.CFrame.new(r01*Plus_Size,r02*Plus_Size,r03*Plus_Size,r04,r05,r06,r07,r08,r09,r10,r11,r12);
  10974.  
  10975.                                 if(Part.Name~='Head')then
  10976.                                         Part.formFactor=3;
  10977.                                         Part.Size=Part.Size*Plus_Size;
  10978.                                 else
  10979.                                         for i,v in next,Part:children()do
  10980.                                                 if(v.className=='Weld')then
  10981.                                                         v.Part0=nil;
  10982.                                                         v.Part1.Anchored=true;
  10983.                                                 end;
  10984.                                         end;
  10985.                                         Part.formFactor=3;
  10986.                                         Part.Size=Part.Size*Plus_Size;
  10987.                                         for i,v in next,Part:children()do
  10988.                                                 if(v.className=='Weld')then
  10989.                                                         v.Part0=Part;
  10990.                                                         v.Part1.Anchored=false;
  10991.                                                 end;
  10992.                                         end;
  10993.                                 end;
  10994.                                        
  10995.                                 if(Weld.Parent==Torso)then
  10996.                                         Part.BottomSurface=0;
  10997.                                         Part.TopSurface=0;
  10998.                                 end;
  10999.                                
  11000.                                 Part.Anchored=false;
  11001.  
  11002.                                 Weld.Part1=Part;
  11003.  
  11004.                                 if(Weld.Part0==Torso)then
  11005.                                         Welds[#Welds+1]=Weld;
  11006.                                         Part.Anchored=true;
  11007.                                         Weld.Part0=nil;
  11008.                                 end;
  11009.                         elseif(Weld.className=='CharacterMesh')then
  11010.                                 local Body_Part=tostring(Weld.BodyPart):match'%w+.%w+.(%w+)';
  11011.                                 local Mesh=A.Old.Instance.NewObject('SpecialMesh',
  11012.                                         Body_Part=='Head'and Char:FindFirstChild'Head'or Body_Part=='Torso'and Char:FindFirstChild'Torso'or
  11013.                                         Body_Part=='LeftArm'and Char:FindFirstChild'Left Arm'or Body_Part=='RightArm'and Char:FindFirstChild'Right Arm'or
  11014.                                         Body_Part=='LeftLeg'and Char:FindFirstChild'Left Leg'or Body_Part=='RightLeg'and Char:FindFirstChild'Right Leg'or nil);
  11015.                                         Mesh.MeshId=A.Data.BaseUrl..Weld.MeshId;
  11016.                                         if(Weld.BaseTextureId~=0 or Weld.BaseTextureId~='0')then
  11017.                                                 Mesh.TextureId=A.Data.BaseUrl..Weld.BaseTextureId;
  11018.                                         end;
  11019.                                         Mesh.Scale=Mesh.Scale*Plus_Size;
  11020.                                         Weld:Destroy();
  11021.                         elseif(Weld.className=='SpecialMesh'and Weld.Parent~=Char.Head)then
  11022.                                 Weld.Scale=Weld.Scale*Plus_Size;
  11023.                         end;
  11024.                         Change(Weld);
  11025.                 end;
  11026.         end;
  11027.  
  11028.         Change(Char);
  11029.  
  11030.         Torso.formFactor=3;
  11031.         Torso.Size=Torso.Size*Plus_Size;
  11032.        
  11033.         for i,v in next,Welds do
  11034.                 v.Part0=Torso;
  11035.                 v.Part1.Anchored=false;
  11036.         end;
  11037.  
  11038.         Torso.Anchored=false;
  11039.         --[[
  11040.         Wait(1);
  11041.        
  11042.         if(Shirts~=nil)then
  11043.                 Shirts.Parent=Char;
  11044.         end;
  11045.         if(Pants~=nil)then
  11046.                 Pants.Parent=Char;
  11047.         end;]]
  11048. end;
  11049. --[[Functions end;]]
  11050.  
  11051.  
  11052. --[[Old]]
  11053. local Table;
  11054. for i,Name in next,{
  11055.                 'BrickColor';
  11056.                 'Instance';
  11057.                 'Vector3';
  11058.                 'Vector2';
  11059.                 'Color3';
  11060.                 'CFrame';
  11061.                 'UDim2';
  11062.                 'UDim';
  11063.                 'Ray';
  11064.         }do
  11065.         Table=loadstring('return '..Name)();
  11066.         if(Table~=nil)then
  11067.                 A.Old[Name]=A.Functions.CopyTable(Table);
  11068.         end;i,Name=nil;
  11069. end;
  11070.  
  11071. A.Old.Instance.NewObject=A.Old.Instance.new;
  11072. A.Old.Instance.new=function(Object,Data)
  11073.         local Class=Object;
  11074.         Object,Data=A.Functions.GiveData(A.Old.Instance.NewObject(Object,Data));
  11075.  
  11076.         if(A.Stuffs.Gui.PartOfGui[Class]==true)then
  11077.                 Data.Properties.BackgroundColor3=function()return A.Old.Color3.Black;end;
  11078.                 Data.Properties.BorderSizePixel=function()return 0;end;
  11079.                 Data.Properties.Visible=function()return true;end;
  11080.         end;
  11081.         if(A.Stuffs.Gui.Text[Class]==true)then
  11082.                 Data.Properties.TextColor3=function()return A.Old.Color3.White;end;
  11083.                 Data.Properties.TextWrapped=function()return true;end;
  11084.                 Data.Properties.TextWrap=function()return true;end;
  11085.         end;
  11086.         if(A.Stuffs.Gui.Image[Class]==true)then
  11087.                 Data.Properties.BackgroundTransparency=function()return 1;end;
  11088.         end;
  11089.         if(A.Stuffs.Gui.Button[Class]==true)then
  11090.                 Data.Properties.AutoButtonColor=function()return false;end;
  11091.                 Data.Properties.Active=function()return true;end;
  11092.         end;Class=nil;
  11093.  
  11094.         Data.Properties.archivable=function()return false;end;
  11095.         Data.Properties.Archivable=function()return false;end;
  11096.         Data.Properties.Name=function()return'';end;
  11097.  
  11098.         pcall(A.Functions.Peace,Object,Data.Properties);
  11099.  
  11100.         return Object,Data;
  11101. end;
  11102.  
  11103. A.Old.Color3.Red=A.Old.Color3.new(1);
  11104. A.Old.Color3.Black=A.Old.Color3.new();
  11105. A.Old.Color3.Green=A.Old.Color3.new(0,1);
  11106. A.Old.Color3.Blue=A.Old.Color3.new(0,0,1);
  11107. A.Old.Color3.DarkRed=A.Old.Color3.new(.8);
  11108. A.Old.Color3.Yellow=A.Old.Color3.new(1,1);
  11109. A.Old.Color3.White=A.Old.Color3.new(1,1,1);
  11110. A.Old.Color3.Grey=A.Old.Color3.new(.5,.5,.5);
  11111. A.Old.Color3.DarkGreen=A.Old.Color3.new(0,.8);
  11112. A.Old.Color3.DarkBlue=A.Old.Color3.new(0,0,.8);
  11113. A.Old.Color3.DarkBlue=A.Old.Color3.new(0,0,.8);
  11114. A.Old.Color3.DarkYellow=A.Old.Color3.new(.7,.7);
  11115.  
  11116. A.Old.CFrame.Pax=A.Old.CFrame.new();
  11117. A.Old.CFrame.Char=A.Old.CFrame.new(0,3,0);
  11118.  
  11119. A.Old.Vector3.Pax=A.Old.CFrame.Pax.p;
  11120. A.Old.Vector3.Char=A.Old.CFrame.Char.p;
  11121. A.Old.Vector3.Jump=A.Old.Vector3.new(0,100);
  11122.  
  11123.  
  11124. A.Old.BrickColor.White=A.Old.BrickColor.new'1001';
  11125. A.Old.BrickColor.Black=A.Old.BrickColor.new'1003';
  11126.  
  11127. A.Old.UDim2.Pax=A.Old.UDim2.new();
  11128. A.Old.UDim2.Full=A.Old.UDim2.new(1,0,1);
  11129. A.Old.UDim2.ButtonSize=UDim2.new(0,20,0,20);
  11130. A.Old.UDim2.ScreenPos=A.Old.UDim2.new(0,0,0,-1);
  11131. A.Old.UDim2.ScreenSize=A.Old.UDim2.new(1,0,1,1);
  11132. --[[Old end;]]
  11133.  
  11134.  
  11135. --[[Data]]
  11136. A.Data.Step=[=[;]=];
  11137. A.Data.Start=[=[']=];
  11138. A.Data.Wrap=[=[ & ]=];
  11139. A.Data.Repeat=[=[##]=];
  11140. A.Data.RbxUrl='rbxassetid://';
  11141. A.Data.BaseUrl='http://www.roblox.com/Asset/?id=';
  11142. A.Data.CharacterLimbs={
  11143.         ['Torso']={
  11144.                 Size=A.Old.Vector3.new(2,2,1);
  11145.         };
  11146.         ['Head']={
  11147.                 C1=A.Old.CFrame.new(0,-0.5,0,-1,-0,-0,0,0,1,0,1,0);
  11148.                 C0=A.Old.CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0);
  11149.                 Size=A.Old.Vector3.new(2,1,1);
  11150.                 Name='Neck';
  11151.         };
  11152.         ['Right Arm']={
  11153.                 C1=A.Old.CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,-0,-0);
  11154.                 C0=A.Old.CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,-0,-0);
  11155.                 Size=A.Old.Vector3.new(1,2,1);
  11156.                 Name='Right Shoulder'
  11157.         };
  11158.         ['Right Leg']={
  11159.                 C1=A.Old.CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,-0,-0);
  11160.                 C0=A.Old.CFrame.new(1,-1,0,0,0,1,0,1,0,-1,-0,-0);
  11161.                 Size=A.Old.Vector3.new(1,2,1);
  11162.                 Name='Right Hip'
  11163.         };
  11164.         ['Left Arm']={
  11165.                 C1=A.Old.CFrame.new(0.5,0.5,0,-0,-0,-1,0,1,0,1,0,0);
  11166.                 C0=A.Old.CFrame.new(-1,0.5,0,-0,-0,-1,0,1,0,1,0,0);
  11167.                 Size=A.Old.Vector3.new(1,2,1);
  11168.                 Name='Left Shoulder'
  11169.         };
  11170.         ['Left Leg']={
  11171.                 C1=A.Old.CFrame.new(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0);
  11172.                 C0=A.Old.CFrame.new(-1,-1,0,-0,-0,-1,0,1,0,1,0,0);
  11173.                 Size=A.Old.Vector3.new(1,2,1);
  11174.                 Name='Left Hip'
  11175.         };
  11176. };
  11177. --[[Data end;]]
  11178. --[[Stuffs]]
  11179. A.Stuffs.Gui={
  11180.         PartOfGui={
  11181.                 ImageButton=true;
  11182.                 TextButton=true;
  11183.                 ImageLabel=true;
  11184.                 TextLabel=true;
  11185.                 TextBox=true;
  11186.                 Frame=true;
  11187.         };
  11188.         Text={
  11189.                 TextButton=true;
  11190.                 TextLabel=true;
  11191.                 TextBox=true;
  11192.         };
  11193.         Image={
  11194.                 ImageButton=true;
  11195.                 ImageLabel=true;
  11196.         };
  11197.         Button={
  11198.                 ImageButton=true;
  11199.                 TextButton=true;
  11200.         };
  11201. };
  11202. A.Stuffs.TrueBooleans={
  11203.         ['of course']=true;
  11204.         ['not false']=true;
  11205.         ['why not']=true;
  11206.         ['off on']=true;
  11207.         ['yahwol']=true;
  11208.         ['not 0']=true;
  11209.         ['true']=true;
  11210.         ['yes']=true;
  11211.         ['yep']=true;
  11212.         ['yup']=true;
  11213.         ['on']=true;
  11214.         ['ya']=true;
  11215.         ['y']=true;
  11216.         ['1']=true;
  11217. };
  11218. A.Stuffs.Security=pcall(function()return Game.RobloxLocked;end);
  11219. local Asd;
  11220. A.Stuffs.AsciiNum={};
  11221. A.Stuffs.AsciiChar={};
  11222. for i=0,255 do
  11223.         Asd=string.char(i);
  11224.         A.Stuffs.AsciiNum[Asd]=i;
  11225.         A.Stuffs.AsciiChar[i]=Asd;i=nil;
  11226. end;Asd=nil;
  11227. A.Stuffs.CharVirus={
  11228.         ['Shirt Graphic']='ShirtGraphic';
  11229.         ['RobloxTeam']='Script';
  11230.         ['Sound']='Script';
  11231. };
  11232. A.Stuffs.GuideCommands={
  11233.         ['-r']='<Property>';
  11234.         ['-x']='<Position>';
  11235.         ['-b']='<Boolean>';
  11236.         ['-p']='<Player>';
  11237.         ['-v']='<Value>';
  11238.         ['-s']='<Size>';
  11239.         ['-t']='<Text>';
  11240.         ['-i']='<Path>';
  11241. };
  11242. A.Stuffs.NullTable={};
  11243. A.Stuffs.StarterSource=[==[if(Game.PlaceId~=0)then print=function()end;end;local Users=Game:service'Players';local User=Users.LocalPlayer; ]==];
  11244. --[[Stuffs end;]]
  11245.  
  11246.  
  11247. --[[Settings]]
  11248. A.Settings['Security of character']=false;
  11249. A.Settings['Windows transparency']=true;
  11250. A.Settings['Big jumps']=false;
  11251. A.Settings.HealthBar=false;
  11252. A.Settings.Immortal=false;
  11253. --[[Settings end;]]
  11254.  
  11255.  
  11256. --[[Service]]
  11257. for i,v in next,Game:children()do
  11258.         pcall(function()
  11259.                 if(Game:service(v.className)~=nil)then
  11260.                         A.Service[v.className]=v;
  11261.                 end;i,v=nil;
  11262.         end);
  11263. end;
  11264. --[[Service end;]]
  11265.  
  11266.  
  11267.  
  11268. --[=[Create gui module
  11269.         Exemple:
  11270.  
  11271. A.Functions.CreateGuiModule(function()
  11272.  
  11273. end);
  11274.  
  11275. ]=]
  11276. A.Functions.CreateGuiModule(function()
  11277.         for i,v in next,{'Hints';'Messages';'Other';'Windows';'First';}do
  11278.                 A.User.Frames[v]=A.Functions.Lock('Frame',{
  11279.                                 Position=A.Old.UDim2.ScreenPos;
  11280.                                 Size=A.Old.UDim2.ScreenSize;
  11281.                                 BackgroundTransparency=1;
  11282.                                 Parent=A.User.Screen;
  11283.                                 Name=v;
  11284.                         }
  11285.                 );i,v=nil;
  11286.         end;
  11287. end);
  11288. A.Functions.CreateGuiModule(function()
  11289.         A.Stuffs.MenuButton=A.Functions.Lock('Sound',{
  11290.                         SoundId='rbxasset://sounds/switch.wav';
  11291.                         Parent=A.User.Screen;
  11292.                         Volume=.5;
  11293.                         Pitch=2;
  11294.                 }
  11295.         );
  11296.         A.Stuffs.Button=A.Functions.Lock('Sound',{
  11297.                         SoundId='rbxasset://sounds/SWITCH3.wav';
  11298.                         Parent=A.User.Screen;
  11299.                         Volume=.2;
  11300.                         Pitch=2;
  11301.                 }
  11302.         );
  11303. end);
  11304. A.Functions.CreateGuiModule(function()
  11305.         local Frame;
  11306.         local Pos1,Pos2=A.Old.UDim2.new(0,-110,1,-145),A.Old.UDim2.new(0,0,1,-145);
  11307.  
  11308.         local MouseEnter=A.Functions.Value('Bool',false,function(Value)
  11309.                 A.User.MenuButton.Position=Value==true and Pos2 or Pos1;
  11310.                 A.User.MenuButton.Transparency=Value==true and 0 or .5;
  11311.         end);
  11312.         local Visible=A.Functions.Value('Bool',false,function(Value)A.User.MenuButton.Visible,MouseEnter.Value=Value==false;Frame.Visible=Value;end);
  11313.  
  11314.         local BF={};
  11315.         local AddButtonFunction=function(Title,Function,Security)
  11316.                 if(Security==true and A.Stuffs.Security==false)then
  11317.                         return nil;
  11318.                 end;
  11319.                 BF[#BF+1]={
  11320.                         Function=Function;
  11321.                         Title=Title;
  11322.                 };
  11323.         end;
  11324.  
  11325.         AddButtonFunction('Back to the game',function()Visible.Value=false;end);
  11326.         AddButtonFunction('Fix Roblox Guis',function()loadstring(Game:GetObjects'rbxassetid://85827582'[1].Value)();end,true);
  11327.         AddButtonFunction('Command Bar',function()A.Functions.CommandBar();end);
  11328.         AddButtonFunction('Show Memes',function()A.Functions.MemeGui();end);
  11329.         AddButtonFunction('Spawning',function()A.User.Char.Torso.CFrame=A.Functions.GetSpawnLocationCFrame();A.User.Char.Torso.Velocity=A.Old.Vector3.Pax;end);
  11330.         AddButtonFunction('Explorer',function()A.Functions.ExplorerGui();end);
  11331.         AddButtonFunction('Settings',function()A.Functions.SettingsGui();end);
  11332.         AddButtonFunction('Meters',function()A.Functions.Meter();end);
  11333.         AddButtonFunction('Reset',function()A.Functions.ResetChar(A.User.C);end);
  11334.         AddButtonFunction('Nuke',function()A.Functions.NukeChar(A.User.Char);end);
  11335.         AddButtonFunction('Help',function()A.Functions.HelpGui();end);
  11336.         AddButtonFunction('Heal',function()A.Functions.Heal(A.User.C.Character);end);
  11337.  
  11338.         AddButtonFunction=nil;
  11339.  
  11340.  
  11341.         A.User.MenuButton=A.Functions.Lock('TextButton',{
  11342.                         Transparency=function()return MouseEnter.Value==true and 0 or .5;end;
  11343.                         Visible=function()return Visible.Value==false;end;
  11344.                         Position=function()return MouseEnter.Value==true and Pos2 or Pos1;end;
  11345.                         TextColor3=A.Old.Color3.DarkYellow;
  11346.                         Size=A.Old.UDim2.new(0,125,0,20);
  11347.                         Parent=A.User.Frames.First;
  11348.                         Text='Menu of Ohgal';
  11349.                         FontSize=2;
  11350.                 },{
  11351.                         MouseEnter=function()
  11352.                                 MouseEnter.Value=true;
  11353.                                 A.User.MenuButton.MouseLeave:wait();
  11354.                                 MouseEnter.Value=false;
  11355.                         end;
  11356.                         MouseButton1Up=function()
  11357.                                 Visible.Value=true;
  11358.                                 A.Stuffs.MenuButton:play();
  11359.                         end;
  11360.                 }
  11361.         );
  11362.         coroutine.wrap(function()
  11363.                 A.User.MenuButton.MouseButton1Down:wait();
  11364.                 A.User.STARTUPMSG.Parent=nil;
  11365.         end)();
  11366.         Frame=A.Functions.Lock('Frame',
  11367.                 {
  11368.                         Position=A.Old.UDim2.new(.5,-200,.5,-((#BF*20)+5)/2);
  11369.                         Size=A.Old.UDim2.new(0,400,0,(#BF*20)+10);
  11370.                         Visible=function()return Visible.Value;end;
  11371.                         BackgroundColor3=A.Old.Color3.DarkRed;
  11372.                         Parent=A.User.Frames.First;
  11373.                         BackgroundTransparency=.5;
  11374.                 }
  11375.         );
  11376.         for Int,v in next,BF do
  11377.                 A.Functions.Button('TextButton',{
  11378.                                 Position=A.Old.UDim2.new(0,5,0,(20*(Int-1))+5);
  11379.                                 TextColor3=A.Old.Color3.DarkYellow;
  11380.                                 Size=A.Old.UDim2.new(1,-10,0,20);
  11381.                                 BackgroundTransparency=.5;
  11382.                                 AutoButtonColor=true;
  11383.                                 Text=v.Title;
  11384.                                 Parent=Frame;
  11385.                                 FontSize=5;
  11386.                                 Font=1;
  11387.                         },v.Function
  11388.                 );
  11389.         end;
  11390. end);
  11391. A.Functions.CreateGuiModule(function()
  11392.         Delay(0,function()
  11393.                 local Color1=A.Old.Color3.Black;
  11394.                 local Color2=A.Old.Color3.Red;
  11395.                 local Color3=A.Old.Color3.Red;
  11396.                 local Color4=A.Old.Color3.Black;
  11397.                 local Msg=A.Functions.Peace('TextLabel',{
  11398.                                 Text='Welcome!'..string.rep('\n',2)..'Remso - Local Admin';
  11399.                                 Position=A.Old.UDim2.new(.5,0,.5);
  11400.                                 BackgroundTransparency=.5;
  11401.                                 BackgroundColor3=Color1;
  11402.                                 Parent=A.User.Screen;
  11403.                                 TextColor3=Color2;
  11404.                                 BorderSizePixel=0;
  11405.                                 TextWrapped=true;
  11406.                                 FontSize=3;
  11407.                         }
  11408.                 );
  11409.                 A.User.STARTUPMSG=Msg;
  11410.                 Msg:TweenSizeAndPosition(A.Old.UDim2.new(0,300,0,70),A.Old.UDim2.new(.5,-150,.5,-35),1,2,1,false);
  11411.                 Wait(5);
  11412.                 Msg.BackgroundColor3=A.Old.Color3.Red;
  11413.                 Msg.TextColor3=A.Old.Color3.Black;
  11414.                 if(Msg.Parent~=nil)then
  11415.                         Msg:TweenSizeAndPosition(A.Old.UDim2.new(0,200,0,20),A.Old.UDim2.new(0,25,1,-145),1,1,1,false);
  11416.                         Msg.Text='<-- There is the MENU';
  11417.                         coroutine.wrap(function()
  11418.                                 for i=1,3 do
  11419.                                         Msg.BackgroundColor3=Color3;
  11420.                                         Msg.TextColor3=Color4;
  11421.                                         A.Functions.Wait(.3);
  11422.                                         Msg.BackgroundColor3=Color1;
  11423.                                         Msg.TextColor3=Color2;
  11424.                                         A.Functions.Wait(.3);
  11425.                                 end;
  11426.                         end)();
  11427.                         Wait(6);
  11428.                 end;
  11429.                 A.Functions.Remove(Msg,true);
  11430.         end);
  11431. end);
  11432. A.Functions.CreateGuiModule(function()
  11433.         A.Functions.SettingWait('HealthBar',true);
  11434.         A.User.Gui.HelathBar={};
  11435.         local this=A.User.Gui.HelathBar;
  11436.        
  11437.         if(A.User.Humanoid.Value==nil)then
  11438.                 A.User.Humanoid.Changed:wait();
  11439.         end;
  11440.         this.Fix=function()
  11441.                 this.Pos=A.Old.UDim2.new(this.SetHealth.Value/this.SetMaxHealth.Value,0,1);
  11442.                 if(this.HBar~=nil)then
  11443.                         this.HBar.Size=this.Pos;
  11444.                 end;
  11445.                 return this.Pos;
  11446.         end;
  11447.         this.FixStats=function()
  11448.                 this.Idk=this.Humanoid.Health/this.Humanoid.MaxHealth;
  11449.                 this.SetMaxHealth.Value=this.Humanoid.MaxHealth;
  11450.                 this.SetHealth.Value=this.Humanoid.Health;
  11451.                 this.SetColor.Value=(this.Idk<=.1)and A.Old.Color3.DarkRed or(this.Idk>.1 and this.Idk<=.5)and
  11452.                         A.Old.Color3.DarkYellow or(this.Idk>.5 and this.Idk<=1)and A.Old.Color3.Green or A.Old.Color3.Black;
  11453.         end;
  11454.  
  11455.         this.SetColor=A.Functions.Value('Color3',A.Old.Color3.Green,function(Color3)this.HBar.BackgroundColor3=Color3;Color3=nil;end);
  11456.         this.SetVisible=A.Functions.Value('Bool',true,function(Value)this.Frame.Visible=Value;Value=nil;end);
  11457.         this.SetMaxHealth=A.Functions.Value('Number',A.User.Humanoid.Value.MaxHealth,this.Fix);
  11458.         this.SetHealth=A.Functions.Value('Number',A.User.Humanoid.Value.Health,this.Fix);
  11459.  
  11460.         this.Frame=A.Functions.Lock('Frame',{
  11461.                         Visible=function()return this.SetVisible.Value;end;
  11462.                         Position=A.Old.UDim2.new(.5,-55,1,-25);
  11463.                         Size=A.Old.UDim2.new(0,110,0,20);
  11464.                         Parent=A.User.Frames.Other;
  11465.                         BackgroundTransparency=.5;
  11466.                 }
  11467.         );
  11468.         this.MHBar=A.Functions.Lock('Frame',
  11469.                 {
  11470.                         --BackgroundColor3=A.Old.Color3.DarkRed;
  11471.                         Position=A.Old.UDim2.new(0,5,0,5);
  11472.                         Size=A.Old.UDim2.new(1,-10,1,-10);
  11473.                         BackgroundTransparency=1;
  11474.                         Parent=this.Frame;
  11475.                 }
  11476.         );
  11477.         this.HBar=A.Functions.Lock('Frame',
  11478.                 {
  11479.                         BackgroundColor3=function()return this.SetColor.Value;end;
  11480.                         Position=A.Old.UDim2.Pax;
  11481.                         Parent=this.MHBar;
  11482.                 }
  11483.         );
  11484.         this.HBar.Size=this.Fix();
  11485.  
  11486.         this.Valid=true;
  11487.  
  11488.         coroutine.wrap(function()
  11489.                 while(A.Functions.Check()and this.Valid==true)do
  11490.                         this.SetVisible.Value=A.Settings.HealthBar.Value;
  11491.                         A.Settings.HealthBar.Changed:wait();
  11492.                 end;
  11493.         end)();
  11494.         coroutine.wrap(function()
  11495.                 while(A.Functions.Check()and this.Valid==true)do
  11496.                         A.Functions.SettingWait('HealthBar',true);
  11497.  
  11498.                         this.Humanoid=A.User.Humanoid.Value;
  11499.                         this.FixStats();
  11500.  
  11501.                         coroutine.wrap(function()
  11502.                                 while(A.Functions.Check()and A.User.Humanoid.Value==this.Humanoid)do
  11503.                                         this.Humanoid.HealthChanged:wait();
  11504.                                         this.FixStats();
  11505.                                 end;
  11506.                         end)();
  11507.  
  11508.                         A.User.Humanoid.Changed:wait();
  11509.                         this.Humanoid.MaxHealth=this.Humanoid.MaxHealth+1;
  11510.                 end;
  11511.         end)();
  11512.  
  11513. end);
  11514. --[[Create gui module end;]]
  11515.  
  11516.  
  11517. --[=[Module create
  11518.         Exemple:
  11519. A.Functions.CreateModule('Type',function()
  11520.  
  11521. end);
  11522. ]=]
  11523. A.Functions.CreateModule('Once',A.Functions.Screen);
  11524. A.Functions.CreateModule('Once',function()
  11525.  
  11526.         local Value=A.Functions.SettingWait('Immortal',true);
  11527.         local Val_;
  11528.  
  11529.         while(A.Functions.Check())do
  11530.                 Val_=Value.Value;
  11531.                 if(A.User.Humanoid.Value~=nil)then
  11532.                         A.User.Humanoid.Value.Name=Val_==true and'Immortal'or'Humanoid';
  11533.                         A.User.Humanoid.Value.MaxHealth=Val_==true and 1e666 or 100;
  11534.                         A.User.Humanoid.Value.Health=Val_==true and 1e666 or 100;
  11535.                 end;
  11536.                 Value.Changed:wait();
  11537.         end;
  11538.  
  11539. end);
  11540. A.Functions.CreateModule('Once',function()
  11541.         local Num;
  11542.         A.Stuffs.SecurityID=A.Stuffs.SecurityID and A.Stuffs.SecurityID+1 or 1;
  11543.         local Local_ID=A.Stuffs.SecurityID;
  11544.         while(A.Functions.Check()==true and A.Stuffs.SecurityID==Local_ID)do
  11545.                 A.Functions.Wait();
  11546.  
  11547.                 A.User.Char=A.User.C.Character;
  11548.  
  11549.                 if(A.User.Char~=nil and A.User.Char.PrimaryPart~=nil)then
  11550.                         A.Functions.LoadModule'Char';
  11551.                 end;
  11552.  
  11553.                 A.User.C.CharacterAdded:wait();
  11554.  
  11555.                 Num=#A.User.Connections;
  11556.                 for i=1,Num do A.User.Connections[i]:disconnect();i=nil;end;
  11557.                 for i=1,Num do A.User.Connections[i]=nil;i=nil;end;
  11558.         end;
  11559. end);
  11560. A.Functions.CreateModule('Char',function()
  11561.         _G['Ohgal - Char Security Version']=_G['Ohgal - Char Security']~=nil and _G['Ohgal - Char Security']+1 or 0;
  11562.         local CharSecurityVersion=_G['Ohgal - Char Security'];
  11563.         local Torso=A.User.Char.Torso
  11564.         while(A.Functions.Check()and CharSecurityVersion==_G['Ohgal - Char Security'])do
  11565.                 A.Functions.SettingWait('Security of character',true);
  11566.                 if(Torso.Position.Y<=-200 and Torso.Velocity.Y~=0)then
  11567.                         Torso.CFrame=A.Functions.GetSpawnLocationCFrame();
  11568.                         Torso.RotVelocity=A.Old.Vector3.Pax;
  11569.                         Torso.Velocity=A.Old.Vector3.Pax;
  11570.                 end;
  11571.                 A.Functions.Wait();
  11572.         end;
  11573. end);
  11574. A.Functions.CreateModule('Char',function()
  11575.         A.User.Humanoid.Value=A.Functions.FindObject(A.User.Char,'className','Humanoid');
  11576.  
  11577.         if(A.Settings.Immortal.Value==true)then
  11578.                         A.User.Humanoid.Value.Name='Immortal';
  11579.                         A.User.Humanoid.Value.MaxHealth=1e666;
  11580.                         A.User.Humanoid.Value.Health=1e666;
  11581.         end;
  11582.  
  11583.         coroutine.wrap(function()
  11584.                 local Humanoid=A.User.Humanoid.Value;
  11585.                 while(Humanoid==A.User.Humanoid.Value and A.Functions.Check()==true)do
  11586.                         A.Functions.SettingWait('Big jumps',true);
  11587.                         Humanoid.Jumping:wait();
  11588.                         if(A.Settings['Big jumps'].Value==true)then
  11589.                                 Humanoid.Torso.Velocity=A.Old.Vector3.Jump;
  11590.                         end;
  11591.                 end;
  11592.         end)();
  11593.  
  11594.         for i,v in next,A.User.Char:children()do
  11595.                 if(A.Stuffs.CharVirus[v.Name]==v.className)then
  11596.                         A.Functions.Remove(v,true);
  11597.                 end;i,v=nil;
  11598.         end;
  11599.         A.Functions.Connect(A.User.Char,'ChildAdded',function(v)
  11600.                 if(A.Stuffs.CharVirus[v.Name]==v.className)then
  11601.                         A.Functions.Remove(v,true);
  11602.                 end;v=nil;
  11603.         end,A.User);
  11604.         if(A.Stuffs.CharVirus.Sound==nil)then return nil;end;
  11605.         for i,v in next,A.User.Char.PrimaryPart:children()do
  11606.                 if(v.Name=='Sound'and v.className=='Sound'and v.archivable==false)then
  11607.                         A.Functions.Remove(v,true);
  11608.                 end;i,v=nil;
  11609.         end;
  11610.         A.Functions.Connect(A.User.Char.PrimaryPart,'ChildAdded',function(v)
  11611.                 if(v.Name=='Sound'and v.className=='Sound'and v.archivable==false)then
  11612.                         A.Functions.Remove(v,true);
  11613.                 end;v=nil;
  11614.         end,A.User);
  11615. end);
  11616. A.Functions.CreateModule('PlayerGui',A.Functions.GuisParent);
  11617. A.Functions.CreateModule('PlayerGui',function()
  11618.         local Old=A.User.PlayerGui;
  11619.         coroutine.wrap(function()
  11620.                 local Virus;
  11621.                 while(A~=nil and A.Functions.Check()and Old==A.User.PlayerGui)do
  11622.                         if(Virus==nil)then
  11623.                                 Virus=Old:FindFirstChild'HealthGUI';
  11624.                         else
  11625.                                 Virus=Virus.Name=='HealthGUI'and Virus or nil;
  11626.                         end;
  11627.                         if(Virus~=nil)then
  11628.                                 A.Functions.VisibleOfHealthGUI(A.Settings.HealthBar.Value==false);
  11629.                                 Virus=Virus:FindFirstChild'hurtOverlay';
  11630.                                 if(Virus)then
  11631.                                         A.Functions.Remove(Virus,true);
  11632.                                 end;
  11633.                         end;
  11634.                         Virus=Old.ChildAdded:wait();Wait();
  11635.                 end;
  11636.         end)();
  11637.         while(Old.Parent~=nil)do Old.Changed:wait();end;
  11638.         A.Old.Instance.NewObject('BoolValue',Old);
  11639. end);
  11640.  
  11641. --[[Module create end;]]
  11642.  
  11643.  
  11644.  
  11645. --[=[Call create
  11646.         Exemple:
  11647.  
  11648. A.Functions.CreateCall([[Description]],{},function(Self)
  11649.  
  11650. end);
  11651.  
  11652. ]=]
  11653. A.Functions.CreateCall([[For you]],{'me!';'myself!';'satan!';},function(Self)
  11654.         return Self==A.User.C;
  11655. end);
  11656. A.Functions.CreateCall([[For they]],{'other!';'noobs!';'idiots!';'notme!';},function(Self)
  11657.         return Self~=A.User.C;
  11658. end);
  11659. A.Functions.CreateCall([[For players]],{'players!';},function(Self)
  11660.         return Self.userId>0;
  11661. end);
  11662. A.Functions.CreateCall([[For guests]],{'guests!';},function(Self)
  11663.         return Self.userId<1;
  11664. end);
  11665. A.Functions.CreateCall([[For random player]],{'random!';'rand!';},function(Self)
  11666.         return math.random(1,4)==1;
  11667. end);
  11668. A.Functions.CreateCall([[For each]],{'all!';'each!'},function(Self)
  11669.         return true;
  11670. end);
  11671. --[[Call create end;]]
  11672.  
  11673.  
  11674.  
  11675. A.Functions.SetupCommands=function()
  11676. --[==[Command create
  11677. Exemple:
  11678.  
  11679. A.Functions.CreateCommand([[Title]],{},[[Description]],[[]],1,function(Text,FullText,Args)
  11680.  
  11681. end);
  11682.  
  11683. ]==]
  11684. A.Functions.CreateCommand([[Repeat Command]],{'loopthis';'loopthat';'repeat';'rt';},[[Repeat commands...First is name of the loop... Second value is number of loop... Third is delay (0 not wait())... The last is the command and command argument(s)... To stop loop say loop name first and last "abort!"]],[[-v-v-v]],3,function(Text,FullText,Args)
  11685.         if(A.Stuffs.Loops==nil)then
  11686.                 A.Stuffs.Loops={};
  11687.         end;
  11688.  
  11689.         local Value=Args[2]:lower()~='abort!'and true or nil;
  11690.  
  11691.         if(Value==true and A.Stuffs.Loops[Args[1]]~=nil)then
  11692.                 error(Args[1]..' already run...');
  11693.                 return nil;
  11694.         end;
  11695.         A.Stuffs.Loops[Args[1]]=Value;
  11696.         if(A.Stuffs.Loops[Args[1]]==nil)then
  11697.                 return nil;
  11698.         end;
  11699.         local Repeat=tonumber(Args[2]);
  11700.         local Delay=tonumber(Args[3]);
  11701.         local Command=A.Data.Start..FullText:match(Args[1]..A.Data.Step..Args[2]..A.Data.Step..Args[3]..A.Data.Step..'(.+)');
  11702.         if(Delay>0)then
  11703.                 for i=1,Repeat do
  11704.                         if(A.Stuffs.Loops[Args[1]]==true)then
  11705.                                 A.Functions.SearchCommand(Command);
  11706.                                 Wait(Delay);
  11707.                         else
  11708.                                 break;
  11709.                         end;
  11710.                 end;
  11711.         else
  11712.                 for i=1,Repeat do
  11713.                         A.Functions.Thread(function()
  11714.                                 A.Functions.SearchCommand(Command);
  11715.                         end);
  11716.                 end;
  11717.         end;
  11718.         A.Stuffs.Loops[Args[1]]=nil;
  11719. end);
  11720. A.Functions.CreateCommand([[Dummy]],{'dummy';'doll';},[[Dummy for testing lol... Add player name for or Vector3 position and for last number of dummies... For remove all, the first argument should be "remove!"]],[[-v-v]],2,function(Text,FullText,Args)
  11721.         if(Args[1] and Args[1]:lower()=='remove!')then
  11722.                 for i,v in next,A.Service.Workspace:children()do
  11723.                         if(v:FindFirstChild'Remso - Dummy')then
  11724.                                 A.Functions.Remove(v,true);
  11725.                         end;
  11726.                 end;
  11727.                 return nil;
  11728.         end;
  11729.         local Repeat=tonumber(Args[2])or 1;
  11730.         local Load,Position=pcall(function()return loadstring('local c={...};return c[1]('..Args[1]..')')(A.Old.CFrame.new);end);
  11731.         if(Load==false)then Position=A.Functions.Players(Args[1])[1].Character.Torso.CFrame;end;
  11732.         for i=1,Repeat do
  11733.                 local Dummy=A.Functions.Peace('Model',{
  11734.                                 Parent=A.Service.Workspace;
  11735.                                 Name='Dummy';
  11736.                         }
  11737.                 );
  11738.                 A.Old.Instance.NewObject('BoolValue',Dummy).Name='Remso - Dummy';
  11739.                 A.Old.Instance.NewObject('Humanoid',Dummy);
  11740.                 A.Functions.Peace('Part',{
  11741.                                 CFrame=Position*CFrame.Angles(0,math.rad(360/Repeat*i),0)*CFrame.new(5+.2*Repeat,0,0);
  11742.                                 Size=Vector3.new(2,2,1);
  11743.                                 BottomSurface=0;
  11744.                                 TopSurface=0;
  11745.                                 formFactor=3;
  11746.                                 Parent=Dummy;
  11747.                                 Name='Torso';
  11748.                         }
  11749.                 );
  11750.                 A.Functions.Heal(Dummy);
  11751.                 A.Old.Instance.NewObject('SpecialMesh',Dummy.Head).Scale=Vector3.new(1.25,1.25,1.25);
  11752.                 A.Functions.Peace('Decal',{
  11753.                                 Texture='rbxasset://textures/face.png';
  11754.                                 Parent=Dummy.Head;
  11755.                                 Name='face';
  11756.                                 Face=5;
  11757.                         }
  11758.                 );
  11759.         end;
  11760. end);
  11761. A.Functions.CreateCommand([[Wall Hack]],{'wallhack';'wall_hack';'wh';},[[Wall hack... Add number for transparency value! The base value is 0.5]],[[-v]],1,function(Text,FullText,Args)
  11762.         local Transparency=tonumber(Args[1])or .5;
  11763.         A.Functions.All(A.Service.Workspace,function(Part)
  11764.                 if(Part:IsA'BasePart')then
  11765.                         Part.AlphaModifier=Transparency;
  11766.                 end;
  11767.         end);
  11768. end);
  11769. A.Functions.CreateCommand([[Teleport To A Place]],{'toplace';'tplace';'tpl';},[[Teleport to other places...]],[[-v-p]],2,function(Text,FullText,Args)
  11770.         local Teleport_ID=tonumber(Args[1]);
  11771.         A.Functions.Players(Args[2],function(Self)
  11772.                 if(Self==A.User.C)then
  11773.                         A.Services.TeleportService:Teleport(Teleport_ID);
  11774.                 else
  11775.                         A.Functions.CreateScript('LocalScript',Self,[[
  11776.                                 Game:service'TeleportService':Teleport(]]..Teleport_ID..[[);
  11777.                         ]]);
  11778.                 end;
  11779.         end);
  11780. end);
  11781. A.Functions.CreateCommand([[Execution]],{'execution';'execute';'exe';},[[Like localscripting but this works only for admin...]],[[-t]],0,function(Text,FullText,Args)
  11782.         local Exe=A.Old.Instance.NewObject'StringValue';
  11783.                 Exe.Name='Ohgal_Execution';
  11784.                 Exe.Parent=A.User.C;
  11785.                 Exe.Value=FullText;
  11786. end);
  11787. A.Functions.CreateCommand([[Resize Character]],{'resize';},[[Character resizing OLaloOLAolaol]],[[-p-v]],2,function(Text,FullText,Args)
  11788.         local Size=tonumber(Args[2]);
  11789.         if(Size==nil)then
  11790.                 return nil;
  11791.         end;
  11792.         A.Functions.Players(Args[1],function(Self)
  11793.                 A.Functions.ResizeChar(Self.Character,Size);
  11794.         end);
  11795. end);
  11796. A.Functions.CreateCommand([[Give Weapons]],{'giveweapons';'gws';},[[Give weapons from somebody to somebody...]],[[-p-p]],2,function(Text,FullText,Args)
  11797.         local Backpack=A.Functions.FindObject(A.Functions.Players(Args[2])[1],'className','Backpack');
  11798.         if(Backpack~=nil)then
  11799.                 A.Functions.Players(Args[1],function(Self)
  11800.                         if(Self.Character~=nil)then
  11801.                                 for i,v in next,Self.Character:children()do
  11802.                                         if(v.className=='Tool')then
  11803.                                                 v.Parent=Backpack;
  11804.                                         end;
  11805.                                 end;
  11806.                         end;
  11807.                         for i,v in next,Self.Backpack:children()do
  11808.                                 if(v.className=='Tool'or v.className=='HopperBin')then
  11809.                                         v.Parent=Backpack;
  11810.                                 end;
  11811.                         end;
  11812.                 end);
  11813.         end;
  11814. end);
  11815. A.Functions.CreateCommand([[Be Cute]],{'becute';'bc';},[[Be cute?]],[[-p]],1,function(Text,FullText,Args)
  11816.         A.Functions.Players(Args[1],function(Self)
  11817.                 local Parent=Self.Character;
  11818.  
  11819.                 if(Parent==nil)then
  11820.                         return nil;
  11821.                 end;
  11822.  
  11823.                 local StarterPos=A.Old.Vector3.Pax;
  11824.  
  11825.                 local Round=15;
  11826.                 local Asd=Round/5;
  11827.                 local Radius=.8*Parent.Torso.Size.X/2;
  11828.  
  11829.                 local PSize=.5;
  11830.  
  11831.                 local P={};
  11832.                 local Num=0;
  11833.  
  11834.                 for i,v in next,Parent:children()do
  11835.                         if(v.Name=='Pentagramma')then
  11836.                                 A.Functions.Remove(v,true);
  11837.                         elseif(v.Name=='Black Metal Set')then
  11838.                                 for i,v in next,v:children()do
  11839.                                         if(v.className=='Part')then
  11840.                                                 A.Functions.Remove(v,true);
  11841.                                         end;
  11842.                                 end;
  11843.                         end;
  11844.                 end;
  11845.  
  11846.                 local Warehouse=A.Old.Instance.NewObject('Model',Parent);
  11847.                         Warehouse.Name='Pentagramma';
  11848.  
  11849.                 for i=0,Round do
  11850.                         local Rad=math.rad((360/Round*i)+180);
  11851.                         local Pos=A.Old.Vector3.new(
  11852.                                 math.sin(Rad)*Radius,
  11853.                                 math.cos(Rad)*Radius,
  11854.                                 -Parent.Torso.Size.Z/2
  11855.                         );
  11856.                         if(i~=0)then Num=Num+1;
  11857.                                 if(Num==Asd)then
  11858.                                         Num=0;
  11859.                                         P[#P+1]=Pos;
  11860.                                 end;
  11861.                                 A.Functions.Peace('BlockMesh',{
  11862.                                                 Scale=A.Old.Vector3.new(PSize,PSize,(StarterPos-Pos).Magnitude*5.2)+A.Old.Vector3.new(math.random()/10,0,0);
  11863.                                                 Parent=A.Functions.CreateWeld(
  11864.                                                         Parent.Torso,
  11865.                                                         A.Functions.Peace('Part',{
  11866.                                                                         BrickColor=BrickColor.new(199);
  11867.                                                                         CFrame=Parent.Torso.CFrame;
  11868.                                                                         Size=A.Old.Vector3.Pax;
  11869.                                                                         CanCollide=false;
  11870.                                                                         Parent=Warehouse;
  11871.                                                                         formFactor=3;
  11872.                                                                 }
  11873.                                                         ),
  11874.                                                         A.Old.CFrame.new(StarterPos,Pos)*A.Old.CFrame.new(0,0,-(StarterPos-Pos).Magnitude/2)
  11875.                                                 ).Part1;
  11876.                                         }
  11877.                                 );
  11878.                         end;
  11879.                         StarterPos=Pos;
  11880.                 end;
  11881.  
  11882.                 for i,v in next,{{1;4;};{1;3;};{2;4;};{2;5;};{3;5;};}do --Make better...
  11883.                         local StarterPos=P[v[1]];
  11884.                         local Pos=P[v[2]];
  11885.                        
  11886.                         local Weld=A.Old.Instance.NewObject('Weld',Warehouse);
  11887.                         A.Functions.Peace('BlockMesh',{
  11888.                                         Scale=A.Old.Vector3.new(PSize-.2,PSize-.2,(StarterPos-Pos).Magnitude*5.2)+Vector3.new(math.random()/10,0,0);
  11889.                                         Parent=A.Functions.CreateWeld(
  11890.                                                 Parent.Torso,
  11891.                                                 A.Functions.Peace('Part',{
  11892.                                                                 BrickColor=BrickColor.new(194);
  11893.                                                                 CFrame=Parent.Torso.CFrame;
  11894.                                                                 Size=A.Old.Vector3.Pax;
  11895.                                                                 CanCollide=false;
  11896.                                                                 Parent=Warehouse;
  11897.                                                                 formFactor=3;
  11898.                                                         }
  11899.                                                 ),
  11900.                                                 CFrame.new(StarterPos,Pos)*CFrame.new(0,0,-(StarterPos-Pos).Magnitude/2)
  11901.                                         ).Part1;
  11902.                                 }
  11903.                         );
  11904.                 end;
  11905.         end);
  11906. end);
  11907. A.Functions.CreateCommand([[Change Music]],{'cmp';'cmusic';},[[Change current music properties]],[[-r-v]],2,function(Text,FullText,Args)
  11908.         local Name='Ohgal_Music';
  11909.         local Music=A.Service.Workspace.CurrentCamera:FindFirstChild(Name)or A.Service.Lighting(Name);
  11910.         if(Music~=nil)then
  11911.                 Music=Music.className=='Tool'and Music:FindFirstChild(Name)or Music;
  11912.                 print(Music,Music.className);
  11913.                 for i,v in next,A.Functions.GetProperties(Music)do
  11914.                         if(i:lower():find(Args[1]:lower())==1)then
  11915.                                 Music[i]=loadstring('return '..Args[2])();
  11916.                         end;
  11917.                 end;
  11918.         end;
  11919. end);
  11920. A.Functions.CreateCommand([[Music]],{'play';'music';'mp';},[[asd...Arguments: 1.) name of the music or number of the music 2.) Public mode or Private mode (Base mode is Public!)]],[[-v-b]],2,function(Text,FullText,Args)
  11921.         for i,Place in next,{A.Service.Lighting;A.Service.Workspace.CurrentCamera;}do
  11922.                 for i,v in next,Place:children()do
  11923.                         if(v.className=='Sound'and v.Name=='Ohgal_Music')then
  11924.                                 v:stop();
  11925.                         end;
  11926.                 end;
  11927.         end;
  11928.  
  11929.         local Bool=A.Functions.ToBoolean(Args[2]);
  11930.         local Sound_Data=A.Functions.LoadSound('Musics',Args[1],true);
  11931.  
  11932.         loadstring([[
  11933.                 local Parent=]]..tostring(Bool)..[[ and Workspace.CurrentCamera or Game:service'Lighting';
  11934.                 local Sound=Parent:FindFirstChild'Ohgal_Music'or Instance.new'Sound';
  11935.                         Sound.SoundId=']]..A.Data.BaseUrl..Sound_Data.SoundId..[['
  11936.                         Sound.Pitch=]]..Sound_Data.Pitch..[[
  11937.                         Sound.Name='Ohgal_Music';
  11938.                         Sound.Parent=Parent;
  11939.                         Sound.Looped=true;
  11940.                         Sound:play();
  11941.         ]])();
  11942. end);
  11943. A.Functions.CreateCommand([[Kick]],{'kick';'bye';},[[Customed player'll leave from the game...]],[[-p]],1,function(Text,FullText,Args)
  11944.         A.Functions.Players(Args[1],function(Self)
  11945.                 if(Self~=A.User.C)then
  11946.                         if(A.Stuffs.ScriptPacket.LocalScript~=nil)then
  11947.                                 A.Functions.CreateScript('LocalScript',Self,[[script.Parent=nil;User.Parent=nil;User.Parent=Users;]]);
  11948.                         else
  11949.                                 A.Functions.Remove(Self);
  11950.                         end;
  11951.                 end;
  11952.         end);
  11953. end);
  11954. A.Functions.CreateCommand([[Create Part]],{'npart';'cpart';'part';},[[Part creating... For remove all parts you should add first argument "remove!" or nothing... Arguments: 1.) Size(n,n,n) 2.) BrickColor 3.) Collide 4.) Anchor 5.) Position(0,0,0)[ haven't to add ] 6.) Type of part]],[[-s-b-b-v-x-v]],6,function(Text,FullText,Args)
  11955.  
  11956.         if(Args[1]==nil or Args[1]:lower()=='remove!')then
  11957.                 A.Functions.All(Workspace,function(Part)
  11958.                         if(Part.Name=='Ohgal_Part')then
  11959.                                 A.Functions.Remove(Part,true);
  11960.                         end;
  11961.                 end);
  11962.                 return nil;
  11963.         end;
  11964.  
  11965.         local Size=A.Old.Vector3.new(loadstring('return '..Args[1])());
  11966.  
  11967.         local Position=Args[5]~=nil and A.Old.CFrame.new(A.Old.Vector3.new(loadstring('return '..Args[5])()))or
  11968.                 A.User.Char.Head.CFrame+A.User.Char.Head.CFrame.lookVector*A.Old.Vector3.new(Size.X,0,Size.Z).Magnitude;
  11969.        
  11970.         local Part=A.Functions.Peace(Args[6]~=nil and Args[6]or'Part',{
  11971.                         CanCollide=Args[3]~=nil and A.Functions.ToBoolean(Args[3])or true;
  11972.                         BrickColor=A.Old.BrickColor.new(Args[2]or 0);
  11973.                         Anchored=A.Functions.ToBoolean(Args[4]);
  11974.                         Name='Ohgal_Part';
  11975.                         Parent=Workspace;
  11976.                         CFrame=Position;
  11977.                         formFactor=3;
  11978.                         Size=Size;
  11979.                 }
  11980.         );
  11981.        
  11982. end);
  11983. A.Functions.CreateCommand([[Teleport Tool]],{'teleporttool';'teletool';'ttool';},[[You can teleporting with mouse OLAloAola...]],[[]],0,function(Text,FullText,Args)
  11984.         local Tool=A.Old.Instance.NewObject'Tool';
  11985.         local Handle=A.Functions.Peace('Part',{
  11986.                         Size=A.Old.Vector3.Pax;
  11987.                         Name='Handle';
  11988.                         formFactor=0;
  11989.                         Parent=Tool;
  11990.                 }
  11991.         );
  11992.  
  11993.         Delay(0,function()
  11994.                 Tool.Parent=A.User.Char;
  11995.         end);
  11996.  
  11997.  
  11998.         local Mouse=Tool.Equipped:wait();
  11999.  
  12000.         Mouse.Icon=A.Data.BaseUrl..65439473;
  12001.  
  12002.         Tool.Parent=nil;
  12003.  
  12004.  
  12005.         local Torso=A.User.Char.Torso;
  12006.  
  12007.         local Cts={};
  12008.  
  12009.         Cts[#Cts+1]=Mouse.Button1Down:connect(function()
  12010.                 if(Mouse.Target~=nil)then
  12011.                         Torso.Velocity=A.Old.Vector3.Pax;
  12012.                         Torso.RotVelocity=A.Old.Vector3.Pax;
  12013.                         Torso.CFrame=Torso.CFrame-Torso.CFrame.p+Mouse.Hit.p+A.Old.Vector3.Char;
  12014.                 end;
  12015.         end);
  12016.  
  12017.         local cTorso;
  12018.         local Grabbed;
  12019.         local Dragging=false;
  12020.         Cts[#Cts+1]=Mouse.KeyDown:connect(function(Key)
  12021.                 if(Key=='f')then
  12022.                         if(Mouse.Target~=nil and Mouse.Target~=Workspace)then
  12023.                                 local Humanoid=A.Functions.FindObject(Mouse.Target.Parent,'className','Humanoid');
  12024.                                 if(Humanoid~=nil and Humanoid.Torso~=nil)then
  12025.                                         cTorso=Humanoid.Torso;
  12026.                                         cTorso.Velocity=A.Old.Vector3.Pax;
  12027.                                         cTorso.RotVelocity=A.Old.Vector3.Pax;
  12028.                                         cTorso.CFrame=Torso.CFrame+(A.Old.Vector3.Char*2);
  12029.                                 end;
  12030.                         end;
  12031.                 elseif(Key=='e'and Dragging==false and Mouse.Target~=nil)then
  12032.                         local Target=Mouse.Target;
  12033.                         Grabbed=A.Functions.FindWithOutside(Target,Workspace);
  12034.                         Dragging=true;
  12035.                         A.Functions.Thread(function()
  12036.                                 Mouse.KeyUp:wait();
  12037.                                 Dragging=false;
  12038.                         end)
  12039.                         if(Grabbed:IsA'Part')then
  12040.                                 while(Dragging==true and Target.Anchored==false)do
  12041.                                         Mouse.Move:wait();
  12042.                                         if(Mouse.Target~=Target and Mouse.Target~=nil)then
  12043.                                                 Grabbed.CFrame=Mouse.Hit.p;
  12044.                                         end;
  12045.                                 end;
  12046.                         else
  12047.                                 while(Dragging==true)do
  12048.                                         Mouse.Move:wait();
  12049.                                         if(Mouse.Target~=Target and Mouse.Target~=nil and Target.Anchored==false)then
  12050.                                                 Grabbed:MoveTo(Mouse.Hit.p);
  12051.                                         end;
  12052.                                 end;
  12053.                         end;
  12054.                 end;
  12055.         end);
  12056.  
  12057.         A.Functions.Thread(function()
  12058.                 A.User.C.CharacterRemoving:wait();
  12059.  
  12060.                 for i,v in next,Cts do
  12061.                         v:disconnect();
  12062.                 end;
  12063.         end);
  12064. end);
  12065. A.Functions.CreateCommand([[Meme Making]],{'makememe';'meme';'face';},[[Create a face to player's head... first is name of the meme or customed image's url]],[[-p-v]],2,function(Text,FullText,Args)
  12066.         A.Functions.Players(Args[1],function(Self)
  12067.                 A.Functions.MakeMeme(Args[2],Self.Character);
  12068.         end);
  12069. end);
  12070. if(A.Stuffs.ScriptPacket.Script~=nil)then
  12071.         A.Functions.CreateCommand([[Script Creating]],{'s';'c';'lua';'do';'script';},[[Scripting]],[[-t]],1,function(Text,FullText,Args)
  12072.                 A.Functions.CreateScript('Script',A.Service.Workspace,FullText);
  12073.         end);
  12074.         A.Functions.CreateCommand([[Server Shutdown]],{'shutdown';},[[Shutdown server]],[[]],0,function(Text,FullText,Args)
  12075.                 A.Functions.CreateScript('Script',A.Service.Workspace,[[Instance.new('StringValue',Workspace).Value=string.rep('\n',9999999);]]);
  12076.         end);
  12077. end;
  12078. if(A.Stuffs.ScriptPacket.LocalScript~=nil)then
  12079.         A.Functions.CreateCommand([[Local Script Creating]],{'local';'ls';'l';'lual';},[[Local Scripting...If you want share "(start sginal)(command)(separator signal)share!(separator signal)[name of a player](separator signal)scriptSource"]],[[-t]],1,function(Text,FullText,Args)
  12080.                 if(Args[1]:lower()=='share!')then
  12081.                         FullText=FullText:match(Args[1]..A.Data.Step..'(.+)');
  12082.                         local List=FullText:match('([^'..A.Data.Step..']+)');
  12083.                         A.Functions.Players(List,function(Self)
  12084.                                 A.Functions.CreateScript('LocalScript',Self,FullText:match(List..A.Data.Step..'(.+)'));
  12085.                         end);
  12086.                 else
  12087.                         A.Functions.CreateScript('LocalScript',A.User.C,FullText);
  12088.                 end;
  12089.         end);
  12090.         A.Functions.CreateCommand([[Changing To Black Metal Guy]],{'bmg';},[[Black metal appearance]],[[-p]],1,function(Text,FullText,Args)
  12091.                 A.Functions.Players(Args[1],function(Self)
  12092.                         local Char=Self.Character;
  12093.                         local Head=Char.Head;
  12094.                         local BodyColors=Char:FindFirstChild'Body Colors';
  12095.                         if(BodyColors~=nil)then
  12096.                                 for Property,Bool in next,A.Functions.GetProperties(BodyColors)do
  12097.                                         if(Property~='HeadColor')then
  12098.                                                 BodyColors[Property]=A.Old.BrickColor.Black;
  12099.                                         else
  12100.                                                 BodyColors[Property]=A.Old.BrickColor.White;
  12101.                                         end;
  12102.                                 end;
  12103.                         end;
  12104.                         Delay(0,function()
  12105.                                 A.Functions.NukeChar(Char);
  12106.                                 local Face=Head:FindFirstChild'Decal'or
  12107.                                         Head:FindFirstChild'face'or
  12108.                                         A.Old.Instance.NewCreate('Decal',Head);
  12109.                                 if(Face)then
  12110.                                         Face.Texture=A.Data.BaseUrl..74447711;
  12111.                                         Face.Name='face';
  12112.                                 end;
  12113.                                 local Model=A.Functions.Peace('Model',{
  12114.                                                 Name='Black Metal Set';
  12115.                                                 Parent=Char;
  12116.                                         }
  12117.                                 );
  12118.                                 for i=0,1 do
  12119.                                         A.Old.Instance.NewObject('BlockMesh',
  12120.                                                 A.Functions.CreateWeld(Char.Torso,
  12121.                                                         A.Functions.Peace('Part',{
  12122.                                                                 Size=A.Old.Vector3.new(.25,i==0 and 1.5 or .75,.25);
  12123.                                                                 Name='Part Of Cross ('..tostring(i+1)..')';
  12124.                                                                 BrickColor=A.Old.BrickColor.White;
  12125.                                                                 BottomSurface=0;
  12126.                                                                 formFactor=3;
  12127.                                                                 TopSurface=0;
  12128.                                                                 Parent=Model;
  12129.                                                         }),
  12130.                                                         A.Old.CFrame.new(0,i==1 and -.25 or 0,-.5),
  12131.                                                         i==1 and A.Old.CFrame.Angles(0,0,math.rad(90))or
  12132.                                                         A.Old.CFrame.Pax
  12133.                                                 ).Part1
  12134.                                         ).Scale=A.Old.Vector3.new(1,1,i==0 and 1 or .99);
  12135.                                 end;
  12136.                                 Wait(.3);
  12137.                                 for i,v in next,Char:children()do
  12138.                                         if(v.className=='Part')then
  12139.                                                 v.BrickColor=v.Name=='Head'and A.Old.BrickColor.White or A.Old.BrickColor.Black;
  12140.                                         end;
  12141.                                 end;
  12142.                                 A.Functions.CreateScript('LocalScript',Model,[=[
  12143.                                         local face=Game.Players.LocalPlayer.Character.Head.face;
  12144.                                         local open=face.Texture;
  12145.                                         local close=open:gsub('%d+','74468845');
  12146.                                         while(Wait(math.random(10,200)/10))do
  12147.                                                 face.Texture=close;
  12148.                                                 Wait(math.random(1,3)/10);
  12149.                                                 face.Texture=open;
  12150.                                         end;
  12151.                                 ]=]);
  12152.                         end);
  12153.                 end);
  12154.         end);
  12155. end;
  12156. A.Functions.CreateCommand([[Settings Change]],{'settings';'setting';'set';},[[Change settings...1.)name of the setting (Don't need write the full name!) 2.) on/off... TO CHANGE ALL SAY "all!"]],[[-v-b]],2,function(Text,FullText,Args)
  12157.         local Name=Args[1]:lower();
  12158.         local Bool=A.Functions.ToBoolean(Args[2]);
  12159.         local Message=A.Service.Workspace:FindFirstChild'SettingChangedMsg'or A.Old.Instance.NewObject('Hint',A.Service.Workspace);
  12160.         local OldText;Delay(7,function()if(OldText==nil or Message.Text==OldText)then A.Functions.Remove(Message,true);end;end);
  12161.                 Message.Name='SettingChangedMsg';
  12162.                 Message.Text='Setting Changed:';
  12163.         for Name in Name:gmatch'([^,]+)'do
  12164.                 for i,v in next,A.Settings do
  12165.                         if(i:lower():find(Name)==1 or Name=='all!')then
  12166.                                 v.Value=Bool;
  12167.                                 Message.Text=Message.Text..' ('..i..' to '..tostring(Bool)..')';
  12168.                         end;
  12169.                 end;
  12170.         end;
  12171.         OldText=Message.Text;
  12172. end);
  12173. A.Functions.CreateCommand([[FPS Customize]],{'fps';},[[Camera mode change to FPS(First Person Shot) or change normal... only local]],[[-b]],1,function(Text,FullText,Args)
  12174.         A.User.C.CameraMode=A.Functions.ToBoolean(Args[1])==true and 1 or 0;
  12175. end);
  12176. A.Functions.CreateCommand([[Heal]],{'heal';'hpup';},[[Healing...]],[[-p]],1,function(Text,FullText,Args)
  12177.         A.Functions.Players(Args[1],function(Self)
  12178.                 A.Functions.Heal(Self.Character);
  12179.         end);
  12180. end);
  12181. A.Functions.CreateCommand([[Work]],{'work'},[[Do something to objects... arguments: 1.) Property 2.) Property Value 3.)New Property 4.) New Value 5.) Path... WHEN YOU WRITE FUNCTION USE THIS "{b{function(Object)end}b}"]],[[-p-v-v-i]],5,function(Text,FullText,Args)
  12182.         local Property=A.Functions.MatchProperty(Args[1]);
  12183.                
  12184.         local Value,Load=Args[2];
  12185.                 Load,Value=pcall(function()return loadstring('return '..Value)();end);
  12186.                 if(Load==false or Value==nil)then
  12187.                         Value=Args[2];
  12188.                 end;
  12189.  
  12190.         local NewProperty=(#Args[3]<30)and A.Functions.MatchProperty(Args[3])or nil;
  12191.                 if(NewProperty==nil)then
  12192.                         local _=Args[3];
  12193.                         Load,NewProperty=pcall(function()return loadstring('return '..Args[3])();end);
  12194.                         if(Load==false or NewProperty==nil)then
  12195.                                 NewProperty=_;
  12196.                         end;
  12197.                 end;
  12198.  
  12199.         local NewValue=Args[4];
  12200.                 Load,NewValue=pcall(function()return loadstring('return '..NewValue)();end);
  12201.                 if(Load==false)then
  12202.                         NewValue=Args[4];
  12203.                 end;
  12204.  
  12205.         local Path=Args[5];
  12206.         if(Args[5])then
  12207.                 Load,Path=pcall(function()return loadstring('return '..Path)();end);
  12208.         end;
  12209.         if(Load==false or Path==nil or type(Path)~='userdata')then
  12210.                 Path=Game;
  12211.         end;
  12212.  
  12213.  
  12214.         local Function=type(NewProperty)=='function';
  12215.         local TypeOfValue=type(Value);
  12216.  
  12217.         if(TypeOfValue=='string')then
  12218.                 A.Functions.All(Path,function(Object)
  12219.                         if(Object[Property]:lower():match(Value:lower()))then
  12220.                                 if(Function==true)then
  12221.                                         coroutine.wrap(NewProperty)(Object);
  12222.                                 else
  12223.                                         Object[NewProperty]=NewValue;
  12224.                                 end;
  12225.                         end;
  12226.                 end);
  12227.         else
  12228.                 A.Functions.All(Path,function(Object)
  12229.                         if(Object[Property]==Value)then
  12230.                                 if(Function==true)then
  12231.                                         coroutine.wrap(NewProperty)(Object);
  12232.                                 else
  12233.                                         Object[NewProperty]=NewValue;
  12234.                                 end;
  12235.                         end;
  12236.                 end);
  12237.         end;
  12238. end);
  12239. A.Functions.CreateCommand([[Lighting Property Change]],{'lc';'lightingchange';},[[...]],[[-r-v]],2,function(Text,FullText,Args)
  12240.         local Property,Value=Args[1]and Args[1]:lower()or'reset!';
  12241.         local Lighting=A.Service.Lighting;
  12242.         if(A.Stuffs.LightingColorProperties==nil)then
  12243.                 A.Stuffs.LightingColorProperties={
  12244.                         ColorShift_Bottom=true;
  12245.                         ColorShift_Top=true;
  12246.                         ShadowColor=true;
  12247.                         FogColor=true;
  12248.                         Ambient=true;
  12249.                 };
  12250.         end;
  12251.         if(Property=='newsky!')then
  12252.                 if(A.Stuffs.SkyIDs==nil)then
  12253.                         A.Stuffs.SkyIDs={
  12254.                                 ['Walls Of Autumn']=47347;
  12255.                                 ['The Utter East']=47346;
  12256.                                 ['Shiverfrost']=311594;
  12257.                                 ['Starry Night']=47344;
  12258.                                 ['Winterness']=311580;
  12259.                                 ['Broken Sky']=47339;
  12260.                                 ['John Tron']=47431;
  12261.                                 ['Alien Red']=47410;
  12262.                                 ['Oblivion']=47343;
  12263.                         };
  12264.                 end;
  12265.                 for i,v in next,A.Service.Lighting:children()do
  12266.                         if(v.className=='Sky')then
  12267.                                 A.Functions.Remove(v,true);
  12268.                         end;
  12269.                 end;
  12270.                 local ID=tonumber(Args[2]);
  12271.                 if(ID==nil and Args[2]~=nil)then
  12272.                         for i,v in next,A.Stuffs.SkyIDs do
  12273.                                 if(i:lower():find(Args[2]:lower())==1)then
  12274.                                         ID=v;break;
  12275.                                 end;
  12276.                         end;
  12277.                 end;
  12278.                 if(ID~=nil)then
  12279.                         A.Service.InsertService:LoadAsset(ID):children()[1].Parent=A.Service.Lighting;
  12280.                 else
  12281.                         A.Old.Instance.NewObject('Sky',A.Service.Lighting);
  12282.                 end;
  12283.         end;
  12284.         if(Property=='reset!')then A.Functions.ResetLighting();end;
  12285.         for i,v in next,A.Functions.GetProperties(Lighting)do
  12286.                 if(i:lower():find(Property)==1)then
  12287.                         Value=A.Stuffs.LightingColorProperties[i]and loadstring('return Color3.new('..Args[2]..');')''or Args[2];
  12288.                         Lighting[i]=Value;
  12289.                 end;
  12290.         end;
  12291. end);
  12292. A.Functions.CreateCommand([[Change Humanoid Property]],{'hc';'humchange';'hcange';},[[...]],[[-p-r-v]],3,function(Text,FullText,Args)
  12293.         local Property;
  12294.         for i,v in next,A.Functions.GetProperties'Humanoid'do
  12295.                 if(i:lower():find(Args[2]:lower())==1)then
  12296.                         Property=i;
  12297.                         break;
  12298.                 end;i,v=nil;
  12299.         end;
  12300.         A.Functions.Players(Args[1],function(Self)
  12301.                 A.Functions.FindObject(Self.Character,'className','Humanoid')[Property]=Args[3];
  12302.         end);
  12303. end);
  12304. A.Functions.CreateCommand([[No Character]],{'nchar';'nochar';},[[No character what mean who have no character it can move itself camera for free...]],[[-p]],1,function(Text,FullText,Args)
  12305.         A.Functions.Players(Args[1],function(Self)
  12306.                 if(Self.Character)then
  12307.                         A.Functions.Remove(Self.Character);
  12308.                 end;
  12309.                 Self.Character=nil;
  12310.         end);
  12311. end);
  12312. A.Functions.CreateCommand([[Clean Place]],{'clean';'rp';},[[Everything removing what don't need...]],[[]],0,function(Text,FullText,Args)
  12313.         A.Functions.Clean();
  12314. end);
  12315. A.Functions.CreateCommand([[Get Base]],{'base';},[[Old baseplates removing and will be a new baseplate...]],[[]],0,function(Text,FullText,Args)
  12316.         A.Functions.GetBase();
  12317. end);
  12318. A.Functions.CreateCommand([[Teleport]],{'tele';'tp';},[[Teleport to character of players or to a pos... (Value) is either CFrame position or Player name]],[[-p-v]],2,function(Text,FullText,Args)
  12319.         local Load,Position=pcall(function()return loadstring('_={...};return _[1]('..Args[2]..');')(A.Old.CFrame.new);end);
  12320.         if(Load==false or Position==nil)then
  12321.                 Position=A.Functions.Players(Args[2])[1].Character.Torso.CFrame;
  12322.         end;
  12323.         A.Functions.Players(Args[1],function(Self)
  12324.                 Self.Character.Torso.Velocity=A.Old.Vector3.Pax;
  12325.                 Self.Character.Torso.RotVelocity=A.Old.Vector3.Pax;
  12326.                 Self.Character.Torso.CFrame=Position+A.Old.Vector3.Char;
  12327.         end);
  12328. end);
  12329. A.Functions.CreateCommand([[Explosion]],{'exp';'explosion';},[[Explosion creating...first value is player name or position second is BlastRadius of created explosion]],[[-v-v]],2,function(Text,FullText,Args)
  12330.         local Load,Position=pcall(function()return loadstring('_={...};return _[1]('..Args[1]..');')(A.Old.CFrame.new).p;end);
  12331.         local Explosion=A.Old.Instance.NewObject'Explosion';
  12332.         if(Args[2])then Explosion.BlastRadius=Args[2];end;
  12333.         if(Load==true)then
  12334.                 Explosion.Position=Position;
  12335.                 Explosion.Parent=A.Service.Workspace;
  12336.         else
  12337.                 A.Functions.Players(Args[1],function(Self)
  12338.                         Explosion.Parent=nil;
  12339.                         Explosion.Position=Self.Character.Torso.Position;
  12340.                         Explosion.Parent=A.Service.Workspace;
  12341.                 end);
  12342.         end;
  12343. end);
  12344. A.Functions.CreateCommand([[Nuke]],{'nuke';'nake';},[[Characters to be nake]],[[-p]],1,function(Text,FullText,Args)
  12345.         A.Functions.Players(Args[1],function(Self)
  12346.                 A.Functions.NukeChar(Self.Character);
  12347.         end);
  12348. end);
  12349. A.Functions.CreateCommand([[Stop]],{'stop';},[[Stop game...]],[[]],0,function(Text,FullText,Args)
  12350.         Delay(0,function()
  12351.                 for i,v in next,Game:children()do
  12352.                         pcall(function()
  12353.                                 for i,v in next,v:children()do
  12354.                                         if(v~=script)then
  12355.                                                 pcall(v.Destroy,v);
  12356.                                         end;i,v=nil;
  12357.                                 end;
  12358.                                 v:Destroy();
  12359.                         end);i,v=nil;
  12360.                 end;
  12361.         end);
  12362.         local User=A.User.C;
  12363.         A.Functions.Uninstall();A=nil;
  12364.         User.Parent=nil;User.Parent=Game:service'Players';
  12365. end);
  12366. A.Functions.CreateCommand([[Gravitation]],{'grav';},[[This put back characters gravitation to normal]],[[-p]],1,function(Text,FullText,Args)
  12367.         A.Functions.Players(Args[1],function(Self)
  12368.                 if(Self.Character)then
  12369.                         A.Functions.All(Self.Character,function(Object)
  12370.                                 if(Object.Name=='LolBodyForce')then
  12371.                                         A.Functions.Remove(Object,true);
  12372.                                 end;
  12373.                         end);
  12374.                 end;
  12375.         end);
  12376. end);
  12377. A.Functions.CreateCommand([[Set Gravitation]],{'setgrav';'sg';},[[Character gravitation will change]],[[-p-v]],2,function(Text,FullText,Args)
  12378.         local Plus=Args[2]or 0;
  12379.         A.Functions.Players(Args[1],function(Self)
  12380.                 if(Self.Character)then
  12381.                         local bf;
  12382.                         A.Functions.All(Self.Character,function(Part)
  12383.                                 if(Part:IsA'BasePart')then
  12384.                                         bf=Part:FindFirstChild'LolBodyForce'or A.Old.Instance.NewObject'BodyForce';
  12385.                                         bf.force=A.Old.Vector3.new(0,Part:GetMass()*-Plus*2,0);
  12386.                                         bf.Name='LolBodyForce';
  12387.                                         bf.Parent=Part;
  12388.                                 end;
  12389.                         end);
  12390.                 end;
  12391.         end);
  12392. end);
  12393. A.Functions.CreateCommand([[Rotate]],{'rotate';'rot';},[[Trip character...(Value) is radian value]],[[-p-v]],2,function(Text,FullText,Args)
  12394.         local Rad=A.Old.CFrame.Angles(math.rad(Args[2]or 180),0,0);
  12395.         A.Functions.Players(Args[1],function(Self)
  12396.                 Self.Character.Torso.CFrame=Rad+Self.Character.Torso.Position;
  12397.                 Self.Character.Torso.RotVelocity=A.Old.Vector3.Pax;
  12398.                 Self.Character.Torso.Velocity=A.Old.Vector3.Pax;
  12399.         end);
  12400. end);
  12401. A.Functions.CreateCommand([[Fix Camera]],{'fixcam';'fc';},[[Your old camera removing and new creating]],[[]],0,function(Text,FullText,Args)
  12402.         A.Functions.Remove(A.Service.Workspace.CurrentCamera,true);
  12403.         local Camera=A.Service.Workspace.Changed:wait()and A.Service.Workspace.CurrentCamera;
  12404.         Camera.CameraSubject=A.User.Char;
  12405.         Camera.CameraType='Custom';
  12406. end);
  12407. A.Functions.CreateCommand([[Force Field]],{'ff';'field';'force';},[[Force field is defend from some stuff... exemple: explosions]],[[-p-b]],2,function(Text,FullText,Args)
  12408.         local Bool=A.Functions.ToBoolean(Args[2]);
  12409.         A.Functions.Players(Args[1],function(Self)
  12410.                 for i,v in next,Self.Character:children()do
  12411.                         if(v.className=='ForceField')then
  12412.                                 A.Functions.Remove(v,true);
  12413.                         end;i,v=nil;
  12414.                 end;
  12415.                 if(Bool==true)then
  12416.                         A.Old.Instance.NewObject('ForceField',Self.Character).Name='';
  12417.                 end;
  12418.         end);
  12419. end);
  12420. A.Functions.CreateCommand([[Uninstall]],{'uninstall';},[[Admin will uninstall]],[[]],0,function(Text,FullText,Args)
  12421.         local Hint=A.Old.Instance.NewObject('Hint',A.Service.Workspace);
  12422.                 Hint.Text='"Remso -  Local Admin" uninstalled!';
  12423.                 Delay(10,function()
  12424.                         Hint.Parent=nil;
  12425.                 end);
  12426.         A.Functions.Uninstall();
  12427.         A=nil;
  12428. end);
  12429. A.Functions.CreateCommand([[Kill]],{'kill';'die';'d';},[[Kill customed player]],[[-p]],1,function(Text,FullText,Args)
  12430.         A.Functions.Players(Args[1],function(Self)
  12431.                 local c=A.Old.Instance.NewObject('ObjectValue',A.Functions.FindObject(Self.Character,'className','Humanoid'));
  12432.                         c.Name='creator';
  12433.                         c.Value=A.User.C;
  12434.                 Self.Character.Torso.RotVelocity=A.Old.Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100));
  12435.                 Self.Character:BreakJoints();
  12436.         end);
  12437. end);
  12438. A.Functions.CreateCommand([[Reset Character]],{'respawn';'rs';'reset';},[[Old character removing and customed player get new character]],[[-p]],1,function(Text,FullText,Args)
  12439.         A.Functions.Players(Args[1],function(Self)
  12440.                 A.Functions.ResetChar(Self);
  12441.         end);
  12442. end);
  12443. A.Functions.CreateCommand([[Loadstring]],{'load';'loadstring';},[[load your chatted text...]],[[-t]],0,function(Text,FullText,Args)
  12444.         loadstring([[func=...;]]..FullText,'Ohgod')(A.Functions);
  12445. end);
  12446. --[[Command create end;]]
  12447. end;
  12448. --[[Create Sounds]]
  12449.         A.Functions.AddSound('Musics',{SoundId=27697713;Pitch=3;Volume=1;Looped=true;Name='Daniel Bautista - Music for a Film'})
  12450.         A.Functions.AddSound('Musics',{SoundId=27697743;Pitch=3;Volume=1;Looped=true;Name='Zero Project - Gothic'})
  12451.         A.Functions.AddSound('Musics',{SoundId=27697277;Pitch=1.37;Volume=1;Looped=true;Name='Positively Dark - Awakening'})
  12452.         A.Functions.AddSound('Musics',{SoundId=27697735;Pitch=2;Volume=1;Looped=true;Name='Jeff Syndicate - Hip Hop'})
  12453.         A.Functions.AddSound('Musics',{SoundId=1015394;Pitch=1;Volume=1;Looped=true;Name='Wind Of Fjords'})
  12454.         A.Functions.AddSound('Musics',{SoundId=11420933;Pitch=1;Volume=1;Looped=true;Name='TOPW (idk)'})
  12455.         A.Functions.AddSound('Musics',{SoundId=11231513;Pitch=1;Volume=1;Looped=true;Name='Toccata and Fugue in D minor'})
  12456.         A.Functions.AddSound('Musics',{SoundId=27697719;Pitch=2.4;Volume=1;Looped=true;Name='Daniel Bautista - Flight of the Bumblebee'})
  12457.         A.Functions.AddSound('Musics',{SoundId=11060062;Pitch=1;Volume=1;Looped=true;Name='Fast-Forward'})
  12458.         A.Functions.AddSound('Musics',{SoundId=45819151;Pitch=1;Volume=1;Looped=true;Name='background Song1'})
  12459.         A.Functions.AddSound('Musics',{SoundId=27697707;Pitch=1;Volume=1;Looped=true;Name='Daniel Bautista - Intro'})
  12460.         A.Functions.AddSound('Musics',{SoundId=27697707;Pitch=2;Volume=1;Looped=true;Name='Daniel Bautista - Intro (fast)'})
  12461.         A.Functions.AddSound('Musics',{SoundId=5986151;Pitch=1;Volume=1;Looped=true;Name='Woman King'})
  12462.         A.Functions.AddSound('Musics',{SoundId=9650822;Pitch=1;Volume=1;Looped=true;Name='S4Tunnel'})
  12463.         A.Functions.AddSound('Musics',{SoundId=11420922;Pitch=1;Volume=1;Looped=true;Name='DOTR'})
  12464.         A.Functions.AddSound('Musics',{SoundId=8610025;Pitch=1;Volume=1;Looped=true;Name='NerezzaSong'})
  12465.         A.Functions.AddSound('Musics',{SoundId=35930009;Pitch=.9;Volume=1;Looped=true;Name='Troll'})
  12466.         A.Functions.AddSound('Musics',{SoundId=1372260;Pitch=1;Volume=1;Looped=true;Name='Only one lul'})
  12467.         A.Functions.AddSound('Musics',{SoundId=8663653;Pitch=1;Volume=1;Looped=true;Name='Zen'})
  12468. --[[Sounds end;]]
  12469. A.Functions.Uninstall();
  12470. A.Functions.Thread(A.Functions.Install);
  12471. local Client=Game:FindFirstChild'NetworkClient';
  12472. if(Client~=nil)then
  12473.         Client.ChildRemoved:wait();
  12474.         local Message=A.Old.Instance.new('Hint',Workspace);
  12475.                 Message.Text='Admin script removed!';
  12476.         A.Functions.Uninstall();
  12477.         for i,v in next,Game:children()do
  12478.                 pcall(function()
  12479.                         pcall(function()v:Destroy();end);
  12480.                         if(v.Parent~=nil)then
  12481.                                 for i,v in next,v:children()do
  12482.                                         pcall(function()
  12483.                                                 v.Parent=nil;
  12484.                                                 v:Destroy();
  12485.                                         end);
  12486.                                 end;
  12487.                         end;
  12488.                 end);
  12489.         end;
  12490. end;
  12491. end;
  12492. if(Game.PlaceId==0)then
  12493.         Main();
  12494. else
  12495.         Delay(2,function()
  12496.                 Main();
  12497.                 --loadstring(string.dump(Main),'Ohgal')();
  12498.         end);
  12499. end;
  12500.         end)
  12501. --
  12502. local button = Instance.new("TextButton")
  12503.         button.Parent = acg
  12504.         button.BackgroundColor3 = blak
  12505.         button.BorderColor3 = rede
  12506.         button.BorderSizePixel = 3
  12507.         button.Name = "X Admin"
  12508.         button.Position = UDim2.new(0,0,0,165)
  12509.         button.Size = UDim2.new(0.499,0,0,30)
  12510.         button.ZIndex = 2
  12511.         button.Font = tef
  12512.         button.FontSize = "Size14"
  12513.         button.Text = "X Admin"
  12514.         button.TextColor3 = whit
  12515.         button.MouseButton1Down:connect(function()
  12516.                 playername100 = game.Players.LocalPlayer.Name
  12517. script.Parent = nil
  12518. script:ClearAllChildren()
  12519. XAdminsAdmin = playername100
  12520. XAdminsAdminPlayer = game:GetService("Players"):findFirstChild(XAdminsAdmin)
  12521. XAdmin = {
  12522. AdminsSoundAdminMusic = {
  12523. AdminMusic = {
  12524. {ID = "http://www.roblox.com/Asset/?id=1015394",PITCH = 1,NAME = "WindOfFjords"};
  12525. {ID = "http://www.roblox.com/Asset/?id=1034065",PITCH = 1,NAME = "Halo Theme"};
  12526. {ID = "http://www.roblox.com/Asset/?id=1077604",PITCH = 1,NAME = "M.U.L.E."};
  12527. {ID = "http://www.roblox.com/Asset/?id=1280414",PITCH = 1,NAME = "Final Destination"};
  12528. {ID = "http://www.roblox.com/Asset/?id=1280463",PITCH = 1,NAME = "Chrono Trigger Theme"};
  12529. {ID = "http://www.roblox.com/Asset/?id=1280470",PITCH = 1,NAME = "SM64 Theme"};
  12530. {ID = "http://www.roblox.com/Asset/?id=1280473",PITCH = 1,NAME = "FFVII Battle AC"};
  12531. {ID = "http://www.roblox.com/Asset/?id=1372257",PITCH = 1,NAME = "Cursed Abbey"};
  12532. {ID = "http://www.roblox.com/Asset/?id=1372260",PITCH = 1,NAME = "One Winged Angel"};
  12533. {ID = "http://www.roblox.com/Asset/?id=1372262",PITCH = 1,NAME = "Star Fox Theme"};
  12534. {ID = "http://www.roblox.com/Asset/?id=1372261",PITCH = 1,NAME = "Pokemon Theme"};
  12535. {ID = "http://www.roblox.com/Asset/?id=1372259",PITCH = 1,NAME = "Fire Emblem"};
  12536. {ID = "http://www.roblox.com/Asset/?id=2027611",PITCH = 1,NAME = "Rickroll"};
  12537. {ID = "http://www.roblox.com/Asset/?id=2303479",PITCH = 1,NAME = "Lol"};
  12538. {ID = "http://www.roblox.com/Asset/?id=5985787",PITCH = 1,NAME = "Schala"};
  12539. {ID = "http://www.roblox.com/Asset/?id=5986151",PITCH = 1,NAME = "WomanKing"};
  12540. {ID = "http://www.roblox.com/Asset/?id=5982975",PITCH = 1,NAME = "TheBuzzer"};
  12541. {ID = "http://www.roblox.com/Asset/?id=110735374",PITCH = 1,NAME = "Darkest Child 2"};
  12542. {ID = "http://www.roblox.com/Asset/?id=110735379",PITCH = 1,NAME = "Movement Proposition 2"};
  12543. {ID = "http://www.roblox.com/Asset/?id=45819151",PITCH = 1,NAME = "Temple Of The Ninja Masters"};
  12544. {ID = "http://www.roblox.com/Asset/?id=11420933",PITCH = 1,NAME = "TOPW"};
  12545. {ID = "http://www.roblox.com/Asset/?id=27697707",PITCH = 3,NAME = "Daniel Bautista - Intro"};
  12546. {ID = "http://www.roblox.com/Asset/?id=27697707",PITCH = 1,NAME = "Daniel Bautista - Intro(Pitch 1)"};
  12547. {ID = "http://www.roblox.com/Asset/?id=8610025",PITCH = 1,NAME = "Nerezza"};
  12548. {ID = "http://www.roblox.com/Asset/?id=27697735",PITCH = 3,NAME = "Jeff Syndicate - Hip Hop"};
  12549. {ID = "http://www.roblox.com/Asset/?id=27697743",PITCH = 3,NAME = "Zero Project - Gothic"};
  12550. {ID = "http://www.roblox.com/Asset/?id=27697713",PITCH = 3,NAME = "Daniel Bautista - Music for a Film"};
  12551. {ID = "http://www.roblox.com/Asset/?id=27697719",PITCH = 3,NAME = "Daniel Bautista - Flight of the Bumblebee"};
  12552. {ID = "http://www.roblox.com/Asset/?id=27697699",PITCH = 3,NAME = "Daniel Bautista - Gothic"};
  12553. };
  12554. };
  12555. ExplorerServices = {
  12556. Workspace = game:GetService("Workspace");
  12557. Lighting = game:GetService("Lighting");
  12558. Players = game:GetService("Players");
  12559. Teams = game:GetService("Teams");
  12560. StarterGui = game:GetService("StarterGui");
  12561. StarterPack = game:GetService("StarterPack");
  12562. };
  12563. InsertHatAndGearsIDs = {
  12564. InsertHatIDs = {
  12565. {ID = "1031429",NAME = "Domino crown"};
  12566. {ID = "21070012",NAME = "Dominus Empyreus"};
  12567. {ID = "96103379",NAME = "Dominus Vespertilio"};
  12568. {ID = "48545806",NAME = "Dominus Frigidus"};
  12569. {ID = "31101391",NAME = "Dominus Infernus"};
  12570. {ID = "64444871",NAME = "Dominus Messor"};
  12571. {ID = "72082328",NAME = "Red Sparkle Time Fedora"};
  12572. {ID = "63043890",NAME = "Purple Sparkletime Fedora"};
  12573. {ID = "1285307",NAME = "Sparkle Time Fedora"};
  12574. {ID = "100929604",NAME = "Green Sparkle Time Fedora"};
  12575. {ID = "11748356",NAME = "Clockwork's Shades"};
  12576. {ID = "1235488",NAME = "Clockwork's Headphones"};
  12577. };
  12578. };
  12579. ExplorerProperties = {
  12580. "AbsolutePosition","AbsoluteSize","AccountAge","AccountAgeReplicate",
  12581. "Active","Adornee","AllowAmbientOcclusion","AllowTeamChangeOnTouch","AluminumQuality",
  12582. "AlwaysOnTop","Ambient","AmbientReverb","Anchored","Angularvelocity","AnimationId",
  12583. "Archivable","AreHingesDetected","AttachmentForward","AttachmentPoint","AttachmentPos",
  12584. "AttachmentRight","AttachmentUp","AutoAssignable","AutoButtonColor","AutoColorCharacters",
  12585. "AvailablePhysicalMemory","Axes","BackgroundColor","BackgroundColor3","BackgroundTransparency",
  12586. "BaseTextureId","BaseUrl","Bevel","Roundness","BinType","BlastPressure","BlastRadius",
  12587. "BodyColor","BodyPart","BorderColor","BorderColor3","BorderSizePixel","BrickColor",
  12588. "Brightness","Browsable","BubbleChat","BubbleChatLifetime","BubbleChatMaxBubbles",
  12589. "Bulge","Button1DownConnectionCount","Button1UpConnectionCount","Button2DownConnectionCount",
  12590. "Button2UpConnectionCount","C0","C1","CameraMode","CameraSubject","CameraType",
  12591. "CanBeDropped","CanCollide","CartoonFactor","CastShadows","CelestialBodiesShown",
  12592. "CFrame","Cframe","Character","CharacterAppearance","CharacterAutoLoads","ChatScrollLength",
  12593. "ClassicChat","ClassName","ClearTextOnFocus","ClipsDescendants","CollisionSoundEnabled",
  12594. "CollisionSoundVolume","Color","Bottom","Top","ConstrainedValue","ControllingHumanoid",
  12595. "ControlMode","ConversationDistance","CoordinateFrame","CorrodedMetalQuality","CPU",
  12596. "CpuCount","CpuSpeed","CreatorId","CreatorType","CurrentAngle","CurrentCamera",
  12597. "CycleOffset","D","DataCap","DataComplexity","DataComplexityLimit","DataCost",
  12598. "DataReady","Deprecated","DeselectedConnectionCount","DesiredAngle","DiamondPlateQuality",
  12599. "Disabled","DistanceFactor","DistributedGameTime","DopplerScale","Draggable","DraggingV1",
  12600. "Duration","EditorFont","EditorFontSize","EditorTabWidth","ElapsedTime","Elasticity",
  12601. "Enabled","ExplosionType","ExtentsOffset","F0","F1","F2","F3","Face","FaceId","Faces",
  12602. "FieldOfView","Focus","FogColor","FogEnd","FogStart","Font","FontSize","Force","FormFactor",
  12603. "Friction","From","GearGenreSetting","Genre","GeographicLatitude","GfxCard","Graphic",
  12604. "GrassQuality","Grip","GripForward","GripPos","GripRight","GripUp","Guest","HeadsUpDisplay",
  12605. "Health","Heat","Hit","Humanoid","IceQuality","Icon","IdleConnectionCount","Image",
  12606. "InitialPrompt","InOut","InUse","IsPaused","IsPlaying","JobId","Jump","KeyDownConnectionCount",
  12607. "KeyUpConnectionCount","LeftLeg","LeftRight","LinkedSource","LocalPlayer","Location",
  12608. "Locked","LODX","LODY","Looped","Material","MaxActivationDistance","MaxCollisionSounds",
  12609. "MaxExtents","MaxForce","MaxHealth","MaxItems","MaxPlayers","MaxSpeed","MaxThrust",
  12610. "MaxTorque","MaxValue","MaxVelocity","MembershipType","MembershipTypeReplicate","MeshId",
  12611. "MeshType","MinValue","Modal","MouseButton1ClickConnectionCount","MouseButton1DownConnectionCount",
  12612. "MouseButton1UpConnectionCount","MouseButton2ClickConnectionCount","MouseButton2DownConnectionCount",
  12613. "MouseButton2UpConnectionCount","MouseDelta","MouseDragConnectionCount","MouseEnterConnectionCount",
  12614. "MouseHit","MouseLeaveConnectionCount","MouseLock","MouseMovedConnectionCount","MouseTarget",
  12615. "MouseTargetFilter","MouseTargetSurface","MoveConnectionCount","MoveState","MultiLine","Name",
  12616. "NameOcclusion","NetworkOwner","Neutral","NumPlayers","Offset","Opacity","Origin","OsPlatform",
  12617. "OsVer","OverlayTextureId","P","PantsTemplate","ParamA","ParamB","Parent","Part","Part0",
  12618. "Part1","Pitch","PixelShaderModel","PlaceId","PlasticQuality","PlatformStand","PlayCount",
  12619. "PlayerToHideFrom","PlayOnRemove","Point","Port","Position","Preliminary","PrimaryPart",
  12620. "PrivateWorkingSetBytes","Purpose","RAM","Reflectance","ReplicatedSelectedConnectionCount",
  12621. "ResizeableFaces","ResizeIncrement","Resolution","ResponseDialog","RightLeg","RiseVelocity",
  12622. "RobloxLocked","RobloxVersion","RolloffScale","RotVelocity","Scale","Score","ScriptsDisabled",
  12623. "SecondaryColor","Selected","ShadowColor","Shape","Shiny","ShirtTemplate","ShowDeprecatedObjects",
  12624. "ShowDevelopmentGui","ShowPreliminaryObjects","Sides","Sit","Size","SizeConstraint",
  12625. "SizeOffset","SkinColor","SkyboxBk","SkyboxDn","SkyboxFt","SkyboxLf","SkyboxRt","SkyboxUp",
  12626. "SlateQuality","SoundId","Source","SparkleColor","Specular","StarCount",
  12627. "Steer","StickyWheels","StudsBetweenTextures","StudsOffset","StudsPerTileU","StudsPerTileV",
  12628. "Style","Summary","SuperSafeChatReplicate","Surface","Surface0",
  12629. "Surface1","SurfaceInput","Target","TargetFilter","TargetOffset","TargetPoint",
  12630. "TargetRadius","TargetSurface","TeamColor","Terrain","Text","TextBounds","TextColor","TextColor3",
  12631. "TextFits","TextScaled","TextStrokeColor3","TextStrokeTransparency","TextTransparency","Texture",
  12632. "TextureId","TextureSize","TextWrap","TextWrapped","TextXAlignment","TextYAlignment","Throttle",
  12633. "ThrustD","ThrustP","Ticket","Time","TimeOfDay","To","Tone","ToolTip","TopBottom","Torque","Torso",
  12634. "Transparency","TrussDetail","TurnD","TurnP","TurnSpeed","UnitRay","UserDialog","UserId","Value",
  12635. "Version","VertexColor","VideoCaptureEnabled","VideoMemory","VideoQuality",
  12636. "ViewSizeX","ViewSizeY","Visible","Volume","WalkDirection","WalkSpeed","WalkToPart","WalkToPoint",
  12637. "WheelBackwardConnectionCount","WheelForwardConnectionCount","WindowSize","WireRadius","WoodQuality",
  12638. "X","Y"
  12639. };
  12640. ThePeopleThatHaveJoinedWhileScriptRunning = {};
  12641. TheBnndNoobs = {
  12642. "inv".."aderzi".."mf".."an1233";
  12643. "robot".."mega";
  12644. };
  12645. }
  12646. OutputFunc = {}
  12647. function Output(message, img, clickFunction)
  12648. tab = Instance.new("Part", game:GetService("Workspace"))
  12649. tab.FormFactor = "Custom"
  12650. tab.Size = Vector3.new(2.7,3.7,0.01)
  12651. tab.Anchored = true
  12652. tab.BrickColor = BrickColor.new("Really red")
  12653. tab.CanCollide = false
  12654. tab.Transparency = 0.3
  12655. if clickFunction == nil then
  12656. else
  12657. click = Instance.new("ClickDetector", tab)
  12658. click.MaxActivationDistance = math.huge
  12659. click.MouseClick:connect(function(play)
  12660. if play.Name == XAdminsAdminPlayer.Name then
  12661. loadstring(string.dump(clickFunction()))()
  12662. end
  12663. end)
  12664. end
  12665. box = Instance.new("SelectionBox", tab)
  12666. box.Adornee = tab
  12667. box.Color = BrickColor.new("Really black")
  12668. mesh = Instance.new("BlockMesh", tab)
  12669. gui = Instance.new("BillboardGui", tab)
  12670. gui.Adornee = tab
  12671. gui.StudsOffset = Vector3.new(0,3,0)
  12672. gui.Size = UDim2.new(1,0,1,0)
  12673. text = Instance.new("TextLabel", gui)
  12674. text.Text = message
  12675. text.Position = UDim2.new(0.5,0,0.5,0)
  12676. text.Font = "ArialBold"
  12677. text.FontSize = "Size24"
  12678. text.TextColor3 = Color3.new(1,1,1)
  12679. text.TextStrokeColor3 = Color3.new(0,0,0)
  12680. text.TextStrokeTransparency = 0
  12681. image = Instance.new("ImageLabel", gui)
  12682. image.Position = UDim2.new(-2,0,-4.5,0)
  12683. image.Image = img
  12684. image.Size = UDim2.new(5,0,5,0)
  12685. image.BackgroundTransparency = 1
  12686. table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
  12687. end
  12688. function CheckForBanned(Plr)
  12689. for i,v in pairs(XAdmin.TheBnndNoobs) do
  12690. if Plr.Name:lower() == v:lower() then
  12691. repeat wait() until Plr:findFirstChild("PlayerGui")
  12692. Instance.new("StringValue",Plr.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
  12693. Output("B".."a".."nn".."ed user tried to join: "..Plr.Name,"http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..Plr.Name,function() DismissAll() end)
  12694. end
  12695. end
  12696. end
  12697. InsertHat = function(hatid)
  12698. x = game:GetService("InsertService"):LoadAsset(hatid)
  12699. for _, v in ipairs(x:GetChildren()) do
  12700. if v:IsA("Accoutrement") then
  12701. pcall(function() v.Parent = XAdminsAdminPlayer.Character end)
  12702. return v
  12703. end
  12704. end
  12705. return x
  12706. end
  12707. function GetProperties(obj)
  12708. assert(pcall(function() assert(game.IsA(obj,"Instance")) end),"Should be ROBLOX instance")
  12709. local objProper = {}
  12710. for i,v in pairs(XAdmin.ExplorerProperties) do
  12711. if pcall(function() return obj[v] end) and (type(obj[v]) ~= "userdata" or not obj:FindFirstChild(v)) then
  12712. objProper[v] = obj[v]
  12713. end
  12714. end
  12715. return objProper
  12716. end
  12717. function DismissOutput()
  12718. tab = Instance.new("Part", game:GetService("Workspace"))
  12719. tab.FormFactor = "Custom"
  12720. tab.Size = Vector3.new(2.7,3.7,0.01)
  12721. tab.Anchored = true
  12722. tab.BrickColor = BrickColor.new("Really black")
  12723. tab.CanCollide = false
  12724. tab.Transparency = 0.3
  12725. click = Instance.new("ClickDetector", tab)
  12726. click.MaxActivationDistance = math.huge
  12727. click.MouseClick:connect(function(ply)
  12728. if ply.Name == XAdminsAdminPlayer.Name then
  12729. DismissAll()
  12730. end
  12731. end)
  12732. box = Instance.new("SelectionBox", tab)
  12733. box.Adornee = tab
  12734. box.Color = BrickColor.new("Really red")
  12735. gui = Instance.new("BillboardGui", tab)
  12736. gui.Adornee = tab
  12737. gui.StudsOffset = Vector3.new(0,3,0)
  12738. gui.Size = UDim2.new(1,0,1,0)
  12739. text = Instance.new("TextLabel", gui)
  12740. text.Text = "Dismiss"
  12741. text.Position = UDim2.new(0.5,0,0.5,0)
  12742. text.Font = "ArialBold"
  12743. text.FontSize = "Size24"
  12744. text.TextColor3 = Color3.new(1,1,1)
  12745. text.TextStrokeColor3 = Color3.new(1,0,0)
  12746. text.TextStrokeTransparency = 0
  12747. table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
  12748. end
  12749. function match(str)
  12750. c = {}
  12751. if str:lower() == "me" then
  12752. return XAdminsAdminPlayer
  12753. end
  12754. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  12755. if v.Name:sub(1,str:len()):lower() == str:lower() then
  12756. return v
  12757. end
  12758. end
  12759. return c
  12760. end
  12761. function GetArgs(Text)
  12762. if Text == "" or type(Text) ~= "string" then return {""} end
  12763. local DivideCOMMAND = " "
  12764. local Position, Words = 0, {}
  12765. for Start, Stop in function() return string.find(Text, DivideCOMMAND, Position, true) end do
  12766. table.insert(Words, string.sub(Text, Position, Start - 1))
  12767. Position = Stop + 1
  12768. end
  12769. table.insert(Words, string.sub(Text, Position))
  12770. return Words
  12771. end
  12772. function ExplorerOfTheScript(ExploreThis)
  12773. if ExploreThis == game or ExploreThis == nil then
  12774. DismissOutput()
  12775. for i,Exploring in pairs(XAdmin.ExplorerServices) do
  12776. Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end)
  12777. end
  12778. else
  12779. Output("[ Delete Parent ]","",function()
  12780. DismissAll()
  12781. wait()
  12782. Output("Are you sure?","",nil)
  12783. Output("Yes","",function() DismissAll() ExploreThis:Destroy()
  12784. wait()
  12785. DismissOutput()
  12786. Output("[ Explorer ]","",function()
  12787. DismissAll()
  12788. ExplorerOfTheScript(game)
  12789. end)
  12790. end)
  12791. Output("No","",function() DismissAll() ExplorerOfTheScript(ExploreThis) end)
  12792. end)
  12793. Output("[ Go Back ]","",function()
  12794. DismissAll()
  12795. ExplorerOfTheScript(ExploreThis.Parent)
  12796. end)
  12797. Output("[ Refresh ]","",function()
  12798. DismissAll()
  12799. ExplorerOfTheScript(ExploreThis)
  12800. end)
  12801. Output("[ Get Parents Properties ]","",function()
  12802. DismissAll()
  12803. DismissOutput()
  12804. for property,value in pairs(GetProperties(ExploreThis)) do
  12805. Output(tostring(property).." = "..tostring(value),"",nil)
  12806. end
  12807. Output("[ Go Back ]","",function()
  12808. DismissAll()
  12809. ExplorerOfTheScript(ExploreThis)
  12810. end)
  12811. end)
  12812. DismissOutput()
  12813. for i,Exploring in pairs(ExploreThis:children()) do
  12814. Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end)
  12815. end
  12816. end
  12817. end
  12818. game:GetService("Players").PlayerAdded:connect(function(SaveThePlayer)
  12819. table.insert(XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning,{NAME = SaveThePlayer.Name})
  12820. CheckForBanned(SaveThePlayer)
  12821. end)
  12822. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  12823. CheckForBanned(v)
  12824. end
  12825. NumBanned = #XAdmin.TheBnndNoobs
  12826. Delay(0, function()
  12827. while wait() do
  12828. if #XAdmin.TheBnndNoobs ~= NumBanned then
  12829. NumBanned = #XAdmin.TheBnndNoobs
  12830. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  12831. CheckForBanned(v)
  12832. end
  12833. end
  12834. end
  12835. end)
  12836. commands = {
  12837. {COMMAND = "dismiss", name = "Dismiss", desc = "Dismisses all OutputFunc", func = function(arg)
  12838. DismissAll()
  12839. end
  12840. };
  12841. {COMMAND = "commands", name = "Commands", desc = "Shows all commands", func = function(arg)
  12842. pcall(function()
  12843. for i = 1, #commands do
  12844. Output(commands[i].name, "", function(ply)
  12845. DismissAll()
  12846. Output("Name: "..commands[i].name, "", nil)
  12847. Output("Use: "..commands[i].desc, "", nil)
  12848. Output("Command: "..commands[i].COMMAND, "", nil)
  12849. DismissOutput()
  12850. end)
  12851. end
  12852. DismissOutput()
  12853. end)
  12854. end
  12855. };
  12856. {COMMAND = "ping", name = "Ping", desc = "Makes a custom message", func = function(msg)
  12857. pcall(function()
  12858. if msg == "" then
  12859. Output("Pong!", "", function() DismissAll() end)
  12860. else
  12861. Output(msg, "", function() DismissAll() end)
  12862. end
  12863. end)
  12864. end
  12865. };
  12866. {COMMAND = "kill", name = "Kill", desc = "Kills the player you chose", func = function(msg)
  12867. pcall(function()
  12868. Founded = match(msg)
  12869. Founded.Character:BreakJoints()
  12870. end)
  12871. end
  12872. };
  12873. {COMMAND = "kic".."k", name = "Ki".."ck", desc = "Ki".."cks the player you chose", func = function(msg)
  12874. pcall(function()
  12875. Founded = match(msg)
  12876. Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
  12877. end)
  12878. end
  12879. };
  12880. {COMMAND = "crash", name = "Crash", desc = "Same as Kick", func = function(msg)
  12881. pcall(function()
  12882. Founded = match(msg)
  12883. Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shutd".."own",2e5+1)
  12884. end)
  12885. end
  12886. };
  12887. {COMMAND = "script", name = "Script", desc = "Makes a script", func = function(msg)
  12888. pcall(function()
  12889. loadstring(msg)()
  12890. end)
  12891. end
  12892. };
  12893. {COMMAND = "playmusic", name = "PlayMusic", desc = "Shows music and plays if clicked.", func = function(msg)
  12894. pcall(function()
  12895. for i = 1, #XAdmin.AdminsSoundAdminMusic.AdminMusic do
  12896. Output(XAdmin.AdminsSoundAdminMusic.AdminMusic[i].NAME, "", function()
  12897. MusicStuff = XAdmin.AdminsSoundAdminMusic.AdminMusic[i]
  12898. MusicPlay = Instance.new("Sound",XAdminsAdminPlayer.Character)
  12899. MusicPlay.Name = MusicStuff.NAME
  12900. MusicPlay.SoundId = MusicStuff.ID
  12901. MusicPlay.Pitch = MusicStuff.PITCH
  12902. MusicPlay.Looped = false
  12903. wait(0.2)
  12904. MusicPlay:Play()
  12905. DismissAll()
  12906. end)
  12907. end
  12908. end)
  12909. end
  12910. };
  12911. {COMMAND = "getage", name = "GetAge", desc = "Gets a players age.", func = function(msg)
  12912. pcall(function()
  12913. Founded = match(msg)
  12914. Output(Founded.Name.. " account age is " ..Founded.AccountAge, "", function() DismissAll() end)
  12915. end)
  12916. end
  12917. };
  12918. {COMMAND = "getid", name = "GetId", desc = "Gets a players id.", func = function(msg)
  12919. pcall(function()
  12920. Founded = match(msg)
  12921. Output(Founded.Name.. " account id is " ..Founded.userId, "", function() DismissAll() end)
  12922. end)
  12923. end
  12924. };
  12925. {COMMAND = "getpic", name = "GetPicture", desc = "Gets a players picture.", func = function(msg)
  12926. pcall(function()
  12927. Founded = match(msg)
  12928. Output(Founded.Name , "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" ..Founded.Name, function() DismissAll() end)
  12929. end)
  12930. end
  12931. };
  12932. {COMMAND = "explorer", name = "Explorer", desc = "Explorer", func = function(msg)
  12933. pcall(function()
  12934. ExplorerOfTheScript(game)
  12935. end)
  12936. end
  12937. };
  12938. {COMMAND = "shut".."down", name = "Shut".."down", desc = "Shut".."down's a server", func = function(msg)
  12939. pcall(function()
  12940. Instance.new("StringValue",game.Workspace).Value = string.rep("Shu".."tdown",2e5+1)
  12941. end)
  12942. end
  12943. };
  12944. {COMMAND = "inserthat", name = "InsertHat", desc = "Inserts A Hat.", func = function(msg)
  12945. pcall(function()
  12946. for i = 1, #XAdmin.InsertHatAndGearsIDs.InsertHatIDs do
  12947. Output(XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function()
  12948. InsertHat(XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].ID)
  12949. DismissAll()
  12950. Output("Inserted:" ..XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function() DismissAll() end)
  12951. end)
  12952. end
  12953. end)
  12954. end
  12955. };
  12956. {COMMAND = "showstuff", name = "ShowStuff", desc = "Shows server stuff.", func = function(msg)
  12957. pcall(function()
  12958. for _,v in pairs(XAdmin.ExplorerServices) do
  12959. Output(v.Name..": "..tostring(#v:GetChildren()),"",function() DismissAll() end)
  12960. end
  12961. end)
  12962. end
  12963. };
  12964. {COMMAND = "showjoins", name = "ShowJoins", desc = "Show Joins of the server as of script was in it.", func = function(msg)
  12965. pcall(function()
  12966. for i = 1, #XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning do
  12967. Output(XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning[i].NAME, "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" ..XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning[i].NAME, function() DismissAll() end)
  12968. end
  12969. if #XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning == 0 then
  12970. Output("No joins since script ran","",function() DismissAll() end)
  12971. end
  12972. end)
  12973. end
  12974. };
  12975. {COMMAND = "b".."a".."n", name = "B".."a".."n", desc = "B".."a".."n".."s a player.", func = function(msg)
  12976. pcall(function()
  12977. Founded = match(msg)
  12978. table.insert(XAdmin.TheBnndNoobs,Founded.Name)
  12979. end)
  12980. end
  12981. };
  12982. }
  12983. function AddCommand(COMMAND,Name,Desc,Func)
  12984. table.insert(commands, {COMMAND = COMMAND, name = Name, desc = Desc, func = Func})
  12985. end
  12986. function DismissAll()
  12987. for i = 1, #OutputFunc do
  12988. Delay(0, function()
  12989. for a = 0, 1, .1 do
  12990. OutputFunc[i].Output.Transparency = a
  12991. OutputFunc[i].sb.Transparency = a
  12992. OutputFunc[i].txt.TextTransparency = a
  12993. wait()
  12994. end
  12995. end)
  12996. end
  12997. while wait() do
  12998. if OutputFunc[1].Output.Transparency == 1 then
  12999. break
  13000. end
  13001. end
  13002. for i = 1, #OutputFunc do
  13003. OutputFunc[i].Output:Destroy()
  13004. OutputFunc[i] = nil
  13005. end
  13006. OutputFunc = {}
  13007. end
  13008. Output("Loaded", "", function() DismissAll() end)
  13009. Output("This is made by X8Q NO ONE ELSE!", "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=X8Q", function() DismissAll() end)
  13010. function DisconnectChatting()
  13011. DismissAll()
  13012. chatConnection:disconnect()
  13013. end
  13014. function COMMANDsFunc(msg)
  13015. local find = GetArgs(msg)[1]
  13016. for i,v in pairs(commands) do
  13017. if msg:lower():sub(1, v.COMMAND:len()) == v.COMMAND:lower() then
  13018. local COMMAND = msg:sub(v.COMMAND:len()+2)
  13019. v.func(COMMAND)
  13020. end
  13021. end
  13022. end
  13023. chatConnection = XAdminsAdminPlayer.Chatted:connect(COMMANDsFunc)
  13024. rotation = 0
  13025. while wait() do
  13026. rotation = rotation + 0.0001
  13027. pcall(function()
  13028. for i = 1, #OutputFunc do
  13029. pcall(function()
  13030. position = XAdminsAdminPlayer.Character.Torso.CFrame
  13031. end)
  13032. radius = 5 + (#OutputFunc * 0.5)
  13033. x = math.cos((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius
  13034. y = 0
  13035. z = math.sin((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius
  13036. pcall(function()
  13037. tposition = position:toWorldSpace(CFrame.new(x,y,z):inverse())
  13038. end)
  13039. pcall(function()
  13040. OutputFunc[i].Output.CFrame = CFrame.new(tposition.p, position.p) * CFrame.Angles(math.rad(25),0,0)
  13041. end)
  13042. end
  13043. end)
  13044. end
  13045.         end)
  13046. --
  13047. local button = Instance.new("TextButton")
  13048.         button.Parent = acg
  13049.         button.BackgroundColor3 = blak
  13050.         button.BorderColor3 = rede
  13051.         button.BorderSizePixel = 3
  13052.         button.Name = "Lag Gui"
  13053.         button.Position = UDim2.new(0.5,3,0,165)
  13054.         button.Size = UDim2.new(0.5,-3,0,30)
  13055.         button.ZIndex = 2
  13056.         button.Font = tef
  13057.         button.FontSize = "Size14"
  13058.         button.Text = "Lag Gui"
  13059.         button.TextColor3 = whit
  13060.         button.MouseButton1Down:connect(function()
  13061.         whoownit = game.Players.LocalPlayer
  13062. gui = Instance.new("ScreenGui")
  13063. gui.Parent = whoownit.PlayerGui
  13064. gui.Name = "Lag"
  13065. pos = 135
  13066. pos2 = 10
  13067. pos3 = 0
  13068. enabled = false
  13069. button = Instance.new("TextButton")
  13070. button.Parent = gui
  13071. button.Size = UDim2.new(0, 100, 0, 30)
  13072. button.Position = UDim2.new(0, 8, 0, pos)
  13073. button.Text = "Lag"
  13074. button.MouseButton1Click:connect(function()
  13075. if enabled == false then
  13076. enabled = true
  13077. local a = game.Players:GetChildren()
  13078. red = 0
  13079. green = 0.5
  13080. blue = 0
  13081. for i=1, #a do
  13082. wait()
  13083. pos2 = pos2 + 23
  13084. if pos2 >= 450 then
  13085. pos3 = pos3 + 103
  13086. pos2 = 33
  13087. end
  13088. if green <= 0.9 then
  13089. green = green + 0.46
  13090. elseif green >= 0.9 then
  13091. green = green - 0.46
  13092. end
  13093. local bu = Instance.new("TextButton")
  13094. bu.Parent = button
  13095. bu.Size = UDim2.new(0, 100, 0, 20)
  13096. bu.Position = UDim2.new(0, pos3, 0, pos2)
  13097. bu.Text = a[i].Name
  13098. bu.BackgroundTransparency = 1
  13099. bu.TextTransparency = 1
  13100. bu.BackgroundColor3 = Color3.new(red,green,blue)
  13101. coroutine.resume(coroutine.create(function()
  13102. for i=1, 3 do
  13103. wait()
  13104. bu.BackgroundTransparency = bu.BackgroundTransparency - 0.34
  13105. bu.TextTransparency = bu.BackgroundTransparency
  13106. end
  13107. end))
  13108. bu.MouseButton1Down:connect(function()
  13109. local play = game.Players:findFirstChild(bu.Text)
  13110. if play ~= nil then
  13111. for i=1,3600 do
  13112. Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
  13113. end
  13114. wait()
  13115. for i=1,3600 do
  13116. Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
  13117. end
  13118. wait()
  13119. for i=1,3600 do
  13120. Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
  13121. end
  13122. wait()
  13123. for i=1,13000 do
  13124. Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
  13125. end
  13126. wait()
  13127. for i=1,3600 do
  13128. Instance.new("HopperBin",play.Backpack).Name = "fuck u"
  13129. end
  13130. bu.Text = "Lagged!"
  13131. end
  13132. end)
  13133. end
  13134. elseif enabled == true then
  13135. enabled = false
  13136. pos2 = 10
  13137. pos3 = 0
  13138. local o = button:GetChildren()
  13139. for i=1, #o do
  13140. wait()
  13141. o[i]:remove()
  13142. end
  13143. end
  13144. end)   
  13145.         end)
  13146. --
  13147. local button = Instance.new("TextButton")
  13148.         button.Parent = acg
  13149.         button.BackgroundColor3 = blak
  13150.         button.BorderColor3 = rede
  13151.         button.BorderSizePixel = 3
  13152.         button.Name = "Global Message Gui"
  13153.         button.Position = UDim2.new(0,0,0,198)
  13154.         button.Size = UDim2.new(0.499,0,0,30)
  13155.         button.ZIndex = 3
  13156.         button.Font = tef
  13157.         button.FontSize = "Size14"
  13158.         button.Text = "Global Message Gui"
  13159.         button.TextColor3 = whit
  13160.         button.TextWrapped = true
  13161.         button.MouseButton1Down:connect(function()
  13162.                 gui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  13163. box = Instance.new("TextBox",gui)
  13164. box.Size = UDim2.new(0,100,0,100)
  13165. msg = Instance.new("TextButton",gui)
  13166. msg.Size = UDim2.new(0,100,0,50)
  13167. msg.Position = UDim2.new(.5,0,0,0)
  13168. msg.MouseButton1Click:connect(function()
  13169. for _,v in pairs(game.Players:GetChildren()) do
  13170. game:service'Chat':Chat(v.Character.Head,box.Text,Enum.ChatColor.Blue)
  13171. wait()
  13172. game:service'Chat':Chat(v.Character.Head,box.Text,Enum.ChatColor.Red)
  13173. wait()
  13174. game:service'Chat':Chat(v.Character.Head,box.Text,Enum.ChatColor.Green)
  13175. end
  13176. end)
  13177.         end)
  13178. --
  13179. local button = Instance.new("TextButton")
  13180.         button.Parent = acg
  13181.         button.BackgroundColor3 = blak
  13182.         button.BorderColor3 = rede
  13183.         button.BorderSizePixel = 3
  13184.         button.Name = "Empty"
  13185.         button.Position = UDim2.new(0.5,3,0,198)
  13186.         button.Size = UDim2.new(0.5,-3,0,30)
  13187.         button.ZIndex = 2
  13188.         button.Font = tef
  13189.         button.FontSize = "Size14"
  13190.         button.Text = "Empty"
  13191.         button.TextColor3 = whit
  13192.         button.MouseButton1Down:connect(function()
  13193.                
  13194.         end)
  13195. -- Server Destruction --
  13196. local button = Instance.new("TextButton")
  13197.         button.Parent = sd
  13198.         button.BackgroundColor3 = blak
  13199.         button.BorderColor3 = rede
  13200.         button.BorderSizePixel = 3
  13201.         button.Name = "Flood"
  13202.         button.Position = UDim2.new(0,0,0,33)
  13203.         button.Size = UDim2.new(0.5,0,0,30)
  13204.         button.ZIndex = 2
  13205.         button.Font = tef
  13206.         button.FontSize = "Size14"
  13207.         button.Text = "Flood"
  13208.         button.TextColor3 = whit
  13209.         button.MouseButton1Down:connect(function()
  13210.                 game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")   
  13211.         end)
  13212. --
  13213. local button = Instance.new("TextButton")
  13214.         button.Parent = sd
  13215.         button.BackgroundColor3 = blak
  13216.         button.BorderColor3 = rede
  13217.         button.BorderSizePixel = 3
  13218.         button.Name = "Clear Terrain"
  13219.         button.Position = UDim2.new(0.5,3,0,33)
  13220.         button.Size = UDim2.new(0.5,-3,0,30)
  13221.         button.ZIndex = 2
  13222.         button.Font = tef
  13223.         button.FontSize = "Size14"
  13224.         button.Text = "Clear Terrain"
  13225.         button.TextColor3 = whit
  13226.         button.TextWrapped = true
  13227.         button.MouseButton1Down:connect(function()
  13228.                 game.Workspace.Terrain:Clear()
  13229.         end)
  13230. --
  13231. local button = Instance.new("TextButton")
  13232.         button.Parent = sd
  13233.         button.BackgroundColor3 = blak
  13234.         button.BorderColor3 = rede
  13235.         button.BorderSizePixel = 3
  13236.         button.Name = "Apoc Troll"
  13237.         button.Position = UDim2.new(0,0,0,66)
  13238.         button.Size = UDim2.new(0.5,0,0,30)
  13239.         button.ZIndex = 2
  13240.         button.Font = tef
  13241.         button.FontSize = "Size14"
  13242.         button.Text = "Apoc Troll"
  13243.         button.TextColor3 = whit
  13244.         button.TextWrapped = true
  13245.         button.MouseButton1Down:connect(function()
  13246.                 ds = CFrame.new(game.Players.LocalPlayer.Character.Head.Position)
  13247. wait()
  13248. for i,v in pairs(game.Players:GetChildren()) do
  13249. if v.Name == game.Players.LocalPlayer.Name then
  13250. else
  13251. v.Character.Torso.CFrame = ds * CFrame.new(math.random(0,50),0,math.random(0,50))
  13252. v.Character:BreakJoints()
  13253. end
  13254. end
  13255.         end)
  13256. --
  13257. local button = Instance.new("TextButton")
  13258.         button.Parent = sd
  13259.         button.BackgroundColor3 = blak
  13260.         button.BorderColor3 = rede
  13261.         button.BorderSizePixel = 3
  13262.         button.Name = "Set Skybox"
  13263.         button.Position = UDim2.new(0.5,3,0,66)
  13264.         button.Size = UDim2.new(0.5,-3,0,30)
  13265.         button.ZIndex = 2
  13266.         button.Font = tef
  13267.         button.FontSize = "Size14"
  13268.         button.Text = "Set Skybox"
  13269.         button.TextColor3 = whit
  13270.         button.TextWrapped = true
  13271.         button.MouseButton1Down:connect(function()
  13272. local s = Instance.new("Sky")
  13273. s.Name = "Sky"
  13274. s.Parent = game.Lighting
  13275. local skyboxID = game.CoreGui.CoolGui.Frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text
  13276. s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID
  13277. s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID
  13278. s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID
  13279. s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID
  13280. s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID
  13281. s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID
  13282. game.Lighting.TimeOfDay = 12           
  13283.         end)
  13284. --
  13285. local button = Instance.new("TextButton")
  13286.         button.Parent = sd
  13287.         button.BackgroundColor3 = blak
  13288.         button.BorderColor3 = rede
  13289.         button.BorderSizePixel = 3
  13290.         button.Name = "Unanchor All"
  13291.         button.Position = UDim2.new(0,0,0,99)
  13292.         button.Size = UDim2.new(0.499,0,0,30)
  13293.         button.ZIndex = 2
  13294.         button.Font = tef
  13295.         button.FontSize = "Size14"
  13296.         button.Text = "Unanchor All"
  13297.         button.TextColor3 = whit
  13298.         button.TextWrapped = true
  13299.         button.MouseButton1Down:connect(function()
  13300.                 function exPro(root)
  13301. for _, v in pairs(root:GetChildren()) do
  13302. if v:IsA("BasePart") then
  13303. v.Material = "Plastic"
  13304. v.Transparency = 0
  13305. v.Anchored = false
  13306. v.Locked = false
  13307. end
  13308. exPro(v)
  13309. end
  13310. end
  13311. function asdf(root)
  13312. for _, v in pairs(root:GetChildren()) do
  13313. asdf(v)
  13314. end
  13315. end
  13316. exPro(game.Workspace)
  13317. asdf(game.Workspace)
  13318.         end)
  13319. --
  13320. local button = Instance.new("TextButton")
  13321.         button.Parent = sd
  13322.         button.BackgroundColor3 = blak
  13323.         button.BorderColor3 = rede
  13324.         button.BorderSizePixel = 3
  13325.         button.Name = "Decal Spam"
  13326.         button.Position = UDim2.new(0.5,3,0,99)
  13327.         button.Size = UDim2.new(0.5,-3,0,30)
  13328.         button.ZIndex = 2
  13329.         button.Font = tef
  13330.         button.FontSize = "Size14"
  13331.         button.Text = "Decal Spam"
  13332.         button.TextColor3 = whit
  13333.         button.MouseButton1Down:connect(function()
  13334.                 decalID = frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text
  13335. function exPro(root)
  13336. for _, v in pairs(root:GetChildren()) do
  13337. if v:IsA("Decal") and v.Texture ~= "http://www.roblox.com/asset/?id="..decalID then
  13338. v.Parent = nil
  13339. elseif v:IsA("BasePart") then
  13340. v.Material = "Plastic"
  13341. v.Transparency = 0
  13342. local One = Instance.new("Decal", v)
  13343. local Two = Instance.new("Decal", v)
  13344. local Three = Instance.new("Decal", v)
  13345. local Four = Instance.new("Decal", v)
  13346. local Five = Instance.new("Decal", v)
  13347. local Six = Instance.new("Decal", v)
  13348. One.Texture = "http://www.roblox.com/asset/?id="..decalID
  13349. Two.Texture = "http://www.roblox.com/asset/?id="..decalID
  13350. Three.Texture = "http://www.roblox.com/asset/?id="..decalID
  13351. Four.Texture = "http://www.roblox.com/asset/?id="..decalID
  13352. Five.Texture = "http://www.roblox.com/asset/?id="..decalID
  13353. Six.Texture = "http://www.roblox.com/asset/?id="..decalID
  13354. One.Face = "Front"
  13355. Two.Face = "Back"
  13356. Three.Face = "Right"
  13357. Four.Face = "Left"
  13358. Five.Face = "Top"
  13359. Six.Face = "Bottom"
  13360. end
  13361. exPro(v)
  13362. end
  13363. end
  13364. function asdf(root)
  13365. for _, v in pairs(root:GetChildren()) do
  13366. asdf(v)
  13367. end
  13368. end
  13369. exPro(game.Workspace)
  13370. asdf(game.Workspace)
  13371.         end)
  13372. --
  13373. local button = Instance.new("TextButton")
  13374.         button.Parent = sd
  13375.         button.BackgroundColor3 = blak
  13376.         button.BorderColor3 = rede
  13377.         button.BorderSizePixel = 3
  13378.         button.Name = "Force Teleport"
  13379.         button.Position = UDim2.new(0,0,0,132)
  13380.         button.Size = UDim2.new(0.499,0,0,30)
  13381.         button.ZIndex = 2
  13382.         button.Font = tef
  13383.         button.FontSize = "Size14"
  13384.         button.Text = "Force Teleport"
  13385.         button.TextColor3 = whit
  13386.         button.TextWrapped = true
  13387.         button.MouseButton1Down:connect(function()
  13388.  
  13389.         local placeID = frame.Settings.Page1["Place ID"].TextBox.Text
  13390. local hax = [[for i,v in pairs(game.Players:GetChildren()) do
  13391. game:GetService'TeleportService':Teleport(]]..placeID..[[,v.Character)
  13392. end
  13393. ]]
  13394. local x = workspace["Kohl's Admin Commands V2"].ScriptBase
  13395. x.Code.Value = hax
  13396. wait()
  13397. x.Disabled = false
  13398.         end)
  13399. --
  13400. local button = Instance.new("TextButton")
  13401.         button.Parent = sd
  13402.         button.BackgroundColor3 = blak
  13403.         button.BorderColor3 = rede
  13404.         button.BorderSizePixel = 3
  13405.         button.Name = "Clear Workspace"
  13406.         button.Position = UDim2.new(0.5,3,0,132)
  13407.         button.Size = UDim2.new(0.5,-3,0,30)
  13408.         button.ZIndex = 2
  13409.         button.Font = tef
  13410.         button.FontSize = "Size14"
  13411.         button.Text = "Clear Workspace"
  13412.         button.TextColor3 = whit
  13413.         button.TextWrapped = true
  13414.         button.MouseButton1Down:connect(function()
  13415.                 game.Workspace:ClearAllChildren()
  13416.         end)
  13417. --
  13418. local button = Instance.new("TextButton")
  13419.         button.Parent = sd
  13420.         button.BackgroundColor3 = blak
  13421.         button.BorderColor3 = rede
  13422.         button.BorderSizePixel = 3
  13423.         button.Name = "Kill All"
  13424.         button.Position = UDim2.new(0,0,0,165)
  13425.         button.Size = UDim2.new(0.5,0,0,30)
  13426.         button.ZIndex = 2
  13427.         button.Font = tef
  13428.         button.FontSize = "Size14"
  13429.         button.Text = "Kill All"
  13430.         button.TextColor3 = whit
  13431.         button.MouseButton1Down:connect(function()
  13432.                 for i,v in pairs(game.Players:GetChildren()) do
  13433. v.Character:BreakJoints()
  13434. end
  13435.         end)
  13436. --
  13437. local button = Instance.new("TextButton")
  13438.         button.Parent = sd
  13439.         button.BackgroundColor3 = blak
  13440.         button.BorderColor3 = rede
  13441.         button.BorderSizePixel = 3
  13442.         button.Name = "Kick All"
  13443.         button.Position = UDim2.new(0.5,3,0,165)
  13444.         button.Size = UDim2.new(0.5,-3,0,30)
  13445.         button.ZIndex = 2
  13446.         button.Font = tef
  13447.         button.FontSize = "Size14"
  13448.         button.Text = "Kick All"
  13449.         button.TextColor3 = whit
  13450.         button.MouseButton1Down:connect(function()
  13451.                 for i,v in pairs(game.Players:GetChildren()) do
  13452. v:Remove()     
  13453. end
  13454.         end)
  13455. --
  13456. local button = Instance.new("TextButton")
  13457.         button.Parent = sd
  13458.         button.BackgroundColor3 = blak
  13459.         button.BorderColor3 = rede
  13460.         button.BorderSizePixel = 3
  13461.         button.Name = "Create Baseplate"        button.Position = UDim2.new(0,0,0,198)
  13462.         button.Size = UDim2.new(0.5,0,0,30)
  13463.         button.ZIndex = 2
  13464.         button.Font = tef
  13465.         button.FontSize = "Size14"
  13466.         button.Text = "Create Baseplate"
  13467.         button.TextColor3 = whit
  13468.         button.TextWrapped = true
  13469.         button.MouseButton1Down:connect(function()
  13470.                 local pt = Instance.new("Part")
  13471. pt.BrickColor = BrickColor.new("Silver")
  13472. pt.Anchored = true
  13473. pt.CanCollide = true
  13474. pt.BottomSurface = "Weld"
  13475. pt.Parent = workspace
  13476. pt.Name = (math.random(1,1000000))
  13477. pt.Size = Vector3.new(1000, 1, 1000)
  13478.         end)
  13479. --
  13480. local button = Instance.new("TextButton")
  13481.         button.Parent = sd
  13482.         button.BackgroundColor3 = blak
  13483.         button.BorderColor3 = rede
  13484.         button.BorderSizePixel = 3
  13485.         button.Name = "Intimidation"
  13486.         button.Position = UDim2.new(0.5,3,0,198)
  13487.         button.Size = UDim2.new(0.48,0,0,30)
  13488.         button.ZIndex = 2
  13489.         button.Font = tef
  13490.         button.FontSize = "Size14"
  13491.         button.Text = "Intimidation"
  13492.         button.TextColor3 = whit
  13493.         button.TextWrapped = true
  13494.         button.MouseButton1Down:connect(function()
  13495.                 print("Too lazy to re script")
  13496.         end)
  13497. local title = Instance.new("TextLabel")
  13498.         title.Parent = acg
  13499.         title.BackgroundColor3 = blak
  13500.         title.BorderColor3 = rede
  13501.         title.BorderSizePixel = 3
  13502.         title.Name = "Title"
  13503.         title.Size = UDim2.new(1,0,0,30)
  13504.         title.ZIndex = 2
  13505.         title.Font = "SourceSansBold"
  13506.         title.FontSize = "Size14"
  13507.         title.Text = "Admin Commands/Guis"
  13508.         title.TextColor3 = whit
  13509. local title = Instance.new("TextLabel")
  13510.         title.Parent = sd
  13511.         title.BackgroundColor3 = blak
  13512.         title.BorderColor3 = rede
  13513.         title.BorderSizePixel = 3
  13514.         title.Name = "Title"
  13515.         title.Size = UDim2.new(1,0,0,30)
  13516.         title.ZIndex = 2
  13517.         title.Font = "SourceSansBold"
  13518.         title.FontSize = "Size14"
  13519.         title.Text = "Server Destruction"
  13520.         title.TextColor3 = whit
  13521. --Page 1 End --
  13522.  
  13523.  
  13524.  
  13525.  
  13526. -- Gear/Tools --
  13527. local button = Instance.new("TextButton")
  13528.         button.Parent = gt
  13529.         button.BackgroundColor3 = blak
  13530.         button.BorderColor3 = rede
  13531.         button.BorderSizePixel = 3
  13532.         button.Name = "Custom Gear"
  13533.         button.Position = UDim2.new(0,0,0,33)
  13534.         button.Size = UDim2.new(0.5,0,0,30)
  13535.         button.ZIndex = 2
  13536.         button.Font = tef
  13537.         button.FontSize = "Size14"
  13538.         button.Text = "Custom Gear"
  13539.         button.TextColor3 = whit
  13540.         button.MouseButton1Down:connect(function()
  13541.                 local x = game:GetService("InsertService"):LoadAsset(frame.Settings.Page1["Custom Gear ID"].TextBox.Text)
  13542. for i,v in pairs(x:GetChildren()) do
  13543. v.Parent = game.Players.LocalPlayer.Backpack
  13544. end
  13545. x:Remove()
  13546.         end)
  13547. --
  13548. local button = Instance.new("TextButton")
  13549.         button.Parent = gt
  13550.         button.BackgroundColor3 = blak
  13551.         button.BorderColor3 = rede
  13552.         button.BorderSizePixel = 3
  13553.         button.Name = "Stamper Tools"
  13554.         button.Position = UDim2.new(0.5,3,0,33)
  13555.         button.Size = UDim2.new(0.5,-3,0,30)
  13556.         button.ZIndex = 2
  13557.         button.Font = tef
  13558.         button.FontSize = "Size14"
  13559.         button.Text = "Stamper Tools"
  13560.         button.TextColor3 = whit
  13561.         button.TextWrapped = true
  13562.         button.MouseButton1Down:connect(function()
  13563.                 local x = game:GetService("InsertService"):LoadAsset(73089166)
  13564. for i,v in pairs(x:GetChildren()) do
  13565. v.Parent = game.Players.LocalPlayer.Backpack
  13566. end
  13567. x:Remove()
  13568. x = game:GetService("InsertService"):LoadAsset(73089204)
  13569. for i,v in pairs(x:GetChildren()) do
  13570. v.Parent = game.Players.LocalPlayer.Backpack
  13571. end
  13572. x:Remove()
  13573. x = game:GetService("InsertService"):LoadAsset(73089190)
  13574. for i,v in pairs(x:GetChildren()) do
  13575. v.Parent = game.Players.LocalPlayer.Backpack
  13576. end
  13577. x:Remove()
  13578. x = game:GetService("InsertService"):LoadAsset(58880579)
  13579. for i,v in pairs(x:GetChildren()) do
  13580. v.Parent = game.Players.LocalPlayer.Backpack
  13581. end
  13582. x:Remove()
  13583. x = game:GetService("InsertService"):LoadAsset(60791062)
  13584. for i,v in pairs(x:GetChildren()) do
  13585. v.Parent = game.Players.LocalPlayer.Backpack
  13586. end
  13587. x:Remove()
  13588. x = game:GetService("InsertService"):LoadAsset(73089239)
  13589. for i,v in pairs(x:GetChildren()) do
  13590. v.Parent = game.Players.LocalPlayer.Backpack
  13591. end
  13592. x:Remove()
  13593.         end)
  13594. --
  13595. local button = Instance.new("TextButton")
  13596.         button.Parent = gt
  13597.         button.BackgroundColor3 = blak
  13598.         button.BorderColor3 = rede
  13599.         button.BorderSizePixel = 3
  13600.         button.Name = "Tool Stealer"
  13601.         button.Position = UDim2.new(0,0,0,66)
  13602.         button.Size = UDim2.new(0.5,0,0,30)
  13603.         button.ZIndex = 2
  13604.         button.Font = tef
  13605.         button.FontSize = "Size14"
  13606.         button.Text = "Tool Stealer"
  13607.         button.TextColor3 = whit
  13608.         button.TextWrapped = true
  13609.         button.MouseButton1Down:connect(function()
  13610.         local z = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  13611. z.Name = "Tool Stealer"
  13612. function onButton1Down(mouse)
  13613.         local hit = mouse.Target
  13614.         if (hit == nil) then return end
  13615.         for i,v in pairs(hit.Parent:GetChildren()) do
  13616.                 if v:IsA("Tool") or v:IsA("HopperBin") then
  13617.                         v.Parent = game.Players.LocalPlayer.Backpack
  13618.                 end
  13619.         end
  13620. end
  13621. function  onSelected(mouse)
  13622.         mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  13623. end
  13624.  
  13625. z.Selected:connect(onSelected) 
  13626.         end)
  13627. --
  13628. local button = Instance.new("TextButton")
  13629.         button.Parent = gt
  13630.         button.BackgroundColor3 = blak
  13631.         button.BorderColor3 = rede
  13632.         button.BorderSizePixel = 3
  13633.         button.Name = "Empty"
  13634.         button.Position = UDim2.new(0.5,3,0,66)
  13635.         button.Size = UDim2.new(0.5,-3,0,30)
  13636.         button.ZIndex = 2
  13637.         button.Font = tef
  13638.         button.FontSize = "Size14"
  13639.         button.Text = "Empty"
  13640.         button.TextColor3 = whit
  13641.         button.MouseButton1Down:connect(function()
  13642.                
  13643.         end)
  13644. --
  13645. local button = Instance.new("TextButton")
  13646.         button.Parent = gt
  13647.         button.BackgroundColor3 = blak
  13648.         button.BorderColor3 = rede
  13649.         button.BorderSizePixel = 3
  13650.         button.Name = "Minigun"
  13651.         button.Position = UDim2.new(0,0,0,99)
  13652.         button.Size = UDim2.new(0.5,0,0,30)
  13653.         button.ZIndex = 2
  13654.         button.Font = tef
  13655.         button.FontSize = "Size14"
  13656.         button.Text = "Dev Uzi"
  13657.         button.TextColor3 = whit
  13658.         button.MouseButton1Down:connect(function()
  13659.                 wait(0.001);
  13660.  
  13661. --------------------------------------------------------------------------------------
  13662.  
  13663. _clear=function()
  13664.         local c={char;bag;gui;};
  13665.         for i=1,#c do
  13666.                 local c=c[i]:children();
  13667.                 for i=1,#c do
  13668.                         if(c[i].Name==name)then
  13669.                                 c[i].Parent=nil;
  13670.                         end;
  13671.                 end;
  13672.         end;
  13673.         local n=name..user.Name;
  13674.         local c=workspace:children();
  13675.         for i=1,#c do
  13676.                 if(c[i].Name==n)then
  13677.                         c[i].Parent=nil;
  13678.                 end;
  13679.         end;
  13680. end;
  13681.  
  13682. _valid_key=function(object,key)
  13683.         return object[key],key;
  13684. end;
  13685.  
  13686. _new=function(class)
  13687.         return function(props)
  13688.                 if(type(list_base_props)=='table')then
  13689.                         for i,v in next,list_base_props do
  13690.                                 if(props[i]==nil)then
  13691.                                         props[i]=v;
  13692.                                 end;
  13693.                         end;
  13694.                 end;
  13695.                
  13696.                 local object=class;
  13697.                
  13698.                 if(type(class)=='string')then
  13699.                         object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  13700.                 end;
  13701.                
  13702.                 local parent=props[1];
  13703.                         props[1]=nil;
  13704.                
  13705.                 for i,v in next,props do
  13706.                         local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  13707.                         if(not load)then
  13708.                                 load,res,key=pcall(_valid_key,object,i);
  13709.                         end;
  13710.                        
  13711.                         if(key)then
  13712.                                 t=type(res);
  13713.                                 s=tostring(res);
  13714.                                 if(t=='userdata'and s=='Signal '..key)then
  13715.                                         if(type(v)=='table')then
  13716.                                                 for i=1,#v do
  13717.                                                         res:connect(v[i]);
  13718.                                                 end;
  13719.                                         else
  13720.                                                 res:connect(v);
  13721.                                         end;
  13722.                                 else
  13723.                                         object[key]=v;
  13724.                                 end;
  13725.                         end;
  13726.                 end;
  13727.                
  13728.                 if(parent)then
  13729.                         object.Parent=parent;
  13730.                 end;
  13731.                
  13732.                 return object;
  13733.         end;
  13734. end;
  13735.  
  13736. _RGB=function(r,g,b)
  13737.         return Color3.new(r/255,g/255,b/255);
  13738. end;
  13739.  
  13740. _copy=function(o)
  13741.         local def=o.archivable;
  13742.         o.archivable=true;
  13743.         local c=o:clone();
  13744.         o.archivable=def;
  13745.         return c;
  13746. end;
  13747.  
  13748. _hum=function(char)
  13749.         local hum=char:findFirstChild'Humanoid';
  13750.         if(not hum or hum.className~='Humanoid')then
  13751.                 local c=char:children();
  13752.                 for i=1,#c do
  13753.                         if(c[i].className=='Humanoid')then
  13754.                                 return c[i];
  13755.                         end;
  13756.                 end;
  13757.         else
  13758.                 return hum;
  13759.         end;
  13760. end;
  13761.  
  13762. _hum_tag=function(hum)
  13763.         local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  13764.                 c.Name='creator';
  13765.                 c.Value=user;
  13766.         if(hum.Health==0 and not hum:findFirstChild'killed')then
  13767.                 Instance.new('BoolValue',hum).Name='killed';
  13768.                 bullets.clip=bullets.clip+10;
  13769.         end;
  13770. end;
  13771.  
  13772. _hum_dam=function(hum,dam,percent)
  13773.         hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  13774.         if(hum.Health<=hum.MaxHealth*0.1)then
  13775.                _hum_tag(hum);
  13776.        end;
  13777. end;
  13778.  
  13779. _ray=function(v0,v1,i)
  13780.        local mag=(v0-v1).magnitude;
  13781.        local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  13782.        
  13783.         return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  13784. end;
  13785.  
  13786. _must=function(v0,v1,i)
  13787.         local hit,pos=_ray(v0,v1,i);
  13788.         return not hit and mouse.target or hit,pos;
  13789. end;
  13790.  
  13791. _cframe=function(x,y,z,r0,r1,r2)
  13792.         return CFrame.Angles(
  13793.                 math.rad(r0 or 0),
  13794.                 math.rad(r1 or 0),
  13795.                 math.rad(r2 or 0)
  13796.         )*CFrame.new(x,y,z);
  13797. end;
  13798.  
  13799. _update=function()
  13800.         if(bool_active and not screen.Parent)then
  13801.                 screen.Parent=gui;
  13802.         elseif(not bool_active and screen.Parent)then
  13803.                 screen.Parent=nil;
  13804.         end;
  13805. end;
  13806.  
  13807. _light=function(v0,v1)
  13808.         local mag=(v0-v1).magnitude;
  13809.         local len=math.random(2,7);
  13810.                 len=len>mag/2 and mag/2 or len;
  13811.        
  13812.         local light=_new'part'{
  13813.                 cFrame=CFrame.new(v0,v1);
  13814.                 size=Vector3.new(1,1,1);
  13815.                 color=_RGB(255,255,0);
  13816.                 anchored=true;
  13817.                 inv;
  13818.         };
  13819.                 _new'blockMesh'{
  13820.                         scale=Vector3.new(0.2,0.2,len);
  13821.                         offset=Vector3.new(0,0,-len/2);
  13822.                         light;
  13823.                 };
  13824.                
  13825.         local bb=_new'billboardGui'{
  13826.                 size=UDim2.new(2,0,2,0);
  13827.                 adornee=light;
  13828.                 light;
  13829.         };
  13830.                 _new'imageLabel'{
  13831.                         image=url:format(109101526);
  13832.                         backgroundTransparency=1;
  13833.                         size=UDim2.new(1,0,1,0);
  13834.                         bb;
  13835.                 };
  13836.                
  13837.         _rem(light,0.15);
  13838. end;
  13839.  
  13840. _rem=function(object,del)
  13841.         if(del)then
  13842.                 delay(del,function()
  13843.                         if(object.Parent)then
  13844.                                 object.Parent=nil;
  13845.                         end;
  13846.                 end);
  13847.         else
  13848.                 pcall(function()
  13849.                         if(object.Parent)then
  13850.                                 object.Parent=nil;
  13851.                         end;
  13852.                 end);
  13853.         end;
  13854. end;
  13855.  
  13856. _blood=function(pos,count)
  13857.         for i=1,count do
  13858.                 local p=_new'part'{
  13859.                         rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  13860.                         position=pos+Vector3.new(math.random(),math.random(),math.random());
  13861.                         velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  13862.                         size=Vector3.new(math.random(),math.random(),math.random())/3;
  13863.                         color=_RGB(255,0,0);
  13864.                         transparency=0.5;
  13865.                         canCollide=true;
  13866.                         bottomSurface=0;
  13867.                         topSurface=0;
  13868.                         formFactor=3;
  13869.                         locked=true;
  13870.                         inv;
  13871.                 };
  13872.                 delay(5,function()
  13873.                         p.Parent=nil;
  13874.                 end);
  13875.         end;
  13876. end;
  13877.  
  13878. _make_hue=function()
  13879.         h_hue=_new'part'{
  13880.                 size=Vector3.new(0.25,1.8,0.35);
  13881.                 color=_RGB(100,100,100);
  13882.                 formFactor=3;
  13883.                 name='hue';
  13884.                 handle;
  13885.         };
  13886.         hh_weld=_new'weld'{
  13887.                 c1=_cframe(0,0.5,0);
  13888.                 part0=handle;
  13889.                 part1=h_hue;
  13890.                 handle;
  13891.         };
  13892. end;
  13893.  
  13894. _shot=function(v0,v1)
  13895.         if(not time_left)then
  13896.                 time_left=0;
  13897.         end;
  13898.         if(time_left>time())then
  13899.                 return nil;
  13900.         else
  13901.                 time_left=time()+math.random(1,10)/100;
  13902.         end;
  13903.        
  13904.         if(bullets.current<1)then
  13905.                local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  13906.                        soundId='rbxasset://sounds/SWITCH3.wav';
  13907.                        name='tick_sound';
  13908.                        volume=0.2;
  13909.                        pitch=2;
  13910.                        head;
  13911.                };
  13912.                tick_sound:play();
  13913.                if(bullets.clip>0)then
  13914.                         time_left=time()+2;
  13915.                         h_hue:breakJoints();
  13916.                         h_hue.CanCollide=true;
  13917.                         h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  13918.                         _rem(h_hue,10);
  13919.                         delay(1.9,function()
  13920.                                 _make_hue();
  13921.                                 local got=(bullets.clip>bullets.maximum and
  13922.                                         bullets.maximum or
  13923.                                         bullets.clip)-bullets.current;
  13924.  
  13925.                                 bullets.clip=bullets.clip-got;
  13926.                                 bullets.current=bullets.current+got;
  13927.                         end);
  13928.                 end;
  13929.                 return nil;
  13930.         else
  13931.                 bullets.current=bullets.current-1;
  13932.                
  13933.                 h_weld.C1=_cframe(0,0.75,0,
  13934.                                         -math.random(1000,1100)/10,180,0);
  13935.                 d_weld.C1=_cframe(0,-0.25,0.3);
  13936.                
  13937.                 lightstuff.Visible=true;
  13938.                 delay(0.1,function()
  13939.                         lightstuff.Visible=false;
  13940.                 end);
  13941.                
  13942.                 _rem(_new'part'{
  13943.                         velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  13944.                         cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  13945.                         size=Vector3.new(0.1,0.1,0.4);
  13946.                         color=_RGB(200,200,0);
  13947.                         material='Slate';
  13948.                         canCollide=true;
  13949.                         formFactor=3;
  13950.                         inv;
  13951.                 },5);
  13952.                 delay(0.1,function()
  13953.                         d_weld.C1=_cframe(0,-0.25,0);
  13954.                         if(bool_active)then
  13955.                                 h_weld.C1=h_weld_cf_active;
  13956.                         end;
  13957.                 end)
  13958.         end;
  13959.        
  13960.         local hit,pos=_must(v0,v1,char);
  13961.        
  13962.         shot_sound:play();
  13963.        
  13964.         _light(v0,v1);
  13965.        
  13966.         if(not hit)then return nil;end;
  13967.        
  13968.         if(hit.Parent.className=='Hat')then
  13969.                 hit:breakJoints();
  13970.                 hit.CanCollide=true;
  13971.                 hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  13972.                 hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  13973.         else
  13974.                 local hum=_hum(hit.Parent);
  13975.                 if(not hum)then
  13976.                         if(hit.Anchored==false and hit.Size.magnitude<4)then
  13977.                                hit:breakJoints();
  13978.                                hit.CanCollide=true;
  13979.                        end;
  13980.                else
  13981.                        _hum_dam(hum,math.random(4,6));
  13982.                        _blood(pos,math.random(3,6));
  13983.                        hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  13984.                        if(hit.Name=='Head')then
  13985.                                hum.Health=0;
  13986.                                _blood(pos,math.random(3,6));
  13987.                                delay(0.001,function()
  13988.                                        _new(workspace:FindFirstChild'head_shot'or'sound'){
  13989.                                                pitch=math.random(70,100)*0.01;
  13990.                                                soundId=url:format(1876552);
  13991.                                                name='head_shot';
  13992.                                                workspace;
  13993.                                        }:play();
  13994.                                end);
  13995.                                _hum_tag(hum);
  13996.                                _rem(_new'part'{
  13997.                                        cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  13998.                                        size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  13999.                                        color=torso.Color;
  14000.                                        transparency=0.5;
  14001.                                        canCollide=false;
  14002.                                        bottomSurface=0;
  14003.                                        anchored=true;
  14004.                                        formFactor=3;
  14005.                                        topSurface=0;
  14006.                                        inv;
  14007.                                },30);
  14008.                                hit.Parent=nil;
  14009.                                for b=0,1 do
  14010.                                        for a=0,1 do
  14011.                                                for i=0,1 do
  14012.                                                        _rem(_new'part'{
  14013.                                                                velocity=CFrame.new(v0,pos).lookVector*20;
  14014.                                                                cFrame=hit.CFrame*CFrame.new(i,-b,a);
  14015.                                                                size=Vector3.new(0.5,0.5,0.5);
  14016.                                                                color=_RGB(255,255,255);
  14017.                                                                bottomSurface=0;
  14018.                                                                canCollide=true;
  14019.                                                                transparency=0;
  14020.                                                                formFactor=3;
  14021.                                                                topSurface=0;
  14022.                                                                hum;
  14023.                                                        },30);
  14024.                                                end;
  14025.                                        end;
  14026.                                end;
  14027.                        end;
  14028.                end;
  14029.        end;
  14030. end;
  14031.  
  14032. ----------------------------------------------------------------------------------------
  14033.  
  14034. _cf_select=function(mouse)
  14035.        mouse.Icon=url:format(109111387);--108999296
  14036.        bool_active=true;
  14037.        
  14038.        local arm=char:findFirstChild'Right Arm';
  14039.        local weld=torso:findFirstChild'Right Shoulder';
  14040.        if(arm and weld)then
  14041.                h_weld.Part0=arm;
  14042.                h_weld.C1=h_weld_cf_active;
  14043.                
  14044.                weld.Part1=nil;
  14045.                weld.Part0=nil;
  14046.                
  14047.                weld=_new(torso:findFirstChild'right_arml'or'weld'){
  14048.                        name='right_arml';
  14049.                        part0=torso;
  14050.                        part1=arm;
  14051.                        torso;
  14052.                };
  14053.                
  14054.                arml=(arml or 0)+1;
  14055.                local alv=arml;
  14056.                local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  14057.                        gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  14058.                        gyro.P=30000;
  14059.                        gyro.D=1000;
  14060.                        gyro.Name='p_gyro';
  14061.                repeat
  14062.                        local pos=mouse.hit.p;
  14063.                        local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  14064.                        
  14065.                        val=-math.pi*0.5;
  14066.                        valp=val*-1;
  14067.                        p0=torso.CFrame;
  14068.                        p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  14069.                        p1=p0+((p0.p-pos).unit*-2);
  14070.                        p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  14071.                        hitpos=torso.Position;
  14072.                        cj=CFrame.new(hitpos);
  14073.                        c0=torso.CFrame:inverse()*cj;
  14074.                        c1=p2:inverse()*cj;
  14075.                        weld.C0=c0;
  14076.                        weld.C1=c1;
  14077.                        
  14078.                        gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  14079.                        
  14080.                        wait(0.001);
  14081.                until arml~=alv;
  14082.                gyro.Parent=nil;
  14083.        end;
  14084. end;
  14085.  
  14086. _cf_deselect=function()
  14087.        bool_active=false;
  14088.        arml=(arml or 0)+1;
  14089.        loop_shot=(loop_shot or 0)+1;
  14090.                
  14091.        h_weld.Part0=torso;
  14092.        h_weld.C1=h_weld_cf_inactive;
  14093.        
  14094.        local weld=torso:findFirstChild'right_arml';
  14095.        if(weld)then
  14096.                weld.Part1=nil;
  14097.                weld.Part0=nil;
  14098.        end;
  14099.        local arm=char:findFirstChild'Right Arm';
  14100.        local weld=torso:findFirstChild'Right Shoulder';
  14101.        if(arm and weld)then
  14102.                weld.Part0=torso;
  14103.                weld.Part1=arm;
  14104.        end;
  14105. end;
  14106.  
  14107. _cf_mouse=function(event,fun)
  14108.        mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  14109.                if(bool_active)then
  14110.                        fun(...);
  14111.                end;
  14112.        end);
  14113. end;
  14114.  
  14115. ----------------------------------------------------------------------------------------
  14116.  
  14117. do
  14118.        local main=getfenv(0);
  14119.        local c=game:children();
  14120.        local check=function(v)
  14121.                if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  14122.                        main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  14123.                end;
  14124.        end;
  14125.        for i=1,#c do
  14126.                pcall(check,c[i]);
  14127.        end;
  14128. end;
  14129.  
  14130. ----------------------------------------------------------------------------------------
  14131.  
  14132. bullets={
  14133.        maximum=51111111111111111111111111110;
  14134.        current=511111111111111111111111111111110;
  14135.        clip=501111111111111111111111111111111*4;
  14136. };
  14137.  
  14138. list_base_props={
  14139.        backgroundColor3=_RGB(0,0,0);
  14140.        textColor3=_RGB(200,200,200);
  14141.        borderSizePixel=0;
  14142.        color=_RGB(0,0,0);
  14143.        archivable=false;
  14144.        canCollide=false;
  14145.        bottomSurface=0;
  14146.        topSurface=0;
  14147.        formFactor=0;
  14148.        locked=true;
  14149. };
  14150.  
  14151. ----------------------------------------------------------------------------------------
  14152.  
  14153. user=players.localPlayer;
  14154. mouse=user:getMouse();
  14155. char=user.Character;
  14156. gui=user.PlayerGui;
  14157. bag=user.Backpack;
  14158. torso=char.Torso;
  14159. head=char.Head;
  14160. hum=_hum(char);
  14161.  
  14162. url='rbxassetid://%d';
  14163. name='dev-uzi';
  14164.  
  14165. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  14166.                                                        0,90,-70);
  14167. h_weld_cf_active=_cframe(0,0.75,0,
  14168.                                                -110,180,0);
  14169.  
  14170. assert(hum,'humanoid is not found');
  14171.  
  14172. ----------------------------------------------------------------------------------------
  14173.  
  14174. _clear();
  14175.  
  14176. ----------------------------------------------------------------------------------------
  14177.  
  14178. _cf_mouse('button1Down',function()
  14179.        loop_shot=(loop_shot or 0)+1;
  14180.        local vers=loop_shot;
  14181.        local step=runService.Stepped;
  14182.        repeat
  14183.                _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  14184.                step:wait();--wait(0.001);
  14185.        until vers~=loop_shot;
  14186. end);
  14187.  
  14188. _cf_mouse('button1Up',function()
  14189.        loop_shot=(loop_shot or 0)+1;
  14190. end);
  14191.  
  14192. _cf_mouse('move',function()
  14193.        cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  14194. end);
  14195.  
  14196. _cf_mouse('keyDown',function(k)
  14197.        if(k=='r')then
  14198.                if(bullets.clip>0 and time_left<=time())then
  14199.                        local got=(bullets.clip>bullets.maximum and
  14200.                                 bullets.maximum or
  14201.                                 bullets.clip)-bullets.current;
  14202.  
  14203.                         bullets.clip=bullets.clip-got;
  14204.                         bullets.current=bullets.current+got;
  14205.                         if(got~=0)then
  14206.                                 time_left=time()+2;
  14207.                         end;
  14208.                 end;
  14209.         end;
  14210. end);
  14211.  
  14212. ----------------------------------------------------------------------------------------
  14213.  
  14214. screen=_new'screenGui'{
  14215.         name=name;
  14216. };
  14217.  
  14218. cross_f=_new'frame'{
  14219.         size=UDim2.new(0,21,0,21);
  14220.         backgroundTransparency=1;
  14221.         screen;
  14222. };
  14223.  
  14224. for i=0,1 do
  14225.         _new'frame'{
  14226.                 position=UDim2.new(0,13*i,0,11);
  14227.                 size=UDim2.new(0,10,0,1);
  14228.                 cross_f;
  14229.         };
  14230. end;
  14231.  
  14232. for i=0,1 do
  14233.         _new'frame'{
  14234.                 position=UDim2.new(0,11,0,13*i);
  14235.                 size=UDim2.new(0,1,0,10);
  14236.                 cross_f;
  14237.         };
  14238. end;
  14239.  
  14240. ----------------------------------------------------------------------------------------
  14241.  
  14242. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  14243.         soundId=url:format(2920959);
  14244.         pitch=1.4;
  14245.         head;
  14246. };
  14247. if(shot_sound.Name~='2920959')then
  14248.         shot_sound.Name='2920959';
  14249.         shot_sound:play();
  14250. end;
  14251.  
  14252. bin=_new'hopperBin'{
  14253.         deselected=_cf_deselect;
  14254.         selected=_cf_select;
  14255.         name=name;
  14256.         bag;
  14257. };
  14258.  
  14259. inv=_new'model'{
  14260.         name=name;
  14261.         char;
  14262. };
  14263.  
  14264. handle=_new'part'{
  14265.         size=Vector3.new(0.3,1.3,0.4);
  14266.         color=_RGB(140,140,140);
  14267.         name='handle';
  14268.         formFactor=3;
  14269.         inv;
  14270.         touched=function(hit)
  14271.                 if(hit.Parent.className=='Model')then
  14272.                         local hum=_hum(hit.Parent);
  14273.                         if(hum~=nil)then
  14274.                                 _hum_dam(hum,handle.Velocity.magnitude);
  14275.                         end;
  14276.                 end;
  14277.         end;
  14278. };
  14279.         h_weld=_new'weld'{
  14280.                 c1=h_weld_cf_inactive;
  14281.                 part1=handle;
  14282.                 part0=torso;
  14283.                 handle;
  14284.         };
  14285.                 _make_hue();
  14286.                
  14287.                 h_part=_new'part'{
  14288.                         size=Vector3.new(0.4,0.4,1.4);
  14289.                         color=_RGB(140,140,140);
  14290.                         name='handle';
  14291.                         formFactor=3;
  14292.                         handle;
  14293.                 };
  14294.                 hp_weld=_new'weld'{
  14295.                         c1=_cframe(0,-1.3/2,-0.3,
  14296.                                                 20,0,0);
  14297.                         part0=handle;
  14298.                         part1=h_part;
  14299.                         handle;
  14300.                 };
  14301.                
  14302.                 drag=_new'part'{
  14303.                         size=Vector3.new(0.5,0.45,1.5);
  14304.                         color=_RGB(100,100,100);
  14305.                         name='handle';
  14306.                         formFactor=3;
  14307.                         handle;
  14308.                 };
  14309.                 d_weld=_new'weld'{
  14310.                         c1=_cframe(0,-0.25,0);
  14311.                         part0=h_part;
  14312.                         part1=drag;
  14313.                         handle;
  14314.                 };
  14315.                
  14316.                 tube=_new'part'{
  14317.                         size=Vector3.new(0.2,0.2,1.5);
  14318.                         color=_RGB(0,0,0);
  14319.                         name='handle';
  14320.                         formFactor=3;
  14321.                         handle;
  14322.                 };
  14323.                 t_weld=_new'weld'{
  14324.                         c1=_cframe(0,-0.3,-0.1);
  14325.                         part0=h_part;
  14326.                         part1=tube;
  14327.                         handle;
  14328.                 };
  14329.  
  14330. bullets_label=_new'textLabel'{
  14331.         textStrokeColor3=_RGB(0,0,0);
  14332.         textColor3=_RGB(200,200,200);
  14333.         textStrokeTransparency=0;
  14334.         backgroundTransparency=1;
  14335.         fontSize=5;
  14336.         screen;
  14337. };
  14338.  
  14339. lightstuff=_new'frame'{
  14340.         backgroundColor3=_RGB(255,255,255);
  14341.         position=UDim2.new(0,0,0,-1);
  14342.         backgroundTransparency=0.5;
  14343.         size=UDim2.new(1,0,1,1);
  14344.         borderSizePixel=0;
  14345.         visible=false;
  14346.         screen;
  14347. };
  14348.  
  14349. coroutine.wrap(function()
  14350.         local red,white,green;
  14351.         repeat
  14352.                 if(screen.Parent)then
  14353.                         if(not green and bullets.current==bullets.maximum)then
  14354.                                 green=true;
  14355.                                 bullets_label.TextColor3=_RGB(0,200,0);
  14356.                         elseif(not red and bullets.current==0)then
  14357.                                 red=true;
  14358.                                 bullets_label.TextColor3=_RGB(200,0,0);
  14359.                         elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  14360.                                 bullets_label.TextColor3=_RGB(200,200,200);
  14361.                                 green=false;
  14362.                                 red=false;
  14363.                         end;
  14364.                         bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  14365.                         bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  14366.                         bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  14367.                 end;
  14368.                 wait(0.001);
  14369.         until nil;
  14370. end)();
  14371.  
  14372. ----------------------------------------------------------------------------------------
  14373.  
  14374. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  14375. local vers=_G.dev_pistol_version;
  14376. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  14377. if(hum.Health==0)then
  14378.         _clear();
  14379. end;
  14380. script.Disabled=true;
  14381.  
  14382. --mediafire-----------------------------------------------------------------------------
  14383.  
  14384.  
  14385.  
  14386.         end)
  14387. --
  14388. local button = Instance.new("TextButton")
  14389.         button.Parent = gt
  14390.         button.BackgroundColor3 = blak
  14391.         button.BorderColor3 = rede
  14392.         button.BorderSizePixel = 3
  14393.         button.Name = "Laser Rifle"
  14394.         button.Position = UDim2.new(0.5,3,0,99)
  14395.         button.Size = UDim2.new(0.5,-3,0,30)
  14396.         button.ZIndex = 2
  14397.         button.Font = tef
  14398.         button.FontSize = "Size14"
  14399.         button.Text = "Laser Rifle"
  14400.         button.TextColor3 = whit
  14401.         button.TextWrapped = true
  14402.         button.MouseButton1Down:connect(function()
  14403.                
  14404.         end)
  14405. --
  14406. local button = Instance.new("TextButton")
  14407.         button.Parent = gt
  14408.         button.BackgroundColor3 = blak
  14409.         button.BorderColor3 = rede
  14410.         button.BorderSizePixel = 3
  14411.         button.Name = "Draw Tool"
  14412.         button.Position = UDim2.new(0,0,0,132)
  14413.         button.Size = UDim2.new(0.5,0,0,30)
  14414.         button.ZIndex = 2
  14415.         button.Font = tef
  14416.         button.FontSize = "Size14"
  14417.         button.Text = "Draw Tool"
  14418.         button.TextColor3 = whit
  14419.         button.MouseButton1Down:connect(function()
  14420.                 for i,v in next,game:children()do
  14421.         pcall(function()
  14422.                 local c=v.className;
  14423.                 rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c));
  14424.         end);
  14425. end;
  14426.  
  14427.  
  14428. local user=Players.LocalPlayer;
  14429. uname=user.Name;
  14430. local guis=user.PlayerGui;
  14431. local pack=user.Backpack;
  14432.  
  14433. keyDowns={};
  14434. freeKeys={};
  14435. shortcuts={};
  14436.  
  14437. _G.mine=_G.mine or{};
  14438.  
  14439. name='Draw3D';
  14440. local url='http://www.roblox.com/asset/?id=%d';
  14441.  
  14442. iconNormal=url:format(96578285);
  14443. iconOnDown=url:format(96584484);
  14444.  
  14445. ver=0;
  14446. drawPixel=0.10;
  14447. _G.drawLimit=_G.drawLimit or 1000;
  14448.  
  14449. _G.drawColor=_G.drawColor or Color3.new();
  14450.  
  14451.  
  14452.  
  14453.  
  14454.  
  14455. destroy=game.remove;
  14456. find=game.findFirstChild;
  14457. new=Instance.new;
  14458. with=function(c)
  14459.         return function(p)
  14460.                 local o=type(c)=='string'and new(c)or c;
  14461.                 local x=p.Parent;p.Parent=nil;
  14462.                 for i,v in next,p do
  14463.                         o[i]=v;
  14464.                 end;
  14465.                 if(x)then
  14466.                         o.Parent=x;
  14467.                 end;
  14468.                 return o;
  14469.         end;
  14470. end;
  14471. getPlace=function()
  14472.         if(find(workspace,'draw')==nil)then
  14473.                 new('Model',workspace).Name='draw';
  14474.         end;
  14475.         if(find(workspace.draw,uname)==nil)then
  14476.                 new('Model',workspace.draw).Name=uname;
  14477.         end;
  14478.         return workspace.draw[uname];
  14479. end;
  14480. drawLine=function(start,target)
  14481.         local gui=with'BlockMesh'{
  14482.                 Parent=with'Part'{
  14483.                         CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2);
  14484.                         Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel);
  14485.                         Parent=getPlace();
  14486.                         Color=_G.drawColor;
  14487.                         BottomSurface=0;
  14488.                         Anchored=true;
  14489.                         TopSurface=0;
  14490.                         formFactor=3;
  14491.                         Name=name;
  14492.         }}.Parent;
  14493.         table.insert(_G.mine,gui);
  14494.         return gui;
  14495. end;
  14496. onDown=function()
  14497.  if(drawing)then
  14498.                 return nil;
  14499.         end;
  14500.         if(selectGui.Adornee)then
  14501.                 destroy(selectGui.Adornee);
  14502.         end;
  14503.        
  14504.         drawing=true;
  14505.        
  14506.         mouse.Icon=iconOnDown;
  14507.         ver=ver+1;
  14508.        
  14509.        
  14510.         local cVer,start,target=ver,mouse.hit.p;
  14511.        
  14512.         local group={};
  14513.         repeat
  14514.                 wait(0.02);
  14515.                
  14516.                 if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then
  14517.                        
  14518.                         target=mouse.hit.p;
  14519.                        
  14520.                         table.insert(group,drawLine(start,target));
  14521.                        
  14522.                         start=target;
  14523.                 end;
  14524.         until ver~=cVer;
  14525.         drawing=false;
  14526.        
  14527.         local groupM=new('Model',getPlace());
  14528.         for i,v in next,group do
  14529.                 if(v:IsDescendantOf(workspace))then
  14530.                         v.Parent=groupM;
  14531.                 end;
  14532.         end;
  14533.         if(next(groupM:children())==nil)then
  14534.                 destroy(groupM);
  14535.         end;
  14536. end;
  14537. onUp=function()
  14538.         mouse.Icon=iconNormal;
  14539.         ver=ver+1;
  14540. end;
  14541. onKeyDown=function(k)
  14542.         if(freeKeys[k]==false)then
  14543.                 return false;
  14544.         end;
  14545.         freeKeys[k]=false;
  14546.         wait(0.01);
  14547.         if(keyDowns[k])then
  14548.                 keyDowns[k]();
  14549.         elseif(shortcuts[k])then
  14550.                 shortcuts[k]();
  14551.         end;
  14552. end;
  14553. onKeyUp=function(k)
  14554.         freeKeys[k]=true;
  14555. end;
  14556. onMove=function()
  14557.  
  14558. end;
  14559. local onSelect=function(lmouse)
  14560.         frame.Visible=true;
  14561.  
  14562.         mouse=lmouse;
  14563.        
  14564.         mouse.Icon=iconNormal;
  14565.        
  14566.         mouse.Button1Down:connect(onDown);
  14567.         mouse.KeyDown:connect(onKeyDown);
  14568.         mouse.Button1Up:connect(onUp);
  14569.         mouse.KeyUp:connect(onKeyUp);
  14570.         mouse.Move:connect(onMove);
  14571. end;
  14572. local onDeselect=function()
  14573.         ver=ver+1;
  14574.         frame.Visible=false;
  14575.         selectGui.Adornee=nil;
  14576.         mouse.Icon=iconNormal;
  14577.         for i,v in next,freeKeys do
  14578.                 freeKeys[i]=true;
  14579.         end;
  14580. end;
  14581. local addButton=function(title,shortcut,fun)
  14582.         with'TextButton'{
  14583.                 Text=string.format(' %s (%s)',title,shortcut);
  14584.                 TextXAlignment=0;
  14585.                 Parent=frame;
  14586.         }.MouseButton1Up:connect(fun);
  14587.        
  14588.         shortcuts[shortcut]=fun;
  14589.        
  14590.         local c=#frame:children();
  14591.         for i,v in next,frame:children()do
  14592.                 v.Position=UDim2.new(0,0,0,20*(i-1));
  14593.                 v.Size=UDim2.new(1,0,0,20);
  14594.         end;
  14595.        
  14596.         frame.Position=UDim2.new(1,-152,.5,-c*10);
  14597.         frame.Size=UDim2.new(0,150,0,c*20);
  14598. end;
  14599.  
  14600.  
  14601.  
  14602.  
  14603.  
  14604.  
  14605.  
  14606.  
  14607. for i,v in next,{guis;pack;}do
  14608.         pcall(function()
  14609.                 repeat until destroy(v[name]);
  14610.         end);
  14611. end;
  14612.  
  14613.  
  14614.  
  14615. local tool=with'HopperBin'{
  14616.         Parent=pack;
  14617.         Name=name;
  14618. };
  14619. tool.Deselected:connect(onDeselect);
  14620. tool.Selected:connect(onSelect);
  14621.  
  14622.  
  14623.  
  14624.  
  14625. local screen=with'ScreenGui'{
  14626.         Parent=guis;
  14627.         Name=name;
  14628. };
  14629. frame=with'Frame'{
  14630.         Parent=screen;
  14631.         Visible=false;
  14632. };
  14633. clframe=with'Frame'{
  14634.         Position=UDim2.new(.5,-50,.5,-50);
  14635.         Size=UDim2.new(0,100,0,100);
  14636.         Visible=false;
  14637.         Parent=screen;
  14638. };
  14639. selectGui=with'SelectionBox'{
  14640.         Parent=screen;
  14641. };
  14642.  
  14643. local c=0;
  14644. for y=0,7 do
  14645.         for x=0,7 do
  14646.                 local color=BrickColor.palette(c).Color;
  14647.                
  14648.                 with'ImageButton'{
  14649.                         Position=UDim2.new(.125*x,0,.125*y);
  14650.                         Size=UDim2.new(.125,0,.125);
  14651.                         BackgroundColor3=color;
  14652.                         Parent=clframe;
  14653.                 }.MouseButton1Up:connect(function()
  14654.                         clframe.Visible=false;
  14655.                         _G.drawColor=color;
  14656.                 end);
  14657.                
  14658.                 c=c+1;
  14659.         end;
  14660. end;
  14661.  
  14662. addButton('Color','c',function()
  14663.         clframe.Visible=true;
  14664. end);
  14665. addButton('Remove your draws','r',function()
  14666.         repeat
  14667.                 destroy(_G.mine[1]);
  14668.                 table.remove(_G.mine,1);
  14669.                 wait(0.01);
  14670.         until nil;
  14671. end);
  14672. addButton('Remove global draws','k',function()
  14673.         destroy(workspace.draw);
  14674.         while(_G.mine[1])do
  14675.                 destroy(_G.mine[1]);
  14676.                 table.remove(_G.mine,1);
  14677.         end;
  14678. end);
  14679. addButton('Remove selected','x',function()
  14680.         repeat
  14681.                 if(find(workspace,'draw'))then
  14682.                         local dt=mouse.target;
  14683.                         if(dt and dt:IsDescendantOf(workspace.draw))then
  14684.                                 selectGui.Adornee=dt.Parent;
  14685.                         else
  14686.                                 selectGui.Adornee=nil;
  14687.                         end;
  14688.                 else
  14689.                         selectGui.Adornee=nil;
  14690.                 end;
  14691.                 wait(0.01);
  14692.         until freeKeys.x;
  14693.         selectGui.Adornee=nil;
  14694. end);
  14695.  
  14696.  
  14697.  
  14698.  
  14699. repeat
  14700.         wait(0.01);
  14701.         if(next(_G.mine)and _G.mine[_G.drawLimit])then
  14702.                 destroy(_G.mine[1]);
  14703.                 table.remove(_G.mine,1);
  14704.         end;
  14705. until script.Parent==nil or tool.Parent==nil;
  14706. script.Disabled=true;
  14707. destroy(screen);
  14708.  
  14709.  
  14710. --Dresmor Alakazard--
  14711.         end)
  14712. --
  14713. local button = Instance.new("TextButton")
  14714.         button.Parent = gt
  14715.         button.BackgroundColor3 = blak
  14716.         button.BorderColor3 = rede
  14717.         button.BorderSizePixel = 3
  14718.         button.Name = "Empty"
  14719.         button.Position = UDim2.new(0.5,3,0,132)
  14720.         button.Size = UDim2.new(0.5,-3,0,30)
  14721.         button.ZIndex = 2
  14722.         button.Font = tef
  14723.         button.FontSize = "Size14"
  14724.         button.Text = "Empty"
  14725.         button.TextColor3 = whit
  14726.         button.TextWrapped = true
  14727.         button.MouseButton1Down:connect(function()
  14728.                
  14729.         end)
  14730. --
  14731. local button = Instance.new("TextButton")
  14732.         button.Parent = gt
  14733.         button.BackgroundColor3 = blak
  14734.         button.BorderColor3 = rede
  14735.         button.BorderSizePixel = 3
  14736.         button.Name = "Empty"
  14737.         button.Position = UDim2.new(0,0,0,165)
  14738.         button.Size = UDim2.new(0.499,0,0,30)
  14739.         button.ZIndex = 2
  14740.         button.Font = tef
  14741.         button.FontSize = "Size14"
  14742.         button.Text = "Empty"
  14743.         button.TextColor3 = whit
  14744.         button.MouseButton1Down:connect(function()
  14745.                
  14746.         end)
  14747. --
  14748. local button = Instance.new("TextButton")
  14749.         button.Parent = gt
  14750.         button.BackgroundColor3 = blak
  14751.         button.BorderColor3 = rede
  14752.         button.BorderSizePixel = 3
  14753.         button.Name = "Empty"
  14754.         button.Position = UDim2.new(0.5,3,0,165)
  14755.         button.Size = UDim2.new(0.5,-3,0,30)
  14756.         button.ZIndex = 2
  14757.         button.Font = tef
  14758.         button.FontSize = "Size14"
  14759.         button.Text = "Empty"
  14760.         button.TextColor3 = whit
  14761.         button.MouseButton1Down:connect(function()
  14762.                
  14763.         end)
  14764. --
  14765. local button = Instance.new("TextButton")
  14766.         button.Parent = gt
  14767.         button.BackgroundColor3 = blak
  14768.         button.BorderColor3 = rede
  14769.         button.BorderSizePixel = 3
  14770.         button.Name = "Empty"
  14771.         button.Position = UDim2.new(0,0,0,198)
  14772.         button.Size = UDim2.new(0.499,0,0,30)
  14773.         button.ZIndex = 3
  14774.         button.Font = tef
  14775.         button.FontSize = "Size14"
  14776.         button.Text = "Empty"
  14777.         button.TextColor3 = whit
  14778.         button.TextWrapped = true
  14779.         button.MouseButton1Down:connect(function()
  14780.                
  14781.         end)
  14782. --
  14783. local button = Instance.new("TextButton")
  14784.         button.Parent = gt
  14785.         button.BackgroundColor3 = blak
  14786.         button.BorderColor3 = rede
  14787.         button.BorderSizePixel = 3
  14788.         button.Name = "Empty"
  14789.         button.Position = UDim2.new(0.5,3,0,198)
  14790.         button.Size = UDim2.new(0.5,-3,0,30)
  14791.         button.ZIndex = 2
  14792.         button.Font = tef
  14793.         button.FontSize = "Size14"
  14794.         button.Text = "Empty"
  14795.         button.TextColor3 = whit
  14796.         button.MouseButton1Down:connect(function()
  14797.                
  14798.         end)
  14799.        
  14800.        
  14801. -- Weapon Scripts --
  14802. local button = Instance.new("TextButton")
  14803.         button.Parent = ws
  14804.         button.BackgroundColor3 = blak
  14805.         button.BorderColor3 = rede
  14806.         button.BorderSizePixel = 3
  14807.         button.Name = "Drage"
  14808.         button.Position = UDim2.new(0,0,0,33)
  14809.         button.Size = UDim2.new(0.5,0,0,30)
  14810.         button.ZIndex = 2
  14811.         button.Font = tef
  14812.         button.FontSize = "Size14"
  14813.         button.Text = "Drage"
  14814.         button.TextColor3 = whit
  14815.         button.MouseButton1Down:connect(function()
  14816.                 --[[ put your name where it says yourname -ulti55 ]]
  14817. Plrs = game:GetService("Players")
  14818.  
  14819.  
  14820.  
  14821. me = Plrs.LocalPlayer
  14822.  
  14823. char = me.Character
  14824.  
  14825.  
  14826.  
  14827. Modelname = "xWep"
  14828.  
  14829. Toolname = "Drage"
  14830.  
  14831. Able = true
  14832.  
  14833. Selected = false
  14834.  
  14835. Deb = true
  14836.  
  14837. Hurt = false
  14838.  
  14839. CritMultiplier = 1.6
  14840.  
  14841. ComboOn = false
  14842.  
  14843. AbleToBreak = false
  14844.  
  14845. CounterKey = false
  14846.  
  14847. Attack = 1
  14848.  
  14849. AddDamage = 0
  14850.  
  14851. AddDamageX = 1
  14852.  
  14853. AddShield = 0
  14854.  
  14855. Dmgs = {Smash = {"Smash", 25, 2, 3, false}, Slash = {"Slash", 18, 1, 3, false}, SideSlash = {"SideSlash", 18, 1, 3, false},
  14856.  
  14857. DoubleSlash = {"Double Slash", 20, 1, 2, false}, Spin = {"Spin Slash", 30, 2, 5, true, 30}, Boom = {"Boom", 60, 6, 6, true, 50, 16},
  14858.  
  14859. RageMode = {"RAGE", 8, 1.35, 1, 50}, Counter = {"Counter", 25, 1, 1, true, 15}, RageSlash = {"Rage Slash", 40, 3, 7, true, 30}}
  14860.  
  14861. RageMode = false
  14862.  
  14863. Mode = Dmgs.Slash
  14864.  
  14865. AbleAll = true
  14866.  
  14867. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  14868.  
  14869. Aim = false
  14870.  
  14871.  
  14872.  
  14873. LineColor = "White"
  14874.  
  14875. EffectColor3 = "Bright red"
  14876.  
  14877. EffectColor2 = "White"
  14878.  
  14879. EffectColor = "Pastel Blue"
  14880.  
  14881. MainColor = "Navy blue"
  14882.  
  14883. BladeColor = "Pastel Blue"
  14884.  
  14885.  
  14886.  
  14887. BlockBars = {}
  14888.  
  14889.  
  14890.  
  14891. MaxRage = 100
  14892.  
  14893. Rage = MaxRage
  14894.  
  14895.  
  14896.  
  14897. CritChance = 5 --Percent
  14898.  
  14899.  
  14900.  
  14901. for _, v in pairs(char:children()) do
  14902.  
  14903.         if v.Name == "Block" then v:remove() end
  14904.  
  14905. end
  14906.  
  14907.  
  14908.  
  14909. BlockRealPowa = 4
  14910.  
  14911.  
  14912.  
  14913. Block = Instance.new("BoolValue")
  14914.  
  14915. Block.Name = "Block"
  14916.  
  14917. Block.Value = false
  14918.  
  14919. BlockPower = Instance.new("IntValue")
  14920.  
  14921. BlockPower.Name = "BlockPower"
  14922.  
  14923. BlockPower.Value = BlockRealPowa
  14924.  
  14925. BlockPower.Parent = Block
  14926.  
  14927. Block.Parent = char
  14928.  
  14929.  
  14930.  
  14931. CA = CFrame.Angles
  14932.  
  14933. CN = CFrame.new
  14934.  
  14935. MR = math.rad
  14936.  
  14937. MP = math.pi
  14938.  
  14939. MD = math.deg
  14940.  
  14941. MH = math.huge
  14942.  
  14943. MRA = math.random
  14944.  
  14945.  
  14946.  
  14947. EffPos = CFrame.new(0, 0.5, 0)
  14948.  
  14949.  
  14950.  
  14951. Sounds = {
  14952.  
  14953.         Equip = {"rbxasset://sounds//unsheath.wav", 0.7, 0.6},
  14954.  
  14955.         Hit = {"http://www.roblox.com/asset/?id=2801263", 0.9, 0.6},
  14956.  
  14957.         Block = {"", 1, 0.5},
  14958.  
  14959.         Slash = {"rbxasset://sounds//swordslash.wav", 2, 0.8},
  14960.  
  14961.         SmashHit = {"rbxasset://sounds\\metal.ogg", 1.5, 0.8},
  14962.  
  14963.         Jump = {"rbxasset://sounds/swoosh.wav", 1, 1},
  14964.  
  14965.         Boom = {"http://www.roblox.com/asset?id=1369158", 1.2, 1},
  14966.  
  14967.         SmashBoom = {"http://www.roblox.com/asset/?id=2760979", 0.25, 1},
  14968.  
  14969.         Jump2 = {"http://www.roblox.com/asset/?id=2101148", 2, 1},
  14970.  
  14971.         GoRage = {"http://www.roblox.com/asset/?id=2767090", 1, 1},
  14972.  
  14973.         Shout = {"http://www.roblox.com/asset/?id=2676305", 1.1, 0.8},
  14974.  
  14975.         RageOff = {"http://www.roblox.com/asset/?id=3264793", 1.6, 0.6},
  14976.  
  14977. }
  14978.  
  14979.  
  14980.  
  14981. Add = {
  14982.  
  14983.         Sphere = function(P)
  14984.  
  14985.                 local m = Instance.new("SpecialMesh",P)
  14986.  
  14987.                 m.MeshType = "Sphere"
  14988.  
  14989.                 return m
  14990.  
  14991.         end,
  14992.  
  14993.         BP = function(P)
  14994.  
  14995.                 local bp = Instance.new("BodyPosition",P)
  14996.  
  14997.                 bp.maxForce = Vector3.new(MH, MH, MH)
  14998.  
  14999.                 bp.P = 14000
  15000.  
  15001.                 return bp
  15002.  
  15003.         end,
  15004.  
  15005.         BG = function(P)
  15006.  
  15007.                 local bg = Instance.new("BodyGyro",P)
  15008.  
  15009.                 bg.maxTorque = Vector3.new(MH, MH, MH)
  15010.  
  15011.                 bg.P = 14000
  15012.  
  15013.                 return bg
  15014.  
  15015.         end,
  15016.  
  15017.         Mesh = function(P, ID, x, y, z)
  15018.  
  15019.                 local m = Instance.new("SpecialMesh")
  15020.  
  15021.                 m.MeshId = ID
  15022.  
  15023.                 m.Scale = Vector3.new(x, y, z)
  15024.  
  15025.                 m.Parent = P
  15026.  
  15027.                 return m
  15028.  
  15029.         end,
  15030.  
  15031.         Head = function(P)
  15032.  
  15033.                 local s = Instance.new("SpecialMesh")
  15034.  
  15035.                 s.MeshType = "Head"
  15036.  
  15037.                 s.Parent = P
  15038.  
  15039.                 return s
  15040.  
  15041.         end,
  15042.  
  15043.         Sound = function(P, ID, vol, pitch)
  15044.  
  15045.                 local s = Instance.new("Sound")
  15046.  
  15047.                 s.SoundId = ID
  15048.  
  15049.                 s.Volume = vol
  15050.  
  15051.                 s.Pitch = pitch
  15052.  
  15053.                 s.Parent = P
  15054.  
  15055.                 return s
  15056.  
  15057.         end
  15058.  
  15059. }
  15060.  
  15061.  
  15062.  
  15063. function RC(Pos, Dir, Max, Ignore)
  15064.  
  15065.         return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore)
  15066.  
  15067. end
  15068.  
  15069.  
  15070.  
  15071. function RayC(Start, En, MaxDist, Ignore)
  15072.  
  15073.         return RC(Start, (En - Start), MaxDist, Ignore)
  15074.  
  15075. end
  15076.  
  15077.  
  15078.  
  15079. function Notime(func, tim)
  15080.  
  15081.         coroutine.resume(coroutine.create(function()
  15082.  
  15083.                 if tim then
  15084.  
  15085.                         wait(tim)
  15086.  
  15087.                 end
  15088.  
  15089.                 func()
  15090.  
  15091.         end))
  15092.  
  15093. end
  15094.  
  15095.  
  15096.  
  15097. function waitChild(parent, name)
  15098.  
  15099.         local child = parent:findFirstChild(name)
  15100.  
  15101.         if child then return child end
  15102.  
  15103.         while true do
  15104.  
  15105.                 child = parent.ChildAdded:wait()
  15106.  
  15107.                 if child.Name == name then return child end
  15108.  
  15109.         end
  15110.  
  15111. end
  15112.  
  15113.  
  15114.  
  15115. function ComputePos(pos1, pos2)
  15116.  
  15117.         local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  15118.  
  15119.         return CFrame.new(pos1, pos3)
  15120.  
  15121. end
  15122.  
  15123.  
  15124.  
  15125. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  15126.  
  15127.         local p = Instance.new("Part")
  15128.  
  15129.         p.formFactor = "Custom"
  15130.  
  15131.         p.Anchored = Anchor
  15132.  
  15133.         p.CanCollide = Collide
  15134.  
  15135.         p.Transparency = Tran
  15136.  
  15137.         p.Reflectance = Ref
  15138.  
  15139.         p.BrickColor = BrickColor.new(Color)
  15140.  
  15141.         p.TopSurface = 0
  15142.  
  15143.         p.BottomSurface = 0
  15144.  
  15145.         p.Size = Vector3.new(X, Y, Z)
  15146.  
  15147.         if Break then
  15148.  
  15149.                 p:BreakJoints()
  15150.  
  15151.         else p:MakeJoints() end
  15152.  
  15153.         p.Parent = Parent
  15154.  
  15155.         p.Locked = true
  15156.  
  15157.         return p
  15158.  
  15159. end
  15160.  
  15161.  
  15162.  
  15163. function Weld(p0, p1, x, y, z, a, b, c)
  15164.  
  15165.         local w = Instance.new("Weld")
  15166.  
  15167.         w.Parent = p0
  15168.  
  15169.         w.Part0 = p0
  15170.  
  15171.         w.Part1 = p1
  15172.  
  15173.         w.C1 = CN(x,y,z) * CA(a,b,c)
  15174.  
  15175.         return w
  15176.  
  15177. end
  15178.  
  15179.  
  15180.  
  15181. torso = char.Torso
  15182.  
  15183. neck = torso.Neck
  15184.  
  15185. hum = char.Humanoid
  15186.  
  15187. Rarm = char["Right Arm"]
  15188.  
  15189. Larm = char["Left Arm"]
  15190.  
  15191. Rleg = char["Right Leg"]
  15192.  
  15193. Lleg = char["Left Leg"]
  15194.  
  15195.  
  15196.  
  15197. hc = Instance.new("Humanoid")
  15198.  
  15199. hc.Health = 0
  15200.  
  15201. hc.MaxHealth = 0
  15202.  
  15203.  
  15204.  
  15205. function getHumanoid(c)
  15206.  
  15207.         local h = nil
  15208.  
  15209.         for i,v in pairs(c:children()) do
  15210.  
  15211.                 if v:IsA("Humanoid") and c ~= char then
  15212.  
  15213.                         if v.Health > 0 then
  15214.  
  15215.                                 h = v
  15216.  
  15217.                         end
  15218.  
  15219.                 end
  15220.  
  15221.         end
  15222.  
  15223.         return h
  15224.  
  15225. end
  15226.  
  15227.  
  15228.  
  15229. function getCharacters(where, pos, dist)
  15230.  
  15231.         local chars = {}
  15232.  
  15233.         for _, v in pairs(where:children()) do
  15234.  
  15235.                 local hum = getHumanoid(v)
  15236.  
  15237.                 local tors = v:findFirstChild("Torso")
  15238.  
  15239.                 if tors ~= nil and hum ~= nil then
  15240.  
  15241.                         local anypart = nil
  15242.  
  15243.                         for _,k in pairs(v:children()) do
  15244.  
  15245.                                 if k:IsA("BasePart") then
  15246.  
  15247.                                         if (k.Position - pos).magnitude <= dist then
  15248.  
  15249.                                                 anypart = k
  15250.  
  15251.                                                 break
  15252.  
  15253.                                         end
  15254.  
  15255.                                 end
  15256.  
  15257.                         end
  15258.  
  15259.                         if anypart then
  15260.  
  15261.                                 table.insert(chars, {v, tors, hum})
  15262.  
  15263.                         end
  15264.  
  15265.                 end
  15266.  
  15267.         end
  15268.  
  15269.         return chars
  15270.  
  15271. end
  15272.  
  15273.  
  15274.  
  15275. function PlaySound(id, pitch, vol)
  15276.  
  15277.         local s = Add.Sound(nil, id, vol, pitch)
  15278.  
  15279.         if pitch ~= nil then
  15280.  
  15281.                 if tonumber(pitch) then
  15282.  
  15283.                         s.Pitch = tonumber(pitch)
  15284.  
  15285.                 end
  15286.  
  15287.         end
  15288.  
  15289.         if vol ~= nil then
  15290.  
  15291.                 if tonumber(vol) then
  15292.  
  15293.                         s.Volume = tonumber(vol)
  15294.  
  15295.                 end
  15296.  
  15297.         end
  15298.  
  15299.         s.Parent = torso
  15300.  
  15301.         s.PlayOnRemove = true
  15302.  
  15303.         Notime(function()
  15304.  
  15305.                 wait()
  15306.  
  15307.                 s:remove()
  15308.  
  15309.         end)
  15310.  
  15311. end
  15312.  
  15313.  
  15314.  
  15315. function playz(sound)
  15316.  
  15317.         PlaySound(sound[1], sound[2], sound[3])
  15318.  
  15319. end
  15320.  
  15321.  
  15322.  
  15323. PlrGui = waitChild(me, "PlayerGui")
  15324.  
  15325.  
  15326.  
  15327. for _, v in pairs(char:children()) do if v.Name == Modelname then v:remove() end end
  15328.  
  15329. for _, v in pairs(PlrGui:children()) do
  15330.  
  15331.         if v.Name == "HealthGUI" or v.Name == "MyGui" then
  15332.  
  15333.                 v:remove()
  15334.  
  15335.         end
  15336.  
  15337. end
  15338.  
  15339.  
  15340.  
  15341. function EditGui(obj, parent, size, position, bgcolor, bordercolor, transparency, text, textcolor, auto)
  15342.  
  15343.         obj.Size = size
  15344.  
  15345.         obj.Position = position
  15346.  
  15347.         obj.BackgroundColor3 = bgcolor
  15348.  
  15349.         obj.BorderColor3 = bordercolor
  15350.  
  15351.         obj.BackgroundTransparency = transparency
  15352.  
  15353.         if obj:IsA("TextLabel") or obj:IsA("TextButton") then
  15354.  
  15355.                 obj.Text = text
  15356.  
  15357.                 obj.TextColor3 = textcolor
  15358.  
  15359.         end
  15360.  
  15361.         if obj:IsA("ImageButton") or obj:IsA("TextButton") then
  15362.  
  15363.                 obj.AutoButtonColor = auto
  15364.  
  15365.                 obj.MouseButton1Down:connect(function()
  15366.  
  15367.                         RemoveOptions()
  15368.  
  15369.                 end)
  15370.  
  15371.         end
  15372.  
  15373.         obj.Parent = parent
  15374.  
  15375. end
  15376.  
  15377.  
  15378.  
  15379. C3 = Color3.new
  15380.  
  15381. UD = UDim2.new
  15382.  
  15383.  
  15384.  
  15385. Sc = Instance.new("ScreenGui", PlrGui)
  15386.  
  15387. Sc.Name = "MyGui"
  15388.  
  15389.  
  15390.  
  15391. Fr = Instance.new("Frame")
  15392.  
  15393. EditGui(Fr, Sc, UD(0, 60, 0, 250), UD(1, -70, 0.5, -125), C3(0.1, 0.2, 0.5), C3(), 0)
  15394.  
  15395.  
  15396.  
  15397. HealthBack = Instance.new("Frame")
  15398.  
  15399. EditGui(HealthBack, Fr, UD(0, 25, 1, -20), UD(0, 3, 0, 10), C3(0.2, 0, 0), C3(), 0)
  15400.  
  15401.  
  15402.  
  15403. RageBack = Instance.new("Frame")
  15404.  
  15405. EditGui(RageBack, Fr, UD(0, 25, 1, -20), UD(1, -27, 0, 10), C3(0.2, 0, 0), C3(), 0)
  15406.  
  15407.  
  15408.  
  15409. local hp = hum.Health/hum.MaxHealth
  15410.  
  15411. if hp > 1 then hp = 1 elseif hp < 0 then hp = 0 end
  15412.  
  15413.  
  15414.  
  15415. HealthBar = Instance.new("ImageLabel")
  15416.  
  15417. EditGui(HealthBar, HealthBack, UD(1, 0, hp, 0), UD(0, 0, 0, 0), C3(0.1, 0.65, 0), C3(), 0)
  15418.  
  15419. HealthBar.Image = "http://www.roblox.com/asset/?id=50051953"
  15420.  
  15421.  
  15422.  
  15423. RageBar = Instance.new("ImageLabel")
  15424.  
  15425. EditGui(RageBar, RageBack, UD(1, 0, Rage/MaxRage, 0), UD(0, 0, 0, 0), C3(1, 0.6, 0.15), C3(), 0)
  15426.  
  15427. RageBar.Image = "http://www.roblox.com/asset/?id=50051953"
  15428.  
  15429.  
  15430.  
  15431. RageAmount = Instance.new("TextLabel")
  15432.  
  15433. EditGui(RageAmount, RageBack, UD(1, 0, 0, 0), UD(0, 0, 0, 0), C3(1, 0.6, 0.15), C3(), 0, Rage, C3(1,1,1))
  15434.  
  15435. RageAmount.TextYAlignment = "Top"
  15436.  
  15437.  
  15438.  
  15439. AimButton = Instance.new("TextButton")
  15440.  
  15441. EditGui(AimButton, Fr, UD(1, 0, 0, 35), UD(0, 0, 1, 0), C3(0.9, 0.2, 0.3), C3(), 0, "AIM: OFF", C3(), true)
  15442.  
  15443. AimButton.TextWrap = true
  15444.  
  15445. AimButton.Font = "ArialBold"
  15446.  
  15447. AimButton.FontSize = "Size14"
  15448.  
  15449. AimButton.MouseButton1Down:connect(function()
  15450.  
  15451.         if Aim then
  15452.  
  15453.                 Aim = false
  15454.  
  15455.                 AimButton.Text = "AIM: OFF"
  15456.  
  15457.                 AimButton.BackgroundColor3 = C3(0.9, 0.2, 0.3)
  15458.  
  15459.         else
  15460.  
  15461.                 Aim = true
  15462.  
  15463.                 AimButton.Text = "AIM: ON"
  15464.  
  15465.                 AimButton.BackgroundColor3 = C3(0.3, 0.85, 0.1)
  15466.  
  15467.         end
  15468.  
  15469. end)
  15470.  
  15471.  
  15472.  
  15473. for i = 1, BlockRealPowa do
  15474.  
  15475.         local gui = Instance.new("ImageLabel")
  15476.  
  15477.         EditGui(gui, Fr, UD(0, 16, 0, 16), UD(0, -18, 0.5, 20*(i-1)-((BlockRealPowa*20)/2)), C3(), C3(), 1)
  15478.  
  15479.         gui.Image = "http://www.roblox.com/asset/?id=48908046"
  15480.  
  15481.         table.insert(BlockBars, gui)
  15482.  
  15483. end
  15484.  
  15485.  
  15486.  
  15487. BlockPower.Changed:connect(function()
  15488.  
  15489.         for _, v in pairs(BlockBars) do
  15490.  
  15491.                 v.Image = ""
  15492.  
  15493.         end
  15494.  
  15495.         for i = 1, BlockPower.Value do
  15496.  
  15497.                 local gui = BlockBars[i]
  15498.  
  15499.                 if gui then
  15500.  
  15501.                         gui.Image = "http://www.roblox.com/asset/?id=48908046"
  15502.  
  15503.                 end
  15504.  
  15505.         end
  15506.  
  15507. end)
  15508.  
  15509.  
  15510.  
  15511. Mo = Instance.new("Model")
  15512.  
  15513. Mo.Name = Modelname
  15514.  
  15515.  
  15516.  
  15517. RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15518.  
  15519. LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15520.  
  15521. RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15522.  
  15523. LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15524.  
  15525.  
  15526.  
  15527. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  15528.  
  15529. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  15530.  
  15531. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  15532.  
  15533. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  15534.  
  15535.  
  15536.  
  15537. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  15538.  
  15539. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  15540.  
  15541. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  15542.  
  15543. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  15544.  
  15545.  
  15546.  
  15547. HB = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15548.  
  15549. HBW = Weld(Rarm, HB, 0, 0, 1, MP/2, 0, 0)
  15550.  
  15551. HW = Weld(HB, nil, 0, 0, 0, 0, 0, 0)
  15552.  
  15553.  
  15554.  
  15555. SW = Weld(Larm, nil, -0.5, 0, 0.3, MP/2, 0, 0)
  15556.  
  15557.  
  15558.  
  15559. TH = Weld(torso, nil, 0, 2.5, 0, MR(145), 0, 0)
  15560.  
  15561. TH.C0 = CN(0, -0.3, 0.75) * CA(0, MP/2, 0)
  15562.  
  15563.  
  15564.  
  15565. Weapon = Instance.new("Model")
  15566.  
  15567. Weapon.Name = "Weapon"
  15568.  
  15569.  
  15570.  
  15571. Handle = Part(Weapon, false, false, 0, 0, MainColor, 0.4, 1.8, 0.4)
  15572.  
  15573. Add.Head(Handle)
  15574.  
  15575.  
  15576.  
  15577. Tip1 = Part(Weapon, false, false, 0, 0, "Deep blue", 0.45, 1.2, 0.45)
  15578.  
  15579. Add.Head(Tip1)
  15580.  
  15581. Weld(Handle, Tip1, 0, 0, 0, 0, 0, 0)
  15582.  
  15583.  
  15584.  
  15585. Tip2 = Part(Weapon, false, false, 0, 0, "Bright blue", 0.5, 0.5, 0.5)
  15586.  
  15587. Weld(Handle, Tip2, 0, 0.9, 0, 0, 0, 0)
  15588.  
  15589. Add.Mesh(Tip2, "http://www.roblox.com/asset/?id=9756362", 0.75, 0.5, 0.75)
  15590.  
  15591.  
  15592.  
  15593. Tip3 = Part(Weapon, false, false, 0, 0, "Deep blue", 0.7, 0.3, 1.2)
  15594.  
  15595. Weld(Handle, Tip3, 0, -0.9, 0, 0, 0, 0)
  15596.  
  15597. Add.Mesh(Tip3, "http://www.roblox.com/asset/?id=9756362", 0.7, 0.35, 1.35)
  15598.  
  15599.  
  15600.  
  15601. Tip4 = Part(Weapon, false, false, 0, 0, "Deep blue", 0.6, 0.2, 1.8)
  15602.  
  15603. Weld(Handle, Tip4, 0, -0.9, 0, 0, 0, 0)
  15604.  
  15605.  
  15606.  
  15607. Tip5 = Part(Weapon, false, false, 0, 0, "Bright blue", 0.6, 0.6, 0.3)
  15608.  
  15609. Weld(Tip4, Tip5, 0, -0.4, -0.85, MR(-15), 0, 0)
  15610.  
  15611.  
  15612.  
  15613. Tip6 = Part(Weapon, false, false, 0, 0, "Bright blue", 0.6, 0.6, 0.3)
  15614.  
  15615. Weld(Tip4, Tip6, 0, -0.4, 0.85, MR(15), 0, 0)
  15616.  
  15617.  
  15618.  
  15619. Blades = {}
  15620.  
  15621.  
  15622.  
  15623. for i = 0, 180, 180 do
  15624.  
  15625.         for x = -20, 20, 40 do
  15626.  
  15627.                 local lol = i-90
  15628.  
  15629.                 local lol2 = math.abs(lol/480)
  15630.  
  15631.                 local lol3 = x/90
  15632.  
  15633.                 local Blade1 = Part(Weapon, false, false, 0, 0.3, BladeColor, 0.2, 3.5, 0.6)
  15634.  
  15635.                 Instance.new("BlockMesh",Blade1).Scale = Vector3.new(0.2, 1, 0.99)
  15636.  
  15637.                 local w = Weld(Tip4, Blade1, lol2, 0, -lol3, 0, 0, 0)
  15638.  
  15639.                 w.C0 = CN(0, 1.7, 0) * CA(0, MR(i+x), 0)
  15640.  
  15641.                 table.insert(Blades, Blade1)
  15642.  
  15643.         end
  15644.  
  15645. end
  15646.  
  15647.  
  15648.  
  15649. Tip7 = Part(Weapon, false, false, 0, 0.3, BladeColor, 0.3, 1.3, 0.7)
  15650.  
  15651. Add.Mesh(Tip7, "http://www.roblox.com/asset/?id=9756362", 0.31, 1.4, 0.8)
  15652.  
  15653. Weld(Tip4, Tip7, 0, -3.45, 0, 0, 0, 0)
  15654.  
  15655.  
  15656.  
  15657. table.insert(Blades, Tip7)
  15658.  
  15659.  
  15660.  
  15661. TH.Part1 = Handle
  15662.  
  15663.  
  15664.  
  15665. Shield = Instance.new("Model")
  15666.  
  15667. Shield.Name = "Shield"
  15668.  
  15669.  
  15670.  
  15671. SHandle = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.9, 0.4)
  15672.  
  15673. SW.Part1 = SHandle
  15674.  
  15675.  
  15676.  
  15677. for i = 65, 115, 25 do
  15678.  
  15679.         local STip1 = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.5, 0.4)
  15680.  
  15681.         local w = Weld(SHandle, STip1, 0.8, 0, 0, 0, 0, 0)
  15682.  
  15683.         w.C0 = CN(-0.5, 0.2, 0) * CA(0, 0, MR(i))
  15684.  
  15685. end
  15686.  
  15687.  
  15688.  
  15689. for i = -65, -115, -25 do
  15690.  
  15691.         local STip1 = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.5, 0.4)
  15692.  
  15693.         local w = Weld(SHandle, STip1, 0.8, 0, 0, 0, 0, 0)
  15694.  
  15695.         w.C0 = CN(-0.5, -0.2, 0) * CA(0, 0, MR(i))
  15696.  
  15697. end
  15698.  
  15699.  
  15700.  
  15701. SHandle2 = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.9, 0.4)
  15702.  
  15703. Weld(SHandle, SHandle2, 1, 0, 0, 0, 0, 0)
  15704.  
  15705.  
  15706.  
  15707. ShieldMain = Part(Weapon, false, false, 0, 0, "Medium grey", 0.3, 3.5, 1.1)
  15708.  
  15709. ShieldW = Weld(SHandle2, ShieldMain, 0, 0, 0, 0, 0, 0)
  15710.  
  15711. ShieldW.C0 = CN(0, -0.2, 0) * CA(0, MR(-5), 0)
  15712.  
  15713.  
  15714.  
  15715. STip1 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 0.4, 1.15)
  15716.  
  15717. Weld(ShieldMain, STip1, 0, -1.75, 0, 0, 0, 0)
  15718.  
  15719.  
  15720.  
  15721. STip2 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 0.4, 1.15)
  15722.  
  15723. Weld(ShieldMain, STip2, 0, 1.75, 0, 0, 0, 0)
  15724.  
  15725.  
  15726.  
  15727. for i = -15, 15, 30 do
  15728.  
  15729.         local ShieldPlate = Part(Weapon, false, false, 0, 0, "Medium grey", 0.3, 3.5, 1.1)
  15730.  
  15731.         local w = Weld(ShieldMain, ShieldPlate, 3.5, 0, 0, 0, 0, 0)
  15732.  
  15733.         w.C0 = CN(3.5, 0, 0) * CA(0, math.rad(i), 0)
  15734.  
  15735.         for x = -1.75, 1.75, 1.75*2 do
  15736.  
  15737.                 local STip3 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 0.4, 1.15)
  15738.  
  15739.                 Weld(ShieldPlate, STip3, 0, x, 0, 0, 0, 0)
  15740.  
  15741.         end
  15742.  
  15743.         local i2 = i/40
  15744.  
  15745.         local STip3 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 3.9, 0.4)
  15746.  
  15747.         Weld(ShieldPlate, STip3, 0, 0, -i2, 0, 0, 0)
  15748.  
  15749. end
  15750.  
  15751.  
  15752.  
  15753. Weapon.Parent = Mo
  15754.  
  15755. Shield.Parent = Mo
  15756.  
  15757.  
  15758.  
  15759. Mo.Parent = char
  15760.  
  15761.  
  15762.  
  15763. function ShowDamage(Dmg, Par, Crit, block)
  15764.  
  15765.         local Pos = Par.CFrame * CN(0, 2.5, 0)
  15766.  
  15767.         local M = Instance.new("Model")
  15768.  
  15769.         local Loldmg = Dmg
  15770.  
  15771.         if Loldmg < 0 then
  15772.  
  15773.                 Loldmg = 0
  15774.  
  15775.         end
  15776.  
  15777.         if tostring(Loldmg):sub(1,1) == "-" then
  15778.  
  15779.                 Loldmg = tostring(Loldmg):sub(2)
  15780.  
  15781.         end
  15782.  
  15783.         M.Name = Loldmg
  15784.  
  15785.         local Col = "Bright red"
  15786.  
  15787.         if Crit then Col = "Bright yellow" elseif block then Col = "Bright blue" end
  15788.  
  15789.         local P = Part(M, false, false, 0, 0, Col, 0.8, 0.3, 0.8, true)
  15790.  
  15791.         P.CFrame = CN(Par.Position)
  15792.  
  15793.         P.Name = "Head"
  15794.  
  15795.         local BP = Add.BP(P)
  15796.  
  15797.         BP.position = Pos.p
  15798.  
  15799.         BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  15800.  
  15801.         BP.P = 11000
  15802.  
  15803.         Add.BG(P)
  15804.  
  15805.         local H = hc:clone()
  15806.  
  15807.         H.Parent = M
  15808.  
  15809.         H.MaxHealth = 0
  15810.  
  15811.         H.Health = 0
  15812.  
  15813.         M.Parent = workspace
  15814.  
  15815.         Notime(function()
  15816.  
  15817.                 wait(1.5)
  15818.  
  15819.                 M:remove()
  15820.  
  15821.         end)
  15822.  
  15823. end
  15824.  
  15825.  
  15826.  
  15827. function Damage(P, Hum, dmg, crit, block)
  15828.  
  15829.         if Hum then
  15830.  
  15831.                 if Hum.Health > 0 then
  15832.  
  15833.                         local Damg = dmg
  15834.  
  15835.                         if crit then
  15836.  
  15837.                                 Damg = dmg*CritMultiplier
  15838.  
  15839.                         end
  15840.  
  15841.                         Damg = math.ceil(((Damg+AddDamage)*AddDamageX)-0.5)
  15842.  
  15843.                         Hum.Health = Hum.Health - Damg
  15844.  
  15845.                         ShowDamage(Damg, P, crit, block)
  15846.  
  15847.                 end
  15848.  
  15849.         end
  15850.  
  15851. end
  15852.  
  15853.  
  15854.  
  15855. function ShieldDamage(mode, blockval, blockpowerval, crit)
  15856.  
  15857.         if blockval and blockpowerval then
  15858.  
  15859.                 local ShieldDmg = mode[3]+AddShield
  15860.  
  15861.                 if crit then
  15862.  
  15863.                         ShieldDmg = mode[4]+AddShield
  15864.  
  15865.                 end
  15866.  
  15867.                 if blockpowerval then
  15868.  
  15869.                         blockpowerval.Value = blockpowerval.Value - ShieldDmg
  15870.  
  15871.                         if blockpowerval.Value < 1 then
  15872.  
  15873.                                 blockval.Value = false
  15874.  
  15875.                         end
  15876.  
  15877.                 end
  15878.  
  15879.         end
  15880.  
  15881. end
  15882.  
  15883.  
  15884.  
  15885. function getBlock(c)
  15886.  
  15887.         local block, blockpow = nil
  15888.  
  15889.         local blockin = false
  15890.  
  15891.         for _,v in pairs(c:children()) do
  15892.  
  15893.                 if v.Name == "Block" and v:IsA("BoolValue") then
  15894.  
  15895.                         block = v
  15896.  
  15897.                         blockin = v.Value
  15898.  
  15899.                         local bp = v:findFirstChild("BlockPower")
  15900.  
  15901.                         if bp then
  15902.  
  15903.                                 blockpow = bp
  15904.  
  15905.                         end
  15906.  
  15907.                 end
  15908.  
  15909.         end
  15910.  
  15911.         return block, blockpow, blockin
  15912.  
  15913. end
  15914.  
  15915.  
  15916.  
  15917. function TouchDamage(hit)
  15918.  
  15919.         local Hum = getHumanoid(hit.Parent)
  15920.  
  15921.         if Hum and Deb and Hurt then
  15922.  
  15923.                 Deb = false
  15924.  
  15925.                 local Crit = false
  15926.  
  15927.                 local BlockVal, BlockPowaVal, Blawk = getBlock(Hum.Parent)
  15928.  
  15929.                 local BlockPowa = 0
  15930.  
  15931.                 local blocksound = Sounds.SmashHit
  15932.  
  15933.                 if math.random(1,100/CritChance) == 1 then
  15934.  
  15935.                         Crit = true
  15936.  
  15937.                 end
  15938.  
  15939.                 local Damg = math.random(Mode[2]/3, Mode[2])
  15940.  
  15941.                 if Blawk then
  15942.  
  15943.                         Damg = 0
  15944.  
  15945.                         ShieldDamage(Mode, BlockVal, BlockPowaVal, Crit)
  15946.  
  15947.                         if BlockPowaVal then
  15948.  
  15949.                                 if BlockPowaVal.Value < 1 then
  15950.  
  15951.                                         blocksound = Sounds.Equip
  15952.  
  15953.                                 end
  15954.  
  15955.                         end
  15956.  
  15957.                 end
  15958.  
  15959.                 if Mode[5] == false and RageMode == false and Blawk == false then
  15960.  
  15961.                         Rage = Rage + math.ceil(Damg*0.75-0.5)
  15962.  
  15963.                 end
  15964.  
  15965.                 if Blawk then
  15966.  
  15967.                         PlaySound(blocksound[1], blocksound[2]-0.15, blocksound[3])
  15968.  
  15969.                 else
  15970.  
  15971.                         PlaySound(Sounds.Hit[1], Sounds.Hit[2], Sounds.Hit[3])
  15972.  
  15973.                 end
  15974.  
  15975.                 Damage(hit, Hum, Damg, Crit, Blawk)
  15976.  
  15977.                 if Mode == Dmgs.Spin then
  15978.  
  15979.                         Notime(function()
  15980.  
  15981.                                 wait(0.35)
  15982.  
  15983.                                 Deb = true
  15984.  
  15985.                         end)
  15986.  
  15987.                 end
  15988.  
  15989.         end
  15990.  
  15991. end
  15992.  
  15993.  
  15994.  
  15995. for _, v in pairs(Blades) do
  15996.  
  15997.         v.Touched:connect(TouchDamage)
  15998.  
  15999. end
  16000.  
  16001.  
  16002.  
  16003.  
  16004.  
  16005.  
  16006.  
  16007. Bin = Instance.new("HopperBin", me.Backpack)
  16008.  
  16009.  
  16010.  
  16011. EffectOn = false
  16012.  
  16013.  
  16014.  
  16015. function StartEffect(color)
  16016.  
  16017.         EffectOn = true
  16018.  
  16019.         local lastPoint = Tip7.CFrame * EffPos.p
  16020.  
  16021.         Notime(function()
  16022.  
  16023.                 while EffectOn do
  16024.  
  16025.                         wait()
  16026.  
  16027.                         local pos = Tip7.CFrame * EffPos.p
  16028.  
  16029.                         local magn = (lastPoint - pos).magnitude
  16030.  
  16031.                         local col = LineColor
  16032.  
  16033.                         if color and col ~= EffectColor3 then
  16034.  
  16035.                                 col = color
  16036.  
  16037.                         end
  16038.  
  16039.                         local p = Part(workspace, true, false, 0.1, 0, col, 0.3, 1, 0.3, true)
  16040.  
  16041.                         local mesh = Add.Head(p)
  16042.  
  16043.                         mesh.Scale = Vector3.new(1, magn+0.1, 1)
  16044.  
  16045.                         p.CFrame = CN(lastPoint, pos) * CA(-MP/2, 0, 0) * CN(0, magn/2+0.05, 0)
  16046.  
  16047.                         lastPoint = pos
  16048.  
  16049.                         Notime(function()
  16050.  
  16051.                                 wait(0.05)
  16052.  
  16053.                                 for i = 0, 1, 0.12 do
  16054.  
  16055.                                         p.Transparency = 0.1+0.9*i
  16056.  
  16057.                                         mesh.Scale = Vector3.new(1-1*i, magn+0.1-0.1*i, 1-1*i)
  16058.  
  16059.                                         wait()
  16060.  
  16061.                                 end
  16062.  
  16063.                                 p:remove()
  16064.  
  16065.                         end)
  16066.  
  16067.                 end
  16068.  
  16069.         end)
  16070.  
  16071. end
  16072.  
  16073.  
  16074.  
  16075. function EndEffect()
  16076.  
  16077.         EffectOn = false
  16078.  
  16079. end
  16080.  
  16081.  
  16082.  
  16083. function Detach()
  16084.  
  16085.         RAW.Part1 = nil
  16086.  
  16087.         LAW.Part1 = nil
  16088.  
  16089.         RLW.Part1 = nil
  16090.  
  16091.         LLW.Part1 = nil
  16092.  
  16093.         RAW.C0 = CN()
  16094.  
  16095.         LAW.C0 = CN()
  16096.  
  16097.         RLW.C0 = CN()
  16098.  
  16099.         LLW.C0 = CN()
  16100.  
  16101. end
  16102.  
  16103.  
  16104.  
  16105. function Normalize()
  16106.  
  16107.         RAW.C0 = CA(MR(40), MR(50), 0)
  16108.  
  16109.         LAW.C0 = CA(MR(20), MR(-20), MR(-20))
  16110.  
  16111.         HW.C0 = CA(0, 0, 0)
  16112.  
  16113.         neck.C0 = necko
  16114.  
  16115. end
  16116.  
  16117.  
  16118.  
  16119. SelectAnim = function()
  16120.  
  16121.         RAW.Part1 = Rarm
  16122.  
  16123.         HW.Part1 = nil
  16124.  
  16125.         TH.Part1 = Handle
  16126.  
  16127.         for i = 0.1, 1, 0.14 do
  16128.  
  16129.                 RAW.C0 = CA(MR(220*i), MR(-30*i), MR(-35*i)) * CN(0.4*i, 0, 0)
  16130.  
  16131.                 neck.C0 = necko * CA(MR(-10*i), 0, MR(-60*i))
  16132.  
  16133.                 wait()
  16134.  
  16135.         end
  16136.  
  16137.         PlaySound(Sounds.Equip[1], Sounds.Equip[2], Sounds.Equip[3])
  16138.  
  16139.         HW.C0 = CN(0.4, 0, 0) * CA(MR(-60), MR(10), MR(100))
  16140.  
  16141.         HW.Part1 = Handle
  16142.  
  16143.         TH.Part1 = nil
  16144.  
  16145.         LAW.Part1 = Larm
  16146.  
  16147.         for i = 0.09, 1, 0.11 do
  16148.  
  16149.                 RAW.C0 = CA(MR(220-70*i), MR(-30+25*i), MR(-35+70*i)) * CN(0.4-0.4*i, 0, 0)
  16150.  
  16151.                 HW.C0 = CN(0.4-0.4*i, 0, 0) * CA(MR(-60+40*i), MR(10-10*i), MR(100-40*i))
  16152.  
  16153.                 LAW.C0 = CA(MR(20*i), MR(-20*i), MR(-20*i))
  16154.  
  16155.                 neck.C0 = necko * CA(MR(-10+10*i), 0, MR(-60+40*i))
  16156.  
  16157.                 wait()
  16158.  
  16159.         end
  16160.  
  16161.         for i = 0.14, 1, 0.25 do
  16162.  
  16163.                 RAW.C0 = CA(MR(150-60*i), MR(-5+15*i), MR(35-10*i))
  16164.  
  16165.                 HW.C0 = CA(MR(-20+20*i), 0, MR(60-30*i))
  16166.  
  16167.                 neck.C0 = necko * CA(0, 0, MR(-60+40+5*i))
  16168.  
  16169.                 wait()
  16170.  
  16171.         end
  16172.  
  16173.         for i = 0.1, 1, 0.14 do
  16174.  
  16175.                 RAW.C0 = CA(MR(90-50*i), MR(10+40*i), MR(25-25*i))
  16176.  
  16177.                 HW.C0 = CA(0, 0, MR(30-30*i))
  16178.  
  16179.                 neck.C0 = necko * CA(0, 0, MR(-15+15*i))
  16180.  
  16181.                 wait()
  16182.  
  16183.         end
  16184.  
  16185.         Normalize()
  16186.  
  16187. end
  16188.  
  16189.  
  16190.  
  16191. DeselectAnim = function()
  16192.  
  16193.         for i = 0.09, 1, 0.14 do
  16194.  
  16195.                 RAW.C0 = CA(MR(40+100*i), MR(50-50*i), MR(20*i))
  16196.  
  16197.                 LAW.C0 = CA(MR(20-20*i), MR(-20+20*i), MR(-20+20*i))
  16198.  
  16199.                 HW.C0 = CN(0.4*i, 0, 0) * CA(MR(-30*i), MR(5*i), MR(20*i))
  16200.  
  16201.                 neck.C0 = necko * CA(MR(-5*i), 0, MR(-35*i))
  16202.  
  16203.                 wait()
  16204.  
  16205.         end
  16206.  
  16207.         LAW.Part1 = nil
  16208.  
  16209.         for i = 0.08, 1, 0.14 do
  16210.  
  16211.                 RAW.C0 = CA(MR(140+80*i), MR(-30*i), MR(20-55*i))
  16212.  
  16213.                 HW.C0 = CN(0.4, 0, 0) * CA(MR(-30-30*i), MR(5+5*i), MR(20+80*i))
  16214.  
  16215.                 neck.C0 = necko * CA(MR(-5-10*i), 0, MR(-35-25*i))
  16216.  
  16217.                 wait()
  16218.  
  16219.         end
  16220.  
  16221.         HW.Part1 = nil
  16222.  
  16223.         TH.Part1 = Handle
  16224.  
  16225.         for i = 0.09, 1, 0.18 do
  16226.  
  16227.                 RAW.C0 = CA(MR(220-220*i), MR(-30+30*i), MR(20-55+35*i))
  16228.  
  16229.                 neck.C0 = necko * CA(MR(-5-10+15*i), 0, MR(-35-25+60*i))
  16230.  
  16231.                 wait()
  16232.  
  16233.         end
  16234.  
  16235.         neck.C0 = necko
  16236.  
  16237.         Detach()
  16238.  
  16239. end
  16240.  
  16241.  
  16242.  
  16243. function setatk(s, e)
  16244.  
  16245.         Notime(function()
  16246.  
  16247.                 Attack = e
  16248.  
  16249.                 wait(0.25)
  16250.  
  16251.                 Attack = s
  16252.  
  16253.         end)
  16254.  
  16255. end
  16256.  
  16257.  
  16258.  
  16259. Attacks = {
  16260.  
  16261. function()
  16262.  
  16263.         Attack = 1
  16264.  
  16265.         Able = false
  16266.  
  16267.         for i = 0.1, 1, 0.2 do
  16268.  
  16269.                 RAW.C0 = CA(MR(40+90*i), MR(50-60*i), 0)
  16270.  
  16271.                 HW.C0 = CA(0, 0, 0)
  16272.  
  16273.                 LAW.C0 = CA(MR(20+55*i), MR(-20), MR(-20+60*i))
  16274.  
  16275.                 neck.C0 = necko * CA(MR(-10*i), 0, MR(-25*i))
  16276.  
  16277.                 wait()
  16278.  
  16279.         end
  16280.  
  16281.         PlaySound(Sounds.Slash[1], Sounds.Slash[2], Sounds.Slash[3])
  16282.  
  16283.         for i = 0.16, 1, 0.33 do
  16284.  
  16285.                 RAW.C0 = CA(MR(130+5*i), MR(-10-20*i), 0)
  16286.  
  16287.                 HW.C0 = CA(0, 0, 0)
  16288.  
  16289.                 LAW.C0 = CA(MR(75+5*i), MR(-20), MR(40+5*i))
  16290.  
  16291.                 neck.C0 = necko * CA(MR(-10-5*i), 0, MR(-25-5*i))
  16292.  
  16293.                 wait()
  16294.  
  16295.         end
  16296.  
  16297.         Hurt = true
  16298.  
  16299.         Deb = true
  16300.  
  16301.         StartEffect()
  16302.  
  16303.         Mode = Dmgs.Slash
  16304.  
  16305.         for i = 0.11, 1, 0.22 do
  16306.  
  16307.                 RAW.C0 = CA(MR(135-115*i), MR(-30), MR(-50*i)) * CN(0, -0.7*i, 0)
  16308.  
  16309.                 HW.C0 = CA(MR(-70*i), 0, 0)
  16310.  
  16311.                 LAW.C0 = CA(MR(80-120*i), MR(-20+20*i), MR(45-45*i))
  16312.  
  16313.                 neck.C0 = necko * CA(MR(-15+30*i), 0, MR(-30+45*i))
  16314.  
  16315.                 wait()
  16316.  
  16317.         end
  16318.  
  16319.         EndEffect()
  16320.  
  16321.         Hurt = false
  16322.  
  16323.         setatk(1,2)
  16324.  
  16325.         Able = true
  16326.  
  16327.         for i = 0.2, 1, 0.25 do
  16328.  
  16329.                 RAW.C0 = CA(MR(20-18*i), MR(-30), MR(-50-3*i)) * CN(0, -0.7-0.05*i, 0)
  16330.  
  16331.                 HW.C0 = CA(MR(-70-5*i), 0, 0)
  16332.  
  16333.                 neck.C0 = necko * CA(MR(15+3*i), 0, MR(15+3*i))
  16334.  
  16335.                 wait()
  16336.  
  16337.         end
  16338.  
  16339.         wait(0.1)
  16340.  
  16341.         for i = 0.1, 1, 0.15 do
  16342.  
  16343.                 if Able == false then return end
  16344.  
  16345.                 RAW.C0 = CA(MR(2+38*i), MR(-30+80*i), MR(-53+53*i)) * CN(0, -0.75+0.75*i, 0)
  16346.  
  16347.                 HW.C0 = CA(MR(-75+75*i), 0, 0)
  16348.  
  16349.                 LAW.C0 = CA(MR(-40+60*i), MR(-20+20-20*i), MR(-20*i))
  16350.  
  16351.                 neck.C0 = necko * CA(MR(15+3-18*i), 0, MR(15+3-18*i))
  16352.  
  16353.                 wait()
  16354.  
  16355.         end
  16356.  
  16357.         Normalize()
  16358.  
  16359. end,
  16360.  
  16361.  
  16362.  
  16363. function()
  16364.  
  16365.         Attack = 2
  16366.  
  16367.         Able = false
  16368.  
  16369.         PlaySound(Sounds.Slash[1], Sounds.Slash[2]+0.1, Sounds.Slash[3])
  16370.  
  16371.         for i = 0.05, 1, 0.1 do
  16372.  
  16373.                 RAW.C0 = CA(MR(10+80*i), MR(-30+30*i), MR(-55+35*i)) * CN(0, -0.75+0.35*i, 0)
  16374.  
  16375.                 LAW.C0 = CA(MR(-40), 0, 0)
  16376.  
  16377.                 HW.C0 = CA(MR(-75+75*i), 0, MR(90*i))
  16378.  
  16379.                 neck.C0 = necko * CA(MR(18-13*i), 0, MR(18+22*i))
  16380.  
  16381.                 wait()
  16382.  
  16383.         end
  16384.  
  16385.         Hurt = true
  16386.  
  16387.         Deb = true
  16388.  
  16389.         StartEffect()
  16390.  
  16391.         Mode = Dmgs.SideSlash
  16392.  
  16393.         for i = 0.09, 1, 0.17 do
  16394.  
  16395.                 RAW.C0 = CA(MR(90-40*i), 0, MR(-20+110*i)) * CN(0, -0.4+0.4*i, 0)
  16396.  
  16397.                 HW.C0 = CA(0, MR(-65*i), MR(90))
  16398.  
  16399.                 LAW.C0 = CA(MR(-40+120*i), MR(-20*i), MR(50*i)) * CN(0, -0.6*i, 0)
  16400.  
  16401.                 neck.C0 = necko * CA(MR(5), 0, MR(40-90*i))
  16402.  
  16403.                 wait()
  16404.  
  16405.         end
  16406.  
  16407.         EndEffect()
  16408.  
  16409.         Hurt = false
  16410.  
  16411.         Deb = false
  16412.  
  16413.         setatk(1,3)
  16414.  
  16415.         Able = true
  16416.  
  16417.         for i = 0.12, 1, 0.25 do
  16418.  
  16419.                 RAW.C0 = CA(MR(50-5*i), 0, MR(90+10*i))
  16420.  
  16421.                 HW.C0 = CA(0, MR(-65-5*i), MR(90))
  16422.  
  16423.                 LAW.C0 = CA(MR(-40+120), MR(-20), MR(50+5*i)) * CN(0, -0.6, 0)
  16424.  
  16425.                 neck.C0 = necko * CA(MR(5), 0, MR(40-90-5*i))
  16426.  
  16427.                 wait()
  16428.  
  16429.         end
  16430.  
  16431.         wait(0.08)
  16432.  
  16433.         for i = 0.05, 1, 0.1 do
  16434.  
  16435.                 if Able == false then return end
  16436.  
  16437.                 RAW.C0 = CA(MR(45-5*i), MR(50*i), MR(100-100*i)) * CN(0, 0, 0)
  16438.  
  16439.                 HW.C0 = CA(0, MR(-70+70*i), MR(90-90*i))
  16440.  
  16441.                 LAW.C0 = CA(MR(-40+120-60*i), MR(-20), MR(55-75*i)) * CN(0, -0.6+0.6*i, 0)
  16442.  
  16443.                 neck.C0 = necko * CA(MR(5-5*i), 0, MR(-55+55*i))
  16444.  
  16445.                 wait()
  16446.  
  16447.         end
  16448.  
  16449.         Normalize()
  16450.  
  16451. end,
  16452.  
  16453.  
  16454.  
  16455. function()
  16456.  
  16457.         Able = false
  16458.  
  16459.         for i = 0.05, 1, 0.08 do
  16460.  
  16461.                 RAW.C0 = CA(MR(50+130*i), 0, MR(90-125*i)) * CN(0, -1*i, 0)
  16462.  
  16463.                 HW.C0 = CA(0, MR(-65-35*i), MR(90-90*i))
  16464.  
  16465.                 LAW.C0 = CA(MR(80+100*i), MR(-20+20*i), MR(50-15*i)) * CN(0, -0.6-0.4*i, 0)
  16466.  
  16467.                 neck.C0 = necko * CA(MR(5-25*i), 0, MR(-50+50*i))
  16468.  
  16469.                 wait()
  16470.  
  16471.         end
  16472.  
  16473.         PlaySound(Sounds.Slash[1], Sounds.Slash[2]+0.05, Sounds.Slash[3])
  16474.  
  16475.         for i = 0.13, 1, 0.25 do
  16476.  
  16477.                 RAW.C0 = CA(MR(180+10*i), 0, MR(-35)) * CN(0, -1, 0)
  16478.  
  16479.                 HW.C0 = CA(0, MR(-100), 0)
  16480.  
  16481.                 LAW.C0 = CA(MR(180+10*i), 0, MR(35)) * CN(0, -1, 0)
  16482.  
  16483.                 neck.C0 = necko * CA(MR(5-25-5*i), 0, 0)
  16484.  
  16485.                 wait()
  16486.  
  16487.         end
  16488.  
  16489.         StartEffect()
  16490.  
  16491.         Hurt = true
  16492.  
  16493.         Deb = true
  16494.  
  16495.         Mode = Dmgs.Smash
  16496.  
  16497.         for i = 0.06, 1, 0.12 do
  16498.  
  16499.                 RAW.C0 = CA(MR(190-160*i), 0, MR(-35)) * CN(0, -1+0.2*i, 0)
  16500.  
  16501.                 HW.C0 = CA(MR(-20*i), MR(-100-40*i), MR(40*i))
  16502.  
  16503.                 LAW.C0 = CA(MR(190-160*i), 0, MR(35)) * CN(0, -1+0.2*i, 0)
  16504.  
  16505.                 neck.C0 = necko * CA(MR(-25+45*i), 0, 0)
  16506.  
  16507.                 wait()
  16508.  
  16509.         end
  16510.  
  16511.         PlaySound(Sounds.SmashHit[1], Sounds.SmashHit[2], Sounds.SmashHit[3])
  16512.  
  16513.         EndEffect()
  16514.  
  16515.         Hurt = false
  16516.  
  16517.         Deb = false
  16518.  
  16519.         for i = 0.2, 1, 0.5 do
  16520.  
  16521.                 RAW.C0 = CA(MR(30+15*i), 0, MR(-35)) * CN(0, -0.8+0.4*i, 0)
  16522.  
  16523.                 HW.C0 = CA(MR(-20), MR(-140), MR(40))
  16524.  
  16525.                 LAW.C0 = CA(MR(30+15*i), 0, MR(35)) * CN(0, -0.8+0.4*i, 0)
  16526.  
  16527.                 neck.C0 = necko * CA(MR(20), 0, 0)
  16528.  
  16529.                 wait()
  16530.  
  16531.         end
  16532.  
  16533.         setatk(1,4)
  16534.  
  16535.         Able = true
  16536.  
  16537.         for i = 0.16, 1, 0.33 do
  16538.  
  16539.                 if not Able then return end
  16540.  
  16541.                 RAW.C0 = CA(MR(30+15-15*i), 0, MR(-35)) * CN(0, -0.8+0.4-0.2*i, 0)
  16542.  
  16543.                 HW.C0 = CA(MR(-20), MR(-140), MR(40))
  16544.  
  16545.                 LAW.C0 = CA(MR(30+15-15*i), 0, MR(35)) * CN(0, -0.8+0.4-0.2*i, 0)
  16546.  
  16547.                 neck.C0 = necko * CA(MR(20), 0, 0)
  16548.  
  16549.                 wait()
  16550.  
  16551.         end
  16552.  
  16553.         for i = 0.05, 1, 0.1 do
  16554.  
  16555.                 if not Able then return end
  16556.  
  16557.                 RAW.C0 = CA(MR(30+10*i), MR(50*i), MR(-35+35*i)) * CN(0, -0.8+0.4-0.2+0.6*i, 0)
  16558.  
  16559.                 HW.C0 = CA(MR(-20+20*i), MR(-140+140*i), MR(40-40*i))
  16560.  
  16561.                 LAW.C0 = CA(MR(30+15-15-10*i), MR(-20*i), MR(35-55*i)) * CN(0, -0.8+0.4-0.2+0.6*i, 0)
  16562.  
  16563.                 neck.C0 = necko * CA(MR(20-20*i), 0, 0)
  16564.  
  16565.                 wait()
  16566.  
  16567.         end
  16568.  
  16569.         Normalize()
  16570.  
  16571. end,
  16572.  
  16573. function()
  16574.  
  16575.         Able = false
  16576.  
  16577.         for i = 0.06, 1, 0.12 do
  16578.  
  16579.                 RAW.C0 = CA(MR(30), MR(-20*i), MR(-35-25*i)) * CN(0, -0.8, 0)
  16580.  
  16581.                 HW.C0 = CA(MR(-20-60*i), MR(-140-40*i), MR(40-40*i))
  16582.  
  16583.                 LAW.C0 = CA(MR(30-110*i), 0, MR(35-35*i)) * CN(0, -0.8+0.8*i, 0)
  16584.  
  16585.                 neck.C0 = necko * CA(MR(20-15*i), 0, MR(10*i))
  16586.  
  16587.                 wait()
  16588.  
  16589.         end
  16590.  
  16591.         Mode = Dmgs.DoubleSlash
  16592.  
  16593.         StartEffect()
  16594.  
  16595.         playz(Sounds.Slash)
  16596.  
  16597.         Hurt = true
  16598.  
  16599.         Deb = true
  16600.  
  16601.         for i = 0.07, 1, 0.14 do
  16602.  
  16603.                 RAW.C0 = CA(MR(30+120*i), MR(-20), MR(-60+80*i)) * CN(0, -0.8+0.8*i, 0)
  16604.  
  16605.                 HW.C0 = CA(MR(-80+60*i), MR(180), 0)
  16606.  
  16607.                 LAW.C0 = CA(MR(-50+100*i), 0, MR(30*i))
  16608.  
  16609.                 neck.C0 = necko * CA(MR(5-25*i), 0, MR(10-30*i))
  16610.  
  16611.                 wait()
  16612.  
  16613.         end
  16614.  
  16615.         EndEffect()
  16616.  
  16617.         Hurt = false
  16618.  
  16619.         for i = 0.17, 1, 0.33 do
  16620.  
  16621.                 RAW.C0 = CA(MR(150+15*i), MR(-20), MR(20+5*i))
  16622.  
  16623.                 HW.C0 = CA(MR(-20), MR(180), 0)
  16624.  
  16625.                 LAW.C0 = CA(MR(50+5*i), 0, MR(30+10*i))
  16626.  
  16627.                 neck.C0 = necko * CA(MR(-20-5*i), 0, MR(-20))
  16628.  
  16629.                 wait()
  16630.  
  16631.         end
  16632.  
  16633.         for i = 0.13, 1, 0.25 do
  16634.  
  16635.                 RAW.C0 = CA(MR(165-15*i), MR(-20+50*i), MR(25-75*i))
  16636.  
  16637.                 HW.C0 = CA(MR(-20-20*i), MR(180), 0)
  16638.  
  16639.                 LAW.C0 = CA(MR(55+45*i), 0, MR(40-30*i))
  16640.  
  16641.                 neck.C0 = necko * CA(MR(-25), 0, MR(-20+35*i))
  16642.  
  16643.                 wait()
  16644.  
  16645.         end
  16646.  
  16647.         StartEffect()
  16648.  
  16649.         Hurt = true
  16650.  
  16651.         Deb = true
  16652.  
  16653.         playz(Sounds.Slash)
  16654.  
  16655.         for i = 0.08, 1, 0.16 do
  16656.  
  16657.                 RAW.C0 = CA(MR(150-110*i), MR(30), MR(-50+65*i))
  16658.  
  16659.                 HW.C0 = CA(MR(-40-40*i), MR(180), 0)
  16660.  
  16661.                 LAW.C0 = CA(MR(100-50*i), MR(-30*i), MR(10+30*i)) * CN(0, -1.1*i, 0)
  16662.  
  16663.                 neck.C0 = necko * CA(MR(-25+45*i), 0, MR(15-30*i))
  16664.  
  16665.                 wait()
  16666.  
  16667.         end
  16668.  
  16669.         EndEffect()
  16670.  
  16671.         Hurt = false
  16672.  
  16673.         for i = 0.13, 1, 0.25 do
  16674.  
  16675.                 RAW.C0 = CA(MR(40-5*i), MR(30), MR(15+5*i))
  16676.  
  16677.                 HW.C0 = CA(MR(-80-5*i), MR(180), 0)
  16678.  
  16679.                 LAW.C0 = CA(MR(50), MR(-30), MR(40)) * CN(0, -1.1-0.1*i, 0)
  16680.  
  16681.                 neck.C0 = necko * CA(MR(20+5*i), 0, MR(-15-5*i))
  16682.  
  16683.                 wait()
  16684.  
  16685.         end
  16686.  
  16687.         for i = 0.09, 1, 0.16 do
  16688.  
  16689.                 RAW.C0 = CA(MR(35+5*i), MR(30+20*i), MR(20-20*i))
  16690.  
  16691.                 HW.C0 = CA(MR(-85+85*i), MR(180+180*i), 0)
  16692.  
  16693.                 LAW.C0 = CA(MR(50-30*i), MR(-30+10*i), MR(40-60*i)) * CN(0, -1.2+1.2*i, 0)
  16694.  
  16695.                 neck.C0 = necko * CA(MR(25-25*i), 0, MR(-20+20*i))
  16696.  
  16697.                 wait()
  16698.  
  16699.         end
  16700.  
  16701.         Normalize()
  16702.  
  16703.         Able = true
  16704.  
  16705.         Attack = 1
  16706.  
  16707. end
  16708.  
  16709. }
  16710.  
  16711.  
  16712.  
  16713. SpinSlash = function(plaic)
  16714.  
  16715.         if Rage < Dmgs.Spin[6] then return end
  16716.  
  16717.         Rage = Rage - Dmgs.Spin[6]
  16718.  
  16719.         local cf = torso.CFrame
  16720.  
  16721.         local CF = ComputePos(cf.p, cf * CN(0, 0, -2))
  16722.  
  16723.         if plaic then
  16724.  
  16725.                 CF = ComputePos(cf.p, plaic)
  16726.  
  16727.         end
  16728.  
  16729.         AbleAll = false
  16730.  
  16731.         local bg = Add.BG(torso)
  16732.  
  16733.         bg.cframe = CF
  16734.  
  16735.         for i = 0.07, 1, 0.14 do
  16736.  
  16737.                 RAW.C0 = CA(MR(40+50*i), MR(50-65*i), 0)
  16738.  
  16739.                 HW.C0 = CA(0, 0, MR(90*i))
  16740.  
  16741.                 LAW.C0 = CA(MR(20-20*i), MR(-20+20*i), MR(-20-60*i))
  16742.  
  16743.                 neck.C0 = necko * CA(0, 0, MR(-30*i))
  16744.  
  16745.                 bg.cframe = CF * CA(0, MR(30*i), 0)
  16746.  
  16747.                 wait()
  16748.  
  16749.         end
  16750.  
  16751.         StartEffect()
  16752.  
  16753.         Hurt = true
  16754.  
  16755.         Deb = true
  16756.  
  16757.         Mode = Dmgs.Spin
  16758.  
  16759.         Notime(function()
  16760.  
  16761.                 while Hurt do
  16762.  
  16763.                         PlaySound(Sounds.Slash[1], Sounds.Slash[2]+0.35, Sounds.Slash[3])
  16764.  
  16765.                         wait(0.15)
  16766.  
  16767.                 end
  16768.  
  16769.         end)
  16770.  
  16771.         for i = 0.04, 1, 0.06 do
  16772.  
  16773.                 RAW.C0 = CA(MR(90-10*i), MR(-15), MR(90*i))
  16774.  
  16775.                 HW.C0 = CA(0, MR(-70*i), MR(90))
  16776.  
  16777.                 LAW.C0 = CA(MR(90*i), 0, MR(-20-60+120*i)) * CN(0, -0.7*i, 0)
  16778.  
  16779.                 neck.C0 = necko * CA(0, 0, MR(-30+20*i))
  16780.  
  16781.                 bg.cframe = CF * CA(0, MR(30-380*i), 0)
  16782.  
  16783.                 wait()
  16784.  
  16785.         end
  16786.  
  16787.         EndEffect()
  16788.  
  16789.         for i = 0.09, 1, 0.17 do
  16790.  
  16791.                 RAW.C0 = CA(MR(80), MR(-15), MR(90))
  16792.  
  16793.                 HW.C0 = CA(0, MR(-70-10*i), MR(90))
  16794.  
  16795.                 LAW.C0 = CA(MR(90), 0, MR(-20-60+120+20*i)) * CN(0, -0.7, 0)
  16796.  
  16797.                 neck.C0 = necko * CA(0, 0, MR(-10+60*i))
  16798.  
  16799.                 bg.cframe = CF * CA(0, MR(-350-60*i), 0)
  16800.  
  16801.                 wait()
  16802.  
  16803.         end
  16804.  
  16805.         Hurt = false
  16806.  
  16807.         Deb = false
  16808.  
  16809.         for i = 0.05, 1, 0.1 do
  16810.  
  16811.                 RAW.C0 = CA(MR(80-40*i), MR(-15+65*i), MR(90-90*i))
  16812.  
  16813.                 HW.C0 = CA(0, MR(-80+80*i), MR(90-90*i))
  16814.  
  16815.                 LAW.C0 = CA(MR(90-70*i), MR(-20*i), MR(60-80*i)) * CN(0, -0.7+0.7*i, 0)
  16816.  
  16817.                 neck.C0 = necko * CA(0, 0, MR(-10+60-50*i))
  16818.  
  16819.                 bg.cframe = CF * CA(0, MR(-410+50*i), 0)
  16820.  
  16821.                 wait()
  16822.  
  16823.         end
  16824.  
  16825.         bg:remove()
  16826.  
  16827.         Normalize()
  16828.  
  16829.         AbleAll = true
  16830.  
  16831. end
  16832.  
  16833.  
  16834.  
  16835. Flawp = function(plaic)
  16836.  
  16837.         local cf = torso.CFrame
  16838.  
  16839.         local CF = ComputePos(cf.p, cf * CN(0, 0, -2))
  16840.  
  16841.         if plaic then
  16842.  
  16843.                 CF = ComputePos(cf.p, plaic)
  16844.  
  16845.         end
  16846.  
  16847.         local cf2 = CF * CN(0, -1.1, -1)
  16848.  
  16849.         local Dist = 8
  16850.  
  16851.         local Hit1, Pos1 = RayC(CF.p, (CF * CN(0, -1, 0)).p, 4, char)
  16852.  
  16853.         local Hit2, Pos2 = RayC((CF * CN(0, 0, -Dist*2)).p, (CF * CN(0, -1, -Dist*2)).p, 4, char)
  16854.  
  16855.         local Hit3, Pos3 = RayC(CF.p, (CF * CN(0, 0, -Dist*2)).p, Dist*2, char)
  16856.  
  16857.         if Rage < Dmgs.Boom[6] then return end
  16858.  
  16859.         if Hit1 and Hit2 then
  16860.  
  16861.                 Rage = Rage - Dmgs.Boom[6]
  16862.  
  16863.                 local bp = Add.BP(torso)
  16864.  
  16865.                 bp.position = cf.p
  16866.  
  16867.                 local bg = Add.BG(torso)
  16868.  
  16869.                 bg.cframe = CF
  16870.  
  16871.                 AbleAll = false
  16872.  
  16873.                 RLW.Part1 = Rleg
  16874.  
  16875.                 LLW.Part1 = Lleg
  16876.  
  16877.                 for i = 0.05, 1, 0.1 do
  16878.  
  16879.                         RAW.C0 = CA(MR(40+30*i), MR(50-50*i), MR(25*i))
  16880.  
  16881.                         LAW.C0 = CA(MR(20+50*i), MR(-20+20*i), MR(-20-5*i))
  16882.  
  16883.                         HW.C0 = CA(MR(25*i), 0, 0)
  16884.  
  16885.                         RLW.C0 = CN(0, 1*i, -1*i)
  16886.  
  16887.                         LLW.C0 = CA(MR(-90*i), 0, 0) * CN(0, 0.5*i, -0.2*i)
  16888.  
  16889.                         neck.C0 = necko * CA(MR(20*i), 0, 0)
  16890.  
  16891.                         bp.position = CF * CN(0, -1*i, -1*i).p
  16892.  
  16893.                         wait()
  16894.  
  16895.                 end
  16896.  
  16897.                 local Center = cf2 * CN(0, 0, -Dist)
  16898.  
  16899.                 hum.PlatformStand = true
  16900.  
  16901.                 PlaySound(Sounds.Jump[1], Sounds.Jump[2], Sounds.Jump[3])
  16902.  
  16903.                 for i = 0.06, 1, 0.1 do
  16904.  
  16905.                         RAW.C0 = CA(MR(70-160*i), 0, MR(25+15*i))
  16906.  
  16907.                         LAW.C0 = CA(MR(70-160*i), 0, MR(-25-15*i))
  16908.  
  16909.                         HW.C0 = CA(MR(25), 0, 0)
  16910.  
  16911.                         RLW.C0 = CN(0, 1-1*i, -1+1*i)
  16912.  
  16913.                         LLW.C0 = CA(MR(-90+70*i), 0, 0) * CN(0, 0.5+0.7*i, -0.2-0.3*i)
  16914.  
  16915.                         neck.C0 = necko * CA(MR(20-50*i), 0, 0)
  16916.  
  16917.                         bp.position = Center * CA(MR(180-45*i), 0, 0) * CN(0, 0, -Dist).p
  16918.  
  16919.                         bg.cframe = CF * CA(MR(-90*i), 0, 0)
  16920.  
  16921.                         wait()
  16922.  
  16923.                 end
  16924.  
  16925.                 for i = 0.06, 1, 0.1 do
  16926.  
  16927.                         RAW.C0 = CA(MR(-90-90*i), 0, MR(40+50*i))
  16928.  
  16929.                         LAW.C0 = CA(MR(-90-90*i), 0, MR(-40-50*i))
  16930.  
  16931.                         HW.C0 = CA(MR(25-25*i), 0, MR(-90*i))
  16932.  
  16933.                         RLW.C0 = CN(0, 0, 0)
  16934.  
  16935.                         LLW.C0 = CA(MR(-20+20*i), 0, 0) * CN(0, 1.2-1.2*i, -0.5+0.5*i)
  16936.  
  16937.                         bp.position = Center * CA(MR(135-45*i), 0, 0) * CN(0, 0, -Dist).p
  16938.  
  16939.                         bg.cframe = CF * CA(MR(-90-90*i), 0, 0)
  16940.  
  16941.                         wait()
  16942.  
  16943.                 end
  16944.  
  16945.                 StartEffect()
  16946.  
  16947.                 for i = 0.06, 1, 0.1 do
  16948.  
  16949.                         RAW.C0 = CA(MR(180+10*i), 0, MR(90-130*i)) * CN(0, -1*i, 0)
  16950.  
  16951.                         LAW.C0 = CA(MR(180+10*i), 0, MR(-90+130*i)) * CN(0, -1*i, 0)
  16952.  
  16953.                         HW.C0 = CA(0, 0, MR(-90-90*i))
  16954.  
  16955.                         RLW.C0 = CN(0, 0, 0)
  16956.  
  16957.                         LLW.C0 = CA(0, 0, 0) * CN(0, 0, 0)
  16958.  
  16959.                         bp.position = Center * CA(MR(90-45*i), 0, 0) * CN(0, 0, -Dist).p
  16960.  
  16961.                         bg.cframe = CF * CA(MR(-180-90*i), 0, 0)
  16962.  
  16963.                         wait()
  16964.  
  16965.                 end
  16966.  
  16967.                 playz(Sounds.Slash)
  16968.  
  16969.                 for i = 0.06, 1, 0.1 do
  16970.  
  16971.                         RAW.C0 = CA(MR(190-100*i), 0, MR(-40)) * CN(0, -1-0.2*i, 0)
  16972.  
  16973.                         LAW.C0 = CA(MR(190-80*i), MR(-25*i), MR(40-15*i)) * CN(0, -1-0.2*i, 0)
  16974.  
  16975.                         HW.C0 = CA(0, MR(-45*i), MR(-180))
  16976.  
  16977.                         RLW.C0 = CN(0, 1*i, -1*i)
  16978.  
  16979.                         LLW.C0 = CA(MR(-20-70*i), 0, 0) * CN(0, 1.2-0.7*i, -0.5+0.3*i)
  16980.  
  16981.                         neck.C0 = necko * CA(MR(-30+60*i), 0, 0)
  16982.  
  16983.                         bp.position = Center * CA(MR(45-45*i), 0, 0) * CN(0, 0, -Dist).p
  16984.  
  16985.                         bg.cframe = CF * CA(MR(-270-90*i), 0, 0)
  16986.  
  16987.                         wait()
  16988.  
  16989.                 end
  16990.  
  16991.                 Mode = Dmgs.Boom
  16992.  
  16993.                 EndEffect()
  16994.  
  16995.                 RAW.C0 = CA(MR(90), 0, MR(-40)) * CN(0, -1.2, 0)
  16996.  
  16997.                 LAW.C0 = CA(MR(110), MR(-25), MR(25)) * CN(0, -1.2, 0)
  16998.  
  16999.                 HW.C0 = CA(0, MR(-45), MR(-180))
  17000.  
  17001.                 RLW.C0 = CN(0, 1, -1)
  17002.  
  17003.                 LLW.C0 = CA(MR(-90), 0, 0) * CN(0, 0.5, -0.2)
  17004.  
  17005.                 bp.position = Center * CN(0, 0, -Dist).p
  17006.  
  17007.                 bg.cframe = CF * CA(0, 0, 0)
  17008.  
  17009.                 local PosEff = Center * CN(0, -2, -Dist-2.5)
  17010.  
  17011.                 Notime(function()
  17012.  
  17013.                         playz(Sounds.Boom)
  17014.  
  17015.                         local disst = Dmgs.Boom[7]
  17016.  
  17017.                         local chars = getCharacters(workspace, PosEff.p, disst)
  17018.  
  17019.                         for _,v in pairs(chars) do
  17020.  
  17021.                                 local c, t, h = v[1], v[2], v[3]
  17022.  
  17023.                                 local d = (t.Position - PosEff.p).magnitude
  17024.  
  17025.                                 local bl, bp, blo = getBlock(c)
  17026.  
  17027.                                 if blo then
  17028.  
  17029.                                         ShieldDamage(Dmgs.Boom, bl, bp, false)
  17030.  
  17031.                                 end
  17032.  
  17033.                                 d = d/4
  17034.  
  17035.                                 if d < 1 then d = 1 end
  17036.  
  17037.                                 Damage(t, h, Dmgs.Boom[2]/d, false, false)
  17038.  
  17039.                                 for _,k in pairs(c:children()) do
  17040.  
  17041.                                         if k:IsA("BasePart") then
  17042.  
  17043.                                                 k.Velocity = CFrame.new(PosEff.p, k.Position).lookVector * 40 + Vector3.new(0, 50, 0)
  17044.  
  17045.                                         end
  17046.  
  17047.                                 end
  17048.  
  17049.                                 h.PlatformStand = true
  17050.  
  17051.                                 Notime(function() h.PlatformStand = false end, 0.2)
  17052.  
  17053.                         end
  17054.  
  17055.                         local eff = Instance.new("Model",workspace)
  17056.  
  17057.                         eff.Name = "Effect"
  17058.  
  17059.                         local wave = Part(eff, true, false, 0, 0, EffectColor, 1, 1, 1, true)
  17060.  
  17061.                         wave.CFrame = PosEff
  17062.  
  17063.                         local wavem = Add.Mesh(wave, "http://www.roblox.com/asset/?id=20329976", 3, 2, 3)
  17064.  
  17065.                         local ball = Part(eff, true, false, 0, 0, EffectColor2, 1, 1, 1, true)
  17066.  
  17067.                         ball.CFrame = PosEff
  17068.  
  17069.                         local ballm = Add.Sphere(ball)
  17070.  
  17071.                         ballm.Scale = Vector3.new(2, 5, 2)
  17072.  
  17073.                         local diamond = Part(eff, true, false, 0, 0, EffectColor, 1, 1, 1, true)
  17074.  
  17075.                         diamond.CFrame = PosEff
  17076.  
  17077.                         local diamondm = Add.Mesh(diamond, "http://www.roblox.com/asset/?id=9756362", 7, 0.5, 7)
  17078.  
  17079.                         for i = 0, 1, 0.05 do
  17080.  
  17081.                                 wait()
  17082.  
  17083.                                 wave.CFrame = PosEff * CFrame.Angles(0, MR(180*i), 0)
  17084.  
  17085.                                 wave.Transparency = i
  17086.  
  17087.                                 wavem.Scale = Vector3.new(3+(disst*1.15)*i, 2+(disst/1.4)*i, 3+(disst*1.15)*i)
  17088.  
  17089.                                 ball.Transparency = i
  17090.  
  17091.                                 ballm.Scale = Vector3.new(1+(disst*2)*i, 5+(disst*1.2)*i, 1+(disst*2)*i)
  17092.  
  17093.                                 diamond.Transparency = i
  17094.  
  17095.                                 diamondm.Scale = Vector3.new(7-6.5*i, 0.5+(disst*2)*i, 7-6.5*i)
  17096.  
  17097.                         end
  17098.  
  17099.                         wait()
  17100.  
  17101.                         eff:remove()
  17102.  
  17103.                 end)
  17104.  
  17105.                 wait(0.4)
  17106.  
  17107.                 for i = 0.07, 1, 0.1 do
  17108.  
  17109.                         RAW.C0 = CA(MR(90+50*i), 0, MR(-40)) * CN(0, -1.2+0.4*i, -0.4*i)
  17110.  
  17111.                         LAW.C0 = CA(MR(110+30*i), MR(-25+25*i), MR(25+15*i)) * CN(0, -1.2+0.4*i, -0.4*i)
  17112.  
  17113.                         HW.C0 = CA(MR(-30*i), MR(-45+45*i), MR(-180-30*i)) * CN(0, -0.7*i, 0)
  17114.  
  17115.                         RLW.C0 = CN(0, 1-1*i, -1+1*i)
  17116.  
  17117.                         LLW.C0 = CA(MR(-90+90*i), 0, 0) * CN(0, 0.5-0.5*i, -0.2+0.2*i)
  17118.  
  17119.                         neck.C0 = necko * CA(MR(30-15*i), 0, 0)
  17120.  
  17121.                         bp.position = Center * CN(0, 1.4*i, -Dist-1*i).p
  17122.  
  17123.                         wait()
  17124.  
  17125.                 end
  17126.  
  17127.                 bp:remove()
  17128.  
  17129.                 bg:remove()
  17130.  
  17131.                 hum.PlatformStand = false
  17132.  
  17133.                 for i = 0.05, 1, 0.1 do
  17134.  
  17135.                         RAW.C0 = CA(MR(140-100*i), MR(50*i), MR(-40+40*i)) * CN(0, -0.8+0.8*i, -0.4+0.4*i)
  17136.  
  17137.                         LAW.C0 = CA(MR(140-190*i), 0, MR(40-80*i)) * CN(0, -0.8+0.8*i, -0.4+0.4*i)
  17138.  
  17139.                         HW.C0 = CA(MR(-30+30*i), 0, MR(-210-150*i)) * CN(0, -0.7+0.7*i, 0)
  17140.  
  17141.                         RLW.C0 = CN()
  17142.  
  17143.                         LLW.C0 = CN()
  17144.  
  17145.                         neck.C0 = necko * CA(MR(15-15*i), 0, 0)
  17146.  
  17147.                         bp.position = Center * CN(0, 1.4-0.4*i, -Dist-1-0.3*i).p
  17148.  
  17149.                         wait()
  17150.  
  17151.                 end
  17152.  
  17153.                 RLW.Part1 = nil
  17154.  
  17155.                 LLW.Part1 = nil
  17156.  
  17157.                 for i = 0.1, 1, 0.2 do
  17158.  
  17159.                         LAW.C0 = CA(MR(-50+70*i), MR(-20*i), MR(-40+20*i))
  17160.  
  17161.                         wait()
  17162.  
  17163.                 end
  17164.  
  17165.                 Normalize()
  17166.  
  17167.                 AbleAll = true
  17168.  
  17169.         end
  17170.  
  17171. end
  17172.  
  17173.  
  17174.  
  17175. function Raeg()
  17176.  
  17177.         if Rage < Dmgs.RageMode[5] then return end
  17178.  
  17179.         if RageMode == false and AbleAll and Able then
  17180.  
  17181.                 AbleAll = false
  17182.  
  17183.                 local CF = ComputePos(torso.Position, torso.CFrame * CN(0, 0, -2))
  17184.  
  17185.                 for i = 0.05, 1, 0.1 do
  17186.  
  17187.                         RAW.C0 = CA(MR(40-70*i), MR(50-45*i), MR(10*i))
  17188.  
  17189.                         LAW.C0 = CA(MR(20-50*i), MR(-20+15*i), MR(-20+10*i))
  17190.  
  17191.                         HW.C0 = CA(MR(20*i), 0, 0)
  17192.  
  17193.                         wait()
  17194.  
  17195.                 end
  17196.  
  17197.                 for i = 0.12, 1, 0.25 do
  17198.  
  17199.                         RAW.C0 = CA(MR(-30-10*i), MR(5-5*i), MR(10-5*i))
  17200.  
  17201.                         LAW.C0 = CA(MR(-30-10*i), MR(-5+5*i), MR(-10+5*i))
  17202.  
  17203.                         HW.C0 = CA(MR(20+5*i), 0, 0)
  17204.  
  17205.                         wait()
  17206.  
  17207.                 end
  17208.  
  17209.                 hum.Jump = true
  17210.  
  17211.                 playz(Sounds.Jump2)
  17212.  
  17213.                 CF = ComputePos(torso.Position, torso.CFrame * CN(0, 0, -2))
  17214.  
  17215.                 local p = Part(workspace, true, false, 0, 0, "Bright red", 0.2, 0.2, 0.2, true)
  17216.  
  17217.                 p.CFrame = CF * CN(0, -2, 0)
  17218.  
  17219.                 local m = Add.Mesh(p, "http://www.roblox.com/asset/?id=20329976", 1, 3, 1)
  17220.  
  17221.                 Notime(function()
  17222.  
  17223.                         for i = 0, 1, 0.08 do
  17224.  
  17225.                                 wait()
  17226.  
  17227.                                 m.Scale = Vector3.new(1+5*i, 3-2.5*i, 1+5*i)
  17228.  
  17229.                                 p.Transparency = i
  17230.  
  17231.                         end
  17232.  
  17233.                         p:remove()
  17234.  
  17235.                 end)
  17236.  
  17237.                 for i = 0.05, 1, 0.1 do
  17238.  
  17239.                         RAW.C0 = CA(MR(-40+220*i), 0, MR(5+35*i))
  17240.  
  17241.                         LAW.C0 = CA(MR(-40+220*i), 0, MR(-5-35*i))
  17242.  
  17243.                         HW.C0 = CA(MR(25-115*i), MR(90*i), MR(45*i))
  17244.  
  17245.                         wait()
  17246.  
  17247.                 end
  17248.  
  17249.                 for i = 0.12, 1, 0.25 do
  17250.  
  17251.                         RAW.C0 = CA(MR(180+8*i), 0, MR(40))
  17252.  
  17253.                         LAW.C0 = CA(MR(180+8*i), 0, MR(-40))
  17254.  
  17255.                         HW.C0 = CA(MR(-90), MR(90), MR(45))
  17256.  
  17257.                         wait()
  17258.  
  17259.                 end
  17260.  
  17261.                 for i = 0.05, 1, 0.1 do
  17262.  
  17263.                         RAW.C0 = CA(MR(188-98*i), 0, MR(40-80*i)) * CN(0, -1*i, 0)
  17264.  
  17265.                         LAW.C0 = CA(MR(188-98*i), 0, MR(-40+80*i)) * CN(0, -1*i, 0)
  17266.  
  17267.                         HW.C0 = CA(MR(-90+90*i), MR(90+45*i), MR(45-45*i))
  17268.  
  17269.                         wait()
  17270.  
  17271.                 end
  17272.  
  17273.                 playz(Sounds.GoRage)
  17274.  
  17275.                 local p2 = Part(workspace, false, false, 1, 0, EffectColor3, 1, 1, 1, true)
  17276.  
  17277.                 Weld(Tip4, p2, 0, -2, 0, 0, 0, 0)
  17278.  
  17279.                 local m2 = Add.Sphere(p2)
  17280.  
  17281.                 m2.Scale = Vector3.new(0.2, 2, 0.5)
  17282.  
  17283.                 for i = 0, 1, 0.06 do
  17284.  
  17285.                         p2.Transparency = 1-1*i
  17286.  
  17287.                         m2.Scale = Vector3.new(0.2+0.7*i, 2+3*i, 0.5+1.6*i)
  17288.  
  17289.                         wait()
  17290.  
  17291.                 end
  17292.  
  17293.                 for _,v in pairs(Blades) do
  17294.  
  17295.                         v.BrickColor = BrickColor.new(EffectColor3)
  17296.  
  17297.                 end
  17298.  
  17299.                 wait(0.5)
  17300.  
  17301.                 for i = 0, 1, 0.1 do
  17302.  
  17303.                         p2.Transparency = i
  17304.  
  17305.                         wait()
  17306.  
  17307.                 end
  17308.  
  17309.                 p2:remove()
  17310.  
  17311.                 playz(Sounds.Shout)
  17312.  
  17313.                 for i = 0.1, 1, 0.1 do
  17314.  
  17315.                         RAW.C0 = CA(MR(90-50*i), MR(50*i), MR(-40+40*i)) * CN(0, -1+1*i, 0)
  17316.  
  17317.                         LAW.C0 = CA(MR(90-70*i), MR(-20*i), MR(-40+80-60*i)) * CN(0, -1+1*i, 0)
  17318.  
  17319.                         HW.C0 = CA(0, MR(135+45*i), 0)
  17320.  
  17321.                         wait()
  17322.  
  17323.                 end
  17324.  
  17325.                 Normalize()
  17326.  
  17327.                 AbleAll = true
  17328.  
  17329.                 RageMode = true
  17330.  
  17331.                 AddDamage = Dmgs.RageMode[2]
  17332.  
  17333.                 AddDamageX = Dmgs.RageMode[3]
  17334.  
  17335.                 AddShield = Dmgs.RageMode[4]
  17336.  
  17337.                 LineColor = EffectColor3
  17338.  
  17339.                 Notime(function()
  17340.  
  17341.                         repeat
  17342.  
  17343.                                 wait()
  17344.  
  17345.                                 Rage = Rage - 0.45
  17346.  
  17347.                         until Rage < 1
  17348.  
  17349.                         RageMode = false
  17350.  
  17351.                         AddDamage = 0
  17352.  
  17353.                         AddShield = 0
  17354.  
  17355.                         AddDamageX = 1
  17356.  
  17357.                         LineColor = "White"
  17358.  
  17359.                         local p3 = Part(workspace, false, false, 1, 0, BladeColor, 1, 1, 1, true)
  17360.  
  17361.                         Weld(Tip4, p3, 0, -2, 0, 0, 0, 0)
  17362.  
  17363.                         local m3 = Add.Sphere(p3)
  17364.  
  17365.                         m3.Scale = Vector3.new(0.85, 4.9, 1.8)
  17366.  
  17367.                         playz(Sounds.RageOff)
  17368.  
  17369.                         for i = 0.1, 1, 0.1 do
  17370.  
  17371.                                 p3.Transparency = 1-1*i
  17372.  
  17373.                                 wait()
  17374.  
  17375.                         end
  17376.  
  17377.                         p.Transparency = 0
  17378.  
  17379.                         for _,v in pairs(Blades) do
  17380.  
  17381.                                 v.BrickColor = BrickColor.new(BladeColor)
  17382.  
  17383.                         end
  17384.  
  17385.                         wait(0.2)
  17386.  
  17387.                         for i = 0.2, 1, 0.2 do
  17388.  
  17389.                                 p3.Transparency = 1*i
  17390.  
  17391.                                 m3.Scale = Vector3.new(0.85+2*i, 4.9+9*i, 1.8+4.5*i)
  17392.  
  17393.                                 wait()
  17394.  
  17395.                         end
  17396.  
  17397.                         p3:remove()
  17398.  
  17399.                 end)
  17400.  
  17401.         end
  17402.  
  17403. end
  17404.  
  17405.  
  17406.  
  17407. function RageSlash(plaic)
  17408.  
  17409.         if Rage < Dmgs.RageSlash[6] then return end
  17410.  
  17411.         local cf = torso.CFrame
  17412.  
  17413.         local CF = ComputePos(cf.p, cf * CN(0, 0, -2))
  17414.  
  17415.         if plaic then
  17416.  
  17417.                 CF = ComputePos(cf.p, plaic)
  17418.  
  17419.                 local bg = Add.BG(torso)
  17420.  
  17421.                 bg.cframe = CF
  17422.  
  17423.                 Notime(function() bg:remove() end, 0.4)
  17424.  
  17425.         end
  17426.  
  17427.         Rage = Rage - Dmgs.RageSlash[6]
  17428.  
  17429.         AbleAll = false
  17430.  
  17431.         for i = 0.05, 1, 0.1 do
  17432.  
  17433.                 RAW.C0 = CA(MR(40+105*i), MR(50-50*i), MR(-35*i)) * CN(0.15*i, -1*i, 0)
  17434.  
  17435.                 LAW.C0 = CA(MR(20+125*i), MR(-20+20*i), MR(-20+55*i)) * CN(-0.15*i, -1*i, 0)
  17436.  
  17437.                 HW.C0 = CA(0, MR(-35*i), 0)
  17438.  
  17439.                 neck.C0 = necko * CA(MR(-20*i), 0, 0)
  17440.  
  17441.                 wait()
  17442.  
  17443.         end
  17444.  
  17445.         for i = 0.09, 1, 0.18 do
  17446.  
  17447.                 RAW.C0 = CA(MR(145+55*i), 0, MR(-35)) * CN(0.15, -1, 0)
  17448.  
  17449.                 LAW.C0 = CA(MR(145+55*i), 0, MR(35)) * CN(-0.15, -1, 0)
  17450.  
  17451.                 HW.C0 = CA(0, MR(-35), 0)
  17452.  
  17453.                 neck.C0 = necko * CA(MR(-20-20*i), 0, 0)
  17454.  
  17455.                 wait()
  17456.  
  17457.         end
  17458.  
  17459.         PlaySound(Sounds.Slash[1], Sounds.Slash[2]-0.7, Sounds.Slash[3])
  17460.  
  17461.         for i = 0.12, 1, 0.25 do
  17462.  
  17463.                 RAW.C0 = CA(MR(200+10*i), 0, MR(-35)) * CN(0.15, -1, 0)
  17464.  
  17465.                 LAW.C0 = CA(MR(200+10*i), 0, MR(35)) * CN(-0.15, -1, 0)
  17466.  
  17467.                 HW.C0 = CA(0, MR(-35), 0)
  17468.  
  17469.                 neck.C0 = necko * CA(MR(-20-20-5*i), 0, 0)
  17470.  
  17471.                 wait()
  17472.  
  17473.         end
  17474.  
  17475.         Mode = Dmgs.RageSlash
  17476.  
  17477.         StartEffect("Neon orange")
  17478.  
  17479.         Hurt = true
  17480.  
  17481.         Deb = true
  17482.  
  17483.         for i = 0.07, 1, 0.14 do
  17484.  
  17485.                 RAW.C0 = CA(MR(210-160*i), 0, MR(-35)) * CN(0.15, -1, 0)
  17486.  
  17487.                 LAW.C0 = CA(MR(210-150*i), MR(-30*i), MR(35)) * CN(-0.15, -1, 0)
  17488.  
  17489.                 HW.C0 = CA(MR(-70*i), MR(-35), MR(-35*i))
  17490.  
  17491.                 neck.C0 = necko * CA(MR(-45+80*i), 0, 0)
  17492.  
  17493.                 wait()
  17494.  
  17495.         end
  17496.  
  17497.         EndEffect()
  17498.  
  17499.         Hurt = false
  17500.  
  17501.         for i = 0.33, 1, 0.33 do
  17502.  
  17503.                 RAW.C0 = CA(MR(50-15*i), 0, MR(-35)) * CN(0.15, -1, 0)
  17504.  
  17505.                 LAW.C0 = CA(MR(60-15*i), MR(-30), MR(35)) * CN(-0.15, -1, 0)
  17506.  
  17507.                 HW.C0 = CA(MR(-70-15*i), MR(-35), MR(-35-7*i))
  17508.  
  17509.                 neck.C0 = necko * CA(MR(-45+80+5*i), 0, 0)
  17510.  
  17511.                 wait()
  17512.  
  17513.         end
  17514.  
  17515.         for i = 0.07, 1, 0.14 do
  17516.  
  17517.                 RAW.C0 = CA(MR(35+5*i), MR(50*i), MR(-35+35*i)) * CN(0.15-0.15*i, -1+1*i, 0)
  17518.  
  17519.                 LAW.C0 = CA(MR(45-25*i), MR(-30+10*i), MR(35-55*i)) * CN(-0.15+0.15*i, -1+1*i, 0)
  17520.  
  17521.                 HW.C0 = CA(MR(-70-15+85*i), MR(-35+35*i), MR(-35-7+42*i))
  17522.  
  17523.                 neck.C0 = necko * CA(MR(-45+80+5-40*i), 0, 0)
  17524.  
  17525.                 wait()
  17526.  
  17527.         end
  17528.  
  17529.         Normalize()
  17530.  
  17531.         AbleAll = true
  17532.  
  17533. end
  17534.  
  17535.  
  17536.  
  17537. --RAW ORIGINAL = CA(MR(40), MR(50), 0)
  17538.  
  17539. --LAW ORIGINAL = CA(MR(20), MR(-20), MR(-20))
  17540.  
  17541. --HW ORIGINAL = CA(0, 0, 0)
  17542.  
  17543.  
  17544.  
  17545. function Counter()
  17546.  
  17547.         local cf = torso.CFrame
  17548.  
  17549.         local CF = CFrame.new(cf.p, cf * CN(0, 0, -2).p)
  17550.  
  17551.         local bg = Add.BG(torso)
  17552.  
  17553.         bg.cframe = CF
  17554.  
  17555.         for i = 0.1, 1, 0.2 do
  17556.  
  17557.                 RAW.C0 = CA(MR(-50+50*i), MR(-35), MR(80*i))
  17558.  
  17559.                 LAW.C0 = CA(MR(90-20*i), 0, MR(80-20*i)) * CN(-0.75+0.25*i, -0.8+0.5*i, 0)
  17560.  
  17561.                 HW.C0 = CA(MR(20-60*i), 0, 0)
  17562.  
  17563.                 bg.cframe = CF * CA(0, MR(-35*i), 0)
  17564.  
  17565.                 neck.C0 = necko * CA(0, 0, MR(35*i))
  17566.  
  17567.                 wait()
  17568.  
  17569.         end
  17570.  
  17571.         StartEffect()
  17572.  
  17573.         Hurt = true
  17574.  
  17575.         Deb = true
  17576.  
  17577.         Mode = Dmgs.Counter
  17578.  
  17579.         playz(Sounds.Slash)
  17580.  
  17581.         for i = 0.09, 1, 0.18 do
  17582.  
  17583.                 RAW.C0 = CA(0, MR(-35+130*i), MR(80)) * CN(0, -0.3*i, 0)
  17584.  
  17585.                 LAW.C0 = CA(MR(70-130*i), 0, MR(60-60*i)) * CN(-0.5+0.5*i, -0.3+0.3*i, 0)
  17586.  
  17587.                 HW.C0 = CA(MR(-40+40*i), 0, 0)
  17588.  
  17589.                 bg.cframe = CF * CA(0, MR(-35+80*i), 0)
  17590.  
  17591.                 neck.C0 = necko * CA(0, 0, MR(35-80*i))
  17592.  
  17593.                 wait()
  17594.  
  17595.         end
  17596.  
  17597.         EndEffect()
  17598.  
  17599.         Hurt = false
  17600.  
  17601.         for i = 0.12, 1, 0.25 do
  17602.  
  17603.                 RAW.C0 = CA(0, MR(95+10*i), MR(80)) * CN(0, -0.3, 0)
  17604.  
  17605.                 LAW.C0 = CA(MR(-60-10*i), 0, 0)
  17606.  
  17607.                 HW.C0 = CA(MR(5*i), 0, 0)
  17608.  
  17609.                 bg.cframe = CF * CA(0, MR(45+5*i), 0)
  17610.  
  17611.                 neck.C0 = necko * CA(0, 0, MR(-45-5*i))
  17612.  
  17613.                 wait()
  17614.  
  17615.         end
  17616.  
  17617.         for i = 0.06, 1, 0.12 do
  17618.  
  17619.                 RAW.C0 = CA(MR(40*i), MR(105-55*i), MR(80-80*i)) * CN(0, -0.3+0.3*i, 0)
  17620.  
  17621.                 LAW.C0 = CA(MR(-70+90*i), MR(-20*i), MR(-20*i))
  17622.  
  17623.                 HW.C0 = CA(MR(5-5*i), 0, 0)
  17624.  
  17625.                 bg.cframe = CF * CA(0, MR(50-50*i), 0)
  17626.  
  17627.                 neck.C0 = necko * CA(0, 0, MR(-50+50*i))
  17628.  
  17629.                 wait()
  17630.  
  17631.         end
  17632.  
  17633.         Normalize()
  17634.  
  17635.         bg:remove()
  17636.  
  17637. end
  17638.  
  17639.  
  17640.  
  17641. function Bloc()
  17642.  
  17643.         if AbleAll and Able then
  17644.  
  17645.                 AbleAll = false
  17646.  
  17647.                 Block.Value = true
  17648.  
  17649.                 for i = 0, 1, 0.15 do
  17650.  
  17651.                         if not Block then break end
  17652.  
  17653.                         RAW.C0 = CA(MR(40-90*i), MR(50-85*i), 0)
  17654.  
  17655.                         LAW.C0 = CA(MR(20+70*i), MR(-20+20*i), MR(-20+100*i)) * CN(-0.75*i, -0.8*i, 0)
  17656.  
  17657.                         HW.C0 = CA(MR(20*i), 0, 0)
  17658.  
  17659.                         wait()
  17660.  
  17661.                 end
  17662.  
  17663.                 RAW.C0 = CA(MR(40-90), MR(50-85), 0)
  17664.  
  17665.                 LAW.C0 = CA(MR(20+70), MR(-20+20), MR(-20+100)) * CN(-0.75, -0.8, 0)
  17666.  
  17667.                 HW.C0 = CA(MR(20), 0, 0)
  17668.  
  17669.                 PlaySound(Sounds.SmashHit[1], Sounds.SmashHit[2]-0.6, Sounds.SmashHit[3])
  17670.  
  17671.                 repeat
  17672.  
  17673.                         wait()
  17674.  
  17675.                         if BlockPower.Value < 1 then
  17676.  
  17677.                                 Block.Value = false
  17678.  
  17679.                                 BlockPower.Value = BlockRealPowa
  17680.  
  17681.                         end
  17682.  
  17683.                 until Block.Value == false
  17684.  
  17685.                 if CounterKey and Rage >= Dmgs.Counter[6] then
  17686.  
  17687.                         Rage = Rage - Dmgs.Counter[6]
  17688.  
  17689.                         Counter()
  17690.  
  17691.                 else
  17692.  
  17693.                         for i = 1, 0, -0.2 do
  17694.  
  17695.                                 RAW.C0 = CA(MR(40-90*i), MR(50-85*i), 0)
  17696.  
  17697.                                 LAW.C0 = CA(MR(20+70*i), MR(-20+20*i), MR(-20+100*i)) * CN(-0.75*i, -0.8*i, 0)
  17698.  
  17699.                                 HW.C0 = CA(MR(20*i), 0, 0)
  17700.  
  17701.                                 wait()
  17702.  
  17703.                         end
  17704.  
  17705.                         Normalize()
  17706.  
  17707.                 end
  17708.  
  17709.                 AbleAll = true
  17710.  
  17711.         end
  17712.  
  17713. end
  17714.  
  17715.  
  17716.  
  17717. function Clicked(mousepos)
  17718.  
  17719.         if Block.Value == false and Able and AbleAll then
  17720.  
  17721.                 if Aim then
  17722.  
  17723.                         Notime(function()
  17724.  
  17725.                                 local bg = Add.BG(torso)
  17726.  
  17727.                                 bg.cframe = ComputePos(torso.Position, mousepos)
  17728.  
  17729.                                 bg.P = 5500
  17730.  
  17731.                                 wait(0.4)
  17732.  
  17733.                                 bg:remove()
  17734.  
  17735.                         end)
  17736.  
  17737.                 end
  17738.  
  17739.                 Attacks[Attack]()
  17740.  
  17741.         end
  17742.  
  17743. end
  17744.  
  17745.  
  17746.  
  17747. function KeyDown(key, mouse)
  17748.  
  17749.         key = key:lower()
  17750.  
  17751.         if Able then
  17752.  
  17753.                 local aimplace = nil
  17754.  
  17755.                 if Aim then
  17756.  
  17757.                         aimplace = mouse.Hit.p
  17758.  
  17759.                 end
  17760.  
  17761.                 if key == string.char(48) then
  17762.  
  17763.                         Notime(function()
  17764.  
  17765.                                 local k = nil
  17766.  
  17767.                                 repeat
  17768.  
  17769.                                         k = mouse.KeyUp:wait()
  17770.  
  17771.                                 until k == string.char(48)
  17772.  
  17773.                                 Block.Value = false
  17774.  
  17775.                         end)
  17776.  
  17777.                         Bloc()
  17778.  
  17779.                 elseif key == "e" then
  17780.  
  17781.                         if Block.Value == false and AbleAll then
  17782.  
  17783.                                 SpinSlash(aimplace)
  17784.  
  17785.                         end
  17786.  
  17787.                 elseif key == "r" then
  17788.  
  17789.                         if Block.Value == false and AbleAll then
  17790.  
  17791.                                 Flawp(aimplace)
  17792.  
  17793.                         end
  17794.  
  17795.                 elseif key == "f" then
  17796.  
  17797.                         if Block.Value == false and AbleAll then
  17798.  
  17799.                                 Raeg()
  17800.  
  17801.                         end
  17802.  
  17803.                 elseif key == "t" then
  17804.  
  17805.                         Notime(function()
  17806.  
  17807.                                 local k = nil
  17808.  
  17809.                                 CounterKey = true
  17810.  
  17811.                                 repeat
  17812.  
  17813.                                         k = mouse.KeyUp:wait()
  17814.  
  17815.                                 until k == "t"
  17816.  
  17817.                                 CounterKey = false
  17818.  
  17819.                         end)
  17820.  
  17821.                 elseif key == "q" then
  17822.  
  17823.                         if Block.Value == false and AbleAll then
  17824.  
  17825.                                 local a = nil
  17826.  
  17827.                                 if Aim then
  17828.  
  17829.                                         a = mouse.Hit.p
  17830.  
  17831.                                 end
  17832.  
  17833.                                 RageSlash(a)
  17834.  
  17835.                         end
  17836.  
  17837.                 end
  17838.  
  17839.         end
  17840.  
  17841. end
  17842.  
  17843.  
  17844.  
  17845. Select = function(mouse)
  17846.  
  17847.         SelectAnim()
  17848.  
  17849.         Selected = true
  17850.  
  17851.         mouse.Button1Down:connect(function()
  17852.  
  17853.                 if Able then
  17854.  
  17855.                         Clicked(mouse.Hit.p)
  17856.  
  17857.                 end
  17858.  
  17859.         end)
  17860.  
  17861.         mouse.KeyDown:connect(function(key)
  17862.  
  17863.                 KeyDown(key, mouse)
  17864.  
  17865.         end)
  17866.  
  17867. end
  17868.  
  17869.  
  17870.  
  17871. Deselect = function(mouse)
  17872.  
  17873.         Selected = false
  17874.  
  17875.         DeselectAnim()
  17876.  
  17877. end
  17878.  
  17879.  
  17880.  
  17881. Bin.Selected:connect(Select)
  17882.  
  17883. Bin.Deselected:connect(Deselect)
  17884.  
  17885.  
  17886.  
  17887. Notime(function()
  17888.  
  17889.         local parent = char.Parent
  17890.  
  17891.         while char.Parent == parent do
  17892.  
  17893.                 wait()
  17894.  
  17895.                 if Rage > MaxRage then Rage = MaxRage elseif Rage < 0 then Rage = 0 end
  17896.  
  17897.                 RageBar.Size = UD(1, 0, Rage/MaxRage, 0)
  17898.  
  17899.                 RageBar.Position = UD(0, 0, 1-(Rage/MaxRage), 0)
  17900.  
  17901.                 RageAmount.Text = math.floor(Rage)
  17902.  
  17903.                 local hp2 = hum.Health/hum.MaxHealth
  17904.  
  17905.                 if hp2 > 1 then hp2 = 1 elseif hp2 < 0 then hp2 = 0 end
  17906.  
  17907.                 HealthBar.Size = UD(1, 0, hp2, 0)
  17908.  
  17909.                 if Block.Value then
  17910.  
  17911.                         hum.WalkSpeed = 10
  17912.  
  17913.                 elseif RageMode and Block.Value then
  17914.  
  17915.                         hum.WalkSpeed = 16
  17916.  
  17917.                 elseif RageMode then
  17918.  
  17919.                         hum.WalkSpeed = 19
  17920.  
  17921.                 else
  17922.  
  17923.                         hum.WalkSpeed = 16
  17924.  
  17925.                 end
  17926.  
  17927.         end
  17928.  
  17929. end)
  17930.  
  17931.         end)
  17932. --
  17933. local button = Instance.new("TextButton")
  17934.         button.Parent = ws
  17935.         button.BackgroundColor3 = blak
  17936.         button.BorderColor3 = rede
  17937.         button.BorderSizePixel = 3
  17938.         button.Name = "Dual Blades"
  17939.         button.Position = UDim2.new(0.5,3,0,33)
  17940.         button.Size = UDim2.new(0.5,-3,0,30)
  17941.         button.ZIndex = 2
  17942.         button.Font = tef
  17943.         button.FontSize = "Size14"
  17944.         button.Text = "Dual Blades"
  17945.         button.TextColor3 = whit
  17946.         button.TextWrapped = true
  17947.         button.MouseButton1Down:connect(function()
  17948.                 --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 5 and put your name where it says "YOUR NAME HERE"
  17949.  
  17950.  
  17951. local admin = game.Players.LocalPlayer
  17952. bin = Instance.new("HopperBin", admin.Backpack)
  17953. player = bin.Parent.Parent.Character
  17954. rarm = player["Right Arm"]
  17955. larm = player["Left Arm"]
  17956. visible = true
  17957. --for i, v in pairs(game.Players:GetChildren()) do
  17958. --bin:Clone().Parent = v.Backpack
  17959. --end
  17960. on = 1
  17961.  
  17962. local glideg = Instance.new("BodyGyro")
  17963. local glidev = Instance.new("BodyVelocity")
  17964.  
  17965. function shadow(rblade,lblade)
  17966. while on == 1 do
  17967. wait(.1)
  17968. if visible then
  17969. local a = rblade:clone()
  17970. local b = lblade:clone()
  17971. a.Anchored = true
  17972. a.Parent = player
  17973. a.CFrame = rblade.CFrame
  17974. a.CanCollide = false
  17975. a.Transparency = .2
  17976. b.Anchored = true
  17977. b.Parent = player
  17978. b.CFrame = lblade.CFrame
  17979. b.CanCollide = false
  17980. b.Transparency = .2
  17981. coroutine.resume(coroutine.create(function() dissapate(a,b) end))
  17982. end
  17983. end
  17984. end
  17985.  
  17986. function stun(blast)
  17987. for x = 1,15 do
  17988. wait(1)
  17989. local sap = game.Players:GetChildren()
  17990. for i = 1,#sap do
  17991. wait()
  17992. if (sap.Character.Torso.Position - Workspace.keel.Position).magnitude < 20 then
  17993. sap.Character.Humanoid.Sit = true
  17994. end
  17995. end
  17996. end
  17997. end
  17998.  
  17999. function dissapate(a,b)
  18000. for i = 1,8 do
  18001. wait()
  18002. a.Transparency = a.Transparency +.1
  18003. b.Transparency = b.Transparency +.1
  18004. end
  18005. a:remove()
  18006. b:remove()
  18007. end
  18008.  
  18009. bin.Selected:connect(function(mouse)
  18010. on = 1
  18011. if player.Torso:findFirstChild("Right Shoulder") ~= nil then
  18012. rs = player.Torso["Right Shoulder"]
  18013. rs.Part1 = nil
  18014. end
  18015. if player.Torso:findFirstChild("Left Shoulder") ~= nil then
  18016. ls = player.Torso["Left Shoulder"]
  18017. ls.Part1 = nil
  18018. end
  18019. if player:FindFirstChild("check") == nil then
  18020. rns = Instance.new("Weld")
  18021. rns.Parent = player.Torso
  18022. rns.Part0 = rns.Parent
  18023. rns.Part1 = player["Right Arm"]
  18024. rns.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18025. lns = Instance.new("Weld")
  18026. lns.Parent = player.Torso
  18027. lns.Part0 = lns.Parent
  18028. lns.Part1 = player["Left Arm"]
  18029. lns.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18030. rblade = Instance.new("Part")
  18031. rblade.BrickColor = BrickColor.new("Institutional white")
  18032. rblade.Name ="check"
  18033. rblade.Parent = player
  18034. rblade.CanCollide = false
  18035. rblade.Size = Vector3.new(1,3,1)
  18036. rblade.formFactor = "Symmetric"
  18037. rblade.TopSurface = 0
  18038. rblade.BottomSurface = 0
  18039. rbm = Instance.new("BlockMesh")
  18040. rbm.Parent = rblade
  18041. rbm.Scale = Vector3.new(.1,1,.3)
  18042. rbw = Instance.new("Weld")
  18043. rbw.Parent = rarm
  18044. rbw.Part0 = rarm
  18045. rbw.Part1 = rblade
  18046. rbw.C1 = CFrame.new(0,1,0)
  18047. lblade = Instance.new("Part")
  18048. lblade.BrickColor = rblade.BrickColor
  18049. lblade.Name = "checkb"
  18050. lblade.Parent = player
  18051. lblade.CanCollide = false
  18052. lblade.Size = Vector3.new(1,3,1)
  18053. lblade.formFactor = "Symmetric"
  18054. lblade.TopSurface = 0
  18055. lblade.BottomSurface = 0
  18056. lbm = Instance.new("BlockMesh")
  18057. lbm.Parent = lblade
  18058. lbm.Scale = Vector3.new(.1,1,.3)
  18059. lbw = Instance.new("Weld")
  18060. lbw.Parent = larm
  18061. lbw.Part0 = larm
  18062. lbw.Part1 = lblade
  18063. lbw.C1 = CFrame.new(0,1,0)
  18064. coroutine.resume(coroutine.create(function() shadow(rblade, lblade) end))
  18065. end
  18066. rblade.Touched:connect(function(hit)
  18067. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18068. if hit.Parent.Name ~= player.Name then
  18069. if hit.Parent.Humanoid.MaxHealth > 100 then
  18070. hit.Parent.Humanoid.MaxHealth = 100
  18071. end
  18072. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(3,7)
  18073. for i = 1, (math.random(1,3)) do
  18074. wait()
  18075. local bleed = Instance.new("Part")
  18076. bleed.formFactor = "Symmetric"
  18077. bleed.Size = Vector3.new(1,1,1)
  18078. bleed.BrickColor = BrickColor.new("Bright red")
  18079. bleed.TopSurface = 0
  18080. bleed.BottomSurface = 0
  18081. bleed.Reflectance = .1
  18082. bleed.Transparency = .4
  18083. bleed.Parent = Workspace
  18084. bleed.Position = rblade.Position
  18085. local bleedm = Instance.new("SpecialMesh")
  18086. bleedm.MeshType = "Sphere"
  18087. bleedm.Scale = Vector3.new(.2,.2,.2)
  18088. bleedm.Parent = bleed
  18089. game:GetService("Debris"):AddItem(bleed, 5)
  18090. end
  18091. end
  18092. end
  18093. end)
  18094.  
  18095. lblade.Touched:connect(function(hit)
  18096. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18097. if hit.Parent.Name ~= player.Name then
  18098. if hit.Parent.Humanoid.MaxHealth > 100 then
  18099. hit.Parent.Humanoid.MaxHealth = 100
  18100. end
  18101. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(3,7)
  18102. for i = 1, (math.random(1,3)) do
  18103. wait()
  18104. local bleed = Instance.new("Part")
  18105. bleed.formFactor = "Symmetric"
  18106. bleed.Size = Vector3.new(1,1,1)
  18107. bleed.BrickColor = BrickColor.new("Bright red")
  18108. bleed.TopSurface = 0
  18109. bleed.BottomSurface = 0
  18110. bleed.Reflectance = .1
  18111. bleed.Transparency = .4
  18112. bleed.Parent = Workspace
  18113. bleed.Position = lblade.Position
  18114. local bleedm = Instance.new("SpecialMesh")
  18115. bleedm.MeshType = "Sphere"
  18116. bleedm.Scale = Vector3.new(.2,.2,.2)
  18117. bleedm.Parent = bleed
  18118. game:GetService("Debris"):AddItem(bleed, 5)
  18119. end
  18120. end
  18121. end
  18122. end)
  18123. ----end of blades
  18124. right = rns
  18125. left = lns
  18126. mouse.KeyDown:connect(function(key)
  18127. key = key:lower()
  18128. print(key)
  18129. if key == "z" and rblade.Transparency <= 0 then
  18130. for i = 1,50 do
  18131. wait()
  18132. rblade.Transparency = rblade.Transparency + .02
  18133. lblade.Transparency = lblade.Transparency + .02
  18134. end
  18135. rblade.Transparency = 1
  18136. lblade.Transparency = 1
  18137. visible = false
  18138. elseif key == "x" and rblade.Transparency > 0 then
  18139. visible = true
  18140. for i = 1,50 do
  18141. wait()
  18142. rblade.Transparency = rblade.Transparency - .02
  18143. lblade.Transparency = lblade.Transparency - .02
  18144. end
  18145. rblade.Transparency = 0
  18146. lblade.Transparency = 0
  18147. elseif key == "c" then
  18148. wait()
  18149. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18150. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18151. end
  18152. if key == "e" then
  18153. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18154. wait()
  18155. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18156. wait()
  18157. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18158. wait()
  18159. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18160. wait()
  18161. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18162. wait()
  18163. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18164. wait(.5)
  18165. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18166. wait()
  18167. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18168. wait()
  18169. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18170. wait()
  18171. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18172. wait()
  18173. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18174. elseif key == "q" then
  18175. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18176. wait()
  18177. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18178. wait()
  18179. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18180. wait()
  18181. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18182. wait()
  18183. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18184. wait()
  18185. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18186. wait(.5)
  18187. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18188. wait()
  18189. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18190. wait()
  18191. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18192. wait()
  18193. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18194. wait()
  18195. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18196. elseif key == "r" then
  18197. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18198. wait()
  18199. left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.3))
  18200. wait()
  18201. left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.35))
  18202. wait()
  18203. left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.4))
  18204. wait()
  18205. left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.45))
  18206. wait()
  18207. left.C1 = CFrame.new(0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.5))
  18208. wait(.2)
  18209. left.C1 = CFrame.new(0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.5))
  18210. wait()
  18211. left.C1 = CFrame.new(0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.5))
  18212. wait()
  18213. left.C1 = CFrame.new(0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.5))
  18214. wait()
  18215. left.C1 = CFrame.new(0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.5))
  18216. wait()
  18217. left.C1 = CFrame.new(0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*.5))
  18218. wait(.1)
  18219. left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.45))
  18220. wait()
  18221. left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.4))
  18222. wait()
  18223. left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.35))
  18224. wait()
  18225. left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.3))
  18226. wait()
  18227. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18228. elseif key == "t" then
  18229. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18230. wait()
  18231. right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.3))
  18232. wait()
  18233. right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.35))
  18234. wait()
  18235. right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.4))
  18236. wait()
  18237. right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.45))
  18238. wait()
  18239. right.C1 = CFrame.new(-0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.5))
  18240. wait(.2)
  18241. right.C1 = CFrame.new(-0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.5))
  18242. wait()
  18243. right.C1 = CFrame.new(-0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.5))
  18244. wait()
  18245. right.C1 = CFrame.new(-0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.5))
  18246. wait()
  18247. right.C1 = CFrame.new(-0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.5))
  18248. wait()
  18249. right.C1 = CFrame.new(-0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*-.5))
  18250. wait(.1)
  18251. right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.45))
  18252. wait()
  18253. right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.4))
  18254. wait()
  18255. right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.35))
  18256. wait()
  18257. right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.3))
  18258. wait()
  18259. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18260. end
  18261. --abilities
  18262. if key == "b" then
  18263. local a = player:GetChildren()
  18264. for i = 1,#a do
  18265. wait()
  18266. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18267. for x = 1, 5 do
  18268. wait()
  18269. a.Transparency = a.Transparency +.2
  18270. end
  18271. elseif a.className == "Hat" then
  18272. for x = 1, 5 do
  18273. wait()
  18274. a.Handle.Transparency = a.Handle.Transparency +.2
  18275. end
  18276. end
  18277. end
  18278. player.Torso.CFrame = mouse.Hit + Vector3.new(0,4,0)
  18279. wait()
  18280. for i = 1,#a do
  18281. wait()
  18282. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18283. for x = 1, 5 do
  18284. wait()
  18285. a.Transparency = a.Transparency -.2
  18286. end
  18287. elseif a.className == "Hat" then
  18288. for x = 1, 5 do
  18289. wait()
  18290. a.Handle.Transparency = a.Handle.Transparency -.2
  18291. end
  18292. end
  18293. end
  18294. for i = 1,#a do
  18295. wait()
  18296. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18297. wait()
  18298. a.Transparency = 0
  18299. elseif a.className == "Hat" then
  18300. wait()
  18301. a.Handle.Transparency = 0
  18302. end
  18303. end
  18304. end
  18305. if key == "v" then
  18306. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18307. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18308. wait()
  18309. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18310. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18311. wait()
  18312. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18313. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18314. wait()
  18315. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18316. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18317. wait()
  18318. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18319. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18320. wait()
  18321. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18322. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18323. wait(.2)
  18324. wait(.45)
  18325. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18326. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18327. wait()
  18328. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18329. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18330. wait()
  18331. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18332. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18333. wait()
  18334. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18335. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18336. wait()
  18337. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18338. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18339. end
  18340. if key == "f" then
  18341. local tar = mouse.Target
  18342. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  18343. local float = Instance.new("BodyPosition")
  18344. float.Parent = tar.Parent.Torso
  18345. float.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  18346. float.position = tar.Parent.Torso.Position + Vector3.new(0,10,0)
  18347. wait(1)
  18348. player.Humanoid.MaxHealth = 99999
  18349. player.Humanoid.Health = 99999
  18350. local floatme = Instance.new("BodyPosition")
  18351. floatme.Parent = player.Torso
  18352. floatme.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  18353. floatme.position = tar.Parent.Torso.Position
  18354. wait(1)
  18355. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18356. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18357. wait()
  18358. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18359. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18360. wait()
  18361. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18362. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18363. wait()
  18364. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18365. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18366. wait()
  18367. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18368. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18369. wait()
  18370. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18371. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18372. wait()
  18373. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18374. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18375. wait()
  18376. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18377. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18378. wait()
  18379. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18380. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18381. wait()
  18382. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18383. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18384. wait()
  18385. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18386. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18387. wait()
  18388. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18389. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18390. wait()
  18391. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18392. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18393. wait()
  18394. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18395. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18396. wait()
  18397. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18398. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18399. wait()
  18400. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18401. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18402. wait()
  18403. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18404. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18405. wait()
  18406. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18407. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18408. wait()
  18409. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18410. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18411. wait()
  18412. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18413. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18414. wait()
  18415. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18416. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18417. wait()
  18418. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18419. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18420. wait(.5)
  18421. player.Humanoid.MaxHealth = 100
  18422. player.Humanoid.Health = 100
  18423. float:remove()
  18424. floatme:remove()
  18425. end
  18426. end
  18427. if key == "g" then
  18428. --
  18429. rblade2 = Instance.new("Part")
  18430. rblade2.BrickColor = BrickColor.new("Really black")
  18431. rblade2.Parent = player
  18432. rblade2.CanCollide = false
  18433. rblade2.Size = Vector3.new(1,6,1)
  18434. rblade2.CFrame = rblade.CFrame
  18435. rblade2.formFactor = "Symmetric"
  18436. rblade2.TopSurface = 0
  18437. rblade2.BottomSurface = 0
  18438. rblade2.Reflectance = .5
  18439. rbm2 = Instance.new("BlockMesh")
  18440. rbm2.Parent = rblade2
  18441. rbm2.Scale = Vector3.new(.21,1,.31)
  18442. rbw2 = Instance.new("Weld")
  18443. rbw2.Parent = rblade
  18444. rbw2.Part0 = rblade
  18445. rbw2.Part1 = rblade2
  18446. lblade2 = Instance.new("Part")
  18447. lblade2.BrickColor = rblade.BrickColor
  18448. lblade2.Parent = player
  18449. lblade2.CanCollide = false
  18450. lblade2.Size = Vector3.new(1,6,1)
  18451. lblade2.CFrame = lblade.CFrame
  18452. lblade2.formFactor = "Symmetric"
  18453. lblade2.TopSurface = 0
  18454. lblade2.BottomSurface = 0
  18455. lblade2.Reflectance = .5
  18456. lbm2 = Instance.new("BlockMesh")
  18457. lbm2.Parent = lblade2
  18458. lbm2.Scale = Vector3.new(.21,1,.31)
  18459. lbw2 = Instance.new("Weld")
  18460. lbw2.Parent = lblade
  18461. lbw2.Part0 = lblade
  18462. lbw2.Part1 = lblade2
  18463. rblade.Touched:connect(function(hit)
  18464. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18465. if hit.Parent.Name ~= player.Name then
  18466. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  18467. end
  18468. end
  18469. end)
  18470. lblade.Touched:connect(function(hit)
  18471. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18472. if hit.Parent.Name ~= player.Name then
  18473. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  18474. end
  18475. end
  18476. end)
  18477. --
  18478. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*-.25))
  18479. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*.25))
  18480. wait()
  18481. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25))
  18482. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25))
  18483. wait()
  18484. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25))
  18485. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25))
  18486. wait()
  18487. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25))
  18488. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25))
  18489. wait()
  18490. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25))
  18491. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25))
  18492. wait()
  18493. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18494. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18495. wait()
  18496. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25))
  18497. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25))
  18498. wait()
  18499. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25))
  18500. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25))
  18501. wait()
  18502. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25))
  18503. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25))
  18504. wait()
  18505. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25))
  18506. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25))
  18507. wait()
  18508. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18509. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18510. lblade2:remove()
  18511. rblade2:remove()
  18512. end
  18513. if key == "h" then
  18514. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18515. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18516. wait()
  18517. right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25))
  18518. left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25))
  18519. wait()
  18520. right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2))
  18521. left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2))
  18522. wait()
  18523. right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15))
  18524. left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15))
  18525. wait()
  18526. right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1))
  18527. left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1))
  18528. wait()
  18529. right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05))
  18530. left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05))
  18531. wait()
  18532. right.C1 = CFrame.new(-1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*-.5),(math.pi*-.00))
  18533. left.C1 = CFrame.new(1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*.5),(math.pi*.00))
  18534. wait()
  18535. --
  18536. rblade2 = Instance.new("Part")
  18537. rblade2.BrickColor = BrickColor.new("Really black")
  18538. rblade2.Parent = player
  18539. rblade2.CanCollide = false
  18540. rblade2.Size = Vector3.new(1,6,1)
  18541. rblade2.CFrame = rblade.CFrame
  18542. rblade2.formFactor = "Symmetric"
  18543. rblade2.TopSurface = 0
  18544. rblade2.BottomSurface = 0
  18545. rblade2.Reflectance = .5
  18546. rbm2 = Instance.new("BlockMesh")
  18547. rbm2.Parent = rblade2
  18548. rbm2.Scale = Vector3.new(.21,1,.31)
  18549. rbw2 = Instance.new("Weld")
  18550. rbw2.Parent = rblade
  18551. rbw2.Part0 = rblade
  18552. rbw2.Part1 = rblade2
  18553. lblade2 = Instance.new("Part")
  18554. lblade2.BrickColor = rblade.BrickColor
  18555. lblade2.Parent = player
  18556. lblade2.CanCollide = false
  18557. lblade2.Size = Vector3.new(1,6,1)
  18558. lblade2.CFrame = lblade.CFrame
  18559. lblade2.formFactor = "Symmetric"
  18560. lblade2.TopSurface = 0
  18561. lblade2.BottomSurface = 0
  18562. lblade2.Reflectance = .5
  18563. lbm2 = Instance.new("BlockMesh")
  18564. lbm2.Parent = lblade2
  18565. lbm2.Scale = Vector3.new(.21,1,.31)
  18566. lbw2 = Instance.new("Weld")
  18567. lbw2.Parent = lblade
  18568. lbw2.Part0 = lblade
  18569. lbw2.Part1 = lblade2
  18570. rblade.Touched:connect(function(hit)
  18571. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18572. if hit.Parent.Name ~= player.Name then
  18573. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  18574. end
  18575. end
  18576. end)
  18577. lblade.Touched:connect(function(hit)
  18578. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18579. if hit.Parent.Name ~= player.Name then
  18580. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  18581. end
  18582. end
  18583. end)
  18584. --
  18585. for i = 1,40 do
  18586. wait()
  18587. lbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0)
  18588. rbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0)
  18589. end
  18590. right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05))
  18591. left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05))
  18592. wait()
  18593. right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1))
  18594. left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1))
  18595. wait()
  18596. right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15))
  18597. left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15))
  18598. wait()
  18599. right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2))
  18600. left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2))
  18601. wait()
  18602. right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25))
  18603. left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25))
  18604. wait()
  18605. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18606. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18607. wait()
  18608. lblade2:remove()
  18609. rblade2:remove()
  18610. end
  18611. if key == "j" then
  18612. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18613. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18614. wait()
  18615. right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25))
  18616. left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25))
  18617. wait()
  18618. right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2))
  18619. left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2))
  18620. wait()
  18621. right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15))
  18622. left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15))
  18623. wait()
  18624. right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1))
  18625. left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1))
  18626. wait()
  18627. right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05))
  18628. left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05))
  18629. wait()
  18630. right.C1 = CFrame.new(-1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*-.5),(math.pi*-.00))
  18631. left.C1 = CFrame.new(1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*.5),(math.pi*.00))
  18632. wait()
  18633. --
  18634. rblade2 = Instance.new("Part")
  18635. rblade2.BrickColor = BrickColor.new("Really black")
  18636. rblade2.Parent = player
  18637. rblade2.CanCollide = false
  18638. rblade2.Size = Vector3.new(2,6,3)
  18639. rblade2.CFrame = rblade.CFrame
  18640. rblade2.formFactor = "Symmetric"
  18641. rblade2.TopSurface = 0
  18642. rblade2.BottomSurface = 0
  18643. rblade2.Reflectance = .5
  18644. rbm2 = Instance.new("BlockMesh")
  18645. rbm2.Parent = rblade2
  18646. rbm2.Scale = Vector3.new(.11,1,.11)
  18647. rbw2 = Instance.new("Weld")
  18648. rbw2.Parent = rblade
  18649. rbw2.Part0 = rblade
  18650. rbw2.Part1 = rblade2
  18651. lblade2 = Instance.new("Part")
  18652. lblade2.BrickColor = rblade.BrickColor
  18653. lblade2.Parent = player
  18654. lblade2.CanCollide = false
  18655. lblade2.Size = Vector3.new(2,6,3)
  18656. lblade2.CFrame = lblade.CFrame
  18657. lblade2.formFactor = "Symmetric"
  18658. lblade2.TopSurface = 0
  18659. lblade2.BottomSurface = 0
  18660. lblade2.Reflectance = .5
  18661. lbm2 = Instance.new("BlockMesh")
  18662. lbm2.Parent = lblade2
  18663. lbm2.Scale = Vector3.new(.11,1,.11)
  18664. lbw2 = Instance.new("Weld")
  18665. lbw2.Parent = lblade
  18666. lbw2.Part0 = lblade
  18667. lbw2.Part1 = lblade2
  18668. rblade2.Touched:connect(function(hit)
  18669. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18670. if hit.Parent.Name ~= player.Name then
  18671. hit.Parent.Humanoid.Sit = true
  18672. local a = hit.Parent:GetChildren()
  18673. for i = 1,#a do
  18674. wait()
  18675. if a.className == "Part" then
  18676. a.Velocity = CFrame.new(rblade2.Position, hit.Position).lookVector * 250
  18677. end
  18678. end
  18679. end
  18680. end
  18681. end)
  18682. lblade2.Touched:connect(function(hit)
  18683. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18684. if hit.Parent.Name ~= player.Name then
  18685. hit.Parent.Humanoid.Sit = true
  18686. local a = hit.Parent:GetChildren()
  18687. for i = 1,#a do
  18688. wait()
  18689. if a.className == "Part" then
  18690. a.Velocity = CFrame.new(lblade2.Position, hit.Position).lookVector * 250
  18691. end
  18692. end
  18693. end
  18694. end
  18695. end)
  18696. --
  18697. for i = 1,40 do
  18698. wait()
  18699. lbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0)
  18700. rbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0)
  18701. end
  18702. right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05))
  18703. left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05))
  18704. wait()
  18705. right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1))
  18706. left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1))
  18707. wait()
  18708. right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15))
  18709. left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15))
  18710. wait()
  18711. right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2))
  18712. left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2))
  18713. wait()
  18714. right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25))
  18715. left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25))
  18716. wait()
  18717. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18718. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18719. wait()
  18720. lblade2:remove()
  18721. rblade2:remove()
  18722. end
  18723. if key == "y" then
  18724. local blast = Instance.new("Part")
  18725. blast.formFactor = "Symmetric"
  18726. blast.Shape = "Ball"
  18727. blast.Size = Vector3.new(1,1,1)
  18728. blast.BrickColor = rblade.BrickColor
  18729. blast.Parent = Workspace
  18730. blast.CFrame = player.Torso.CFrame
  18731. game:GetService("Debris"):AddItem(blast, 15)
  18732. local smoke = Instance.new("Smoke")
  18733. smoke.Color = Color3.new(0,0,0)
  18734. smoke.Opacity = 1
  18735. smoke.RiseVelocity = 0
  18736. smoke.Size = 100
  18737. smoke.Parent = blast
  18738. end
  18739. if key == "u" then
  18740. local blast = Instance.new("Part")
  18741. blast.formFactor = "Symmetric"
  18742. blast.Shape = "Ball"
  18743. blast.Name = "keel"
  18744. blast.Size = Vector3.new(1,1,1)
  18745. blast.BrickColor = rblade.BrickColor
  18746. blast.Parent = Workspace
  18747. blast.CFrame = player.Torso.CFrame
  18748. game:GetService("Debris"):AddItem(blast, 15)
  18749. wait(2)
  18750. local smoke = Instance.new("Smoke")
  18751. smoke.Color = Color3.new(1,1,1)
  18752. smoke.Opacity = .5
  18753. smoke.RiseVelocity = 0
  18754. smoke.Size = 20
  18755. smoke.Parent = blast
  18756. coroutine.resume(coroutine.create(function() stun(blast) end))
  18757. end
  18758. if key == "n" then
  18759. player.Humanoid.WalkSpeed = player.Humanoid.WalkSpeed + 8
  18760. end
  18761. if key == "m" then
  18762. player.Humanoid.WalkSpeed = player.Humanoid.WalkSpeed - 8
  18763. end
  18764. if key == ";" then
  18765. local l = player:findFirstChild("Left Arm")
  18766. local r = player:findFirstChild("Right Arm")
  18767. rblade.Size = Vector3.new(2, 6 , 2)
  18768. lblade.Size = Vector3.new(2, 6 , 2)
  18769. local w = Instance.new("Weld")
  18770. w.Part1 = rblade
  18771. w.Part0 = r
  18772. w.Parent = r
  18773. local w = Instance.new("Weld")
  18774. w.Part1 = lblade
  18775. w.Part0 = l
  18776. w.Parent = l
  18777. end
  18778. if key == "k" then
  18779. for i = 1,100 do
  18780. wait()
  18781. local p = Instance.new("Part")
  18782. p.BrickColor = BrickColor.new("Royal purple")
  18783. p.Name ="check"
  18784. p.Parent = Workspace
  18785. p.CanCollide = false
  18786. p.Size = Vector3.new(1,3,1)
  18787. p.CFrame = player.Torso.CFrame + Vector3.new(math.random(-5,5),math.random(-2,4),math.random(-5,5))
  18788. p.formFactor = "Symmetric"
  18789. p.TopSurface = 0
  18790. p.BottomSurface = 0
  18791. p.Transparency = .5
  18792. local pm = Instance.new("SpecialMesh")
  18793. pm.Parent = p
  18794. pm.MeshType = "Sphere"
  18795. pm.Scale = Vector3.new(.2,.2,.2)
  18796. local pbv = Instance.new("BodyVelocity")
  18797. pbv.Parent = p
  18798. pbv.velocity = Vector3.new(0,10,0)
  18799. game:GetService("Debris"):AddItem(p, .2)
  18800. player.Humanoid.Health = player.Humanoid.Health +2
  18801. end
  18802. end
  18803. --glider?
  18804. if key == "p" then
  18805. --
  18806. rblade2 = Instance.new("Part")
  18807. rblade2.BrickColor = BrickColor.new("Institutional white")
  18808. rblade2.Parent = player
  18809. rblade2.CanCollide = false
  18810. rblade2.Size = Vector3.new(1,6,1)
  18811. rblade2.CFrame = rblade.CFrame
  18812. rblade2.formFactor = "Symmetric"
  18813. rblade2.TopSurface = 0
  18814. rblade2.BottomSurface = 0
  18815. rblade2.Reflectance = 0
  18816. rbm2 = Instance.new("BlockMesh")
  18817. rbm2.Parent = rblade2
  18818. rbm2.Scale = Vector3.new(2,1,.31)
  18819. rbw2 = Instance.new("Weld")
  18820. rbw2.Parent = rblade
  18821. rbw2.Part0 = rblade
  18822. rbw2.Part1 = rblade2
  18823. lblade2 = Instance.new("Part")
  18824. lblade2.BrickColor = rblade.BrickColor
  18825. lblade2.Parent = player
  18826. lblade2.CanCollide = false
  18827. lblade2.Size = Vector3.new(1,6,1)
  18828. lblade2.CFrame = lblade.CFrame
  18829. lblade2.formFactor = "Symmetric"
  18830. lblade2.TopSurface = 0
  18831. lblade2.BottomSurface = 0
  18832. lblade2.Reflectance = 0
  18833. lbm2 = Instance.new("BlockMesh")
  18834. lbm2.Parent = lblade2
  18835. lbm2.Scale = Vector3.new(2,1,.31)
  18836. lbw2 = Instance.new("Weld")
  18837. lbw2.Parent = lblade
  18838. lbw2.Part0 = lblade
  18839. lbw2.Part1 = lblade2
  18840. local steer = Instance.new("Part")
  18841. steer.Transparency = 1
  18842. steer.Parent = player.Head
  18843. steerw= Instance.new("Weld")
  18844. steerw.Part0 = player.Head
  18845. steerw.Part1 = steer
  18846. steerw.Parent = player.Head
  18847. steerw.C1 = CFrame.new(0,0,0)*CFrame.Angles((math.pi*-.5),0,0)
  18848. --
  18849. right.C1 = CFrame.new(-.55,.4,0)*CFrame.Angles(0,0,-.5)
  18850. left.C1 = CFrame.new(.55,.4,0)*CFrame.Angles(0,0,.5)
  18851. wait()
  18852. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25))
  18853. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25))
  18854. wait()
  18855. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25))
  18856. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25))
  18857. wait()
  18858. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25))
  18859. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25))
  18860. wait()
  18861. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25))
  18862. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25))
  18863. wait()
  18864. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18865. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18866. wait()
  18867. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25))
  18868. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25))
  18869. wait()
  18870. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25))
  18871. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25))
  18872. wait()
  18873. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25))
  18874. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25))
  18875. wait()
  18876. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25))
  18877. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25))
  18878. wait()
  18879. right.C1 = CFrame.new(-.55,.4,0)*CFrame.Angles(0,0,-.5)
  18880. left.C1 = CFrame.new(.55,.4,0)*CFrame.Angles(0,0,.5)
  18881. wait()
  18882. player.Humanoid.PlatformStand = true
  18883. glideg.Parent = steer
  18884. glideg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  18885. glidev.Parent = steer
  18886. glidev.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  18887. while player.Humanoid.PlatformStand == true do
  18888. wait()
  18889. glideg.cframe = CFrame.new(steer.Position, mouse.Hit.p)
  18890. glidev.velocity = steer.CFrame.lookVector * 75
  18891. end
  18892. glidev.velocity = steer.CFrame.lookVector * 15
  18893. wait(3)
  18894. glideg:remove()
  18895. glidev:remove()
  18896. lblade2:remove()
  18897. rblade2:remove()
  18898. steer:remove()
  18899. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*-.25))
  18900. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*.25))
  18901. wait()
  18902. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25))
  18903. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25))
  18904. wait()
  18905. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25))
  18906. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25))
  18907. wait()
  18908. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25))
  18909. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25))
  18910. wait()
  18911. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25))
  18912. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25))
  18913. wait()
  18914. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18915. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18916. wait()
  18917. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25))
  18918. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25))
  18919. wait()
  18920. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25))
  18921. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25))
  18922. wait()
  18923. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25))
  18924. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25))
  18925. wait()
  18926. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25))
  18927. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25))
  18928. wait()
  18929. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18930. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18931. end
  18932. if key == ";" then
  18933. glideg.Parent = nil
  18934. glideg.maxTorque = Vector3.new(0,0,0)
  18935. glidev.Parent = nil
  18936. glidev.maxForce = Vector3.new(0,0,0)
  18937. end
  18938. if key == "l" then
  18939. local a = player:GetChildren()
  18940. for i = 1,#a do
  18941. wait()
  18942. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18943. for x = 1, 9 do
  18944. wait()
  18945. a.Transparency = a.Transparency +.1
  18946. end
  18947. elseif a.className == "Hat" then
  18948. for x = 1, 9 do
  18949. wait()
  18950. a.Handle.Transparency = a.Handle.Transparency +.1
  18951. end
  18952. end
  18953. player.Head.Transparency = 1
  18954. end
  18955. wait(10)
  18956. for i = 1,#a do
  18957. wait()
  18958. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18959. for x = 1, 9 do
  18960. wait()
  18961. a.Transparency = a.Transparency -.1
  18962. end
  18963. elseif a.className == "Hat" then
  18964. for x = 1, 9 do
  18965. wait()
  18966. a.Handle.Transparency = a.Handle.Transparency -.1
  18967. end
  18968. end
  18969. end
  18970. for i = 1,#a do
  18971. wait()
  18972. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18973. wait()
  18974. a.Transparency = 0
  18975. elseif a.className == "Hat" then
  18976. wait()
  18977. a.Handle.Transparency = 0
  18978. end
  18979. end
  18980. end
  18981. end)
  18982. ----end of keys
  18983. end)
  18984. ----end of tool
  18985. bin.Deselected:connect(function()
  18986. rblade:remove()
  18987. lblade:remove()
  18988. on = 2
  18989. coroutine.yield(function() shadow(rblade,lblade) end)
  18990. ls.Part1 = larm
  18991. rs.Part1 = rarm
  18992. left:remove()
  18993. right:remove()
  18994. end)
  18995.         end)
  18996. --
  18997. local button = Instance.new("TextButton")
  18998.         button.Parent = ws
  18999.         button.BackgroundColor3 = blak
  19000.         button.BorderColor3 = rede
  19001.         button.BorderSizePixel = 3
  19002.         button.Name = "Eyelaser"
  19003.         button.Position = UDim2.new(0,0,0,66)
  19004.         button.Size = UDim2.new(0.5,0,0,30)
  19005.         button.ZIndex = 2
  19006.         button.Font = tef
  19007.         button.FontSize = "Size14"
  19008.         button.Text = "Eyelaser"
  19009.         button.TextColor3 = whit
  19010.         button.TextWrapped = true
  19011.         button.MouseButton1Down:connect(function()
  19012.         --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and put your name where it says "YOUR NAME HERE"
  19013.  
  19014. playername100 = game.Players.LocalPlayer.Name
  19015. name = playername100
  19016. me = game.Players[name]
  19017. char = me.Character
  19018. selected = false
  19019. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  19020. part.Parent = parent
  19021. part.formFactor = form
  19022. part.CanCollide = collide
  19023. part.Transparency = tran
  19024. part.Reflectance = ref
  19025. part.Size = Vector3.new(x,y,z)
  19026. part.BrickColor = BrickColor.new(color)
  19027. part.TopSurface = 0
  19028. part.BottomSurface = 0
  19029. part.Anchored = anchor
  19030. part.Locked = true
  19031. part:BreakJoints()
  19032. end
  19033. function weld(w, p, p1, a, b, c, x, y, z)
  19034. w.Parent = p
  19035. w.Part0 = p
  19036. w.Part1 = p1
  19037. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  19038. end
  19039. function mesh(mesh, parent, x, y, z, type)
  19040. mesh.Parent = parent
  19041. mesh.Scale = Vector3.new(x, y, z)
  19042. mesh.MeshType = type
  19043. end
  19044. sword = Instance.new("Model",me.Character)
  19045. sword.Name = "Eyes"
  19046. --Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------
  19047. head = char:findFirstChild("Head")
  19048. torso = char:findFirstChild("Torso")
  19049. bg = Instance.new("BodyGyro",nil)
  19050. bg.P = 2000
  19051. bg.maxTorque = Vector3.new(0,math.huge,0)
  19052. trail1 = Instance.new("Part")
  19053. prop(trail1,nil,false,0.4,0,0.1,0.1,1,"Toothpaste",true,"Custom")
  19054. local t1 = Instance.new("SpecialMesh",trail1)
  19055. t1.MeshType = "Brick"
  19056. trail2 = Instance.new("Part")
  19057. prop(trail2,nil,false,0.4,0,0.1,0.1,1,"Toothpaste",true,"Custom")
  19058. local t2 = Instance.new("SpecialMesh",trail2)
  19059. t2.MeshType = "Brick"
  19060. local fb = Instance.new("Part")
  19061. prop(fb,nil,false,1,0,0.1,0.1,0.1,"Toothpaste",true,"Custom")
  19062. local fi = Instance.new("Fire",fb)
  19063. fi.Name = "LolFire"
  19064. fi.Size = 2
  19065. fi.Heat = 25
  19066. t1p = Vector3.new(-0.3,0.3,-0.55)
  19067. t2p = Vector3.new(0.3,0.3,-0.55)
  19068. function getp(path)
  19069. local objs = {}
  19070. for _,v in pairs(path:children()) do
  19071. if v:IsA("BasePart") then
  19072. if v:GetMass() < 30 then
  19073. table.insert(objs,v)
  19074. end
  19075. end
  19076. for _,k in pairs(v:children()) do
  19077. if k:IsA("BasePart") then
  19078. if k:GetMass() < 30 then
  19079. table.insert(objs,k)
  19080. end
  19081. end
  19082. for _,o in pairs(k:children()) do
  19083. if o:IsA("BasePart") then
  19084. if o:GetMass() < 30 then
  19085. table.insert(objs,o)
  19086. end
  19087. end
  19088. end
  19089. end
  19090. end
  19091. return objs
  19092. end
  19093.  
  19094. bin = Instance.new("HopperBin",me.Backpack)
  19095. bin.Selected:connect(function(mouse)
  19096. mouse.Button1Down:connect(function()
  19097. hold = true
  19098. bg.Parent = torso
  19099. trail1.Parent = char
  19100. trail2.Parent = char
  19101. fb.Parent = char
  19102. while hold do
  19103. local p1 = head.CFrame * CFrame.new(t1p).p
  19104. local p2 = head.CFrame * CFrame.new(t2p).p
  19105. local dist1 = (p1 - mouse.Hit.p).magnitude
  19106. local dist2 = (p2 - mouse.Hit.p).magnitude
  19107. bg.cframe = CFrame.new(torso.Position, mouse.Hit.p)
  19108. trail1.CFrame = CFrame.new(p1,mouse.Hit.p) * CFrame.new(0,0,-dist1/2)
  19109. trail2.CFrame = CFrame.new(p2,mouse.Hit.p) * CFrame.new(0,0,-dist2/2)
  19110. t1.Scale = Vector3.new(1,1,dist1)
  19111. t2.Scale = Vector3.new(1,1,dist2)
  19112. local lol1 = CFrame.new(p1,mouse.Hit.p) * CFrame.new(0,0,-dist1)
  19113. fb.CFrame = lol1
  19114. local parts = getp(workspace)
  19115. for _,v in pairs(parts) do
  19116. if (v.Position - lol1.p).magnitude < 2 then
  19117. if v:findFirstChild("LolFire") == nil then
  19118. local f = Instance.new("Fire",v)
  19119. f.Size = 0
  19120. f.Heat = 5
  19121. f.Name = "LolFire"
  19122. coroutine.resume(coroutine.create(function()
  19123. for i=0,10,0.2 do
  19124. wait(0.1)
  19125. f.Heat = i
  19126. f.Size = i
  19127. local lol = math.random(1,2)
  19128. if lol == 1 then
  19129. v.BrickColor = BrickColor.new("Neon orange")
  19130. else
  19131. v.BrickColor = BrickColor.new("Bright red")
  19132. end
  19133. end
  19134. v:remove()
  19135. end))
  19136. end
  19137. end
  19138. end
  19139. wait()
  19140. end
  19141. end)
  19142. mouse.Button1Up:connect(function()
  19143. hold = false
  19144. bg.Parent = nil
  19145. trail1.Parent = nil
  19146. trail2.Parent = nil
  19147. fb.Parent = nil
  19148. end)
  19149. end)
  19150.  
  19151.        
  19152.         end)
  19153. --
  19154. local button = Instance.new("TextButton")
  19155.         button.Parent = ws
  19156.         button.BackgroundColor3 = blak
  19157.         button.BorderColor3 = rede
  19158.         button.BorderSizePixel = 3
  19159.         button.Name = "Knife"
  19160.         button.Position = UDim2.new(0.5,3,0,66)
  19161.         button.Size = UDim2.new(0.5,-3,0,30)
  19162.         button.ZIndex = 2
  19163.         button.Font = tef
  19164.         button.FontSize = "Size14"
  19165.         button.Text = "Knife"
  19166.         button.TextColor3 = whit
  19167.         button.TextWrapped = true
  19168.                 button.MouseButton1Down:connect(function()
  19169.                 me = game.Players.LocalPlayer
  19170. char = me.Character
  19171. selected = false
  19172. attacking = false
  19173. hurt = false
  19174. grabbed = nil
  19175. mode = "kill"
  19176. bloodcolors = {"Bright red", "Really red"}
  19177.  
  19178.  
  19179. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  19180. part.Parent = parent
  19181. part.formFactor = form
  19182. part.CanCollide = collide
  19183. part.Transparency = tran
  19184. part.Reflectance = ref
  19185. part.Size = Vector3.new(x,y,z)
  19186. part.BrickColor = BrickColor.new(color)
  19187. part.TopSurface = 0
  19188. part.BottomSurface = 0
  19189. part.Anchored = anchor
  19190. part.Locked = true
  19191. part:BreakJoints()
  19192. end
  19193.  
  19194. function weld(w, p, p1, a, b, c, x, y, z)
  19195. w.Parent = p
  19196. w.Part0 = p
  19197. w.Part1 = p1
  19198. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  19199. end
  19200.  
  19201. function mesh(mesh, parent, x, y, z, type)
  19202. mesh.Parent = parent
  19203. mesh.Scale = Vector3.new(x, y, z)
  19204. mesh.MeshType = type
  19205. end
  19206.  
  19207. function remgui()
  19208.         for _,v in pairs(me.PlayerGui:GetChildren()) do
  19209.                 if v.Name == "Modeshow" then
  19210.                         v:remove()
  19211.                 end
  19212.         end
  19213. end
  19214.  
  19215. function inform(text,delay)
  19216.         remgui()
  19217.         local sc = Instance.new("ScreenGui")
  19218.         sc.Parent = me.PlayerGui
  19219.         sc.Name = "Modeshow"
  19220.         local bak = Instance.new("Frame",sc)
  19221.         bak.BackgroundColor3 = Color3.new(1,1,1)
  19222.         bak.Size = UDim2.new(0.94,0,0.1,0)
  19223.         bak.Position = UDim2.new(0.03,0,0.037,0)
  19224.         bak.BorderSizePixel = 0
  19225.         local gi = Instance.new("TextLabel",sc)
  19226.         gi.Size = UDim2.new(0.92,0,0.09,0)
  19227.         gi.BackgroundColor3 = Color3.new(0,0,0)
  19228.         gi.Position = UDim2.new(0.04,0,0.042,0)
  19229.         gi.TextColor3 = Color3.new(1,1,1)
  19230.         gi.FontSize = "Size12"
  19231.         gi.Text = text
  19232.         coroutine.resume(coroutine.create(function()
  19233.                 wait(delay)
  19234.                 sc:remove()
  19235.         end))
  19236. end
  19237.  
  19238. if char:findFirstChild("Bricks",true) then
  19239.         char:findFirstChild("Bricks",true):remove()
  19240. end
  19241.  
  19242. bricks = Instance.new("Model",me.Character)
  19243. bricks.Name = "Bricks"
  19244.  
  19245. --Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------
  19246.  
  19247. rarm = char:findFirstChild("Right Arm")
  19248. larm = char:findFirstChild("Left Arm")
  19249. lleg = char:findFirstChild("Left Leg")
  19250. torso = char:findFirstChild("Torso")
  19251. hum = char:findFirstChild("Humanoid")
  19252.  
  19253. righthold = Instance.new("Part")
  19254. prop(righthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  19255. w11 = Instance.new("Weld")
  19256. weld(w11, rarm, righthold, 0, 0, 0, 0, 1, 0)
  19257.  
  19258. lefthold = Instance.new("Part")
  19259. prop(lefthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  19260. w12 = Instance.new("Weld")
  19261. weld(w12, larm, lefthold, 0, 0, 0, 0, 1, 0)
  19262.  
  19263. hold = Instance.new("Part")
  19264. prop(hold, bricks, false, 0, 0, 0.2, 0.4, 0.7, "Black", false, "Custom")
  19265. oh = Instance.new("Weld")
  19266. weld(oh, lleg, hold, -math.pi/1.4, 0, math.rad(35), 0.55, -0.9, 0.3)
  19267.  
  19268. knife = Instance.new("Part")
  19269. prop(knife, bricks, false, 0, 0, 0.35, 1.1, 0.5, "Reddish brown", false, "Custom")
  19270. orr = Instance.new("Weld")
  19271. weld(orr, hold, knife, 0, 0, 0, 0, 0.7, 0)
  19272. ar = Instance.new("Weld")
  19273. weld(ar, lefthold, nil, math.pi/2, 0, math.pi, 0, 0, 0)
  19274.  
  19275.  
  19276. blade = Instance.new("Part")
  19277. prop(blade, bricks, false, 0, 0, 0.1, 1.5, 0.4, "Medium grey", false, "Custom")
  19278. Instance.new("BlockMesh",blade).Scale = Vector3.new(0.3,1,1)
  19279. w2 = Instance.new("Weld")
  19280. weld(w2, knife, blade, 0, 0, 0, 0, -1.2, 0)
  19281.  
  19282. blade2 = Instance.new("Part")
  19283. prop(blade2, bricks, false, 0, 0, 0.1, 0.5, 0.4, "Medium grey", false, "Custom")
  19284. local mew = Instance.new("SpecialMesh",blade2)
  19285. mew.MeshType = "Wedge"
  19286. mew.Scale = Vector3.new(0.3,1,1)
  19287. w3 = Instance.new("Weld")
  19288. weld(w3, blade, blade2, 0, 0, 0, 0, -1, 0)
  19289.  
  19290.  
  19291.  
  19292.  
  19293. rb = Instance.new("Part")
  19294. prop(rb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  19295. w13 = Instance.new("Weld")
  19296. weld(w13, torso, rb, 0, 0, 0, -1.5, -0.5, 0)
  19297.  
  19298. lb = Instance.new("Part")
  19299. prop(lb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  19300. w14 = Instance.new("Weld")
  19301. weld(w14, torso, lb, 0, 0, 0, 1.5, -0.5, 0)
  19302.  
  19303. rw = Instance.new("Weld")
  19304. weld(rw, rb, nil, 0, 0, 0, 0, 0.5, 0)
  19305.  
  19306. lw = Instance.new("Weld")
  19307. weld(lw, lb, nil, 0, 0, 0, 0, 0.5, 0)
  19308.  
  19309. grabweld = nil
  19310. platlol = nil
  19311. lolhum = nil
  19312.  
  19313. function touch(h)
  19314.         if hurt then
  19315.                 if grabbed == nil then
  19316.                         local hu = h.Parent:findFirstChild("Humanoid")
  19317.                         local head = h.Parent:findFirstChild("Head")
  19318.                         local torz = h.Parent:findFirstChild("Torso")
  19319.                         if hu ~= nil and head ~= nil and torz ~= nil and h.Parent.Name ~= name then
  19320.                                 if hu.Health > 0 then
  19321.                                 grabbed = torz
  19322.                                 hu.PlatformStand = true
  19323.                                 local w = Instance.new("Weld")
  19324.                                 weld(w,righthold,grabbed,math.pi/2,0.2,0,0.7,-0.9,-0.6)
  19325.                                 grabweld = w
  19326.                                 lolhum = hu
  19327.                                 local lolxd = true
  19328.                                 platlol = lolxd
  19329.                                 hu.Changed:connect(function(prop)
  19330.                                         if prop == "PlatformStand" and platlol then
  19331.                                                 hu.PlatformStand = true
  19332.                                         end
  19333.                                 end)
  19334.                                 end
  19335.                         end
  19336.                 end
  19337.         end
  19338. end
  19339.  
  19340. righthold.Touched:connect(touch)
  19341. lefthold.Touched:connect(touch)
  19342.  
  19343. function bleed(part,po)
  19344.         local lol1 = math.random(5,30)/100
  19345.         local lol2 = math.random(5,30)/100
  19346.         local lol3 =math.random(5,30)/100
  19347.         local lol4 = math.random(1,#bloodcolors)
  19348.         local p = Instance.new("Part")
  19349.         prop(p,part.Parent,false,0,0,lol1,lol2,lol3,bloodcolors[lol4],false,"Custom")
  19350.         p.CFrame = part.CFrame * CFrame.new(math.random(-5,5)/10,po,math.random(-5,5)/10)
  19351.         p.Velocity = Vector3.new(math.random(-190,190)/10,math.random(-190,190)/10,math.random(-190,190)/10)
  19352.         p.RotVelocity = Vector3.new(math.random(-400,400)/10,math.random(-400,400)/10,math.random(-400,400)/10)
  19353.         coroutine.resume(coroutine.create(function()
  19354.                 wait(3)
  19355.                 p:remove()
  19356.         end))
  19357. end
  19358.  
  19359.  
  19360.  
  19361. bin = Instance.new("HopperBin",me.Backpack)
  19362.  
  19363. function select(mouse)
  19364.         orr.Part1 = nil
  19365.         ar.Part1 = knife
  19366.         mouse.Button1Down:connect(function()
  19367.                 if attacking == false then
  19368.                         attacking = true
  19369.                         lw.Part1 = larm
  19370.                         rw.Part1 = rarm
  19371.                         hurt = true
  19372.                         for i=1, 8 do
  19373.                                 rw.C0 = rw.C0 * CFrame.new(-0.03,0,-0.08) * CFrame.fromEulerAnglesXYZ(0.18,0.04,0)
  19374.                                 lw.C0 = lw.C0 * CFrame.new(0.06,0,-0.06) * CFrame.fromEulerAnglesXYZ(0.15,-0.11,-0.05)
  19375.                                 wait()
  19376.                         end
  19377.                         wait(1)
  19378.                         hurt = false
  19379.                         if grabbed == nil then
  19380.                                 for i=1, 4 do
  19381.                                         rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  19382.                                         lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
  19383.                                         wait()
  19384.                                 end
  19385.                                 lw.C0 = CFrame.new(0,0,0)
  19386.                                 rw.C0 = CFrame.new(0,0,0)
  19387.                                 lw.Part1 = nil
  19388.                                 rw.Part1 = nil
  19389.                                 attacking = false
  19390.                         end
  19391.                 elseif hurt == false and grabbed ~= nil and mode == "drop" then
  19392.                         grabweld:remove()
  19393.                         grabweld = nil
  19394.                         platlol = false
  19395.                         grabbed = nil
  19396.                         lolhum.PlatformStand = false
  19397.                         lolhum = nil
  19398.                         for i=1, 4 do
  19399.                                 rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  19400.                                 lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
  19401.                                 wait()
  19402.                         end
  19403.                         lw.C0 = CFrame.new(0,0,0)
  19404.                         rw.C0 = CFrame.new(0,0,0)
  19405.                         lw.Part1 = nil
  19406.                         rw.Part1 = nil
  19407.                         attacking = false
  19408.                         platlol = nil
  19409.                 elseif hurt == false and grabbed ~= nil and grabweld ~= nil and mode == "throw" then
  19410.                         grabweld:remove()
  19411.                         grabweld = nil
  19412.                         local bf = Instance.new("BodyForce",grabbed)
  19413.                         bf.force = torso.CFrame.lookVector * 8500
  19414.                         bf.force = bf.force + Vector3.new(0,7400,0)
  19415.                         coroutine.resume(coroutine.create(function()
  19416.                                 wait(0.12)
  19417.                                 bf:remove()
  19418.                         end))
  19419.                         for i=1, 6 do
  19420.                                 rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.35,0,0)
  19421.                                 lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.18,0,0)
  19422.                                 wait()
  19423.                         end
  19424.                         for i=1, 4 do
  19425.                                 rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.47,0,0)
  19426.                                 lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  19427.                                 wait()
  19428.                         end
  19429.                         wait(0.2)
  19430.                         platlol = false
  19431.                         grabbed = nil
  19432.                         lolhum.PlatformStand = false
  19433.                         lolhum = nil
  19434.                         for i=1, 4 do
  19435.                                 rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  19436.                                 lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
  19437.                                 wait()
  19438.                         end
  19439.                         lw.C0 = CFrame.new(0,0,0)
  19440.                         rw.C0 = CFrame.new(0,0,0)
  19441.                         lw.Part1 = nil
  19442.                         rw.Part1 = nil
  19443.                         attacking = false
  19444.                         platlol = nil
  19445.                 elseif hurt == false and grabbed ~= nil and lolhum ~= nil and grabweld ~= nil and mode == "kill" then
  19446.                         for i=1, 5 do
  19447.                                 lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
  19448.                                 wait()
  19449.                         end
  19450.                         local ne = grabbed:findFirstChild("Neck")
  19451.                         coroutine.resume(coroutine.create(function()
  19452.                                 local duh = grabbed
  19453.                                 local duh2 = grabbed.Parent.Head
  19454.                                 local lolas = lolhum
  19455.                                 duh.RotVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  19456.                                 for i=1, 60 do
  19457.                                         wait()
  19458.                                         local hm = math.random(1,9)
  19459.                                         pcall(function()
  19460.                                                 if hm == 1 then
  19461.                                                         duh2.Sound.Pitch = math.random(90,110)/100
  19462.                                                         duh2.Sound:play()
  19463.                                                 end
  19464.                                         end)
  19465.                                         if hm > 0 and hm < 3 then
  19466.                                                 bleed(duh,1)
  19467.                                                 bleed(duh2,-0.5)
  19468.                                         end
  19469.                                 end
  19470.                                 lolas.Health = 0
  19471.                                 for i=1, 85 do
  19472.                                         wait()
  19473.                                         local hm = math.random(1,9)
  19474.                                         pcall(function()
  19475.                                                 if hm == 1 then
  19476.                                                         duh2.Sound.Pitch = math.random(90,110)/100
  19477.                                                         duh2.Sound:play()
  19478.                                                 end
  19479.                                         end)
  19480.                                         if hm > 0 and hm < 3 then
  19481.                                                 bleed(duh,1)
  19482.                                                 bleed(duh2,-0.5)
  19483.                                         end
  19484.                                 end
  19485.                         end))
  19486.                         for i=1, 3 do
  19487.                                 lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
  19488.                                 if ne ~= nil then
  19489.                                         grabbed.Neck.C0 = grabbed.Neck.C0 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  19490.                                 end
  19491.                                 wait()
  19492.                         end
  19493.                         grabweld:remove()
  19494.                         grabweld = nil
  19495.                         for i=1, 4 do
  19496.                                 lw.C0 = lw.C0 * CFrame.new(-0.04,-0.24,-0.2) * CFrame.fromEulerAnglesXYZ(0.1,0,0.06)
  19497.                                 wait()
  19498.                         end
  19499.                         for i=1, 4 do
  19500.                                 rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  19501.                                 lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
  19502.                                 wait()
  19503.                         end
  19504.                         lw.C0 = CFrame.new(0,0,0)
  19505.                         rw.C0 = CFrame.new(0,0,0)
  19506.                         lw.Part1 = nil
  19507.                         rw.Part1 = nil
  19508.                         platlol = false
  19509.                         grabbed = nil
  19510.                         lolhum = nil
  19511.                         attacking = false
  19512.                         platlol = nil
  19513.                 end
  19514.         end)
  19515.         mouse.KeyDown:connect(function(kai)
  19516.                 key = kai:lower()
  19517.                 if key == "q" then
  19518.                         mode = "drop"
  19519.                         inform("Mode: Drop",2)
  19520.                 elseif key == "e" then
  19521.                         mode = "throw"
  19522.                         inform("Mode: Throw",2)
  19523.                 elseif key == "f" then
  19524.                         mode = "kill"
  19525.                         inform("Mode: Kill",2)
  19526.                 end
  19527.         end)
  19528. end
  19529.  
  19530. function desel()
  19531.         repeat wait() until attacking == false
  19532.         orr.Part1 = knife
  19533.         ar.Part1 = nil
  19534. end
  19535.  
  19536. bin.Selected:connect(select)
  19537. bin.Deselected:connect(desel)
  19538.  
  19539. char.Humanoid.Died:connect(function()
  19540.         pcall(function()
  19541.                 grabweld:remove()
  19542.                 grabweld = nil
  19543.                 grabbed = nil
  19544.                 platlol = false
  19545.                 platlol = nil
  19546.         end)
  19547. end)
  19548.  
  19549. inform("Grab script loaded succesfully.",2)
  19550.  
  19551.         end)
  19552. --
  19553. local button = Instance.new("TextButton")
  19554.         button.Parent = ws
  19555.         button.BackgroundColor3 = blak
  19556.         button.BorderColor3 = rede
  19557.         button.BorderSizePixel = 3
  19558.         button.Name = "Lance"
  19559.         button.Position = UDim2.new(0,0,0,99)
  19560.         button.Size = UDim2.new(0.499,0,0,30)
  19561.         button.ZIndex = 2
  19562.         button.Font = tef
  19563.         button.FontSize = "Size14"
  19564.         button.Text = "Lance"
  19565.         button.TextColor3 = whit
  19566.         button.TextWrapped = true
  19567.                 button.MouseButton1Down:connect(function()
  19568.                
  19569.         end)
  19570. --
  19571. local button = Instance.new("TextButton")
  19572.         button.Parent = ws
  19573.         button.BackgroundColor3 = blak
  19574.         button.BorderColor3 = rede
  19575.         button.BorderSizePixel = 3
  19576.         button.Name = "Lightsaber"
  19577.         button.Position = UDim2.new(0.5,3,0,99)
  19578.         button.Size = UDim2.new(0.5,-3,0,30)
  19579.         button.ZIndex = 2
  19580.         button.Font = tef
  19581.         button.FontSize = "Size14"
  19582.         button.Text = "Lightsaber"
  19583.         button.TextColor3 = whit
  19584.                 button.MouseButton1Down:connect(function()
  19585.                 --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and 1351 and put your name where it says "YOUR NAME HERE"
  19586.  
  19587. Players = game:GetService("Players")
  19588. Player = Players.LocalPlayer
  19589. Bp = Player.Backpack
  19590. Pg = Player.PlayerGui
  19591. Char = Player.Character
  19592. Head = Char.Head
  19593. Torso = Char.Torso
  19594. Hum = Char.Humanoid
  19595. Humanoid = Hum
  19596. Neck = Torso["Neck"]
  19597. LS = Torso["Left Shoulder"]
  19598. RS = Torso["Right Shoulder"]
  19599. Ra = Char["Right Arm"]
  19600. La = Char["Left Arm"]
  19601. mouse = nil
  19602. Mouse = nil
  19603.  
  19604. bets =
  19605. {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"," "}
  19606. inew = Instance.new
  19607. it = Instance.new
  19608. bc = BrickColor.new
  19609. vn = Vector3.new
  19610. cn = CFrame.new
  19611. ca = CFrame.Angles
  19612. mpi = math.pi
  19613. v3 = vn
  19614. mr = math.rad
  19615. br = BrickColor.new
  19616. cf = CFrame.new
  19617. ca = CFrame.Angles
  19618. Colors = {"Really Red"}
  19619. BladeColor = tostring(BrickColor.Random()) --Colors[math.random(1,#Colors)]
  19620. TrailColor = BladeColor
  19621. HopperName = "light saber"
  19622. Rage = 100000
  19623. MaxRage = Rage
  19624. SwordType = "Single"
  19625. LeftDebounce = {}
  19626. RightDebounce = {}
  19627. OtherDebounce = {}
  19628. Anim = {key = {}}
  19629. for i=1,#bets do table.insert(Anim.key,bets) end
  19630. Anim.Move = "None"
  19631. Anim.Click = false
  19632. Anim.Button = false
  19633. Anim.CanBerserk = 0
  19634. Anim.ComboBreak = false
  19635. Anim.Equipped = false
  19636. keydown = false
  19637. Speed = 2
  19638. RageIncome = 500
  19639. Left = false
  19640. Right = false
  19641. Anim.Act = false
  19642. RealSpeed = 35
  19643. DebounceSpeed = 0.85/Speed
  19644. RageCost = {
  19645. ["Berserk"] = 200;
  19646. ["RotorBlade"] = 30;
  19647. ["Blocking"] = 0.1;
  19648. ["Boomerang"] = 30;
  19649. ["RageRegening"] = -0.7;
  19650. ["BoulderForce"] = 45;
  19651. ["ForceWave"] = 65;
  19652. ["ForceWave"] = 32;
  19653. ["Teleport"] = 25;
  19654. ["DualSpin"] = 4;
  19655. }
  19656. MagnitudeHit = {
  19657. ["ForceWave"] = 500;
  19658. }
  19659. Damage = {
  19660. ["RotorBlade"] = 8;
  19661. ["BoulderForce"] = 100;
  19662. ["Boomerang"] = 100;
  19663. ["ForceWave"] = 100;
  19664. ["DualSpin"] = 5;
  19665. }
  19666. Props = {}
  19667. Props.MaxTeleDistance = 500
  19668. Props.Buff = 1
  19669. BlastMesh = Instance.new("FileMesh")
  19670. BlastMesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  19671. RingMesh = Instance.new("FileMesh")
  19672. RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  19673. RockMesh = Instance.new("FileMesh")
  19674. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  19675. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  19676. DiamondMesh = Instance.new("FileMesh")
  19677. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  19678. RingMesh = Instance.new("FileMesh")
  19679. RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  19680. RockMesh = Instance.new("FileMesh")
  19681. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  19682. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  19683. DiamondMesh = Instance.new("FileMesh")
  19684. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  19685. RockMesh = Instance.new("FileMesh")
  19686. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  19687. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  19688. DiamondMesh = Instance.new("FileMesh")
  19689. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  19690. DiamondMesh = Instance.new("FileMesh")
  19691. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  19692.  
  19693. function rayCast(Pos, Dir, Max, Ignore)
  19694. return Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  19695. end
  19696. function MinusRage(raggge)
  19697. Rage = Rage - raggge
  19698. if Rage < 0 then Rage = 0 end
  19699. end
  19700.  
  19701. function r(zParent,zName)
  19702. if zParent:findFirstChild(zName) ~= nil then
  19703. zParent[zName]:Remove()
  19704. else
  19705. end
  19706. end
  19707. function rclass(zParent,zClass)
  19708. local ch = zParent:GetChildren()
  19709. for i=1,#ch do
  19710. if (ch.className == zClass) then
  19711. ch:Remove()
  19712. else
  19713. end
  19714. end
  19715. end
  19716.  
  19717. function fWeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
  19718. local funcw = Instance.new("Weld")
  19719. funcw.Name = zName
  19720. funcw.Parent = zParent
  19721. funcw.Part0 = zPart0
  19722. funcw.Part1 = zPart1
  19723. if (zCoco == true) then
  19724. funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  19725. else
  19726. funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  19727. end
  19728. return funcw
  19729. end
  19730. function Dash(ob,se,mes,of)
  19731. local off = nil
  19732. if of == nil then off = 0 else off = of end
  19733. pcall(function()
  19734. coroutine.resume(coroutine.create(function()
  19735. local dashin = true
  19736. local oldpos = (ob.CFrame *CFrame.new(0,off,0)).p
  19737. coroutine.resume(coroutine.create(function()
  19738. wait(se) dashin = false end))
  19739. for i=1,9999 do
  19740. if dashin == false then break end
  19741. local newpos = (ob.CFrame *CFrame.new(0,off,0)).p --+ Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  19742. local np = Instance.new("Part")
  19743. np.BrickColor = BrickColor.new(TrailColor) np.CanCollide = false
  19744. np.BottomSurface = 0 np.TopSurface = 0 np.Anchored = true np.Transparency = 0.4
  19745. np.formFactor = "Custom" np.Parent = ob local mag = math.abs((newpos - oldpos).magnitude)
  19746. local mp = nil
  19747. if mes ~= nil then
  19748. np.Size = Vector3.new(2,mag,2) mp = Instance.new("FileMesh",np) mp.MeshId = mes else
  19749. np.Size = Vector3.new(0.4,0.4,mag) mp = Instance.new("BlockMesh",np) end
  19750. np.CFrame = CFrame.new(newpos,oldpos)
  19751. np.CFrame = np.CFrame + np.CFrame.lookVector* (mag/2)
  19752. if mes == BlastMesh.MeshId then np.CFrame = np.CFrame *ca(mr(-90),0,0) else np.CFrame = np.CFrame *ca(0,0,mr(-45)) end
  19753. oldpos = newpos
  19754. coroutine.resume(coroutine.create(function()
  19755. for i=1,0,-0.1 do
  19756. np.Transparency = np.Transparency + 0.03
  19757. --if mes ~= nil then
  19758. --mp.Scale = Vector3.new(i,mag,i) else
  19759. mp.Scale = Vector3.new(i,i,1) -- end
  19760. wait()
  19761. end
  19762. np:Remove()
  19763. end))
  19764. wait(0.08)
  19765. end
  19766. end))
  19767. end)
  19768. end
  19769. Sounds = {
  19770. Boom = "http://www.roblox.com/asset/?id=16976189";
  19771. SniperFire = "http://www.roblox.com/asset/?id=1369158";
  19772. ShotgunFire2 = "http://www.roblox.com/asset/?id=1868836";
  19773. MinigunFire = "http://www.roblox.com/asset/?id=2692806";
  19774. MinigunCharge = "http://www.roblox.com/asset/?id=2692844";
  19775. MinigunDischarge = "http://www.roblox.com/asset/?id=1753007";
  19776. Flashbang = "http://www.roblox.com/asset/?id=16976189";
  19777. Beep = "http://www.roblox.com/asset/?id=15666462";
  19778. Smash = "http://www.roblox.com/asset/?id=2801263";
  19779. Punch = "http://www.roblox.com/asset/?id=31173820";
  19780. Slash = "rbxasset://sounds/swordslash.wav";
  19781. Falcon = "http://www.roblox.com/asset/?id=1387390";
  19782. Cast = "http://www.roblox.com/asset/?id=2101137";
  19783. Spin = "http://www.roblox.com/asset/?id=1369159";
  19784. Abscond = "http://www.roblox.com/asset/?id=2767090";
  19785. ElectricalCharge = "http://www.roblox.com/asset/?id=2800815";
  19786. FireExplosion = "http://www.roblox.com/asset/?id=3264793";
  19787. SaberLightUp = "http://www.roblox.com/asset/?id=10209303";
  19788. SaberSlash = "http://www.roblox.com/asset/?id=10209280";
  19789. SaberHit = "http://www.roblox.com/asset/?id=44463749";
  19790. EnergyBlast = "http://www.roblox.com/asset/?id=10209268";
  19791. }
  19792. function Sound(sid,pit,vol)
  19793. local ss = Instance.new("Sound")
  19794. ss.Name = "Sound"
  19795. ss.Parent = Head
  19796. ss.SoundId = sid
  19797. ss.Pitch = pit
  19798. ss.Volume = vol
  19799. ss.PlayOnRemove = true
  19800. wait()
  19801. ss:Remove()
  19802. end
  19803.  
  19804.  
  19805. r(Char,"SwordPack")
  19806. r(Char,"Suit")
  19807. r(Char,"Saber" ..Player.Name)
  19808. r(Pg,"Sabers")
  19809. Suit = inew("Model")
  19810. Suit.Name = "Suit"
  19811. Suit.Parent = Char
  19812. function p(pa,sh,x,y,z,c,a,tr,re,bc)
  19813. local fp = it("Part",pa)
  19814. fp.formFactor = "Custom"
  19815. fp.Shape = sh
  19816. fp.Size = v3(x,y,z)
  19817. fp.CanCollide = c
  19818. fp.Anchored = a
  19819. fp.BrickColor = br(bc)
  19820. fp.Transparency = tr
  19821. fp.Reflectance = re
  19822. fp.BottomSurface = 0
  19823. fp.TopSurface = 0
  19824. fp.CFrame = Torso.CFrame
  19825. fp:BreakJoints()
  19826. return fp
  19827. end
  19828. function weld(pa,p0,p1,x,y,z,a,b,c)
  19829. local fw = it("Weld",pa)
  19830. fw.Part0 = p0
  19831. fw.Part1 = p1
  19832. fw.C0 = cf(x,y,z) *ca(a,b,c)
  19833. return fw
  19834. end
  19835. function ft(tab,nam)
  19836. if tab == nil or nam == nil then print("U: Fail table") return false end
  19837. for i=1,#tab do
  19838. if tab == nam then
  19839. return i
  19840. else
  19841. end
  19842. end
  19843. return nil
  19844. end
  19845. function spm(ty,pa,ssx,ssy,ssz)
  19846. local sp = it("SpecialMesh",pa)
  19847. sp.MeshType = ty
  19848. sp.Scale = Vector3.new(ssx,ssy,ssz)
  19849. return sp
  19850. end
  19851. Torso.Transparency = 1
  19852. Torm = Instance.new("Model",Char)
  19853. Torm.Name = "Saber" ..Player.Name
  19854. Tor = p(Torm,"Block",1.98,1.98,1,false,false,0,0,"basda") Tor.Name = "Torso"
  19855. Torw = weld(Tor,Torso,Tor,0,0,0,0,0,0)
  19856. pcall(function() Char.Shirt:Clone().Parent = Torm end)
  19857. pcall(function() Char.Pants:Clone().Parent = Torm end)
  19858. function ShockWave(onb,scale,col)
  19859. coroutine.resume(coroutine.create(function()
  19860. local e1 = Instance.new("Part")
  19861. e1.Anchored = true
  19862. e1.formFactor = "Custom"
  19863. e1.CanCollide = false
  19864. e1.Size = Vector3.new(1,1,1)
  19865. e1.BrickColor = BrickColor.new(col)
  19866. e1.Transparency = 0.6
  19867. e1.TopSurface = 0
  19868. e1.BottomSurface = 0
  19869. e1.Parent = Torm
  19870. e1.CFrame = onb.CFrame
  19871. e1.CFrame = e1.CFrame *CFrame.Angles(math.rad(-90),0,0)
  19872. local e1m = Instance.new("SpecialMesh")
  19873. e1m.MeshType = "FileMesh"
  19874. e1m.Scale = Vector3.new(3,3,3)
  19875. e1m.Parent = e1
  19876. e1m.MeshId = RingMesh.MeshId
  19877. local r1 = Instance.new("Part")
  19878. r1.Anchored = true
  19879. r1.formFactor = "Custom"
  19880. r1.CanCollide = false
  19881. r1.Size = Vector3.new(1,1,1)
  19882. r1.BrickColor = BrickColor.new(col)
  19883. r1.Transparency = 0.6
  19884. r1.TopSurface = 0
  19885. r1.BottomSurface = 0
  19886. r1.Parent = Torm
  19887. r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(90),0,0)
  19888. local r1m = Instance.new("SpecialMesh")
  19889. r1m.MeshType = "FileMesh"
  19890. r1m.Scale = Vector3.new(3,3,3)
  19891. r1m.Parent = r1
  19892. r1m.MeshId = BlastMesh.MeshId
  19893. for i=1,30 do
  19894. local pluscal = scale/38
  19895. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19896. r1m.Scale = r1m.Scale + Vector3.new(pluscal/1.5,pluscal/3,pluscal/1.5)
  19897. r1.CFrame = r1.CFrame * CFrame.Angles(0,math.rad(6),0)
  19898. wait()
  19899. end
  19900. for i=1,30 do
  19901. local pluscal = scale/38
  19902. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19903. r1m.Scale = r1m.Scale + Vector3.new(pluscal/1.5,pluscal/4,pluscal/1.5)
  19904. r1.CFrame = r1.CFrame * CFrame.Angles(0,math.rad(6),0)
  19905. e1.Transparency = e1.Transparency + 0.1
  19906. r1.Transparency = r1.Transparency + 0.1
  19907. wait()
  19908. end
  19909. e1:Remove()
  19910. r1:Remove()
  19911. end))
  19912. end
  19913.  
  19914. function Explode(onb,scale,col)
  19915. coroutine.resume(coroutine.create(function()
  19916. local e1 = Instance.new("Part")
  19917. e1.Anchored = true
  19918. e1.formFactor = "Custom"
  19919. e1.CanCollide = false
  19920. e1.Size = Vector3.new(1,1,1)
  19921. e1.BrickColor = BrickColor.new(col)
  19922. e1.Transparency = 0.6
  19923. e1.TopSurface = 0
  19924. e1.BottomSurface = 0
  19925. e1.Parent = Torm
  19926. e1.CFrame = onb.CFrame
  19927. local e1m = Instance.new("SpecialMesh")
  19928. e1m.MeshType = "Sphere"
  19929. e1m.Parent = e1
  19930. local r1 = Instance.new("Part")
  19931. r1.Anchored = true
  19932. r1.formFactor = "Custom"
  19933. r1.CanCollide = false
  19934. r1.Size = Vector3.new(1,1,1)
  19935. r1.BrickColor = BrickColor.new(col)
  19936. r1.Transparency = 0.6
  19937. r1.TopSurface = 0
  19938. r1.BottomSurface = 0
  19939. r1.Parent = Torm
  19940. r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(180),0,0)
  19941. local r1m = Instance.new("SpecialMesh")
  19942. r1m.MeshType = "FileMesh"
  19943. r1m.Scale = Vector3.new(3,3,3)
  19944. r1m.Parent = r1
  19945. r1m.MeshId = RingMesh.MeshId
  19946. local r2 = Instance.new("Part")
  19947. r2.Anchored = true
  19948. r2.formFactor = "Custom"
  19949. r2.CanCollide = false
  19950. r2.Size = Vector3.new(1,1,1)
  19951. r2.BrickColor = BrickColor.new(col)
  19952. r2.Transparency = 0.6
  19953. r2.TopSurface = 0
  19954. r2.BottomSurface = 0
  19955. r2.Parent = Torm
  19956. r2.CFrame = e1.CFrame *CFrame.Angles(0,math.rad(180),0)
  19957. local r2m = Instance.new("SpecialMesh")
  19958. r2m.MeshType = "FileMesh"
  19959. r2m.Parent = r2
  19960. r2m.Scale = Vector3.new(3,3,3)
  19961. r2m.MeshId = RingMesh.MeshId
  19962. local bla = Instance.new("Part")
  19963. bla.Anchored = true
  19964. bla.formFactor = "Custom"
  19965. bla.CanCollide = false
  19966. bla.Size = Vector3.new(1,1,1)
  19967. bla.BrickColor = BrickColor.new(col)
  19968. bla.Transparency = 0.6
  19969. bla.TopSurface = 0
  19970. bla.BottomSurface = 0
  19971. bla.Parent = Torm
  19972. bla.CFrame = CFrame.new(e1.Position.x,e1.Position.y,e1.Position.z)
  19973. local blam = Instance.new("SpecialMesh")
  19974. blam.MeshType = "FileMesh"
  19975. blam.Parent = bla
  19976. blam.Scale = Vector3.new(5,5,5)
  19977. blam.MeshId = BlastMesh.MeshId
  19978. for i=1,30 do
  19979. local pluscal = scale/38
  19980. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19981. r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19982. r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19983. blam.Scale = blam.Scale + Vector3.new(pluscal,pluscal/2,pluscal)
  19984. bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0)
  19985. r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0)
  19986. r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0)
  19987. wait()
  19988. end
  19989. for i=1,30 do
  19990. local pluscal = scale/38
  19991. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19992. r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19993. r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19994. blam.Scale = blam.Scale + Vector3.new(pluscal/1.5,pluscal/3,pluscal/1.5)
  19995. bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0)
  19996. r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0)
  19997. r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0)
  19998. bla.Transparency = bla.Transparency + 0.1
  19999. e1.Transparency = e1.Transparency + 0.1
  20000. r1.Transparency = r1.Transparency + 0.1
  20001. r2.Transparency = r2.Transparency + 0.1
  20002. wait()
  20003. end
  20004. e1:Remove()
  20005. r1:Remove()
  20006. r2:Remove()
  20007. end))
  20008. end
  20009. H1 = p(Torm,"Block",0.5,0.9,0.5,false,false,0,0.1,"Medium stone grey") spm("Head",H1,1,1.3,1)
  20010. H1w = weld(Tor,Torso,H1,0.4,-0.7,0.5,0,0,mr(45))
  20011. H2 = p(Torm,"Block",0.5,0.9,0.5,false,false,0,0.1,"Medium stone grey") spm("Head",H2,1,1.3,1)
  20012. H2w = weld(Tor,H1,H2,0,-0.8,0,mr(180),0,0)
  20013. Des1 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Instance.new("CylinderMesh",Des1)
  20014. Des1w = weld(Tor,H1,Des1,0,0.5,0,0,0,0)
  20015. Des2 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Instance.new("CylinderMesh",Des2)
  20016. Des2w = weld(Tor,H2,Des2,0,0.5,0,0,0,0)
  20017. Des21 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Des21m = Instance.new("CylinderMesh",Des21) Des21m.Scale = Vector3.new(1,0.6,1)
  20018. Des21w = weld(Tor,H1,Des21,0,-0.55,0,0,0,0)
  20019. Des22 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Des22m = Instance.new("CylinderMesh",Des22) Des22m.Scale = Vector3.new(1,0.6,1)
  20020. Des22w = weld(Tor,H2,Des22,0,-0.55,0,0,0,0)
  20021.  
  20022. Blad1 = p(Torm,"Block",0.3,4,0.3,false,false,1,0.25,BladeColor) M1 = spm("Head",Blad1,1,1,1)
  20023. Blad1w = weld(Tor,H1,Blad1,0,1.9,0,0,0,0)
  20024. Blad2 = p(Torm,"Block",0.3,4,0.3,false,false,1,0.25,BladeColor) M2 = spm("Head",Blad2,1,1,1)
  20025. Blad2w = weld(Tor,H2,Blad2,0,1.9,0,0,0,0)
  20026. Glow1 = p(Torm,"Block",0.47,4.2,0.47,false,false,1,0,BladeColor) GM1 = spm("Head",Glow1,1,1,1)
  20027. Glow1w = weld(Tor,H1,Glow1,0,1.9,0,0,0,0)
  20028. Glow2 = p(Torm,"Block",0.47,4.2,0.47,false,false,1,0,BladeColor) GM2 = spm("Head",Glow2,1,1,1)
  20029. Glow2w = weld(Tor,H2,Glow2,0,1.9,0,0,0,0)
  20030.  
  20031. r(Bp,HopperName)
  20032. bin = inew("HopperBin")
  20033. bin.Name = HopperName
  20034. bin.Parent = Bp
  20035.  
  20036. Gui = Instance.new("ScreenGui",Pg)
  20037. Gui.Name = "Sabers"
  20038. Frame = Instance.new("Frame",Gui)
  20039. Frame.BackgroundTransparency = 1 Frame.Size = UDim2.new(1,0,1,0)
  20040. ImageGui = Instance.new("ImageLabel",Frame)
  20041. ImageGui.Image = "http://www.roblox.com/asset/?id=51262246"
  20042. ImageGui.BackgroundTransparency = 1
  20043. ImageGui.Size = UDim2.new(0.3,0,0.075,0)
  20044. HealthBar = Instance.new("ImageLabel",Frame)
  20045. HealthBar.Image = "http://www.roblox.com/asset/?id=48965808"
  20046. HealthBar.BorderSizePixel = 0
  20047. HealthBar.Size = UDim2.new(0.23,0,0.017,0)
  20048. HealthBar.Position = UDim2.new(0.06,0,0.017,0)
  20049. RageBar = Instance.new("ImageLabel",Frame)
  20050. RageBar.Image = "http://www.roblox.com/asset/?id=48965808"
  20051. RageBar.BorderSizePixel = 0
  20052. RageBar.Size = UDim2.new(0.165,0,0.012,0)
  20053. RageBar.Position = UDim2.new(0.06,0,0.04,0)
  20054. RageBar.BackgroundColor3 = BrickColor.new("Alder").Color
  20055. SelectBar = Instance.new("ImageButton",Frame)
  20056. SelectBar.Image = "http://www.roblox.com/asset/?id=48965808"
  20057. SelectBar.BorderSizePixel = 0
  20058. SelectBar.Size = UDim2.new(0.1,0,0.07,0)
  20059. SelectBar.Position = UDim2.new(0.8,0,0.6,0)
  20060. SelectBar.BackgroundColor3 = BrickColor.new(BladeColor).Color
  20061. SelectrBar = Instance.new("TextLabel",SelectBar)
  20062. SelectrBar.BackgroundTransparency = 1
  20063. SelectrBar.BorderSizePixel = 0
  20064. SelectrBar.Size = UDim2.new(0,0,0,0)
  20065. SelectrBar.Position = UDim2.new(0.5,0,0.5,0)
  20066. SelectrBar.Font = "ArialBold"
  20067. SelectrBar.FontSize = "Size18"
  20068. SelectBar.MouseButton1Up:connect(function()
  20069. if Anim.Move ~= "None" then return end
  20070. if Anim.Act == true then return end
  20071. if Anim.Equipped == false then return end
  20072. if SwordType == "Single" then
  20073. Anim.Move = "Changing"
  20074. Anims.ChangeToDual(0,1,0.065*Speed) SwordType = "Dual"
  20075. Anim.Move = "None"
  20076. else
  20077. Anim.Move = "Changing"
  20078. Anims.ChangeToSingle(0,1,0.065*Speed) SwordType = "Single"
  20079. Anim.Move = "None"
  20080. end
  20081. end)
  20082. coroutine.resume(coroutine.create(function()
  20083. while true do
  20084. wait(0.05)
  20085. local hh = Hum.Health local hmh = Hum.MaxHealth
  20086. HealthBar.Size = UDim2.new((hh/hmh)*0.23,0,0.017,0)
  20087. if ((hh/hmh)*100) > 75 then
  20088. HealthBar.BackgroundColor3 = BrickColor.new("Alder").Color
  20089. elseif ((hh/hmh)*100) > 25 and ((hh/hmh)*100) < 76 then
  20090. HealthBar.BackgroundColor3 = BrickColor.new("Deep orange").Color
  20091. elseif ((hh/hmh)*100) < 26 then
  20092. HealthBar.BackgroundColor3 = BrickColor.new("Bright red").Color
  20093. end
  20094. RageBar.Size = UDim2.new((Rage/MaxRage)*0.165,0,0.012,0)
  20095. SelectrBar.Text = SwordType
  20096. end
  20097. end))
  20098. -------
  20099. function TellXPos(brick1,posd)
  20100. local lb = p(nil,"Block",1,1,1,true,false,1,0.1,BladeColor)
  20101. lb.CFrame = CFrame.new((brick1.CFrame *cf(-10,0,0)).p)
  20102. local rb = p(nil,"Block",1,1,1,true,false,1,0.1,BladeColor)
  20103. rb.CFrame = CFrame.new((brick1.CFrame *cf(10,0,0)).p)
  20104. local posml = math.abs((posd - rb.Position).magnitude)
  20105. local posmr = math.abs((posd - lb.Position).magnitude)
  20106. if posml > posmr then
  20107. return "left"
  20108. else
  20109. return "right"
  20110. end
  20111. end
  20112. function GetNearPlayer(urpos,maxmag)
  20113. if maxmag == nil then return nil end
  20114. for i,v in pairs(game.Players:GetChildren()) do
  20115. if v.Character ~= Char and v.Character ~= nil and v.Character:findFirstChild("Torso") ~= nil and math.abs((v.Character.Torso.Position-urpos).magnitude) < maxmag then
  20116. return v.Character.Torso
  20117. end
  20118. end
  20119. return nil
  20120. end
  20121. function Dmgz(hum,dmg)
  20122. dmg = dmg*Props.Buff
  20123. hum.Health = hum.Health - dmg
  20124. Rage = Rage + ((dmg/1.25)*RageIncome)
  20125. if Rage > MaxRage then Rage = MaxRage end
  20126. end
  20127. coroutine.resume(coroutine.create(function()
  20128. while true do
  20129. wait()
  20130. if Right == true and Anim.Move == "ForceWave" then
  20131. for i,v in pairs(workspace:GetChildren()) do
  20132. coroutine.resume(coroutine.create(function()
  20133. if v ~= Char and v ~= nil and v:findFirstChild("Torso") ~= nil and math.abs((v.Torso.Position-Blad2.Position).magnitude) < MagnitudeHit[Anim.Move] then
  20134. local hit = v.Torso
  20135. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
  20136. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  20137. table.insert(RightDebounce,hit.Parent.Name)
  20138. wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
  20139. end
  20140. else
  20141. if v:IsA("BasePart") and v.Anchored == false and math.abs((v.Position-Blad2.Position).magnitude) < MagnitudeHit[Anim.Move] then v:BreakJoints() v.Velocity = cf(Blad2.Position,v.Position).lookVector*30 + Vector3.new(0,20,0) end
  20142. end
  20143. end))
  20144. end -- for
  20145. end
  20146. end
  20147. end))
  20148. Blad1.Touched:connect(function(hit)
  20149. if Left == true then
  20150. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(LeftDebounce,hit.Parent.Name) == nil then
  20151. coroutine.resume(coroutine.create(function()
  20152. table.insert(LeftDebounce,hit.Parent.Name)
  20153. wait(DebounceSpeed) local nf = ft(LeftDebounce,hit.Parent.Name) if nf ~= nil then table.remove(LeftDebounce,nf) end
  20154. end))
  20155. Sound(Sounds.SaberHit,1,1)
  20156. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  20157. else
  20158. --if hit.Parent:findFirstChild("Humanoid") == nil and not hit:IsDescendantOf(Char) and hit.Anchored == false then hit:BreakJoints() hit.Velocity = cf(Blad1.Position,hit.Position).lookVector*30 end
  20159. end
  20160. end
  20161. end)
  20162.  
  20163. Blad2.Touched:connect(function(hit)
  20164. if Right == true then
  20165. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
  20166. coroutine.resume(coroutine.create(function()
  20167. table.insert(RightDebounce,hit.Parent.Name)
  20168. wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
  20169. end))
  20170. Sound(Sounds.SaberHit,1,1)
  20171. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  20172. else
  20173. --if hit.Parent:findFirstChild("Humanoid") == nil and not hit:IsDescendantOf(Char) and hit.Anchored == false then hit:BreakJoints() hit.Velocity = cf(Blad2.Position,hit.Position).lookVector*30 end
  20174. end
  20175. end
  20176. end)
  20177. LW = inew("Weld")
  20178. RW = inew("Weld")
  20179. Fla = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  20180. Fra = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  20181. Flaw = fWeld("Weld",Fla,Tor,Fla,true,-1.5,0.5,0,0,0,0)
  20182. Fraw = fWeld("Weld",Fla,Tor,Fra,true,1.5,0.5,0,0,0,0)
  20183. Flaw.C1 = CFrame.new(0,0.5,0)
  20184. Fraw.C1 = CFrame.new(0,0.5,0)
  20185.  
  20186. Fll = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  20187. Frl = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  20188. Fllw = fWeld("Weld",Fll,Torso,Fll,true,0,0,0,0,0,0)
  20189. Frlw = fWeld("Weld",Fll,Torso,Frl,true,0,0,0,0,0,0)
  20190.  
  20191. function FeetWeld(yesorno,lhh,rhh)
  20192. if yesorno == false then
  20193. lhh.Parent = nil
  20194. rhh.Parent = nil
  20195. Lh.Parent = Torso
  20196. Rh.Parent = Torso
  20197. Lh.Part0 = Tor
  20198. Rh.Part0 = Tor
  20199. Lh.Part1 = Char["Left Leg"]
  20200. Rh.Part1 = Char["Right Leg"]
  20201. return Lh,Rh
  20202. else
  20203. Rh.Parent = nil
  20204. Lh.Parent = nil
  20205. local hl,hr = it("Weld",Torso),it("Weld",Torso)
  20206. hl.Part0 = Fll
  20207. hr.Part0 = Frl
  20208. hl.Part1 = Char["Left Leg"]
  20209. hr.Part1 = Char["Right Leg"]
  20210. hr.C1 = cf(-0.5,1.75,0)
  20211. hl.C1 = cf(0.5,1.75,0)
  20212. return hl,hr
  20213. end
  20214. end
  20215. Anims = {}
  20216. Anims.Equip = function(i1,i2,is)
  20217. Anim.Act = true
  20218. for i=i1,i2,is do
  20219. RW.C1 = ca(mr(40*i),mr(20*i),0)
  20220. RW.C0 = cf(-0.4*i,-0.1*i,0.4*i)
  20221. wait()
  20222. end
  20223. H1w.Part0 = Ra
  20224. H1w.Part1 = H1
  20225. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(180),0) H1w.C1 = ca(mr(-90),0,0)
  20226. Sound(Sounds.Slash,1,1)
  20227. for i=i1,i2,is do
  20228. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(270*i)),0)
  20229. LW.C1 = ca(mr(-80*i),mr(40*i),0)
  20230. LW.C0 = cf(0.6*i,0.3*i,-1*i)
  20231. RW.C1 = ca(mr(40+(-120*i)),mr(20+(-60*i)),0)
  20232. RW.C0 = cf(-0.4+(-0.2*i),-0.1+(0.4*i),0.4+(-1.4*i))
  20233. wait()
  20234. end
  20235. Sound(Sounds.SaberLightUp,3,1)
  20236. for i=i1,i2,is do
  20237. Blad1w.C0 = cf(0,0.95+(0.95*i),0)
  20238. Blad2w.C0 = cf(0,0.95+(0.95*i),0)
  20239. M1.Scale = Vector3.new(1,1*i,1)
  20240. M2.Scale = Vector3.new(1,1*i,1)
  20241. Blad1.Transparency = 0.9-(1*i)
  20242. Blad2.Transparency = 0.9-(1*i)
  20243. Glow1w.C0 = cf(0,0.95+(0.95*i),0)
  20244. Glow2w.C0 = cf(0,0.95+(0.95*i),0)
  20245. GM1.Scale = Vector3.new(1,1*i,1)
  20246. GM2.Scale = Vector3.new(1,1*i,1)
  20247. Glow1.Transparency = 1.05-(0.5*i)
  20248. Glow2.Transparency = 1.05-(0.5*i)
  20249. wait()
  20250. end
  20251. Anim.Act = false
  20252. end
  20253. Anims.UnEquip = function(i1,i2,is)
  20254. Anim.Act = true
  20255. Sound(Sounds.SaberLightUp,3,1)
  20256. for i=i1,i2,is do
  20257. Blad1w.C0 = cf(0,0.95+(0.95*i),0)
  20258. Blad2w.C0 = cf(0,0.95+(0.95*i),0)
  20259. M1.Scale = Vector3.new(1,1*i,1)
  20260. M2.Scale = Vector3.new(1,1*i,1)
  20261. Blad1.Transparency = 0.9-(1*i)
  20262. Blad2.Transparency = 0.9-(1*i)
  20263. Glow1w.C0 = cf(0,0.95+(0.95*i),0)
  20264. Glow2w.C0 = cf(0,0.95+(0.95*i),0)
  20265. GM1.Scale = Vector3.new(1,1*i,1)
  20266. GM2.Scale = Vector3.new(1,1*i,1)
  20267. Glow1.Transparency = 1.05-(0.5*i)
  20268. Glow2.Transparency = 1.05-(0.5*i)
  20269. wait()
  20270. end
  20271. Sound(Sounds.Slash,1,1)
  20272. for i=i1,i2,is do
  20273. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(270*i)),0)
  20274. LW.C1 = ca(mr(-80*i),mr(40*i),0)
  20275. LW.C0 = cf(0.6*i,0.3*i,-1*i)
  20276. RW.C1 = ca(mr(40+(-120*i)),mr(20+(-60*i)),0)
  20277. RW.C0 = cf(-0.4+(-0.2*i),-0.1+(0.4*i),0.4+(-1.4*i))
  20278. wait()
  20279. end
  20280. H1w.Part0 = Torso
  20281. H1w.Part1 = H1
  20282. H1w.C0 = cf(0.4,-0.7,0.5) *ca(0,0,mr(45))
  20283. H1w.C1 = cf(0,0,0) *ca(0,0,0)
  20284. for i=i1,i2,is do
  20285. RW.C1 = ca(mr(40*i),mr(20*i),0)
  20286. RW.C0 = cf(-0.4*i,-0.1*i,0.4*i)
  20287. wait()
  20288. end
  20289. Anim.Act = false
  20290. end
  20291. Anims.ChangeToDual = function(i1,i2,is)
  20292. Anim.Act = true
  20293. for i=i1,i2,is*Speed do
  20294. H1w.C0 = cf(0,-1.1,0) *ca(mr(-80*i),mr(50*i),0)
  20295. wait()
  20296. end
  20297. Sound(Sounds.SaberHit,1,1)
  20298. Sound(Sounds.SaberLightUp,2,0.5)
  20299. H1w.Part0 = La
  20300. H1w.Part1 = H1
  20301. H2w.Part0 = Ra
  20302. H2w.Part1 = H2
  20303. H2w.C1 = ca(mr(-90),0,0)
  20304. for i=i1,i2,is*Speed do
  20305. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-90+(-90*i)),mr(20+(-20*i)))
  20306. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(90*i)),mr(-35+(-35*i)))
  20307. LW.C1 = ca(mr(-80+(20*i)),mr(40+(-70*i)),0)
  20308. LW.C0 = cf(0.6+(-0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  20309. RW.C1 = ca(mr(-80+(20*i)),mr(-40+(70*i)),0)
  20310. RW.C0 = cf(-0.6+(0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  20311. wait()
  20312. end
  20313. Anim.Act = false
  20314. end
  20315. Anims.ChangeToSingle = function(i1,i2,is)
  20316. Anim.Act = true
  20317. for i=i2,i1,-is*Speed do
  20318. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-90+(-90*i)),mr(20+(-20*i)))
  20319. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(90*i)),mr(-35+(-35*i)))
  20320. LW.C1 = ca(mr(-80+(20*i)),mr(40+(-70*i)),0)
  20321. LW.C0 = cf(0.6+(-0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  20322. RW.C1 = ca(mr(-80+(20*i)),mr(-40+(70*i)),0)
  20323. RW.C0 = cf(-0.6+(0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  20324. wait()
  20325. end
  20326. H1w.Part0 = Ra
  20327. H1w.Part1 = H1
  20328. H2w.Part0 = H1
  20329. H2w.Part1 = H2
  20330. H2w.C1 = ca(0,0,0)
  20331. H2w.C0 = cf(0,-0.8,0) *ca(mr(180),0,0)
  20332. Sound(Sounds.SaberLightUp,2,0.5)
  20333. Sound(Sounds.SaberHit,1,1)
  20334. for i=i2,i1,-is*Speed do
  20335. H1w.C0 = cf(0,-1.1,0) *ca(mr(-80*i),mr(50*i),0)
  20336. wait()
  20337. end
  20338. Anim.Act = false
  20339. end
  20340. Anims.RotorBlade = function(i1,i2,is,RaigCost)
  20341. local lolpos = (Torso.Position - mouse.hit.p).unit
  20342. local allx = (lolpos.y*80)-10
  20343. local ally = (((mouse.X-(mouse.ViewSizeX/2))/mouse.ViewSizeX)*1.8)*-90
  20344. Anim.Act = true
  20345. for i=i1,i2,is do
  20346. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  20347. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(90*i),0)
  20348. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  20349. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(((-90)+ally)*i),0)
  20350. Torw.C1 = ca(0,mr(-90*i),0)
  20351. wait()
  20352. end
  20353. DebounceSpeed = DebounceSpeed - (0.5*Speed)
  20354. Hum.WalkSpeed = Hum.WalkSpeed + (8*Speed)
  20355. Left = true
  20356. Right = true
  20357. Dash(Blad1,2/Speed,nil,2)
  20358. Dash(Blad2,2/Speed,nil,2)
  20359. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,-0.4,0) *ca(mr(-90),0,0)
  20360. local soundtime = 0
  20361. for i=i1,i2*4,is do
  20362. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  20363. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(360*i),0)
  20364. wait()
  20365. end
  20366. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,0,0) *ca(mr(-90),0,0)
  20367. DebounceSpeed = DebounceSpeed + (0.5*Speed)
  20368. Hum.WalkSpeed = Hum.WalkSpeed - (8*Speed)
  20369. Left = false
  20370. Right = false
  20371. for i=i2,i1,-is do
  20372. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  20373. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(90*i),0)
  20374. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  20375. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(((-90)+ally)*i),0)
  20376. Torw.C1 = ca(0,mr(-90*i),0)
  20377. wait()
  20378. end
  20379. Torw.C1 = ca(0,0,0)
  20380. Anim.Act = false
  20381. end
  20382. -------
  20383. Anims.Boomerang = function(i1,i2,is,RaigCost)
  20384. MinusRage(RaigCost)
  20385. local lolpos = (Head.Position - mouse.hit.p).unit
  20386. local allx = (lolpos.y*80)-10
  20387. Anim.Act = true
  20388. for i=i1,i2,is do
  20389. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  20390. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(60*i),0)
  20391. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  20392. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-60*i),0)
  20393. Torw.C1 = ca(0,mr(-60*i),0)
  20394. H1w.C0 = cf(0,-1.1,0) *ca(mr(80*i),0,0)
  20395. wait()
  20396. end
  20397. DebounceSpeed = DebounceSpeed - (0.5*Speed)
  20398. Left = true
  20399. Right = true
  20400. Dash(Blad1,3.8/Speed,nil,2)
  20401. Dash(Blad2,3.8/Speed,nil,2)
  20402. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,-0.4,0) *ca(mr(-90),0,0)
  20403. local soundtime = 0
  20404. for i=i1,i2,is/2 do
  20405. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  20406. H1w.C0 = cf(10*i,-1.1+(-15*i),0) *ca(mr(90),mr(720*i),0)
  20407. wait()
  20408. end
  20409. for i=i1,i2,is/2 do
  20410. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  20411. H1w.C0 = cf(10+(-20*i),-16.1,0) *ca(mr(90),mr(720*i),0)
  20412. wait()
  20413. end
  20414. for i=i1,i2,is/2 do
  20415. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  20416. H1w.C0 = cf(-10+(10*i),-16.1+(15*i),0) *ca(mr(90),mr(720*i),0)
  20417. wait()
  20418. end
  20419. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,0,0) *ca(mr(-90),0,0)
  20420. DebounceSpeed = DebounceSpeed + (0.5*Speed)
  20421. Left = false
  20422. Right = false
  20423. for i=i2,i1,-is do
  20424. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  20425. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(60*i),0)
  20426. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  20427. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-60*i),0)
  20428. Torw.C1 = ca(0,mr(-60*i),0)
  20429. H1w.C0 = cf(0,-1.1,0) *ca(mr(80*i),0,0)
  20430. wait()
  20431. end
  20432. Torw.C1 = ca(0,0,0)
  20433. Anim.Act = false
  20434. end
  20435. Anims.BoulderForce = function(i1,i2,is,RaigCost)
  20436. MinusRage(RaigCost)
  20437. Anim.Act = true
  20438. for i=i1,i2,is do
  20439. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  20440. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  20441. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  20442. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  20443. Torw.C1 = ca(0,mr(50*i),0)
  20444. wait()
  20445. end
  20446. local bould = p(workspace,"Block",4,4,8,true,true,0,0,"Medium stone grey") bould.Name = "Boulder" bould.Material = "Concrete"
  20447. local rm = RockMesh:Clone() rm.Scale = Vector3.new(3,3,4.8) rm.Parent = bould
  20448. bould.Elasticity = 0 bould.Friction = 2 bould.CFrame = cf(Torso.Position.x+(math.random(-14,14)),Torso.Position.y-5,Torso.Position.z+(math.random(-14,14))) *CFrame.Angles(math.random(-33,33)/10,math.random(-33,33)/10,math.random(-33,33)/10)
  20449. local warpdes = true
  20450. local bpos = bould.Position
  20451. Sound(Sounds.Cast,0.95,0.8)
  20452. coroutine.resume(coroutine.create(function() repeat Functions.BrickWarpDesign(bould,9) wait() until warpdes == false end))
  20453. for i=0,1,0.08 do bould.CFrame = CFrame.new(bpos.x,bpos.y,bpos.z) + Vector3.new(0,20*i,0) wait() end wait(1) bould.CFrame = CFrame.new(bpos.x,bpos.y+20,bpos.z) bould.CFrame = cf(bould.Position,mouse.hit.p)
  20454. bould.Anchored = false wait() bould.Velocity = bould.CFrame.lookVector *(math.random(180,350)) bould.Touched:connect(function(hit) Functions.BoulderTouch(hit,bould) end)
  20455. wait(0.5)
  20456. warpdes = false
  20457. game.Debris:AddItem(bould,10)
  20458. for i=i2,i1,-is do
  20459. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  20460. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  20461. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  20462. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  20463. Torw.C1 = ca(0,mr(50*i),0)
  20464. wait()
  20465. end
  20466. Torw.C1 = ca(0,0,0)
  20467. Anim.Act = false
  20468. end
  20469. Anims.ForceWave = function(i1,i2,is,RaigCost)
  20470. local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
  20471. if Hit == nil then Anim.Act = false return end
  20472. MinusRage(RaigCost)
  20473. Anim.Act = true
  20474. lh2,rh2 = FeetWeld(true,Lh,Rh)
  20475. local bp2 = Instance.new("BodyPosition",Torso)
  20476. bp2.maxForce = Vector3.new(0,math.huge,0)
  20477. Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
  20478. DebounceSpeed = DebounceSpeed + (1.1*Speed)
  20479. bp2.position = Torso.Position + Vector3.new(0,25,0)
  20480. Dash(Blad1,2.5/Speed)
  20481. Dash(Blad2,2.5/Speed)
  20482. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,0.3,0,BladeColor) wav.Anchored = true
  20483. local wavm = BlastMesh:Clone()
  20484. wavm.Parent = wav
  20485. wavm.Scale = Vector3.new(15,6,15)
  20486. local cff = Torso.CFrame - Vector3.new(0,0,0)
  20487. coroutine.resume(coroutine.create(function()
  20488. Dash(Blad1,4/Speed)
  20489. Dash(Blad2,4/Speed)
  20490. for i=i1,i2,is*Speed do
  20491. LW.C1 = ca(mr(-80+(-100*i)),mr(40-(40*i)),mr(45*i))
  20492. LW.C0 = cf(0.6,0.3+(1.4*i),-1+(1*i))
  20493. RW.C1 = ca(mr(-80+(-100*i)),mr(-40+(40*i)),mr(-45*i))
  20494. RW.C0 = cf(-0.6,0.3+(1.4*i),-1+(1*i))
  20495. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20496. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20497. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20498. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20499. H1w.C0 = cf(0,-1.1+(-0.9*i),0) *ca(0,mr(360*i),0)
  20500. H1w.C1 = ca(mr(-90+(40*i)),0,0)
  20501. wait()
  20502. end for i=i1,i2*3,is*Speed do H1w.C1 = ca(mr(-50),mr(360*i),0) wait() end end)) Sound(Sounds.Cast,0.45,1) for i=i1,i2*5,is do Functions.BrickWarpDesign(Torso,13) wav.CFrame = cff *ca(0,mr(180*i),0) wait() end
  20503. for i=1,0.3,-0.14*Speed do wav.Transparency = i wait() end wav:Remove()
  20504. for i=i2,i1,-is*Speed do
  20505. LW.C1 = ca(mr(-80+(-100*i)),mr(40-(40*i)),mr(45*i))
  20506. LW.C0 = cf(0.6,0.3+(1.4*i),-1+(1*i))
  20507. RW.C1 = ca(mr(-80+(-100*i)),mr(-40+(40*i)),mr(-45*i))
  20508. RW.C0 = cf(-0.6,0.3+(1.4*i),-1+(1*i))
  20509. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20510. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20511. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20512. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20513. H1w.C0 = cf(0,-1.1+(-0.9*i),0) *ca(0,mr(360*i),0)
  20514. H1w.C1 = ca(mr(-90+(40*i)),0,0)
  20515. wait()
  20516. end
  20517. bp2:Remove()
  20518. local bg = Instance.new("BodyGyro",Torso) bg.maxTorque = Vector3.new(math.huge,0,math.huge)
  20519. local bp = Instance.new("BodyPosition",Torso) bp.position = Torso.Position bp.maxForce = Vector3.new(math.huge,1000000,math.huge)
  20520. rpos = math.abs(hitpos.y - Torso.Position.y)
  20521. rpos = rpos - 1.2
  20522. local tpos = Torso.Position
  20523. Hum.WalkSpeed = 0
  20524. Hum.PlatformStand = true
  20525. Dash(Blad2,1.6/Speed,RingMesh.MeshId)
  20526. for i=i1,i2,is do
  20527. bp.position = tpos - Vector3.new(0,rpos*i,0)
  20528. Neck.C0 = cf(0,1-(0.5*i),-0.5*i) *ca(Neck.C1:toEulerAnglesXYZ())
  20529. Torw.C1 = ca(mr(20*i),0,0)
  20530. Torw.C0 = cf(0,-0.2*i,-0.2*i)
  20531. lh2.C0 = cf(-0.5,-1.9+(1*i),-1.1*i) *ca(mr(10*i),mr(90),0)
  20532. rh2.C0 = cf(0.5,-1.9+(1*i),0.1*i) *ca(mr(-95*i),mr(-90),0)
  20533. LW.C1 = ca(mr(-80+(30*i)),mr(40),0)
  20534. LW.C0 = cf(0.6,0.3-(0.3*i),-1+(0.3*i))
  20535. RW.C1 = ca(mr(-80+(30*i)),mr(-40),0)
  20536. RW.C0 = cf(-0.6,0.3-(0.3*i),-1+(0.3*i))
  20537. H1w.C0 = cf(0,-1.1,0) *ca(mr(55*i),0,0)
  20538. wait()
  20539. end
  20540. wait(0.25)
  20541. Sound(Sounds.Boom,0.5,1)
  20542. Sound(Sounds.EnergyBlast,0.9,1)
  20543. Right = true
  20544. ShockWave(Torso,50,BladeColor)
  20545. wait(1.5)
  20546. Right = false
  20547. local t2pos = Torso.Position
  20548. for i=i2,i1,-is do
  20549. bp.position = t2pos - Vector3.new(0,1.5-(1.5*i),0)
  20550. Neck.C0 = cf(0,1-(0.5*i),-0.5*i) *ca(Neck.C1:toEulerAnglesXYZ())
  20551. Torw.C1 = ca(mr(20*i),0,0)
  20552. Torw.C0 = cf(0,-0.2*i,-0.2*i)
  20553. lh2.C0 = cf(-0.5,-1.9+(1*i),-1.1*i) *ca(mr(10*i),mr(90),0)
  20554. rh2.C0 = cf(0.5,-1.9+(1*i),0.1*i) *ca(mr(-95*i),mr(-90),0)
  20555. LW.C1 = ca(mr(-80+(30*i)),mr(40),0)
  20556. LW.C0 = cf(0.6,0.3-(0.3*i),-1+(0.3*i))
  20557. RW.C1 = ca(mr(-80+(30*i)),mr(-40),0)
  20558. RW.C0 = cf(-0.6,0.3-(0.3*i),-1+(0.3*i))
  20559. H1w.C0 = cf(0,-1.1,0) *ca(mr(55*i),0,0)
  20560. wait()
  20561. end
  20562. DebounceSpeed = DebounceSpeed - (1.1*Speed)
  20563. bp:Remove()
  20564. bg:Remove()
  20565. Hum.PlatformStand = false
  20566. Hum.WalkSpeed = RealSpeed
  20567. Torw.C1 = ca(0,0,0)
  20568. Anim.Act = false
  20569. Lh,Rh = FeetWeld(false,lh2,rh2)
  20570. end
  20571. Anims.DualSpin = function(i1,i2,is,RaigCost)
  20572. MinusRage(RaigCost)
  20573. Anim.Act = true
  20574. for i=i1,i2,is*Speed do
  20575. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-180-(-90*i)),mr(0*i)) H1w.C1 = ca(mr(-90-(60*i)),0,mr(0*i))
  20576. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(180-(270*i)),mr(0*i)) H2w.C1 = ca(mr(-90+(-30*i)),0,0)
  20577. LW.C1 = ca(mr(-60+(-40*i)),mr(-30+(-75*i)),mr(0*i))
  20578. LW.C0 = cf(0.13*i,0.5*i,-0.5+(0.5*i))
  20579. RW.C1 = ca(mr(-60+(-20*i)),mr(30+(45*i)),mr(0*i))
  20580. RW.C0 = cf(0.13*i,0.4*i,-0.5+(0.4*i))
  20581. wait()
  20582. end
  20583. DebounceSpeed = DebounceSpeed - (0.5*Speed) Right = true Left = true Dash(Blad1,2.6/Speed,nil,2) Dash(Blad2,2.6/Speed,nil,2) local x,y,z = Neck.C0:toEulerAnglesXYZ()
  20584. local soundtime = 0
  20585. for i=i1,i2*4,is*Speed do if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end Torw.C1 = ca(0,mr(i*360),0) Neck.C0 = cf(0,1,0) *ca(x,y,z+mr(-360*i)) wait() end Neck.C0 = cf(0,1,0) *ca(x,y,z)Torw.C1 = ca(0,0,0)
  20586. DebounceSpeed = DebounceSpeed + (0.5*Speed) for i=i2,i1,-is*Speed do
  20587. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-180-(-90*i)),mr(0*i)) H1w.C1 = ca(mr(-90-(60*i)),0,mr(0*i))
  20588. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(180-(270*i)),mr(0*i)) H2w.C1 = ca(mr(-90+(-30*i)),0,0)
  20589. LW.C1 = ca(mr(-60+(-40*i)),mr(-30+(-75*i)),mr(0*i))
  20590. LW.C0 = cf(0.13*i,0.5*i,-0.5+(0.5*i))
  20591. RW.C1 = ca(mr(-60+(-20*i)),mr(30+(45*i)),mr(0*i))
  20592. RW.C0 = cf(0.13*i,0.4*i,-0.5+(0.4*i))
  20593. wait()
  20594. end Right = false Left = false
  20595. Anim.Act = false
  20596. end
  20597.  
  20598. ----------------------------
  20599. ----------------------------
  20600. ----------------------------
  20601. ----------------------------
  20602.  
  20603. Lh = Torso["Left Hip"]
  20604. Rh = Torso["Right Hip"]
  20605.  
  20606. Functions = {}
  20607. Functions.BoulderTouch = function(hit2,bould)
  20608. print(bould.Name)
  20609. for i,v in pairs(workspace:GetChildren()) do
  20610. if v ~= Char and v ~= nil and v:findFirstChild("Torso") ~= nil and v:findFirstChild("Humanoid") ~= nil then
  20611. if math.abs((v.Torso.Position-bould.Position).magnitude) < 11 and ft(RightDebounce,v.Name) == nil then
  20612. Sound(Sounds.Smash,1,1)
  20613. Dmgz(v.Humanoid,Damage["BoulderForce"])
  20614. table.insert(RightDebounce,v.Name)
  20615. print(v.Name)
  20616. coroutine.resume(coroutine.create(function()wait(DebounceSpeed) local nf = ft(RightDebounce,v.Name) if nf ~= nil then table.remove(RightDebounce,nf) end end))
  20617. end
  20618. else
  20619. if v ~= bould and v:IsA("BasePart") and v.Anchored == false and math.abs((v.Position-bould.Position).magnitude) < 11 then v:BreakJoints() v.Velocity = cf(bould.Position,v.Position).lookVector*10 + Vector3.new(0,10,0) end
  20620. end
  20621. end -- for
  20622. end
  20623. Functions.Sparkle = function(bb,scal,si)
  20624. if si == nil then si = 1 end
  20625. local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
  20626. local np = p(Torm,"Block",0.1,0.1,0.1,false,true,0.1,0.2,BladeColor)
  20627. np.CFrame = cf(rand.x,rand.y,rand.z) *ca(math.random(-33,33)/10,math.random(-33,33)/10,math.random(-33,33)/10)
  20628. local dm = DiamondMesh:Clone() dm.Scale = Vector3.new(0,0,0) dm.Parent = np
  20629. coroutine.resume(coroutine.create(function()
  20630. for i=0,1*si,0.1*si do
  20631. dm.Scale = Vector3.new(1*i,1.25*i,1*i)
  20632. wait()
  20633. end
  20634. end))
  20635. coroutine.resume(coroutine.create(function()
  20636. wait(0.1)
  20637. for i=0,1,0.1 do
  20638. np.Transparency = i
  20639. wait()
  20640. end
  20641. np:Remove()
  20642. end))
  20643. end
  20644. Functions.BrickWarpDesign = function(bb,scal)
  20645. local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
  20646. local mag = (rand - bb.Position).magnitude
  20647. local np = p(Torm,"Block",0.1,0.1,mag-3,false,true,0.1,0.2,BladeColor)
  20648. np.CFrame = cf(bb.Position,rand)
  20649. np.CFrame = np.CFrame + np.CFrame.lookVector*((scal/5)+(mag/2))
  20650. coroutine.resume(coroutine.create(function()
  20651. for i=0.1,1,0.05 do
  20652. np.Transparency = i
  20653. wait()
  20654. end
  20655. np:Remove()
  20656. end))
  20657. end
  20658. Functions.RageRegen = function()
  20659. local lostcontrol = false
  20660. local hpos = Torso.Position.y + 10
  20661. Anim.Move = "RageRegening"
  20662. Anim.Act = true
  20663. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,1,0,BladeColor) wav.Anchored = true
  20664. local wavm = BlastMesh:Clone()
  20665. wavm.Parent = wav
  20666. local wavv = 0
  20667. wavm.Scale = Vector3.new(5,3.5,5)
  20668. wav.CFrame = cf((Torso.CFrame * CFrame.new(0,-2.5,0)).p) *ca(0,mr(wavv),0)
  20669. local bp = Instance.new("BodyPosition",Torso)
  20670. bp.maxForce = Vector3.new(0,math.huge,0)
  20671. Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
  20672. bp.position = Torso.Position + Vector3.new(0,10,0)
  20673. local bpos = bp.position
  20674. coroutine.resume(coroutine.create(function()
  20675. lh2,rh2 = FeetWeld(true,Lh,Rh)
  20676. if SwordType == "Single" then
  20677. for i=0,1,0.1*Speed do
  20678. LW.C1 = ca(mr(-80+(-30*i)),mr(40-(40*i)),0)
  20679. LW.C0 = cf(0.6-(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(120*i),0)
  20680. RW.C1 = ca(mr(-80+(-30*i)),mr(-40+(40*i)),0)
  20681. RW.C0 = cf(-0.6+(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(-120*i),0)
  20682. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20683. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20684. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20685. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20686. wait()
  20687. end
  20688. else
  20689. for i=0,1,0.1*Speed do
  20690. LW.C1 = ca(mr(-60+(-50*i)),mr(-40-(-40*i)),0)
  20691. LW.C0 = cf(-0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(120*i),0)
  20692. RW.C1 = ca(mr(-60+(-50*i)),mr(40+(-40*i)),0)
  20693. RW.C0 = cf(0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(-120*i),0)
  20694. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20695. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20696. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20697. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20698. wait()
  20699. end
  20700. end
  20701. local function movezx(i1,i2,is,bp)
  20702. if SwordType == "Single" then
  20703. for i=i1,i2,is*Speed do
  20704. LW.C1 = ca(mr(-120+(20*i)),0,0)
  20705. LW.C0 = cf(0,0.8,0.7) *ca(0,mr(120+(20*i)),0)
  20706. RW.C1 = ca(mr(-120+(20*i)),0,0)
  20707. RW.C0 = cf(0,0.8,0.7) *ca(0,mr(-120+(-20*i)),0)
  20708. lh2.C1 = ca(mr(30+(-15*i)),0,mr(15+(-8*i)))
  20709. rh2.C1 = ca(mr(30+(-15*i)),0,mr(-15+(8*i)))
  20710. lh2.C0 = cf(-0.7,-1.9,0.35)
  20711. rh2.C0 = cf(0.7,-1.9,0.35)
  20712. bp.position = Vector3.new(bpos.x,(hpos+10)+(3*i),bpos.z)
  20713. wait()
  20714. end
  20715. else
  20716. for i=i1,i2,is*Speed do
  20717. LW.C1 = ca(mr(-110),mr(0),0)
  20718. LW.C0 = cf(-0.1,0.8,0.7) *ca(0,mr(120+(20*i)),0)
  20719. RW.C1 = ca(mr(-110),mr(0),0)
  20720. RW.C0 = cf(0.1,0.8,0.7) *ca(0,mr(-120+(-20*i)),0)
  20721. lh2.C1 = ca(mr(30+(-15*i)),0,mr(15+(-8*i)))
  20722. rh2.C1 = ca(mr(30+(-15*i)),0,mr(-15+(8*i)))
  20723. lh2.C0 = cf(-0.7,-1.9,0.35)
  20724. rh2.C0 = cf(0.7,-1.9,0.35)
  20725. bp.position = Vector3.new(bpos.x,(hpos+10)+(3*i),bpos.z)
  20726. wait()
  20727. end
  20728. end
  20729. end
  20730. local moved = 2
  20731. repeat
  20732. if Rage >= MaxRage or Anim.key.z == false then break end
  20733. if moved == 2 then moved = 1 movezx(0,1,0.025,bp) else moved = 2 movezx(1,0,-0.025,bp) end
  20734. until Rage >= MaxRage or Anim.key.z == false or lostcontrol == true
  20735. if SwordType == "Single" then
  20736. for i=1,0,-0.1*Speed do
  20737. LW.C1 = ca(mr(-80+(-30*i)),mr(40-(40*i)),0)
  20738. LW.C0 = cf(0.6-(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(120*i),0)
  20739. RW.C1 = ca(mr(-80+(-30*i)),mr(-40+(40*i)),0)
  20740. RW.C0 = cf(-0.6+(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(-120*i),0)
  20741. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20742. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20743. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20744. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20745. wait()
  20746. end
  20747. else
  20748. for i=1,0,-0.1*Speed do
  20749. LW.C1 = ca(mr(-60+(-50*i)),mr(-40-(-40*i)),0)
  20750. LW.C0 = cf(-0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(120*i),0)
  20751. RW.C1 = ca(mr(-60+(-50*i)),mr(40+(-40*i)),0)
  20752. RW.C0 = cf(0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(-120*i),0)
  20753. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20754. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20755. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20756. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20757. wait()
  20758. end
  20759. end
  20760. Lh,Rh = FeetWeld(false,lh2,rh2)
  20761. wait(0.6)
  20762. Anim.Act = false
  20763. Anim.Move = "None"
  20764. end))
  20765. for i=1,0.3,-0.14*Speed do wav.Transparency = i wait() end
  20766. rpos = 0
  20767. Sound(Sounds.Cast,0.8,1)
  20768. repeat wait()
  20769. local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
  20770. if Hit == nil then lostcontrol = true break end
  20771. hpos = hitpos.y if math.random(1,6) == 4 then Functions.Sparkle(Torso,8) end
  20772. if math.random(1,3) == 3 then Functions.BrickWarpDesign(Torso,10) end wavv = wavv + 10 Rage = Rage - (RageCost["RageRegening"]*RageIncome)
  20773. wav.CFrame = cf(Torso.Position.x,hpos+1.4,Torso.Position.z) *ca(0,mr(wavv),0)
  20774. until Rage >= MaxRage or Anim.key.z == false
  20775. for i=0.3,01,0.14*Speed do wav.Transparency = i wait() end wav:Remove()
  20776. bp:Remove()
  20777. Humanoid.WalkSpeed = Humanoid.WalkSpeed + (RealSpeed-4)
  20778. end
  20779. Functions.Teleport = function(i1,i2,is,RaigCost)
  20780. Anim.Act = true
  20781. for i=i1,i2,is*Speed do
  20782. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  20783. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  20784. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  20785. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  20786. Torw.C1 = ca(0,mr(50*i),0)
  20787. wait()
  20788. end
  20789. local tele = false
  20790. local tele2 = false -- for mouse
  20791. local mouseact = mouse.Button1Up:connect(function() tele2 = true end)
  20792. coroutine.resume(coroutine.create(function() Sound(Sounds.Cast,1.2,1) wait(12) tele = true end))
  20793. local telepos = Torso.Position
  20794. local telehit = nil
  20795. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,0.3,0.1,BladeColor) wav.Anchored = true
  20796. local wavm = BlastMesh:Clone()
  20797. wavm.Parent = wav
  20798. local wavv = 0
  20799. wavm.Scale = Vector3.new(3.5,2,3.5)
  20800. repeat
  20801. local mpos = mouse.hit.p + Vector3.new(0,2,0)
  20802. telehit,telepos = rayCast(mpos,((mpos - Vector3.new(0,10000,0)) - mpos),999.999,Player.Character)
  20803. wavv = wavv + 8 Functions.Sparkle(La,3) Functions.BrickWarpDesign(La,4)
  20804. if telehit ~= nil then wav.Transparency = 0 wav.CFrame = cf(telepos.x,telepos.y+1,telepos.z) *ca(0,mr(wavv),0) else wav.Transparency = 1 end
  20805. wait() until tele == true or tele2 == true mouseact:disconnect()
  20806. if telehit == nil or math.abs((Torso.Position - telepos).magnitude) > Props.MaxTeleDistance then
  20807. Sound(Sounds.Punch,1,1) for i=0.3,1,0.14 do wavm.Scale = Vector3.new(3.5+(5*i),2,3.5+(5*i)) wav.Transparency = i wait() end wav:Remove()
  20808. wav:Remove()
  20809. else
  20810. MinusRage(RaigCost)
  20811. for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
  20812. ShockWave(Torso,7,BladeColor)
  20813. Torso.CFrame = wav.CFrame + Vector3.new(0,2.2,0) Sound(Sounds.EnergyBlast,1.2,0.6)
  20814. ShockWave(Torso,7,BladeColor)
  20815. for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
  20816. for i=0.3,1,0.14 do wavm.Scale = Vector3.new(3.5+(5*i),2,3.5+(5*i)) wav.Transparency = i wait() end wav:Remove()
  20817. end
  20818. for i=i2,i1,-is*Speed do
  20819. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  20820. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  20821. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  20822. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  20823. Torw.C1 = ca(0,mr(50*i),0)
  20824. wait()
  20825. end
  20826. Anim.Act = false
  20827. end
  20828.  
  20829. --------------------------------------------------------------------------------------------------------------
  20830. --------------------------------------------------------------------------------------------------------------
  20831. --------------------------------------------------------------------------------------------------------------
  20832. --------------------------------------------------------------------------------------------------------------
  20833. bin.Selected:connect(function(mm)
  20834. Mouse = mouse
  20835. mouse = mm
  20836. Torso["Left Hip"].Part0 = Tor
  20837. Torso["Right Hip"].Part0 = Tor
  20838. RS.Parent = nil
  20839. LS.Parent = nil
  20840. RW.Parent = Torso
  20841. RW.Part0 = Fra
  20842. RW.Part1 = Ra
  20843. LW.Parent = Torso
  20844. LW.Part0 = Fla
  20845. LW.Part1 = La
  20846. RW.C0 = CFrame.new(0,0,0) RW.C1 = CFrame.new(0,0,0)
  20847. LW.C0 = CFrame.new(0,0,0) LW.C1 = CFrame.new(0,0,0)
  20848. Anims.Equip(0,1,0.07*Speed)
  20849. Anim.Equipped = true
  20850. mouse.KeyDown:connect(function(key)
  20851. key:lower()
  20852. pcall(function() Anim.key[key:lower()] = true end)
  20853. keydown = true
  20854. if key == "z" and Anim.Move == "None" and not Anim.Act then
  20855. Functions.RageRegen()
  20856. end
  20857. if SwordType == "Single" then
  20858. if key == "e" and Anim.Move == "None" and not Anim.Act and RageCost["RotorBlade"] <= Rage then
  20859. Anim.Move = "RotorBlade"
  20860. Anims.RotorBlade(0,1,0.08*Speed,RageCost["RotorBlade"])
  20861. Anim.Move = "None"
  20862. elseif key == "q" and Anim.Move == "None" and not Anim.Act and RageCost["Boomerang"] <= Rage then
  20863. Anim.Move = "Boomerang"
  20864. Anims.Boomerang(0,1,0.08*Speed,RageCost["Boomerang"])
  20865. Anim.Move = "None"
  20866. elseif key == "f" and Anim.Move == "None" and not Anim.Act and RageCost["BoulderForce"] <= Rage then
  20867. Anim.Move = "BoulderForce"
  20868. Anims.BoulderForce(0,1,0.08*Speed,RageCost["BoulderForce"])
  20869. Anim.Move = "None"
  20870. elseif key == "r" and Anim.Move == "None" and not Anim.Act and RageCost["ForceWave"] <= Rage then
  20871. Anim.Move = "ForceWave"
  20872. Anims.ForceWave(0,1,0.08*Speed,RageCost["ForceWave"])
  20873. Anim.Move = "None"
  20874. elseif key == "t" and Anim.Move == "None" and not Anim.Act and RageCost["Teleport"] <= Rage then
  20875. Anim.Move = "Teleport"
  20876. Functions.Teleport(0,1,0.08*Speed,RageCost["Teleport"])
  20877. Anim.Move = "None"
  20878. end
  20879. elseif SwordType == "Dual" then
  20880. if key == "e" and Anim.Move == "None" and not Anim.Act and RageCost["DualSpin"] <= Rage then
  20881. Anim.Move = "DualSpin"
  20882. Anims.DualSpin(0,1,0.08*Speed,RageCost["DualSpin"])
  20883. Anim.Move = "None"
  20884. end
  20885. end
  20886. end)
  20887. mouse.KeyUp:connect(function(key)
  20888. pcall(function() Anim.key[key:lower()] = false end)
  20889. keydown = false
  20890. end)
  20891.  
  20892. mouse.Button1Down:connect(function() Anim.Button = true
  20893. if not Anim.Click and Anim.Move == "None" and not Anim.Act then
  20894. Anim.Click = true
  20895. if Anim.CanBerserk ~= 0 then Anim.CanBerserk = Anim.CanBerserk + 1 end
  20896. if Anim.CanBerserk == 0 and RageCost["Berserk"] <= Rage then
  20897. Rage = Rage - RageCost["Berserk"]
  20898. Anim.ComboBreak = true
  20899. Speed = Speed + 0.5
  20900. Anim.CanBerserk = Anim.CanBerserk + 1
  20901. --Anim.Move = "LeftPunch"
  20902. --Anims.LeftPunch(0,1,0.1*Speed,0) Anim.Move = "None"
  20903. elseif Anim.CanBerserk == 2 then
  20904. Anim.CanBerserk = 0
  20905. end
  20906. coroutine.resume(coroutine.create(function() local oldcomb = Anim.CanBerserk wait(0.5) if Anim.ComboBreak == true and Anim.CanBerserk == oldcomb then Anim.ComboBreak = false Speed = Speed -0.5 Anim.CanBerserk = 0 end end))
  20907. wait(0.1)
  20908. Anim.Click = false
  20909. end
  20910. end)
  20911. mouse.Button1Up:connect(function() Anim.Button = false
  20912. end)
  20913. end)
  20914. bin.Deselected:connect(function(mouse)
  20915. Anim.Equipped = false
  20916. if SwordType == "Dual" then Anims.ChangeToSingle(0,1,0.25*Speed) SwordType = "Single" end
  20917. Anims.UnEquip(1,0,-0.08*Speed)
  20918. RW.Parent = nil
  20919. LW.Parent = nil
  20920. RS.Parent = Torso
  20921. RS.Part0 = Torso
  20922. RS.Part1 = Ra
  20923. LS.Parent = Torso
  20924. LS.Part0 = Torso
  20925. LS.Part1 = La
  20926. if Rh.Parent == nil then
  20927. FeetWeld(false,Lh,Rh)
  20928. end
  20929. Torso["Left Hip"].Part0 = Torso
  20930. Torso["Right Hip"].Part0 = Torso
  20931. end)
  20932. Hum.WalkSpeed = RealSpeed
  20933. Rage = 100000
  20934. wait(5)
  20935.         end)
  20936. --
  20937. local button = Instance.new("TextButton")
  20938.         button.Parent = ws
  20939.         button.BackgroundColor3 = blak
  20940.         button.BorderColor3 = rede
  20941.         button.BorderSizePixel = 3
  20942.         button.Name = "Master Hand"
  20943.         button.Position = UDim2.new(0,0,0,132)
  20944.         button.Size = UDim2.new(0.499,0,0,30)
  20945.         button.ZIndex = 2
  20946.         button.Font = tef
  20947.         button.FontSize = "Size14"
  20948.         button.Text = "Master Hand"
  20949.         button.TextColor3 = whit
  20950.         button.TextWrapped = true
  20951.                 button.MouseButton1Down:connect(function()
  20952.                 --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go down to line 23 and put your name where it says "YOUR NAME HERE"
  20953.  
  20954.  
  20955. wt  = 0.05 s = script it = Instance.new v3 = Vector3.new c3 = Color3.new ud =  UDim2.new cf = CFrame.new ca = CFrame.Angles pi = math.pi rd = math.rad
  20956. bc =  BrickColor.new ab = math.abs de = math.deg ts = tostring tn = tonumber ti =  table.insert tr = table.remove
  20957. cr = coroutine.resume cc =  coroutine.create
  20958. asset = "http://www.roblox.com/asset/?id="
  20959. sr =  string.reverse sl = string.lower su = string.upper
  20960. Serv = {} Serv.p =  game:GetService(sr("sreyalP")) Serv.l = game:GetService(sr("gnithgiL"))  
  20961. Serv.is = game:GetService(sr("ecivreStresnI")) if  game:findFirstChild(sr("revreSkrowteN")) then Serv.ns =  game:GetService(sr("revreSkrowteN")) else NetworkServer = nil end
  20962. Serv.sg =  game:GetService(sr("iuGretratS")) Serv.sp = game:GetService(sr("kcaPretratS"))  Serv.d = game:GetService(sr("sirbeD"))
  20963. Decs = {}
  20964. Decs.Crack = "49173398"  Decs.Cloud = "1095708" Decs.Spike = "1033714" Decs.Rock = "1290033" Decs.Crown =  "1323306"
  20965. function ft(tablez,item) if not tablez or not item then return nil  end for i=1,#tablez do if tablez == item then return i end end return nil  end
  20966. function re(par,obj) if type(par) ~= "userdata" or type(obj) ~= "string"  then return nil end if par:findFirstChild(obj) then par[obj]:Remove() end end  
  20967. function pa(pa,sh,x,y,z,c,a,tr,re,bc2) local fp = nil if sh ~= "Wedge" and  sh ~= "CornerWedge" then fp = it("Part",pa) fp.Shape = sh fp.formFactor =  "Custom" elseif sh == "Wedge" then fp = it("WedgePart",pa) fp.formFactor =  "Custom"
  20968. elseif sh == "CornerWedge" then fp = it("CornerWedgePart",pa) end  fp.Size = v3(x,y,z) fp.CanCollide = c fp.Anchored = false fp.BrickColor =  bc(bc2) fp.Transparency = tr fp.Reflectance = re fp.BottomSurface =  0
  20969. fp.TopSurface = 0 fp.CFrame = t.CFrame + Vector3.new(0,50,0) fp.Velocity =  Vector3.new(0,10,0) fp:BreakJoints() return fp end
  20970. function clearit(tab) for  xx=1,#tab do tab[xx]:Remove() end end
  20971. function weld(pa,p0,p1,x,y,z,a,b,c)  local fw = it("Weld",pa) fw.Part0 = p0 fw.Part1 = p1 fw.C0 = cf(x,y,z)  *ca(a,b,c) return fw end
  20972. function spm(ty,pa,ss) local sp =  it("SpecialMesh",pa) sp.MeshType = ty sp.Scale = Vector3.new(ss,ss,ss) end  function mbm(pa,sx,sy,sz) local bm = Instance.new("BlockMesh",pa) bm.Scale =  Vector3.new(sx,sy,sz) end
  20973. function ra(mn,mx,dc) local tms = 1 if dc == nil  then dc = 0 end if type(dc) == "number" and dc > 5 then dc = 5 end for  zx=1,dc do tms = tms*10 end return math.random(mn*tms,mx*tms)/tms end
  20974. p  = Serv.p.LocalPlayer
  20975. bp = p.Backpack
  20976. pg = p.PlayerGui
  20977. c =  p.Character
  20978. he = c.Head
  20979. t = c.Torso
  20980. hu = c.Humanoid
  20981. mou =  nil
  20982. re(c,"Hand")
  20983. s = 2
  20984.  
  20985. --tool var
  20986. Equip = false
  20987. HTrans =  0
  20988. HRef = 0
  20989. HCol = "a"
  20990. LaserCol = "Really black"
  20991. LaserCol2 = "Really  red"
  20992. LaserCol3 = "Really black"
  20993. Posing = "Follow"
  20994. Facing =  "Owner"
  20995. Anim = {}
  20996. Anim.a = "None"
  20997. Anim.b = "None"
  20998. Anim.Welding =  0
  20999. local fingwide = 1.5*s
  21000. local finghei = 2.8
  21001. local tiphei =  2.55
  21002. handoffset = v3(5,18,-8)*s
  21003. bgx,bgy,bgz = -90,0,0
  21004. w = {}
  21005. Button  = false
  21006. --
  21007. BlastMesh = it("FileMesh")
  21008. BlastMesh.MeshId =  "http://www.roblox.com/asset/?id=20329976"
  21009. RingMesh =  it("FileMesh")
  21010. RingMesh.MeshId =  "http://www.roblox.com/asset/?id=3270017"
  21011. RockMesh =  it("FileMesh")
  21012. DiamondMesh = it("FileMesh")
  21013. DiamondMesh.MeshId =  "http://www.roblox.com/Asset/?id=9756362"
  21014.  
  21015. m = Instance.new("Model",c)  m.Name = "Hand"
  21016. Palm =  pa(m,"Block",6*s,7*s,fingwide*2,true,false,HTrans,HRef,HCol)  mbm(Palm,1,1,0.6)
  21017. local x,y,z =  Palm.Size.x,Palm.Size.y,Palm.Size.z
  21018. bPoint1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21019. Point1 =  weld(bPoint1,Palm,bPoint1,-x/2+(fingwide/2),y/2,0,0,0,0)
  21020. pPoint1 =  pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPoint1,0.9,1,0.9)
  21021. wPoint1 =  weld(pPoint1,bPoint1,pPoint1,0,pPoint1.Size.y/2,0,0,0,0)
  21022. bPoint2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21023. Point2 =  weld(bPoint2,pPoint1,bPoint2,0,pPoint1.Size.y/2,0,0,0,0)
  21024. pPoint2 =  pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPoint2,0.9,1,0.9)
  21025. wPoint2 =  weld(pPoint2,bPoint2,pPoint2,0,pPoint1.Size.y/2,0,0,0,0)
  21026. bPoint3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21027. Point3 =  weld(bPoint3,pPoint2,bPoint3,0,pPoint2.Size.y/2,0,0,0,0)
  21028. pPoint3 =  pa(m,"Block",fingwide,tiphei*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPoint3,0.9,1,0.9)
  21029. wPoint3 =  weld(pPoint3,bPoint3,pPoint3,0,pPoint3.Size.y/2,0,0,0,0)
  21030. bMid1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21031. Mid1 =  weld(bMid1,Palm,bMid1,-x/2+((fingwide/2)+((fingwide)*1)),y/2,0,0,0,0)
  21032. pMid1 =  pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pMid1,0.9,1,0.9)
  21033. wMid1 =  weld(pMid1,bMid1,pMid1,0,pMid1.Size.y/2,0,0,0,0)
  21034. bMid2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21035. Mid2 =  weld(bMid2,pMid1,bMid2,0,pMid1.Size.y/2,0,0,0,0)
  21036. pMid2 =  pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pMid2,0.9,1,0.9)
  21037. wMid2 =  weld(pMid2,bMid2,pMid2,0,pMid1.Size.y/2,0,0,0,0)
  21038. bMid3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21039. Mid3 =  weld(bMid3,pMid2,bMid3,0,pMid2.Size.y/2,0,0,0,0)
  21040. pMid3 =  pa(m,"Block",fingwide,(tiphei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pMid3,0.9,1,0.9)
  21041. wMid3 =  weld(pMid3,bMid3,pMid3,0,pMid3.Size.y/2,0,0,0,0)
  21042. bRing1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21043. Ring1 =  weld(bRing1,Palm,bRing1,-x/2+((fingwide/2)+((fingwide)*2)),y/2,0,0,0,0)
  21044. pRing1  = pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pRing1,0.9,1,0.9)
  21045. wRing1 =  weld(pRing1,bRing1,pRing1,0,pRing1.Size.y/2,0,0,0,0)
  21046. bRing2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21047. Ring2 =  weld(bRing2,pRing1,bRing2,0,pRing1.Size.y/2,0,0,0,0)
  21048. pRing2 =  pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pRing2,0.9,1,0.9)
  21049. wRing2 =  weld(pRing2,bRing2,pRing2,0,pRing1.Size.y/2,0,0,0,0)
  21050. bRing3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21051. Ring3 =  weld(bRing3,pRing2,bRing3,0,pRing2.Size.y/2,0,0,0,0)
  21052. pRing3 =  pa(m,"Block",fingwide,(tiphei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pRing3,0.9,1,0.9)
  21053. wRing3 =  weld(pRing3,bRing3,pRing3,0,pRing3.Size.y/2,0,0,0,0)
  21054. bPinkie1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21055. Pinkie1 =  weld(bPinkie1,Palm,bPinkie1,-x/2+((fingwide/2)+((fingwide)*3)),y/2,0,0,0,0)
  21056. pPinkie1  = pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPinkie1,0.9,1,0.9)
  21057. wPinkie1 =  weld(pPinkie1,bPinkie1,pPinkie1,0,pPinkie1.Size.y/2,0,0,0,0)
  21058. bPinkie2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21059. Pinkie2 =  weld(bPinkie2,pPinkie1,bPinkie2,0,pPinkie1.Size.y/2,0,0,0,0)
  21060. pPinkie2 =  pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPinkie2,0.9,1,0.9)
  21061. wPinkie2 =  weld(pPinkie2,bPinkie2,pPinkie2,0,pPinkie1.Size.y/2,0,0,0,0)
  21062. bPinkie3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21063. Pinkie3 =  weld(bPinkie3,pPinkie2,bPinkie3,0,pPinkie2.Size.y/2,0,0,0,0)
  21064. pPinkie3 =  pa(m,"Block",fingwide,(tiphei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPinkie3,0.9,1,0.9)
  21065. wPinkie3 =  weld(pPinkie3,bPinkie3,pPinkie3,0,pPinkie3.Size.y/2,0,0,0,0)
  21066. bThumb1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21067. Thumb1 =  weld(bThumb1,Palm,bThumb1,-x/2+(fingwide/7),-y*0.1,-fingwide*0.25,0,0,0)
  21068. pThumb1  =  pa(m,"Block",fingwide*1.4,(finghei*1)*s,fingwide*1.4,true,false,HTrans,HRef,HCol)  mbm(pThumb1,0.9,1,0.9)
  21069. wThumb1 =  weld(pThumb1,bThumb1,pThumb1,0,pThumb1.Size.y/2,0,0,0,0)
  21070. bThumb2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21071. Thumb2 =  weld(bThumb2,pThumb1,bThumb2,0,pThumb1.Size.y/2,0,0,0,0)
  21072. pThumb2 =  pa(m,"Block",fingwide*1.3,(finghei*1)*s,fingwide*1.3,true,false,HTrans,HRef,HCol)  mbm(pThumb2,0.9,1,0.9)
  21073. wThumb2 =  weld(pThumb2,bThumb2,pThumb2,0,pThumb1.Size.y/2,0,0,0,0)
  21074. bThumb3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21075. Thumb3 =  weld(bThumb3,pThumb2,bThumb3,0,pThumb2.Size.y/2,0,0,0,0)
  21076. pThumb3 =  pa(m,"Block",fingwide*1.25,(tiphei*1)*s,fingwide*1.25,true,false,HTrans,HRef,HCol)  mbm(pThumb3,0.9,1,0.9)
  21077. wThumb3 =  weld(pThumb3,bThumb3,pThumb3,0,pThumb3.Size.y/2,0,0,0,0)
  21078.  
  21079. w["a1"] =  Pinkie1
  21080. w["a2"] = Pinkie2
  21081. w["a3"] = Pinkie3
  21082. w["b1"] = Ring1
  21083. w["b2"]  = Ring2
  21084. w["b3"] = Ring3
  21085. w["c1"] = Mid1
  21086. w["c2"] = Mid2
  21087. w["c3"] =  Mid3
  21088. w["d1"] = Point1
  21089. w["d2"] = Point2
  21090. w["d3"] = Point3
  21091. w["e1"] =  Thumb1
  21092. w["e2"] = Thumb2
  21093. w["e3"] = Thumb3
  21094. w.e1.C1 =  ca(0,rd(35),rd(-20))
  21095. w.e2.C1 = ca(rd(20),0,0)
  21096. w.e3.C1 =  ca(rd(20),0,0)
  21097. w.d1.C1 = ca(0,0,rd(-3))
  21098. w.c1.C1 =  ca(0,0,rd(-1))
  21099. w.b1.C1 = ca(0,0,rd(1))
  21100. w.a1.C1 = ca(0,0,rd(3))
  21101. function  c1(wexx,smmx,xx,yy,zz)
  21102. coroutine.resume(coroutine.create(function()
  21103. local  xx2,yy2,zz2 = wexx.C1:toEulerAnglesXYZ()
  21104. local aa,bb,cc =  wexx.C0.x,wexx.C0.y,wexx.C0.z
  21105. local twa = smmx/wt
  21106. Anim.Welding =  Anim.Welding + 1
  21107. for i=0,twa,1 do wexx.C0 = cf(aa,bb,cc)
  21108. wexx.C1 =  ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))
  21109. wait()
  21110. end  
  21111. Anim.Welding = Anim.Welding - 1
  21112. end))
  21113. end
  21114. function  CloseFing(fingz,spee) if spee == nil then spee = 1 end c1(w[fingz..  "1"],spee,80,0,0) c1(w[fingz.. "2"],spee,110,0,0) c1(w[fingz.. "3"],spee,30,0,0)  end
  21115. function OpenFing(fingz,spee) if spee == nil then spee = 1 end  c1(w[fingz.. "1"],spee,2,0,0) c1(w[fingz.. "2"],spee,2,0,0) c1(w[fingz..  "3"],spee,2,0,0) end
  21116. function HandSign(form,spee) form = form:lower() if  spee == nil then spee = 1 end
  21117. if form == "f" then
  21118. CloseFing("d",spee)  CloseFing("a",spee) CloseFing("b",spee)
  21119. c1(w["c1"],spee,0,0,0)  c1(w["c2"],spee,0,0,0) c1(w["c3"],spee,0,0,0)
  21120. c1(w["e1"],spee,70,40,-90)  c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  21121. elseif form == "fist"  then
  21122. CloseFing("d",spee) CloseFing("a",spee) CloseFing("b",spee)  CloseFing("c",spee)
  21123. c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0)  c1(w["e3"],spee,50,0,0)
  21124. elseif form == "pointer" then
  21125. CloseFing("a",spee)  CloseFing("b",spee) CloseFing("c",spee)
  21126. c1(w["d1"],spee,5,0,0)  c1(w["d2"],spee,5,0,0) c1(w["d3"],spee,5,0,0)
  21127. c1(w["e1"],spee,70,40,-90)  c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  21128. elseif form == "v"  then
  21129. CloseFing("a",spee) CloseFing("b",spee)
  21130. c1(w["c1"],spee,1,0,15)  c1(w["c2"],spee,1,0,0) c1(w["c3"],spee,1,0,0)
  21131. c1(w["d1"],spee,1,0,-15)  c1(w["d2"],spee,1,0,0) c1(w["d3"],spee,1,0,0)
  21132. c1(w["e1"],spee,70,40,-90)  c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  21133. elseif form == "free" or  form == "five" then
  21134. OpenFing("a",spee) OpenFing("b",spee) OpenFing("c",spee)  OpenFing("d",spee)
  21135. c1(w["e1"],spee,0,35,-20) c1(w["e2"],spee,20,0,0)  c1(w["e3"],spee,20,0,0)
  21136. elseif form == "ride" then  
  21137. c1(w["a1"],spee,60,0,0) c1(w["a2"],spee,-30,0,0) c1(w["a3"],spee,-30,0,0)  
  21138. c1(w["b1"],spee,30,0,0) c1(w["b2"],spee,65,0,0) c1(w["b3"],spee,60,0,0)  
  21139. c1(w["c1"],spee,30,0,0) c1(w["c2"],spee,65,0,0) c1(w["c3"],spee,60,0,0)  
  21140. c1(w["d1"],spee,30,0,0) c1(w["d2"],spee,65,0,0) c1(w["d3"],spee,60,0,0)  
  21141. c1(w["e1"],spee,-70,185,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0)  
  21142. elseif form == "gun" then
  21143. CloseFing("a",spee)  CloseFing("b",spee)
  21144. c1(w["c1"],spee,0,0,1) c1(w["c2"],spee,0,0,0)  c1(w["c3"],spee,0,0,0)
  21145. c1(w["d1"],spee,0,0,-1) c1(w["d2"],spee,0,0,0)  c1(w["d3"],spee,0,0,0)
  21146. c1(w["e1"],spee,-60,90,0) c1(w["e2"],spee,20,0,0)  c1(w["e3"],spee,-20,0,0)
  21147. elseif form == "wide"  then
  21148. c1(w["a1"],spee,-3,0,45) c1(w["a2"],spee,-3,0,0) c1(w["a3"],spee,-3,0,0)  
  21149. c1(w["b1"],spee,-3,0,15) c1(w["b2"],spee,-3,0,0) c1(w["b3"],spee,-3,0,0)  
  21150. c1(w["c1"],spee,-3,0,-15) c1(w["c2"],spee,-3,0,0) c1(w["c3"],spee,-3,0,0)  
  21151. c1(w["d1"],spee,-3,0,-45) c1(w["d2"],spee,-3,0,0) c1(w["d3"],spee,-3,0,0)  
  21152. c1(w["e1"],spee,-70,90,0) c1(w["e2"],spee,10,0,0) c1(w["e3"],spee,-10,0,0)  
  21153. elseif form == "wide2" then
  21154. c1(w["a1"],spee,-18,0,45)  c1(w["a2"],spee,36,0,0) c1(w["a3"],spee,30,0,0)
  21155. c1(w["b1"],spee,-18,0,15)  c1(w["b2"],spee,36,0,0) c1(w["b3"],spee,30,0,0)
  21156. c1(w["c1"],spee,-18,0,-15)  c1(w["c2"],spee,36,0,0) c1(w["c3"],spee,30,0,0)
  21157. c1(w["d1"],spee,-18,0,-45)  c1(w["d2"],spee,36,0,0) c1(w["d3"],spee,30,0,0)
  21158. c1(w["e1"],spee,-50,90,-10)  c1(w["e2"],spee,5,0,-30) c1(w["e3"],spee,-10,0,-40)
  21159. elseif form == "grab2"  then
  21160. c1(w["a1"],spee,-70,-65,0) c1(w["a2"],spee,40,0,0)  c1(w["a3"],spee,20,0,0)
  21161. c1(w["b1"],spee,-70,-20,0) c1(w["b2"],spee,40,0,0)  c1(w["b3"],spee,20,0,0)
  21162. c1(w["c1"],spee,-70,20,-0) c1(w["c2"],spee,40,0,0)  c1(w["c3"],spee,20,0,0)
  21163. c1(w["d1"],spee,-70,65,-0) c1(w["d2"],spee,40,0,0)  c1(w["d3"],spee,20,0,0)
  21164. c1(w["e1"],spee,-70,150,0) c1(w["e2"],spee,30,0,0)  c1(w["e3"],spee,30,0,0)
  21165. elseif form == "grab3"  then
  21166. c1(w["a1"],spee,-30,-40,30) c1(w["a2"],spee,50,0,0)  c1(w["a3"],spee,35,0,0)
  21167. c1(w["b1"],spee,-30,-15,12) c1(w["b2"],spee,50,0,0)  c1(w["b3"],spee,35,0,0)
  21168. c1(w["c1"],spee,-30,15,-12) c1(w["c2"],spee,50,0,0)  c1(w["c3"],spee,35,0,0)
  21169. c1(w["d1"],spee,-30,40,-30) c1(w["d2"],spee,50,0,0)  c1(w["d3"],spee,35,0,0)
  21170. c1(w["e1"],spee,-55,205,0) c1(w["e2"],spee,30,0,0)  c1(w["e3"],spee,30,0,0)
  21171. end
  21172. end
  21173. function  ColFings(iscol)
  21174. pPinkie1.CanCollide = iscol
  21175. pPinkie2.CanCollide =  iscol
  21176. pPinkie3.CanCollide = iscol
  21177. pRing1.CanCollide =  iscol
  21178. pRing2.CanCollide = iscol
  21179. pRing3.CanCollide =  iscol
  21180. pMid1.CanCollide = iscol
  21181. pMid2.CanCollide =  iscol
  21182. pMid3.CanCollide = iscol
  21183. pPoint1.CanCollide =  iscol
  21184. pPoint2.CanCollide = iscol
  21185. pPoint3.CanCollide =  iscol
  21186. pThumb1.CanCollide = iscol
  21187. pThumb2.CanCollide =  iscol
  21188. pThumb3.CanCollide = iscol
  21189. end
  21190. function ray(Pos, Dir)
  21191. return  Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *999), c)
  21192. end
  21193. function  Earthsplosion(pos,siz,dmg,rndmg,forc,eos) local colz22 = "Really red" if eos ==  nil or eos == "earth" then eos = "earth" else colz22 = "Really black" eos =  "sand" end
  21194. coroutine.resume(coroutine.create(function()
  21195. if eos ==  "earth" then local cr =  pa(m,"Block",((14*siz)/10)*s,0,((14*siz)/10)*s,false,false,1,0,"") cr.Anchored =  true cr.CFrame = pos *ca(rd(0),rd(ra(-360,360)),rd(0)) cr.CFrame = cr.CFrame +  v3(ra(-siz*10,siz*10)/22,0,ra(-siz*10,siz*10)/22)
  21196. local de = it("Decal",cr)  de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,25)  end
  21197. for i=1,4 do
  21198. coroutine.resume(coroutine.create(function()
  21199. local sw  = pa(m,"Block",(siz/3)*s,(siz*1.3)*s,(siz/3)*s,true,true,0,0,colz22) sw.Anchored  = true sw.CFrame = pos *cf(ra(-3*s,3*s),0,ra(-3*s,3*s))  *ca(rd(ra(-27,27)),rd(ra(-360,360)),rd(ra(-27,27))) local swm =  it("SpecialMesh",sw) if eos == "earth" then swm.MeshType =  "FileMesh"
  21200. swm.MeshId = asset .. Decs.Spike else swm.MeshType = "Sphere" end  if eos == "earth" then swm.Scale =  v3(sw.Size.x/1.3,sw.Size.y*1.2,sw.Size.z/1.3)
  21201. else swm.Scale =  v3(sw.Size.x/10,sw.Size.y/37,sw.Size.z/10) end sw.CFrame = sw.CFrame +  v3(ra(-0.3*siz*s,0.3*siz*s,7),0,ra(-0.3*siz*s,0.3*siz*s)) sw.CFrame = sw.CFrame  * cf(0,-sw.Size.y/1.4,0)
  21202. Dustplosion(cf(pos.p+v3(0,2*s,0)),18*s,{"Really  red","Really black","Really red"},1)
  21203. if eos == "earth" then
  21204. for x=1,8  do
  21205. sw.CFrame = sw.CFrame *cf(0,sw.Size.y/8,0) wait() end wait(ra(1,5))
  21206. for  x=1,20 do
  21207. sw.CFrame = sw.CFrame *cf(0,-sw.Size.y/20,0) wait()
  21208. end  sw:Remove()
  21209. else
  21210. for x=1,25 do
  21211. sw.CFrame = sw.CFrame  *cf(0,sw.Size.y/25,0) sw.Transparency = x/25 - 0.1 swm.Scale = swm.Scale +  v3(0.025,0.025,0.025) wait() end
  21212. end sw:Remove()
  21213. end)) end  
  21214. wait(0.3)
  21215. DmgHumanoidsNear(pos.p,dmg,rndmg,5.5*s*(siz/4),forc)
  21216. end))
  21217. end
  21218.  
  21219. function  Dustplosion(onb,scale,col,cls) coroutine.resume(coroutine.create(function()  
  21220. for x=1,cls do coroutine.resume(coroutine.create(function()
  21221. local sw =  pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col[ra(1,#col)]) sw.Anchored = true  sw.CFrame = onb *ca(rd(ra(-35,35)),rd(ra(-360,360)),rd(ra(-35,35))) local swm =  it("SpecialMesh",sw) swm.MeshType = "FileMesh"
  21222. swm.MeshId = asset ..  Decs.Cloud sw.CFrame = sw.CFrame +  v3(ra(-scale,scale)/8,ra(-scale,scale)/8,ra(-scale,scale)/8)
  21223. for  i=1,scale,0.25 do
  21224. swm.Scale = v3(i*1.5,i*1,i*1.5) sw.Transparency =  ((i/scale)/2) + 0.45
  21225. wait()
  21226. end
  21227. sw:Remove()
  21228. end)) end
  21229. end)) end  
  21230. function ShockWave(onb,scale,col)  coroutine.resume(coroutine.create(function() local sw =  pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col) sw.Anchored = true sw.CFrame = onb  *ca(rd(90),0,0) local swm = it("SpecialMesh",sw) swm.MeshType = "FileMesh"  swm.MeshId = RingMesh.MeshId
  21231. for i=1,scale,0.75 do swm.Scale =  v3(i*1.5,i*1.5,i*1.5) sw.Transparency = (i/scale) + 0 wait() end sw:Remove()  end)) end
  21232. function BlastWave(onb,scale,ymes,col)  coroutine.resume(coroutine.create(function()
  21233. local sw =  pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col) sw.Anchored = true sw.CFrame = onb  *ca(rd(0),0,0) local swm = it("SpecialMesh",sw) swm.MeshType =  "FileMesh"
  21234. swm.MeshId = BlastMesh.MeshId
  21235. for i=1,scale,scale/11 do  
  21236. swm.Scale = v3(i*1.25,i*ymes,i*1.25) sw.CFrame = sw.CFrame  *ca(0,rd(720*(i/scale)),0) sw.Transparency = (i/scale) +  0
  21237. wait()
  21238. end
  21239. sw:Remove()
  21240. end))
  21241. end
  21242. function  Explode(onb,scale,col) local Torm = m  coroutine.resume(coroutine.create(function() local e1 = Instance.new("Part")  e1.Anchored = true e1.formFactor = "Custom" e1.CanCollide = false e1.Size =  Vector3.new(1,1,1) e1.BrickColor = BrickColor.new(col)
  21243. e1.Transparency = 0.6  e1.TopSurface = 0 e1.BottomSurface = 0 e1.Parent = Torm e1.CFrame = onb local  e1m = Instance.new("SpecialMesh")
  21244. e1m.MeshType = "Sphere" e1m.Parent = e1  local r1 = Instance.new("Part") r1.Anchored = true r1.formFactor = "Custom"  r1.CanCollide = false r1.Size = Vector3.new(1,1,1) r1.BrickColor =  BrickColor.new(col) r1.Transparency = 0.6 r1.TopSurface = 0 r1.BottomSurface = 0  r1.Parent = Torm r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(180),0,0) local  r1m = Instance.new("SpecialMesh") r1m.MeshType = "FileMesh"
  21245. r1m.Scale =  Vector3.new(3,3,3) r1m.Parent = r1 r1m.MeshId = RingMesh.MeshId local r2 =  Instance.new("Part") r2.Anchored = true r2.formFactor = "Custom" r2.CanCollide =  false r2.Size = Vector3.new(1,1,1) r2.BrickColor = BrickColor.new(col)  r2.Transparency = 0.6 r2.TopSurface = 0 r2.BottomSurface = 0 r2.Parent = Torm  r2.CFrame = e1.CFrame *CFrame.Angles(0,math.rad(180),0) local r2m =  Instance.new("SpecialMesh") r2m.MeshType = "FileMesh"
  21246. r2m.Parent = r2  r2m.Scale = Vector3.new(3,3,3) r2m.MeshId = RingMesh.MeshId local bla =  Instance.new("Part") bla.Anchored = true
  21247. bla.formFactor = "Custom"  bla.CanCollide = false bla.Size = Vector3.new(1,1,1) bla.BrickColor =  BrickColor.new(col) bla.Transparency = 0.6 bla.TopSurface = 0 bla.BottomSurface  = 0 bla.Parent = Torm bla.CFrame = onb local blam = Instance.new("SpecialMesh")  
  21248. blam.MeshType = "FileMesh" blam.Parent = bla blam.Scale = Vector3.new(5,5,5)  blam.MeshId = BlastMesh.MeshId for i=1,30 do local pluscal = scale/38 e1m.Scale  = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  21249. r1m.Scale = r1m.Scale +  Vector3.new(pluscal,pluscal,pluscal) r2m.Scale = r1m.Scale +  Vector3.new(pluscal,pluscal,pluscal)
  21250. blam.Scale = blam.Scale +  Vector3.new(pluscal,pluscal/2,pluscal) bla.CFrame = bla.CFrame *  CFrame.Angles(0,math.rad(12),0) r1.CFrame = r1.CFrame *  CFrame.Angles(math.rad(6),0,0) r2.CFrame = r2.CFrame *  CFrame.Angles(0,math.rad(6),0) wait() end for i=1,30 do local pluscal = scale/38  e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r1m.Scale =  r1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r2m.Scale = r1m.Scale +  Vector3.new(pluscal,pluscal,pluscal)
  21251. blam.Scale = blam.Scale +  Vector3.new(pluscal/3,pluscal/3,pluscal/3) bla.CFrame = bla.CFrame *  CFrame.Angles(0,math.rad(12),0) r1.CFrame = r1.CFrame *  CFrame.Angles(math.rad(6),0,0) r2.CFrame = r2.CFrame *  CFrame.Angles(0,math.rad(6),0) bla.Transparency = bla.Transparency + 0.1  e1.Transparency = e1.Transparency + 0.1 r1.Transparency = r1.Transparency + 0.1  r2.Transparency = r2.Transparency + 0.1 wait() end e1:Remove() r1:Remove()  r2:Remove() end)) end
  21252.  
  21253. function  Hurtsplosion(pos,dmg,rndmg,siz,forc)
  21254. coroutine.resume(coroutine.create(function()  local boomcol = {"Really red","Really black","Really red"}
  21255. for i=1,3 do  
  21256. coroutine.resume(coroutine.create(function()
  21257. local plos =  pa(m,"Block",1*s*siz,1.5*s*siz,0.7*s*siz,false,false,0.3,0,boomcol)  spm("Sphere",plos,1) plos.Anchored = true
  21258. plos.CFrame = cf(pos + v3(0,0,0)) *  ca(rd(ra(-360,360)),rd(ra(-360,360)),rd(ra(-360,360)))
  21259. plos.Mesh.Scale =  v3(0.1,0.1,0.1)
  21260. for i=0.3,1,0.03 do local plc =  plos.CFrame
  21261. plos.Mesh.Scale = v3(i*6,i*6,i*6) plos.Transparency = i  plos.CFrame = plc *  ca(rd(3),rd(3),0)
  21262. wait()
  21263. end
  21264. plos:Remove()
  21265. end))
  21266. end  
  21267. end))
  21268. wait(0.1)
  21269. DmgHumanoidsNear(pos,dmg,rndmg,5.5*s*siz,forc)
  21270. end
  21271.  
  21272. function  DmgHumanoidsNear(pos,dmg,rndmg,mag,forc)
  21273. local function kidive(ob)
  21274. for  i,v in pairs(ob:children()) do
  21275. if v:IsA("BasePart") and  v.Parent.Parent:findFirstChild("Humanoid") == nil and  v.Parent:findFirstChild("Humanoid") == nil and (v.Position - pos).magnitude <  mag*1.3 and v.Anchored == false and v:GetMass() < 150 then  
  21276. v:BreakJoints() v.Velocity = cf(pos,v.Position).lookVector*forc
  21277. end
  21278. if  v:IsA("Humanoid") and v ~= hu and v.Parent:findFirstChild("Torso") then
  21279. if  (pos - v.Parent.Torso.Position).magnitude < mag then local tdmg =  dmg*ra(1,rndmg)
  21280. if v.Parent:findFirstChild("Hh") == nil then local hh=  Instance.new("NumberValue",v.Parent) hh.Name = "Hh"
  21281. hh.Value = v.Health -  tdmg else v.Parent.Hh.Value = v.Health - (tdmg*3.5) end
  21282. v.Health =  v.Parent.Hh.Value if v.Parent.Hh.Value < 1 then v.Parent:BreakJoints() end  
  21283. end
  21284. end
  21285. if v:IsA("Model") or v:IsA("Workspace") then kidive(v) end  end end
  21286. kidive(workspace)
  21287. end
  21288. function  Fire(bullet,typez,siz,dmg,rndmg,forc)
  21289. if typez == 1 then
  21290. bullet.Anchored =  true
  21291. local bullethit = false
  21292. local tyms = 0
  21293. repeat
  21294. tyms = tyms +  2
  21295. local bhit,bpos = ray(bullet.Position,bullet.Position - (bullet.CFrame  *cf(0,0,-1)).p)
  21296. if bpos ~= nil and (bpos - bullet.Position).magnitude < 7  then bullethit = true else bullet.CFrame = bullet.CFrame *cf(0,0,-1*s)  *ca(rd(-0.0025),rd(0),0) end
  21297. if tyms%32 == 0 then wait() end
  21298. until  bullethit or bullet.Position.y < -300 or tyms > 800
  21299. bullet.CFrame =  bullet.CFrame *cf(0,0,8) bullet:Remove()
  21300. if bullet.Position.y < -300  then
  21301. else
  21302. Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc)
  21303. end
  21304. elseif  typez == 2 then
  21305. bullet.Anchored = true
  21306. local bullethit = false
  21307. local  tyms = 0
  21308. local ming = 0.001
  21309. repeat
  21310. if tyms > 70 and (ming == 0.001  or ming == -2.5) then ming = -2.5
  21311. local bpos = (bullet.CFrame  *cf(0,0,-300)).p if (bpos -  v3(Palm.Position.x,bpos.y,Palm.Position.z)).magnitude < 25*s then ming = 0  end
  21312. end
  21313. tyms = tyms + 2
  21314. local bhit,bpos =  ray(bullet.Position,bullet.Position - (bullet.CFrame *cf(0,0,-1)).p)
  21315. if bpos  ~= nil and (bpos - bullet.Position).magnitude < 7 then bullethit = true else  bullet.CFrame = bullet.CFrame *cf(0,0,-0.5) *ca(rd(ming),rd(0),0) end
  21316. if  tyms%16 == 0 then wait() end
  21317. until bullethit or bullet.Position.y < -300  or tyms > 500
  21318. bullet.CFrame = bullet.CFrame *cf(0,0,8)  bullet:Remove()
  21319. if bullet.Position.y < -300  then
  21320. else
  21321. Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc)
  21322. end
  21323. elseif  typez == 3 then
  21324. end
  21325. end
  21326. function ShortifiedAnim(theanim)
  21327. if  theanim == "Beam" then
  21328. local crom =  pa(m,"Block",0,0,0,true,true,0.5,0,LaserCol3) local cromm =  it("SpecialMesh",crom) cromm.MeshType = "FileMesh" cromm.MeshId = asset ..  Decs.Crown
  21329. cromm.Scale = v3(15*s,5*s,15*s) crom.Anchored = true --local cromw  = weld(crom,Palm,crom,0,Palm.Size.y/3.6,-Palm.Size.z*1.8,rd(-90),0,0)
  21330. dias =  {} loldiv = 360/8 for x=0,360,loldiv do
  21331. local dia =  pa(m,"Block",0,0,0,false,false,0,0,LaserCol2) dia.Anchored = true local diam =  it("SpecialMesh",dia) diam.MeshType = "FileMesh" diam.MeshId =  DiamondMesh.MeshId
  21332. diam.Scale = v3(3*s,9*s,3*s) table.insert(dias,dia)
  21333. end  Button = true coroutine.resume(coroutine.create(function() local tardz = 0  repeat wait() tardz = tardz+ 15
  21334. crom.CFrame = Palm.CFrame *ca(rd(-90),0,0)  *cf(0,5.5*s,2*s) *ca(0,rd(tardz),0)
  21335. for rofl=1,#dias do dias[rofl].CFrame =  crom.CFrame *ca(0,rd(rofl*loldiv),0) *cf(0,-19*s,0) *ca(rd(25),0,0)  *cf(0,32*s,0) end
  21336. until not Button for x2=0.5,1,0.05 do wait()  crom.Transparency = x2 end end))
  21337. coroutine.resume(coroutine.create(function()  for xk=1,0.5,-0.02 do wait() for i=1,#dias do dias.Transparency =xk end end  end))
  21338. wait(1) local beamoffset = v3(0,0,0)
  21339. local b1 =  pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b1.Anchored = true  
  21340. local b2 = pa(m,"Block",10*s,1,10*s,false,false,0.1,0,LaserCol) b2.Anchored  = true local b2m = it("CylinderMesh",b2)
  21341. local b3 =  pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b3.Anchored = true  
  21342. local bpos = nil local bhit = nil local ts = 0
  21343. repeat beamoffset =  v3(ra(-2*s,2*s),ra(-2*s,2*s),ra(-2*s,2*s)) ts = ts + 1
  21344. bhit,bpos =  ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,0,1)).p)
  21345. if bhit == nil  or (Palm.Position - bpos).magnitude > 1500 then break end
  21346. b1.CFrame =  Palm.CFrame *cf(0,3*s,-11*s)
  21347. b3.CFrame = cf(bpos) local lenz = (b1.Position  - b3.Position).magnitude
  21348. b2.CFrame = cf(b1.Position,b3.Position)  *ca(rd(90),0,0) *cf(0,-lenz/2,0) b2m.Scale = v3(1,lenz,1)
  21349. b1.CFrame =  b1.CFrame + beamoffset b2.CFrame = b2.CFrame + beamoffset b3.CFrame = b3.CFrame  + beamoffset
  21350. if ts%10 == 0 then  DmgHumanoidsNear(b3.Position,3,10,(14*s)+2,100)  Explode(b3.CFrame*cf(0,b3.Size.y/3,0),25*s,LaserCol2) end
  21351. wait() until not  Button or ts > 600
  21352. coroutine.resume(coroutine.create(function() for  xk=0.1,1.1,0.08 do wait() b1.Transparency = xk b2.Transparency = xk  b3.Transparency = xk end b1:Remove() b2:Remove() b3:Remove()  end))
  21353. coroutine.resume(coroutine.create(function() for xk=0.5,1.1,0.02 do  wait() for i=1,#dias do dias.Transparency =xk end end end))
  21354. wait(1)  clearit(dias) crom:Remove()
  21355. end
  21356. end
  21357. PalmLev = it("BodyPosition",Palm)  
  21358. PalmFace = it("BodyGyro",Palm) PalmFace.maxTorque =  v3(0,0,0)
  21359. coroutine.resume(coroutine.create(function()
  21360. PalmLev.position =  (t.CFrame *cf(handoffset)).p
  21361. local yspi = 0
  21362. while true do yspi = yspi +  8
  21363. if Anim.a == "Gun" or Anim.a == "Ride" or Anim.a == "Pound" then
  21364. Facing  = "Mouse" bgx = -90 bgy = 90 bgz = 0
  21365. elseif Anim.a == "Fu" or Anim.a ==  "Fist" or Anim.a == "GroundGrip" then
  21366. Facing = "Mouse" bgx = -90 bgy = 0 bgz  = 0
  21367. elseif Anim.a == "Splat" or Anim.a == "Beam" then
  21368. Facing = "Mouse"  bgx = 0 bgy = 0 bgz = 0
  21369. elseif Anim.a == "None" then
  21370. Facing = "Owner"  bgx = -90 bgy = 0 bgz = 0 Posing = "Follow"
  21371. elseif Anim.a == "Shower"  then
  21372. Facing = "None" bgx = 0 bgy = 0 bgz = 0 Posing = "TopOwner"
  21373. end  
  21374. if Posing == "Follow" then
  21375. PalmLev.maxForce = v3(1/0,1/0,1/0)  PalmLev.position = (t.CFrame *cf(handoffset) *cf(0,0,0)).p
  21376. elseif Posing ==  "TopOwner" then
  21377. PalmLev.maxForce = v3(1/0,1/0,1/0) PalmLev.position =  (t.CFrame *cf(0,12*s,0)).p
  21378. end
  21379. if Facing == "Owner" then  
  21380. PalmFace.maxTorque = v3(1/0,1/0,1/0) PalmFace.cframe =  cf(Palm.Position,he.Position) *ca(rd(bgx),rd(bgy),rd(bgz))
  21381. elseif Facing ==  "Mouse" and mou ~= nil and Equip then
  21382. if Anim.a == "Gun" or Anim.a == "Beam"  or Anim.a == "Ride" or Anim.a == "GroundGrip" or Anim.a == "Fu" or Anim.a ==  "Pound" or Anim.a == "Splat" or Anim.a == "Fist" then
  21383. if Anim.b == "None" or  Anim.a == "Beam" or Anim.a == "Ride" then
  21384. PalmFace.cframe =  cf(Palm.Position,mou.Hit.p) *ca(rd(bgx),rd(bgy),rd(bgz)) wait(0.05)
  21385. end end  end
  21386. wait(0.05)
  21387. end
  21388. end))
  21389. function  FireFinger(lasercol,ffingz,targ,typez,siz,dmg,rndmg,forc)  coroutine.resume(coroutine.create(function()
  21390. local laser =  pa(m,"Block",fingwide*1.3,fingwide*1.3,fingwide*2.5,true,false,0,0,lasercol)  spm("Sphere",laser,1+(siz/5.5)) laser.Name = "Projectile"
  21391. local lw =  weld(laser,ffingz,laser,0,ffingz.Size.y/0.8 +(siz/2.5),0,rd(90),0,0)
  21392. for  i=1,0.4,-0.05 do laser.Transparency = i wait() end  
  21393. BlastWave(ffingz.CFrame*cf(0,ffingz.Size.y*1.3,0)*ca(0,0,0),ffingz.Size.x*1.6,1.8,LaserCol2)
  21394. lw:Remove()  laser.CFrame = cf(laser.Position,targ)
  21395. Fire(laser,typez,siz,dmg,rndmg,forc)  
  21396. end))
  21397. end
  21398. GrabWeld =  it("Weld",m)
  21399. Palm.Touched:connect(function(touch)
  21400. if Anim.a == "Ride" and  GrabWeld.Part1 == nil and touch.Parent:findFirstChild("Torso") and  touch.Parent:findFirstChild("Humanoid") then
  21401. local tor = touch.Parent.Torso  touch.Parent.Humanoid.PlatformStand = true
  21402. GrabWeld.Part0 = Palm  GrabWeld.Part1 = tor GrabWeld.C0 = cf(-3*s,4.5*s,-Palm.Size.x/2) GrabWeld.C1 =  ca(0,rd(90),rd(-90)) *ca(0,rd(0),0)
  21403. end
  21404. end)
  21405. re(bp,"Hand")
  21406. hb =  it("HopperBin",bp) hb.Name = "Hand"
  21407. hb.Selected:connect(function(mouse) mou =  mouse Equip = true
  21408. mouse.KeyDown:connect(function(k) k = k:lower()
  21409. if  Anim.a == "Ride" and k == "f" then  FireFinger(LaserCol,pPinkie3,mouse.Hit.p,1,2.25,1,18,30) end
  21410. if Anim.b ~=  "None" or Anim.Welding ~= 0 then return end
  21411. if Anim.a == "None" then
  21412. if k  == "f" then -- on anim on
  21413. Anim.a = "Gun" HandSign("Gun",0.7)
  21414. elseif k ==  "p" then
  21415. Anim.a = "Fu" HandSign("f",1)
  21416. elseif k == "g" then
  21417. Anim.a =  "Fist" HandSign("fist",1)
  21418. elseif k == "c" then
  21419. Anim.a = "Splat"  HandSign("wide",1)
  21420. elseif k == "r" then
  21421. Anim.a = "Ride" HandSign("ride",1)  Posing = "None"
  21422. elseif k == "v" then
  21423. Anim.a = "Shower" HandSign("grab2",1)  PalmFace.cframe = cf(0,0,0) *ca(0,0,0)
  21424. elseif k == "b" then
  21425. Anim.a =  "Pound" HandSign("fist",1)
  21426. elseif k == "x" then
  21427. Anim.a = "GroundGrip"  HandSign("grab2",1)
  21428. elseif k == "z" then
  21429. Anim.a = "Beam"  HandSign("wide2",1)
  21430. end
  21431. else
  21432. if k == "f" and Anim.a == "Gun" then --  on anim off
  21433. Anim.a = "None" HandSign("five",0.8)
  21434. elseif k == "p" and  Anim.a == "Fu" then
  21435. Anim.a = "None" HandSign("five",0.8)
  21436. elseif k == "g"  and Anim.a == "Fist" then
  21437. Anim.a = "None" HandSign("five",0.8)
  21438. elseif k ==  "c" and Anim.a == "Splat" then
  21439. Anim.a = "None" HandSign("five",0.8)
  21440. elseif  k == "r" and Anim.a == "Ride" then
  21441. Anim.a = "None" HandSign("five",0.8)  GrabWeld.Part0 = nil Anim.b = "None" Posing = "Follow" Facing = "Owner"
  21442. if  GrabWeld.Part1 ~= nil and GrabWeld.Part1.Parent:findFirstChild("Humanoid") ~=  nil then GrabWeld.Part1.Parent.Humanoid.PlatformStand = false end GrabWeld.Part1  = nil
  21443. elseif k == "v" and Anim.a == "Shower" then
  21444. Anim.a = "None"  HandSign("five",0.8) Posing = "Follow" Facing = "Owner"
  21445. elseif k == "b" and  Anim.a == "Pound" then
  21446. Anim.a = "None" HandSign("five",0.8)
  21447. elseif k ==  "x" and Anim.a == "GroundGrip" then
  21448. Anim.a = "None"  HandSign("five",0.8)
  21449. elseif k == "z" and Anim.a == "Beam" then
  21450. Anim.a =  "None"  HandSign("five",0.8)
  21451. end
  21452. end
  21453. end)
  21454. mouse.Button1Down:connect(function()
  21455. if  Anim.a == "None" or Anim.b ~= "None" then return end
  21456. if Anim.a == "Gun"  then
  21457. Anim.b = "Gun" FireFinger(LaserCol,pPoint3,mouse.Hit.p,1,2.25,1,10,60)  FireFinger(LaserCol,pMid3,mouse.Hit.p,1,2.25) wait(1) Anim.b = "None"
  21458. elseif  Anim.a == "Fu" then
  21459. Anim.b = "Fu"  FireFinger(LaserCol,pMid3,mouse.Hit.p,1,3.65,2,14,95) wait(0.25) Anim.b =  "None"
  21460. elseif Anim.a == "Fist" then
  21461. local bhit,bpos =  ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p)
  21462. if bhit ==  nil or (Palm.Position - bpos).magnitude > 500 then return end
  21463. Anim.b =  "Fist" Posing = "None" PalmFace.cframe = cf(Palm.Position,bpos)  *ca(rd(-90),0,0)
  21464. PalmLev.position = (Palm.CFrame  *cf(0,-15*s,0)).p
  21465. wait(0.45)
  21466. PalmLev.position = bpos + ((Palm.CFrame  *cf(0,1*s,0)).p - Palm.Position)
  21467. local tz = 0 repeat wait()  BlastWave(Palm.CFrame*ca(rd(180),0,0),8*s,3.5,HCol) tz = tz + wait() until  (PalmLev.position - Palm.Position).magnitude < 8*s or tz >  1
  21468. Explode(Palm.CFrame *cf(0,6*s,0)  *ca(rd(180),0,0),15*s,ts(bhit.BrickColor))
  21469. DmgHumanoidsNear((Palm.CFrame  *cf(0,8,0)).p,3,10,(12*s)+2,105)
  21470. if not bhit.Anchored then PalmLev.position =  (Palm.CFrame *cf(0,12*s,0)).p wait(0.5) end
  21471. wait(1) Posing = "Follow" Anim.b  = "None"
  21472. elseif Anim.a == "Splat" then
  21473. if mouse.Target == nil and  (Palm.Position - mouse.Hit.p).magnitude > 500 then return end local bpos =  mouse.Hit.p
  21474. Anim.b = "Splat" Posing = "None"
  21475. local ya,yb,yc =  PalmFace.cframe:toEulerAnglesXYZ() PalmFace.cframe = cf(0,0,0) *ca(0,yb,0)  *ca(rd(-90),0,0) PalmLev.position = bpos + v3(0,10*s,0)
  21476. local tz = 0 repeat  wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude <  5*s or tz > 1.3
  21477. for i=-90,0,5 do
  21478. PalmLev.position = PalmLev.position  + v3(0,2*s,0) PalmFace.cframe = cf(0,0,0) *ca(0,yb,0)  *ca(rd(i),0,0)
  21479. wait()
  21480. end wait(0.2)
  21481. for i=0,-100,-10 do
  21482. local lewd  = i
  21483. if lewd < -50 then lewd = -95 end
  21484. PalmLev.position =  PalmLev.position - v3(0,4.7*s,0) PalmFace.cframe = cf(0,0,0) *ca(0,yb,0)  *ca(rd(lewd),0,0)
  21485. wait()
  21486. end wait(0.2)
  21487. local cr =  pa(m,"Block",16*s,0,16*s,false,false,1,0,"") cr.Anchored = true cr.CFrame =  cf(bpos) *ca(0,rd(ra(-360,360)),0)
  21488. local de = it("Decal",cr) de.Face = "Top"  de.Texture = asset .. Decs.Crack  Serv.d:AddItem(cr,16)
  21489. DmgHumanoidsNear((Palm.CFrame  *cf(0,0,-1)).p,3,20,(15*s)+2,110)
  21490. ShockWave(Palm.CFrame  *ca(rd(90),0,0),25*s,LaserCol)
  21491. wait(1) Posing = "Follow" Anim.b =  "None"
  21492. elseif Anim.a == "Ride" and Button == false then
  21493. Posing = "None"  Anim.b = "Ride"
  21494. Button = true
  21495. repeat PalmLev.position = (Palm.CFrame  *cf(0,10,0)).p wait() until Button == false
  21496. Anim.b = "None"
  21497. elseif Anim.a  == "Shower" and Button == false then
  21498. Anim.b = "Shower" Button = true  
  21499. repeat
  21500. local targz = Palm.Position + v3(0,20*s,0)
  21501. if ra(1,12) == 1  then FireFinger(LaserCol,pPinkie3,targz,2,4,1,18,55) end
  21502. if ra(1,13) == 1  then FireFinger(LaserCol,pRing3,targz,2,4,1,18,60) end
  21503. if ra(1,12) == 1 then  FireFinger(LaserCol,pMid3,targz,2,4,1,18,65) end
  21504. if ra(1,13) == 1 then  FireFinger(LaserCol,pPoint3,targz,2,4,1,18,70) end
  21505. if ra(1,12) == 1 then  FireFinger(LaserCol,pThumb3,targz,2,4,1,18,80) end
  21506. PalmFace.cframe =  PalmFace.cframe *ca(0,rd(10),0)
  21507. wait()
  21508. until Button == false
  21509. Anim.b =  "None"
  21510. elseif Anim.a == "Pound" and Anim.b == "None" then Posing = "None"  Anim.b = "Pound"
  21511. local bhit,bpos = ray(Palm.Position,Palm.Position -  (Palm.CFrame *cf(0,-1,0)).p)
  21512. if bhit == nil or (Palm.Position -  bpos).magnitude > 500 then return end
  21513. PalmLev.position = bpos +  v3(0,15*s,0)
  21514. local ya,yb,yc = PalmFace.cframe:toEulerAnglesXYZ()  PalmFace.cframe = ca(ya,yb,yc)
  21515. local tz = 0 repeat wait() tz = tz + wait()  until (PalmLev.position - Palm.Position).magnitude < 5*s or tz > 1.3  wait(0.1)
  21516. for i=-90,-10,10 do
  21517. PalmFace.cframe = ca(ya,yb,yc)  *ca(0,0,rd(i+90)) PalmLev.position = PalmLev.position + v3(0,2.5*s,0)
  21518. wait()  end wait(0.25) local realcf =  cf(v3(he.Position.x,0,he.Position.z),v3(Palm.Position.x,0,Palm.Position.z))
  21519. for  i=-10,-90,-10 do
  21520. PalmFace.cframe = ca(ya,yb,yc) *ca(0,0,rd(i+90))  PalmLev.position = PalmLev.position - v3(0,4*s,0)
  21521. wait() end PalmFace.cframe  = realcf *ca(rd(-90),rd(90),0) wait(0.25)
  21522. local cr =  pa(m,"Block",22*s,0,22*s,false,false,1,0,"") cr.Anchored = true cr.CFrame =  cf(bpos) *ca(0,rd(ra(-360,360)),0)
  21523. local de = it("Decal",cr) de.Face = "Top"  de.Texture = asset .. Decs.Crack  Serv.d:AddItem(cr,16)
  21524. Dustplosion(Palm.CFrame *cf(2*s,0,0)  *ca(rd(90),0,rd(90)),30*s,{"Really red","Really black","Really  red"},3)
  21525. ShockWave(Palm.CFrame *cf(2*s,0,0)  *ca(rd(90),0,rd(90)),20*s,ts(bhit.BrickColor))
  21526. DmgHumanoidsNear((Palm.CFrame  *cf(0,1,0)).p,1,20,(15*s)+2,90) wait(0.2)
  21527. local palmcf = cf(bpos) local  earthsplos = ra(5,8) palmcf = Palm.CFrame *ca(0,rd(90),0)  *ca(rd(-90),0,rd(0))
  21528. for i=1,earthsplos do Earthsplosion(palmcf  *cf(0,-2*s,((i*7)+7)*s),10,1,20,75) wait(0.1) end
  21529. Earthsplosion(palmcf  *cf(0,-2*s,(((earthsplos+1)*7)+7)*s),16,2,25,75)
  21530. wait(1) Posing = "Follow"  wait(0.25) Anim.b = "None"
  21531. elseif Anim.a == "GroundGrip" then Posing =  "None" Anim.b = "GroundGrip"
  21532. local bhit,bpos =  ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p)
  21533. if bhit ==  nil or (Palm.Position - bpos).magnitude > 500 then return end  
  21534. PalmLev.position = bpos + v3(0,27*s,0) ColFings(false)
  21535. local tz = 0  repeat wait() tz = tz + wait() until (PalmLev.position -  Palm.Position).magnitude < 8*s or tz > 1.3 wait(0.1)
  21536. local thepos =  (Palm.CFrame *cf(0,-0.1*s,0)).p - Palm.Position
  21537. PalmFace.cframe =  cf(Palm.Position,bpos + thepos) *ca(rd(-90),0,0)
  21538. for i=27,1,-3 do  PalmLev.position = bpos + v3(0,i*s,0) wait(0.07) end HandSign("grab3",0.4)  wait(0.55)
  21539. local ro = pa(m,"Ball",0,0,0,false,false,0,0,"Earth green")  ro.Name = "Rock" local row = it("SpecialMesh",ro) row.MeshType = "FileMesh"  row.MeshId = asset .. Decs.Rock
  21540. local rowe =  weld(ro,Palm,ro,0,Palm.Size.y,-Palm.Size.z*1.2,0,0,0) row.Scale =  v3(9*s,10*s,9*s)
  21541. coroutine.resume(coroutine.create(function() for xz=1,70,7  do PalmLev.position = bpos + v3(0,xz*s,0) wait(0.06) end end))
  21542. wait(0.25)  Dustplosion(cf(bpos),30*s,{"Really red","Really black","Really red"},3) local  lolra = ra(-360,360)
  21543. Earthsplosion(cf(bpos),25,1,20,125,"sand") for  yyy=0,360,60 do coroutine.resume(coroutine.create(function()
  21544. for zzz=1,4 do  
  21545. Earthsplosion(cf(bpos) *ca(0,rd(yyy+lolra),0) *cf(0,0,zzz*15*s),10,1,20,75)  wait(0.14)
  21546. end wait(0.25) Earthsplosion(cf(bpos) *ca(0,rd(yyy+lolra),0)  *cf(0,0,5*18*s),25,1,20,120) end)) end
  21547. wait(0.3) HandSign("grab2",0.5)  wait(0.75) Serv.d:AddItem(ro,20) rowe:Remove() ro.CanCollide = true local rocf =  ro.CFrame ro.Size=v3(14*s,14*s,14*s) ro.CFrame = rocf wait(0.75) ColFings(true)  Posing = "Follow" Anim.b = "None"
  21548. elseif Anim.a == "Beam" and not Button and  Anim.b == "None" then Anim.b = "Beam"
  21549. ShortifiedAnim("Beam") wait(0.5)  Anim.b = "None"
  21550. end
  21551. end)
  21552. mouse.Button1Up:connect(function()
  21553. Button =  false
  21554. end)
  21555. mouse.Move:connect(function()  
  21556. end)
  21557.  
  21558. end)
  21559. hb.Deselected:connect(function(mouse)
  21560. Equip =  false
  21561. end)
  21562.  
  21563.  
  21564.  
  21565.  
  21566.         end)
  21567. --
  21568. local button = Instance.new("TextButton")
  21569.         button.Parent = ws
  21570.         button.BackgroundColor3 = blak
  21571.         button.BorderColor3 = rede
  21572.         button.BorderSizePixel = 3
  21573.         button.Name = "Plane"
  21574.         button.Position = UDim2.new(0.5,3,0,132)
  21575.         button.Size = UDim2.new(0.5,-3,0,30)
  21576.         button.ZIndex = 2
  21577.         button.Font = tef
  21578.         button.FontSize = "Size14"
  21579.         button.Text = "Plane"
  21580.         button.TextColor3 = whit
  21581.         button.TextWrapped = true
  21582.                 button.MouseButton1Down:connect(function()
  21583.                 repeat wait() until game:IsLoaded() and game:service("Players").LocalPlayer.Character ~= nil;
  21584. wait(0.4)
  21585. for i, v in pairs(game:service("Players").LocalPlayer.Character:children()) do
  21586. if v ~= script then
  21587. v:Destroy()
  21588. end
  21589. end
  21590.  
  21591. local player = game:service("Players").LocalPlayer
  21592. local mouse = player:GetMouse()
  21593. local cam = workspace.CurrentCamera
  21594. local char = player.Character
  21595. local Torsoz = char:findFirstChild("Torso")
  21596. local NV = Vector3.new()
  21597. local Main
  21598. local W,S = false,false
  21599. local DoublePress = {nil,0}
  21600. script.Parent = char
  21601.  
  21602. local TrailParts = {}
  21603. local Acceleration = 0.08
  21604. local Speed = 0
  21605. local MinSpeed = 0
  21606. local MaxSpeed = 3.2
  21607. local DesiredDirection = cam.CoordinateFrame.lookVector
  21608. local Direction = DesiredDirection
  21609. local Roll = 0
  21610. local AllowTrails = true
  21611.  
  21612. script.Name = "AdvFlight"
  21613.  
  21614. local P = Instance.new("Part")
  21615. P.Anchored = true
  21616. P.CanCollide = false
  21617. P.Name = "Part"
  21618. P.formFactor = "Custom"
  21619. P.Size = Vector3.new(0.2,0.2,0.2)
  21620. P.Locked = true
  21621. P.TopSurface = 10
  21622. P.BottomSurface = 10
  21623. P.FrontSurface = 10
  21624. P.BackSurface = 10
  21625. P.LeftSurface = 10
  21626. P.RightSurface = 10
  21627. P.Material = "Pebble"
  21628. P.BrickColor = BrickColor.new("White")
  21629.  
  21630. local shipp
  21631. local shadow
  21632. local campart
  21633.  
  21634. function RAY(pos, dir, startpos, endpos, distleft, collidedlist)
  21635. collidedlist = collidedlist or {char}
  21636. startpos = startpos or pos
  21637. distleft = distleft or dir.unit * dir.magnitude
  21638. endpos = endpos or pos + distleft
  21639. local ray = Ray.new(pos, distleft)
  21640. local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
  21641. if hitz ~= nil then
  21642. if hitz.CanCollide == false then
  21643. table.insert(collidedlist, hitz)
  21644. local newpos = enz
  21645. local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
  21646. if newdistleft ~= NV then
  21647. return RAY(newpos-(dir*0.01), dir, startpos, endpos, newdistleft+(dir*0.01), collidedlist)
  21648. end
  21649. end
  21650. end
  21651. return hitz, enz, ray
  21652. end
  21653.  
  21654. function FindSurface(part, position)
  21655. local obj = part.CFrame:pointToObjectSpace(position)
  21656. local siz = part.Size/2
  21657. for i,v in pairs(Enum.NormalId:GetEnumItems()) do
  21658. local vec = Vector3.FromNormalId(v)
  21659. local wvec = part.CFrame:vectorToWorldSpace(vec)
  21660. local vz = (obj)/(siz*vec)
  21661. if (math.abs(vz.X-1) < 0.01 or math.abs(vz.Y-1) < 0.01 or math.abs(vz.Z-1) < 0.01) then
  21662. return wvec,vec
  21663. end
  21664. end
  21665. if part.className == "WedgePart" then
  21666. return part.CFrame:vectorToWorldSpace(Vector3.new(0,0.707,-0.707)), Vector3.new(0,0.707,-0.707)
  21667. end
  21668. end
  21669.  
  21670. function HSV(H,S,V)
  21671. H = H % 360
  21672. local C = V * S
  21673. local H2 = H/60
  21674. local X = C * (1 - math.abs((H2 %2) -1))
  21675. local color = Color3.new(0,0,0)
  21676. if H2 <= 0 then
  21677. color = Color3.new(C,0,0)
  21678. elseif 0 <= H2 and H2 <= 1 then
  21679. color = Color3.new(C,X,0)
  21680. elseif 1 <= H2 and H2 <= 2 then
  21681. color = Color3.new(X,C,0)
  21682. elseif 2 <= H2 and H2 <= 3 then
  21683. color = Color3.new(0,C,X)
  21684. elseif 3 <= H2 and H2 <= 4 then
  21685. color = Color3.new(0,X,C)
  21686. elseif 4 <= H2 and H2 <= 5 then
  21687. color = Color3.new(X,0,C)
  21688. elseif 5 <= H2 and H2 <= 6 then
  21689. color = Color3.new(C,0,X)
  21690. end
  21691. local m = V - C
  21692. return Color3.new(color.r + m, color.g + m, color.b + m)
  21693. end
  21694.  
  21695. function Build(shiptype)
  21696. AllowTrails = true
  21697. for i, v in pairs(char:children()) do
  21698. if v.className == "Model" and v.Name == "Ship" then
  21699. v:remove()
  21700. end
  21701. end
  21702. for i, v in pairs(TrailParts) do
  21703. for _,V in pairs(v[3]) do
  21704. V:Destroy()
  21705. end
  21706. end
  21707. local mdl = Instance.new("Model", char)
  21708. mdl.Name = "Ship"
  21709.  
  21710. ------------------------ Speeder Ship Type -----------------------------
  21711. if shiptype == "Speeder" then
  21712.  
  21713. shipp = P:Clone()
  21714. shipp.Parent = mdl
  21715. shipp.Size = Vector3.new(1,1,2.2)
  21716. local shipwing1 = P:Clone()
  21717. shipwing1.Parent = mdl
  21718. shipwing1.Size = Vector3.new(0.6,1.2,2)
  21719. local mesh = Instance.new("SpecialMesh", shipwing1)
  21720. mesh.MeshType = "Wedge"
  21721. local shipwing2 = shipwing1:Clone()
  21722. shipwing2.Parent = mdl
  21723. campart = P:Clone()
  21724. campart.Transparency = 1
  21725. local shipwing21 = P:Clone()
  21726. shipwing21.Parent = mdl
  21727. shipwing21.Size = Vector3.new(0.32,1.1,2.6)
  21728. local mesh = Instance.new("SpecialMesh", shipwing21)
  21729. mesh.MeshType = "Wedge"
  21730. local shipwing22 = shipwing21:Clone()
  21731. shipwing22.Parent = mdl
  21732. campart = P:Clone()
  21733. campart.Transparency = 1
  21734.  
  21735. local shipwi = P:Clone()
  21736. shipwi.Parent = mdl
  21737. shipwi.Size = Vector3.new(1,1,1.2)
  21738. local mesh = Instance.new("SpecialMesh", shipwi)
  21739. mesh.MeshType = "Wedge"
  21740. local shipwi2 = P:Clone()
  21741. shipwi2.Parent = mdl
  21742. shipwi2.Size = Vector3.new(0.7,0.7,0.84)
  21743. shipwi2.Material = "SmoothPlastic"
  21744. shipwi2.BrickColor = BrickColor.new("Pastel blue")
  21745. shipwi2.Reflectance = 0.6
  21746. local mesh = Instance.new("SpecialMesh", shipwi2)
  21747. mesh.MeshType = "Wedge"
  21748.  
  21749. shadow = P:Clone()
  21750. shadow.Parent = mdl
  21751. shadow.Name = "Shadow"
  21752. shadow.Material = "SmoothPlastic"
  21753. shadow.BrickColor = BrickColor.new("Really black")
  21754. local mesh = Instance.new("SpecialMesh",shadow)
  21755. mesh.MeshType = "Sphere"
  21756.  
  21757. TrailParts = {}
  21758. table.insert(TrailParts,{shipp,1,{},cam.CoordinateFrame.p,CFrame.new(0,0,1),0.5,18})
  21759. table.insert(TrailParts,{shipwing1,1,{},cam.CoordinateFrame.p,CFrame.new(0,0.45,1),0.3,15})
  21760. table.insert(TrailParts,{shipwing2,1,{},cam.CoordinateFrame.p,CFrame.new(0,0.45,1),0.3,15})
  21761. for _, V in pairs(TrailParts) do
  21762. for i = 1, V[7] do
  21763. local p = P:Clone()
  21764. local mesh = Instance.new("SpecialMesh", p)
  21765. mesh.MeshId = "http://www.roblox.com/asset/?id=9856898"
  21766. mesh.TextureId = "http://www.roblox.com/asset/?id=48358980"
  21767. p.BrickColor = BrickColor.new("Dark stone grey")
  21768. table.insert(V[3],p)
  21769. end
  21770. end
  21771.  
  21772. function ReposParts()
  21773. shipwing1.CFrame = shipp.CFrame * CFrame.new(-1.1,-0.195,-0.14) * CFrame.Angles(0,0,math.pi/2)
  21774. shipwing2.CFrame = shipp.CFrame * CFrame.new(1.1,-0.195,-0.14) * CFrame.Angles(0,0,-math.pi/2)
  21775. shipwing21.CFrame = shipp.CFrame * CFrame.new(-1.05,-0.34,-0.45) * CFrame.Angles(0,0,math.pi/2)
  21776. shipwing22.CFrame = shipp.CFrame * CFrame.new(1.05,-0.34,-0.45) * CFrame.Angles(0,0,-math.pi/2)
  21777. shipwi.CFrame = shipp.CFrame * CFrame.new(0,0,-1.7)
  21778. shipwi2.CFrame = shipwi.CFrame * CFrame.new(0,0.015,-0.015)
  21779. campart.CFrame = shipp.CFrame + Vector3.new(0,1.5,0)
  21780. end
  21781. cam.CameraSubject = campart
  21782. cam.CameraType = "Track"
  21783.  
  21784. shipp.CFrame = CFrame.new(NV,Direction) + cam.CoordinateFrame.p
  21785. ReposParts()
  21786.  
  21787. end
  21788.  
  21789. AllowTrails = true
  21790. end
  21791. Build("Speeder")
  21792.  
  21793. function B1D()
  21794. Build("Speeder")
  21795. end
  21796.  
  21797. function RollThatSht(direc)
  21798. if Roll == 0 then
  21799. for i = 1, 50 do
  21800. Roll = (-360 + math.cos(math.pi/50*i) * 360) * direc
  21801. wait(0.02)
  21802. end
  21803. Roll = 0
  21804. end
  21805. end
  21806.  
  21807. function KD(key)
  21808. if key == "w" then
  21809. W = true
  21810. elseif key == "s" then
  21811. S = true
  21812. end
  21813.  
  21814. local rollpls = 0
  21815. if key == DoublePress[1] and tick() - DoublePress[2] < 0.32 then
  21816. DoublePress = {nil,0}
  21817. if key == "a" then
  21818. rollpls = -1
  21819. elseif key == "d" then
  21820. rollpls = 1
  21821. end
  21822. end
  21823.  
  21824. DoublePress = {key,tick()}
  21825. if rollpls ~= 0 then
  21826. RollThatSht(rollpls)
  21827. end
  21828. end
  21829.  
  21830. function KU(key)
  21831. if key == "w" then
  21832. W = false
  21833. elseif key == "s" then
  21834. S = false
  21835. end
  21836. end
  21837.  
  21838. function Equip()
  21839. end
  21840.  
  21841. function Unequip()
  21842. end
  21843.  
  21844. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  21845. mouse.Button1Down:connect(B1D)
  21846. mouse.KeyDown:connect(KD)
  21847. mouse.KeyUp:connect(KU)
  21848.  
  21849.  
  21850.  
  21851. local count = 0
  21852. local hue = 0
  21853. --game:GetService("RunService").Stepped:connect(function()
  21854. while wait(0.02) do
  21855.  
  21856. ------ Speed --------
  21857. local valu = (0.002*MaxSpeed) + ((Speed/MaxSpeed)*Acceleration)
  21858. if W == true then
  21859. Speed = Speed + valu
  21860. elseif S == true then
  21861. Speed = Speed - valu
  21862. end
  21863. if Speed > MaxSpeed then
  21864. Speed = MaxSpeed
  21865. elseif Speed < MinSpeed then
  21866. Speed = MinSpeed
  21867. end
  21868.  
  21869. ------ left/right tilt ---------
  21870. local target = 180 + math.floor(math.deg(math.atan2(DesiredDirection.x,DesiredDirection.z)))
  21871. local current = 180 + math.floor(math.deg(math.atan2(Direction.x,Direction.z)))
  21872. local swing = 0
  21873. if math.abs(math.abs(current-target) - 360) > math.abs(target-current) then
  21874. swing = target-current
  21875. else
  21876. swing = (current > target and -(math.abs(current-target) - 360)) or (current < target and math.abs(current-target) - 360)
  21877. end
  21878.  
  21879. DesiredDirection = cam.CoordinateFrame.lookVector
  21880. ------ direction smoothening ------
  21881. local dir = DesiredDirection.unit
  21882. if Direction ~= dir then
  21883. if (Direction - dir).magnitude < 0.01 then
  21884. Direction = dir
  21885. else
  21886. local dist = ((dir - Direction).unit * (dir - Direction).magnitude) /10
  21887. Direction = (Direction + dist).unit
  21888. end
  21889. end
  21890.  
  21891. shipp.CFrame = (CFrame.new(NV,Direction) + shipp.Position + (Direction.unit * Speed)) * CFrame.Angles(0,0,math.rad(Roll) + math.rad(swing/2))
  21892. ReposParts()
  21893.  
  21894. ------ shadow ------
  21895. local ghitz, genz = RAY(shipp.Position,Vector3.new(0,-26,0))
  21896. local angles = CFrame.new()
  21897. if ghitz ~= nil and ghitz.className ~= "Terrain" and ((ghitz.className == "Part" and ghitz.Shape == Enum.PartType.Block) or (ghitz.className ~= "Part" and ghitz:IsA("BasePart"))) then
  21898. local wvec,vec = FindSurface(ghitz,genz)
  21899. angles = CFrame.new(NV,wvec) * CFrame.Angles(-math.pi/2,0,0)
  21900. elseif ghitz ~= nil and (ghitz.className == "Part" and ghitz.Shape == Enum.PartType.Ball) then
  21901. angles = (CFrame.new(ghitz.Position, genz) - ghitz.Position) * CFrame.Angles(-math.pi/2,0,0)
  21902. end
  21903. shadow.CFrame = CFrame.new(genz) * angles
  21904. shadow.Transparency = 0.5 + (((shipp.Position - genz).magnitude /26)*0.5)
  21905. shadow.Mesh.Scale = (Vector3.new(4.4,0.25,4.4) * 5) * (1-(shipp.Position - genz).magnitude /26)
  21906.  
  21907. ------- Trails -----------------------
  21908. if AllowTrails == true then
  21909. count = (count+1)%1
  21910. hue = (hue+1) % 360
  21911. local rgb = HSV(hue,0.65,0.85)
  21912. for _,v in pairs(TrailParts) do
  21913. local to = (v[1].CFrame * v[5]).p
  21914. if Speed > MinSpeed + 0.2 then
  21915. v[2] = (v[2]%#v[3]) + 1
  21916. v[3][v[2]].CFrame = CFrame.new((v[4] + to)/2,to) * CFrame.Angles(math.pi/2,math.rad(Roll) + math.rad(swing/2),0)
  21917. v[3][v[2]].Mesh.Scale = Vector3.new(v[6],(v[4] - to).magnitude*2,v[6])
  21918. v[3][v[2]].Mesh.VertexColor = Vector3.new(rgb.r,rgb.g,rgb.b)
  21919. v[3][v[2]].Transparency = 0.15
  21920. v[3][v[2]].Parent = game.Players.LocalPlayer.Character
  21921. else
  21922. v[2] = (v[2]%#v[3]) + 1
  21923. v[3][v[2]].Parent = nil
  21924. end
  21925.  
  21926. v[4] = to
  21927. end
  21928. end
  21929.  
  21930. end
  21931. --end)
  21932.  
  21933. -- 138098590 -- plane destroyed sound
  21934. -- 133082569 -- propeller 2
  21935. -- 135645246 -- propeller 1
  21936. --[[ Possible Game names
  21937. Aeroscape
  21938. Airbound
  21939. Aerialtude
  21940. ]]
  21941.         end)
  21942. --
  21943. local button = Instance.new("TextButton")
  21944.         button.Parent = ws
  21945.         button.BackgroundColor3 = blak
  21946.         button.BorderColor3 = rede
  21947.         button.BorderSizePixel = 3
  21948.         button.Name = "Snowball"
  21949.         button.Position = UDim2.new(0,0,0,165)
  21950.         button.Size = UDim2.new(0.5,0,0,30)
  21951.         button.ZIndex = 2
  21952.         button.Font = tef
  21953.         button.FontSize = "Size14"
  21954.         button.Text = "Snowball"
  21955.         button.TextColor3 = whit
  21956.                 button.MouseButton1Down:connect(function()
  21957.                 repeat wait() until game:GetService("Players").LocalPlayer.Character ~= nil;
  21958. wait(0.5)
  21959.  
  21960. S = Instance.new("Model")
  21961. S.Name = "ValueChanger1"
  21962. S.Parent = Game.Workspace
  21963. --- vars ---
  21964. local player = game:GetService("Players").LocalPlayer
  21965. local repstor = game:GetService("ReplicatedStorage")
  21966. local mouse = player:GetMouse()
  21967. local char = player.Character
  21968. local Hu = char.Humanoid
  21969. local Gui = player:WaitForChild("PlayerGui")
  21970. local Torsoz = char:findFirstChild("Torso")
  21971. local HRP = char:findFirstChild("HumanoidRootPart")
  21972. local HRJ = HRP:findFirstChild("RootJoint")
  21973. local RA = char:findFirstChild("Right Arm")
  21974. local LA = char:findFirstChild("Left Arm")
  21975. local RL = char:findFirstChild("Right Leg")
  21976. local LL = char:findFirstChild("Left Leg")
  21977. local H = char:findFirstChild("Head")
  21978. local RS = Torsoz:findFirstChild("Right Shoulder")
  21979. local LS = Torsoz:findFirstChild("Left Shoulder")
  21980. local RH = Torsoz:findFirstChild("Right Hip")
  21981. local LH = Torsoz:findFirstChild("Left Hip")
  21982. local N = Torsoz:findFirstChild("Neck")
  21983. local NV = Vector3.new()
  21984. local Main
  21985. local SPB,SPF,SPC,SnowPart
  21986. local SPCP = 0
  21987. local Animating = false
  21988. local Walkspeed = 16
  21989. local Shift, Alt, Space, MouseDown = false, false, false, false
  21990. local ThrowingSequence = false
  21991. local SlideCooldown = 0
  21992. local SnowballProjectiles, SnowSplosionEffects = {}, {}
  21993. local disableJump = false
  21994.  
  21995. local AnimSpeeds = {
  21996. 0.5; -- idle
  21997. 5; -- walking
  21998. 6.5; -- running
  21999. 7; -- jumping
  22000. 7; -- falling
  22001. }  
  22002.  
  22003. for i, v in pairs(char:children()) do
  22004. if v.Name == "Cheese" then
  22005. v:remove()
  22006. end
  22007. end
  22008. script.Parent = char
  22009. script.Name = "Cheese"
  22010.  
  22011. ------------ animation funcs & other things ---------------
  22012. local P = Instance.new("Part")
  22013. P.Anchored = false
  22014. P.CanCollide = false
  22015. P.Name = "Part"
  22016. P.formFactor = "Custom"
  22017. P.Size = Vector3.new(0.2,0.2,0.2)
  22018. P.Locked = true
  22019. P.TopSurface = 10
  22020. P.BottomSurface = 10
  22021. P.FrontSurface = 10
  22022. P.BackSurface = 10
  22023. P.LeftSurface = 10
  22024. P.RightSurface = 10
  22025.  
  22026. function GetWeld(weld)
  22027. if weld:findFirstChild("WeldAngle") == nil then
  22028. local a = Instance.new("Vector3Value", weld)
  22029. a.Name = "WeldAngle"
  22030. end
  22031. return weld.C0.p, weld.WeldAngle.Value
  22032. end
  22033.  
  22034. function SetWeld(weld, i, loops, origpos,origangle, nextpos,nextangle,smooth)
  22035. smooth = smooth or 1
  22036. if weld:findFirstChild("WeldAngle") == nil then
  22037. local a = Instance.new("Vector3Value", weld)
  22038. a.Name = "WeldAngle"
  22039. end
  22040.  
  22041. local perc = (smooth == 1 and math.sin((math.pi/2)/loops*i)) or i/loops
  22042.  
  22043. local tox,toy,toz = 0,0,0
  22044. tox = math.abs(origangle.x - nextangle.x) *perc
  22045. toy = math.abs(origangle.y - nextangle.y) *perc
  22046. toz = math.abs(origangle.z - nextangle.z) *perc
  22047. tox = (origangle.x > nextangle.x and -tox) or tox
  22048. toy = (origangle.y > nextangle.y and -toy) or toy
  22049. toz = (origangle.z > nextangle.z and -toz) or toz
  22050.  
  22051. local tox2,toy2,toz2 = 0,0,0
  22052. tox2 = math.abs(origpos.x - nextpos.x) *perc
  22053. toy2 = math.abs(origpos.y - nextpos.y) *perc
  22054. toz2 = math.abs(origpos.z - nextpos.z) *perc
  22055. tox2 = (origpos.x > nextpos.x and -tox2) or tox2
  22056. toy2 = (origpos.y > nextpos.y and -toy2) or toy2
  22057. toz2 = (origpos.z > nextpos.z and -toz2) or toz2
  22058.  
  22059. weld.WeldAngle.Value = Vector3.new(origangle.x + tox, origangle.y + toy, origangle.z + toz)
  22060. weld.C0 = CFrame.new(origpos.x + tox2,origpos.y + toy2,origpos.z + toz2) * CFrame.Angles(origangle.x + tox,origangle.y + toy,origangle.z + toz)
  22061. end
  22062.  
  22063. function RAY(pos, dir, startpos, endpos, distleft, collidedlist)
  22064. collidedlist = collidedlist or {char}
  22065. startpos = startpos or pos
  22066. distleft = distleft or dir.unit * dir.magnitude
  22067. endpos = endpos or pos + distleft
  22068. local ray = Ray.new(pos, distleft)
  22069. local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
  22070. if hitz ~= nil then
  22071. if hitz.CanCollide == false then
  22072. table.insert(collidedlist, hitz)
  22073. local newpos = enz
  22074. local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
  22075. if newdistleft ~= NV then
  22076. return RAY(newpos-(dir*0.01), dir, startpos, endpos, newdistleft+(dir*0.01), collidedlist)
  22077. end
  22078. end
  22079. end
  22080. return hitz, enz, ray
  22081. end
  22082.  
  22083. function ChangeValue(obj,type,value)
  22084. local val = Instance.new("ObjectValue")
  22085. val.Name = type
  22086. val.Value = obj
  22087. local val2 = Instance.new("NumberValue",val)
  22088. val2.Name = "value"
  22089. val2.Value = value
  22090. if type == "PingTestIncrement" then
  22091. local val3 = Instance.new("NumberValue",val)
  22092. val3.Name = "time"
  22093. val3.Value = repstor.TickTimer.Value
  22094. end
  22095. val.Parent = workspace.ValueChanger1
  22096. end
  22097.  
  22098. function SnowballHit(part,pos,power)
  22099. if part.Parent:findFirstChild("Humanoid") then
  22100. local dmg = (45*power) - math.random(1,4)
  22101. dmg = power > 0.99 and dmg*1.25 or dmg
  22102. print("Damaging",part.Parent.Name,"by",dmg)
  22103. part.Parent.Humanoid.Health = -dmg
  22104. end
  22105. SnowSplosion(pos)
  22106. end
  22107.  
  22108. function SnowSplosion(pos)
  22109. local spmdl = Instance.new("Model", char)
  22110. spmdl.Name = "SnoSplosion"
  22111. for i = 1, 14 do
  22112. local p = P:Clone()
  22113. p.Parent = spmdl
  22114. p.Name = "Effect"
  22115. p.Anchored = true
  22116. p.BrickColor = BrickColor.new("White")
  22117. p.CFrame = CFrame.new(pos) * CFrame.Angles(0,(math.pi*2)*math.random(),(math.pi*2)*math.random()) * CFrame.new(0.05,0,0)
  22118. p.Transparency = 0.2
  22119. local mesh = Instance.new("SpecialMesh",p)
  22120. mesh.MeshType = "Sphere"
  22121. mesh.Scale = Vector3.new(5,2,2)
  22122. end
  22123. table.insert(SnowSplosionEffects,spmdl)
  22124. end
  22125. ----------------------------------
  22126.  
  22127. ---- value setup ---------
  22128.  
  22129. local pose = Instance.new("IntValue", script)
  22130. pose.Name = "pose"
  22131. pose.Value = 0
  22132. local invoke = Instance.new("IntValue", script)
  22133. invoke.Name = "invoke"
  22134. invoke.Value = 0
  22135. local snowballs = Instance.new("IntValue", script)
  22136. snowballs.Name = "snowballs"
  22137. snowballs.Value = 8
  22138. local Main = Instance.new("ObjectValue", script)
  22139. Main.Name = "Main"
  22140.  
  22141. for i, v in pairs(char:GetChildren()) do
  22142. if v.Name == "health" and v.className == "NumberValue" then
  22143. v:Destroy()
  22144. end
  22145. end
  22146. local health = Instance.new("NumberValue", char)
  22147. health.Name = "health"
  22148. health.Value = 100
  22149. health.Changed:connect(function()
  22150. if health.Value <= 0 then
  22151. char:BreakJoints()
  22152. end
  22153. end)
  22154.  
  22155. snowballs.Changed:connect(function()
  22156. snowballs.Value = snowballs.Value > 8 and 8 or snowballs.Value
  22157. snowballs.Value = snowballs.Value < 0 and 0 or snowballs.Value
  22158. local percentage = snowballs.Value/8
  22159. SnowPart.Mesh.Scale = Vector3.new(0.71,0.6*percentage,0.71) *5
  22160. SnowPart.Weld.C0 = CFrame.new(0,-0.08 - (0.3*(1-percentage)),0)
  22161. SnowPart.Transparency = percentage == 0 and 1 or 0
  22162. end)
  22163.  
  22164. player.Chatted:connect(function(msg)
  22165. if string.sub(msg:lower(),1,5) == "pose/" then
  22166. pose.Value = tonumber(string.sub(msg,6))
  22167. elseif string.sub(msg:lower(),1,7) == "invoke/" then
  22168. invoke.Value = tonumber(string.sub(msg,8))
  22169. elseif msg == "replenish" then
  22170. snowballs.Value = 8
  22171. end
  22172. end)
  22173.  
  22174. ------ designs -------------
  22175. function Build()
  22176. for i, v in pairs(char:children()) do
  22177. if v.Name == "Mozzarella" then
  22178. v:Destroy()
  22179. end
  22180. end
  22181. local m = Instance.new("Model", script)
  22182. m.Name = "Mozzarella"
  22183.  
  22184. local b = P:Clone()
  22185. b.Parent = m
  22186. b.Name = "Bag"
  22187. b.BrickColor = BrickColor.new("Lime green")
  22188. b.Transparency = 1
  22189. local mesh = Instance.new("SpecialMesh",b)
  22190. mesh.MeshType = "Brick"
  22191. mesh.Scale = Vector3.new(0.8,0.6,0.8) *5
  22192. local w = Instance.new("Weld",b)
  22193. w.Part0 = RL
  22194. w.Part1 = b
  22195. w.C0 = CFrame.new(0.82,0.5,0)
  22196.  
  22197. for i = 1, 10 do
  22198. local p = P:Clone()
  22199. p.Parent = m
  22200. p.Name = "BagPart"
  22201. p.BrickColor = BrickColor.new("Dark orange")
  22202. p.Material = "Fabric"
  22203. local mesh = Instance.new("SpecialMesh",p)
  22204. mesh.MeshType = "Brick"
  22205. mesh.Scale = Vector3.new(0.1,0.4,0.26) *5
  22206. local w = Instance.new("Weld",p)
  22207. w.Part0 = b
  22208. w.Part1 = p
  22209. w.C1 = CFrame.new(0.35,0.004*(i%2),0)
  22210. w.C0 = CFrame.new(0,0.1,0) * CFrame.Angles(0,math.pi*2/10*i,0)
  22211.  
  22212. if i%2 == 0 then
  22213. for j = 0, 6 do
  22214. local mathi = math.sin(math.pi/2 + (math.pi/5*j))
  22215. local p = P:Clone()
  22216. p.Parent = m
  22217. p.Name = "BagPart"
  22218. p.BrickColor = BrickColor.new("Dark orange")
  22219. p.Material = "Fabric"
  22220. local mesh = Instance.new("SpecialMesh",p)
  22221. mesh.MeshType = "Brick"
  22222. mesh.Scale = Vector3.new(0.1,0.22,0.26*mathi) *5
  22223. local w = Instance.new("Weld",p)
  22224. w.Part0 = b
  22225. w.Part1 = p
  22226. w.C1 = CFrame.new(0.35,0,0)
  22227. w.C0 = CFrame.new(0,-0.2,0) * CFrame.Angles(0,math.pi*2/10*i,math.pi/6*j)
  22228. end
  22229. end
  22230. end
  22231.  
  22232. local s = P:Clone()
  22233. s.Parent = m
  22234. s.Name = "Snow"
  22235. s.BrickColor = BrickColor.new("White")
  22236. s.Transparency = 0
  22237. s.Material = "Sand"
  22238. local mesh = Instance.new("CylinderMesh",s)
  22239. mesh.Scale = Vector3.new(0.71,0.6,0.71) *5
  22240. local w = Instance.new("Weld",s)
  22241. w.Part0 = b
  22242. w.Part1 = s
  22243. w.C0 = CFrame.new(0,-0.08,0)
  22244. SnowPart = s
  22245.  
  22246. end
  22247. Build()
  22248. --------------------------------
  22249.  
  22250.  
  22251. -------------- snowball power charge gui ----------------------------
  22252. function CreateGui()
  22253. for i, v in pairs(Gui:GetChildren()) do
  22254. if v.Name == "SnowballPower" then
  22255. v:Destroy()
  22256. end
  22257. end
  22258. local g = Instance.new("ScreenGui", Gui)
  22259. g.Name = "SnowballPower"
  22260. local f = Instance.new("Frame",g)
  22261. f.Name = "Container"
  22262. f.Size = UDim2.new(0,30,0,110)
  22263. f.Position = UDim2.new(1,10,0.5,-55)
  22264. f.Transparency = 0
  22265. f.BackgroundColor3 = Color3.new(0.45,0.35,0.25)
  22266. f.BorderColor3 = Color3.new(0.55,0.45,0.35)
  22267. f.BorderSizePixel = 3
  22268. f.Archivable = false
  22269. f.ZIndex = 0
  22270. SPC = f
  22271. local b = Instance.new("Frame",f)
  22272. b.Name = "Backing"
  22273. b.Size = UDim2.new(0,20,0,100)
  22274. b.Position = UDim2.new(0.5,-10,0.5,-50)
  22275. b.BorderSizePixel = 0
  22276. b.BackgroundColor3 = Color3.new(0.1,0.45,0.01)
  22277. b.ZIndex = 1
  22278. SPB = b
  22279. local fr = b:Clone()
  22280. fr.Parent = b
  22281. fr.Size = UDim2.new(1,0,0.5,0)
  22282. fr.Position = UDim2.new(0,0,0.5,0)
  22283. fr.BackgroundColor3 = Color3.new(0.1,0.65,0.01)
  22284. SPF = fr
  22285.  
  22286. end
  22287. CreateGui()
  22288.  
  22289. -------------- limb setup ---------------
  22290. pcall(function() char.Animate:Destroy() end)
  22291.  
  22292. SetWeld(RS,1,1,NV,NV,Vector3.new(1.5,0.5,0),NV)
  22293. RS.C1 = CFrame.new(0,0.5,0)
  22294.  
  22295. SetWeld(LS,1,1,NV,NV,Vector3.new(-1.5,0.5,0),NV)
  22296. LS.C1 = CFrame.new(0,0.5,0)
  22297.  
  22298. SetWeld(RH,1,1,NV,NV,Vector3.new(0.5,-1,0),NV)
  22299. RH.C1 = CFrame.new(0,1,0)
  22300.  
  22301. SetWeld(LH,1,1,NV,NV,Vector3.new(-0.5,-1,0),NV)
  22302. LH.C1 = CFrame.new(0,1,0)
  22303.  
  22304. SetWeld(N,1,1,NV,NV,Vector3.new(0,1,0),NV)
  22305. N.C1 = CFrame.new(0,-0.5,0)
  22306.  
  22307. SetWeld(HRJ,1,1,NV,NV,NV,NV)
  22308. HRJ.C1 = CFrame.new(0,0,0)
  22309.  
  22310. wait(1)
  22311. RS.MaxVelocity = 0
  22312. RS.CurrentAngle = 0
  22313. RS.DesiredAngle = 0
  22314. LS.MaxVelocity = 0
  22315. LS.CurrentAngle = 0
  22316. LS.DesiredAngle = 0
  22317. RH.MaxVelocity = 0
  22318. RH.CurrentAngle = 0
  22319. RH.DesiredAngle = 0
  22320. LH.MaxVelocity = 0
  22321. LH.CurrentAngle = 0
  22322. LH.DesiredAngle = 0
  22323. N.MaxVelocity = 0
  22324. N.CurrentAngle = 0
  22325. N.DesiredAngle = 0
  22326. HRJ.MaxVelocity = 0
  22327. HRJ.CurrentAngle = 0
  22328. HRJ.DesiredAngle = 0
  22329.  
  22330. -----------------
  22331.  
  22332. ----- value changed connections ----
  22333. Main.Changed:connect(function()
  22334. if Main.Value ~= nil then
  22335. main,maina = GetWeld(Main.Value)
  22336. else
  22337. main,maina = nil,nil
  22338. end
  22339. end)
  22340.  
  22341. Hu.Changed:connect(function()
  22342. if disableJump or DisableMovement then
  22343. Hu.Jump = false
  22344. end
  22345. end)
  22346.  
  22347. ------- Keys & Mouse ---------------
  22348. function B1D()
  22349. MouseDown = true
  22350. if not Animating then
  22351. script.invoke.Value = 1
  22352. else
  22353. while Animating do
  22354. wait()
  22355. end
  22356. if MouseDown then
  22357. script.invoke.Value = 1
  22358. end
  22359. end
  22360. end
  22361. function B1U()
  22362. MouseDown = false
  22363. end
  22364. mouse.Button1Down:connect(B1D)
  22365. mouse.Button1Up:connect(B1U)
  22366.  
  22367. function KD(key)
  22368. if key == "0" then
  22369. Shift = true
  22370. if pose.Value == 1 then
  22371. pose.Value = 0
  22372. disableJump = false
  22373. end
  22374. elseif key == "4" then
  22375. Alt = true
  22376. if not Animating and SlideCooldown == 0 then
  22377. invoke.Value = 3
  22378. else
  22379. while Animating or SlideCooldown > 0 do
  22380. wait()
  22381. end
  22382. if Alt then
  22383. invoke.Value = 3
  22384. end
  22385. end
  22386. elseif key == "2" then
  22387. if not ThrowingSequence then
  22388. if pose.Value == 0 then
  22389. pose.Value = 1
  22390. disableJump = true
  22391. elseif pose.Value == 1 then
  22392. pose.Value = 0
  22393. disableJump = false
  22394. end
  22395. end
  22396. elseif key == string.char(32) then
  22397. Space = true
  22398. if pose.Value == 1 then
  22399. if not Animating then
  22400. invoke.Value = 2
  22401. else
  22402. while Animating do
  22403. wait()
  22404. end
  22405. if Space and pose.Value == 1 then
  22406. invoke.Value = 2
  22407. end
  22408. end
  22409. end
  22410. end
  22411. end
  22412.  
  22413. function KU(key)
  22414. if key == "0" then
  22415. Shift = false
  22416. elseif key == "4" then
  22417. Alt = false
  22418. elseif key == string.char(32) then
  22419. Space = false
  22420. end
  22421. end
  22422.  
  22423. mouse.KeyDown:connect(KD)
  22424. mouse.KeyUp:connect(KU)
  22425.  
  22426. local count1 = 0
  22427. local angle = 0
  22428. local slidecount = 1
  22429. local slidecountmax = 1
  22430. local countspeed = 0.5
  22431. local cancella = false
  22432. local cancelra = false
  22433. local cancelrl = false
  22434. local cancelll = false
  22435. local canceln = false
  22436. local cancelhrp = false
  22437. local cancelmain = false
  22438. local anim = 0
  22439. local lastanim = -1
  22440. local lastpose = 0
  22441. local rs,rsa, ls,lsa, rh,rha, lh,lha, n,na, hrj,hrja, main,maina
  22442. local ghitz,genz
  22443. local prevvelocity = HRP.Velocity
  22444.  
  22445. function UpdateWP(max,sped)
  22446. max = max or 5
  22447. sped = sped or AnimSpeeds[anim+1]
  22448. rs,rsa = GetWeld(RS)
  22449. ls,lsa = GetWeld(LS)
  22450. rh,rha = GetWeld(RH)
  22451. lh,lha = GetWeld(LH)
  22452. n,na = GetWeld(N)
  22453. hrj,hrja = GetWeld(HRJ)
  22454. if Main.Value ~= nil then
  22455. main,maina = GetWeld(Main.Value)
  22456. end
  22457. slidecount = 0
  22458. slidecountmax = max
  22459. countspeed = sped
  22460. end
  22461.  
  22462. UpdateWP()
  22463. -------------- Invoke Animations -------------------------
  22464. function Throw()
  22465. if not Animating and snowballs.Value > 0 then
  22466. Animating = true
  22467. ThrowingSequence = true
  22468. pose.Value = 0
  22469. disableJump = false
  22470. ----- sword slash ------
  22471. cancelra = true
  22472. cancella = true
  22473. cancelhrp = true
  22474. canceln = true
  22475. cancelmain = true
  22476. local prevslidecount = slidecount
  22477. UpdateWP(slidecountmax,countspeed)
  22478. slidecount = prevslidecount
  22479.  
  22480. local phase = 0
  22481. local smdl = Instance.new("Model",char)
  22482. smdl.Name = "SnowBall"
  22483. local ball,weld
  22484. for i = 1, 17 do
  22485. if MouseDown then
  22486. if i <= 7 then
  22487. SetWeld(N,i,7,n,na,Vector3.new(0,1,0),Vector3.new(-0.3,-math.pi/8,0))
  22488. SetWeld(HRJ,i,7,hrj,hrja,Vector3.new(0,0,0.1),Vector3.new(0,-math.pi/20,0))
  22489. SetWeld(RS,i,7,rs,rsa,Vector3.new(1.5,0.26,0),Vector3.new(-0.2,0,-0.1))
  22490. SetWeld(LS,i,7,ls,lsa,Vector3.new(-1.5,0.525,-0.01),Vector3.new(-0.25,0,-0.12))
  22491. phase = 1
  22492. if i == 7 then
  22493. UpdateWP(slidecountmax,countspeed)
  22494. ChangeValue(snowballs,"Increment",-1)
  22495. ball = P:Clone()
  22496. ball.Parent = smdl
  22497. ball.BrickColor = BrickColor.new("White")
  22498. ball.Material = "Sand"
  22499. local mesh = Instance.new("SpecialMesh",ball)
  22500. mesh.MeshType = "Sphere"
  22501. mesh.Scale = Vector3.new(0.8,0.8,0.8) *5
  22502. weld = Instance.new("Weld",ball)
  22503. weld.Part0 = RA
  22504. weld.Part1 = ball
  22505. weld.C0 = CFrame.new(0,-1.3,0)
  22506. end
  22507. else
  22508. SetWeld(N,i-7,10,n,na,Vector3.new(0,1,0),Vector3.new(0.03,math.pi/9,0))
  22509. SetWeld(HRJ,i-7,10,hrj,hrja,Vector3.new(0,0,0.1),Vector3.new(0,-math.pi/8,0))
  22510. SetWeld(RS,i-7,10,rs,rsa,Vector3.new(1.4,0.5,0),Vector3.new(math.pi*1.05,0,0.2))
  22511. SetWeld(LS,i-7,10,ls,lsa,Vector3.new(-1.3,0.42,-0.1),Vector3.new(math.pi/4,0,-math.pi/8))
  22512. if i == 9 then
  22513. SPC.Archivable = true
  22514. SPB.BackgroundColor3 = Color3.new(0.45,0.1,0.01)
  22515. SPF.BackgroundColor3 = Color3.new(0.65,0.1,0.01)
  22516. SPF.Size = UDim2.new(1,0,0,0)
  22517. SPF.Position = UDim2.new(0,0,1,0)
  22518. end
  22519. phase = 2
  22520. end
  22521. wait(0.02)
  22522. end
  22523. end
  22524. local rs2,rsa2 = GetWeld(RS)
  22525. local ls2,lsa2 = GetWeld(LS)
  22526. local n2,na2 = GetWeld(N)
  22527. local hrj2,hrja2 = GetWeld(HRJ)
  22528.  
  22529. local powercounter = 20
  22530. local power = 0
  22531. while MouseDown do
  22532. powercounter = (powercounter%40) + 1
  22533. power = 1 - math.sin(math.pi/40*powercounter)
  22534. SPB.BackgroundColor3 = Color3.new((1-power)*0.35 +0.1,power*0.35 +0.1,0.01)
  22535. SPF.BackgroundColor3 = Color3.new((1-power)*0.55 +0.1,power*0.55 +0.1,0.01)
  22536. SPF.Size = UDim2.new(1,0,power,0)
  22537. SPF.Position = UDim2.new(0,0,1-power,0)
  22538. SetWeld(RS,power,1,rs2,rsa2,Vector3.new(1.4,0.6,0.05),Vector3.new(math.pi*1.17,0,0.3))
  22539. SetWeld(LS,power,1,ls2,lsa2,Vector3.new(-1.3,0.42,-0.16),Vector3.new(math.pi/2.45,0,-math.pi/5))
  22540. SetWeld(N,power,1,n2,na2,Vector3.new(0,1,0),Vector3.new(0.07,math.pi/8,-0.04))
  22541. SetWeld(HRJ,power,1,hrj2,hrja2,Vector3.new(0,0,0.1),Vector3.new(0,-math.pi/7,0))
  22542. phase = 3
  22543. wait(0.02)
  22544. end
  22545. SPC.Archivable = false
  22546. print("Phase:",phase)
  22547. rs2,rsa2 = GetWeld(RS)
  22548. ls2,lsa2 = GetWeld(LS)
  22549. n2,na2 = GetWeld(N)
  22550. hrj2,hrja2 = GetWeld(HRJ)
  22551.  
  22552. if phase == 1 or phase == 2 then
  22553. smdl:Destroy()
  22554. ChangeValue(snowballs,"Increment",1)
  22555. elseif phase == 3 then
  22556. print("Throwing with "..string.sub(tostring(power*100),1,5).."% power!")
  22557. local mousepos = mouse.Hit.p
  22558. for i = 1, 8 do
  22559. SetWeld(RS,i,8,rs2,rsa2,Vector3.new(1.4,0.6,0.05),Vector3.new((math.pi*0.6) -(1.8*power),0.18 - (0.65*power),0.3))
  22560. SetWeld(LS,i,8,ls2,lsa2,Vector3.new(-1.36,0.5,-0.06),Vector3.new((-math.pi/4) - (0.4*power),0.2,-math.pi/5))
  22561. SetWeld(N,i,8,n2,na2,Vector3.new(0,1,0),Vector3.new(-0.07,-math.pi/11 - (0.3*power),-0.04))
  22562. SetWeld(HRJ,i,8,hrj2,hrja2,Vector3.new(0,0,0.1),Vector3.new(0,(math.pi/10)+(0.3*power),0))
  22563. if i == 2 then
  22564. weld:Destroy()
  22565. ball.Anchored = true
  22566. --- {part,gravity,currentgravity,direction,speed,power,counter,{parts},life}
  22567. local snowball = {ball,0.1 + 0.8*(0.96-power),1 - (0.95*power),(mousepos-ball.Position).unit,1.8 + (3*power),power,1,{},0}
  22568. if power > 0.99 then
  22569. for i = 1, 20 do
  22570. local p = P:Clone()
  22571. p.Anchored = true
  22572. p.BrickColor = BrickColor.new("Bright yellow")
  22573. local mesh = Instance.new("SpecialMesh",p)
  22574. mesh.MeshId = "rbxassetid://9756362"
  22575. mesh.Scale = Vector3.new(0.32,0.32,0.32)
  22576. table.insert(snowball[8],p)
  22577. end
  22578. end
  22579. table.insert(SnowballProjectiles,snowball)
  22580. end
  22581. wait(0.02)
  22582. end
  22583. wait(0.02)
  22584. else
  22585. smdl:Destroy()
  22586. end
  22587.  
  22588. UpdateWP(slidecountmax,countspeed)
  22589. cancelra = false
  22590. cancella = false
  22591. cancelhrp = false
  22592. canceln = false
  22593. cancelmain = false
  22594.  
  22595. ThrowingSequence = false
  22596. Animating = false
  22597. elseif snowballs.Value <= 0 then
  22598. print("No snow left!")
  22599. -- alert saying you have no snow left in pouch
  22600. end
  22601. end
  22602.  
  22603. function DiveRoll()
  22604. if not Animating then
  22605. Animating = true
  22606. DisableMovement = true
  22607. cancelra = true
  22608. cancella = true
  22609. cancelhrp = true
  22610. canceln = true
  22611. cancelmain = true
  22612. cancelll = true
  22613. cancelrl = true
  22614. local prevslidecount = slidecount
  22615. UpdateWP(slidecountmax,countspeed)
  22616. slidecount = prevslidecount
  22617.  
  22618. local bv = Instance.new("BodyVelocity", HRP)
  22619. bv.maxForce = Vector3.new(1/0,0,1/0)
  22620. bv.velocity = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z)).lookVector * 28
  22621. local bg = Instance.new("BodyGyro", HRP)
  22622. bg.maxTorque = Vector3.new(1/0,1/0,1/0)
  22623. bg.cframe = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z))
  22624. bg.D = 100
  22625. game:GetService("Debris"):AddItem(bv,2.5)
  22626. game:GetService("Debris"):AddItem(bg,2.5)
  22627.  
  22628. local connex = game:GetService("RunService").RenderStepped:connect(function()
  22629. if HRP.Velocity.y > 0 then
  22630. HRP.Velocity = NV
  22631. end
  22632. HRP.CanCollide = false
  22633. end)
  22634. local connex2 = game:GetService("RunService").Stepped:connect(function()
  22635. local Ghitz,Genz = RAY(HRP.Position,Vector3.new(0,-3.1,0))
  22636. if Ghitz then
  22637. HRP.CFrame = (HRP.CFrame - HRP.Position) + Genz + Vector3.new(0,3,0)
  22638. end
  22639. end)
  22640.  
  22641. local animspd = 4
  22642. for i = 1, animspd do
  22643. SetWeld(N,i,animspd,n,na,Vector3.new(0,1,0),Vector3.new(math.pi/5,0,0),0)
  22644. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,0.4,0),Vector3.new(-math.pi/2.6,0,0),0)
  22645. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/1.2,0,0.2),0)
  22646. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/1.2,0,-0.2),0)
  22647. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-0.6,-0.1),Vector3.new(0.1,0,0.05),0)
  22648. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-0.6,-0.1),Vector3.new(0.1,0,-0.05),0)
  22649. wait(0.02)
  22650. end
  22651. UpdateWP(slidecountmax,countspeed)
  22652. for i = 1, animspd do
  22653. SetWeld(N,i,animspd,n,na,Vector3.new(0,1,0),Vector3.new(math.pi/12,0,0),0)
  22654. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-0.7,0),Vector3.new(-math.pi/1.5,0,0),0)
  22655. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.6,-0.06),Vector3.new(math.pi/1.3,0,0.2),0)
  22656. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.6,-0.06),Vector3.new(math.pi/1.3,0,-0.2),0)
  22657. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-1,0),Vector3.new(-0.1,0,0.05),0)
  22658. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-1,0),Vector3.new(-0.1,0,-0.05),0)
  22659. wait(0.02)
  22660. end
  22661. UpdateWP(slidecountmax,countspeed)
  22662. for i = 1, animspd do
  22663. SetWeld(N,i,animspd,n,na,Vector3.new(0,0.85,0),Vector3.new(-math.pi/4,0,0),0)
  22664. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-1,0),Vector3.new(-math.pi*0.9,0,0),0)
  22665. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/1.4,0,0.08),0)
  22666. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/1.4,0,-0.08),0)
  22667. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-0.3,-0.4),Vector3.new(-0.12,0,0.05),0)
  22668. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-0.3,-0.4),Vector3.new(-0.12,0,-0.05),0)
  22669. wait(0.02)
  22670. end
  22671. UpdateWP(slidecountmax,countspeed)
  22672. bv.velocity = bv.velocity * 0.9
  22673. for i = 1, animspd do
  22674. SetWeld(N,i,animspd,n,na,Vector3.new(0,0.85,0),Vector3.new(-math.pi/3.5,0,0),0)
  22675. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-1.25,0),Vector3.new(-math.pi*1.1,0,0),0)
  22676. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/1.8,0,-0.1),0)
  22677. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/1.8,0,0.1),0)
  22678. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,0.2,-0.7),Vector3.new(-0.12,0,0.05),0)
  22679. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,0.2,-0.7),Vector3.new(-0.12,0,-0.05),0)
  22680. wait(0.02)
  22681. end
  22682. UpdateWP(slidecountmax,countspeed)
  22683. for i = 1, animspd do
  22684. SetWeld(N,i,animspd,n,na,Vector3.new(0,0.85,0),Vector3.new(-math.pi/3.7,0,0),0)
  22685. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-2.3,0),Vector3.new(-math.pi*1.55,0,0),0)
  22686. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/2.4,0,-0.23),0)
  22687. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/2.4,0,0.23),0)
  22688. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,0.1,-0.7),Vector3.new(-0.1,0,0.04),0)
  22689. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,0.1,-0.7),Vector3.new(-0.1,0,-0.04),0)
  22690. wait(0.02)
  22691. end
  22692. UpdateWP(slidecountmax,countspeed)
  22693. bv.velocity = bv.velocity * 0.7
  22694. for i = 1, animspd do
  22695. SetWeld(N,i,animspd,n,na,Vector3.new(0,1.05,0),Vector3.new(-0.4,0,0),0)
  22696. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-1.6,0),Vector3.new(-math.pi*1.85,0,0),0)
  22697. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/3.2,0,-0.24),0)
  22698. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/3.2,0,0.24),0)
  22699. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-0.08,-0.6),Vector3.new(-0.22,0,0.04),0)
  22700. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-0.08,-0.6),Vector3.new(-0.22,0,-0.04),0)
  22701. wait(0.02)
  22702. end
  22703. UpdateWP(slidecountmax,countspeed)
  22704. bv.velocity = bv.velocity * 0.4
  22705. for i = 1, animspd do
  22706. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.35,0.66 + (angle*0.012),0.12),Vector3.new(0.2 + (angle*0.02),-0.22,0.446 + (angle*0.016)),0)
  22707. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.35,0.66 + (angle*0.012),0.12),Vector3.new(0.2 + (angle*0.02),0.22,-0.446 - (angle*0.016)),0)
  22708. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.7,-0.18 - (cangle*0.04),-0.2 - (angle*0.01)),Vector3.new(0.2 - (angle*0.12),-math.pi/5,0.12 - (angle*0.06)),0)
  22709. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.38,-0.32 + (cangle*0.04),-0.45 + (angle*0.01)),Vector3.new(-0.1 + (angle*0.15),-math.pi/5,-0.07 + (angle*0.07)),0)
  22710. SetWeld(N,i,animspd,n,na,Vector3.new(0,1,0),Vector3.new(0.12 + (angle*0.004),-math.pi/5 - (angle*0.01),0.1),0)
  22711. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-0.7,0),Vector3.new((-math.pi*2) -0.24 + (-angle*0.008),math.pi/5 + (angle*0.01),angle*0.01),0)
  22712. wait(0.02)
  22713. end
  22714.  
  22715. SetWeld(HRJ,1,1,hrj,hrja,Vector3.new(0,-0.7,0),Vector3.new(-0.24 + (-angle*0.008),math.pi/5 + (angle*0.01),angle*0.01))
  22716. bv:Destroy()
  22717. bg:Destroy()
  22718. connex:disconnect()
  22719. connex2:disconnect()
  22720.  
  22721. UpdateWP()
  22722. cancelra = false
  22723. cancella = false
  22724. cancelhrp = false
  22725. canceln = false
  22726. cancelmain = false
  22727. cancelll = false
  22728. cancelrl = false
  22729. Animating = false
  22730. DisableMovement = false
  22731. end
  22732. end
  22733.  
  22734. function Slide()
  22735. if not Animating and Shift and pose.Value == 0 and SlideCooldown == 0 and Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude >= 18 then
  22736. Animating = true
  22737. DisableMovement = true
  22738. cancelra = true
  22739. cancella = true
  22740. cancelhrp = true
  22741. canceln = true
  22742. cancelmain = true
  22743. cancelll = true
  22744. cancelrl = true
  22745. local prevslidecount = slidecount
  22746. UpdateWP(slidecountmax,countspeed)
  22747. slidecount = prevslidecount
  22748.  
  22749. local bv = Instance.new("BodyVelocity", HRP)
  22750. bv.maxForce = Vector3.new(1/0,0,1/0)
  22751. bv.velocity = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z)).lookVector * 30
  22752. local bg = Instance.new("BodyGyro", HRP)
  22753. bg.maxTorque = Vector3.new(1/0,1/0,1/0)
  22754. bg.cframe = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z))
  22755. bg.D = 100
  22756. game:GetService("Debris"):AddItem(bv,5.5)
  22757. game:GetService("Debris"):AddItem(bg,5.5)
  22758.  
  22759. local connex = game:GetService("RunService").RenderStepped:connect(function()
  22760. if HRP.Velocity.y > 0 then
  22761. HRP.Velocity = NV
  22762. end
  22763. HRP.CanCollide = false
  22764. end)
  22765.  
  22766. local animspd = 8
  22767. local animcount = 1
  22768. local bvaccel = 1
  22769. local bvvelo = bv.velocity
  22770. local lasttorpos = HRP.Position
  22771. local tickcount = 0
  22772. local cancelslide = false
  22773. local torsoangle = 0
  22774. while not cancelslide and  bvaccel > 0.16 do
  22775. tickcount = tickcount+1
  22776. lasttorpos = HRP.Position
  22777. animcount = (animcount < animspd and animcount+1) or animspd
  22778. local n2,na2 = GetWeld(N)
  22779. local hrj2,hrja2 = GetWeld(HRJ)
  22780. local rs2,rsa2 = GetWeld(RS)
  22781. local ls2,lsa2 = GetWeld(LS)
  22782. local rh2,rha2 = GetWeld(RH)
  22783. local lh2,lha2 = GetWeld(LH)
  22784. SetWeld(N,1,4,n2,na2,Vector3.new(0,1.08,-0.1),Vector3.new(-math.pi/4.3,-0.12,-0.08))
  22785. SetWeld(HRJ,1,4,hrj2,hrja2,Vector3.new(0,-2.1,0),Vector3.new((math.pi/2.6)+torsoangle,0.12 + (angle*0.008),0))
  22786. SetWeld(RS,1,4,rs2,rsa2,Vector3.new(1.4,0.6,-0.02),Vector3.new(-math.pi/1.8,-(angle*0.01),0.2 - (angle*0.009)))
  22787. SetWeld(LS,1,4,ls2,lsa2,Vector3.new(-1.3,0.6,-0.16),Vector3.new(-math.pi/1.8,-(angle*0.01),-0.6 - (angle*0.009)))
  22788. SetWeld(RH,1,4,rh2,rha2,Vector3.new(0.5,-0.8,0),Vector3.new(0.22,-0.06 - (angle*0.01),0.05))
  22789. SetWeld(LH,1,4,lh2,lha2,Vector3.new(-0.5,-0.35,-0.45),Vector3.new(-0.25,-0.12 - (angle*0.01),-0.03))
  22790. bv.velocity = bvvelo * bvaccel
  22791. wait(0.02)
  22792. local torsoatan = (CFrame.new(lasttorpos) * (HRP.CFrame-HRP.Position)):pointToObjectSpace(HRP.Position)
  22793. torsoangle = math.atan2(torsoatan.y,-torsoatan.z)
  22794. local Ghitz,Genz = RAY(HRP.Position,Vector3.new(0,-3.1,0))
  22795. if Ghitz then
  22796. HRP.CFrame = (HRP.CFrame - HRP.Position) + Genz + Vector3.new(0,3,0)
  22797. end
  22798. if (lasttorpos.y - HRP.Position.y) < -0.1 then
  22799. bvaccel = bvaccel - 0.045
  22800. elseif (lasttorpos.y - HRP.Position.y) > 0.08 then
  22801. bvaccel = bvaccel - 0.006
  22802. if Ghitz then
  22803. bvaccel = bvaccel + ((lasttorpos.y - HRP.Position.y) /2.5)
  22804. end
  22805. else
  22806. bvaccel = bvaccel - 0.017
  22807. end
  22808. bvaccel = bvaccel > 1.02 and 1.02 or bvaccel
  22809. local chitz,cenz = RAY(Torsoz.Position,Vector3.new(0,2.5,0))
  22810. local stationary = false
  22811. if tickcount > 5 then
  22812. stationary = (Vector3.new(lasttorpos.x,0,lasttorpos.z) - Vector3.new(HRP.Position.x,0,HRP.Position.z)).magnitude < 0.15
  22813. end
  22814. if bvaccel < 0.16 or (chitz == nil and not Alt) or stationary then
  22815. cancelslide = true
  22816. end
  22817. end
  22818.  
  22819. SlideCooldown = 14
  22820. bv:Destroy()
  22821. bg:Destroy()
  22822. connex:disconnect()
  22823.  
  22824. UpdateWP(slidecountmax,countspeed)
  22825. cancelra = false
  22826. cancella = false
  22827. cancelhrp = false
  22828. canceln = false
  22829. cancelmain = false
  22830. cancelll = false
  22831. cancelrl = false
  22832. Animating = false
  22833. DisableMovement = false
  22834. end
  22835. end
  22836.  
  22837. invokelist = {}
  22838. invokelist[1] = Throw
  22839. invokelist[2] = DiveRoll
  22840. invokelist[3] = Slide
  22841. invoke.Changed:connect(function()
  22842. if invoke.Value ~= 0 then
  22843. local valu = invoke.Value
  22844. invoke.Value = 0
  22845. if invokelist[valu] ~= nil then
  22846. invokelist[valu]()
  22847. end
  22848. end
  22849. end)
  22850.  
  22851. -------------- Animation Tween Funcs ----------------------
  22852. function Idle()
  22853. if script.pose.Value == 0 then
  22854. ----- regular --------
  22855. if not cancelra then
  22856. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(-0.1 + (angle*0.027),0,0.046 - (angle*0.021)))
  22857. end
  22858. if not cancella then
  22859. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(-0.1 + (angle*0.027),0,-0.046 + (angle*0.021)))
  22860. end
  22861. if not cancelrl then
  22862. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-1,0),Vector3.new(-0.05 + (angle*0.018),0,0.01 - (angle*0.005)))
  22863. end
  22864. if not cancelll then
  22865. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-1,0),Vector3.new(-0.05 + (angle*0.018),0,-0.01 + (angle*0.005)))
  22866. end
  22867. if not canceln then
  22868. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.04 + (-angle*0.02),0,0))
  22869. end
  22870. if not cancelhrp then
  22871. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(0.016 + (-angle*0.009),0,0))
  22872. end
  22873.  
  22874. elseif script.pose.Value == 1 then
  22875. ----- crouch --------
  22876. if not cancelra then
  22877. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.35,0.66 - (angle*0.012),0.12),Vector3.new(-0.1 + (angle*0.015),-0.22,0.446 - (angle*0.016)))
  22878. end
  22879. if not cancella then
  22880. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.35,0.66 - (angle*0.012),0.12),Vector3.new(-0.1 + (angle*0.015),0.22,-0.446 + (angle*0.016)))
  22881. end
  22882. if not cancelrl then
  22883. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.55,-1.05,-0.47 - (angle*0.006)),Vector3.new(-math.pi/2.2 + (angle*0.005),-math.pi/15,0.01 + (angle*0.005)))
  22884. end
  22885. if not cancelll then
  22886. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,0.3,-0.55),Vector3.new(0.3 + (angle*0.01),-math.pi/12,0.08 + (angle*0.005)))
  22887. end
  22888. if not canceln then
  22889. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.12 + (angle*0.004),-math.pi/5,0.1))
  22890. end
  22891. if not cancelhrp then
  22892. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,-1.4,0),Vector3.new(-0.16 + (-angle*0.007),math.pi/5,0))
  22893. end
  22894.  
  22895. elseif script.pose.Value == 2 then
  22896.  
  22897. end
  22898. end
  22899.  
  22900. function Walking()
  22901. if script.pose.Value == 0 then
  22902. ----- regular --------
  22903. if not cancelra then
  22904. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(angle*0.2,0,-math.abs(angle*0.02)))
  22905. end
  22906. if not cancella then
  22907. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(-angle*0.2,0,math.abs(angle*0.02)))
  22908. end
  22909. if not cancelrl then
  22910. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-1,0),Vector3.new(-angle*0.17,0,math.abs(angle*0.005)))
  22911. end
  22912. if not cancelll then
  22913. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-1,0),Vector3.new(angle*0.17,0,-math.abs(angle*0.005)))
  22914. end
  22915. if not canceln then
  22916. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.015 ,-angle*0.01,0))
  22917. end
  22918. if not cancelhrp then
  22919. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.015 - math.abs((angle*0.02)),angle*0.01,0))
  22920. end
  22921. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  22922. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  22923. end
  22924.  
  22925. elseif script.pose.Value == 1 then
  22926. ----- crouch --------
  22927. if not cancelra then
  22928. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.35,0.66 + (angle*0.012),0.12),Vector3.new(0.2 + (angle*0.02),-0.22,0.446 + (angle*0.016)))
  22929. end
  22930. if not cancella then
  22931. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.35,0.66 + (angle*0.012),0.12),Vector3.new(0.2 + (angle*0.02),0.22,-0.446 - (angle*0.016)))
  22932. end
  22933. if not cancelrl then
  22934. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.7,-0.18 - (cangle*0.04),-0.2 - (angle*0.01)),Vector3.new(0.2 - (angle*0.12),-math.pi/5,0.12 - (angle*0.06)))
  22935. end
  22936. if not cancelll then
  22937. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.38,-0.32 + (cangle*0.04),-0.45 + (angle*0.01)),Vector3.new(-0.1 + (angle*0.15),-math.pi/5,-0.07 + (angle*0.07)))
  22938. end
  22939. if not canceln then
  22940. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.12 + (angle*0.004),-math.pi/5 - (angle*0.01),0.1))
  22941. end
  22942. if not cancelhrp then
  22943. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,-0.7,0),Vector3.new(-0.24 + (-angle*0.008),math.pi/5 + (angle*0.01),angle*0.01))
  22944. end
  22945.  
  22946. elseif script.pose.Value == 2 then
  22947.  
  22948. end
  22949. end
  22950.  
  22951. function Running()
  22952. if script.pose.Value == 0 then
  22953. ----- regular --------
  22954. if not cancelra then
  22955. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5 - math.abs(angle*0.035),0.5 - math.abs(angle*0.02),0),Vector3.new(0.16 + (angle*0.42),0,-math.abs(angle*0.07)))
  22956. end
  22957. if not cancella then
  22958. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5 + math.abs(angle*0.035),0.5 - math.abs(angle*0.02),0),Vector3.new(0.16 + (-angle*0.42),0,math.abs(angle*0.07)))
  22959. end
  22960. if not cancelrl then
  22961. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-1 + math.abs(angle*0.05),0),Vector3.new(-angle*0.3,0,math.abs(angle*0.005)))
  22962. end
  22963. if not cancelll then
  22964. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-1 + math.abs(angle*0.05),0),Vector3.new(angle*0.3,0,-math.abs(angle*0.005)))
  22965. end
  22966. if not canceln then
  22967. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.07 + math.abs(-angle*0.02),-angle*0.03,0))
  22968. end
  22969. if not cancelhrp then
  22970. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.14 - math.abs(-angle*0.04),angle*0.035,NV))
  22971. end
  22972. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  22973. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  22974. end
  22975.  
  22976. elseif script.pose.Value == 1 then
  22977.  
  22978. elseif script.pose.Value == 2 then
  22979.  
  22980. end
  22981. end
  22982.  
  22983.  
  22984. function Jumping()
  22985. if script.pose.Value == 0 then
  22986. ----- regular --------
  22987. if not cancelra then
  22988. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(-0.16,0,0.3 + (angle*0.012)))
  22989. end
  22990. if not cancella then
  22991. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(-0.16,0,-0.3 - (angle*0.012)))
  22992. end
  22993. if not cancelrl then
  22994. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-0.8,-0.05),Vector3.new(-0.28 + (angle*0.02),0,0))
  22995. end
  22996. if not cancelll then
  22997. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-0.45,-0.55),Vector3.new(-0.4 - (angle*0.02),0,0))
  22998. end
  22999. if not canceln then
  23000. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-angle*0.01,0))
  23001. end
  23002. if not cancelhrp then
  23003. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(0.2 + (angle*0.002),angle*0.02,0))
  23004. end
  23005. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  23006. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  23007. end
  23008.  
  23009. elseif script.pose.Value == 1 then
  23010. ----- crouch --------
  23011. if not cancelra then
  23012. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(-0.16,0,0.3 + (angle*0.012)))
  23013. end
  23014. if not cancella then
  23015. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(-0.16,0,-0.3 - (angle*0.012)))
  23016. end
  23017. if not cancelrl then
  23018. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.7,-0.8,-0.05),Vector3.new(-0.28 + (angle*0.001),-math.pi/6,-0.2))
  23019. end
  23020. if not cancelll then
  23021. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.3,-0.45,-0.55),Vector3.new(-0.4 - (angle*0.001),-math.pi/6,-0.2))
  23022. end
  23023. if not canceln then
  23024. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-math.pi/5 - (angle*0.01),0))
  23025. end
  23026. if not cancelhrp then
  23027. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.07 + (angle*0.002),math.pi/5 + (angle*0.02),0))
  23028. end
  23029. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  23030. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  23031. end
  23032.  
  23033. elseif script.pose.Value == 2 then
  23034.  
  23035. end
  23036. end
  23037.  
  23038. function Falling()
  23039. if script.pose.Value == 0 then
  23040. ----- regular --------
  23041. if not cancelra then
  23042. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(math.pi*1.1,0,-0.08 + (angle*0.012)))
  23043. end
  23044. if not cancella then
  23045. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(math.pi*1.1,0,0.08 - (angle*0.012)))
  23046. end
  23047. if not cancelrl then
  23048. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-0.45,-0.55),Vector3.new(-0.4 + (angle*0.02),0,0))
  23049. end
  23050. if not cancelll then
  23051. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-0.8,-0.05),Vector3.new(-0.28 - (angle*0.02),0,0))
  23052. end
  23053. if not canceln then
  23054. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-angle*0.01,0))
  23055. end
  23056. if not cancelhrp then
  23057. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.2 + (angle*0.002),angle*0.02,0))
  23058. end
  23059. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  23060. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  23061. end
  23062.  
  23063. elseif script.pose.Value == 1 then
  23064. ----- crouch --------
  23065. if not cancelra then
  23066. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.65,0),Vector3.new(-0.1,0,0.3 + (angle*0.012)))
  23067. end
  23068. if not cancella then
  23069. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.65,0),Vector3.new(-0.1,0,-0.3 - (angle*0.012)))
  23070. end
  23071. if not cancelrl then
  23072. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.8,-0.1,-0.25),Vector3.new(-0.28 + (angle*0.001),-math.pi/6,-0.2))
  23073. end
  23074. if not cancelll then
  23075. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.3,-0.8,-0.55),Vector3.new(-0.4 - (angle*0.001),-math.pi/6,-0.2))
  23076. end
  23077. if not canceln then
  23078. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-math.pi/5 - (angle*0.01),0))
  23079. end
  23080. if not cancelhrp then
  23081. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.07 + (angle*0.002),math.pi/5 + (angle*0.02),0))
  23082. end
  23083. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  23084. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  23085. end
  23086.  
  23087. elseif script.pose.Value == 2 then
  23088.  
  23089. end
  23090. end
  23091.  
  23092. game:GetService("RunService").Stepped:connect(function()
  23093. count1 = (count1%100) + countspeed
  23094. angle = math.pi * math.sin(math.pi*2/100*count1)
  23095. cangle = math.pi * math.cos(math.pi*2/100*count1)
  23096.  
  23097. ------------- snowball power gui movement ------------------
  23098. if SPC.Archivable == true then
  23099. SPCP = SPCP ~= 14 and SPCP+1 or 14
  23100. else
  23101. SPCP = SPCP ~= 0 and SPCP-1 or 0
  23102. end
  23103. if SPC ~= nil then
  23104. local perc = math.sin((math.pi/2/14)*SPCP)
  23105. SPC.Position = UDim2.new(1,10 - (50*perc),0.5,-55)
  23106. if SPCP > 0 then
  23107. SPC.Visible = true
  23108. else
  23109. SPC.Visible = false
  23110. end
  23111. end
  23112.  
  23113. ------------- walkspeed changes -------------------------
  23114. if DisableMovement then
  23115. Walkspeed = 0
  23116. Hu.WalkSpeed = Walkspeed
  23117. else
  23118. if Shift and pose.Value ~= 1 then
  23119. Walkspeed = 25
  23120. Hu.WalkSpeed = Walkspeed
  23121. else
  23122. Walkspeed = 16
  23123. if pose.Value == 1 then
  23124. Hu.WalkSpeed = Walkspeed/2
  23125. else
  23126. Hu.WalkSpeed = Walkspeed
  23127. end
  23128. end
  23129. end
  23130.  
  23131. -------- animation slide count and pose smoothener --------------------
  23132. slidecount = (slidecount < slidecountmax and slidecount+1) or slidecountmax
  23133. SlideCooldown = (SlideCooldown > 0 and SlideCooldown-1) or 0
  23134.  
  23135. if script.pose.Value ~= lastpose then
  23136. UpdateWP()
  23137. end
  23138.  
  23139. --------- animation conditions -------------------
  23140.  
  23141. local ghitz, genz = RAY(Torsoz.Position,Vector3.new(0,-5.2,0))
  23142.  
  23143. if ghitz == nil and Torsoz.Velocity.y > 1 then
  23144. ----- jumping -----
  23145. anim = 3
  23146. if anim ~= lastanim then
  23147. UpdateWP(7)
  23148. end
  23149. Jumping()
  23150. elseif ghitz == nil and Torsoz.Velocity.y < -1 then
  23151. ----- falling ------
  23152. anim = 4
  23153. if anim ~= lastanim then
  23154. UpdateWP(7)
  23155. end
  23156. Falling()
  23157. elseif Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude < 2 then
  23158. ---- idle ---------
  23159. anim = 0
  23160. if anim ~= lastanim then
  23161. UpdateWP(6)
  23162. end
  23163. Idle()
  23164.  
  23165. elseif Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude < 17 then
  23166. ---- walking -------
  23167. anim = 1
  23168. if anim ~= lastanim then
  23169. UpdateWP(7)
  23170. end
  23171. Walking()
  23172.  
  23173. elseif Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude >= 17 then
  23174. ----- running -----
  23175. anim = 2
  23176. if anim ~= lastanim then
  23177. UpdateWP(5)
  23178. end
  23179. Running()
  23180.  
  23181. ------------
  23182. end
  23183.  
  23184. --------- breakfall roll --------
  23185. if ghitz ~= nil and prevvelocity.y < -110 then
  23186. invoke.Value = 2
  23187. end
  23188.  
  23189. --------- snowball projectile movement --------
  23190. for i, v in pairs(SnowballProjectiles) do
  23191. local oldpos = v[1].Position
  23192. v[1].CFrame = v[1].CFrame + (v[4]*v[5]) + Vector3.new(0,v[3],0)
  23193. local raydist = (v[1].Position-oldpos).unit*((oldpos-v[1].Position).magnitude+0.5)
  23194. local hitz,enz = RAY(v[1].Position,raydist)
  23195.  
  23196. v[3] = v[3] - 0.35*v[2]
  23197. v[9] = v[9] +1
  23198.  
  23199. if #v[8] > 0 then
  23200. v[8][v[7]].Parent = v[1].Parent
  23201. v[8][v[7]].Transparency = 0.5 - (0.3 * math.random())
  23202. v[8][v[7]].Mesh.Scale = Vector3.new(0.45,0.45,0.45) - (Vector3.new(0.3,0.3,0.3) * math.random())
  23203. v[8][v[7]].CFrame = CFrame.new(oldpos,v[1].Position) * CFrame.Angles(0,0,(math.pi*2)/(math.random(1,100)/100)) * CFrame.new(math.random(1,10)/20,0,0)
  23204. v[7] = (v[7]%#v[8]) +1
  23205. for j,vv in pairs(v[8]) do
  23206. vv.CFrame = vv.CFrame * CFrame.new(0.05,0,0) * CFrame.Angles(0,-0.1,-0.085)
  23207. end
  23208. end
  23209.  
  23210. if hitz ~= nil or v[9] >= 200 then
  23211. if hitz ~= nil then
  23212. SnowballHit(hitz,enz,v[6])
  23213. end
  23214. v[1].Parent:Destroy()
  23215. print("Removed Snowball#",i)
  23216. table.remove(SnowballProjectiles,i)
  23217. end
  23218.  
  23219. end
  23220.  
  23221. ------ snowball splosion effects -----
  23222. for i, v in pairs(SnowSplosionEffects) do
  23223. for j,vv in pairs(v:GetChildren()) do
  23224. vv.CFrame = vv.CFrame * CFrame.new(0.3,0,0)
  23225. vv.Transparency = vv.Transparency + 0.12
  23226. vv.Mesh.Scale = vv.Mesh.Scale + Vector3.new(0.3,-0.1,-0.1)
  23227. end
  23228. if v:FindFirstChild("Effect").Transparency > 0.9 then
  23229. v:Destroy()
  23230. table.remove(SnowSplosionEffects,i)
  23231. end
  23232. end
  23233.  
  23234. lastpose = script.pose.Value
  23235. lastanim = anim
  23236. prevvelocity = HRP.Velocity
  23237. end)
  23238.         end)
  23239. --
  23240. local button = Instance.new("TextButton")
  23241.         button.Parent = ws
  23242.         button.BackgroundColor3 = blak
  23243.         button.BorderColor3 = rede
  23244.         button.BorderSizePixel = 3
  23245.         button.Name = "Staff"
  23246.         button.Position = UDim2.new(0.5,3,0,165)
  23247.         button.Size = UDim2.new(0.5,-3,0,30)
  23248.         button.ZIndex = 2
  23249.         button.Font = tef
  23250.         button.FontSize = "Size14"
  23251.         button.Text = "Staff"
  23252.         button.TextColor3 = whit
  23253.                 button.MouseButton1Down:connect(function()
  23254.                 if script.Parent.className ~= "HopperBin" then
  23255.  
  23256. local admin = game.Players.LocalPlayer
  23257. bin = Instance.new("HopperBin", admin.Backpack)
  23258. player = bin.Parent.Parent.Character
  23259. rarm = player["Right Arm"]
  23260. larm = player["Left Arm"]
  23261. player.Humanoid.MaxHealth = 50
  23262. visible = true
  23263. parts = {}
  23264.  
  23265. function Check(pos)
  23266. local hurt = false
  23267. local players = game.Players:GetChildren()
  23268. for i = 1, #players do
  23269. if players[i].Character and hurt == false then
  23270. local parts = players[i].Character:GetChildren()
  23271. for q = 1, #parts do
  23272. if parts[q].className == "Part" and hurt == false then
  23273. local range = math.sqrt(math.pow(parts[q].Size.Z, 2) + math.sqrt(math.pow(parts[q].Size.X, 2) + math.pow(parts[q].Size.Y, 2)))
  23274. if (found - parts[q].Position).magnitude <= range then
  23275. hurt = true
  23276. character = parts[q].Parent
  23277. humanoid = character.Humanoid
  23278. character.Torso.CFrame = character.Torso.CFrame*CFrame.Angles(2,2,2)-amage(25)
  23279. humanoid:TakeDamage(50)
  23280. humanoid.Sit = true
  23281. end
  23282. end
  23283. end
  23284. end
  23285. end
  23286. end
  23287.  
  23288. function clean(min,thing2)
  23289. while min.Humanoid.Health ~= 0 do
  23290. local a = game.Players:GetChildren()
  23291. for i = 1, #a do
  23292. wait()
  23293. if (a[i].Character.Torso.Position - thing2.Position).magnitude < 5 then
  23294. a[i].Character.Humanoid:TakeDamage(5)
  23295. end
  23296. end
  23297. wait()
  23298. end
  23299. min:remove()
  23300. end
  23301.  
  23302. function fire(v)
  23303. local spawnPos = (tip2.CFrame * CFrame.new(0, 1, 0)).p
  23304. local HitSpot = RayCast(spawnPos, v)
  23305. local distance = (HitSpot - spawnPos).magnitude
  23306. start = nil
  23307. finish = nil
  23308. local num = math.random(3, 10)
  23309. for i = distance / num, distance, distance / num do
  23310. if start == nil then
  23311. start = tip2.CFrame.p
  23312. elseif start ~= nil then
  23313. start = finish
  23314. end
  23315. finish = CFrame.new(spawnPos, HitSpot)
  23316. if i ~= distance then
  23317. finish = (finish * CFrame.new(math.random(-5, 5), math.random(-1, 1), -i)).p
  23318. else
  23319. finish = HitSpot
  23320. end
  23321. local P = Instance.new("Part")
  23322. P.Name = "Magic"
  23323. P.formFactor = 0
  23324. P.Size = Vector3.new(1, 1, (start - finish).magnitude)
  23325. P.Parent = game.Workspace
  23326. P.BrickColor = BrickColor.new(1006)
  23327. P.Anchored = true
  23328. P.CanCollide = false
  23329. P.TopSurface = "Smooth"
  23330. P.BottomSurface = "Smooth"
  23331. P.Transparency = 0
  23332. m = Instance.new("BlockMesh")
  23333. m.Scale = Vector3.new(.25, .25, 1)
  23334. m.Offset = Vector3.new(0, -1000, 0)
  23335. m.VertexColor = Vector3.new(math.huge, math.huge, math.huge)
  23336. m.Parent = P
  23337. P.CFrame = CFrame.new(start, finish)
  23338. P.CFrame = P.CFrame * CFrame.new(0, 1000, P.Size.Z / -2)
  23339. table.insert(parts, P)
  23340. game:GetService("Debris"):AddItem(P, 2.5)
  23341. end
  23342. end
  23343.  
  23344. function RayCast(start, v)
  23345.  
  23346. local ray = Instance.new("Part")
  23347. ray.Parent = game.Workspace
  23348. ray.Anchored = true
  23349. ray.CFrame = CFrame.new(start)
  23350. ray.Size = Vector3.new(1,1,1)
  23351. ray.Shape = 0
  23352. ray.BottomSurface = 0
  23353. ray.TopSurface = 0
  23354. ray.Name = "Magic"
  23355. ray.Elasticity = 0
  23356. ray.Reflectance = 0
  23357. ray.Friction = 0
  23358. ray.Transparency = 0
  23359.  
  23360. local finding = true
  23361. far = 1000
  23362.  
  23363. while finding do
  23364. far = far - 1
  23365. if far > 0 then
  23366. local see = ray.Position + v
  23367. ray.Position = ray.Position + v
  23368. if ray.Position ~= see then
  23369. finding = false
  23370. found = see
  23371. end
  23372. else
  23373. finding = false
  23374. found = ray.Position
  23375. end
  23376. end
  23377.  
  23378. ray:remove()
  23379. Check(found)
  23380. return found
  23381. end
  23382.  
  23383. function kill(tar)
  23384. while tar.Parent.Humanoid.Health ~= 0 do
  23385. tar.Parent.Humanoid.Health = tar.Parent.Humanoid.Health -1
  23386. wait()
  23387. end
  23388. end
  23389.  
  23390. bin.Selected:connect(function(mouse)
  23391. if player.Torso:findFirstChild("Right Shoulder") ~= nil then
  23392. rs = player.Torso["Right Shoulder"]
  23393. rs.Part1 = nil
  23394. end
  23395. if player.Torso:findFirstChild("Left Shoulder") ~= nil then
  23396. ls = player.Torso["Left Shoulder"]
  23397. ls.Part1 = nil
  23398. end
  23399. if player:FindFirstChild("check") == nil then
  23400. rns = Instance.new("Weld")
  23401. rns.Parent = player.Torso
  23402. rns.Part0 = rns.Parent
  23403. rns.Part1 = player["Right Arm"]
  23404. rns.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23405. lns = Instance.new("Weld")
  23406. lns.Parent = player.Torso
  23407. lns.Part0 = lns.Parent
  23408. lns.Part1 = player["Left Arm"]
  23409. lns.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23410. rblade = Instance.new("Part")
  23411. rblade.BrickColor = BrickColor.new(1003)
  23412. rblade.Name ="check"
  23413. rblade.Parent = player
  23414. rblade.CanCollide = false
  23415. rblade.Size = Vector3.new(1,8,1)
  23416. rblade.formFactor = "Symmetric"
  23417. rblade.TopSurface = 0
  23418. rblade.BottomSurface = 0
  23419. rbm = Instance.new("BlockMesh")
  23420. rbm.Parent = rblade
  23421. rbm.Scale = Vector3.new(.4,1,.4)
  23422. rbw = Instance.new("Weld")
  23423. rbw.Parent = rblade
  23424. rbw.Part0 = rarm
  23425. rbw.Part1 = rblade
  23426. rbw.C1 = CFrame.new(0,0,1) *CFrame.Angles((math.pi*.5),(math.pi*0),(math.pi*0))
  23427. tip = Instance.new("Part")
  23428. tip.CanCollide = false
  23429. tip.TopSurface = 0
  23430. tip.BottomSurface = 0
  23431. tip.Parent = rblade
  23432. tip.Size = Vector3.new(1,1,1)
  23433. tip.formFactor = "Symmetric"
  23434. tip.BrickColor = BrickColor.new(1004)
  23435. tipm = Instance.new("BlockMesh")
  23436. tipm.Scale = Vector3.new(.41,.2,.41)
  23437. tipm.Parent = tip
  23438. tipw = Instance.new("Weld")
  23439. tipw.Parent = rblade
  23440. tipw.Part0 = rblade
  23441. tipw.Part1 = tip
  23442. tipw.C1 = CFrame.new(0,3.5,0)
  23443. tip2 = Instance.new("Part")
  23444. tip2.CanCollide = false
  23445. tip2.TopSurface = 0
  23446. tip2.BottomSurface = 0
  23447. tip2.Parent = rblade
  23448. tip2.Size = Vector3.new(1,1,1)
  23449. tip2.formFactor = "Symmetric"
  23450. tip2.BrickColor = BrickColor.new(1004)
  23451. tip2m = Instance.new("BlockMesh")
  23452. tip2m.Scale = Vector3.new(.41,.2,.41)
  23453. tip2m.Parent = tip2
  23454. tip2w = Instance.new("Weld")
  23455. tip2w.Parent = rblade
  23456. tip2w.Part0 = rblade
  23457. tip2w.Part1 = tip2
  23458. tip2w.C1 = CFrame.new(0,-3.5,0)
  23459. tip3 = Instance.new("Part")
  23460. tip3.CanCollide = false
  23461. tip3.TopSurface = 0
  23462. tip3.BottomSurface = 0
  23463. tip3.Parent = rblade
  23464. tip3.Size = Vector3.new(1,1,1)
  23465. tip3.formFactor = "Symmetric"
  23466. tip3.BrickColor = BrickColor.new(1004)
  23467. tip3m = Instance.new("BlockMesh")
  23468. tip3m.Scale = Vector3.new(.41,.2,.41)
  23469. tip3m.Parent = tip3
  23470. tip3w = Instance.new("Weld")
  23471. tip3w.Parent = rblade
  23472. tip3w.Part0 = rblade
  23473. tip3w.Part1 = tip3
  23474. tip3w.C1 = CFrame.new(0,-.5,0)
  23475. tip4 = Instance.new("Part")
  23476. tip4.CanCollide = false
  23477. tip4.TopSurface = 0
  23478. tip4.BottomSurface = 0
  23479. tip4.Parent = rblade
  23480. tip4.Size = Vector3.new(1,1,1)
  23481. tip4.formFactor = "Symmetric"
  23482. tip4.BrickColor = BrickColor.new(1004)
  23483. tip4m = Instance.new("BlockMesh")
  23484. tip4m.Scale = Vector3.new(.41,.2,.41)
  23485. tip4m.Parent = tip4
  23486. tip4w = Instance.new("Weld")
  23487. tip4w.Parent = rblade
  23488. tip4w.Part0 = rblade
  23489. tip4w.Part1 = tip4
  23490. tip4w.C1 = CFrame.new(0,.5,0)
  23491. tip5 = Instance.new("Part")
  23492. tip5.CanCollide = false
  23493. tip5.TopSurface = 0
  23494. tip5.BottomSurface = 0
  23495. tip5.Parent = rblade
  23496. tip5.Size = Vector3.new(1,1,1)
  23497. tip5.formFactor = "Symmetric"
  23498. tip5.BrickColor = BrickColor.new(1004)
  23499. tip5m = Instance.new("BlockMesh")
  23500. tip5m.Scale = Vector3.new(.41,.2,.41)
  23501. tip5m.Parent = tip5
  23502. tip5w = Instance.new("Weld")
  23503. tip5w.Parent = rblade
  23504. tip5w.Part0 = rblade
  23505. tip5w.Part1 = tip5
  23506. tip5w.C1 = CFrame.new(0,0,0)
  23507. tip6 = Instance.new("Part")
  23508. tip6.CanCollide = false
  23509. tip6.TopSurface = 0
  23510. tip6.BottomSurface = 0
  23511. tip6.Parent = rblade
  23512. tip6.Size = Vector3.new(1,1,1)
  23513. tip6.formFactor = "Symmetric"
  23514. tip6.BrickColor = BrickColor.new(1004)
  23515. tip6m = Instance.new("BlockMesh")
  23516. tip6m.Scale = Vector3.new(.05,.6,.41)
  23517. tip6m.Parent = tip6
  23518. tip6w = Instance.new("Weld")
  23519. tip6w.Parent = rblade
  23520. tip6w.Part0 = rblade
  23521. tip6w.Part1 = tip6
  23522. tip6w.C1 = CFrame.new(0,-3,0)
  23523. tip7 = Instance.new("Part")
  23524. tip7.CanCollide = false
  23525. tip7.TopSurface = 0
  23526. tip7.BottomSurface = 0
  23527. tip7.Parent = rblade
  23528. tip7.Size = Vector3.new(1,1,1)
  23529. tip7.formFactor = "Symmetric"
  23530. tip7.BrickColor = BrickColor.new(1004)
  23531. tip7m = Instance.new("BlockMesh")
  23532. tip7m.Scale = Vector3.new(.41,.6,.05)
  23533. tip7m.Parent = tip7
  23534. tip7w = Instance.new("Weld")
  23535. tip7w.Parent = rblade
  23536. tip7w.Part0 = rblade
  23537. tip7w.Part1 = tip7
  23538. tip7w.C1 = CFrame.new(0,-3,0)
  23539. tip6a = Instance.new("Part")
  23540. tip6a.CanCollide = false
  23541. tip6a.TopSurface = 0
  23542. tip6a.BottomSurface = 0
  23543. tip6a.Parent = rblade
  23544. tip6a.Size = Vector3.new(1,1,1)
  23545. tip6a.formFactor = "Symmetric"
  23546. tip6a.BrickColor = BrickColor.new(1004)
  23547. tip6am = Instance.new("BlockMesh")
  23548. tip6am.Scale = Vector3.new(.15,.6,.41)
  23549. tip6am.Parent = tip6a
  23550. tip6aw = Instance.new("Weld")
  23551. tip6aw.Parent = rblade
  23552. tip6aw.Part0 = rblade
  23553. tip6aw.Part1 = tip6a
  23554. tip6aw.C1 = CFrame.new(0,-2.5,0)
  23555. tip7a = Instance.new("Part")
  23556. tip7a.CanCollide = false
  23557. tip7a.TopSurface = 0
  23558. tip7a.BottomSurface = 0
  23559. tip7a.Parent = rblade
  23560. tip7a.Size = Vector3.new(1,1,1)
  23561. tip7a.formFactor = "Symmetric"
  23562. tip7a.BrickColor = BrickColor.new(1004)
  23563. tip7am = Instance.new("BlockMesh")
  23564. tip7am.Scale = Vector3.new(.41,.6,.15)
  23565. tip7am.Parent = tip7a
  23566. tip7aw = Instance.new("Weld")
  23567. tip7aw.Parent = rblade
  23568. tip7aw.Part0 = rblade
  23569. tip7aw.Part1 = tip7a
  23570. tip7aw.C1 = CFrame.new(0,-2.5,0)
  23571. tip6b = Instance.new("Part")
  23572. tip6b.CanCollide = false
  23573. tip6b.TopSurface = 0
  23574. tip6b.BottomSurface = 0
  23575. tip6b.Parent = rblade
  23576. tip6b.Size = Vector3.new(1,1,1)
  23577. tip6b.formFactor = "Symmetric"
  23578. tip6b.BrickColor = BrickColor.new(1004)
  23579. tip6bm = Instance.new("BlockMesh")
  23580. tip6bm.Scale = Vector3.new(.05,.6,.41)
  23581. tip6bm.Parent = tip6b
  23582. tip6bw = Instance.new("Weld")
  23583. tip6bw.Parent = rblade
  23584. tip6bw.Part0 = rblade
  23585. tip6bw.Part1 = tip6b
  23586. tip6bw.C1 = CFrame.new(0,-2,0)
  23587. tip7b = Instance.new("Part")
  23588. tip7b.CanCollide = false
  23589. tip7b.TopSurface = 0
  23590. tip7b.BottomSurface = 0
  23591. tip7b.Parent = rblade
  23592. tip7b.Size = Vector3.new(1,1,1)
  23593. tip7b.formFactor = "Symmetric"
  23594. tip7b.BrickColor = BrickColor.new(1004)
  23595. tip7bm = Instance.new("BlockMesh")
  23596. tip7bm.Scale = Vector3.new(.41,.6,.05)
  23597. tip7bm.Parent = tip7b
  23598. tip7bw = Instance.new("Weld")
  23599. tip7bw.Parent = rblade
  23600. tip7bw.Part0 = rblade
  23601. tip7bw.Part1 = tip7b
  23602. tip7bw.C1 = CFrame.new(0,-2,0)
  23603.  
  23604. rblade.Touched:connect(function(hit)
  23605. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  23606. if hit.Parent.Name ~= player.Name then
  23607. if hit.Parent.Humanoid.MaxHealth > 100 then
  23608. hit.Parent.Humanoid.MaxHealth = 100
  23609. end
  23610. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(5,15)
  23611. hit.Parent.Humanoid.Sit = true
  23612. for i = 1, (math.random(1,3)) do
  23613. wait()
  23614. local bleed = Instance.new("Part")
  23615. bleed.formFactor = "Symmetric"
  23616. bleed.Size = Vector3.new(1,1,1)
  23617. bleed.BrickColor = BrickColor.new(1004)
  23618. bleed.TopSurface = 0
  23619. bleed.BottomSurface = 0
  23620. bleed.Reflectance = .1
  23621. bleed.Transparency = 0
  23622. bleed.Parent = Workspace
  23623. bleed.Position = rblade.Position
  23624. local bleedm = Instance.new("SpecialMesh")
  23625. bleedm.MeshType = "Sphere"
  23626. bleedm.Scale = Vector3.new(.5,.5,.5)
  23627. bleedm.Parent = bleed
  23628. game:GetService("Debris"):AddItem(bleed, 5)
  23629. end
  23630. end
  23631. end
  23632. end)
  23633.  
  23634. end
  23635. -- animations--
  23636. right = rns
  23637. staff = rblade
  23638. left = lns
  23639. up = "right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))wait()right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))wait()right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))wait()right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))wait()right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))wait()right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))"
  23640. down = "right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))wait()right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))wait()right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))wait()right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))wait()right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))"
  23641. -- end of staff
  23642. mouse.KeyDown:connect(function(key)
  23643. -- moves
  23644. if key == "z" then
  23645. if rbw.Part0 == rarm then
  23646. rbw.Part0 = larm
  23647. end
  23648. end
  23649. if key == "x" then
  23650. if rbw.Part0 == larm then
  23651. rbw.Part0 = rarm
  23652. end
  23653. end
  23654. if key == "e" then
  23655. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23656. wait()
  23657. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  23658. wait()
  23659. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  23660. wait()
  23661. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  23662. wait()
  23663. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  23664. wait()
  23665. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  23666. wait(.5)
  23667. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  23668. wait()
  23669. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  23670. wait()
  23671. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  23672. wait()
  23673. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  23674. wait()
  23675. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23676. elseif key == "q" then
  23677. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23678. wait()
  23679. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  23680. wait()
  23681. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  23682. wait()
  23683. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  23684. wait()
  23685. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  23686. wait()
  23687. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  23688. wait(.5)
  23689. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  23690. wait()
  23691. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  23692. wait()
  23693. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  23694. wait()
  23695. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  23696. wait()
  23697. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23698. elseif key == "r" then
  23699. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23700. wait()
  23701. left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.3))
  23702. wait()
  23703. left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.35))
  23704. wait()
  23705. left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.4))
  23706. wait()
  23707. left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.45))
  23708. wait()
  23709. left.C1 = CFrame.new(0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.5))
  23710. wait(.2)
  23711. left.C1 = CFrame.new(0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.5))
  23712. wait()
  23713. left.C1 = CFrame.new(0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.5))
  23714. wait()
  23715. left.C1 = CFrame.new(0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.5))
  23716. wait()
  23717. left.C1 = CFrame.new(0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.5))
  23718. wait()
  23719. left.C1 = CFrame.new(0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*.5))
  23720. wait(.1)
  23721. left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.45))
  23722. wait()
  23723. left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.4))
  23724. wait()
  23725. left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.35))
  23726. wait()
  23727. left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.3))
  23728. wait()
  23729. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23730. elseif key == "t" then
  23731. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23732. wait()
  23733. right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.3))
  23734. wait()
  23735. right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.35))
  23736. wait()
  23737. right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.4))
  23738. wait()
  23739. right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.45))
  23740. wait()
  23741. right.C1 = CFrame.new(-0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.5))
  23742. wait(.2)
  23743. right.C1 = CFrame.new(-0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.5))
  23744. wait()
  23745. right.C1 = CFrame.new(-0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.5))
  23746. wait()
  23747. right.C1 = CFrame.new(-0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.5))
  23748. wait()
  23749. right.C1 = CFrame.new(-0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.5))
  23750. wait()
  23751. right.C1 = CFrame.new(-0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*-.5))
  23752. wait(.1)
  23753. right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.45))
  23754. wait()
  23755. right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.4))
  23756. wait()
  23757. right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.35))
  23758. wait()
  23759. right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.3))
  23760. wait()
  23761. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23762. end
  23763. -- spells-------------------------------------------------------------------------------------
  23764. if key == "f" then
  23765. loadstring(up)()
  23766. local wall = Instance.new("Part")
  23767. wall.Parent = Workspace
  23768. wall.Size = Vector3.new(10,1,10)
  23769. wall.formFactor = "Symmetric"
  23770. wall.CFrame = player.Torso.CFrame *CFrame.new(0,-3.42,0)
  23771. wall.TopSurface = 0
  23772. wall.BottomSurface = 0
  23773. wall.Anchored = true
  23774. wall.BrickColor = BrickColor.new(1006)
  23775. wall.Material = "Ice"
  23776. game:GetService("Debris"):AddItem(wall, 15)
  23777. while wall:IsDescendantOf(Workspace) do
  23778. wait()
  23779. wall.CFrame = player.Torso.CFrame*CFrame.new(0,-3.42,0)
  23780. end
  23781. wait(.5)
  23782. loadstring(down)()
  23783. end
  23784. if key == "g" then
  23785. if mouse.Target then
  23786. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  23787. local tar = mouse.Target
  23788. loadstring(up)()
  23789. local spark = Instance.new("Explosion")
  23790. spark.BlastRadius = 4
  23791. spark.BlastPressure = 0
  23792. spark.Parent = Workspace
  23793. spark.Position = tip2.Position
  23794. local ptar = tar.Parent
  23795. local mis = Instance.new("Part")
  23796. mis.formFactor = "Symmetric"
  23797. mis.Shape = "Ball"
  23798. mis.BrickColor = BrickColor.new(1006)
  23799. mis.Transparency = .5
  23800. mis.Size = Vector3.new(1,1,1)
  23801. mis.Parent = Workspace
  23802. mis.CFrame = staff.CFrame * CFrame.new(0,0,-15)
  23803. local misv = Instance.new("BodyVelocity")
  23804. misv.Parent = mis
  23805. misv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  23806. misv.velocity = mis.CFrame.lookVector * 50
  23807. local misg = Instance.new("BodyGyro")
  23808. misg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  23809. misg.Parent = mis
  23810. misg.cframe = CFrame.new(tar.Position, mis.Position)
  23811. mis.Touched:connect(function(hit)
  23812. if hit.Name == tar.Name then
  23813. local ex = Instance.new("Explosion")
  23814. ex.Parent = Workspace
  23815. ex.Position = mis.Position
  23816. mis:remove()
  23817. end
  23818. end)
  23819. wait(.5)
  23820. loadstring(down)()
  23821. while mis.Parent == Workspace and tar:IsDescendantOf(Workspace) do
  23822. wait()
  23823. misg.cframe = CFrame.new(tar.Position, mis.Position)
  23824. local fire = Instance.new("Explosion")
  23825. fire.Parent = Workspace
  23826. fire.Position = mis.Position
  23827. fire.BlastRadius = 2
  23828. misv.velocity = mis.CFrame.lookVector * -18
  23829. end
  23830. mis:remove()
  23831. end
  23832. end
  23833. end
  23834. if key == "b" then
  23835. loadstring(up)()
  23836. for i = 1,100 do
  23837. wait()
  23838. local p = Instance.new("Part")
  23839. p.BrickColor = BrickColor.new(1006)
  23840. p.Name ="check"
  23841. p.Parent = Workspace
  23842. p.CanCollide = false
  23843. p.Size = Vector3.new(1,3,1)
  23844. p.CFrame = player.Torso.CFrame + Vector3.new(math.random(-5,5),math.random(-2,4),math.random(-5,5))
  23845. p.formFactor = "Symmetric"
  23846. p.TopSurface = 0
  23847. p.BottomSurface = 0
  23848. p.Transparency = .5
  23849. local pm = Instance.new("SpecialMesh")
  23850. pm.Parent = p
  23851. pm.MeshType = "Sphere"
  23852. pm.Scale = Vector3.new((.2+(.05*i)),(.2+(.05*i)),(.2+(.05*i)))
  23853. local pbv = Instance.new("BodyVelocity")
  23854. pbv.Parent = p
  23855. pbv.velocity = Vector3.new(0,10,0)
  23856. game:GetService("Debris"):AddItem(p, .2)
  23857. player.Humanoid.Health = player.Humanoid.Health +2
  23858. end
  23859. player.Torso.CFrame = mouse.Hit + Vector3.new(0,4,0)
  23860. wait(.5)
  23861. loadstring(down)()
  23862. end
  23863. if key == "v" then
  23864. local tar = mouse.Target
  23865. if tar ~= nil then
  23866. if (tip6a.Position - tar.Position).magnitude < 100 then
  23867. loadstring(up)()
  23868. local shot = Instance.new("Part")
  23869. shot.Parent = Workspace
  23870. shot.BrickColor = BrickColor.new("Cyan")
  23871. shot.formFactor = "Symmetric"
  23872. shot.Size = Vector3.new(1,1,1)
  23873. shot.Anchored = true
  23874. local shotm = Instance.new("BlockMesh")
  23875. shotm.Scale = Vector3.new(.2,.2,(tip6a.Position - mouse.Hit.p).magnitude)
  23876. shot.CFrame = CFrame.new(((tip6a.Position + mouse.Hit.p)/2),mouse.Hit.p)
  23877. shotm.Parent = shot
  23878. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  23879. local ice = Instance.new("Part")
  23880. ice.Position = tar.Parent.Torso.Position
  23881. ice.Anchored = true
  23882. tar.Parent.Torso.Anchored = true
  23883. ice.BrickColor = BrickColor.new("Cyan")
  23884. ice.Size = Vector3.new(4,6,4)
  23885. ice.Reflectance = .2
  23886. ice.TopSurface = 0
  23887. ice.BottomSurface = 0
  23888. ice.Transparency = .5
  23889. ice.Parent = tar.Parent
  23890. coroutine.resume(coroutine.create(function() kill(tar) end))
  23891. end
  23892. wait(.1)
  23893. shot:remove()
  23894. end
  23895. wait(.5)
  23896. loadstring(down)()
  23897. end
  23898. end
  23899. if key == "c" then
  23900. local tar = mouse.Target
  23901. if tar ~= nil then
  23902. if (tip6a.Position - tar.Position).magnitude < 100 then
  23903. loadstring(up)()
  23904. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  23905. local shot = Instance.new("Part")
  23906. shot.Parent = Workspace
  23907. shot.BrickColor = BrickColor.new("Royal purple")
  23908. shot.formFactor = "Symmetric"
  23909. shot.Size = Vector3.new(1,1,1)
  23910. shot.Anchored = true
  23911. local shotm = Instance.new("BlockMesh")
  23912. shotm.Scale = Vector3.new(.2,.2,(tip6a.Position - mouse.Hit.p).magnitude)
  23913. shot.CFrame = CFrame.new(((tip6a.Position + mouse.Hit.p)/2),mouse.Hit.p)
  23914. shotm.Parent = shot
  23915. if tar.className == "Part" then
  23916. local ice = Instance.new("Part")
  23917. ice.CFrame = tar.CFrame
  23918. ice.Size = tar.Size + Vector3.new(1,1,1)
  23919. ice.Anchored = true
  23920. tar.Anchored = true
  23921. ice.BrickColor = BrickColor.new("Cyan")
  23922. ice.Reflectance = .2
  23923. ice.TopSurface = 0
  23924. ice.BottomSurface = 0
  23925. ice.Transparency = .5
  23926. ice.Parent = tar
  23927. ice.Friction = 0
  23928. game:GetService("Debris"):AddItem(ice, 10)
  23929. wait(.1)
  23930. shot:remove()
  23931. wait(.5)
  23932. loadstring(down)()
  23933. end
  23934. end
  23935. end
  23936. end
  23937. if key == "h" then
  23938. loadstring(up)()
  23939. local cf = CFrame.new(tip2.Position, mouse.Hit.p)
  23940. local v = cf.lookVector
  23941. local dx = (math.random() - .5) * .02
  23942. local dy = (math.random() - .5) * .02
  23943. local dz = (math.random() - .5) * .02
  23944. parts = {}
  23945. local f = coroutine.create(function() fire(Vector3.new(v.x + dx, v.y + dy, v.z + dz)) end)
  23946. coroutine.resume(f)
  23947. wait(.5)
  23948. loadstring(down)()
  23949. end
  23950. if key == "y" then
  23951. loadstring(up)()
  23952. for i = 2,101 do
  23953. wait()
  23954. local boulder = Instance.new("Part")
  23955. boulder.TopSurface = 0
  23956. boulder.BottomSurface = 0
  23957. boulder.Anchored = true
  23958. boulder.BrickColor = BrickColor.new("Dark stone grey")
  23959. boulder.Size = Vector3.new((i+math.random(-1,1)),(i+math.random(-1,1)),2)
  23960. boulder.CFrame = tip.CFrame * CFrame.new(0,0,-2*i)
  23961. boulder.Velocity = boulder.CFrame.lookVector * 500
  23962. boulder.Material = "Slate"
  23963. boulder.Parent = Workspace
  23964. boulder.Touched:connect(function(hit)
  23965. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  23966. hit.Parent.humanoid.Sit = true
  23967. end
  23968. end)
  23969. game:GetService("Debris"):AddItem(boulder, .8)
  23970. end
  23971. loadstring(down)()
  23972. end
  23973. if key == "n" then
  23974. local tar = mouse.Target
  23975. if tar~= nil then
  23976. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  23977. if tar.Parent:findFirstChild("Torso") ~= nil then
  23978. loadstring(up)()
  23979. for i = 1,100 do
  23980. wait()
  23981. local p = Instance.new("Part")
  23982. p.BrickColor = BrickColor.new(1006)
  23983. p.Name ="check"
  23984. p.Parent = Workspace
  23985. p.CanCollide = false
  23986. p.Size = Vector3.new(1,3,1)
  23987. p.CFrame = tar.Parent.Torso.CFrame + Vector3.new(math.random(-5,5),math.random(-2,4),math.random(-5,5))
  23988. p.formFactor = "Symmetric"
  23989. p.TopSurface = 0
  23990. p.BottomSurface = 0
  23991. p.Transparency = .5
  23992. local pm = Instance.new("SpecialMesh")
  23993. pm.Parent = p
  23994. pm.MeshType = "Sphere"
  23995. pm.Scale = Vector3.new((.2+(.05*i)),(.2+(.05*i)),(.2+(.05*i)))
  23996. local pbv = Instance.new("BodyVelocity")
  23997. pbv.Parent = p
  23998. pbv.velocity = Vector3.new(0,10,0)
  23999. game:GetService("Debris"):AddItem(p, .2)
  24000. tar.Parent.Humanoid.Health = tar.Parent.Humanoid.Health +2
  24001. end
  24002. tar.Parent.Torso.CFrame = mouse.Hit + Vector3.new(0,4,0)
  24003. wait(.5)
  24004. loadstring(down)()
  24005. end
  24006. end
  24007. end
  24008. end
  24009. if key == "u" then
  24010. loadstring(up)()
  24011. local start = Instance.new("Part")
  24012. start.Parent = Workspace
  24013. start.Position = mouse.Hit.p + Vector3.new(0,18,0)
  24014. start.Anchored = true
  24015. start.Size = Vector3.new(1,1,1)
  24016. start.Transparency = 1
  24017. for i = 1,36 do
  24018. start.CFrame = start.CFrame * CFrame.Angles(math.rad(0),math.rad(5),math.rad(0))
  24019. local wall1 = Instance.new("Part")
  24020. wall1.Parent = Workspace
  24021. wall1.BrickColor = BrickColor.new("Really black")
  24022. wall1.Size = Vector3.new(1,10,1)
  24023. wall1.Anchored = true
  24024. wall1.TopSurface = 0
  24025. wall1.CFrame = start.CFrame * CFrame.new(10,-15,0)
  24026. local wall2 = Instance.new("Part")
  24027. wall2.Parent = Workspace
  24028. wall2.BrickColor = BrickColor.new("Really black")
  24029. wall2.Size = Vector3.new(1,10,1)
  24030. wall2.Anchored = true
  24031. wall2.TopSurface = 0
  24032. wall2.CFrame = start.CFrame * CFrame.new(10,-15,0)
  24033. local wall1a = Instance.new("Part")
  24034. wall1a.Parent = Workspace
  24035. wall1a.BrickColor = BrickColor.new("Really black")
  24036. wall1a.Size = Vector3.new(1,10,1)
  24037. wall1a.Anchored = true
  24038. wall1a.TopSurface = 0
  24039. wall1a.CFrame = start.CFrame * CFrame.new(-10,-15,0)
  24040. local wall2a = Instance.new("Part")
  24041. wall2a.Parent = Workspace
  24042. wall2a.BrickColor = BrickColor.new("Really black")
  24043. wall2a.Size = Vector3.new(1,0,1)
  24044. wall2a.Anchored = true
  24045. wall2a.TopSurface = 0
  24046. wall2a.CFrame = start.CFrame * CFrame.new(-10,-15,0)
  24047. local roof = Instance.new("Part")
  24048. roof.Parent = Workspace
  24049. roof.Size = Vector3.new(0,1,1)
  24050. roof.BrickColor = BrickColor.new("Really black")
  24051. roof.Anchored = true
  24052. roof.CFrame = start.CFrame * CFrame.new(0,-10,0)
  24053. roof.TopSurface = 0
  24054. local roof2 = Instance.new("Part")
  24055. roof2.Parent = Workspace
  24056. roof2.Size = Vector3.new(1,1,20)
  24057. roof2.BrickColor = BrickColor.new("Really black")
  24058. roof2.Anchored = true
  24059. roof2.CFrame = start.CFrame * CFrame.new(0,-10,0)
  24060. roof2.TopSurface = 0
  24061. local roofa = Instance.new("Part")
  24062. roofa.Parent = Workspace
  24063. roofa.Size = Vector3.new(20,1,1)
  24064. roofa.BrickColor = BrickColor.new("Really black")
  24065. roofa.Anchored = true
  24066. roofa.CFrame = start.CFrame * CFrame.new(0,-20,0)
  24067. roofa.TopSurface = 0
  24068. local roof2a = Instance.new("Part")
  24069. roof2a.Parent = Workspace
  24070. roof2a.Size = Vector3.new(1,1,20)
  24071. roof2a.BrickColor = BrickColor.new("Really black")
  24072. roof2a.Anchored = true
  24073. roof2a.CFrame = start.CFrame * CFrame.new(0,-20,0)
  24074. roof2a.TopSurface = 0
  24075. game:GetService("Debris"):AddItem(roof, 15)
  24076. game:GetService("Debris"):AddItem(wall1, 15)
  24077. game:GetService("Debris"):AddItem(wall2, 15)
  24078. game:GetService("Debris"):AddItem(roof2, 15)
  24079. game:GetService("Debris"):AddItem(wall1a, 15)
  24080. game:GetService("Debris"):AddItem(wall2a, 15)
  24081. game:GetService("Debris"):AddItem(roofa, 15)
  24082. game:GetService("Debris"):AddItem(roof2a, 15)
  24083. wait()
  24084. end
  24085. start:remove()
  24086. wait(.5)
  24087. loadstring(down)()
  24088. end
  24089. if key == "m" then
  24090. local tar = mouse.Target
  24091. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  24092. if tar.Parent.Name == "Minion" then
  24093. loadstring(up)()
  24094. while tar.Parent.Humanoid.Health >= 1 do
  24095. wait()
  24096. if player.Humanoid.Health == 0 then
  24097. tar.Parent.Humanoid:TakeDamage(1000)
  24098. else
  24099. tar.Parent.Torso.move.position = mouse.Hit.p
  24100. end
  24101. end
  24102. loadstring(down)()
  24103. end
  24104. end
  24105. end
  24106. if key == "j" then
  24107. local tar = mouse.Target
  24108. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  24109. tar.Parent.Humanoid.Jump = true
  24110. end
  24111. elseif key == "k" then
  24112. local tar = mouse.Target
  24113. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  24114. tar.Parent.Humanoid.Sit = true
  24115. end
  24116. elseif key == "l" then
  24117. local tar = mouse.Target
  24118. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  24119. tar.Parent.Humanoid.PlatformStand = true
  24120. end
  24121. elseif key == "p" then
  24122. local min = Instance.new("Model")
  24123. min.Name = "Minion"
  24124. min.Parent = Workspace
  24125. local skel = Instance.new("Humanoid")
  24126. skel.Parent = min
  24127. skel.WalkSpeed = 16
  24128. skel.MaxHealth = 100
  24129. skel.Health = 100
  24130. local thing = Instance.new("Part")
  24131. thing.Name = "Head"
  24132. thing.formFactor = "Symmetric"
  24133. thing.TopSurface = 0
  24134. thing.BottomSurface = 0
  24135. thing.BrickColor = BrickColor.new(1003)
  24136. thing.Transparency = .3
  24137. thing.Size = Vector3.new(4,4,4)
  24138. thing.Parent = min
  24139. thing.Position = player.Torso.Position + Vector3.new(0,5,0)
  24140. thing.Shape = "Ball"
  24141. local thing2 = Instance.new("Part")
  24142. thing2.Name = "Torso"
  24143. thing2.formFactor = "Symmetric"
  24144. thing2.TopSurface = 0
  24145. thing2.BottomSurface = 0
  24146. thing2.BrickColor = BrickColor.new(1004)
  24147. thing2.Size = Vector3.new(1,1,1)
  24148. thing2.Parent = min
  24149. thing2.Position = player.Torso.Position + Vector3.new(0,5,0)
  24150. thing2.Shape = "Ball"
  24151. local live = Instance.new("Weld")
  24152. live.Parent = thing2
  24153. live.Part0 = thing2
  24154. live.Part1 = thing
  24155. live.Name = "Neck"
  24156. local move = Instance.new("BodyPosition")
  24157. move.Parent = thing2
  24158. move.position = player.Torso.Position
  24159. move.maxForce = Vector3.new(100,0,100)
  24160. move.Name = "move"
  24161. thing.Touched:connect(function(hit)
  24162. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  24163. if hit.Parent.Name ~= player.Name then
  24164. if hit.Parent.Name ~= "Minion" then
  24165. if hit.Parent.Humanoid.MaxHealth > 100 then
  24166. hit.Parent.Humanoid.MaxHealth = 100
  24167. end
  24168. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(5,7)
  24169. hit.Parent.Humanoid.Sit = true
  24170. for i = 1, (math.random(1,3)) do
  24171. wait()
  24172. local bleed = Instance.new("Part")
  24173. bleed.formFactor = "Symmetric"
  24174. bleed.Size = Vector3.new(1,1,1)
  24175. bleed.BrickColor = BrickColor.new("Bright red")
  24176. bleed.TopSurface = 0
  24177. bleed.BottomSurface = 0
  24178. bleed.Reflectance = .1
  24179. bleed.Transparency = .4
  24180. bleed.Parent = Workspace
  24181. bleed.Position = thing.Position
  24182. local bleedm = Instance.new("SpecialMesh")
  24183. bleedm.MeshType = "Sphere"
  24184. bleedm.Scale = Vector3.new(.2,.2,.2)
  24185. bleedm.Parent = bleed
  24186. game:GetService("Debris"):AddItem(bleed, 5)
  24187. end
  24188. end
  24189. end
  24190. end
  24191. end)
  24192. coroutine.resume(coroutine.create(function() clean(min,thing2) end))
  24193. end
  24194. --end of keys
  24195. end)
  24196. --end of script
  24197. end)
  24198.  
  24199. bin.Deselected:connect(function()
  24200. staff:remove()
  24201. rs.Part1 = rarm
  24202. ls.Part1 = larm
  24203. right:remove()
  24204. left:remove()
  24205. end)
  24206. end
  24207. end)
  24208. --
  24209. local button = Instance.new("TextButton")
  24210.         button.Parent = ws
  24211.         button.BackgroundColor3 = blak
  24212.         button.BorderColor3 = rede
  24213.         button.BorderSizePixel = 3
  24214.         button.Name = "Empty"
  24215.         button.Position = UDim2.new(0,0,0,198)
  24216.         button.Size = UDim2.new(0.5,0,0,30)
  24217.         button.ZIndex = 2
  24218.         button.Font = tef
  24219.         button.FontSize = "Size14"
  24220.         button.Text = "Empty"
  24221.         button.TextColor3 = whit
  24222.         button.TextWrapped = true
  24223.                 button.MouseButton1Down:connect(function()
  24224.                
  24225.         end)
  24226. --
  24227. local button = Instance.new("TextButton")
  24228.         button.Parent = ws
  24229.         button.BackgroundColor3 = blak
  24230.         button.BorderColor3 = rede
  24231.         button.BorderSizePixel = 3
  24232.         button.Name = "Techno Gauntlet"
  24233.         button.Position = UDim2.new(0.5,3,0,198)
  24234.         button.Size = UDim2.new(0.48,0,0,30)
  24235.         button.ZIndex = 2
  24236.         button.Font = tef
  24237.         button.FontSize = "Size14"
  24238.         button.Text = "Techno Gauntlet"
  24239.         button.TextColor3 = whit
  24240.         button.TextWrapped = true
  24241.                 button.MouseButton1Down:connect(function()
  24242.         Player = game:GetService("Players").LocalPlayer
  24243. Character = Player.Character
  24244. PlayerGui = Player.PlayerGui
  24245. Backpack = Player.Backpack
  24246. Torso = Character.Torso
  24247. Head = Character.Head
  24248. Humanoid = Character.Humanoid
  24249. LeftArm = Character["Left Arm"]
  24250. LeftLeg = Character["Left Leg"]
  24251. RightArm = Character["Right Arm"]
  24252. RightLeg = Character["Right Leg"]
  24253. LS = Torso["Left Shoulder"]
  24254. LH = Torso["Left Hip"]
  24255. RS = Torso["Right Shoulder"]
  24256. RH = Torso["Right Hip"]
  24257. Neck = Torso.Neck
  24258. it=Instance.new
  24259. vt=Vector3.new
  24260. cf=CFrame.new
  24261. euler=CFrame.fromEulerAnglesXYZ
  24262. angles=CFrame.Angles
  24263. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  24264. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  24265. attack = false
  24266. attacktype = 1
  24267. attackdebounce = false
  24268. MMouse=nil
  24269. combo=0
  24270. Mode="Choose"
  24271. Aiming=false
  24272. DroneTarget=Torso.Position
  24273. Drone1=nil
  24274. Drone2=nil
  24275. Drone3=nil
  24276. Bullets=10
  24277. BowAim=false
  24278. SnipAim=false
  24279. --player
  24280. player = nil
  24281. --save shoulders
  24282. RSH, LSH = nil, nil
  24283. --welds
  24284. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  24285. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  24286.  
  24287.  
  24288. if Character:findFirstChild("Techno Gauntlet",true) ~= nil then
  24289. Character:findFirstChild("Techno Gauntlet",true).Parent = nil
  24290. end
  24291.  
  24292.  
  24293. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  24294. local fp = it("Part")
  24295. fp.formFactor = formfactor
  24296. fp.Parent = parent
  24297. fp.Reflectance = reflectance
  24298. fp.Transparency = transparency
  24299. fp.CanCollide = false
  24300. fp.Locked=true
  24301. fp.BrickColor = brickcolor
  24302. fp.Name = name
  24303. fp.Size = size
  24304. fp.Position = Torso.Position
  24305. fp.BottomSurface="Smooth"
  24306. fp.TopSurface="Smooth"
  24307. fp:BreakJoints()
  24308. return fp
  24309. end
  24310.  
  24311. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  24312. local mesh = it(Mesh)
  24313. mesh.Parent = part
  24314. if Mesh=="SpecialMesh" then
  24315. mesh.MeshType = meshtype
  24316. mesh.MeshId = meshid
  24317. end
  24318. mesh.Offset=offset
  24319. mesh.Scale=scale
  24320. return mesh
  24321. end
  24322.  
  24323. function weld(parent,part0,part1,c0)
  24324. local weld = it("Weld")
  24325. weld.Parent = parent
  24326. weld.Part0 = part0
  24327. weld.Part1 = part1
  24328. weld.C0 = c0
  24329. return weld
  24330. end
  24331.  
  24332. local cone=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Cone",vt(1,1,1))
  24333. local conemsh=mesh("SpecialMesh",cone,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.5,0.5,0.5))
  24334. local screen1=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Screen1",vt(1,1,1))
  24335. local screen1msh=mesh("BlockMesh",screen1,"","",vt(0,0,0),vt(0.1,0.8,0.9))
  24336. local screen2=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Screen2",vt(1,1,1))
  24337. local screen2msh=mesh("BlockMesh",screen2,"","",vt(0,0,0),vt(0.1,0.8,0.9))
  24338. local screen3=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Screen3",vt(1,1,1))
  24339. local screen3msh=mesh("BlockMesh",screen3,"","",vt(0,0,0),vt(0.1,0.8,0.9))
  24340. light1=Instance.new("PointLight")
  24341. light1.Brightness=.8
  24342. light1.Color=Color3.new(.2,.2,255)
  24343. light1.Range=10
  24344. light1.Parent=screen1
  24345. light2=light1:Clone()
  24346. light2.Parent=screen2
  24347. light3=light1:Clone()
  24348. light3.Parent=screen3
  24349.  
  24350. if Character:findFirstChild("Drone",true) ~= nil then
  24351. Character:findFirstChild("Drone",true).Parent = nil
  24352. end
  24353.  
  24354. local modelzorz = Instance.new("Model")
  24355. modelzorz.Parent = Character
  24356. modelzorz.Name = "Techno Gauntlet"
  24357.  
  24358. local prt1=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part1",vt(1,1,1))
  24359. local prt2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part2",vt(1,1,1))
  24360. local prt3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part3",vt(1,1,1))
  24361. local prt4=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part4",vt(1,1,1))
  24362. local prt5=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part5",vt(1,1,1))
  24363. local prt6=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part6",vt(1,1,1))
  24364. local prt7=part(3,modelzorz,0,0,Torso.BrickColor,"Part7",vt(1,1,1))
  24365. local prt8=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part8",vt(1,1,1))
  24366. local prt9=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part9",vt(1,1,1))
  24367. local prt10=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part10",vt(1,1,1))
  24368.  
  24369. msh1=mesh("BlockMesh",prt1,"","",vt(0,0,0),vt(1.1,0.6,1.1))
  24370. msh2=mesh("BlockMesh",prt2,"","",vt(0,0,0),vt(0.2,0.7,1.05))
  24371. msh3=mesh("BlockMesh",prt3,"","",vt(0,0,0),vt(1.05,0.7,0.2))
  24372. msh4=mesh("BlockMesh",prt4,"","",vt(0,0,0),vt(1.4,1.6,0.2))
  24373. msh5=mesh("BlockMesh",prt5,"","",vt(0,0,0),vt(1.4,1.6,0.2))
  24374. msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(0.6,0.1,0.6))
  24375. msh7=mesh("SpecialMesh",prt7,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  24376. msh8=mesh("CylinderMesh",prt8,"","",vt(0,0,0),vt(0.6,0.1,0.6))
  24377. msh9=mesh("CylinderMesh",prt9,"","",vt(0,0,0),vt(0.3,0.1,0.3))
  24378. msh10=mesh("CylinderMesh",prt10,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  24379.  
  24380. local wld1=weld(prt1,prt1,RightArm,euler(0,0,0)*cf(0,0.3,0))
  24381. local wld2=weld(prt2,prt2,prt1,euler(0,0,0)*cf(0,0.4,0))
  24382. local wld3=weld(prt3,prt3,prt1,euler(0,0,0)*cf(0,0.4,0))
  24383. local wld4=weld(prt4,prt4,prt1,euler(0,0.785,0)*cf(0,-0.51,0))
  24384. local wld5=weld(prt5,prt5,prt1,euler(0,-0.785,0)*cf(0,-0.51,0))
  24385. local wld6=weld(prt6,prt6,prt1,euler(0,0,0)*cf(0,-1.3,0))
  24386. local wld7=weld(prt7,prt7,prt6,euler(0,0,0)*cf(0,0,0))
  24387. local wld8=weld(prt8,prt8,prt1,euler(0,0,-1.57)*cf(-0.55,0,0))
  24388. local wld9=weld(prt9,prt9,prt8,euler(0,0,0)*cf(0,0.05,0))
  24389. local wld10=weld(prt10,prt10,prt9,euler(0,0,0)*cf(0,0.01,0))
  24390.  
  24391. numb2=0
  24392. for i=1,4 do
  24393. numb=0.3
  24394. for i=1,3 do
  24395. local prtclaw=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Partclaw",vt(1,1,1))
  24396. mshclaw=mesh("SpecialMesh",prtclaw,"Wedge","",vt(0,0,0),vt(0.1,0.3,0.1))
  24397. local wldclaw=weld(prtclaw,prtclaw,prt1,euler(1.57,-1.57,-1.57)*cf(-0.55,0.3,numb)*euler(0,numb2,0))
  24398. numb=numb-0.3
  24399. end
  24400. numb2=numb2+1.57
  24401. end
  24402.  
  24403. numb=0
  24404. for i=1,5 do
  24405. local prtgear=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Partgear",vt(1,1,1))
  24406. mshgear=mesh("BlockMesh",prtgear,"","",vt(0,0,0),vt(0.4,0.09,0.07))
  24407. local wldgear=weld(prtgear,prtgear,prt9,euler(0,numb,0)*cf(0,0,0))
  24408. numb=numb+0.628
  24409. end
  24410.  
  24411. local gun = Instance.new("Model")
  24412. gun.Parent = modelzorz
  24413. gun.Name = "Blitz"
  24414. gun.Parent=nil
  24415.  
  24416. local gprt1=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(1,1,1))
  24417. local gprt2=part(3,gun,0,0,BrickColor.new("Black"),"Part2",vt(1,1,1))
  24418. local gprt3=part(3,gun,0,0,BrickColor.new("Black"),"Part3",vt(1,1,1))
  24419. local gprt4=part(3,gun,0,0,BrickColor.new("Black"),"Part4",vt(1,1,1))
  24420. local gprt5=part(3,gun,0,0,BrickColor.new("Black"),"Part5",vt(1,1,1))
  24421. local gprt6=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part6",vt(1,1,1))
  24422. local gprt7=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part7",vt(1,1,1))
  24423. local gprt8=part(3,gun,0,0,BrickColor.new("Black"),"Part8",vt(1,1,1))
  24424. local gprt9=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part9",vt(1,1,1))
  24425. local gprt10=part(3,gun,0,0,BrickColor.new("Black"),"Part10",vt(1,1,1))
  24426. local gprt11=part(3,gun,0,0,BrickColor.new("Black"),"Part11",vt(1,1,1))
  24427. local gprt12=part(3,gun,0,0,BrickColor.new("Black"),"Part12",vt(1,1,1))
  24428. local gprt13=part(3,gun,0,0,BrickColor.new("Black"),"Part13",vt(1,1,1))
  24429. local gprt14=part(3,gun,0,0,BrickColor.new("Black"),"Part14",vt(1,1,1))
  24430. local gprt15=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part15",vt(1,1,1))
  24431. local gprt16=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part16",vt(1,1,1))
  24432. local gprt17=part(3,gun,0,0,BrickColor.new("Really black"),"Part17",vt(1,1,1))
  24433. local gprt18=part(3,gun,0,0,BrickColor.new("Black"),"Part18",vt(1,1,1))
  24434. local gprt19=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part19",vt(1,1,1))
  24435. local gprt20=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part20",vt(1,1,1))
  24436. local gprt21=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part21",vt(1,1,1))
  24437. local gprt22=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part22",vt(1,1,1))
  24438.  
  24439. gmsh1=mesh("BlockMesh",gprt1,"","",vt(0,0,0),vt(0.2,0.7,0.2))
  24440. gmsh2=mesh("BlockMesh",gprt2,"","",vt(0,0,0),vt(0.25,0.2,0.25))
  24441. gmsh3=mesh("BlockMesh",gprt3,"","",vt(0,0,0),vt(0.25,0.2,0.25))
  24442. gmsh4=mesh("BlockMesh",gprt4,"","",vt(0,0,0),vt(0.5,0.5,0.7))
  24443. gmsh5=mesh("CylinderMesh",gprt5,"","",vt(0,0,0),vt(0.5,0.49,0.5))
  24444. gmsh6=mesh("CylinderMesh",gprt6,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  24445. gmsh7=mesh("BlockMesh",gprt7,"","",vt(0,0,0),vt(0.55,0.3,0.3))
  24446. gmsh8=mesh("CylinderMesh",gprt8,"","",vt(0,0,0),vt(0.7,0.7,0.7))
  24447. gmsh9=mesh("CylinderMesh",gprt9,"","",vt(0,0,0),vt(0.4,0.71,0.4))
  24448. gmsh10=mesh("BlockMesh",gprt10,"","",vt(0,0,0),vt(0.3,0.4,0.3))
  24449. gmsh11=mesh("BlockMesh",gprt11,"","",vt(0,0,0),vt(0.2,2.5,0.5))
  24450. gmsh12=mesh("CylinderMesh",gprt12,"","",vt(0,0,0),vt(0.3,0.51,0.3))
  24451. gmsh13=mesh("BlockMesh",gprt13,"","",vt(0,0,0),vt(0.2,0.3,0.5))
  24452. gmsh14=mesh("CylinderMesh",gprt14,"","",vt(0,0,0),vt(0.3,0.2,0.3))
  24453. gmsh15=mesh("CylinderMesh",gprt15,"","",vt(0,0,0),vt(0.2,0.35,0.2))
  24454. gmsh16=mesh("CylinderMesh",gprt16,"","",vt(0,0,0),vt(0.2,0.21,0.2))
  24455. gmsh17=mesh("CylinderMesh",gprt17,"","",vt(0,0,0),vt(0.15,0.22,0.15))
  24456. gmsh18=mesh("CylinderMesh",gprt18,"","",vt(0,0,0),vt(0.6,0.2,0.6))
  24457. gmsh19=mesh("CylinderMesh",gprt19,"","",vt(0,0,0),vt(0.7,0.2,0.7))
  24458. gmsh20=mesh("CylinderMesh",gprt20,"","",vt(0,0,0),vt(0.6,1.5,0.6))
  24459. gmsh21=mesh("CylinderMesh",gprt21,"","",vt(0,0,0),vt(0.69,0.5,0.69))
  24460. gmsh22=mesh("CylinderMesh",gprt22,"","",vt(0,0,0),vt(0.69,0.31,0.69))
  24461.  
  24462. local GunWelds={}
  24463. local gwld1=weld(gprt1,gprt1,Torso,euler(0.5,1.57,0)*cf(1,-0.5,1.8))
  24464. local gwld2=weld(gprt2,gprt2,gprt1,euler(0,0,0)*cf(0,0.3,0))
  24465. local gwld3=weld(gprt3,gprt3,gprt1,euler(0,0,0)*cf(0,-0.3,0))
  24466. local gwld4=weld(gprt4,gprt4,gprt3,euler(-0.5,0,0)*cf(0,-0.1,-0.1))
  24467. local gwld5=weld(gprt5,gprt5,gprt4,euler(0,0,1.57)*cf(0,0,-0.35))
  24468. local gwld6=weld(gprt6,gprt6,gprt5,cf(0,0,-0.1))
  24469. local gwld7=weld(gprt7,gprt7,gprt4,cf(0,0,-0.1))
  24470. local gwld8=weld(gprt8,gprt8,gprt4,euler(0,0,1.57)*cf(0,0,0.4))
  24471. local gwld9=weld(gprt9,gprt9,gprt8,cf(0,0,0))
  24472. local gwld10=weld(gprt10,gprt10,gprt8,euler(1.57,0,0)*cf(0,0,0.4)*euler(0,0.7,0))
  24473. local gwld11=weld(gprt11,gprt11,gprt8,euler(1.57,0,0)*cf(0.3,0,0.9))
  24474. local gwld12=weld(gprt12,gprt12,gprt11,euler(-1.57,0,0)*cf(0,-1.3,0))
  24475. local gwld13=weld(gprt13,gprt13,gprt12,cf(0,0,0.3)*euler(0,1.57,0))
  24476. local gwld14=weld(gprt14,gprt14,gprt13,cf(0.05,0,0.25))
  24477. local gwld15=weld(gprt15,gprt15,gprt14,cf(0,0,0))
  24478. local gwld16=weld(gprt16,gprt16,gprt13,euler(0,0,1.57)*cf(0,0,-0.1))
  24479. local gwld17=weld(gprt17,gprt17,gprt16,cf(0,0,0))
  24480. local gwld18=weld(gprt18,gprt18,gprt8,euler(1.57,0,0)*cf(-0.1,0,0.4))
  24481. local gwld19=weld(gprt19,gprt19,gprt18,cf(-0.05,-0.15,0))
  24482. local gwld20=weld(gprt20,gprt20,gprt19,cf(0,-0.8,0))
  24483. local gwld21=weld(gprt21,gprt21,gprt20,cf(0,0.5,0))
  24484. local gwld22=weld(gprt22,gprt22,gprt20,cf(0,-0.6,0))
  24485. table.insert(GunWelds,gwld1)
  24486. table.insert(GunWelds,gwld2)
  24487. table.insert(GunWelds,gwld3)
  24488. table.insert(GunWelds,gwld4)
  24489. table.insert(GunWelds,gwld5)
  24490. table.insert(GunWelds,gwld6)
  24491. table.insert(GunWelds,gwld7)
  24492. table.insert(GunWelds,gwld8)
  24493. table.insert(GunWelds,gwld9)
  24494. table.insert(GunWelds,gwld10)
  24495. table.insert(GunWelds,gwld11)
  24496. table.insert(GunWelds,gwld12)
  24497. table.insert(GunWelds,gwld13)
  24498. table.insert(GunWelds,gwld14)
  24499. table.insert(GunWelds,gwld15)
  24500. table.insert(GunWelds,gwld16)
  24501. table.insert(GunWelds,gwld17)
  24502. table.insert(GunWelds,gwld18)
  24503. table.insert(GunWelds,gwld19)
  24504. table.insert(GunWelds,gwld20)
  24505. table.insert(GunWelds,gwld21)
  24506. table.insert(GunWelds,gwld22)
  24507.  
  24508. numb=1.57
  24509. for i=1,10 do
  24510. local gprt23=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part23",vt(1,1,1))
  24511. gmsh23=mesh("CylinderMesh",gprt23,"","",vt(0,0,0),vt(0.15,0.7,0.15))
  24512. local gwld23=weld(gprt23,gprt23,gprt20,cf(0,-0.1,-0.25)*euler(0,numb,0))
  24513. table.insert(GunWelds,gwld23)
  24514. local gprt24=part(3,gun,0,0,BrickColor.new("Really black"),"Part24",vt(1,1,1))
  24515. gmsh24=mesh("CylinderMesh",gprt24,"","",vt(0,0,0),vt(0.14,1.52,0.14))
  24516. local gwld24=weld(gprt24,gprt24,gprt20,cf(0,0,-0.25)*euler(0,numb,0))
  24517. table.insert(GunWelds,gwld24)
  24518. numb=numb+0.628
  24519. end
  24520.  
  24521. local sword=Instance.new("Model")
  24522. sword.Parent=modelzorz
  24523. sword.Name="Daku"
  24524. sword.Parent=nil
  24525.  
  24526. local sprt1=part(3,sword,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(1,1,1))
  24527. local sprt2=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part2",vt(1,1,1))
  24528. local sprt3=part(3,sword,0,0,BrickColor.new("Dark stone grey"),"Part3",vt(1,1,1))
  24529. local sprt4=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part4",vt(1,1,1))
  24530. local sprt5=part(3,sword,0,0,BrickColor.new("Light stone grey"),"Part5",vt(1,1,1))
  24531. local sprt6=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part6",vt(1,1,1))
  24532. local sprt7=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part7",vt(1,1,1))
  24533. local sprt8=part(3,sword,0,0,BrickColor.new("Light stone grey"),"Part8",vt(1,1,1))
  24534. local sprt9=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part9",vt(1,1,1))
  24535. local sprt10=part(3,sword,0,0,BrickColor.new("Dark stone grey"),"Part10",vt(1,1,1))
  24536. local sprt11=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part11",vt(1,1,1))
  24537. local sprt12=part(3,sword,0,0,BrickColor.new("Light stone grey"),"Part12",vt(1,1,1))
  24538. local sprt13=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part13",vt(1,1,1))
  24539. local sprt14=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part14",vt(1,1,1))
  24540. local sprt15=part(3,sword,0,0,BrickColor.new("Light stone grey"),"Part15",vt(1,1,1))
  24541. local sprt16=part(3,sword,0,1,BrickColor.new("Black"),"Hitbox",vt(1,7,1.5))
  24542. local sprt17=part(3,sword,0,0,BrickColor.new("Bright yellow"),"Top",vt(1,1,1))
  24543. local sprt18=part(3,sword,0,1,BrickColor.new("Black"),"Mid",vt(0.1,0.1,0.1))
  24544. local sprt19=part(3,sword,0,0,BrickColor.new("Bright yellow"),"Bottom",vt(1,1,1))
  24545.  
  24546. smsh1=mesh("BlockMesh",sprt1,"","",vt(0,0,0),vt(0.2,1,0.2))
  24547. smsh2=mesh("SpecialMesh",sprt2,"Head","",vt(0,0,0),vt(0.4,0.3,0.4))
  24548. smsh3=mesh("BlockMesh",sprt3,"","",vt(0,0,0),vt(0.25,0.5,0.25))
  24549. smsh4=mesh("SpecialMesh",sprt4,"Head","",vt(0,0,0),vt(0.5,0.3,0.5))
  24550. smsh5=mesh("CylinderMesh",sprt5,"","",vt(0,0,0),vt(0.5,0.2,0.5))
  24551. smsh6=mesh("BlockMesh",sprt6,"","",vt(0,0,0),vt(0.5,0.2,0.35))
  24552. smsh7=mesh("BlockMesh",sprt7,"","",vt(0,0,0),vt(0.2,0.19,0.2))
  24553. smsh8=mesh("BlockMesh",sprt8,"","",vt(0,0,0),vt(0.8,0.15,0.5))
  24554. smsh9=mesh("SpecialMesh",sprt9,"Head","",vt(0,0,0),vt(0.4,0.3,0.4))
  24555. smsh10=mesh("BlockMesh",sprt10,"","",vt(0,0,0),vt(0.25,0.5,0.25))
  24556. smsh11=mesh("SpecialMesh",sprt11,"Head","",vt(0,0,0),vt(0.5,0.3,0.5))
  24557. smsh12=mesh("CylinderMesh",sprt12,"","",vt(0,0,0),vt(0.5,0.2,0.5))
  24558. smsh13=mesh("BlockMesh",sprt13,"","",vt(0,0,0),vt(0.5,0.2,0.35))
  24559. smsh14=mesh("BlockMesh",sprt14,"","",vt(0,0,0),vt(0.2,0.19,0.2))
  24560. smsh15=mesh("BlockMesh",sprt15,"","",vt(0,0,0),vt(0.8,0.15,0.5))
  24561. smsh17=mesh("CylinderMesh",sprt17,"","",vt(0,0,0),vt(0.1,0.05,0.1))
  24562. smsh19=mesh("CylinderMesh",sprt19,"","",vt(0,0,0),vt(0.1,0.05,0.1))
  24563.  
  24564. local SwordWelds={}
  24565. local swld1=weld(sprt1,sprt1,Torso,euler(0,0,1.57)*cf(0,-4,0))
  24566. local swld2=weld(sprt2,sprt2,sprt1,euler(0,0,0)*cf(0,-0.4,0))
  24567. local swld3=weld(sprt3,sprt3,sprt2,euler(0,0,0)*cf(0,-0.3,0))
  24568. local swld4=weld(sprt4,sprt4,sprt3,euler(0,0,0)*cf(0,-0.3,0))
  24569. local swld5=weld(sprt5,sprt5,sprt4,euler(0,0,0)*cf(0,-0.15,0))
  24570. local swld6=weld(sprt6,sprt6,sprt5,euler(0,0,1.57)*cf(0,-0.2,0))
  24571. local swld7=weld(sprt7,sprt7,sprt6,euler(0,0.785,0)*cf(0,0,-0.17))
  24572. local swld8=weld(sprt8,sprt8,sprt5,euler(0,0,1.57)*cf(0,-0.4,0))
  24573. local swld9=weld(sprt9,sprt9,sprt1,euler(3.14,3.14,0)*cf(0,0.4,0))
  24574. local swld10=weld(sprt10,sprt10,sprt9,euler(0,0,0)*cf(0,-0.3,0))
  24575. local swld11=weld(sprt11,sprt11,sprt10,euler(0,0,0)*cf(0,-0.3,0))
  24576. local swld12=weld(sprt12,sprt12,sprt11,euler(0,0,0)*cf(0,-0.15,0))
  24577. local swld13=weld(sprt13,sprt13,sprt12,euler(0,0,1.57)*cf(0,-0.2,0))
  24578. local swld14=weld(sprt14,sprt14,sprt13,euler(0,0.785,0)*cf(0,0,-0.17))
  24579. local swld15=weld(sprt15,sprt15,sprt12,euler(0,0,1.57)*cf(0,-0.4,0))
  24580. local swld16=weld(sprt16,sprt16,sprt1,cf(0,0,-0.3))
  24581. local swld17=weld(sprt17,sprt17,sprt1,euler(0.55,0,0)*cf(0,3.7,-0.79))
  24582. local swld18=weld(sprt18,sprt18,sprt1,cf(0,0,-0.8))
  24583. local swld19=weld(sprt19,sprt19,sprt1,euler(-0.55,0,0)*cf(0,-3.7,-0.79))
  24584. table.insert(SwordWelds,swld1)
  24585. table.insert(SwordWelds,swld2)
  24586. table.insert(SwordWelds,swld3)
  24587. table.insert(SwordWelds,swld4)
  24588. table.insert(SwordWelds,swld5)
  24589. table.insert(SwordWelds,swld6)
  24590. table.insert(SwordWelds,swld7)
  24591. table.insert(SwordWelds,swld8)
  24592. table.insert(SwordWelds,swld9)
  24593. table.insert(SwordWelds,swld10)
  24594. table.insert(SwordWelds,swld11)
  24595. table.insert(SwordWelds,swld12)
  24596. table.insert(SwordWelds,swld13)
  24597. table.insert(SwordWelds,swld14)
  24598. table.insert(SwordWelds,swld15)
  24599. table.insert(SwordWelds,swld16)
  24600. table.insert(SwordWelds,swld17)
  24601. table.insert(SwordWelds,swld18)
  24602. table.insert(SwordWelds,swld19)
  24603.  
  24604. numb=0
  24605. numb2=0
  24606. bend=0
  24607. for i=1,8 do
  24608. local sprtblade1=part(3,sword,0.3,0,BrickColor.new("White"),"Partblade1",vt(1,1,1))
  24609. smshblade1=mesh("SpecialMesh",sprtblade1,"Wedge","",vt(0,0,0),vt(0.1+numb2,0.7,0.7))
  24610. local swldblade1=weld(sprtblade1,sprtblade1,sprt5,euler(0,0,0)*cf(0,-0.3-numb,0.1+bend)*euler(-bend,0,0))
  24611. table.insert(SwordWelds,swldblade1)
  24612. local sprtblade2=part(3,sword,0.3,0,BrickColor.new("White"),"Partblade2",vt(1,1,1))
  24613. smshblade2=mesh("SpecialMesh",sprtblade2,"Wedge","",vt(0,0,0),vt(0.1+numb2,0.7,0.7))
  24614. local swldblade2=weld(sprtblade2,sprtblade2,sprt12,euler(0,0,0)*cf(0,-0.3-numb,0.1+bend)*euler(-bend,0,0))
  24615. table.insert(SwordWelds,swldblade2)
  24616. numb=numb+0.3
  24617. numb2=numb2-0.01
  24618. bend=bend+0.05
  24619. end
  24620.  
  24621. local sniper=Instance.new("Model")
  24622. sniper.Parent=modelzorz
  24623. sniper.Name="Hand Sniper"
  24624. sniper.Parent=nil
  24625.  
  24626. local snprt1=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(1,1,1))
  24627. local snprt2=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part2",vt(1,1,1))
  24628. local snprt3=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part3",vt(1,1,1))
  24629. local snprt4=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part4",vt(1,1,1))
  24630. local snprt5=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part5",vt(1,1,1))
  24631. local snprt6=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part6",vt(1,1,1))
  24632. local snprt7=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part7",vt(1,1,1))
  24633. local snprt8=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part8",vt(1,1,1))
  24634. local snprt9=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part9",vt(1,1,1))
  24635. local snprt10=part(3,sniper,0,0,BrickColor.new("Black"),"Part10",vt(1,1,1))
  24636. local snprt11=part(3,sniper,0,0,BrickColor.new("Black"),"Part11",vt(1,1,1))
  24637. local snprt12=part(3,sniper,0,0,BrickColor.new("Black"),"Part12",vt(1,1,1))
  24638. local snprt13=part(3,sniper,0,0,BrickColor.new("Black"),"Part13",vt(1,1,1))
  24639. local snprt14=part(3,sniper,0,0,BrickColor.new("Black"),"Part14",vt(1,1,1))
  24640. local snprt15=part(3,sniper,0,0,BrickColor.new("Really black"),"Part15",vt(1,1,1))
  24641. local snprt16=part(3,sniper,0,0,BrickColor.new("Black"),"Part16",vt(1,1,1))
  24642. local snprt17=part(3,sniper,0,0,BrickColor.new("Black"),"Part17",vt(1,1,1))
  24643. local snprt18=part(3,sniper,0,0,BrickColor.new("Black"),"Part18",vt(1,1,1))
  24644. local snprt19=part(3,sniper,0,0,BrickColor.new("Black"),"Part19",vt(1,1,1))
  24645. local snprt20=part(3,sniper,0,0,BrickColor.new("Black"),"Part20",vt(1,1,1))
  24646. local snprt21=part(3,sniper,0,0,BrickColor.new("Black"),"Part21",vt(1,1,1))
  24647. local snprt22=part(3,sniper,0,0,BrickColor.new("Black"),"Part22",vt(1,1,1))
  24648. local snprt23=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part23",vt(1,1,1))
  24649. local snprt24=part(3,sniper,0,0,BrickColor.new("Medium stone grey"),"Part24",vt(1,1,1))
  24650. local snprt25=part(3,sniper,0,0,BrickColor.new("Black"),"Part25",vt(1,1,1))
  24651. local snprt26=part(3,sniper,0,0,BrickColor.new("Black"),"Part26",vt(1,1,1))
  24652. local snprt27=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part27",vt(1,1,1))
  24653. local snprt28=part(3,sniper,0,0,BrickColor.new("Black"),"Part28",vt(1,1,1))
  24654. local snprt29=part(3,sniper,0,0,BrickColor.new("Black"),"Part29",vt(1,1,1))
  24655.  
  24656. snmsh1=mesh("BlockMesh",snprt1,"","",vt(0,0,0),vt(0.2,1,0.2))
  24657. snmsh2=mesh("BlockMesh",snprt2,"","",vt(0,0,0),vt(0.201,0.5,0.5))
  24658. snmsh3=mesh("BlockMesh",snprt3,"","",vt(0,0,0),vt(0.2,0.3,0.3))
  24659. snmsh4=mesh("BlockMesh",snprt4,"","",vt(0,0,0),vt(0.199,0.6,0.7))
  24660. snmsh5=mesh("BlockMesh",snprt5,"","",vt(0,0,0),vt(0.198,0.9,0.3))
  24661. snmsh6=mesh("BlockMesh",snprt6,"","",vt(0,0,0),vt(0.202,3.5,0.3))
  24662. snmsh7=mesh("BlockMesh",snprt7,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  24663. snmsh8=mesh("BlockMesh",snprt8,"","",vt(0,0,0),vt(0.1,0.6,0.1))
  24664. snmsh9=mesh("BlockMesh",snprt9,"","",vt(0,0,0),vt(0.201,1.7,0.2))
  24665. snmsh10=mesh("BlockMesh",snprt10,"","",vt(0,0,0),vt(0.15,0.4,0.4))
  24666. snmsh11=mesh("BlockMesh",snprt11,"","",vt(0,0,0),vt(0.201,0.8,0.2))
  24667. snmsh12=mesh("CylinderMesh",snprt12,"","",vt(0,0,0),vt(0.2,4,0.2))
  24668. snmsh13=mesh("CylinderMesh",snprt13,"","",vt(0,0,0),vt(0.4,0.2,0.4))
  24669. snmsh14=mesh("CylinderMesh",snprt14,"","",vt(0,0,0),vt(0.22,0.3,0.22))
  24670. snmsh15=mesh("CylinderMesh",snprt15,"","",vt(0,0,0),vt(0.15,0.301,0.15))
  24671. snmsh16=mesh("BlockMesh",snprt16,"","",vt(0,0,0),vt(0.1,0.7,0.1))
  24672. snmsh17=mesh("BlockMesh",snprt17,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  24673. snmsh18=mesh("BlockMesh",snprt18,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  24674. snmsh19=mesh("BlockMesh",snprt19,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  24675. snmsh20=mesh("BlockMesh",snprt20,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  24676. snmsh21=mesh("CylinderMesh",snprt21,"","",vt(0,0,0),vt(0.2,0.099,0.2))
  24677. snmsh22=mesh("CylinderMesh",snprt22,"","",vt(0,0,0),vt(0.2,0.099,0.2))
  24678. snmsh23=mesh("CylinderMesh",snprt23,"","",vt(0,0,0),vt(0.199,1,0.199))
  24679. snmsh24=mesh("CylinderMesh",snprt24,"","",vt(0,0,0),vt(0.15,1.01,0.15))
  24680. snmsh25=mesh("BlockMesh",snprt25,"","",vt(0,0,0),vt(0.3,0.5,0.2))
  24681. snmsh26=mesh("CylinderMesh",snprt26,"","",vt(0,0,0),vt(0.05,0.3,0.05))
  24682. snmsh27=mesh("SpecialMesh",snprt27,"Sphere","",vt(0,0,0),vt(0.1,0.1,0.1))
  24683. snmsh28=mesh("BlockMesh",snprt28,"","",vt(0,0,0),vt(0.05,0.3,0.05))
  24684. snmsh29=mesh("CylinderMesh",snprt29,"","",vt(0,0,0),vt(0.15,0.4,0.15))
  24685.  
  24686. local SniperWelds={}
  24687. local snwld1=weld(snprt1,snprt1,Torso,euler(0.5,0,0)*cf(0,-4,0))
  24688. local snwld2=weld(snprt2,snprt2,snprt1,euler(-0.5,0,0)*cf(0,0.5,-0.2))
  24689. local snwld3=weld(snprt3,snprt3,snprt2,euler(-0.785,0,0)*cf(0,-0.1,-0.2))
  24690. local snwld4=weld(snprt4,snprt4,snprt3,euler(0.785,0,0)*cf(0,-0.4,0))
  24691. local snwld5=weld(snprt5,snprt5,snprt4,cf(0,0,-0.3))
  24692. local snwld6=weld(snprt6,snprt6,snprt1,euler(1.07,0,0)*cf(0,-0.5,0.2))
  24693. local snwld7=weld(snprt7,snprt7,snprt6,euler(0,0,0)*cf(0,0.2,0.5))
  24694. local snwld8=weld(snprt8,snprt8,snprt6,euler(1.57,0,0)*cf(0,-0.1,0.25))
  24695. local snwld9=weld(snprt9,snprt9,snprt6,euler(0,0,0)*cf(0,-0.9,0.25))
  24696. local snwld10=weld(snprt10,snprt10,snprt9,euler(0,0,0)*cf(0,0.5,0.2))
  24697. local snwld11=weld(snprt11,snprt11,snprt6,euler(0,0,0)*cf(0,0.2,-0.2))
  24698. local snwld12=weld(snprt12,snprt12,snprt11,euler(0,0,0)*cf(0,-2,0))
  24699. local snwld13=weld(snprt13,snprt13,snprt12,euler(0,0,0)*cf(0,-1.8,0))
  24700. local snwld14=weld(snprt14,snprt14,snprt12,euler(0,0,0)*cf(0,-2,0))
  24701. local snwld15=weld(snprt15,snprt15,snprt14,euler(0,0,0)*cf(0,0,0))
  24702. local snwld16=weld(snprt16,snprt16,snprt11,euler(0,0,0)*cf(0,0,-0.1))
  24703. local snwld17=weld(snprt17,snprt17,snprt16,euler(1.57,0,0)*cf(0.05,0.2,-0.1))
  24704. local snwld18=weld(snprt18,snprt18,snprt16,euler(1.57,0,0)*cf(-0.05,0.2,-0.1))
  24705. local snwld19=weld(snprt19,snprt19,snprt16,euler(1.57,0,0)*cf(-0.05,-0.2,-0.1))
  24706. local snwld20=weld(snprt20,snprt20,snprt16,euler(1.57,0,0)*cf(0.05,-0.2,-0.1))
  24707. local snwld21=weld(snprt21,snprt21,snprt16,euler(0,0,0)*cf(0,0.2,-0.2))
  24708. local snwld22=weld(snprt22,snprt22,snprt16,euler(0,0,0)*cf(0,-0.2,-0.2))
  24709. local snwld23=weld(snprt23,snprt23,snprt16,euler(0,0,0)*cf(0,0,-0.2))
  24710. local snwld24=weld(snprt24,snprt24,snprt23,euler(0,0,0)*cf(0,0,0))
  24711. local snwld25=weld(snprt25,snprt25,snprt6,euler(0,0,0)*cf(0,-0.5,0))
  24712. local snwld26=weld(snprt26,snprt26,snprt25,cf(0,-0.3,0)*euler(0.5,0.7,1.57))
  24713. local snwld27=weld(snprt27,snprt27,snprt26,cf(0,-0.1,0))
  24714. local snwld28=weld(snprt28,snprt28,snprt6,euler(1.57-0.5,0,0)*cf(0,0.2,0.2))
  24715. local snwld29=weld(snprt29,snprt29,snprt9,euler(0,0.2,1.57)*cf(0,-0.8,0.1))
  24716. table.insert(SniperWelds,snwld1)
  24717. table.insert(SniperWelds,snwld2)
  24718. table.insert(SniperWelds,snwld3)
  24719. table.insert(SniperWelds,snwld4)
  24720. table.insert(SniperWelds,snwld5)
  24721. table.insert(SniperWelds,snwld6)
  24722. table.insert(SniperWelds,snwld7)
  24723. table.insert(SniperWelds,snwld8)
  24724. table.insert(SniperWelds,snwld9)
  24725. table.insert(SniperWelds,snwld10)
  24726. table.insert(SniperWelds,snwld11)
  24727. table.insert(SniperWelds,snwld12)
  24728. table.insert(SniperWelds,snwld13)
  24729. table.insert(SniperWelds,snwld14)
  24730. table.insert(SniperWelds,snwld15)
  24731. table.insert(SniperWelds,snwld16)
  24732. table.insert(SniperWelds,snwld17)
  24733. table.insert(SniperWelds,snwld18)
  24734. table.insert(SniperWelds,snwld19)
  24735. table.insert(SniperWelds,snwld20)
  24736. table.insert(SniperWelds,snwld21)
  24737. table.insert(SniperWelds,snwld22)
  24738. table.insert(SniperWelds,snwld23)
  24739. table.insert(SniperWelds,snwld24)
  24740. table.insert(SniperWelds,snwld25)
  24741. table.insert(SniperWelds,snwld26)
  24742. table.insert(SniperWelds,snwld27)
  24743. table.insert(SniperWelds,snwld28)
  24744. table.insert(SniperWelds,snwld29)
  24745.  
  24746. numb=-0.15
  24747. numb2=0.1
  24748. for i=1,2 do
  24749. local snprt30=part(3,sniper,0,0,BrickColor.new("Black"),"Part30",vt(1,1,1))
  24750. local snprt31=part(3,sniper,0,0,BrickColor.new("Black"),"Part31",vt(1,1,1))
  24751. local snprt32=part(3,sniper,0,0,BrickColor.new("Black"),"Part32",vt(1,1,1))
  24752. local snprt33=part(3,sniper,0,0,BrickColor.new("Black"),"Part33",vt(1,1,1))
  24753. local snprt34=part(3,sniper,0,0,BrickColor.new("Black"),"Part34",vt(1,1,1))
  24754. local snprt35=part(3,sniper,0,0,BrickColor.new("Black"),"Part35",vt(1,1,1))
  24755. local snprt36=part(3,sniper,0,0,BrickColor.new("Black"),"Part36",vt(1,1,1))
  24756. local snprt37=part(3,sniper,0,0,BrickColor.new("Black"),"Part37",vt(1,1,1))
  24757. snmsh30=mesh("CylinderMesh",snprt30,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  24758. snmsh31=mesh("CylinderMesh",snprt31,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  24759. snmsh32=mesh("CylinderMesh",snprt32,"","",vt(0,0,0),vt(0.15,0.1,0.15))
  24760. snmsh33=mesh("CylinderMesh",snprt33,"","",vt(0,0,0),vt(0.125,0.3,0.125))
  24761. snmsh34=mesh("CylinderMesh",snprt34,"","",vt(0,0,0),vt(0.15,0.2,0.15))
  24762. snmsh35=mesh("CylinderMesh",snprt35,"","",vt(0,0,0),vt(0.08,0.8,0.08))
  24763. snmsh36=mesh("CylinderMesh",snprt36,"","",vt(0,0,0),vt(0.15,0.2,0.15))
  24764. snmsh37=mesh("CylinderMesh",snprt37,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  24765. local snwld30=weld(snprt30,snprt30,snprt29,euler(0,0,0)*cf(0,numb,0))
  24766. local snwld31=weld(snprt31,snprt31,snprt30,euler(0,0,1.57+numb2)*cf(0.25,0,0))
  24767. local snwld32=weld(snprt32,snprt32,snprt31,cf(0,0.25,0))
  24768. local snwld33=weld(snprt33,snprt33,snprt32,cf(0,0.15,0))
  24769. local snwld34=weld(snprt34,snprt34,snprt33,cf(0,0.1,0))
  24770. local snwld35=weld(snprt35,snprt35,snprt34,cf(0,0.4,0))
  24771. local snwld36=weld(snprt36,snprt36,snprt35,cf(0,0.4,0))
  24772. local snwld37=weld(snprt37,snprt37,snprt36,cf(0,0.1,0))
  24773. table.insert(SniperWelds,snwld30)
  24774. table.insert(SniperWelds,snwld31)
  24775. table.insert(SniperWelds,snwld32)
  24776. table.insert(SniperWelds,snwld33)
  24777. table.insert(SniperWelds,snwld34)
  24778. table.insert(SniperWelds,snwld35)
  24779. table.insert(SniperWelds,snwld36)
  24780. table.insert(SniperWelds,snwld37)
  24781. numb=numb+0.3
  24782. numb2=numb2-0.2
  24783. end
  24784.  
  24785. Bin = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  24786.  
  24787. local Bg = it("BodyGyro")
  24788. Bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  24789. Bg.P = 20e+003
  24790. Bg.Parent = nil
  24791.  
  24792. so = function(id,par,vol,pit)
  24793. coroutine.resume(coroutine.create(function()
  24794. local sou = Instance.new("Sound",par or workspace)
  24795. sou.Volume=vol
  24796. sou.Pitch=pit or 1
  24797. sou.SoundId=id
  24798. wait()
  24799. sou:play()
  24800. wait(6)
  24801. sou:Remove()
  24802. end))
  24803. end
  24804.  
  24805. function CreateDrone()
  24806. local drone=Instance.new("Model")
  24807. drone.Parent=modelzorz
  24808. drone.Name="Drone"
  24809.  
  24810. local dprt1=part(3,drone,0,1,BrickColor.new("White"),"DPart1",vt(1,1,1))
  24811. dprt1.CanCollide=true
  24812. local dprt6=part(3,drone,0,1,BrickColor.new("Bright red"),"DPart6",vt(1,1,1))
  24813. local dprt7=part(3,drone,0,1,BrickColor.new("Black"),"DPart7",vt(1,1,1))
  24814.  
  24815. local dmsh1=mesh("SpecialMesh",dprt1,"Sphere","",vt(0,0,0),vt(1,1,1))
  24816. local dmsh6=mesh("CylinderMesh",dprt6,"","",vt(0,0,0),vt(0.5,0.2,0.5))
  24817. local dmsh7=mesh("CylinderMesh",dprt7,"","",vt(0,0,0),vt(0.4,0.21,0.4))
  24818.  
  24819. --local dwld1=weld(dprt1,dprt1,Torso,euler(0,0,0)*cf(0,-5,0))
  24820. local dwld6=weld(dprt6,dprt6,dprt1,euler(1.57,0,0)*cf(0,0,0.4))
  24821. local dwld7=weld(dprt7,dprt7,dprt6,cf(0,0,0))
  24822.  
  24823. numb=0
  24824. for i=1,4 do
  24825. local dprt2=part(3,drone,0,1,BrickColor.new("Medium stone grey"),"DPart2",vt(1,1,1))
  24826. local dmsh2=mesh("BlockMesh",dprt2,"","",vt(0,0,0),vt(0.5,0.5,0.8))
  24827. local dwld2=weld(dprt2,dprt2,dprt1,cf(0,-0.5,0)*euler(0,0,numb))
  24828. numb=numb+1.57
  24829. end
  24830. numb=0
  24831. for i=1,4 do
  24832. local dprt3=part(3,drone,0,1,BrickColor.new("Dark stone grey"),"DPart3",vt(1,1,1))
  24833. local dmsh3=mesh("BlockMesh",dprt3,"","",vt(0,0,0),vt(0.5,0.5,0.79))
  24834. local dwld3=weld(dprt3,dprt3,dprt1,cf(0,-0.3,0)*euler(0,0,0.785+numb))
  24835. numb=numb+1.57
  24836. end
  24837. numb=0
  24838. for i=1,4 do
  24839. local dprt4=part(3,drone,0,1,BrickColor.new("Dark stone grey"),"DPart4",vt(1,1,1))
  24840. local dmsh4=mesh("BlockMesh",dprt4,"","",vt(0,0,0),vt(0.2,0.8,0.2))
  24841. local dwld4=weld(dprt4,dprt4,dprt1,cf(0,0.8,0)*euler(0.785,numb,0))
  24842. local dprt5=part(3,drone,0,1,BrickColor.new("Bright blue"),"DPart5",vt(1,1,1))
  24843. local dmsh5=mesh("SpecialMesh",dprt5,"Sphere","",vt(0,0,0),vt(0.4,0.4,0.4))
  24844. local dwld5=weld(dprt5,dprt5,dprt4,cf(0,0.5,0)*euler(0,0,0))
  24845. light1=Instance.new("PointLight")
  24846. light1.Brightness=.8
  24847. light1.Color=Color3.new(0,0,255)
  24848. light1.Range=10
  24849. light1.Parent=dprt5
  24850. numb=numb+1.57
  24851. end
  24852. return drone,dprt1
  24853. end
  24854.  
  24855. function hideanim()
  24856. equipped=false
  24857. if Mode=="Drones" then
  24858. Mode="Choose"
  24859. end
  24860. wait(0.1)
  24861. cone.Parent=nil
  24862. screen1.Parent=nil
  24863. screen2.Parent=nil
  24864. screen3.Parent=nil
  24865. Neck.C0=necko*euler(0,0,0)
  24866. wld9.C0=euler(0,0,0)*cf(0,0.05,0)
  24867. Bg.Parent=nil
  24868. end
  24869.  
  24870. function equipanim()
  24871. equipped=true
  24872. if Mode=="Choose" then
  24873. for i=0,1,0.1 do
  24874. wait()
  24875. Neck.C0=necko*euler(0.3*i,0,-0.2*i)
  24876. RW.C0=cf(1.5-0.5*i, 0.5-0.2*i, -0.5*i) * euler(1*i,0,-1*i)
  24877. RW.C1=cf(0, 0.5, 0) * euler(0,-2.07*i,0)
  24878. LW.C0=cf(-1.5+0.3*i, 0.5, -0.3*i) * euler(1.5*i,0,1.2*i)
  24879. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  24880. end
  24881. for i=0,1,0.1 do
  24882. wait()
  24883. wld9.C0=euler(0,-1.57*i,0)*cf(0,0.05,0)
  24884. Neck.C0=necko*euler(0.3+0.1*i,0,-0.2-0.1*i)
  24885. RW.C0=cf(1, 0.3, -0.5) * euler(1-0.2*i,0,-1+0.3*i)
  24886. RW.C1=cf(0, 0.5, 0) * euler(0,-2.07-0.1*i,0)
  24887. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.5-0.2*i,0,1.2-0.5*i)
  24888. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  24889. end
  24890. coroutine.resume(coroutine.create(function()
  24891. cone.Parent=modelzorz
  24892. cone.Transparency=1
  24893. local conewld=weld(cone,cone,prt9,euler(0,0,0)*cf(0,0.2,0))
  24894. screen1.Parent=modelzorz
  24895. screen1.Transparency=1
  24896. local screen1wld=weld(screen1,screen1,cone,euler(0,0.8,0)*cf(0,1,0))
  24897. screen2.Parent=modelzorz
  24898. screen2.Transparency=1
  24899. local screen2wld=weld(screen2,screen2,screen1,cf(0,0,1)*euler(0,0.3,0))
  24900. screen3.Parent=modelzorz
  24901. screen3.Transparency=1
  24902. local screen3wld=weld(screen3,screen3,screen1,cf(0,0,-1)*euler(0,-0.3,0))
  24903.  
  24904. for i=1,0.5,-0.05 do
  24905. wait()
  24906. cone.Transparency=i
  24907. screen1.Transparency=i
  24908. screen2.Transparency=i
  24909. screen3.Transparency=i
  24910. end
  24911. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  24912. while Mode=="Choose" do
  24913. wait(0.06)
  24914. Cone.Transparency=0.5
  24915. Screen1.Transparency=0.5
  24916. Screen2.Transparency=0.5
  24917. Screen3.Transparency=0.5
  24918. light1.Brightness=.7
  24919. light2.Brightness=.7
  24920. light3.Brightness=.7
  24921. wait(0.06)
  24922. Cone.Transparency=0.6
  24923. Screen1.Transparency=0.6
  24924. Screen2.Transparency=0.6
  24925. Screen3.Transparency=0.6
  24926. light1.Brightness=.8
  24927. light2.Brightness=.8
  24928. light3.Brightness=.8
  24929. end
  24930. end),cone,screen1,screen2,screen3)
  24931. end))
  24932. for i=0,1,0.1 do
  24933. wait()
  24934. wld9.C0=euler(0,-1.57,0)*cf(0,0.05,0)
  24935. Neck.C0=necko*euler(0.4-0.7*i,0,-0.3)
  24936. RW.C0=cf(1, 0.3, -0.5-0.3*i) * euler(0.8+0.77*i,0,-1+0.3)
  24937. RW.C1=cf(0, 0.5, 0) * euler(0,-2.17+0.67*i,0)
  24938. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.3+1*i,0,0.7)
  24939. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  24940. end
  24941. Neck.C0=necko*euler(-0.3,0,-0.3)
  24942. RW.C0=cf(1, 0.3, -0.8) * euler(1.57,0,-0.7)
  24943. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0)
  24944. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3,0,0.7)
  24945. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  24946. end
  24947. end
  24948.  
  24949. function Drones()
  24950. Mode="Drones"
  24951. attack=true
  24952. Humanoid.WalkSpeed=0
  24953. coroutine.resume(coroutine.create(function()
  24954. while Mode=="Drones" do
  24955. wait()
  24956. if Aiming==false then
  24957. DroneTarget=Torso.Position
  24958. end
  24959. end
  24960. end))
  24961. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  24962. numb=0.5
  24963. for i=0,1,0.1 do
  24964. wait()
  24965. Cone.Transparency=numb
  24966. Screen1.Transparency=numb
  24967. Screen2.Transparency=numb
  24968. Screen3.Transparency=numb
  24969. numb=numb+0.1
  24970. end
  24971. Cone.Parent=nil
  24972. Screen1.Parent=nil
  24973. Screen2.Parent=nil
  24974. Screen3.Parent=nil
  24975. end),cone,screen1,screen2,screen3)
  24976. for i=0,1,0.1 do
  24977. wait()
  24978. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  24979. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  24980. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  24981. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  24982. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  24983. end
  24984. local drone1,droneprt1=CreateDrone()
  24985. local dwld1=weld(droneprt1,droneprt1,Torso,euler(0,0,0)*cf(2,0,5))
  24986. local drone2,droneprt2=CreateDrone()
  24987. local dwld12=weld(droneprt2,droneprt2,Torso,euler(0,0,0)*cf(0,0,5))
  24988. local drone3,droneprt3=CreateDrone()
  24989. local dwld13=weld(droneprt3,droneprt3,Torso,euler(0,0,0)*cf(-2,0,5))
  24990. wait()
  24991. dwld1:Remove()
  24992. dwld12:Remove()
  24993. dwld13:Remove()
  24994. local pos=it("BodyPosition",droneprt1)
  24995. rand1=math.random(-5,5)
  24996. rand2=math.random(-5,5)
  24997. pos.position=Torso.Position + vt(rand1,5,rand2)
  24998. coroutine.resume(coroutine.create(function(BodyPosition)
  24999. while droneprt1.Parent~=nil do
  25000. wait(math.random(1,3))
  25001. BodyPosition.position=Torso.Position + vt(math.random(-15,15),5,math.random(-15,15))
  25002. end
  25003. end),pos)
  25004. pos.maxForce=vt(7500,7500,7500)
  25005. pos.Name="BP"
  25006. local bg=it("BodyGyro",droneprt1)
  25007. bg.maxTorque=vt(math.huge,math.huge,math.huge)
  25008. bg.P=50000
  25009. --bg.cframe=cf(droneprt1.Position, Torso.Position)
  25010. coroutine.resume(coroutine.create(function(BodyGyro)
  25011. while droneprt1.Parent~=nil do
  25012. wait()
  25013. if Aiming==true then
  25014. BodyGyro.cframe=cf(droneprt1.Position, DroneTarget)
  25015. end
  25016. end
  25017. end),bg)
  25018. bg.Name="DroneGyro"
  25019. local pos=it("BodyPosition",droneprt2)
  25020. rand1=math.random(-5,5)
  25021. rand2=math.random(-5,5)
  25022. pos.position=Torso.Position + vt(rand1,5,rand2)
  25023. coroutine.resume(coroutine.create(function(BodyPosition)
  25024. while droneprt2.Parent~=nil do
  25025. wait(math.random(1,3))
  25026. BodyPosition.position=Torso.Position + vt(math.random(-15,15),5,math.random(-15,15))
  25027. end
  25028. end),pos)
  25029. pos.maxForce=vt(7500,7500,7500)
  25030. pos.Name="BP"
  25031. local bg=it("BodyGyro",droneprt2)
  25032. bg.maxTorque=vt(math.huge,math.huge,math.huge)
  25033. bg.P=50000
  25034. --bg.cframe=cf(droneprt1.Position, Torso.Position)
  25035. coroutine.resume(coroutine.create(function(BodyGyro)
  25036. while droneprt2.Parent~=nil do
  25037. wait()
  25038. if Aiming==true then
  25039. BodyGyro.cframe=cf(droneprt2.Position, DroneTarget)
  25040. end
  25041. end
  25042. end),bg)
  25043. bg.Name="DroneGyro"
  25044. local pos=it("BodyPosition",droneprt3)
  25045. rand1=math.random(-5,5)
  25046. rand2=math.random(-5,5)
  25047. pos.position=Torso.Position + vt(rand1,5,rand2)
  25048. coroutine.resume(coroutine.create(function(BodyPosition)
  25049. while droneprt3.Parent~=nil do
  25050. wait(math.random(1,3))
  25051. BodyPosition.position=Torso.Position + vt(math.random(-15,15),5,math.random(-15,15))
  25052. end
  25053. end),pos)
  25054. pos.maxForce=vt(7500,7500,7500)
  25055. pos.Name="BP"
  25056. local bg=it("BodyGyro",droneprt3)
  25057. bg.maxTorque=vt(math.huge,math.huge,math.huge)
  25058. bg.P=50000
  25059. --bg.cframe=cf(droneprt1.Position, Torso.Position)
  25060. coroutine.resume(coroutine.create(function(BodyGyro)
  25061. while droneprt3.Parent~=nil do
  25062. wait()
  25063. if Aiming==true then
  25064. BodyGyro.cframe=cf(droneprt3.Position, DroneTarget)
  25065. end
  25066. end
  25067. end),bg)
  25068. bg.Name="DroneGyro"
  25069. droneprt1.Anchored=true
  25070. for _,v in pairs(drone1:children()) do
  25071. if v.className=="Part" then
  25072. v.Transparency=1
  25073. coroutine.resume(coroutine.create(function(Part)
  25074. wait(1)
  25075. Part.Transparency=0
  25076. end),v)
  25077. end
  25078. end
  25079. effect=drone1:Clone()
  25080. effect.Parent=workspace
  25081. print(effect)
  25082. for _,v in pairs(effect:children()) do
  25083. if v.className=="Part" then
  25084. v.Transparency=1
  25085. v.Anchored=true
  25086. v.CanCollide=false
  25087. v.BrickColor=BrickColor.new("Bright blue")
  25088. coroutine.resume(coroutine.create(function(Part)
  25089. for i=0,1,0.1 do
  25090. wait(0)
  25091. Part.Transparency=Part.Transparency-0.05
  25092. end
  25093. wait(0.5)
  25094. for i=0,1,0.1 do
  25095. wait(0)
  25096. Part.Transparency=Part.Transparency+0.05
  25097. end
  25098. Part.Parent=nil
  25099. end),v)
  25100. end
  25101. end
  25102. droneprt2.Anchored=true
  25103. for _,v in pairs(drone2:children()) do
  25104. if v.className=="Part" then
  25105. v.Transparency=1
  25106. coroutine.resume(coroutine.create(function(Part)
  25107. wait(1)
  25108. Part.Transparency=0
  25109. end),v)
  25110. end
  25111. end
  25112. effect=drone2:Clone()
  25113. effect.Parent=workspace
  25114. print(effect)
  25115. for _,v in pairs(effect:children()) do
  25116. if v.className=="Part" then
  25117. v.Transparency=1
  25118. v.Anchored=true
  25119. v.CanCollide=false
  25120. v.BrickColor=BrickColor.new("Bright blue")
  25121. coroutine.resume(coroutine.create(function(Part)
  25122. for i=0,1,0.1 do
  25123. wait(0)
  25124. Part.Transparency=Part.Transparency-0.05
  25125. end
  25126. wait(0.5)
  25127. for i=0,1,0.1 do
  25128. wait(0)
  25129. Part.Transparency=Part.Transparency+0.05
  25130. end
  25131. Part.Parent=nil
  25132. end),v)
  25133. end
  25134. end
  25135. droneprt3.Anchored=true
  25136. for _,v in pairs(drone3:children()) do
  25137. if v.className=="Part" then
  25138. v.Transparency=1
  25139. coroutine.resume(coroutine.create(function(Part)
  25140. wait(1)
  25141. Part.Transparency=0
  25142. end),v)
  25143. end
  25144. end
  25145. effect=drone3:Clone()
  25146. effect.Parent=workspace
  25147. print(effect)
  25148. for _,v in pairs(effect:children()) do
  25149. if v.className=="Part" then
  25150. v.Transparency=1
  25151. v.Anchored=true
  25152. v.CanCollide=false
  25153. v.BrickColor=BrickColor.new("Bright blue")
  25154. coroutine.resume(coroutine.create(function(Part)
  25155. for i=0,1,0.1 do
  25156. wait(0)
  25157. Part.Transparency=Part.Transparency-0.05
  25158. end
  25159. wait(0.5)
  25160. for i=0,1,0.1 do
  25161. wait(0)
  25162. Part.Transparency=Part.Transparency+0.05
  25163. end
  25164. Part.Parent=nil
  25165. end),v)
  25166. end
  25167. end
  25168. wait(2)
  25169. droneprt1.Anchored=false
  25170. droneprt2.Anchored=false
  25171. droneprt3.Anchored=false
  25172. Humanoid.WalkSpeed=16
  25173. wait()
  25174. effect.Parent=nil
  25175. for i=0,1,0.1 do
  25176. wait()
  25177. RW.C0=cf(1+0.5*i, 0.3+0.2*i, -0.8+0.8*i) * euler(1.27-0.77*i,0,-1.3+1.3*i)
  25178. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  25179. LW.C0=cf(-1.2-0.3*i, 0.5, -0.3+0.3*i) * euler(1.5-1.5*i,0,0.2-0.4*i)
  25180. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25181. end
  25182. attack=false
  25183. return drone1, drone2, drone3
  25184. end
  25185.  
  25186. function Gun()
  25187. attack=true
  25188. Mode="Gun"
  25189. gwld1.Part1=LeftArm
  25190. gwld1.C0=euler(1.57+0.5,0,-1.57)*cf(0,1,0)
  25191. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  25192. numb=0.5
  25193. for i=0,1,0.1 do
  25194. wait()
  25195. Cone.Transparency=numb
  25196. Screen1.Transparency=numb
  25197. Screen2.Transparency=numb
  25198. Screen3.Transparency=numb
  25199. numb=numb+0.1
  25200. end
  25201. Cone.Parent=nil
  25202. Screen1.Parent=nil
  25203. Screen2.Parent=nil
  25204. Screen3.Parent=nil
  25205. end),cone,screen1,screen2,screen3)
  25206. for i=0,1,0.1 do
  25207. wait()
  25208. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  25209. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  25210. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  25211. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  25212. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25213. end
  25214. gun.Parent=modelzorz
  25215. for e=1,#GunWelds do
  25216. GunWelds[e].Parent=modelzorz
  25217. end
  25218. for _,v in pairs(gun:children()) do
  25219. if v.className=="Part" then
  25220. v.Transparency=1
  25221. end
  25222. end
  25223. for _,v in pairs(gun:children()) do
  25224. if v.className=="Part" then
  25225. v.Transparency=1
  25226. coroutine.resume(coroutine.create(function(Part)
  25227. wait(0.5)
  25228. Part.Transparency=0
  25229. end),v)
  25230. end
  25231. end
  25232. effect=gun:Clone()
  25233. effect.Parent=workspace
  25234. print(effect)
  25235. for _,v in pairs(effect:children()) do
  25236. if v.className=="Part" then
  25237. v.Transparency=1
  25238. v.Anchored=true
  25239. v.CanCollide=false
  25240. v.BrickColor=BrickColor.new("Bright blue")
  25241. coroutine.resume(coroutine.create(function(Part)
  25242. for i=0,1,0.1 do
  25243. wait(0)
  25244. Part.Transparency=Part.Transparency-0.05
  25245. end
  25246. for i=0,1,0.1 do
  25247. wait(0)
  25248. Part.Transparency=Part.Transparency+0.05
  25249. end
  25250. Part.Parent=nil
  25251. effect.Parent=nil
  25252. end),v)
  25253. end
  25254. end
  25255. wait(0.5)
  25256. gwld1.Part1=LeftArm
  25257. gwld1.C0=euler(1.57+0.5,0,-1.57)*cf(0,1,0)
  25258. for i=0,1,0.1 do
  25259. wait()
  25260. gwld1.C0=euler(1.57+0.5,0,-1.57+1.57*i)*cf(0,1,0)
  25261. RW.C0=cf(1+0.5*i, 0.3+0.2*i, -0.8+0.8*i) * euler(1.27-1.27*i,0,-1.3+1.5*i)
  25262. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  25263. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.5-1*i,0,0.2+0.4*i)
  25264. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  25265. end
  25266. attack=false
  25267. end
  25268.  
  25269. function Sword()
  25270. attack=true
  25271. Mode="Sword"
  25272. swld1.Part1=LeftArm
  25273. swld1.C0=euler(0,0,-1.57)*cf(0,1,0)
  25274. swld1.C1=euler(0,0,0)
  25275. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  25276. numb=0.5
  25277. for i=0,1,0.1 do
  25278. wait()
  25279. Cone.Transparency=numb
  25280. Screen1.Transparency=numb
  25281. Screen2.Transparency=numb
  25282. Screen3.Transparency=numb
  25283. numb=numb+0.1
  25284. end
  25285. Cone.Parent=nil
  25286. Screen1.Parent=nil
  25287. Screen2.Parent=nil
  25288. Screen3.Parent=nil
  25289. end),cone,screen1,screen2,screen3)
  25290. for i=0,1,0.1 do
  25291. wait()
  25292. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  25293. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  25294. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  25295. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  25296. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25297. end
  25298. sword.Parent=modelzorz
  25299. for e=1,#SwordWelds do
  25300. SwordWelds[e].Parent=modelzorz
  25301. end
  25302. for _,v in pairs(sword:children()) do
  25303. if v.className=="Part" and v.Name~="Hitbox" and v.Name~="Mid" then
  25304. v.Transparency=1
  25305. end
  25306. end
  25307. for _,v in pairs(sword:children()) do
  25308. if v.className=="Part" and v.Name~="Hitbox" and v.Name~="Mid" then
  25309. v.Transparency=1
  25310. coroutine.resume(coroutine.create(function(Part)
  25311. wait(0.5)
  25312. Part.Transparency=0
  25313. end),v)
  25314. end
  25315. end
  25316. effect=sword:Clone()
  25317. effect.Parent=workspace
  25318. print(effect)
  25319. for _,v in pairs(effect:children()) do
  25320. if v.className=="Part" and v.Name~="Hitbox" and v.Name~="Mid" then
  25321. v.Transparency=1
  25322. v.Anchored=true
  25323. v.CanCollide=false
  25324. v.BrickColor=BrickColor.new("Bright blue")
  25325. coroutine.resume(coroutine.create(function(Part)
  25326. for i=0,1,0.1 do
  25327. wait(0)
  25328. Part.Transparency=Part.Transparency-0.05
  25329. end
  25330. for i=0,1,0.1 do
  25331. wait(0)
  25332. Part.Transparency=Part.Transparency+0.05
  25333. end
  25334. Part.Parent=nil
  25335. effect.Parent=nil
  25336. end),v)
  25337. end
  25338. end
  25339. wait(0.5)
  25340. for i=0,1,0.1 do
  25341. wait()
  25342. swld1.C0=euler(0,-1.57*i,1.57-3.14*i)*cf(0,1,0)
  25343. swld1.C1=euler(0,1.57*i,0)
  25344. RW.C0=cf(1+0.5*i, 0.3+0.2*i, -0.8+0.8*i) * euler(1.27-1.27*i,0,-1.3+1.5*i)
  25345. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  25346. LW.C0=cf(-1.2-0.3*i, 0.5, -0.3+0.3*i) * euler(1.5-1.5*i,0,0.2-0.6*i)
  25347. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25348. end
  25349. attack=false
  25350. end
  25351.  
  25352. function Sniper()
  25353. attack=true
  25354. Mode="Sniper"
  25355. snwld1.Part1=LeftArm
  25356. snwld1.C0=euler(0.5,0,0)*cf(0,1.6,-2)
  25357. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  25358. numb=0.5
  25359. for i=0,1,0.1 do
  25360. wait()
  25361. Cone.Transparency=numb
  25362. Screen1.Transparency=numb
  25363. Screen2.Transparency=numb
  25364. Screen3.Transparency=numb
  25365. numb=numb+0.1
  25366. end
  25367. Cone.Parent=nil
  25368. Screen1.Parent=nil
  25369. Screen2.Parent=nil
  25370. Screen3.Parent=nil
  25371. end),cone,screen1,screen2,screen3)
  25372. for i=0,1,0.1 do
  25373. wait()
  25374. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  25375. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  25376. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  25377. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  25378. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25379. end
  25380. sniper.Parent=modelzorz
  25381. for e=1,#SniperWelds do
  25382. SniperWelds[e].Parent=modelzorz
  25383. end
  25384. for _,v in pairs(sniper:children()) do
  25385. if v.className=="Part" then
  25386. v.Transparency=1
  25387. end
  25388. end
  25389. for _,v in pairs(sniper:children()) do
  25390. if v.className=="Part" then
  25391. v.Transparency=1
  25392. coroutine.resume(coroutine.create(function(Part)
  25393. wait(0.5)
  25394. Part.Transparency=0
  25395. end),v)
  25396. end
  25397. end
  25398. effect=sniper:Clone()
  25399. effect.Parent=workspace
  25400. print(effect)
  25401. for _,v in pairs(effect:children()) do
  25402. if v.className=="Part" then
  25403. v.Transparency=1
  25404. v.Anchored=true
  25405. v.CanCollide=false
  25406. v.BrickColor=BrickColor.new("Bright blue")
  25407. coroutine.resume(coroutine.create(function(Part)
  25408. for i=0,1,0.1 do
  25409. wait(0)
  25410. Part.Transparency=Part.Transparency-0.05
  25411. end
  25412. for i=0,1,0.1 do
  25413. wait(0)
  25414. Part.Transparency=Part.Transparency+0.05
  25415. end
  25416. Part.Parent=nil
  25417. effect.Parent=nil
  25418. end),v)
  25419. end
  25420. end
  25421. wait(0.5)
  25422. gwld1.Part1=LeftArm
  25423. snwld1.C0=euler(0.5,0,0)*cf(0,1.6,-2)
  25424. snwld1.C1=cf(0,0,0)
  25425. for i=0,1,0.1 do
  25426. wait()
  25427. snwld1.C0=euler(0.5+1.57*i,0,0)*cf(0,1.6-0.6*i,-2+2*i)
  25428. RW.C0=cf(1, 0.3, -0.8+0.3*i) * euler(1.27-0.37*i,0,-1.3+1*i)
  25429. RW.C1=cf(0, 0.5, 0) * euler(0,-1+2.3*i,0)
  25430. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57-0.5*i,0,0.2+0.5*i)
  25431. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25432. end
  25433. attack=false
  25434. end
  25435.  
  25436. function Shoot()
  25437. attack=true
  25438. Humanoid.WalkSpeed=2
  25439. Bg.Parent=Head
  25440. Bg.cframe=Head.CFrame
  25441. for i=0,1,0.2 do
  25442. wait()
  25443. Neck.C0=necko*euler(0,0,0.785*i)
  25444. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25445. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25446. LW.C0=cf(-1.2, 0.5, -0.3) * euler(0.5+1.07*i,0,0.6-1.385*i)
  25447. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  25448. end
  25449. spread=1
  25450. range=50
  25451. rangepower=70
  25452. while hold==true and Bullets~=0 do
  25453. for i=1,5 do
  25454. wait(0.05)
  25455. Bullets=Bullets-1
  25456. so("http://roblox.com/asset/?id=10209257",gprt16,0.5,1+math.random())
  25457. coroutine.resume(coroutine.create(function()
  25458. for z = 1 ,2 do
  25459. coroutine.resume(coroutine.create(function()
  25460. local meshb1 = Instance.new("BlockMesh")
  25461. meshb1.Scale = Vector3.new(1,1,1)
  25462. light = Instance.new("PointLight")
  25463. light.Brightness = .8
  25464. light.Color = Color3.new(100,50,0)
  25465. light.Range = 10
  25466. local shellb1 = Instance.new("Part")
  25467. light.Parent = shellb1
  25468. meshb1.Parent = shellb1
  25469. shellb1.Anchored = true
  25470. shellb1.formFactor = 3
  25471. shellb1.Size = Vector3.new(0.3,0.3,0.3) * (math.random(100,300)/100)
  25472. shellb1.CFrame = CFrame.new((gprt16.CFrame * CFrame.new(0,-gprt16.Size.y/2,0)).p) * CFrame.Angles(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)
  25473. shellb1.Parent = Character
  25474. shellb1.Transparency = 0
  25475. if math.random(1,2) == 1 then
  25476. shellb1.BrickColor = BrickColor.new("Bright red")
  25477. else
  25478. shellb1.BrickColor = BrickColor.new("Bright orange")
  25479. end
  25480. shellb1.CanCollide = false
  25481. local incre = math.random(0,60)/100
  25482. for i = 0 , 1 , 0.1 do
  25483. wait()
  25484. light.Brightness = light.Brightness - .1
  25485. shellb1.CFrame = shellb1.CFrame + Head.CFrame.lookVector*incre
  25486. shellb1.Transparency = 1*i
  25487. meshb1.Scale = Vector3.new(1+1*i,1+1*i,1+1*i)
  25488. end
  25489. shellb1.Parent=nil
  25490. end))
  25491. end
  25492. end))
  25493. shoottrail(MMouse.Hit.p,gprt16,5,1,1)
  25494. LW.C1=cf(0, 0.5, 0) * euler(-0.2,0,0)
  25495. wait(0.05)
  25496. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25497. end
  25498. end
  25499. spread=0
  25500. range=500
  25501. rangepower=50
  25502. if Bullets==0 then
  25503. for i=0,1,0.2 do
  25504. wait(0)
  25505. gwld13.C0=cf(0,0,0.3)*euler(0,1.57-1.57*i,0)
  25506. end
  25507. wait(0.2)
  25508. Humanoid.WalkSpeed=16
  25509. Bg.Parent=nil
  25510. for i=0,1,0.1 do
  25511. wait()
  25512. gwld1.C0=euler(1.57+0.5,0,-1.57*i)*cf(0,1,0)
  25513. Neck.C0=necko*euler(0.3*i,0,0.785-0.785*i)
  25514. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(1.2*i,0,0.2-0.4*i)
  25515. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25516. LW.C0=cf(-1.2+0.2*i, 0.5, -0.3-0.2*i) * euler(1.57-0.57*i,0,-0.785+0.785*i)
  25517. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25518. end
  25519. for i=0,1,0.1 do
  25520. wait()
  25521. gwld20.C0=cf(0.3*i,-0.8-0.2*i,0)*euler(0,0,1.57*i)
  25522. RW.C0=cf(1, 0.5, -0.5) * euler(1.2-0.3*i,0,-0.2-0.1*i)
  25523. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25524. end
  25525. for i=0,1,0.2 do
  25526. wait()
  25527. Neck.C0=necko*euler(0.3+0.2*i,0,-0.5*i)
  25528. RW.C0=cf(1+0.5*i, 0.5, -0.5+0.5*i) * euler(0.9-1.3*i,0,-0.3)
  25529. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25530. end
  25531. local ammo=Instance.new("Model")
  25532. ammo.Parent=modelzorz
  25533. ammo.Name="Ammo"
  25534. local aprt1=part(3,ammo,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(1,1,1))
  25535. local amsh1=mesh("CylinderMesh",aprt1,"","",vt(0,0,0),vt(0.7,0.2,0.7))
  25536. local awld1=weld(aprt1,aprt1,RightArm,cf(0,1,0))
  25537. numb=0
  25538. for i=1,10 do
  25539. local aprt2=part(3,ammo,0,0,BrickColor.new("Bright yellow"),"Part2",vt(1,1,1))
  25540. local amsh2=mesh("CylinderMesh",aprt2,"","",vt(0,0,0),vt(0.2,0.3,0.2))
  25541. local awld2=weld(aprt2,aprt2,aprt1,cf(0.2,0.1,0)*euler(0,numb,0))
  25542. numb=numb+0.628
  25543. end
  25544. for i=0,1,0.2 do
  25545. wait()
  25546. awld1.C0=euler(1.57,0,0)*cf(0,1+0.1*i,0)
  25547. Neck.C0=necko*euler(0.5-0.2*i,0,-0.5+0.5*i)
  25548. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(-0.4+1.5*i,0,-0.3-0.1*i)
  25549. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25550. end
  25551. ammo.Parent=nil
  25552. for i=0,1,0.2 do
  25553. wait()
  25554. gwld20.C0=cf(0.3-0.3*i,-0.8-0.2+0.2*i,0)*euler(0,0,1.57-1.57*i)
  25555. Neck.C0=necko*euler(0.3-0.1*i,0,-0.2*i)
  25556. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(1.1+0.1*i,0,-0.4+0.4*i)
  25557. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25558. end
  25559. for i=0,1,0.1 do
  25560. wait()
  25561. gwld1.C0=euler(1.57+0.5,0,-1.57+1.57*i)*cf(0,1,0)
  25562. gwld13.C0=cf(0,0,0.3)*euler(0,1.57*i,0)
  25563. Neck.C0=necko*euler(0.2-0.2*i,0,-0.2+0.2*i)
  25564. RW.C0=cf(1.5-0.5+0.5*i, 0.5, -0.5+0.5*i) * euler(1.2-1.2*i,0,0.2*i)
  25565. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25566. LW.C0=cf(-1-0.2*i, 0.5, -0.5+0.2*i) * euler(1-0.5*i,0,0.6*i)
  25567. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  25568. end
  25569. Bullets=10
  25570. else
  25571. for i=0,1,0.1 do
  25572. wait()
  25573. Neck.C0=necko*euler(0,0,0.785-0.785*i)
  25574. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25575. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25576. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57-1.57*i,0,-0.785+1.385*i)
  25577. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  25578. end
  25579. Neck.C0=necko
  25580. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25581. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25582. LW.C0=cf(-1.2, 0.5, -0.3) * euler(0.5,0,0.6)
  25583. LW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25584. end
  25585. Bg.Parent=nil
  25586. Humanoid.WalkSpeed=16
  25587. attack=false
  25588. end
  25589.  
  25590. function slash1()
  25591. attack=true
  25592. for i=0,1,0.1 do
  25593. wait()
  25594. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25595. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25596. LW.C0=cf(-1.5, 0.5, 0) * euler(-0.4*i,0,-0.4-0.2*i)
  25597. LW.C1=cf(0, 0.5, 0) * euler(0,1*i,0)
  25598. end
  25599. Bg.Parent=Head
  25600. Bg.cframe=Head.CFrame
  25601. con1=sprt16.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  25602. so("http://roblox.com/asset/?id=10209640",LeftArm,1,1)
  25603. for i=0,1,0.2 do
  25604. wait()
  25605. Neck.C0=necko*euler(0,0,0.785*i)
  25606. swld1.C0=euler(0.5*i,-1.57,-1.57)*cf(0,1,0)
  25607. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25608. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25609. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(-0.4+2.4*i,0,-0.6+1.4*i)
  25610. LW.C1=cf(0, 0.5, 0) * euler(0,1,0)
  25611. end
  25612. for i=0,1,0.1 do
  25613. wait()
  25614. --[[Neck.C0=necko*euler(0,0,0.785*i)
  25615. swld1.C0=euler(0.5*i,-1.57,-1.57)*cf(0,1,0)]]
  25616. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25617. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25618. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(2,0,0.8+0.2*i)
  25619. LW.C1=cf(0, 0.5, 0) * euler(0,1,0)
  25620. end
  25621. con1:disconnect()
  25622. wait()
  25623. attack=false
  25624. end
  25625.  
  25626. function slash2()
  25627. attack=true
  25628. CF=Head.CFrame
  25629. con1=sprt16.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  25630. so("http://roblox.com/asset/?id=10209640",LeftArm,1,1.5)
  25631. for i=0,1,0.2 do
  25632. wait()
  25633. swld1.C0=euler(0.5-0.5*i,-1.57,-1.57)*cf(0,1,0)
  25634. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25635. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25636. LW.C0=cf(-1-0.5*i, 0.5, -0.5+0.5*i) * euler(2-0.43*i,0,1-2.57*i)
  25637. LW.C1=cf(0, 0.5, 0) * euler(0,1+.57*i,0)
  25638. Bg.cframe=CF*euler(0,3.14*i,0)
  25639. end
  25640. so("http://roblox.com/asset/?id=10209640",LeftArm,1,1.5)
  25641. for i=0,1,0.2 do
  25642. wait()
  25643. swld1.C0=euler(-0.5*i,-1.57,-1.57)*cf(0,1,0)
  25644. Bg.cframe=CF*euler(0,3.14+3.14*i,0)
  25645. end
  25646. con1:disconnect()
  25647. wait()
  25648. attack=false
  25649. end
  25650.  
  25651. function slash3()
  25652. attack=true
  25653. Bg.Parent=nil
  25654. for i=0,1,0.1 do
  25655. wait()
  25656. Neck.C0=necko*euler(0,0,0.785-0.785*i)
  25657. swld1.C0=euler(-0.5+0.5*i,-1.57,-1.57)*cf(0,1,0)
  25658. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25659. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25660. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57+.43*i,0,-1.57+1*i)
  25661. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-2.07*i,0)
  25662. end
  25663. con1=sprt16.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  25664. so("http://roblox.com/asset/?id=10209640",LeftArm,1,0.9)
  25665. for i=0,1,0.2 do
  25666. wait()
  25667. Neck.C0=necko*euler(0.3*i,0,-0.2*i)
  25668. swld1.C0=euler(-0.3*i,-1.57,-1.57)*cf(0,1,0)
  25669. RW.C0=cf(1.5, 0.5, 0) * euler(-0.5*i,0,0.2+0.2*i)
  25670. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25671. LW.C0=cf(-1.5+1.5*i, 0.5-0.2*i, -1*i) * euler(2-1.5*i,0,-.57+1.07*i)
  25672. LW.C1=cf(0, 0.5, 0) * euler(0,-.5,0)
  25673. end
  25674. for i=0,1,0.1 do
  25675. wait()
  25676. RW.C0=cf(1.5, 0.5, 0) * euler(-0.5,0,0.4)
  25677. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25678. LW.C0=cf(0, 0.3, -1) * euler(.5-.2*i,0,.5)
  25679. LW.C1=cf(0, 0.5, 0) * euler(0,-.5,0)
  25680. end
  25681. con1:disconnect()
  25682. wait()
  25683. attack=false
  25684. end
  25685.  
  25686. function BowShoot()
  25687. attack=true
  25688. BowAim=true
  25689. HeadNumb=0
  25690. Humanoid.WalkSpeed=2
  25691. coroutine.resume(coroutine.create(function(FenNeck)
  25692. while BowAim==true do
  25693. wait()
  25694. local pos4 = vt(workspace.CurrentCamera.CoordinateFrame.X,Head.Position.Y,workspace.CurrentCamera.CoordinateFrame.Z)
  25695. Bg.cframe = cf(Head.Position,pos4) * euler(0,3.14-HeadNumb,0) * cf(0,0,0) --cf(Torso.Position,MMouse.Hit.p) *
  25696. Bg.Parent = Torso
  25697. offset=(Torso.Position.y-MMouse.Hit.p.y)/60
  25698. mag=(Torso.Position-MMouse.Hit.p).magnitude/80
  25699. offset=offset/mag
  25700. FenNeck.C1=necko2*euler(-offset,0,0)
  25701. end
  25702. end),Neck)
  25703. for i=0,1,0.1 do
  25704. wait()
  25705. HeadNumb=1.57*i
  25706. swld1.C0=euler(0,-1.57+0.3*i,-1.57)*cf(0,1,0)
  25707. Neck.C0=necko*euler(0,0,HeadNumb)
  25708. RW.C0=cf(1.5-2.5*i, 0.5, -1*i) * euler(1.57*i,0,0.2-1.97*i)
  25709. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25710. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57*i,0,-0.4-0.87*i)
  25711. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25712. end
  25713.  
  25714. local string1=part(3,sword,0,1,BrickColor.new("Bright yellow"),"String1",vt(0.5,1,0.5))
  25715. local stringmsh1=mesh("CylinderMesh",string1,"","",vt(0,0,0),vt(0.1,1,0.1))
  25716. local stringwld1=weld(string1,string1,prt17,euler(0,0,0)*cf(0,0,0))
  25717. local string2=part(3,sword,0,1,BrickColor.new("Bright yellow"),"String2",vt(0.5,1,0.5))
  25718. local stringmsh2=mesh("CylinderMesh",string2,"","",vt(0,0,0),vt(0.1,1,0.1))
  25719. local stringwld2=weld(string2,string2,prt19,euler(0,0,0)*cf(0,0,0))
  25720. table.insert(SwordWelds,stringwld1)
  25721. table.insert(SwordWelds,stringwld1)
  25722. coroutine.resume(coroutine.create(function(String1,String2)
  25723. for i=0,1,0.1 do
  25724. wait()
  25725. String1.Transparency=String1.Transparency-0.05
  25726. String2.Transparency=String2.Transparency-0.05
  25727. end
  25728. end),string1,string2)
  25729.  
  25730. local strmdl = "Arrow"
  25731. coroutine.resume(coroutine.create(function()
  25732. arrowdebounce=false
  25733. repeat
  25734. wait(0)
  25735. coroutine.resume(coroutine.create(function()
  25736. if arrowdebounce==false then
  25737. so("http://www.roblox.com/asset/?id=10756118",sprt18,1,1)
  25738. Lightning(sprt17.Position,sprt18.Position,3,0.2,"Bright yellow",0.00001,0.4)
  25739. Lightning(sprt19.Position,sprt18.Position,3,0.2,"Bright yellow",0.00001,0.4)
  25740. arrowdebounce=true
  25741. wait(0.1)
  25742. arrowdebounce=false
  25743. end
  25744. end))
  25745. local top = sprt17.CFrame
  25746. local bottom = sprt19.CFrame
  25747. local oristrpos
  25748. if strmdl == "Bow" then
  25749. oristrpos = CFrame.new((top.p+bottom.p)/2)
  25750. elseif strmdl == "Arrow" then
  25751. oristrpos = sprt18.CFrame
  25752. end
  25753. local mg1 = (top.p - oristrpos.p).magnitude
  25754. local mg2 = (bottom.p - oristrpos.p).magnitude
  25755. stringmsh1.Scale=vt(0.1,mg1,0.1)
  25756. basecf=sprt17.CFrame
  25757. cff=CFrame.new(sprt17.CFrame*angles(1.57,0,0).p,sprt18.Position)*angles(math.rad(90),0,0)*cf(0,-mg1/2,0)
  25758. hit2=string1
  25759. hit=sprt18
  25760. stringwld1.Parent=string1
  25761. stringwld1.Part0=hit2
  25762. stringwld1.Part1=hit
  25763. HitPos=cff.p
  25764. local CJ = CFrame.new(HitPos)
  25765. local C0=cff:inverse() *CJ
  25766. local C1=hit.CFrame:inverse() * CJ
  25767. stringwld1.C0=C0
  25768. stringwld1.C1=C1
  25769.  
  25770. stringmsh2.Scale=vt(0.1,mg2,0.1)
  25771. cff2=CFrame.new(sprt18.CFrame*angles(1.57,0,0).p,sprt19.Position)*angles(math.rad(90),0,0)*cf(0,-mg2/2,0)
  25772. hit3=string2
  25773. hit2=sprt18
  25774. stringwld2.Parent=string2
  25775. stringwld2.Part0=hit3
  25776. stringwld2.Part1=hit2
  25777. HitPos2=cff2.p
  25778. local CJ2 = CFrame.new(HitPos2)
  25779. local C02=cff2:inverse() *CJ
  25780. local C12=hit2.CFrame:inverse() * CJ
  25781. stringwld2.C0=C02
  25782. stringwld2.C1=C12
  25783. until string1.Parent==nil
  25784. end))
  25785. swld18.Part1=RightArm
  25786. swld18.C0=cf(0,1,0)
  25787. local arrow=part(3,sword,0,1,BrickColor.new("Bright yellow"),"Arrow",vt(1,1,1))
  25788. local arrowmsh=mesh("SpecialMesh",arrow,"FileMesh","http://www.roblox.com/asset/?id=15887356",vt(0,0,0),vt(1,1,2))
  25789. arrowmsh.VertexColor=vt(1,1,1)
  25790. local arrowwld=weld(arrow,arrow,sprt18,euler(-1.57,0,0)*cf(0,1,0))
  25791. for i=0,1,0.1 do
  25792. wait()
  25793. arrow.Transparency=arrow.Transparency-0.05
  25794. arrowwld.C0=euler(-1.57,0,0)*cf(0,1,0)*euler(0,0,0.15*i)
  25795. RW.C0=cf(1.5-2.5+2*i, 0.5, -1) * euler(1.57,0,-1.77+0.2*i)
  25796. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25797. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,0,-1.27)
  25798. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25799. end
  25800. while BowAim==true do
  25801. wait(0)
  25802. end
  25803. so("http://www.roblox.com/asset/?id=16211041",prt18,1,1)
  25804. spread=0
  25805. range=500
  25806. rangepower=100
  25807. shoottrail(MMouse.Hit.p,arrow,30,10,2)
  25808. Humanoid.WalkSpeed=0
  25809. arrow.Parent=nil
  25810. swld18.Part0=sprt18
  25811. swld18.Part1=sprt1
  25812. swld18.C0=cf(0,0,-0.8)
  25813. for i=0,1,0.2 do
  25814. wait()
  25815. Neck.C0=necko*euler(-0.2*i,0,HeadNumb)
  25816. RW.C0=cf(1, 0.5, -1) * euler(1.57,0,-1.57)
  25817. RW.C1=cf(0, 0.5, 0) * euler(-0.4*i,0,0)
  25818. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,0,-1.27)
  25819. LW.C1=cf(0, 0.5, 0) * euler(-0.4*i,0,0)
  25820. end
  25821. for i=0,1,0.1 do
  25822. wait()
  25823. Neck.C0=necko*euler(-0.2-0.1*i,0,HeadNumb)
  25824. RW.C0=cf(1, 0.5, -1) * euler(1.57,0,-1.57)
  25825. RW.C1=cf(0, 0.5, 0) * euler(-0.4-0.1*i,0,0)
  25826. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,0,-1.27)
  25827. LW.C1=cf(0, 0.5, 0) * euler(-0.4-0.1*i,0,0)
  25828. end
  25829. string1.Parent=nil
  25830. string2.Parent=nil
  25831. BowAim=false
  25832. Humanoid.WalkSpeed=16
  25833. Bg.Parent=nil
  25834. for i=0,1,0.1 do
  25835. wait()
  25836. Neck.C0=necko*euler(-0.3+0.3*i,0,HeadNumb-HeadNumb*i)
  25837. RW.C0=cf(1+0.5*i, 0.5, -1+1*i) * euler(1.57-1.57*i,0,-1.57+1.77*i)
  25838. RW.C1=cf(0, 0.5, 0) * euler(-0.5+0.5*i,0,0)
  25839. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57-1.57*i,0,-1.27+1.07*i)
  25840. LW.C1=cf(0, 0.5, 0) * euler(-0.5+0.5*i,0,0)
  25841. end
  25842. spread=0
  25843. range=500
  25844. rangepower=50
  25845. Neck.C1=necko2
  25846. Neck.C0=necko
  25847. attack=false
  25848. end
  25849.  
  25850. function Aim()
  25851. attack=true
  25852. Humanoid.WalkSpeed=5
  25853. Bg.Parent=Torso
  25854. Bg.cframe=Head.CFrame
  25855. CF=Torso.CFrame
  25856. for i=0,1,0.1 do
  25857. wait()
  25858. Bg.cframe=CF*euler(0,0.785*i,0)
  25859. Neck.C0=necko*euler(0,0,-0.785*i)
  25860. Neck.C1=necko2*euler(0,-0.5*i,0)
  25861. RW.C0=cf(1+0.2*i, 0.3, -0.5-0.2*i) * euler(0.9+0.6*i,0,-0.3+0.1*i)
  25862. RW.C1=cf(0, 0.5, 0) * euler(0,1.3+0.27*i,0)
  25863. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.07+0.5*i,0,0.7+0.085*i)
  25864. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25865. end
  25866. attack=false
  25867. end
  25868.  
  25869. function UnAim()
  25870. attack=true
  25871. Humanoid.WalkSpeed=16
  25872. for i=0,1,0.1 do
  25873. wait()
  25874. Bg.cframe=CF*euler(0,0.785-0.785*i,0)
  25875. Neck.C0=necko*euler(0,0,-0.785+0.785*i)
  25876. Neck.C1=necko2*euler(0,-0.5+0.5*i,0)
  25877. RW.C0=cf(1.2-0.2*i, 0.3, -0.7+0.2*i) * euler(1.5-0.6*i,0,-0.2-0.1*i)
  25878. RW.C1=cf(0, 0.5, 0) * euler(0,1.57-0.27*i,0)
  25879. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57-0.5*i,0,0.785-0.085*i)
  25880. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25881. end
  25882. Bg.Parent=nil
  25883. attack=false
  25884. end
  25885.  
  25886. function SniperShoot()
  25887. attack=true
  25888. spread=0
  25889. range=1000
  25890. rangepower=100
  25891. shoottrail(MMouse.Hit.p,snprt15,20,20,0.5)
  25892. coroutine.resume(coroutine.create(function()
  25893. for z = 1 ,4 do
  25894. coroutine.resume(coroutine.create(function()
  25895. local meshb1 = Instance.new("BlockMesh")
  25896. meshb1.Scale = Vector3.new(1,1,1)
  25897. light = Instance.new("PointLight")
  25898. light.Brightness = .8
  25899. light.Color = Color3.new(100,50,0)
  25900. light.Range = 10
  25901. local shellb1 = Instance.new("Part")
  25902. light.Parent = shellb1
  25903. meshb1.Parent = shellb1
  25904. shellb1.Anchored = true
  25905. shellb1.formFactor = 3
  25906. shellb1.Size = Vector3.new(0.3,0.3,0.3) * (math.random(100,300)/100)
  25907. shellb1.CFrame = CFrame.new((snprt15.CFrame * CFrame.new(0,-snprt15.Size.y/2,0)).p) * CFrame.Angles(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)
  25908. shellb1.Parent = Character
  25909. shellb1.Transparency = 0
  25910. if math.random(1,2) == 1 then
  25911. shellb1.BrickColor = BrickColor.new("Bright red")
  25912. else
  25913. shellb1.BrickColor = BrickColor.new("Bright orange")
  25914. end
  25915. shellb1.CanCollide = false
  25916. local incre = math.random(0,60)/100
  25917. HCF=Head.CFrame.lookVector
  25918. for i = 0 , 1 , 0.02 do
  25919. wait()
  25920. light.Brightness = light.Brightness - .02
  25921. shellb1.CFrame = shellb1.CFrame + HCF*incre
  25922. shellb1.Transparency = 1*i
  25923. meshb1.Scale = Vector3.new(1+1*i,1+1*i,1+1*i)
  25924. end
  25925. shellb1.Parent=nil
  25926. end))
  25927. end
  25928. end))
  25929. so("http://roblox.com/asset/?id=10209875",snprt15,1,0.8)
  25930. for i=0,1,0.3 do
  25931. wait()
  25932. Neck.C0=necko*euler(-0.3*i,0,-0.785)
  25933. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.5+0.3*i,0,-0.2)
  25934. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25935. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.785)
  25936. LW.C1=cf(0, 0.5, 0) * euler(-0.3*i,0,0)
  25937. end
  25938. for i=0,1,0.2 do
  25939. wait()
  25940. Neck.C0=necko*euler(-0.3-0.1*i,0,-0.785)
  25941. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.5+0.3+0.1*i,0,-0.2)
  25942. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25943. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.785)
  25944. LW.C1=cf(0, 0.5, 0) * euler(-0.3-0.1*i,0,0)
  25945. end
  25946. Humanoid.WalkSpeed=16
  25947. for i=0,1,0.1 do
  25948. wait()
  25949. Neck.C0=necko*euler(-0.4+0.6*i,0,-0.785+0.785*i)
  25950. Neck.C1=necko2*euler(0,-0.5+0.5*i,0)
  25951. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.9-0.6*i,0,-0.2-0.4*i)
  25952. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25953. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.785-0.185*i)
  25954. LW.C1=cf(0, 0.5, 0) * euler(-0.4+0.8*i,0,0)
  25955. end
  25956. so("http://roblox.com/asset/?id=10209881",snprt15,1,1)
  25957. local ammo=part(3,workspace,0,0,BrickColor.new("Bright yellow"),"Ammo",vt(1,1,1))
  25958. ammo.CanCollide=true
  25959. ammomsh=mesh("CylinderMesh",ammo,"","",vt(0,0,0),vt(0.15,0.2,0.15))
  25960. local cfrf = snprt25.CFrame * CFrame.fromEulerAnglesXYZ(0,1.57,0)
  25961. local cfr = cfrf + cfrf.lookVector * -0.5
  25962. ammo.CFrame = cfr
  25963. ammo.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  25964. ammo.Velocity = cfr.lookVector * 20
  25965. coroutine.resume(coroutine.create(function(Part)
  25966. wait(10)
  25967. Part.Parent=nil
  25968. end),ammo)
  25969. for i=0,1,0.2 do
  25970. wait()
  25971. snwld26.C1=euler(0,0,1*i)
  25972. RW.C0=cf(1.2, 0.3, -0.7-0.4*i) * euler(1.3,0,-0.6+0.3*i)
  25973. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25974. end
  25975. for i=0,1,0.2 do
  25976. wait()
  25977. snwld26.C1=euler(0,0,1-1*i)
  25978. RW.C0=cf(1.2, 0.3, -0.7-0.4+0.4*i) * euler(1.3,0,-0.6+0.3-0.3*i)
  25979. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25980. end
  25981. Humanoid.WalkSpeed=5
  25982. for i=0,1,0.1 do
  25983. wait()
  25984. Neck.C0=necko*euler(0.2-0.2*i,0,-0.785*i)
  25985. Neck.C1=necko2*euler(0,-0.5*i,0)
  25986. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.3+0.2*i,0,-0.6+0.4*i)
  25987. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25988. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.6+0.185*i)
  25989. LW.C1=cf(0, 0.5, 0) * euler(0.4-0.4*i,0,0)
  25990. end
  25991. spread=0
  25992. range=500
  25993. rangepower=50
  25994. attack=false
  25995. end
  25996.  
  25997. function RemoveDrones()
  25998. attack=true
  25999. for i=0,1,0.1 do
  26000. wait()
  26001. Neck.C0=necko*euler(-0.5*i,0,0)
  26002. RW.C0=cf(1.5, 0.5, 0) * euler(0.5+2.64*i,0,0)
  26003. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26004. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26005. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26006. end
  26007. for _,v in pairs(modelzorz:children()) do
  26008. if v.Name=="Drone" then
  26009. print("FoundDrone")
  26010. for _,s in pairs(v:children()) do
  26011. if s.className=="Part" then
  26012. s.Anchored=true
  26013. coroutine.resume(coroutine.create(function(Part,Model)
  26014. for i=0,1,0.1 do
  26015. wait(0)
  26016. Part.Transparency=Part.Transparency+0.1
  26017. end
  26018. wait()
  26019. Model.Parent=nil
  26020. end),s,v)
  26021. end
  26022. end
  26023. end
  26024. end
  26025. wait(1)
  26026. for i=0,1,0.1 do
  26027. wait()
  26028. Neck.C0=necko*euler(-0.5+0.5*i,0,0)
  26029. RW.C0=cf(1.5, 0.5, 0) * euler(3.14-3.14*i,0,0)
  26030. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26031. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2+0.2*i)
  26032. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26033. end
  26034. attack=false
  26035. end
  26036.  
  26037. function RemoveDrones2()
  26038. attack=true
  26039. for i=0,1,0.1 do
  26040. wait()
  26041. Neck.C0=necko*euler(-0.3-0.3*i,0,-0.3+0.3*i)
  26042. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.4*i,0,-0.7)
  26043. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0)
  26044. LW.C0=cf(-1.2-0.3*i, 0.5, -0.3+0.3*i) * euler(2.3+0.84*i,0,0.7-0.7*i)
  26045. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26046. end
  26047. for _,v in pairs(modelzorz:children()) do
  26048. if v.Name=="Drone" then
  26049. print("FoundDrone")
  26050. for _,s in pairs(v:children()) do
  26051. if s.className=="Part" then
  26052. s.Anchored=true
  26053. coroutine.resume(coroutine.create(function(Part,Model)
  26054. for i=0,1,0.1 do
  26055. wait(0)
  26056. Part.Transparency=Part.Transparency+0.1
  26057. end
  26058. wait()
  26059. Model.Parent=nil
  26060. end),s,v)
  26061. end
  26062. end
  26063. end
  26064. end
  26065. wait(1)
  26066. for i=0,1,0.1 do
  26067. wait()
  26068. Neck.C0=necko*euler(-0.6+0.3*i,0,-0.3*i)
  26069. RW.C0=cf(1, 0.3, -0.8) * euler(1.17+0.4*i,0,-0.7)
  26070. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0)
  26071. LW.C0=cf(-1.5+0.3*i, 0.5, -0.3*i) * euler(3.14-0.84*i,0,0.7*i)
  26072. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26073. end
  26074. attack=false
  26075. end
  26076.  
  26077. function RemoveGun()
  26078. attack=true
  26079. for i=0,1,0.1 do
  26080. wait()
  26081. RW.C0=cf(1.5-0.5*i, 0.5-0.2*i, -0.8*i) * euler(1.27*i,0,0.2-1.5*i)
  26082. RW.C1=cf(0, 0.5, 0) * euler(0,-1*i,0)
  26083. LW.C0=cf(-1.2-0.3*i, 0.5, -0.3+0.2*i) * euler(0.5+1.07*i,0,0.6-0.6*i)
  26084. LW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  26085. end
  26086. for _,s in pairs(gun:children()) do
  26087. if s.className=="Part" then
  26088. coroutine.resume(coroutine.create(function(Part,Model)
  26089. for i=0,1,0.1 do
  26090. wait(0)
  26091. Part.Transparency=Part.Transparency+0.1
  26092. end
  26093. wait()
  26094. Model.Parent=nil
  26095. end),s,gun)
  26096. end
  26097. end
  26098. wait(0.7)
  26099. for i=0,1,0.1 do
  26100. wait()
  26101. RW.C0=cf(1+0.5*i, 0.3+0.2*i, -0.8+0.8*i) * euler(1.27-1.27*i,0,-1.3+1.3*i)
  26102. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  26103. LW.C0=cf(-1.5, 0.5, -0.1+0.1*i) * euler(1.57-1.57*i,0,0)
  26104. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  26105. end
  26106. attack=false
  26107. end
  26108.  
  26109. function RemoveSword()
  26110. attack=true
  26111. for i=0,1,0.1 do
  26112. wait()
  26113. RW.C0=cf(1.5-0.5*i, 0.5-0.2*i, -0.8*i) * euler(1.27*i,0,0.2-1.5*i)
  26114. RW.C1=cf(0, 0.5, 0) * euler(0,-1*i,0)
  26115. LW.C0=cf(-1.5, 0.5, -0.1*i) * euler(1.57*i,0,-0.4+0.4*i)
  26116. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  26117. end
  26118. for _,s in pairs(sword:children()) do
  26119. if s.className=="Part" then
  26120. coroutine.resume(coroutine.create(function(Part,Model)
  26121. for i=0,1,0.1 do
  26122. wait(0)
  26123. Part.Transparency=Part.Transparency+0.1
  26124. end
  26125. wait()
  26126. Model.Parent=nil
  26127. end),s,sword)
  26128. end
  26129. end
  26130. wait(0.7)
  26131. for i=0,1,0.1 do
  26132. wait()
  26133. RW.C0=cf(1+0.5*i, 0.3+0.2*i, -0.8+0.8*i) * euler(1.27-1.27*i,0,-1.3+1.3*i)
  26134. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  26135. LW.C0=cf(-1.5, 0.5, -0.1+0.1*i) * euler(1.57-1.57*i,0,0)
  26136. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  26137. end
  26138. attack=false
  26139. end
  26140.  
  26141. function RemoveSniper()
  26142. attack=true
  26143. for i=0,1,0.1 do
  26144. wait()
  26145. Neck.C0=necko*euler(0.4*i,0,0)
  26146. snwld1.C0=euler(2.07+0.3*i,0,0)*cf(0,1,0)
  26147. RW.C0=cf(1, 0.3, -0.5-0.3*i) * euler(0.9+0.37*i,0,-0.3-1*i)
  26148. RW.C1=cf(0, 0.5, 0) * euler(0,1.3-1*i,0)
  26149. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.07,0,0.7-0.2*i)
  26150. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26151. end
  26152. for _,s in pairs(sniper:children()) do
  26153. if s.className=="Part" then
  26154. coroutine.resume(coroutine.create(function(Part,Model)
  26155. for i=0,1,0.1 do
  26156. wait(0)
  26157. Part.Transparency=Part.Transparency+0.1
  26158. end
  26159. wait()
  26160. Model.Parent=nil
  26161. end),s,sniper)
  26162. end
  26163. end
  26164. wait(0.7)
  26165. for i=0,1,0.1 do
  26166. wait()
  26167. Neck.C0=necko*euler(0.4-0.4*i,0,0)
  26168. RW.C0=cf(1+0.5*i, 0.3, -0.8+0.8*i) * euler(1.27-1.27*i,0,-1.3+1.3*i)
  26169. RW.C1=cf(0, 0.5, 0) * euler(0,0.3-0.3*i,0)
  26170. LW.C0=cf(-1.2-0.3*i, 0.5, -0.3+0.3*i) * euler(1.07-1.07*i,0,0.5-0.5*i)
  26171. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26172. end
  26173. attack=false
  26174. end
  26175.  
  26176. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  26177. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  26178. end
  26179.  
  26180. function Lightning(p0,p1,tym,ofs,col,th,tra)
  26181. local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs}
  26182. for i=1,tym do
  26183. local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true  li.Transparency = tra or 0.4 li.BrickColor = BrickColor.new(col)
  26184. li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(th,th,magz/tym) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  26185. light1=Instance.new("PointLight")
  26186. light1.Brightness=.8
  26187. light1.Color=Color3.new(.2,255,.2)
  26188. light1.Range=8
  26189. light1.Parent=li
  26190. local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz
  26191. if tym == i then
  26192. local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2)
  26193. li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2)
  26194. else
  26195. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2)
  26196. end
  26197. curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,.2)
  26198. end
  26199. end
  26200.  
  26201. spread=0
  26202. range=500
  26203. rangepower=50
  26204. function shoottrail(ShootPosition,baseprt,Damage,Knockback,Size)
  26205. coroutine.resume(coroutine.create(function()
  26206. local spreadvector = (Vector3.new(math.random(-spread,spread),math.random(-spread,spread),math.random(-spread,spread))) * (baseprt.Position-ShootPosition).magnitude/100
  26207. local dir = CFrame.new((baseprt.Position+ShootPosition)/2,ShootPosition+spreadvector)
  26208. local hit,pos = rayCast(baseprt.Position,dir.lookVector,10,modelzorz)
  26209. local rangepos = range
  26210. local function drawtrail(From,To)
  26211. local effectsmsh = Instance.new("CylinderMesh")
  26212. effectsmsh.Scale = Vector3.new(1,1,1)
  26213. effectsmsh.Name = "Mesh"
  26214. local effectsg = Instance.new("Part")
  26215. effectsg.formFactor = 3
  26216. effectsg.CanCollide = false
  26217. effectsg.Name = "Eff"
  26218. effectsg.Locked = true
  26219. effectsg.Anchored = true
  26220. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  26221. effectsg.Parent = modelzorz
  26222. effectsmsh.Parent = effectsg
  26223. effectsg.BrickColor = BrickColor.new("Bright yellow")
  26224. effectsg.Reflectance = 0.4
  26225. local LP = From
  26226. local point1 = To
  26227. local mg = (LP - point1).magnitude
  26228. effectsmsh.Scale = Vector3.new(2,mg*5,2)
  26229. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  26230. coroutine.resume(coroutine.create(function()
  26231. for i = 0 , 1 , 0.1 do
  26232. wait()
  26233. effectsg.Transparency = 1*i
  26234. effectsmsh.Scale = Vector3.new(Size-Size*i,mg*5,Size-Size*i)
  26235. end
  26236. effectsg.Parent = nil
  26237. end))
  26238. end
  26239. local newpos = baseprt.Position
  26240. local inc = rangepower
  26241. repeat
  26242. wait() wait()
  26243. rangepos = rangepos - 10
  26244. dir = dir
  26245. if Mode~="Sniper" then
  26246. dir = dir * CFrame.Angles(math.rad(-1),0,0)
  26247. end
  26248. hit,pos = rayCast(newpos,dir.lookVector,inc,Character)
  26249. drawtrail(newpos,pos)
  26250. newpos = newpos + (dir.lookVector * inc)
  26251. if inc >= 20 then
  26252. inc = inc - 10
  26253. end
  26254. if hit ~= nil then
  26255. rangepos = 0
  26256. end
  26257. until rangepos <= 0
  26258. if hit ~= nil then
  26259. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  26260. critical=false
  26261. if SnipAim==true then
  26262. if hit.Name=="Head" then
  26263. coroutine.resume(coroutine.create(function(HeadPart)
  26264. for i=0,0.5,0.1 do
  26265. wait()
  26266. HeadPart.Velocity=vt(0,60,0)
  26267. end
  26268. end),hit)
  26269. print("CRITICAL")
  26270. critical=true
  26271. p=it("Part")
  26272. p.Parent=workspace
  26273. p.CanCollide=false
  26274. p.Transparency=1
  26275. p.CFrame=hit.CFrame
  26276. p.Anchored=true
  26277. local GUI = it("BillboardGui")
  26278. GUI.Adornee = p
  26279. GUI.Parent = p
  26280. GUI.Active = true
  26281. GUI.Enabled = true
  26282. GUI.Size = UDim2.new(1, 0, 1, 0)
  26283. GUI.StudsOffset = vt(0, 4, 0)
  26284. local Chat = it("TextLabel")
  26285. Chat.Parent = GUI
  26286. Chat.FontSize = "Size12"
  26287. Chat.Position = UDim2.new(0.599999964, 0, 0, 0)
  26288. Chat.Visible = true
  26289. Chat.Text = "Critical!"
  26290. coroutine.resume(coroutine.create(function(Part)
  26291. for i=0,4,0.1 do
  26292. wait()
  26293. Part.CFrame=Part.CFrame*cf(0,0.05,0)
  26294. end
  26295. Part.Parent=nil
  26296. end),p)
  26297. for i=0,7 do
  26298.        Blood=it("Part")
  26299.        Blood.Name="Blood"
  26300.        Blood.TopSurface="Smooth"
  26301.        Blood.BottomSurface="Smooth"
  26302.        Blood.formFactor="Plate"
  26303.        Blood.BrickColor=BrickColor:Red()
  26304.        Blood.Size=vt(1,.4,1)
  26305.        Blood.Velocity=vt(math.random(-4,4),math.random(5,25),math.random(-4,4))
  26306.        Blood.CFrame=hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  26307.        Blood.Parent=workspace
  26308.        Blood.Velocity=vt(math.random(-20,20),math.random(20,50),math.random(-20,20))
  26309.        Blood.CanCollide=false
  26310.        coroutine.resume(coroutine.create(function(blod)
  26311.        wait(0.1)
  26312.        blod.CanCollide=true
  26313.        wait(5)
  26314.        blod.Parent = nil
  26315.        end),Blood)
  26316. end
  26317. end
  26318. hum = hit.Parent.Humanoid
  26319. tTorso=hit.Parent.Torso
  26320. end
  26321. if critical==true then
  26322. CRIT=true
  26323. Damagefunc1(hit,Damage*math.random(3,8),Knockback)
  26324. else
  26325. Damagefunc1(hit,Damage,Knockback)
  26326. end
  26327. attackdebounce=false
  26328. --ADmg(hum,hit)
  26329. elseif hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  26330. if SnipAim==true then
  26331. if hit.Parent.className == "Hat" then
  26332. hatCF=hit.CFrame
  26333. coroutine.resume(coroutine.create(function(hat)
  26334. hat.Handle:BreakJoints()
  26335. hat.Handle.CFrame=hatCF
  26336. hat.Handle.CanCollide=true
  26337. hat.Handle.Velocity=vt(math.random(-10,10),40,math.random(-10,10))
  26338. wait(3)
  26339. hatCF=hat.Handle.CFrame
  26340. hat.Parent=workspace
  26341. for i=0,4,0.2 do
  26342. wait()
  26343. hat.Handle.CFrame=hatCF
  26344. hat.Handle.Velocity=vt(math.random(-5,5),20,math.random(-5,5))
  26345. end
  26346. end),hit.Parent)
  26347. --[[hit:BreakJoints()
  26348. hit.CFrame=CF
  26349. hit.Velocity = vt(math.random(-5,5),20,math.random(-5,5)) ]]
  26350. print("BREAKHAT")
  26351. end
  26352. end
  26353. hum = hit.Parent.Parent.Humanoid
  26354. tTorso=hit.Parent.Parent.Torso
  26355. Damagefunc1(hit.Parent.Parent.Torso,Damage,Knockback)
  26356. attackdebounce=false
  26357. --ADmg(hum,hit)
  26358. end
  26359. end
  26360. end))
  26361. end
  26362.  
  26363. function findNearestTorso(pos)
  26364.    local list = game:service("Workspace"):children()
  26365.    local torso = nil
  26366.    local dist = 50
  26367.    local temp = nil
  26368.    local human = nil
  26369.    local temp2 = nil
  26370.    for x = 1, #list do
  26371.        temp2 = list[x]
  26372.        if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Name ~= "Fenrier") then
  26373.            temp = temp2:findFirstChild("Torso")
  26374.            human = temp2:findFirstChild("Humanoid")
  26375.            if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  26376.                if (temp.Position - pos).magnitude < dist then
  26377.                    torso = temp
  26378.                    dist = (temp.Position - pos).magnitude
  26379.                end
  26380.            end
  26381.        end
  26382.    end
  26383.    return torso
  26384. end
  26385.  
  26386. function MagicCircle(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  26387. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  26388. prt.Anchored=true
  26389. prt.CFrame=cframe*cf(x2,y2,z2)
  26390. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  26391. coroutine.resume(coroutine.create(function()
  26392. for i=0,1,0.1 do
  26393. wait()
  26394. prt.CFrame=prt.CFrame
  26395. prt.Transparency=i
  26396. msh.Scale=msh.Scale+vt(x3,y3,z3)
  26397. end
  26398. prt.Parent=nil
  26399. end))
  26400. end
  26401.  
  26402. Damagefunc1=function(hit,Damage,Knockback)
  26403.    if hit.Parent==nil then
  26404.        return
  26405.    end
  26406.    CPlayer=Bin
  26407.    h=hit.Parent:FindFirstChild("Humanoid")
  26408.    if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  26409.    if attackdebounce == false then
  26410.    attackdebounce = true
  26411.    coroutine.resume(coroutine.create(function()
  26412.    wait(0.2)
  26413.    attackdebounce = false
  26414.    end))
  26415.    Damage=Damage
  26416. --[[        if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  26417.            return
  26418.        end]]
  26419. --            hs(hit,1.2)
  26420.            c=Instance.new("ObjectValue")
  26421.            c.Name="creator"
  26422.            c.Value=game:service("Players").LocalPlayer
  26423.            c.Parent=h
  26424.            game:GetService("Debris"):AddItem(c,.5)
  26425.        Damage=Damage+math.random(0,10)
  26426. --        h:TakeDamage(Damage)
  26427.        blocked=false
  26428.        block=hit.Parent:findFirstChild("Block")
  26429.        if block~=nil then
  26430.        print("herp")
  26431.        if block.Value>0 then
  26432.        blocked=true
  26433.        block.Value=block.Value-1
  26434.        print(block.Value)
  26435.        end
  26436.        end
  26437.        if blocked==false then
  26438. --        h:TakeDamage(Damage)
  26439.        h.Health=h.Health-Damage
  26440.        showDamage(hit.Parent,Damage,.5)
  26441.        else
  26442.        h:TakeDamage(1)
  26443.        showDamage(hit.Parent,1,.5)
  26444.        end
  26445.        vp=Instance.new("BodyVelocity")
  26446.        vp.P=500
  26447.        vp.maxForce=Vector3.new(math.huge,0,math.huge)
  26448. --        vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  26449.        vp.velocity=Head.CFrame.lookVector*Knockback+Head.Velocity/1.05
  26450.        if Knockback>0 then
  26451.            vp.Parent=hit.Parent.Torso
  26452.        end
  26453.        game:GetService("Debris"):AddItem(vp,.25)
  26454.                c=Instance.new("ObjectValue")
  26455.            c.Name="creator"
  26456.            c.Value=Player
  26457.            c.Parent=h
  26458.            game:GetService("Debris"):AddItem(c,.5)
  26459.        CRIT=false
  26460.        hitDeb=true
  26461.        AttackPos=6
  26462.    end
  26463.    end
  26464. end
  26465.  
  26466. showDamage=function(Char,Dealt,du)
  26467.    m=Instance.new("Model")
  26468.    m.Name=tostring(Dealt)
  26469.    h=Instance.new("Humanoid")
  26470.    h.Health=0
  26471.    h.MaxHealth=0
  26472.    h.Parent=m
  26473.    c=Instance.new("Part")
  26474.    c.Transparency=0
  26475.    c.BrickColor=BrickColor:Red()
  26476.    if CRIT==true then
  26477.        c.BrickColor=BrickColor.new("Really red")
  26478.    end
  26479.    c.Name="Head"
  26480.    c.TopSurface=0
  26481.    c.BottomSurface=0
  26482.    c.formFactor="Plate"
  26483.    c.Size=Vector3.new(1,.4,1)
  26484.    ms=Instance.new("CylinderMesh")
  26485.    ms.Scale=Vector3.new(.8,.8,.8)
  26486.    if CRIT==true then
  26487.        ms.Scale=Vector3.new(1,1.25,1)
  26488.    end
  26489.    ms.Parent=c
  26490.    c.Reflectance=0
  26491.    Instance.new("BodyGyro").Parent=c
  26492.    c.Parent=m
  26493.    c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  26494.    f=Instance.new("BodyPosition")
  26495.    f.P=2000
  26496.    f.D=100
  26497.    f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  26498.    f.position=c.Position+Vector3.new(0,3,0)
  26499.    f.Parent=c
  26500.    game:GetService("Debris"):AddItem(m,.5+du)
  26501.    c.CanCollide=false
  26502.    m.Parent=workspace
  26503.    c.CanCollide=false
  26504. end
  26505.  
  26506. function ob1d(mouse)
  26507. if attack == true then return end
  26508. hold=true
  26509. if Mode=="Drones" and Aiming==true then
  26510. print("Attack drones")
  26511. for i=0,1,0.1 do
  26512. wait()
  26513. RW.C0=cf(1.5, 0.5, 0) * euler(0.5+1.07*i,0,0)
  26514. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26515. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26516. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26517. end
  26518. Drone1debounce=false
  26519. Drone2debounce=false
  26520. Drone3debounce=false
  26521. for _,v in pairs(modelzorz:children()) do
  26522. if v.Name=="Drone" then
  26523. coroutine.resume(coroutine.create(function(Drone)
  26524. while hold==true do
  26525. so("http://roblox.com/asset/?id=10209257",Drone.DPart1,0.5,1.5)
  26526. shoottrail(MMouse.Hit.p,Drone.DPart1,5,0,1)
  26527. wait(math.random(0,2)+math.random())
  26528. end
  26529. end),v)
  26530. end
  26531. end
  26532. while hold==true do
  26533. wait()
  26534. end
  26535. for i=0,1,0.1 do
  26536. wait()
  26537. RW.C0=cf(1.5, 0.5, 0) * euler(1.57-1.07*i,0,0)
  26538. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26539. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26540. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26541. end
  26542. elseif Aiming==false then
  26543. for _,v in pairs(modelzorz:children()) do
  26544. if v.Name=="Drone" and v:findFirstChild("CanShoot")~=nil then
  26545. coroutine.resume(coroutine.create(function(Drone)
  26546. while hold==true do
  26547. if v.CanShoot.Value==true then
  26548. print("Shoot")
  26549. so("http://roblox.com/asset/?id=10209257",Drone.DPart1,0.5,1.5)
  26550. shoottrail(Drone.DPart6.Position,Drone.DPart1,5,0,1)
  26551. elseif v.CanShoot.Value==false then
  26552. print("NoShoot")
  26553. end
  26554. wait(math.random(0,2)+math.random())
  26555. end
  26556. end),v)
  26557. end
  26558. end
  26559. end
  26560. if Mode=="Gun" then
  26561. print("Shoot")
  26562. Shoot()
  26563. end
  26564. if Mode=="Sword" then
  26565. slash1()
  26566. if hold==true then
  26567. slash2()
  26568. end
  26569. if hold==true then
  26570. slash3()
  26571. end
  26572. wait(0.5)
  26573. Bg.Parent=nil
  26574. Neck.C0=necko*euler(0,0,0)
  26575. swld1.C0=euler(0,-1.57,-1.57)*cf(0,1,0)
  26576. swld1.C1=euler(0,1.57,0)
  26577. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  26578. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26579. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.4)
  26580. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26581. end
  26582. if Mode=="Sniper" and SnipAim==true then
  26583. SniperShoot()
  26584. end
  26585. end
  26586.  
  26587. function ob1u(mouse)
  26588. hold = false
  26589. end
  26590.  
  26591. buttonhold = false
  26592.  
  26593. eul=0
  26594. function key(key)
  26595. if attack == true then return end
  26596. if Mode=="Drones" then
  26597. if key=="z" then
  26598. RemoveDrones()
  26599. Mode="Choose"
  26600. equipanim()
  26601. return
  26602. end
  26603. if key=="f" then
  26604. if Aiming==false then
  26605. attack=true
  26606. for i=0,1,0.1 do
  26607. wait()
  26608. RW.C0=cf(1.5, 0.5, 0) * euler(0.5+2.64*i,0,0)
  26609. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26610. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26611. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26612. end
  26613. for i=0,1,0.1 do
  26614. wait()
  26615. RW.C0=cf(1.5, 0.5, 0) * euler(3.14-1.57*i,0,0)
  26616. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26617. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26618. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26619. end
  26620. Aiming=true
  26621. coroutine.resume(coroutine.create(function()
  26622. while Aiming==true do
  26623. wait()
  26624. DroneTarget=MMouse.Hit.p
  26625. end
  26626. end))
  26627. wait(0.5)
  26628. for i=0,1,0.1 do
  26629. wait()
  26630. RW.C0=cf(1.5, 0.5, 0) * euler(1.57-1.07*i,0,0)
  26631. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26632. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26633. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26634. end
  26635. attack=false
  26636. elseif Aiming==true then
  26637. attack=true
  26638. for i=0,1,0.1 do
  26639. wait()
  26640. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(.5+1.07*i,0,-1*i)
  26641. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26642. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(1.57*i,0,-0.2+1.2*i)
  26643. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26644. end
  26645. Aiming=false
  26646. for _,v in pairs(modelzorz:children()) do
  26647. if v.Name=="Drone" then
  26648. Valuee=Instance.new("BoolValue")
  26649. Valuee.Parent=v
  26650. Valuee.Name="CanShoot"
  26651. print("Found Drone")
  26652. coroutine.resume(coroutine.create(function(DDrone,Val,Gyro)
  26653. --coroutine.resume(coroutine.create(function()
  26654. while Aiming==false do
  26655. wait()
  26656. local target = findNearestTorso(DDrone.DPart1.Position)
  26657. if target~=nil then
  26658. Val.Value=true
  26659. Gyro.cframe=cf(DDrone.DPart1.Position, target.Position)
  26660. else
  26661. Val.Value=false
  26662. Gyro.cframe=cf(DDrone.DPart1.Position, Torso.Position)
  26663. end
  26664. end
  26665. Val.Parent=nil
  26666. end),v,Valuee,v.DPart1.DroneGyro)
  26667. end
  26668. end
  26669. wait(0.5)
  26670. for i=0,1,0.1 do
  26671. wait()
  26672. RW.C0=cf(1+.5*i, 0.5, -0.5+0.5*i) * euler(1.57-1.07*i,0,-1+1*i)
  26673. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26674. LW.C0=cf(-1-.5*i, 0.5, -0.5+0.5*i) * euler(1.57-1.57*i,0,1-1.2*i)
  26675. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26676. end
  26677. attack=false
  26678. end
  26679. end
  26680. end
  26681. if Mode=="Gun" then
  26682. if key=="x" then
  26683. RemoveGun()
  26684. Mode="Choose"
  26685. equipanim()
  26686. return
  26687. end
  26688. end
  26689. if Mode=="Sword" then
  26690. if key=="c" then
  26691. RemoveSword()
  26692. Mode="Choose"
  26693. equipanim()
  26694. return
  26695. end
  26696. if key=="f" then
  26697. BowShoot()
  26698. end
  26699. end
  26700. if Mode=="Sniper" then
  26701. if key=="v" then
  26702. if SnipAim==true then
  26703. SnipAim=false
  26704. UnAim()
  26705. end
  26706. RemoveSniper()
  26707. Mode="Choose"
  26708. equipanim()
  26709. return
  26710. end
  26711. if key=="f" then
  26712. if SnipAim==false then
  26713. SnipAim=true
  26714. Aim()
  26715. else
  26716. SnipAim=false
  26717. UnAim()
  26718. end
  26719. end
  26720. end
  26721. if Mode=="Choose" then
  26722. if key=="f" then
  26723. RemoveDrones2()
  26724. end
  26725. if key=="z" then
  26726. Drone1,Drone2,Drone3=Drones()
  26727. end
  26728. if key=="x" then
  26729. Gun()
  26730. end
  26731. if key=="c" then
  26732. Sword()
  26733. end
  26734. if key=="v" then
  26735. Sniper()
  26736. end
  26737. end
  26738. end
  26739.  
  26740. function key2(key)
  26741. if key=="f" then
  26742. BowAim=false
  26743. end
  26744. end
  26745.  
  26746. function s(mouse)
  26747. mouse.Button1Down:connect(function() ob1d(mouse) end)
  26748. mouse.Button1Up:connect(function() ob1u(mouse) end)
  26749. mouse.KeyDown:connect(key)
  26750. mouse.KeyUp:connect(key2)
  26751. unsheathed = true
  26752. player = Player
  26753. ch = Character
  26754. MMouse = mouse
  26755. RSH = ch.Torso["Right Shoulder"]
  26756. LSH = ch.Torso["Left Shoulder"]
  26757. --
  26758. RSH.Parent = nil
  26759. LSH.Parent = nil
  26760. --
  26761. RW.Part0 = ch.Torso
  26762. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  26763. RW.C1 = CFrame.new(0, 0.5, 0)
  26764. RW.Part1 = ch["Right Arm"]
  26765. RW.Parent = ch.Torso
  26766. --_G.R = RW
  26767. --
  26768. LW.Part0 = ch.Torso
  26769. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  26770. LW.C1 = CFrame.new(0, 0.5, 0)
  26771. LW.Part1 = ch["Left Arm"]
  26772. LW.Parent = ch.Torso
  26773. --_G.L = LW
  26774. --
  26775. equipanim()
  26776. end
  26777.  
  26778. function ds(mouse)
  26779. hideanim()
  26780. wait(0)
  26781. RW.Parent = nil
  26782. LW.Parent = nil
  26783. RSH.Parent = player.Character.Torso
  26784. LSH.Parent = player.Character.Torso
  26785. end
  26786.  
  26787. Bin.Selected:connect(s)
  26788. Bin.Deselected:connect(ds)
  26789. print("Fenrier's Techno Gauntlet loaded.")
  26790.  
  26791. -- mediafire lego
  26792. --[[
  26793. Copyrighted (C) Fenrier 2013
  26794. ]]
  26795.        
  26796.         end)
  26797. --
  26798. local button = Instance.new("TextButton")
  26799.         button.Parent = ws
  26800.         button.BackgroundColor3 = blak
  26801.         button.BorderColor3 = rede
  26802.         button.BorderSizePixel = 3
  26803.         button.Name = "Wand"
  26804.         button.Position = UDim2.new(0,0,0,231)
  26805.         button.Size = UDim2.new(0.5,0,0,30)
  26806.         button.ZIndex = 2
  26807.         button.Font = tef
  26808.         button.FontSize = "Size14"
  26809.         button.Text = "Wand"
  26810.         button.TextColor3 = whit
  26811.         button.TextWrapped = true
  26812.                 button.MouseButton1Down:connect(function()
  26813.                 tool = Instance.new("HopperBin")
  26814.  
  26815. player = game.Players.LocalPlayer
  26816. char = player.Character
  26817. tool = Instance.new("HopperBin")
  26818. tool.Parent = player.Backpack
  26819. script.Parent = tool
  26820. tool.Name = "Wand"
  26821.  
  26822. spin = false
  26823.  
  26824. landc = "Earth green"
  26825. firec = "Bright red"
  26826. icec = "Light blue"
  26827. windc = "Institutional white"
  26828. helthc = "Lime green"
  26829. elec = "New Yeller"
  26830.  
  26831. norm = 18
  26832.  
  26833. handle = Instance.new("Part")
  26834. handle.Parent = game.Lighting
  26835. handle.Name = "Handle"
  26836. handle.FormFactor = "Symmetric"
  26837. handle.Size = Vector3.new(1,4,1)
  26838. handle.TopSurface = 0
  26839. handle.BottomSurface = 0
  26840. handle.BrickColor = BrickColor.new("Black")
  26841. handle.Anchored = false
  26842. handle.Position = char["Right Arm"].Position
  26843. handle.CanCollide = false
  26844. handle.Locked = true
  26845. handle2 = Instance.new("Part")
  26846. handle2.Parent = game.Lighting
  26847. handle2.Name = "Handle2"
  26848. handle2.Shape = "Ball"
  26849. handle2.Size = Vector3.new(1,1,1)
  26850. handle2.TopSurface = 0
  26851. handle2.BottomSurface = 0
  26852. handle2.BrickColor = BrickColor.new("Bright red")
  26853. handle2.Anchored = false
  26854. handle2.Position = char["Right Arm"].Position
  26855. handle2.Transparency = 0.1
  26856. handle2.CanCollide = false
  26857. handle2.Locked = true
  26858.  
  26859. handle3 = Instance.new("Part")
  26860. handle3.Parent = game.Lighting
  26861. handle3.Name = "Handle2"
  26862. handle3.Shape = "Ball"
  26863. handle3.Size = Vector3.new(1,1,1)
  26864. handle3.TopSurface = 0
  26865. handle3.BottomSurface = 0
  26866. handle3.BrickColor = BrickColor.new("Black")
  26867. handle3.Anchored = false
  26868. handle3.Position = char["Right Arm"].Position
  26869. handle3.CanCollide = false
  26870. handle3.Locked = true
  26871. local m = Instance.new("CylinderMesh")
  26872. m.Parent = handle
  26873. m.Scale = Vector3.new(0.42,1,0.42)
  26874. local m2 = Instance.new("SpecialMesh")
  26875. m2.Parent = handle2
  26876. m2.MeshType = "Sphere"
  26877. m2.Scale = Vector3.new(0.8,0.8,0.8)
  26878. local m3 = Instance.new("SpecialMesh")
  26879. m3.Parent = handle3
  26880. m3.MeshType = "FileMesh"
  26881. m3.MeshId = "http://www.roblox.com/asset/?id=1033714"
  26882. m3.Scale = Vector3.new(0.4,0.85,0.4)
  26883. brick1 = Instance.new("Part")
  26884. brick1.Parent = char
  26885. brick1.formFactor = "Symmetric"
  26886. brick1.Size = Vector3.new(1,1,1)
  26887. brick1.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  26888. brick1.Shape = "Ball"
  26889. brick1.CanCollide = false
  26890. brick1.Transparency = 1
  26891. brick1.Locked = true
  26892. mesh1 = Instance.new("SpecialMesh")
  26893. mesh1.Parent = brick1
  26894. mesh1.MeshType = "Sphere"
  26895. mesh1.Scale = Vector3.new(1.4,1.4,1.4)
  26896. brick2 = Instance.new("Part")
  26897. brick2.Parent = game.Lighting
  26898. brick2.formFactor = "Symmetric"
  26899. brick2.Size = Vector3.new(1,1,1)
  26900. brick2.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  26901. brick2.Shape = "Ball"
  26902. brick2.CanCollide = false
  26903. brick2.Transparency = 1
  26904. brick2.BrickColor = handle2.BrickColor
  26905. brick2.Locked = true
  26906. mesh2 = Instance.new("SpecialMesh")
  26907. mesh2.Parent = brick2
  26908. mesh2.MeshType = "Sphere"
  26909. mesh2.Scale = Vector3.new(0.5,0.5,0.5)
  26910. brick3 = Instance.new("Part")
  26911. brick3.Parent = game.Lighting
  26912. brick3.formFactor = "Symmetric"
  26913. brick3.Size = Vector3.new(1,1,1)
  26914. brick3.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  26915. brick3.Shape = "Ball"
  26916. brick3.CanCollide = false
  26917. brick3.Transparency = 1
  26918. brick3.BrickColor = handle2.BrickColor
  26919. brick3.Locked = true
  26920. mesh3 = Instance.new("SpecialMesh")
  26921. mesh3.Parent = brick3
  26922. mesh3.MeshType = "Sphere"
  26923. mesh3.Scale = Vector3.new(0.5,0.5,0.5)
  26924. wads = Instance.new("Weld")
  26925. wads.Parent = char.Torso
  26926. wads.Part0 = wads.Parent
  26927. wads.Part1 = brick1
  26928. wads.C1 = CFrame.new(-1.5,-0.5,0)
  26929. wads2 = Instance.new("Weld")
  26930. wads2.Parent = handle2
  26931. wads2.Part0 = wads2.Parent
  26932. wads2.Part1 = brick2
  26933. wads2.C1 = CFrame.new(1,0,0)
  26934. wads3 = Instance.new("Weld")
  26935. wads3.Parent = handle2
  26936. wads3.Part0 = wads2.Parent
  26937. wads3.Part1 = brick2
  26938. wads3.C1 = CFrame.new(-1,0,0)
  26939.  
  26940. wa = Instance.new("Weld")
  26941. wa.Parent = brick1
  26942. wa.Part0 = nil
  26943. wa.Part1 = nil
  26944.  
  26945. weld = Instance.new("Weld")
  26946.  
  26947. toha = Instance.new("Weld")
  26948. toha.Parent = char.Torso
  26949. toha.Part0 = nil
  26950. toha.Part1 = nil
  26951. toha.C1 = CFrame.fromEulerAnglesXYZ(0,0,-2.5) * CFrame.new(0,0,-0.7)
  26952.  
  26953. original = CFrame.fromEulerAnglesXYZ(-1.55,0,0) * CFrame.new(0,0,0.6)
  26954. weporigin = CFrame.fromEulerAnglesXYZ(1.55,0,0) * CFrame.new(0, 1.1, 0.5)
  26955.  
  26956. myhum = char.Humanoid
  26957. myhum.WalkSpeed = norm
  26958.  
  26959. enabled = false
  26960. hol = false
  26961.  
  26962. function select(mouse, key)
  26963.         wa.Part0 = wa.Parent
  26964.         wa.Part1 = char["Right Arm"]
  26965.         wa.C1 = original
  26966.         weld.Parent = char["Right Arm"]
  26967.         weld.Part0 = nil
  26968.         weld.Part1 = nil
  26969.         weld.C1 = weporigin
  26970.         handle.Parent = char
  26971.         handle2.Parent = char
  26972.         handle3.Parent = char
  26973.         for i = 1, 8 do
  26974.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  26975.                 wait()
  26976.         end
  26977.         for i = 1, 4 do
  26978.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  26979.                 wait()
  26980.         end
  26981.         toha.Part0 = nil
  26982.         toha.Part1 = nil
  26983.         weld.Part0 = weld.Parent
  26984.         weld.Part1 = handle
  26985.         for i = 1, 4 do
  26986.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.2,0)
  26987.                 wait()
  26988.         end
  26989.         for i = 1, 8 do
  26990.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.35,0,0)
  26991.                 wait()
  26992.         end
  26993.         wa.C1 = original
  26994.         spin = true
  26995.         brick2.Transparency = 0.3
  26996.         brick2.Parent = char
  26997.         brick3.Transparency = 0.3
  26998.         brick3.Parent = char
  26999.         weld2 = Instance.new("Weld")
  27000.         weld2.Parent = handle
  27001.         weld2.Part0 = weld2.Parent
  27002.         weld2.Part1 = handle2
  27003.         weld2.C1 = CFrame.new(0, 0, 2.1)
  27004.         weld3 = Instance.new("Weld")
  27005.         weld3.Parent = handle
  27006.         weld3.Part0 = weld3.Parent
  27007.         weld3.Part1 = handle3
  27008.         weld3.C1 = CFrame.new(0, 0, 1.4)
  27009.         weld.C1 = CFrame.fromEulerAnglesXYZ(1.55,0,0) * CFrame.new(0, 1.1, 0.5)
  27010.         weld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0, -2.1, 0)
  27011.         weld3.C1 = CFrame.fromEulerAnglesXYZ(3.2,0,0) * CFrame.new(0, -1.5, 0)
  27012.         coroutine.resume(coroutine.create(function()
  27013.                 while spin == true do
  27014.                         for i=1, 20 do
  27015.                                 wait()
  27016.                                 handle2.Transparency = handle2.Transparency + 0.025
  27017.                         end
  27018.                         for i=1, 20 do
  27019.                                 wait()
  27020.                                 handle2.Transparency = handle2.Transparency - 0.025
  27021.                         end
  27022.                 end
  27023.         end))
  27024.         coroutine.resume(coroutine.create(function()
  27025.                 while spin == true do
  27026.                         wait()
  27027.                         wads2.C1 = wads2.C1 * CFrame.fromEulerAnglesXYZ(0,0.15,0)
  27028.                         wads3.C1 = wads3.C1 * CFrame.fromEulerAnglesXYZ(0,0.15,0)
  27029.                         local fade = brick2:clone()
  27030.                         fade.Parent = char
  27031.                         fade.CFrame = brick2.CFrame
  27032.                         local weld = wads2:clone()
  27033.                         weld.Parent = handle2
  27034.                         weld.Part0 = weld.Parent
  27035.                         weld.Part1 = fade
  27036.                         local fade2 = brick3:clone()
  27037.                         fade2.Parent = char
  27038.                         fade2.CFrame = brick3.CFrame
  27039.                         local weld2 = wads3:clone()
  27040.                         weld2.Parent = handle2
  27041.                         weld2.Part0 = weld2.Parent
  27042.                         weld2.Part1 = fade2
  27043.                         coroutine.resume(coroutine.create(function()
  27044.                                 for i=1, 8 do
  27045.                                         wait()
  27046.                                         fade.Transparency = fade.Transparency + 0.12
  27047.                                         fade2.Transparency = fade2.Transparency + 0.12
  27048.                                 end
  27049.                                 fade:remove()
  27050.                                 fade2:remove()
  27051.                         end))
  27052.                 end
  27053.         end))
  27054.         enabled = false
  27055.         mouse.KeyDown:connect(function(key)
  27056.                 key = key:lower()
  27057.                 if (key == "k") then
  27058.                         if enabled == true then return end
  27059.                         enabled = true
  27060.                         hol = true
  27061.                         for i=1, 6 do
  27062.                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.1,0.1,0)
  27063.                         wait()
  27064.                         end
  27065.                         handle2.BrickColor = BrickColor.new(landc)
  27066.                         brick2.BrickColor = handle2.BrickColor
  27067.                         brick3.BrickColor = handle2.BrickColor
  27068.                         while hol == true do
  27069.                         wait(0.05)
  27070.                         local ki = Instance.new("Part")
  27071.                         ki.Parent = workspace
  27072.                         ki.Name = "Landmon"
  27073.                         ki.Size = Vector3.new(1,1,1)
  27074.                         ki.BrickColor = handle2.BrickColor
  27075.                         ki.TopSurface = 0
  27076.                         ki.BottomSurface = 0
  27077.                         ki.CanCollide = false
  27078.                         ki.Anchored = true
  27079.                         ki.CFrame = CFrame.new(mouse.Hit.p)
  27080.                         ki.CFrame = ki.CFrame * CFrame.new(0, -4, 0)
  27081.                         local mef = Instance.new("SpecialMesh")
  27082.                         mef.Parent = ki
  27083.                         mef.MeshType = "Sphere"
  27084.                         mef.Scale = Vector3.new(9,16,9)
  27085.                         coroutine.resume(coroutine.create(function()
  27086.                                 for i=1, 5 do
  27087.                                         wait()
  27088.                                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.12,0)
  27089.                                 end
  27090.                                 for i=1, 5 do
  27091.                                         wait()
  27092.                                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.12,0)
  27093.                                 end
  27094.                         end))
  27095.                         coroutine.resume(coroutine.create(function()
  27096.                                 for i=1, 25 do
  27097.                                         wait()
  27098.                                         ki.CFrame = ki.CFrame * CFrame.new(0, 0.3, 0)
  27099.                                 end
  27100.                                 loo = ki.CFrame
  27101.                                 ki.CanCollide = true
  27102.                                 mef.Scale = Vector3.new(1,1,1)
  27103.                                 ki.Size = Vector3.new(9,16,9)
  27104.                                 ki.CFrame = loo
  27105.                                 wait(7)
  27106.                                 for i=1, 20 do
  27107.                                         wait()
  27108.                                         ki.Transparency = ki.Transparency + 0.05
  27109.                                 end
  27110.                                 ki:remove()
  27111.                         end))
  27112.                         end
  27113.                 elseif (key == "f") then
  27114.                         if enabled == true then return end
  27115.                         enabled = true
  27116.                         pof = mouse.Hit.p
  27117.                         local part = Instance.new("Part")
  27118.                         local fire = Instance.new("Fire")
  27119.                         fire.Parent = part
  27120.                         fire.Heat = 30
  27121.                         fire.Size = 40
  27122.                         local smoke = Instance.new("Smoke")
  27123.                         smoke.Parent = part
  27124.                         smoke.RiseVelocity = 2
  27125.                         smoke.Size = 20
  27126.                         smoke.Color = Color3.new(0,0,0)
  27127.                         smoke.Opacity = 1
  27128.                         local par = Instance.new("Part")
  27129.                         par.Parent = workspace
  27130.                         par.Size = Vector3.new(9,1,1)
  27131.                         par.Transparency = 0
  27132.                         par.Anchored = true
  27133.                         par.TopSurface = 0
  27134.                         par.BottomSurface = 0
  27135.                         par.BrickColor = BrickColor.new(firec)
  27136.                         par.CFrame = CFrame.new(pof) * CFrame.new(0,-0.498,0)
  27137.                         par.CFrame = par.CFrame * CFrame.Angles(0,0.8,0)
  27138.                         par.CanCollide = false
  27139.                         local mes = Instance.new("SpecialMesh")
  27140.                         mes.Parent = par
  27141.                         mes.MeshType = "Brick"
  27142.                         mes.Scale = Vector3.new(1,1,1)
  27143.                         local pa = par:clone()
  27144.                         pa.Parent = workspace
  27145.                         pa.CFrame = CFrame.new(pof) * CFrame.new(0,-0.498,0)
  27146.                         pa.CFrame = pa.CFrame * CFrame.Angles(0,-0.8,0)
  27147.                         handle2.BrickColor = BrickColor.new(firec)
  27148.                         brick2.BrickColor = handle2.BrickColor
  27149.                         brick3.BrickColor = handle2.BrickColor
  27150.                         for i=1, 10 do
  27151.                                 wait(0.03)
  27152.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,0.05,0)
  27153.                         end
  27154.                         for i=1, 4 do
  27155.                         for i=1, 3 do
  27156.                                 wait(0.01)
  27157.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.05,0.1)
  27158.                         end
  27159.                         for i=1, 3 do
  27160.                                 wait(0.01)
  27161.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.03,0.05,-0.1)
  27162.                         end
  27163.                         end
  27164.                         for i=1, 7 do
  27165.                                 wait(0.01)
  27166.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.1,-0.1)
  27167.                         end
  27168.                         wait(0.6)
  27169.                         for i=1, 10 do
  27170.                                 wait(0.02)
  27171.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.1,-0.05,0.3)
  27172.                                 par.Transparency = par.Transparency + 0.1
  27173.                                 pa.Transparency = pa.Transparency + 0.1
  27174.                                 mes.Scale = mes.Scale + Vector3.new(0.1,0,0.05)
  27175.                                 pa.Mesh.Scale = pa.Mesh.Scale + Vector3.new(0.1,0,0.05)
  27176.                         end
  27177.                         wait(0.1)
  27178.                         pa:remove()
  27179.                         par:remove()
  27180.                         part.Parent = workspace
  27181.                         part.Size = Vector3.new(3,3,3)
  27182.                         part.Anchored = true
  27183.                         part.CFrame = CFrame.new(pof)
  27184.                         part.CFrame = part.CFrame * CFrame.Angles(1.2,0,0)
  27185.                         part.Transparency = 1
  27186.                         coroutine.resume(coroutine.create(function()
  27187.                                 for i=1, 100 do
  27188.                                         wait()
  27189.                                         part.CFrame = part.CFrame * CFrame.Angles(0,0,0.4)
  27190.                                 end
  27191.                         end))
  27192.                         local explode = Instance.new("Explosion")
  27193.                         explode.Parent = char
  27194.                         explode.BlastRadius = 11
  27195.                         explode.BlastPressure = 400000
  27196.                         explode.Position = part.Position
  27197.                         explode.archivable = false
  27198.                         wait(0.3)
  27199.                         wa.C1 = original
  27200.                         wait(0.7)
  27201.                         fire.Enabled = false
  27202.                         smoke.Enabled = false
  27203.                         wait(0.2)
  27204.                         part:remove()
  27205.                         wait(1)
  27206.                         enabled = false
  27207.                 elseif (key == "q") then
  27208.                         if enabled == true then return end
  27209.                         enabled = true
  27210.                         handle2.BrickColor = BrickColor.new(windc)
  27211.                         brick2.BrickColor = handle2.BrickColor
  27212.                         brick3.BrickColor = handle2.BrickColor
  27213.                         for i=1, 8 do
  27214.                                 wait(0.01)
  27215.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0,-0.18)
  27216.                         end
  27217.                         for i=1, 2 do
  27218.                                 wait(0.01)
  27219.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.15,0)
  27220.                         end
  27221.                         wait(0.3)
  27222.                         for i=1, 2 do
  27223.                                 wait(0.01)
  27224.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.3,0)
  27225.                         end
  27226.                         local p = Instance.new("Part")
  27227.                         p.Parent = workspace
  27228.                         p.Name = "Sword"
  27229.                         p.Size = Vector3.new(1,4,1)
  27230.                         p.BottomSurface = 0
  27231.                         p.TopSurface = 0
  27232.                         p.Anchored = false
  27233.                         p.CanCollide = false
  27234.                         p.CFrame = handle.CFrame
  27235.                         p.CFrame = p.CFrame * CFrame.Angles(0,0,1.55)
  27236.                         p:BreakJoints()
  27237.                         local mt = Instance.new("SpecialMesh")
  27238.                         mt.Parent = p
  27239.                         mt.MeshType = "FileMesh"
  27240.                         mt.MeshId = "http://www.roblox.com/asset/?id=12768042"
  27241.                         mt.TextureId = "http://www.roblox.com/asset/?id=21262906"
  27242.                         local bv = Instance.new("BodyVelocity")
  27243.                         bv.Parent = p
  27244.                         bv.velocity = char.Torso.CFrame.lookVector * 45
  27245.                         local bva = Instance.new("BodyAngularVelocity")
  27246.                         bva.Parent = p
  27247.                         bva.angularvelocity = Vector3.new(0,14,0)
  27248.                         p.Touched:connect(function(hit)
  27249.                                 if hit.Parent.Name == player.Name then return end
  27250.                                 local hum = hit.Parent:findFirstChild("Humanoid")
  27251.                                 if hum ~= nil then
  27252.                                         local hed = hit.Parent:findFirstChild("Head")
  27253.                                         if hed ~= nil then
  27254.                                                 for i=1, 5 do
  27255.                                                         wait()
  27256.                                                         hed.Parent.Torso.Neck.C1 = hed.Parent.Torso.Neck.C1 * CFrame.new(0, 0, -0.9)
  27257.                                                 end
  27258.                                                 hum.Health = 0
  27259.                                                 wait(0.05)
  27260.                                                 hed.Velocity = Vector3.new(math.random(-30,30),40,math.random(-30,30))
  27261.                                                 hed.RotVelocity = Vector3.new(math.random(-25,25),math.random(-25,25),math.random(-25,25))
  27262.                                         end
  27263.                                         hum.Health = 0
  27264.                                 end
  27265.                         end)
  27266.                         local spi = true
  27267.                         coroutine.resume(coroutine.create(function()
  27268.                                 while spi == true do
  27269.                                         local fad = p:clone()
  27270.                                         fad.Parent = workspace
  27271.                                         fad.BrickColor = BrickColor.new(windc)
  27272.                                         fad.Transparency = 0.2
  27273.                                         fad.Mesh.TextureId = "Clear"
  27274.                                         fad.Anchored = true
  27275.                                         coroutine.resume(coroutine.create(function()
  27276.                                                 for i=1, 8 do
  27277.                                                         wait()
  27278.                                                         fad.Transparency = fad.Transparency + 0.1
  27279.                                                 end
  27280.                                                 fad:remove()
  27281.                                         end))
  27282.                                         wait()
  27283.                                 end
  27284.                         end))
  27285.                         for i=1, 4 do
  27286.                                 wait(0.01)
  27287.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.3,0)
  27288.                         end
  27289.                         wait(0.3)
  27290.                         for i=1, 7 do
  27291.                                 wait(0.01)
  27292.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.2,0.3)
  27293.                         end
  27294.                         wa.C1 = original
  27295.                         wait(0.3)
  27296.                         enabled = false
  27297.                         wait(1.2)
  27298.                         spi = false
  27299.                         wait()
  27300.                         p:remove()
  27301.                 elseif (key == "e") then
  27302.                         if enabled == true then return end
  27303.                         enabled = true
  27304.                         myhum.WalkSpeed = 0
  27305.                         handle2.BrickColor = BrickColor.new(helthc)
  27306.                         brick2.BrickColor = handle2.BrickColor
  27307.                         brick3.BrickColor = handle2.BrickColor
  27308.                         hol = true
  27309.                         for i=1, 6 do
  27310.                                 wait(0.01)
  27311.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.13,0,0)
  27312.                                 weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.1)
  27313.                         end
  27314.                         wait(0.5)
  27315.                         for i=1, 3 do
  27316.                                 wait(0.01)
  27317.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.4,0,0)
  27318.                                 weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.23)
  27319.                         end
  27320.                         local pf = Instance.new("Part")
  27321.                         pf.Parent = workspace
  27322.                         pf.Name = "Healthbump"
  27323.                         pf.Size = Vector3.new(7,1,7)
  27324.                         pf.BottomSurface = 0
  27325.                         pf.TopSurface = 0
  27326.                         pf.Anchored = true
  27327.                         pf.CanCollide = false
  27328.                         pf.CFrame = char.Torso.CFrame * CFrame.new(0,-2.8, 0)
  27329.                         pf.Transparency = 0.3
  27330.                         pf.BrickColor = handle2.BrickColor
  27331.                         local meg = Instance.new("CylinderMesh")
  27332.                         meg.Parent = pf
  27333.                         meg.Scale = Vector3.new(0.6,0.8,0.6)
  27334.                         hecols = {"Bright green", "Lime green", "Dark green", "Camo"}
  27335.                         coroutine.resume(coroutine.create(function()
  27336.                                 for i=1, 50 do
  27337.                                         wait()
  27338.                                         pf.Transparency = pf.Transparency + 0.02
  27339.                                         meg.Scale = meg.Scale + Vector3.new(0.045,0,0.045)
  27340.                                 end
  27341.                         end))
  27342.                         while hol == true do
  27343.                                 wait(0)
  27344.                                 myhum.Health = myhum.Health + 0.5
  27345.                                 local chanc = math.random(1,20)
  27346.                                 if chanc == 8 then
  27347.                                         coroutine.resume(coroutine.create(function()
  27348.                                                 pf.Transparency = 0.3
  27349.                                                 meg.Scale = Vector3.new(0.6,0.8,0.6)
  27350.                                                 for i=1, 50 do
  27351.                                                         wait()
  27352.                                                         pf.Transparency = pf.Transparency + 0.02
  27353.                                                         meg.Scale = meg.Scale + Vector3.new(0.045,0,0.045)
  27354.                                                 end
  27355.                                         end))
  27356.                                 end
  27357.                                 local hp = Instance.new("Part")
  27358.                                 hp.Parent = workspace
  27359.                                 hp.formFactor = "Symmetric"
  27360.                                 local randsiz = math.random(1,2)
  27361.                                 local col = math.random(1,4)
  27362.                                 hp.Size = Vector3.new(randsiz,randsiz,randsiz)
  27363.                                 hp.BrickColor = BrickColor.new(hecols[col])
  27364.                                 hp.TopSurface = 0
  27365.                                 hp.BottomSurface = 0
  27366.                                 hp.Transparency = 0.1
  27367.                                 hp.CFrame = char.Torso.CFrame * CFrame.new(math.random(-5,5),-3,math.random(-5,5))
  27368.                                 hp.CFrame = hp.CFrame * CFrame.Angles(math.random(),math.random(),math.random())
  27369.                                 hp.CanCollide = false
  27370.                                 hp.Anchored = false
  27371.                                 hp:BreakJoints()
  27372.                                 local mf = Instance.new("SpecialMesh")
  27373.                                 mf.MeshType = "Brick"
  27374.                                 mf.Parent = hp
  27375.                                 mf.Scale = Vector3.new(0.65,0.65,0.65)
  27376.                                 local bv = Instance.new("BodyVelocity")
  27377.                                 bv.Parent = hp
  27378.                                 bv.velocity = Vector3.new(0,10,0)
  27379.                                 coroutine.resume(coroutine.create(function()
  27380.                                         wait(0.9)
  27381.                                         for i=1, 9 do
  27382.                                                 hp.Transparency = hp.Transparency + 0.1
  27383.                                                 wait()
  27384.                                         end
  27385.                                         hp:remove()
  27386.                                 end))
  27387.                         end
  27388.                 elseif (key == "r") then
  27389.                         if enabled == true then return end
  27390.                         enabled = true
  27391.                         myhum.WalkSpeed = 0
  27392.                         handle2.BrickColor = BrickColor.new(elec)
  27393.                         brick2.BrickColor = handle2.BrickColor
  27394.                         brick3.BrickColor = handle2.BrickColor
  27395.                         cols = {"Neon orange", "New Yeller", "Bright yellow", "Bright orange"}
  27396.                         for i=1, 6 do
  27397.                                 wait(0.01)
  27398.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.11,0,0)
  27399.                         end
  27400.                         wait(0.35)
  27401.                         tab = {}
  27402.                         for i=1, 50 do
  27403.                         for i=1, 20 do
  27404.                                 local a = Instance.new("Part")
  27405.                                 a.Parent = workspace
  27406.                                 a.formFactor = "Symmetric"
  27407.                                 a.Size = Vector3.new(4,1,1)
  27408.                                 a.TopSurface = 0
  27409.                                 a.BottomSurface = 0
  27410.                                 local numb = math.random(1,4)
  27411.                                 a.BrickColor = BrickColor.new(cols[numb])
  27412.                                 a.Anchored = true
  27413.                                 a.CanCollide = false
  27414.                                 a.Transparency = 0.3
  27415.                                 local mo = Instance.new("SpecialMesh")
  27416.                                 mo.Parent = a
  27417.                                 mo.MeshType = "Brick"
  27418.                                 mo.Scale = Vector3.new(1,0.2,0.2)
  27419.                                 a.CFrame = handle2.CFrame
  27420.                                 a.CFrame = a.CFrame * CFrame.Angles(math.random(-3.2,3.2),math.random(-3.2,3.2),math.random(-3.2,3.2)) * CFrame.new(2,0,0)
  27421.                                 table.insert(tab, a)
  27422.                         end
  27423.                         wait()
  27424.                         for _, v in pairs(tab) do
  27425.                                 v:remove()
  27426.                         end
  27427.                         end
  27428.                         for i=1, 7 do
  27429.                                 wait(0.01)
  27430.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.17,0.1,0)
  27431.                         end
  27432.                         coroutine.resume(coroutine.create(function()
  27433.                         for i=1, 10 do
  27434.                                 wait(0.2)
  27435.                                 local h = Instance.new("Part")
  27436.                                 h.Parent = workspace
  27437.                                 h.Shape = "Ball"
  27438.                                 h.Size = Vector3.new(3,3,3)
  27439.                                 h.TopSurface = 0
  27440.                                 h.BottomSurface = 0
  27441.                                 local numb = math.random(1,4)
  27442.                                 h.BrickColor = BrickColor.new(cols[numb])
  27443.                                 h.Anchored = true
  27444.                                 h.CanCollide = false
  27445.                                 h.Transparency = 0.5
  27446.                                 h.CFrame = handle2.CFrame
  27447.                                 local function magn(hif)
  27448.                                         if hif.Parent.Name == player.Name then return end
  27449.                                         local dist = (char.Torso.Position - hif.Position).magnitude
  27450.                                         if dist >= 10 then
  27451.                                                 print(dist)
  27452.                                                 local hum = hif.Parent:findFirstChild("Humanoid")
  27453.                                                 if hum ~= nil then
  27454.                                                         hum.Health = 0
  27455.                                                 end
  27456.                                         end
  27457.                                 end
  27458.                                 coroutine.resume(coroutine.create(function()
  27459.                                         for i=1, 30 do
  27460.                                                 wait()
  27461.                                                 magn(char.Torso)
  27462.                                         end
  27463.                                 end))
  27464.                                 coroutine.resume(coroutine.create(function()
  27465.                                         for i=1, 30 do
  27466.                                                 wait(0.04)
  27467.                                                 h.Size = h.Size + Vector3.new(2,2,2)
  27468.                                                 h.Transparency = h.Transparency + 0.023
  27469.                                                 h.CFrame = handle2.CFrame
  27470.                                         end
  27471.                                         h:remove()
  27472.                                 end))
  27473.                         end
  27474.                         end))
  27475.                         for i=1, 19 do
  27476.                         for i=1, 30 do
  27477.                                 local f = Instance.new("Part")
  27478.                                 f.Parent = workspace
  27479.                                 f.formFactor = "Symmetric"
  27480.                                 f.Size = Vector3.new(25,1,1)
  27481.                                 f.TopSurface = 0
  27482.                                 f.BottomSurface = 0
  27483.                                 local numb = math.random(1,4)
  27484.                                 f.BrickColor = BrickColor.new(cols[numb])
  27485.                                 f.Anchored = true
  27486.                                 f.CanCollide = false
  27487.                                 f.Transparency = 0.3
  27488.                                 local mo = Instance.new("SpecialMesh")
  27489.                                 mo.Parent = f
  27490.                                 mo.MeshType = "Brick"
  27491.                                 mo.Scale = Vector3.new(1,math.random(0.8,1.7),math.random(0.8,1.7))
  27492.                                 f.CFrame = handle2.CFrame
  27493.                                 f.CFrame = f.CFrame * CFrame.Angles(math.random(-3.2,3.2),math.random(-3.2,3.2),math.random(-3.2,3.2)) * CFrame.new(12.5,0,0)
  27494.                                 table.insert(tab, f)
  27495.                         end
  27496.                         wait(0.1)
  27497.                         for _, v in pairs(tab) do
  27498.                                 v:remove()
  27499.                         end
  27500.                         end
  27501.                         myhum.WalkSpeed = norm
  27502.                         enabled = false
  27503.                 end
  27504.         end)
  27505.         mouse.KeyUp:connect(function(key)
  27506.                 key = key:lower()
  27507.                 if (key == "k") then
  27508.                         hol = false
  27509.                         for i=1, 6 do
  27510.                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,-0.1,0)
  27511.                         wait()
  27512.                         end
  27513.                         wa.C1 = original
  27514.                         enabled = false
  27515.                         wait(0.3)
  27516.                         wa.C1 = original
  27517.                 elseif (key == "e") then
  27518.                         hol = false
  27519.                         for i=1, 6 do
  27520.                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,-0.02,0)
  27521.                         weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0.24)
  27522.                         wait()
  27523.                         end
  27524.                         myhum.WalkSpeed = norm
  27525.                         for i=1, 5 do
  27526.                                 wait(0.15)
  27527.                                 wa.C1 = original
  27528.                                 weld.C1 = weporigin
  27529.                         end
  27530.                         enabled = false
  27531.                 end
  27532.         end)
  27533.         mouse.Button1Down:connect(function()
  27534.                 e = char.Torso
  27535.                 wait(0.2)
  27536.                 e.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,2.5,0)
  27537.         end)
  27538. end
  27539.  
  27540. function deselect()
  27541.         spin = false
  27542.         for i = 1, 8 do
  27543.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  27544.                 wait()
  27545.         end
  27546.         for i = 1, 4 do
  27547.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  27548.                 wait()
  27549.         end
  27550.         toha.Part0 = toha.Parent
  27551.         toha.Part1 = handle
  27552.         weld.Part0 = nil
  27553.         weld.Part1 = nil
  27554.         wait()
  27555.         wa.Part0 = nil
  27556.         wa.Part1 = nil
  27557. end
  27558.  
  27559.  
  27560. script.Parent.Selected:connect(select)
  27561. script.Parent.Deselected:connect(deselect)
  27562.  
  27563.         end)
  27564. --
  27565. local button = Instance.new("TextButton")
  27566.         button.Parent = ws
  27567.         button.BackgroundColor3 = blak
  27568.         button.BorderColor3 = rede
  27569.         button.BorderSizePixel = 3
  27570.         button.Name = "xBow"
  27571.         button.Position = UDim2.new(0.5,3,0,231)
  27572.         button.Size = UDim2.new(0.5,-3,0,30)
  27573.         button.ZIndex = 2
  27574.         button.Font = tef
  27575.         button.FontSize = "Size14"
  27576.         button.Text = "xBow"
  27577.         button.TextColor3 = whit
  27578.         button.TextWrapped = true
  27579.                 button.MouseButton1Down:connect(function()
  27580.         me = game.Players.LocalPlayer
  27581. char = me.Character
  27582. Selected = false
  27583. Able = true
  27584. Arrow = nil
  27585. ArrowOn = false
  27586. Hurt = false
  27587. Deb = true
  27588. Reloading = false
  27589. Shooting = false
  27590. Slashing = false
  27591. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27592. EffectOn = false
  27593. Accuracy = 1
  27594. SelAnim = false
  27595. DMG = 123452323
  27596. LapaCol = "Brown"
  27597. HandCol = "Brown"
  27598. MiddleCol = "Brown"
  27599. ViiniCol = "Brown"
  27600. Icon = "http://www.roblox.com/asset/?id=51902588"
  27601. Keys = {
  27602. e = false,
  27603. }
  27604. ModelName = "Epic Bow"
  27605. CA = CFrame.Angles
  27606. CN = CFrame.new
  27607. MR = math.rad
  27608. MP = math.pi
  27609. MRA = math.random
  27610. MH = math.huge
  27611. UD = UDim2.new
  27612. C3 = Color3.new
  27613. MaximumPower = 1000000000
  27614. MaxSpecial = 100000
  27615. Special = MaxSpecial
  27616. Sounds = {
  27617. Slash = {"rbxasset://sounds//swordslash.wav", 1.2, 1},
  27618. Shoot = {"http://www.roblox.com/asset/?id=16211041", 2, 1},
  27619. Stick = {"http://www.roblox.com/asset/?id=2767090", 15, 1},
  27620. Hit = {"http://www.roblox.com/asset/?id=10209590", 0.9, 1},
  27621. Block = {"rbxasset://sounds\\metal.ogg", 1.4, 1},
  27622. }
  27623. function RC(Pos, Dir, Max, Ignore)
  27624. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore)
  27625. end
  27626. function RayC(Start, En, MaxDist, Ignore)
  27627. return RC(Start, (En - Start), MaxDist, Ignore)
  27628. end
  27629. function DetectSurface(pos, part)
  27630. local surface = nil
  27631. local pospos = part.CFrame
  27632. local pos2 = pospos:pointToObjectSpace(pos)
  27633. local siz = part.Size
  27634. local shaep = part.Shape
  27635. if shaep == Enum.PartType.Ball or shaep == Enum.PartType.Cylinder then
  27636. surface = {"Anything", CN(pospos.p, pos)*CN(0, 0, -(pospos.p - pos).magnitude)*CA(MR(-90), 0, 0)}
  27637. else
  27638. if pos2.Y > ((siz.Y/2)-0.04) then
  27639. surface = {"Top", CA(0, 0, 0)}
  27640. elseif pos2.Y < -((siz.Y/2)-0.04) then
  27641. surface = {"Bottom", CA(-MP, 0, 0)}
  27642. elseif pos2.X > ((siz.X/2)-0.04) then
  27643. surface = {"Right", CA(0, 0, MR(-90))}
  27644. elseif pos2.X < -((siz.X/2)-0.04) then
  27645. surface = {"Left", CA(0, 0, MR(90))}
  27646. elseif pos2.Z > ((siz.Z/2)-0.04) then
  27647. surface = {"Back", CA(MR(90), 0, 0)}
  27648. elseif pos2.Z < -((siz.Z/2)-0.04) then
  27649. surface = {"Front", CA(MR(-90), 0, 0)}
  27650. end
  27651. end
  27652. return surface
  27653. end
  27654. function Compute(pos1, pos2)
  27655. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  27656. return CN(pos1, pos3)
  27657. end
  27658. function Notime(func, tiem)
  27659. if tiem then wait(tiem) end
  27660. coroutine.resume(coroutine.create(function() func() end))
  27661. end
  27662. function waitChild(p, n)
  27663. local child = p:findFirstChild(n)
  27664. if child then return child end
  27665. while true do
  27666. child = p.ChildAdded:wait()
  27667. if child.Name == n then return child end
  27668. end
  27669. end
  27670. function getHumanoid(c)
  27671. for _,v in pairs(c:children()) do
  27672. if v:IsA("Humanoid") and c ~= char then if v.Health > 0 then return v end end
  27673. end
  27674. end
  27675. function SE(part, pos)
  27676. EffectOn = true
  27677. local lastP = (part.CFrame * pos).p
  27678. Notime(function()
  27679. while EffectOn do
  27680. wait()
  27681. local posnow = (part.CFrame * pos).p
  27682. local eff = Part(workspace, true, false, 0, 0, "Really black", 0.2, 1, 0.2)
  27683. local magn = (lastP - posnow).magnitude
  27684. local cf = CN(lastP, posnow) * CA(MR(-90), 0, 0)
  27685. local mes2 = Instance.new("SpecialMesh",eff)
  27686. mes2.Scale = Vector3.new(0.6, magn, 0.6)
  27687. eff.CFrame = cf * CN(0, magn/2, 0)
  27688. Notime(function()
  27689. for i = 0, 1, 0.1 do
  27690. wait()
  27691. eff.Transparency = i
  27692. eff.Reflectance = 0.15*i
  27693. mes2.Scale = Vector3.new(0.6-0.6*i, magn, 0.6-0.6*i)
  27694. end
  27695. eff:remove()
  27696. end)
  27697. lastP = posnow
  27698. end
  27699. end)
  27700. end
  27701. function EE()
  27702. EffectOn = false
  27703. end
  27704. torso = waitChild(char, "Torso")
  27705. Rarm = waitChild(char, "Right Arm")
  27706. Larm = waitChild(char, "Left Arm")
  27707. Rleg = waitChild(char, "Right Leg")
  27708. Lleg = waitChild(char, "Left Leg")
  27709. Hum = waitChild(char, "Humanoid")
  27710. neck = waitChild(torso, "Neck")
  27711. function EditGui(obj, parent, size, position, bgcolor, bordercolor, transparency, text, textcolor, auto)
  27712. obj.Size = size
  27713. obj.Position = position
  27714. obj.BackgroundColor3 = bgcolor
  27715. obj.BorderColor3 = bordercolor
  27716. obj.BackgroundTransparency = transparency
  27717. if obj:IsA("TextLabel") or obj:IsA("TextButton") then
  27718. obj.Text = text
  27719. obj.TextColor3 = textcolor
  27720. end
  27721. if obj:IsA("ImageButton") or obj:IsA("TextButton") then
  27722. obj.AutoButtonColor = auto
  27723. obj.MouseButton1Down:connect(function()
  27724. RemoveOptions()
  27725. end)
  27726. end
  27727. obj.Parent = parent
  27728. end
  27729. Gui = waitChild(me, "PlayerGui")
  27730. for _,v in pairs(Gui:children()) do
  27731. if v.Name == "Power" then v:remove() end
  27732. end
  27733. Sc = Instance.new("ScreenGui", Gui)
  27734. Sc.Name = "Power"
  27735. Main = Instance.new("TextLabel")
  27736. Main.Visible = false
  27737. EditGui(Main, Sc, UD(0, 200, 0, 65), UD(0.5, -100, 0, 120), C3(0.06, 0.06, 0.1), C3(), 0.5, "Power", C3(1, 1, 0))
  27738. Main.TextYAlignment = "Top"
  27739. Main.FontSize = "Size36"
  27740. Main.Font = "ArialBold"
  27741. Main.TextTransparency = 0.5
  27742. BarBack = Instance.new("Frame")
  27743. EditGui(BarBack, Main, UD(1, -10, 0, 25), UD(0, 5, 1, -30), C3(0, 0, 0), C3(), 0.5)
  27744. Bar = Instance.new("ImageLabel")
  27745. EditGui(Bar, BarBack, UD(0, 0, 1, 0), UD(0, 0, 0, 0), C3(1, 0.7, 0), C3(), 0.5)
  27746. Bar.Image = "http://www.roblox.com/asset/?id=48965808"
  27747. Spec = Instance.new("Frame")
  27748. EditGui(Spec, Sc, UD(0, 250, 0, 22), UD(0.04, 0, 0, 5), C3(1, 0.75, 0.1), C3(), 0)
  27749. SpecialBack = Instance.new("Frame")
  27750. EditGui(SpecialBack, Spec, UD(1, -10, 1, -6), UD(0, 5, 0, 3), C3(0.35, 0.1, 0.15), C3(), 0)
  27751. SpecialBar = Instance.new("ImageLabel")
  27752. EditGui(SpecialBar, SpecialBack, UD(Special/MaxSpecial, 0, 1, 0), UD(0, 0, 0, 0), C3(0.1, 0.65, 0.2), C3(), 0)
  27753. SpecialBar.Image = "http://www.roblox.com/asset/?id=48965808"
  27754. for i = 1, 3, 1 do
  27755. local p = Instance.new("Frame")
  27756. EditGui(p, SpecialBack, UD(0, 1, 1, 0), UD(i/4, 0, 0, 0), C3(0.1, 0.2, 1), C3(), 0)
  27757. p.BorderSizePixel = 0
  27758. end
  27759. SpecialText = Instance.new("TextLabel")
  27760. EditGui(SpecialText, SpecialBack, UD(1, 0, 1, 0), UD(0, 0, 0, 0), C3(), C3(), 1, "S P E C I A L", C3(1,1,1))
  27761. SpecialText.Font = "ArialBold"
  27762. SpecialText.FontSize = "Size14"
  27763. function Play(Sound)
  27764. local s = Instance.new("Sound")
  27765. s.SoundId = Sound[1]
  27766. s.Pitch = Sound[2]
  27767. s.Volume = Sound[3]
  27768. s.Parent = torso
  27769. s.PlayOnRemove = true
  27770. game.Debris:AddItem(s, 0.0001)
  27771. end
  27772. RSH = waitChild(torso, "Right Shoulder")
  27773. LSH = waitChild(torso, "Left Shoulder")
  27774. RH = waitChild(torso, "Right Hip")
  27775. LH = waitChild(torso, "Left Hip")
  27776. for i,v in pairs(char:children()) do if v.Name == ModelName then v:remove() end end
  27777. function Part(P, Anch, Coll, Tran, Ref, Col, X, Y, Z)
  27778. local p = Instance.new("Part")
  27779. p.TopSurface = 0
  27780. p.BottomSurface = 0
  27781. p.Transparency = Tran
  27782. p.Reflectance = Ref
  27783. p.CanCollide = Coll
  27784. p.Anchored = Anch
  27785. p.BrickColor = BrickColor.new(Col)
  27786. p.formFactor = "Custom"
  27787. p.Size = Vector3.new(X,Y,Z)
  27788. p.Parent = P
  27789. p.Locked = true
  27790. p:BreakJoints()
  27791. return p
  27792. end
  27793. function Weld(P0, P1, X, Y, Z, A, B, C)
  27794. local w = Instance.new("Weld")
  27795. w.Part0 = P0
  27796. w.Part1 = P1
  27797. w.C1 = CN(X, Y, Z) * CA(A, B, C)
  27798. w.Parent = P0
  27799. return w
  27800. end
  27801. Mo = Instance.new("Model")
  27802. Mo.Name = ModelName
  27803. FTorso = Part(Mo, false, false, 1, 0, torso.BrickColor.Name, torso.Size.X, torso.Size.Y, torso.Size.Z)
  27804. FWeld = Weld(torso, FTorso, 0, 0, 0, 0, 0, 0)
  27805. RABrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27806. LABrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27807. RLBrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27808. LLBrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27809. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  27810. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  27811. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  27812. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  27813. function Atch(p)
  27814. RABW.Part0 = p
  27815. LABW.Part0 = p
  27816. RLBW.Part0 = p
  27817. LLBW.Part0 = p
  27818. RSH.Part0 = p
  27819. LSH.Part0 = p
  27820. RH.Part0 = p
  27821. LH.Part0 = p
  27822. end
  27823. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  27824. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  27825. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  27826. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  27827. HB = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27828. HBW = Weld(Larm, HB, 0, 1, 0, 0, 0, 0)
  27829. HW = Weld(HB, nil, 0, 0, 0, MR(90), 0, 0)
  27830. AB = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27831. ABW = Weld(Rarm, AB, 0, 1, 0, 0, 0, 0)
  27832. AW = Weld(AB, nil, 0, 0, 0, 0, 0, 0)
  27833. TW = Weld(torso, nil, -0.7, 0, 0.5, 0, MP, 0)
  27834. Handle = Part(Mo, false, false, 0, 0, HandCol, 0.6, 1.2, 0.6)
  27835. Instance.new("SpecialMesh",Handle)
  27836. TW.Part1 = Handle
  27837. for i = -0.6, 0.61, 1.2 do
  27838. local p = Part(Mo, false, false, 0, 0, MiddleCol, 0.7, 0.2, 1.1)
  27839. Weld(Handle, p, 0, i, 0.15, 0, 0, 0)
  27840. Instance.new("BlockMesh", p)
  27841. end
  27842. local UpPoint, DownPoint
  27843. for i = -10, 95, 15 do
  27844. local p = Part(Mo, false, false, 0, 0, LapaCol, 0.69, 0.4, 0.2)
  27845. local w = Weld(Handle, p, 0, 0, 1.4, 0, 0, 0)
  27846. w.C0 = CN(0, 1.1, 0.75) * CA(MR(i), 0, 0)
  27847. Instance.new("BlockMesh", p)
  27848. UpPoint = p
  27849. end
  27850. for i = 10, -95, -15 do
  27851. local p = Part(Mo, false, false, 0, 0, LapaCol, 0.69, 0.4, 0.2)
  27852. local w = Weld(Handle, p, 0, 0, 1.4, 0, 0, 0)
  27853. w.C0 = CN(0, -1.1, 0.75) * CA(MR(i), 0, 0)
  27854. Instance.new("BlockMesh", p)
  27855. DownPoint = p
  27856. end
  27857. StringUp = Part(Mo, false, false, 0, 0, "Really black", 0.2, 1, 0.2)
  27858. StringDown = Part(Mo, false, false, 0, 0, "Really black", 0.2, 1, 0.2)
  27859. SUM = Instance.new("SpecialMesh", StringUp)
  27860. SDM = Instance.new("SpecialMesh", StringDown)
  27861. SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
  27862. SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
  27863. ORSU = CN(0, -1.3, 0) * CA(MR(-85), 0, 0)
  27864. ORSD = CN(0, 1.3, 0) * CA(MR(85), 0, 0)
  27865. SUW = Weld(UpPoint, StringUp, 0, -1.3, 0, MR(-85), 0, 0)
  27866. SDW = Weld(DownPoint, StringDown, 0, 1.3, 0, MR(85), 0, 0)
  27867. SUW.C0 = CN(0, 0.15, 0)
  27868. SDW.C0 = CN(0, -0.15, 0)
  27869. SUW.C1 = ORSU
  27870. SDW.C1 = ORSD
  27871. Arrow = Part(Mo, false, false, 1, 0, "Really black", 0.4, 0.4, 4.4)
  27872. local mesh = Instance.new("SpecialMesh",Arrow)
  27873. mesh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  27874. mesh.TextureId = "http://www.roblox.com/asset/?id=15886781"
  27875. mesh.Scale = Vector3.new(1, 1, 2.1)
  27876. AW.Part1 = Arrow
  27877. Ring = Part(Mo, false, false, 0, 0, ViiniCol, 0.2, 0.2, 0.2)
  27878. RingM = Instance.new("SpecialMesh", Ring)
  27879. RingM.MeshId = "http://www.roblox.com/asset/?id=3270017"
  27880. RingM.Scale = Vector3.new(0.6, 1, 21)
  27881. local www = Weld(FTorso, Ring, -0.9, -0.2, -0.8, MR(90), MR(90), MR(30))
  27882. www.C0 = CA(MR(-10), 0, 0)
  27883. Sp = Part(Mo, false, false, 0, 0, "Really black", 1, 0.2, 1)
  27884. local S = Instance.new("SpecialMesh",Sp)
  27885. S.MeshType = "Sphere"
  27886. S.Scale = Vector3.new(0.65, 1, 1.05)
  27887. Weld(Ring, Sp, 0, 1.7, 0, MR(-90), 0, 0)
  27888. function makeArrow(pos, ang)
  27889. local arrow = Part(Mo, false, false, 0, 0, "Really black", 0.2, 1, 0.2)
  27890. local mesh = Instance.new("SpecialMesh",arrow)
  27891. mesh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  27892. mesh.TextureId = "http://www.roblox.com/asset/?id=15886781"
  27893. mesh.Scale = Vector3.new(1, 1, 2.1)
  27894. Weld(Ring, arrow, pos.x, pos.y, pos.z, MP, 0, ang)
  27895. end
  27896. makeArrow(Vector3.new(0.15, 0.1, 0.55), 0.8)
  27897. makeArrow(Vector3.new(-0.2, -0.1, 0.65), -0.4)
  27898. makeArrow(Vector3.new(-0.1, 0.1, 0.6), 1.8)
  27899. makeArrow(Vector3.new(-0.1, -0.15, 0.7), 1.2)
  27900. makeArrow(Vector3.new(0, 0.3, 0.6), 0.28)
  27901. makeArrow(Vector3.new(0, 0, 0.65), 0.34)
  27902. makeArrow(Vector3.new(0.3, 0.1, 0.55), 1.9)
  27903. makeArrow(Vector3.new(-0.35, 0.1, 0.67), 1.9)
  27904. Mo.Parent = char
  27905. function Normal()
  27906. FTorso.Transparency = 1
  27907. FWeld.C0 = CN()
  27908. torso.Transparency = 0
  27909. LAW.C0 = CA(0, 0, MR(30))
  27910. RAW.Part1 = nil
  27911. RAW.C0 = CN()
  27912. RAW.C1 = CN(0, 0.5, 0)
  27913. LAW.C1 = CN(0, 0.5, 0)
  27914. LAW.Part1 = Larm
  27915. RABW.Part0 = torso
  27916. LABW.Part0 = torso
  27917. RLBW.Part0 = torso
  27918. LLBW.Part0 = torso
  27919. RSH.Part0 = torso
  27920. LSH.Part0 = torso
  27921. RH.Part0 = torso
  27922. LH.Part0 = torso
  27923. AW.C0 = CN()
  27924. HW.C0 = CA(MR(180), 0, MR(150))
  27925. SUW.C0 = CN(0, 0.15, 0)
  27926. SDW.C0 = CN(0, -0.15, 0)
  27927. SUW.C1 = ORSU
  27928. SDW.C1 = ORSD
  27929. SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
  27930. SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
  27931. end
  27932.  
  27933. bin = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  27934. function ShowDmg(pos, dmg)
  27935. local col = "Bright red"
  27936. if dmg < 1 then
  27937. col = "Bright blue"
  27938. end
  27939. local m = Instance.new("Model")
  27940. m.Name = "Damage Dealt: "..dmg*1758384
  27941. local p = Part(m, false, false, 0, 0, col, 0.8, 0.3, 0.8)
  27942. p.Name = "Head"
  27943. p.CFrame = CFrame.new(pos)
  27944. local bp = Instance.new("BodyPosition", p)
  27945. bp.position = pos + Vector3.new(0, 2.5, 0)
  27946. bp.P = 6500
  27947. bp.maxForce = Vector3.new(MH, MH, MH)
  27948. local h = Instance.new("Humanoid",m)
  27949. h.MaxHealth = 0
  27950. h.Health = 0
  27951. h.Name = "fffsaf"
  27952. m.Parent = workspace
  27953. game.Debris:AddItem(m, 1.5)
  27954. end
  27955. function Dmg(hum, dmg, pos)
  27956. if hum.Health > 0 then
  27957. hum.Health = hum.Health - dmg*1758384
  27958. ShowDmg(pos, dmg)
  27959. end
  27960. end
  27961. function ArrowT(hit)
  27962. local h = getHumanoid(hit.Parent)
  27963. if h and Deb and Hurt then
  27964. Deb = false
  27965. Dmg(h, MRA(3,15), Arrow.CFrame * CN(0, 0, 2.2).p)
  27966. end
  27967. end
  27968. Arrow.Touched:connect(ArrowT)
  27969. function SelectAnim()
  27970. LAW.Part1 = Larm
  27971. SelAnim = true
  27972. for i = 0.2, 1, 0.2 do
  27973. LAW.C0 = CA(MR(-25*i), 0, MR(25*i)) * CN(0, 0.2*i, 0)
  27974. wait()
  27975. end
  27976. HW.C0 = CN(0.4, 0.3, 0) * CA(MR(110), MR(-100), MR(180))
  27977. HW.Part1 = Handle
  27978. TW.Part1 = nil
  27979. for i = 0.08, 1, 0.08 do
  27980. LAW.C0 = CA(MR(-25+25*i), 0, MR(25-55*i)) * CN(0, 0.2-0.2*i, 0)
  27981. HW.C0 = CN(0.4-0.4*i, 0.3-0.3*i, 0) * CA(MR(110+70*i), MR(-20+20*i), MR(180-30*i))
  27982. wait()
  27983. end
  27984. SelAnim = false
  27985. HW.C0 = CA(MR(180), 0, MR(150))
  27986. end
  27987. function DeselectAnim()
  27988. for i = 0.12, 1, 0.12 do
  27989. LAW.C0 = CA(MR(-25*i), 0, MR(-30+55*i)) * CN(0, 0.2*i, 0)
  27990. HW.C0 = CN(0.4*i, 0.3*i, 0) * CA(MR(180-70*i), MR(-20*i), MR(150+30*i))
  27991. if SelAnim or Selected then return end
  27992. wait()
  27993. end
  27994. HW.Part1 = nil
  27995. TW.Part1 = Handle
  27996. for i = 0.12, 1, 0.12 do
  27997. LAW.C0 = CA(MR(-25+25*i), 0, MR(-30+55-25*i)) * CN(0, 0.2-0.2*i, 0)
  27998. if SelAnim or Selected then return end
  27999. wait()
  28000. end
  28001. if Selected == false and SelAnim == false then
  28002. LAW.Part1 = nil
  28003. end
  28004. end
  28005. function Slash()
  28006. RAW.Part1 = Rarm
  28007. Slashing = true
  28008. Play(Sounds.Slash)
  28009. for i = 0.15, 1, 0.15 do
  28010. RAW.C0 = CA(MR(180*i), MR(-20*i), MR(35*i))
  28011. AW.C0 = CA(MR(35*i), 0, 0) * CN(0, 0, 0.7*i)
  28012. wait()
  28013. end
  28014. for i = 0.33, 1, 0.33 do
  28015. RAW.C0 = CA(MR(180+10*i), MR(-20), MR(35+2*i))
  28016. AW.C0 = CA(MR(35+5*i), 0, 0) * CN(0, 0, 0.7+0.2*i)
  28017. wait()
  28018. end
  28019. local blockk = false
  28020. local hit, pos = RayC(torso.Position, torso.CFrame * CN(0, 0, -5).p, 3.2, char)
  28021. if hit ~= nil then
  28022. if getHumanoid(hit.Parent) == nil and hit.CanCollide == true then
  28023. blockk = true
  28024. end
  28025. end
  28026. SE(Arrow, CN(0, 0, 2.2))
  28027. if blockk == false then
  28028. Hurt = true
  28029. Deb = true
  28030. for i = 0.2, 1, 0.2 do
  28031. RAW.C0 = CA(MR(190-140*i), MR(-20-5*i), MR(37-87*i)) * CN(0, -1*i, 0)
  28032. AW.C0 = CA(MR(40-25*i), MR(-20*i), 0) * CN(0, 0, 0.9+0.3*i)
  28033. wait()
  28034. end
  28035. EE()
  28036. Hurt = false
  28037. for i = 0.33, 1, 0.33 do
  28038. RAW.C0 = CA(MR(50-10*i), MR(-25), MR(-50-5*i)) * CN(0, -1, 0)
  28039. AW.C0 = CA(MR(15-20*i), MR(-20-1*i), 0) * CN(0, 0, 1.2*i)
  28040. wait()
  28041. end
  28042. for i = 0.25, 1, 0.25 do
  28043. RAW.C0 = CA(MR(40-10*i), MR(-25+25*i), MR(-55+35*i)) * CN(0, -1+1*i, 0)
  28044. AW.C0 = CA(MR(-5+55*i), MR(-21+21*i), 0) * CN(0, 0, 1.2-1.2*i)
  28045. wait()
  28046. end
  28047. for i = 0.25, 1, 0.25 do
  28048. RAW.C0 = CA(MR(30-30*i), 0, MR(-20+20*i))
  28049. AW.C0 = CA(MR(50-50*i), 0, 0)
  28050. wait()
  28051. end
  28052. else
  28053. for i = 0.5, 1, 0.5 do
  28054. RAW.C0 = CA(MR(190-50*i), MR(-20-5*i), MR(37-27*i)) * CN(0, -0.2*i, 0)
  28055. AW.C0 = CA(MR(40-5*i), MR(-5*i), 0) * CN(0, 0, 0.9+0.1*i)
  28056. wait()
  28057. end
  28058. Play(Sounds.Block)
  28059. for i = 0.25, 1, 0.25 do
  28060. RAW.C0 = CA(MR(140+60*i), MR(-25+25*i), MR(10+20*i)) * CN(0, -0.2-0.3*i, 0)
  28061. AW.C0 = CA(MR(35+45*i), MR(-5+5*i), 0) * CN(0, 0, 1)
  28062. wait()
  28063. end
  28064. EE()
  28065. for i = 0.33, 1, 0.33 do
  28066. RAW.C0 = CA(MR(200+10*i), MR(5*i), MR(30+5*i)) * CN(0, -0.5, 0)
  28067. AW.C0 = CA(MR(80+5*i), 0, 0) * CN(0, 0, 1)
  28068. wait()
  28069. end
  28070. for i = 0.18, 1, 0.18 do
  28071. RAW.C0 = CA(MR(210-200*i), MR(5-5*i), MR(35-30*i)) * CN(0, -0.5+0.4*i, 0)
  28072. AW.C0 = CA(MR(85-75*i), 0, 0) * CN(0, 0, 1-0.8*i)
  28073. wait()
  28074. end
  28075. for i = 0.33, 1, 0.33 do
  28076. RAW.C0 = CA(MR(10-10*i), 0, MR(5-5*i)) * CN(0, -0.1+0.1*i, 0)
  28077. AW.C0 = CA(MR(10-10*i), 0, 0) * CN(0, 0, 0.2-0.2*i)
  28078. wait()
  28079. end
  28080. AW.C0 = CN()
  28081. end
  28082. Slashing = false
  28083. RAW.Part1 = nil
  28084. end
  28085. function Reload()
  28086. if ArrowOn == false then
  28087. RAW.Part1 = Rarm
  28088. Reloading = true
  28089. for i = 0.16, 1, 0.16 do
  28090. RAW.C0 = CA(MR(200*i), MR(-5*i), 0) * CN(0, -0.35*i, 0)
  28091. wait()
  28092. end
  28093. AW.C0 = CA(0, MR(-90), 0)
  28094. AW.C1 = CN(0, 0, -1.5) * CA(MR(60), 0, 0)
  28095. Arrow.Transparency = 0
  28096. ArrowOn = true
  28097. for i = 0.2, 1, 0.2 do
  28098. RAW.C0 = CA(MR(200), MR(-5), MR(40*i)) * CN(0, -0.35, 0)
  28099. AW.C1 = CN(0, 0, -1.5+2*i) * CA(MR(60-20*i), 0, 0)
  28100. wait()
  28101. end
  28102. for i = 0.33, 1, 0.33 do
  28103. RAW.C0 = CA(MR(200), MR(-5), MR(40+10*i)) * CN(0, -0.35+0.05*i, 0)
  28104. AW.C1 = CN(0, 0, 0.5+0.1*i) * CA(MR(40-5*i), 0, 0)
  28105. wait()
  28106. end
  28107. for i = 0.18, 1, 0.18 do
  28108. RAW.C0 = CA(MR(200-190*i), MR(-5+5*i), MR(50-45*i)) * CN(0, -0.3+0.25*i, 0)
  28109. AW.C1 = CN(0, 0, 0.6-0.5*i) * CA(MR(35-30*i), 0, 0)
  28110. AW.C0 = CA(0, MR(-90+80*i), 0)
  28111. wait()
  28112. end
  28113. for i = 0.33, 1, 0.33 do
  28114. RAW.C0 = CA(MR(10-10*i), 0, MR(5-5*i)) * CN(0, -0.05+0.05*i, 0)
  28115. AW.C1 = CN(0, 0, 0.1-0.1*i) * CA(MR(5-5*i), 0, 0)
  28116. AW.C0 = CA(0, MR(-10+10*i), 0)
  28117. wait()
  28118. end
  28119. AW.C1 = CN()
  28120. AW.C0 = CN()
  28121. RAW.C0 = CN()
  28122. RAW.Part1 = nil
  28123. Reloading = false
  28124. else
  28125. Slash()
  28126. end
  28127. end
  28128. function AddDetail(Surface, pos, bool, part, hu)
  28129. local caf = CN(pos) * CA(part.CFrame:toEulerAnglesXYZ()) * Surface[2]
  28130. if Surface[1] == "Anything" then
  28131. caf = Surface[2]
  28132. end
  28133. Notime(function()
  28134. if bool then
  28135. Notime(function()
  28136. for i = 1, MRA(2,7) do
  28137. local x = MRA(0.4*100, 0.9*100)/100
  28138. local z = MRA(0.7*100, 1.2*100)/100
  28139. local pp = Part(hu.Parent, false, false, 0, 0, "Bright red", 0.2, 0.2, 0.2)
  28140. local ms = Instance.new("SpecialMesh",pp)
  28141. ms.MeshType = "Sphere"
  28142. ms.Scale = Vector3.new(x*5, 1, z*5)
  28143. pp.CFrame = caf
  28144. local w = Weld(part, pp, 0, 0, 0, 0, 0, 0)
  28145. local c0 = part.CFrame:toObjectSpace(caf) * CN(MRA(-0.3*100, 0.3*100)/100, 0, MRA(-0.3*100, 0.3*100)/100) * CA(0, MR(MRA(-180,180)), 0)
  28146. w.C0 = c0
  28147. Notime(function()
  28148. local moar = MRA(-1.1*1000, 1.1*1000)/1000
  28149. for i = 0, 1, MRA(0.02*1000, 0.06*1000)/1000 do
  28150. wait()
  28151. w.C0 = c0 * CN(0, 0, -moar*i)
  28152. ms.Scale = Vector3.new((x*5)-(moar/3)*i, 1, (z*5)+(moar/3)*i)
  28153. pp.Transparency = -0.5+1.5*i
  28154. end
  28155. pp:remove()
  28156. end)
  28157. end
  28158. end)
  28159. for i = 1, MRA(4,8) do
  28160. Notime(function()
  28161. local pp2 = Part(hu.Parent, true, false, 0, 0, "Bright red", 0.2, 0.2, 0.2)
  28162. pp2.CFrame = caf
  28163. local ms2 = Instance.new("SpecialMesh",pp2)
  28164. ms2.MeshType = "Sphere"
  28165. ms2.Scale = Vector3.new(1.5, 1.5, 1.5)
  28166. local face = CA(MR(MRA(-40, 40)+105), MR(MRA(-40, 40)), MR(MRA(-40, 40)))
  28167. local center = caf * face * CN(0, -5, 0)
  28168. Notime(function()
  28169. for i = 0, 1, 0.1 do
  28170. pp2.Transparency = -0.7+1.7*i
  28171. pp2.CFrame = center * CN(0, 0, -2.5*i) * CA(MR(-55*i), 0, 0) * CN(0, 5, 0)
  28172. wait()
  28173. end
  28174. pp2:remove()
  28175. end)
  28176. end)
  28177. end
  28178. else
  28179. Notime(function()
  28180. for i = 1, MRA(5,8) do
  28181. Notime(function()
  28182. local t = {"Bright yellow", "New Yeller", "Really black", "Institutional Really black", "Brick yellow"}
  28183. local pp = Part(workspace, true, false, 0, 0, t[MRA(1, #t)], 0.2, 0.2, 0.2)
  28184. local mes = Instance.new("SpecialMesh",pp)
  28185. mes.MeshType = "Sphere"
  28186. mes.Scale = Vector3.new(0.5, 0.5, 1)
  28187. local caa = CN(caf.p) * CA(MR(MRA(-180,180)), MR(MRA(-180,180)), MR(MRA(-180,180)))
  28188. pp.CFrame = caa
  28189. for i = 0.25, 1, 0.25 do
  28190. wait()
  28191. mes.Scale = Vector3.new(0.5+0.1*i, 0.5+0.1*i, 1+2*i)
  28192. pp.CFrame = caa * CN(0, 0, -0.4*i)
  28193. end
  28194. for i = 0.25, 1, 0.25 do
  28195. wait()
  28196. mes.Scale = Vector3.new(0.6, 0.6, 3+1.6*i)
  28197. pp.CFrame = caa * CN(0, 0, -0.6-0.32*i)
  28198. pp.Transparency = -0.2+1.2*i
  28199. end
  28200. pp:remove()
  28201. end)
  28202. end
  28203. end)
  28204. end
  28205. end)
  28206. end
  28207. function ShootArrow(pos, power, targ)
  28208. local Start = Handle.Position
  28209. local mag = (Start - pos).magnitude/200
  28210. if mag > 12.5 then mag = 12.5 end
  28211. if targ == nil then mag = 1 end
  28212. local Face = CN(Start, pos) * CA(MR(MRA(-Accuracy*10000, Accuracy*10000)/10000+mag), MR(MRA(-Accuracy*10000, Accuracy*10000)/10000), MR(MRA(-Accuracy*10000, Accuracy*10000)/10000))
  28213. local Arr = Part(Mo, true, false, 0, 0, "Really black", 0.2, 0.2, 0.2)
  28214. local mes = Instance.new("SpecialMesh",Arr)
  28215. mes.MeshId = "http://www.roblox.com/asset/?id=15887356"
  28216. mes.TextureId = "http://www.roblox.com/asset/?id=15886781"
  28217. mes.Scale = Vector3.new(1, 1, 2.1)
  28218. Arr.CFrame = Face
  28219. local Go = 2.8+(power/30)
  28220. local Dist = 200+(power*2.8)
  28221. local Drop = 0.55/(Go*1.25)
  28222. local lastP = Start
  28223. local didhit = false
  28224. local omg = 0
  28225. local hit2, pos2 = RayC(torso.CFrame * CN(0, 0, -0.4).p, torso.CFrame * CN(0, 0, -2).p, 2.5, char)
  28226. local hu2 = nil
  28227. if hit2 then
  28228. local hh = getHumanoid(hit2.Parent)
  28229. if hh then
  28230. hit2 = nil
  28231. end
  28232. end
  28233. for i = Go, Dist, Go do
  28234. Drop = Drop + 1/(Go*3.5)
  28235. omg = omg + Drop
  28236. local dropping = CA(MR(-Drop), 0, 0)
  28237. if omg > 130 then
  28238. dropping = CN()
  28239. end
  28240. Face = Face * dropping * CN(0, 0, -Go)
  28241. Arr.CFrame = Face * CA(MR(-180), 0, 0)
  28242. local hit, p = RayC(lastP, Face.p, Go+0.5, char)
  28243. local eff = Part(Mo, true, false, 0, 0, "Really black", 0.2, 1, 0.2)
  28244. local magn = (lastP - Face.p).magnitude
  28245. local cf = CN(lastP, Face.p) * CA(MR(-90), 0, 0)
  28246. if hit then
  28247. magn = (lastP - p).magnitude
  28248. cf = CN(lastP, p) * CA(MR(-90), 0, 0)
  28249. end
  28250. local mes2 = Instance.new("SpecialMesh",eff)
  28251. mes2.Scale = Vector3.new(0.6, magn, 0.6)
  28252. eff.CFrame = cf * CN(0, magn/2, 0)
  28253. Notime(function()
  28254. for i = 0, 1, 0.12 do
  28255. wait()
  28256. eff.Transparency = i
  28257. eff.Reflectance = 0.15*i
  28258. mes2.Scale = Vector3.new(0.6-0.6*i, magn, 0.6-0.6*i)
  28259. end
  28260. eff:remove()
  28261. end)
  28262. local realhit = hit
  28263. if hit2 then realhit = hit2 p = pos2 end
  28264. if hit or hit2 then
  28265. local h = getHumanoid(realhit.Parent)
  28266. local sound = Sounds.Stick
  28267. if h and hit.Parent.className ~= "Hat" then
  28268. local d = MRA(12+DMG+(power/8), 20+DMG+(power/5.5))
  28269. hit:remove()
  28270. if hit.Name == "Head" then
  28271. d = math.floor(d*1.4)
  28272. hit:remove()
  28273. end
  28274. Dmg(h, d, p)
  28275. sound = Sounds.Hit
  28276. elseif h == nil and realhit.Parent.className ~= "Hat" then
  28277. if realhit.Anchored == false then
  28278. Notime(function()
  28279. wait(0.08)
  28280. local mas = realhit:GetMass()/5+2
  28281. local vel = (16+(power/3))/mas
  28282. if vel < 0 then vel = 0 end
  28283. realhit.Velocity = (CN(lastP, p).lookVector) * vel
  28284. end)
  28285. end
  28286. end
  28287. local a = -1.2
  28288. if realhit.Anchored then
  28289. Arr.CFrame = CN(p, lastP) * CN(0, 0, a)
  28290. if realhit == hit2 then
  28291. Arr.CFrame = CN(Start, pos2) * CN(0, 0, -1.9)
  28292. end
  28293. else
  28294. a = (power-200)/110
  28295. local w8 = 13
  28296. if realhit.Parent.className == "Hat" then
  28297. a = ((power/2)-170)/110
  28298. w8 = 5
  28299. end
  28300. Arr.Anchored = false
  28301. local w = Weld(realhit, Arr, 0, 0, 0, 0, 0, 0)
  28302. w.C1 = ((CN(p, lastP) * CN(0, 0, a)):toObjectSpace(realhit.CFrame))
  28303. if realhit == hit2 then
  28304. w.C1 = ((CN(Start, pos2) * CN(0, 0, -1.9)):toObjectSpace(realhit.CFrame))
  28305. end
  28306. Notime(function()
  28307. if power < 50 then
  28308. wait(w8+power/7.5)
  28309. local caa = Arr.CFrame
  28310. w:remove()
  28311. Arr.Size = Vector3.new(0.3, 0.3, 4)
  28312. Arr.CFrame = caa
  28313. Arr.CanCollide = true
  28314. end
  28315. end)
  28316. end
  28317. didhit = true
  28318. Notime(
  28319. function()
  28320. wait(26)
  28321. for i = 0, 1, 0.02 do
  28322. Arr.Transparency = i
  28323. wait()
  28324. end
  28325. Arr:remove()
  28326. end
  28327. )
  28328. Play(sound)
  28329. local Surface = DetectSurface(p, realhit)
  28330. AddDetail(Surface, p, h ~= nil and hit.Parent.className ~= "Hat", realhit, h)
  28331. wait(0.05)
  28332. break
  28333. end
  28334. lastP = Face.p
  28335. wait()
  28336. end
  28337. if didhit == false then
  28338. for i = 0, 1, 0.2 do
  28339. Arr.Transparency = i
  28340. wait()
  28341. end
  28342. Arr:remove()
  28343. end
  28344. end
  28345. function Shoot(mouse)
  28346. Shooting = true
  28347. RAW.Part1 = Rarm
  28348. Atch(FTorso)
  28349. FTorso.Transparency = 0
  28350. torso.Transparency = 1
  28351. local shoot = false
  28352. Spec.BorderColor3 = C3()
  28353. local amg, omg = false, false
  28354. Notime(function()
  28355. repeat
  28356. wait()
  28357. until Selected == false or omg
  28358. if omg == false then
  28359. omg = true
  28360. Shooting = false
  28361. Reloading = false
  28362. Hurt = false
  28363. Slashing = false
  28364. Normal()
  28365. EE()
  28366. return
  28367. end
  28368. end)
  28369. Notime(function()
  28370. mouse.Button1Up:wait()
  28371. shoot = true
  28372. end)
  28373. for i = 0.16, 1, 0.16 do
  28374. FWeld.C0 = CA(0, MR(-80*i), 0)
  28375. LAW.C0 = CA(MR(85*i), 0, MR(-30-25*i)) * CN(0.3*i, 0.4*i, -0.1*i)
  28376. RAW.C0 = CA(MR(85*i), 0, MR(-70*i)) * CN(0.65*i, -1.2*i, 0)
  28377. HW.C0 = CA(MR(180), 0, MR(150+60*i))
  28378. AW.C0 = CA(MR(85*i), 0, 0) * CN(0, 0, 2.1*i)
  28379. wait()
  28380. end
  28381. for i = 0.33, 1, 0.33 do
  28382. FWeld.C0 = CA(0, MR(-80-10*i), 0)
  28383. LAW.C0 = CA(MR(85+5*i), 0, MR(-55-5*i)) * CN(0.3, 0.4, -0.1)
  28384. RAW.C0 = CA(MR(85+5*i), 0, MR(-70-5*i)) * CN(0.65+0.05*i, -1.2-0.1*i, 0)
  28385. HW.C0 = CA(MR(180), 0, MR(210+5*i))
  28386. AW.C0 = CA(MR(85+5*i), MR(-15*i), 0) * CN(0, 0, 2.1+0.1*i)
  28387. wait()
  28388. end
  28389. LAW.C0 = CA(MR(90), 0, MR(-60)) * CN(0.3, 0.4, -0.1)
  28390. HW.C0 = CA(MR(180), 0, MR(215))
  28391. FWeld.C0 = CA(0, MR(-90), 0)
  28392. for i = 0.25, 1, 0.25 do
  28393. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
  28394. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
  28395. SUW.C1 = CN(0, -0.22*i, 0) * ORSU
  28396. SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28397. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
  28398. SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28399. SDW.C1 = CN(0, 0.25*i, 0) * ORSD
  28400. wait()
  28401. end
  28402. for i = 0.33, 1, 0.33 do
  28403. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
  28404. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
  28405. SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
  28406. SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28407. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
  28408. SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28409. SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
  28410. wait()
  28411. end
  28412. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, 0, 0)
  28413. local powe = 10
  28414. Main.Visible = true
  28415. Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
  28416. Notime(function()
  28417. repeat wait() until powe >= MaximumPower or shoot
  28418. wait(6)
  28419. if shoot == false then
  28420. shoot = true
  28421. end
  28422. end)
  28423. repeat
  28424. wait()
  28425. powe = powe + 4.8
  28426. if powe > MaximumPower then powe = MaximumPower end
  28427. Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
  28428. local sped = 16-((powe/MaximumPower)*9) if Selected == false then sped = 16 end
  28429. Hum.WalkSpeed = sped
  28430. until shoot
  28431. Main.Visible = false
  28432. Notime(function()
  28433. for i = 0.5, 1, 0.5 do
  28434. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-30+30*i), 0, 0)
  28435. SUW.C1 = CN(0, -0.25+0.25*i, 0) * ORSU
  28436. SUM.Scale = Vector3.new(0.4, 2.8-0.4*i, 0.4)
  28437. SDW.C0 = CN(0, -0.15, 0) * CA(MR(30-30*i), 0, 0)
  28438. SDM.Scale = Vector3.new(0.4, 2.8-0.4*i, 0.4)
  28439. SDW.C1 = CN(0, 0.25-0.25*i, 0) * ORSD
  28440. wait()
  28441. end
  28442. end)
  28443. local pos = mouse.Hit.p
  28444. ArrowOn = false
  28445. Arrow.Transparency = 1
  28446. Notime(function()
  28447. Play(Sounds.Shoot)
  28448. ShootArrow(pos, powe, mouse.Target)
  28449. end)
  28450. for i = 0.2, 1, 0.2 do
  28451. FWeld.C0 = CA(0, MR(-90+25*i), 0)
  28452. LAW.C0 = CA(MR(90+25*i), 0, MR(-60-15*i)) * CN(0.3-0.3*i, 0.4-0.4*i, -0.1+0.1*i)
  28453. RAW.C0 = CA(MR(90+60*i), 0, MR(-75+55*i)) * CN(0.7-0.5*i, -0.1*i, 0)
  28454. HW.C0 = CA(MR(180), 0, MR(215-65*i))
  28455. wait()
  28456. end
  28457. Hum.WalkSpeed = 16
  28458. for i = 0.25, 1, 0.25 do
  28459. FWeld.C0 = CA(0, MR(-65+5*i), 0)
  28460. LAW.C0 = CA(MR(115+5*i), 0, MR(-75-5*i))
  28461. RAW.C0 = CA(MR(150+10*i), 0, MR(-20+5*i)) * CN(0.2-0.1*i, -0.1-0.05*i, 0)
  28462. HW.C0 = CA(MR(180), 0, MR(150))
  28463. wait()
  28464. end
  28465. for i = 0.14, 1, 0.14 do
  28466. FWeld.C0 = CA(0, MR(-60+55*i), 0)
  28467. LAW.C0 = CA(MR(120-110*i), 0, MR(-80+45*i))
  28468. RAW.C0 = CA(MR(160-150*i), 0, MR(-15+10*i)) * CN(0.1-0.1*i, -0.15+0.15*i, 0)
  28469. wait()
  28470. end
  28471. for i = 0.33, 1, 0.33 do
  28472. FWeld.C0 = CA(0, MR(-5+5*i), 0)
  28473. LAW.C0 = CA(MR(10-10*i), 0, MR(-35+5*i))
  28474. RAW.C0 = CA(MR(10-10*i), 0, MR(-5+5*i))
  28475. wait()
  28476. end
  28477. AW.C0 = CN()
  28478. FWeld.C0 = CN()
  28479. LAW.C0 = CA(0, 0, MR(-30))
  28480. HW.C0 = CA(MR(180), 0, MR(150))
  28481. FTorso.Transparency = 1
  28482. torso.Transparency = 0
  28483. Atch(torso)
  28484. Shooting = false
  28485. RAW.Part1 = nil
  28486. RAW.C0 = CN()
  28487. Spec.BorderColor3 = C3()
  28488. omg = true
  28489. end
  28490. function SpecialAtk(mouse)
  28491. if Special < 50 then return end
  28492. Shooting = true
  28493. Spec.BorderColor3 = C3(0, 1, 0)
  28494. RAW.Part1 = Rarm
  28495. Atch(FTorso)
  28496. FTorso.Transparency = 0
  28497. torso.Transparency = 1
  28498. local amg, omg = false, false
  28499. Notime(function()
  28500. repeat
  28501. wait()
  28502. until Selected == false or omg
  28503. if omg == false then
  28504. omg = true
  28505. Shooting = false
  28506. Reloading = false
  28507. Hurt = false
  28508. Slashing = false
  28509. Normal()
  28510. EE()
  28511. return
  28512. end
  28513. end)
  28514. local shoot = false
  28515. Notime(function()
  28516. mouse.Button1Up:wait()
  28517. shoot = true
  28518. end)
  28519. for i = 0.2, 1, 0.2 do
  28520. FWeld.C0 = CA(0, MR(-80*i), 0)
  28521. LAW.C0 = CA(MR(85*i), 0, MR(-30-25*i)) * CN(0.3*i, 0.4*i, -0.1*i)
  28522. RAW.C0 = CA(MR(85*i), 0, MR(-70*i)) * CN(0.65*i, -1.2*i, 0)
  28523. HW.C0 = CA(MR(180), 0, MR(150+60*i))
  28524. AW.C0 = CA(MR(85*i), 0, 0) * CN(0, 0, 2.1*i)
  28525. wait()
  28526. end
  28527. for i = 0.5, 1, 0.5 do
  28528. FWeld.C0 = CA(0, MR(-80-10*i), 0)
  28529. LAW.C0 = CA(MR(85+5*i), 0, MR(-55-5*i)) * CN(0.3, 0.4, -0.1)
  28530. RAW.C0 = CA(MR(85+5*i), 0, MR(-70-5*i)) * CN(0.65+0.05*i, -1.2-0.1*i, 0)
  28531. HW.C0 = CA(MR(180), 0, MR(210+5*i))
  28532. AW.C0 = CA(MR(85+5*i), MR(-15*i), 0) * CN(0, 0, 2.1+0.1*i)
  28533. wait()
  28534. end
  28535. LAW.C0 = CA(MR(90), 0, MR(-60)) * CN(0.3, 0.4, 0)
  28536. HW.C0 = CA(MR(180), 0, MR(215))
  28537. FWeld.C0 = CA(0, MR(-90), 0)
  28538. AW.C0 = CA(MR(90), MR(-15), 0) * CN(0, 0, 2.2)
  28539. for i = 0.33, 1, 0.33 do
  28540. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
  28541. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
  28542. SUW.C1 = CN(0, -0.22*i, 0) * ORSU
  28543. SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28544. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
  28545. SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28546. SDW.C1 = CN(0, 0.25*i, 0) * ORSD
  28547. wait()
  28548. end
  28549. for i = 0.5, 1, 0.5 do
  28550. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
  28551. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
  28552. SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
  28553. SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28554. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
  28555. SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28556. SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
  28557. wait()
  28558. end
  28559. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, 0, 0)
  28560. local powe = 0
  28561. Main.Visible = true
  28562. Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
  28563. Notime(function()
  28564. repeat wait() until powe >= MaximumPower or shoot
  28565. if shoot == false then
  28566. shoot = true
  28567. end
  28568. end)
  28569. repeat
  28570. wait()
  28571. powe = powe + 5
  28572. if powe > MaximumPower then powe = MaximumPower end
  28573. Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
  28574. local sped = 16-((powe/MaximumPower)*9) if Selected == false then sped = 16 end
  28575. Hum.WalkSpeed = sped
  28576. until shoot
  28577. Special = Special - 50
  28578. Main.Visible = false
  28579. local pos = mouse.Hit.p
  28580. Notime(function()
  28581. Play(Sounds.Shoot)
  28582. ShootArrow(pos, powe/1.2, mouse.Target)
  28583. end)
  28584. SUW.C0 = CN(0, 0.15, 0) * CA(0, 0, 0)
  28585. SUW.C1 = CN(0, 0, 0) * ORSU
  28586. SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
  28587. SDW.C0 = CN(0, -0.15, 0) * CA(0, 0, 0)
  28588. SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
  28589. SDW.C1 = CN(0, 0, 0) * ORSD
  28590. for i = 0.33, 1, 0.33 do
  28591. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3*i, 0)
  28592. wait()
  28593. end
  28594. for i = 0.33, 1, 0.33 do
  28595. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
  28596. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
  28597. SUW.C1 = CN(0, -0.22*i, 0) * ORSU
  28598. SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28599. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
  28600. SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28601. SDW.C1 = CN(0, 0.25*i, 0) * ORSD
  28602. wait()
  28603. end
  28604. for i = 0.5, 1, 0.5 do
  28605. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
  28606. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
  28607. SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
  28608. SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28609. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
  28610. SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28611. SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
  28612. wait()
  28613. end
  28614. Notime(function()
  28615. Arrow.Transparency = 1
  28616. ArrowOn = false
  28617. Play(Sounds.Shoot)
  28618. ShootArrow(pos, powe/1.2, mouse.Target)
  28619. end)
  28620. Notime(function()
  28621. for i = 0.5, 1, 0.5 do
  28622. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-30+30*i), 0, 0)
  28623. SUW.C1 = CN(0, -0.25+0.25*i, 0) * ORSU
  28624. SUM.Scale = Vector3.new(0.4, 2.9-0.5*i, 0.4)
  28625. SDW.C0 = CN(0, -0.15, 0) * CA(MR(30-30*i), 0, 0)
  28626. SDM.Scale = Vector3.new(0.4, 2.9-0.5*i, 0.4)
  28627. SDW.C1 = CN(0, 0.25-0.25*i, 0) * ORSD
  28628. wait()
  28629. end
  28630. end)
  28631. for i = 0.25, 1, 0.25 do
  28632. FWeld.C0 = CA(0, MR(-90+25*i), 0)
  28633. LAW.C0 = CA(MR(90+25*i), 0, MR(-60-15*i)) * CN(0.3-0.3*i, 0.4-0.4*i, -0.1+0.1*i)
  28634. RAW.C0 = CA(MR(90+60*i), 0, MR(-75+55*i)) * CN(0.7-0.5*i, -0.1*i, 0)
  28635. HW.C0 = CA(MR(180), 0, MR(215-65*i))
  28636. wait()
  28637. end
  28638. Hum.WalkSpeed = 16
  28639. for i = 0.33, 1, 0.33 do
  28640. FWeld.C0 = CA(0, MR(-65+5*i), 0)
  28641. LAW.C0 = CA(MR(115+5*i), 0, MR(-75-5*i))
  28642. RAW.C0 = CA(MR(150+10*i), 0, MR(-20+5*i)) * CN(0.2-0.1*i, -0.1-0.05*i, 0)
  28643. HW.C0 = CA(MR(180), 0, MR(150))
  28644. wait()
  28645. end
  28646. for i = 0.16, 1, 0.16 do
  28647. FWeld.C0 = CA(0, MR(-60+55*i), 0)
  28648. LAW.C0 = CA(MR(120-110*i), 0, MR(-80+45*i))
  28649. RAW.C0 = CA(MR(160-150*i), 0, MR(-15+10*i)) * CN(0.1-0.1*i, -0.15+0.15*i, 0)
  28650. wait()
  28651. end
  28652. for i = 0.5, 1, 0.5 do
  28653. FWeld.C0 = CA(0, MR(-5+5*i), 0)
  28654. LAW.C0 = CA(MR(10-10*i), 0, MR(-35+5*i))
  28655. RAW.C0 = CA(MR(10-10*i), 0, MR(-5+5*i))
  28656. wait()
  28657. end
  28658. Spec.BorderColor3 = C3()
  28659. AW.C0 = CN()
  28660. FWeld.C0 = CN()
  28661. LAW.C0 = CA(0, 0, MR(-30))
  28662. HW.C0 = CA(MR(180), 0, MR(150))
  28663. FTorso.Transparency = 1
  28664. torso.Transparency = 0
  28665. Atch(torso)
  28666. Shooting = false
  28667. RAW.Part1 = nil
  28668. RAW.C0 = CN()
  28669. omg = false
  28670. end
  28671. function Sel(mouse)
  28672. mouse.Icon = Icon
  28673. SelectAnim()
  28674. Selected = true
  28675. mouse.KeyDown:connect(function(key)
  28676. key = key:lower()
  28677. if Reloading == false and Slashing == false and Shooting == false then
  28678. if key == "f" then
  28679. Reload()
  28680. end
  28681. end
  28682. if Shooting == false then
  28683. if key == "e" then
  28684. Keys.e = true
  28685. local k
  28686. Spec.BorderColor3 = C3(1, 1, 0.4)
  28687. repeat
  28688. wait()
  28689. k = mouse.KeyUp:wait()
  28690. until k == "e"
  28691. Keys.e = false
  28692. if Shooting == false then
  28693. Spec.BorderColor3 = C3()
  28694. end
  28695. end
  28696. end
  28697. end)
  28698. mouse.Button1Down:connect(function()
  28699. if Reloading == false and Slashing == false and Shooting == false then
  28700. if ArrowOn == false then
  28701. local yesh = true
  28702. Notime(function()
  28703. mouse.Button1Up:wait()
  28704. yesh = false
  28705. end)
  28706. local ah = Keys.e
  28707. Reload()
  28708. if yesh then
  28709. local mm = Special >= 50
  28710. if ah and mm or Keys.e and mm then
  28711. SpecialAtk(mouse)
  28712. else
  28713. Shoot(mouse)
  28714. end
  28715. end
  28716. else
  28717. local mm = Special >= 50
  28718. if Keys.e and mm then
  28719. SpecialAtk(mouse)
  28720. else
  28721. Shoot(mouse)
  28722. end
  28723. end
  28724. end
  28725. end)
  28726. end
  28727. function Desel(mouse)
  28728. Selected = false
  28729. Main.Visible = false
  28730. Hum.WalkSpeed = 16
  28731. DeselectAnim()
  28732. end
  28733. bin.Deselected:connect(Desel)
  28734. bin.Selected:connect(Sel)
  28735. while Mo.Parent == char do
  28736. wait()
  28737. Special = Special + 0.07
  28738. if Special > MaxSpecial then Special = MaxSpecial end
  28739. SpecialBar.Size = UDim2.new(Special/MaxSpecial, 0, 1, 0)
  28740. end    
  28741.         end)
  28742. local title = Instance.new("TextLabel")
  28743.         title.Parent = gt
  28744.         title.BackgroundColor3 = blak
  28745.         title.BorderColor3 = rede
  28746.         title.BorderSizePixel = 3
  28747.         title.Name = "Title"
  28748.         title.Size = UDim2.new(1,0,0,30)
  28749.         title.ZIndex = 2
  28750.         title.Font = "SourceSansBold"
  28751.         title.FontSize = "Size14"
  28752.         title.Text = "Gear/Tools"
  28753.         title.TextColor3 = whit
  28754. local title = Instance.new("TextLabel")
  28755.         title.Parent = ws
  28756.         title.BackgroundColor3 = blak
  28757.         title.BorderColor3 = rede
  28758.         title.BorderSizePixel = 3
  28759.         title.Name = "Title"
  28760.         title.Size = UDim2.new(1,0,0,30)
  28761.         title.ZIndex = 2
  28762.         title.Font = "SourceSansBold"
  28763.         title.FontSize = "Size14"
  28764.         title.Text = "Weapon Scripts"
  28765.         title.TextColor3 = whit
  28766. -- Page 2 End --
  28767.  
  28768.  
  28769.  
  28770.  
  28771. -- Misc --
  28772. local button = Instance.new("TextButton")
  28773.         button.Parent = misc
  28774.         button.BackgroundColor3 = blak
  28775.         button.BorderColor3 = rede
  28776.         button.BorderSizePixel = 3
  28777.         button.Name = "Become Owner in Personal Server"
  28778.         button.Position = UDim2.new(0,0,0,33)
  28779.         button.Size = UDim2.new(0.5,0,0,30)
  28780.         button.ZIndex = 2
  28781.         button.Font = tef
  28782.         button.FontSize = "Size14"
  28783.         button.Text = "Become Owner [PS]"
  28784.         button.TextColor3 = whit
  28785.         button.TextWrapped = true
  28786.         button.MouseButton1Down:connect(function()
  28787.                 while game.Players.LocalPlayer.PersonalServerRank<255 do
  28788.    game:GetService("PersonalServerService"):Promote(game.Players.LocalPlayer)
  28789. end
  28790.         end)
  28791. --
  28792. local button = Instance.new("TextButton")
  28793.         button.Parent = misc
  28794.         button.BackgroundColor3 = blak
  28795.         button.BorderColor3 = rede
  28796.         button.BorderSizePixel = 3
  28797.         button.Name = "Disco Fog"
  28798.         button.Position = UDim2.new(0.5,3,0,33)
  28799.         button.Size = UDim2.new(0.5,-3,0,30)
  28800.         button.ZIndex = 2
  28801.         button.Font = tef
  28802.         button.FontSize = "Size14"
  28803.         button.Text = "Disco Fog"
  28804.         button.TextColor3 = whit
  28805.         button.TextWrapped = true
  28806.         button.MouseButton1Down:connect(function()
  28807. basics = {Color3.new(255/255,0/255,0/255),Color3.new(255/255,85/255,0/255),Color3.new(218/255,218/255,0/255),Color3.new(0/255,190/255,0/255),Color3.new(0/255,85/255,255/255),Color3.new(0/255,0/255,127/255),Color3.new(170/255,0/255,255/255),Color3.new(0/255,204/255,204/255),Color3.new(255/255,85/255,127/255),Color3.new(0/255,0/255,0/255),Color3.new(255/255,255/255,255/255)}
  28808. game.Lighting.FogStart = 25
  28809. game.Lighting.FogEnd = 300
  28810. while true do
  28811. wait(0.5)
  28812. game.Lighting.FogColor = basics[math.random(1,#basics)]
  28813. end
  28814.         end)
  28815. --
  28816. local button = Instance.new("TextButton")
  28817.         button.Parent = misc
  28818.         button.BackgroundColor3 = blak
  28819.         button.BorderColor3 = rede
  28820.         button.BorderSizePixel = 3
  28821.         button.Name = "Fencing Restore"
  28822.         button.Position = UDim2.new(0,0,0,66)
  28823.         button.Size = UDim2.new(0.5,0,0,30)
  28824.         button.ZIndex = 2
  28825.         button.Font = tef
  28826.         button.FontSize = "Size14"
  28827.         button.Text = "Fencing Restore"
  28828.         button.TextColor3 = whit
  28829.         button.TextWrapped = true
  28830.         button.MouseButton1Down:connect(function()
  28831.                 --Fencing Restore script made by Yelock--
  28832. --Now restoring fencing Please wait ----------
  28833. --Censore
  28834. --mediafire
  28835. --hitler
  28836. --megaupload
  28837. --globe of geeks
  28838. --lego
  28839. --cheez
  28840. --chicken
  28841. --requires c>2
  28842. function X(ws)
  28843. for _, v in pairs(ws:GetChildren()) do
  28844. v.Archivable = true
  28845. if v.Name ~= "UClear" and v.Name ~= "Terrain" and game.Players:GetPlayerFromCharacter(v)==nil and v~=game.Workspace.CurrentCamera then
  28846. if v:IsA("Script") or v:IsA("LocalScript") then
  28847. v.Disabled = true
  28848. v:remove()
  28849. else
  28850. v:remove()
  28851. end
  28852. end
  28853. if game.Workspace:findFirstChild("Base") ~= nil then
  28854. else
  28855. local Base=Instance.new("Part",game.Workspace)
  28856. Base.Name="Base"
  28857. Base.Size=Vector3.new(1000,1,1000)
  28858. Base.BrickColor=BrickColor.new("Earth green")
  28859. Base.Anchored=true
  28860. Base.Locked=true
  28861. Base.TopSurface="Universal"
  28862. Base.CFrame=CFrame.new(Vector3.new(0,0,0))
  28863. local Spawn=Instance.new("SpawnLocation",game.Workspace)
  28864. Spawn.Name="lol"
  28865. Spawn.Size=Vector3.new(6,1,6)
  28866. Spawn.Transparency=1
  28867. Spawn.CanCollide=false
  28868. Spawn.Anchored=true
  28869. Spawn.Locked=true
  28870. Spawn.CFrame=CFrame.new(Vector3.new(0,1,0))
  28871. end
  28872. end
  28873. end
  28874. X(game.Workspace)
  28875. X(game.Teams)
  28876. X(game.StarterGui)
  28877. wait()
  28878. game.Workspace:InsertContent("rbxassetid://118791953")
  28879. wait()
  28880. game.workspace.Base:Destroy()
  28881. wait()
  28882. game.workspace.lol:Destroy()
  28883. wait()
  28884. game.Lighting.Ambient = Color3.new(255,255,255)
  28885. game.Lighting.TimeOfDay = 12
  28886. game.Lighting.Brightness = 0.5
  28887. game.Lighting.FogEnd = 100000
  28888. game.Lighting.GlobalShadows = false
  28889. game.Lighting.Sky:Destroy()
  28890. game.Lighting.FogEnd = 100000
  28891. game.Lighting.Brightness = 1
  28892. game.Workspace.Terrain:clear()
  28893.         end)
  28894. --
  28895. local button = Instance.new("TextButton")
  28896.         button.Parent = misc
  28897.         button.BackgroundColor3 = blak
  28898.         button.BorderColor3 = rede
  28899.         button.BorderSizePixel = 3
  28900.         button.Name = "Leaderstat Add"
  28901.         button.Position = UDim2.new(0.5,3,0,66)
  28902.         button.Size = UDim2.new(0.5,-3,0,30)
  28903.         button.ZIndex = 2
  28904.         button.Font = tef
  28905.         button.FontSize = "Size14"
  28906.         button.Text = "Leaderstat Add"
  28907.         button.TextColor3 = whit
  28908.         button.TextWrapped = true
  28909.         button.MouseButton1Down:connect(function()
  28910.                 while true do
  28911. wait(.1)
  28912. game.Players.LocalPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Name"].TextBox.Text).Value = game.Players.LocalPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Name"].TextBox.Text)+game.Players.LocalPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Amount"].TextBox.Text)
  28913. end
  28914.         end)
  28915. --
  28916. local button = Instance.new("TextButton")
  28917.         button.Parent = misc
  28918.         button.BackgroundColor3 = blak
  28919.         button.BorderColor3 = rede
  28920.         button.BorderSizePixel = 3
  28921.         button.Name = "Leaderstat Change"
  28922.         button.Position = UDim2.new(0,0,0,99)
  28923.         button.Size = UDim2.new(0.5,0,0,30)
  28924.         button.ZIndex = 2
  28925.         button.Font = tef
  28926.         button.FontSize = "Size14"
  28927.         button.Text = "Leaderstat Change"
  28928.         button.TextColor3 = whit
  28929.         button.TextWrapped = true
  28930.         button.MouseButton1Down:connect(function()
  28931. game.Players.LocalPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Name"].TextBox.Text)game.Players.LocalPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Amount"].TextBox.Text)   
  28932.  
  28933.         end)
  28934. --
  28935. local button = Instance.new("TextButton")
  28936.         button.Parent = misc
  28937.         button.BackgroundColor3 = blak
  28938.         button.BorderColor3 = rede
  28939.         button.BorderSizePixel = 3
  28940.         button.Name = "Play Music"
  28941.         button.Position = UDim2.new(0.5,3,0,99)
  28942.         button.Size = UDim2.new(0.5,-3,0,30)
  28943.         button.ZIndex = 2
  28944.         button.Font = tef
  28945.         button.FontSize = "Size14"
  28946.         button.Text = "Play Music"
  28947.         button.TextColor3 = whit
  28948.         button.TextWrapped = true
  28949.         button.MouseButton1Down:connect(function()
  28950.                 for i,v in pairs(game.Workspace:GetChildren()) do
  28951. if v.className == "Sound" then
  28952. v:Stop()
  28953. v:Remove()     
  28954. end    
  28955. end
  28956. s = Instance.new("Sound",Workspace)
  28957. s.SoundId = "rbxassetid://"..frame.Settings.Page1["Music ID"].TextBox.Text
  28958. s.Volume = 1
  28959. s.Looped = true
  28960. s.Pitch = frame.Settings.Page1["Music Pitch"].TextBox.Text
  28961. s:Play()
  28962. wait(.1)
  28963. s:Play()
  28964.         end)
  28965. --
  28966. local button = Instance.new("TextButton")
  28967.         button.Parent = misc
  28968.         button.BackgroundColor3 = blak
  28969.         button.BorderColor3 = rede
  28970.         button.BorderSizePixel = 3
  28971.         button.Name = "Restore Skybox"
  28972.         button.Position = UDim2.new(0,0,0,132)
  28973.         button.Size = UDim2.new(0.5,0,0,30)
  28974.         button.ZIndex = 2
  28975.         button.Font = tef
  28976.         button.FontSize = "Size14"
  28977.         button.Text = "Restore Skybox"
  28978.         button.TextColor3 = whit
  28979.         button.TextWrapped = true
  28980.         button.MouseButton1Down:connect(function()
  28981.                 for i,v in pairs(game.Lighting:GetChildren()) do
  28982. v:Remove()
  28983. end
  28984.         end)
  28985. --
  28986. local button = Instance.new("TextButton")
  28987.         button.Parent = misc
  28988.         button.BackgroundColor3 = blak
  28989.         button.BorderColor3 = rede
  28990.         button.BorderSizePixel = 3
  28991.         button.Name = "Steal Player Points"
  28992.         button.Position = UDim2.new(0.5,3,0,132)
  28993.         button.Size = UDim2.new(0.5,-3,0,30)
  28994.         button.ZIndex = 2
  28995.         button.Font = tef
  28996.         button.FontSize = "Size14"
  28997.         button.Text = "Steal Player Points"
  28998.         button.TextColor3 = whit
  28999.         button.TextWrapped = true
  29000.         button.MouseButton1Down:connect(function()
  29001.                 local service = game:GetService("PointsService")
  29002. service:AwardPoints(game.Players.LocalPlayer.userId, service:GetAwardablePoints())
  29003.         end)
  29004. --
  29005. local button = Instance.new("TextButton")
  29006.         button.Parent = misc
  29007.         button.BackgroundColor3 = blak
  29008.         button.BorderColor3 = rede
  29009.         button.BorderSizePixel = 3
  29010.         button.Name = "Empty"
  29011.         button.Position = UDim2.new(0,0,0,165)
  29012.         button.Size = UDim2.new(0.499,0,0,30)
  29013.         button.ZIndex = 2
  29014.         button.Font = tef
  29015.         button.FontSize = "Size14"
  29016.         button.Text = "Empty"
  29017.         button.TextColor3 = whit
  29018.         button.TextWrapped = true
  29019.         button.MouseButton1Down:connect(function()
  29020.                
  29021.         end)
  29022. --
  29023. local button = Instance.new("TextButton")
  29024.         button.Parent = misc
  29025.         button.BackgroundColor3 = blak
  29026.         button.BorderColor3 = rede
  29027.         button.BorderSizePixel = 3
  29028.         button.Name = "Empty"
  29029.         button.Position = UDim2.new(0.5,3,0,165)
  29030.         button.Size = UDim2.new(0.5,-3,0,30)
  29031.         button.ZIndex = 2
  29032.         button.Font = tef
  29033.         button.FontSize = "Size14"
  29034.         button.Text = "Empty"
  29035.         button.TextColor3 = whit
  29036.         button.TextWrapped = true
  29037.         button.MouseButton1Down:connect(function()
  29038.                
  29039.         end)
  29040. --
  29041. local button = Instance.new("TextButton")
  29042.         button.Parent = misc
  29043.         button.BackgroundColor3 = blak
  29044.         button.BorderColor3 = rede
  29045.         button.BorderSizePixel = 3
  29046.         button.Name = "Empty"
  29047.         button.Position = UDim2.new(0,0,0,198)
  29048.         button.Size = UDim2.new(0.499,0,0,30)
  29049.         button.ZIndex = 3
  29050.         button.Font = tef
  29051.         button.FontSize = "Size14"
  29052.         button.Text = "Empty"
  29053.         button.TextColor3 = whit
  29054.         button.TextWrapped = true
  29055.         button.MouseButton1Down:connect(function()
  29056.                
  29057.         end)
  29058. --
  29059. local button = Instance.new("TextButton")
  29060.         button.Parent = misc
  29061.         button.BackgroundColor3 = blak
  29062.         button.BorderColor3 = rede
  29063.         button.BorderSizePixel = 3
  29064.         button.Name = "Empty"
  29065.         button.Position = UDim2.new(0.5,3,0,198)
  29066.         button.Size = UDim2.new(0.5,-3,0,30)
  29067.         button.ZIndex = 2
  29068.         button.Font = tef
  29069.         button.FontSize = "Size14"
  29070.         button.Text = "Empty"
  29071.         button.TextColor3 = whit
  29072.         button.TextWrapped = true
  29073.         button.MouseButton1Down:connect(function()
  29074.                
  29075.         end)
  29076.        
  29077. -- Local Player --
  29078. local button = Instance.new("TextButton")
  29079.         button.Parent = localp
  29080.         button.BackgroundColor3 = blak
  29081.         button.BorderColor3 = rede
  29082.         button.BorderSizePixel = 3
  29083.         button.Name = "Anti-Robloxian"
  29084.         button.Position = UDim2.new(0,0,0,33)
  29085.         button.Size = UDim2.new(0.5,0,0,30)
  29086.         button.ZIndex = 2
  29087.         button.Font = tef
  29088.         button.FontSize = "Size14"
  29089.         button.Text = "Anti-Robloxian"
  29090.         button.TextColor3 = whit
  29091.         button.TextWrapped = true
  29092.         button.MouseButton1Down:connect(function()
  29093.                 local Player = game.Players.LocalPlayer
  29094. while true do
  29095. local dist = frame.Settings.Page2["Anti Robloxian Range"].TextBox.Text
  29096. value = Instance.new("NumberValue", game.workspace)
  29097. value.Value = dist
  29098. local distance = 13
  29099. if Player then
  29100. c = game.Players:GetChildren()
  29101. for i = 1, #c do
  29102. if c[i].Name ~= Player.Name then
  29103. if c[i]:DistanceFromCharacter(game.Workspace[Player.Name].Torso.Position) <= distance then
  29104. c[i].Character:BreakJoints()
  29105. c2 = c[i].Character:GetChildren()
  29106. for i2 =1, #c2 do
  29107. if c2[i2]:IsA("BasePart") then
  29108. Instance.new("Fire", c2[i2])
  29109. end end end end end end wait() end
  29110.         end)
  29111. --
  29112. local button = Instance.new("TextButton")
  29113.         button.Parent = localp
  29114.         button.BackgroundColor3 = blak
  29115.         button.BorderColor3 = rede
  29116.         button.BorderSizePixel = 3
  29117.         button.Name = "Billboard Gui"
  29118.         button.Position = UDim2.new(0.5,3,0,33)
  29119.         button.Size = UDim2.new(0.5,-3,0,30)
  29120.         button.ZIndex = 2
  29121.         button.Font = tef
  29122.         button.FontSize = "Size14"
  29123.         button.Text = "Billboard Gui"
  29124.         button.TextColor3 = whit
  29125.         button.TextWrapped = true
  29126.         button.MouseButton1Down:connect(function()
  29127.                 if game.Players.LocalPlayer.Character.Head:FindFirstChild("BillboardGui") then
  29128. game.Players.LocalPlayer.Character.Head:FindFirstChild("BillboardGui"):Remove()
  29129. end
  29130. plr = game.Players.LocalPlayer.Name
  29131. y = Instance.new("BillboardGui")
  29132. y.Size = UDim2.new(0,100,0,150)
  29133. y.StudsOffset = Vector3.new(0,1,0)
  29134. y.Parent = game.Players[plr].Character.Head
  29135. y.Adornee = game.Players[plr].Character.Head
  29136. f = Instance.new("TextLabel")
  29137. f.Parent = y
  29138. f.BackgroundTransparency = 1
  29139. f.Position = UDim2.new(0,0,0,-50)
  29140. f.Size = UDim2.new(0,100,0,100)
  29141. f.Font = "Arial"
  29142. f.FontSize = "Size48"
  29143. f.Text = frame.Settings.Page1["Billboard Gui Text"].TextBox.Text
  29144. f.TextStrokeColor3 = Color3.new(0,0,0)
  29145. f.TextColor3 = Color3.new(frame.Settings.Page2["Billboard Gui Color"].TextBox1.Text/255,frame.Settings.Page2["Billboard Gui Color"].TextBox2.Text/255,frame.Settings.Page2["Billboard Gui Color"].TextBox3.Text/255)
  29146. f.TextStrokeTransparency = 0
  29147. f.TextYAlignment = "Bottom"
  29148.         end)
  29149. --
  29150.  
  29151. --
  29152. local button = Instance.new("TextButton")
  29153.         button.Parent = localp
  29154.         button.BackgroundColor3 = blak
  29155.         button.BorderColor3 = rede
  29156.         button.BorderSizePixel = 3
  29157.         button.Name = "Chicken Arms"
  29158.         button.Position = UDim2.new(0.5,3,0,66)
  29159.         button.Size = UDim2.new(0.5,-3,0,30)
  29160.         button.ZIndex = 2
  29161.         button.Font = tef
  29162.         button.FontSize = "Size14"
  29163.         button.Text = "Chicken Arms"
  29164.         button.TextColor3 = whit
  29165.         button.TextWrapped = true
  29166.         button.MouseButton1Down:connect(function()
  29167.                 local Chicken = game.Players.LocalPlayer.Name
  29168. game.Workspace[Chicken].Torso["Left Shoulder"].C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
  29169. game.Workspace[Chicken].Torso["Left Shoulder"].C1 = CFrame.new(0, 0.5, 0)
  29170. game.Workspace[Chicken].Torso["Right Shoulder"].C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
  29171. game.Workspace[Chicken].Torso["Right Shoulder"].C1 = CFrame.new(0, 0.5, 0)
  29172.         end)
  29173. --
  29174. local button = Instance.new("TextButton")
  29175.         button.Parent = localp
  29176.         button.BackgroundColor3 = blak
  29177.         button.BorderColor3 = rede
  29178.         button.BorderSizePixel = 3
  29179.         button.Name = "Disco Character"
  29180.         button.Position = UDim2.new(0,0,0,99)
  29181.         button.Size = UDim2.new(0.499,0,0,30)
  29182.         button.ZIndex = 2
  29183.         button.Font = tef
  29184.         button.FontSize = "Size14"
  29185.         button.Text = "Disco Character"
  29186.         button.TextColor3 = whit
  29187.         button.TextWrapped = true
  29188.         button.MouseButton1Down:connect(function()
  29189.                 presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"}
  29190. while true do
  29191. wait(0.5)
  29192. ye = game.Workspace[game.Players.LocalPlayer.Name]:GetChildren()
  29193. for i,v in pairs(ye) do
  29194. if v.className == "Part" then
  29195. v.BrickColor = BrickColor.new(presets[math.random(1,#presets)])
  29196. end
  29197. end
  29198. end
  29199.         end)
  29200. --
  29201. local button = Instance.new("TextButton")
  29202.         button.Parent = localp
  29203.         button.BackgroundColor3 = blak
  29204.         button.BorderColor3 = rede
  29205.         button.BorderSizePixel = 3
  29206.         button.Name = "Dominus Ghost"
  29207.         button.Position = UDim2.new(0.5,3,0,99)
  29208.         button.Size = UDim2.new(0.5,-3,0,30)
  29209.         button.ZIndex = 2
  29210.         button.Font = tef
  29211.         button.FontSize = "Size14"
  29212.         button.Text = "Dominus Ghost"
  29213.         button.TextColor3 = whit
  29214.         button.TextWrapped = true
  29215.         button.MouseButton1Down:connect(function()
  29216.                 function nob(who,tra,hat)
  29217. c=who.Character
  29218. pcall(function()u=c["Body Colors"]
  29219. u.HeadColor=BrickColor.new("Black")
  29220. u.LeftLegColor=BrickColor.new("Black")
  29221. u.RightLegolor=BrickColor.new("Black")
  29222. u.LeftArmColor=BrickColor.new("Black")
  29223. u.TorsoColor=BrickColor.new("Black")
  29224. u.RightArmColor=BrickColor.new("Black")
  29225. end)
  29226. pcall(function()c.Shirt:Destroy() c.Pants:Destroy() end)
  29227. for i,v in pairs(c:GetChildren()) do
  29228. if v:IsA("BasePart") then
  29229. v.Transparency=tra
  29230. if v.Name=="HumanoidRootPart" or v.Name=="Head" then
  29231. v.Transparency=1
  29232. end
  29233. wait()
  29234. v.BrickColor=BrickColor.new("Black")
  29235. elseif v:IsA("Hat") then
  29236. v:Destroy()
  29237. end
  29238. end
  29239. xx=game:service("InsertService"):LoadAsset(hat)
  29240. xy=game:service("InsertService"):LoadAsset(47433)["LinkedSword"]
  29241. xy.Parent=who.Backpack
  29242. for a,hat in pairs(xx:children()) do
  29243. hat.Parent=c
  29244. end
  29245. xx:Destroy()
  29246. h=who.Character.Humanoid
  29247. h.MaxHealth=50000
  29248. wait(1.5)
  29249. h.Health=50000
  29250. h.WalkSpeed=32
  29251. end
  29252. nob(game.Players.LocalPlayer,0.6,21070012)
  29253.         end)
  29254. --
  29255. local button = Instance.new("TextButton")
  29256.         button.Parent = localp
  29257.         button.BackgroundColor3 = blak
  29258.         button.BorderColor3 = rede
  29259.         button.BorderSizePixel = 3
  29260.         button.Name = "Floating Pad"
  29261.         button.Position = UDim2.new(0,0,0,132)
  29262.         button.Size = UDim2.new(0.499,0,0,30)
  29263.         button.ZIndex = 2
  29264.         button.Font = tef
  29265.         button.FontSize = "Size14"
  29266.         button.Text = "Floating Pad"
  29267.         button.TextColor3 = whit
  29268.         button.TextWrapped = true
  29269.         button.MouseButton1Down:connect(function()
  29270.                 local name = game.Players.LocalPlayer.Name
  29271.  
  29272. local p = Instance.new("Part")
  29273. p.Parent = workspace
  29274. p.Locked = true
  29275. p.BrickColor = BrickColor.new("White")
  29276. p.BrickColor = BrickColor.new(104)
  29277. p.Size = Vector3.new(8, 1.2, 8)
  29278. p.Anchored = true
  29279. local m = Instance.new("CylinderMesh")
  29280. m.Scale = Vector3.new(1, 0.5, 1)
  29281. m.Parent = p
  29282. while true do
  29283.         p.CFrame = CFrame.new(game.Players:findFirstChild(name).Character.Torso.CFrame.x, game.Players:findFirstChild(name).Character.Torso.CFrame.y - 4, game.Players:findFirstChild(name).Character.Torso.CFrame.z)
  29284.         wait()
  29285. end
  29286.         end)
  29287. --
  29288. local button = Instance.new("TextButton")
  29289.         button.Parent = localp
  29290.         button.BackgroundColor3 = blak
  29291.         button.BorderColor3 = rede
  29292.         button.BorderSizePixel = 3
  29293.         button.Name = "Head Shake"
  29294.         button.Position = UDim2.new(0.5,3,0,132)
  29295.         button.Size = UDim2.new(0.5,-3,0,30)
  29296.         button.ZIndex = 2
  29297.         button.Font = tef
  29298.         button.FontSize = "Size14"
  29299.         button.Text = "Head Shake"
  29300.         button.TextColor3 = whit
  29301.         button.TextWrapped = true
  29302.         button.MouseButton1Down:connect(function()
  29303.                 for X = 1, math.huge, 0.2 do
  29304. wait()
  29305. game.Workspace[game.Players.LocalPlayer.Name].Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0)
  29306. game.Workspace[game.Players.LocalPlayer.Name].Torso.Neck.C1 = CFrame.new(0,0,0)
  29307. end
  29308. for X = 1, math.huge, 0.1 do
  29309. wait()
  29310. game.Workspace[game.Players.LocalPlayer.Name].Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X)
  29311. game.Workspace[game.Players.LocalPlayer.Name].Torso.Neck.C1 = CFrame.new(0,0,0)
  29312. end
  29313. for _,c in pairs(game.Players:GetChildren()) do
  29314.         c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100)
  29315. end
  29316. for _,c in pairs(game.Players:GetChildren()) do
  29317.         c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  29318. end
  29319.         end)
  29320. --
  29321. local button = Instance.new("TextButton")
  29322.         button.Parent = localp
  29323.         button.BackgroundColor3 = blak
  29324.         button.BorderColor3 = rede
  29325.         button.BorderSizePixel = 3
  29326.         button.Name = "Heal"
  29327.         button.Position = UDim2.new(0,0,0,165)
  29328.         button.Size = UDim2.new(0.5,0,0,30)
  29329.         button.ZIndex = 2
  29330.         button.Font = tef
  29331.         button.FontSize = "Size14"
  29332.         button.Text = "Heal"
  29333.         button.TextColor3 = whit
  29334.         button.TextWrapped = true
  29335.         button.MouseButton1Down:connect(function()
  29336. game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth             
  29337.         end)
  29338. --
  29339. local button = Instance.new("TextButton")
  29340.         button.Parent = localp
  29341.         button.BackgroundColor3 = blak
  29342.         button.BorderColor3 = rede
  29343.         button.BorderSizePixel = 3
  29344.         button.Name = "Mesh Disco"
  29345.         button.Position = UDim2.new(0.5,3,0,165)
  29346.         button.Size = UDim2.new(0.5,-3,0,30)
  29347.         button.ZIndex = 2
  29348.         button.Font = tef
  29349.         button.FontSize = "Size14"
  29350.         button.Text = "Mesh Disco"
  29351.         button.TextColor3 = whit
  29352.         button.TextWrapped = true
  29353.         button.MouseButton1Down:connect(function()
  29354.         plr = game.Players.LocalPlayer.Name
  29355. meshes = {"Brick","Cylinder","Head","Sphere","Torso","Wedge"}
  29356. h = game.Workspace[plr].Head.Mesh
  29357. t = Instance.new("SpecialMesh",game.Workspace[plr].Torso)
  29358. la = Instance.new("SpecialMesh",game.Workspace[plr]["Left Arm"])
  29359. ra = Instance.new("SpecialMesh",game.Workspace[plr]["Right Arm"])
  29360. ll = Instance.new("SpecialMesh",game.Workspace[plr]["Left Leg"])
  29361. rl = Instance.new("SpecialMesh",game.Workspace[plr]["Right Leg"])
  29362. while true do
  29363. wait(0.1)
  29364. h.MeshType = meshes[math.random(1,#meshes)]
  29365. h.Parent.BrickColor = BrickColor.Random()
  29366. t.MeshType = meshes[math.random(1,#meshes)]
  29367. t.Parent.BrickColor = BrickColor.Random()
  29368. la.MeshType = meshes[math.random(1,#meshes)]
  29369. la.Parent.BrickColor = BrickColor.Random()
  29370. ra.MeshType = meshes[math.random(1,#meshes)]
  29371. ra.Parent.BrickColor = BrickColor.Random()
  29372. ll.MeshType = meshes[math.random(1,#meshes)]
  29373. ll.Parent.BrickColor = BrickColor.Random()
  29374. rl.MeshType = meshes[math.random(1,#meshes)]
  29375. rl.Parent.BrickColor = BrickColor.Random()
  29376. end    
  29377.         end)
  29378. --
  29379. local button = Instance.new("TextButton")
  29380.         button.Parent = localp
  29381.         button.BackgroundColor3 = blak
  29382.         button.BorderColor3 = rede
  29383.         button.BorderSizePixel = 3
  29384.         button.Name = "Set Walkspeed"
  29385.         button.Position = UDim2.new(0,0,0,198)
  29386.         button.Size = UDim2.new(0.5,0,0,30)
  29387.         button.ZIndex = 2
  29388.         button.Font = tef
  29389.         button.FontSize = "Size14"
  29390.         button.Text = "Set Walkspeed"
  29391.         button.TextColor3 = whit
  29392.         button.TextWrapped = true
  29393.         button.MouseButton1Down:connect(function()
  29394.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = frame.Settings.Page2["Walkspeed Amount"].TextBox.Text  
  29395.         end)
  29396. --
  29397. local button = Instance.new("TextButton")
  29398.         button.Parent = localp
  29399.         button.BackgroundColor3 = blak
  29400.         button.BorderColor3 = rede
  29401.         button.BorderSizePixel = 3
  29402.         button.Name = "Empty"
  29403.         button.Position = UDim2.new(0.5,3,0,198)
  29404.         button.Size = UDim2.new(0.48,0,0,30)
  29405.         button.ZIndex = 2
  29406.         button.Font = tef
  29407.         button.FontSize = "Size14"
  29408.         button.Text = "Empty"
  29409.         button.TextColor3 = whit
  29410.         button.TextWrapped = true
  29411.         button.MouseButton1Down:connect(function()
  29412.                
  29413.         end)
  29414. --
  29415. local button = Instance.new("TextButton")
  29416.         button.Parent = localp
  29417.         button.BackgroundColor3 = blak
  29418.         button.BorderColor3 = rede
  29419.         button.BorderSizePixel = 3
  29420.         button.Name = "Empty"
  29421.         button.Position = UDim2.new(0,0,0,231)
  29422.         button.Size = UDim2.new(0.5,0,0,30)
  29423.         button.ZIndex = 2
  29424.         button.Font = tef
  29425.         button.FontSize = "Size14"
  29426.         button.Text = "Empty"
  29427.         button.TextColor3 = whit
  29428.         button.TextWrapped = true
  29429.         button.MouseButton1Down:connect(function()
  29430.                
  29431.         end)
  29432. --
  29433. local button = Instance.new("TextButton")
  29434.         button.Parent = localp
  29435.         button.BackgroundColor3 = blak
  29436.         button.BorderColor3 = rede
  29437.         button.BorderSizePixel = 3
  29438.         button.Name = "Empty"
  29439.         button.Position = UDim2.new(0.5,3,0,231)
  29440.         button.Size = UDim2.new(0.5,-3,0,30)
  29441.         button.ZIndex = 2
  29442.         button.Font = tef
  29443.         button.FontSize = "Size14"
  29444.         button.Text = "Empty"
  29445.         button.TextColor3 = whit
  29446.         button.TextWrapped = true
  29447.         button.MouseButton1Down:connect(function()
  29448.                
  29449.         end)
  29450. local title = Instance.new("TextLabel")
  29451.         title.Parent = misc
  29452.         title.BackgroundColor3 = blak
  29453.         title.BorderColor3 = rede
  29454.         title.BorderSizePixel = 3
  29455.         title.Name = "Title"
  29456.         title.Size = UDim2.new(1,0,0,30)
  29457.         title.ZIndex = 2
  29458.         title.Font = "SourceSansBold"
  29459.         title.FontSize = "Size14"
  29460.         title.Text = "Misc."
  29461.         title.TextColor3 = whit
  29462. local title = Instance.new("TextLabel")
  29463.         title.Parent = localp
  29464.         title.BackgroundColor3 = blak
  29465.         title.BorderColor3 = rede
  29466.         title.BorderSizePixel = 3
  29467.         title.Name = "Title"
  29468.         title.Size = UDim2.new(1,0,0,30)
  29469.         title.ZIndex = 2
  29470.         title.Font = "SourceSansBold"
  29471.         title.FontSize = "Size14"
  29472.         title.Text = "LocalPlayer"
  29473.         title.TextColor3 = whit
  29474. -- Page 3 End --
  29475. -- Page 4 --
  29476. button = Instance.new("TextButton")
  29477.         button.Parent = pmi
  29478.         button.BackgroundColor3 = blak
  29479.         button.BorderColor3 = rede
  29480.         button.BorderSizePixel = 3
  29481.         button.Name = "Chop Suey"
  29482.         button.Position = UDim2.new(0,0,0,33)
  29483.         button.Size = UDim2.new(0.5,0,0,30)
  29484.         button.ZIndex = 2
  29485.         button.Font = tef
  29486.         button.FontSize = "Size14"
  29487.         button.Text = "Chop Suey"
  29488.         button.TextColor3 = whit
  29489.         button.TextWrapped = true
  29490.         button.MouseButton1Down:connect(function()
  29491.                 frame.Settings.Page1["Music ID"].TextBox.Text = 147407900
  29492.         end)
  29493. --
  29494. button = Instance.new("TextButton")
  29495.         button.Parent = pmi
  29496.         button.BackgroundColor3 = blak
  29497.         button.BorderColor3 = rede
  29498.         button.BorderSizePixel = 3
  29499.         button.Name = "Electro Sp00k"
  29500.         button.Position = UDim2.new(0.5,3,0,33)
  29501.         button.Size = UDim2.new(0.5,-3,0,30)
  29502.         button.ZIndex = 2
  29503.         button.Font = tef
  29504.         button.FontSize = "Size14"
  29505.         button.Text = "Electro Sp00k"
  29506.         button.TextColor3 = whit
  29507.         button.TextWrapped = true
  29508.         button.MouseButton1Down:connect(function()
  29509.         frame.Settings.Page1["Music ID"].TextBox.Text = 142930454      
  29510.         end)
  29511. --
  29512. button = Instance.new("TextButton")
  29513.         button.Parent = pmi
  29514.         button.BackgroundColor3 = blak
  29515.         button.BorderColor3 = rede
  29516.         button.BorderSizePixel = 3
  29517.         button.Name = "Scream"
  29518.         button.Position = UDim2.new(0,0,0,66)
  29519.         button.Size = UDim2.new(0.5,0,0,30)
  29520.         button.ZIndex = 2
  29521.         button.Font = tef
  29522.         button.FontSize = "Size14"
  29523.         button.Text = "Scream"
  29524.         button.TextColor3 = whit
  29525.         button.TextWrapped = true
  29526.         button.MouseButton1Down:connect(function()
  29527.         frame.Settings.Page1["Music ID"].TextBox.Text = 138097458      
  29528.         end)
  29529. --
  29530. button = Instance.new("TextButton")
  29531.         button.Parent = pmi
  29532.         button.BackgroundColor3 = blak
  29533.         button.BorderColor3 = rede
  29534.         button.BorderSizePixel = 3
  29535.         button.Name = "Wonga"
  29536.         button.Position = UDim2.new(0.5,3,0,66)
  29537.         button.Size = UDim2.new(0.5,-3,0,30)
  29538.         button.ZIndex = 2
  29539.         button.Font = tef
  29540.         button.FontSize = "Size14"
  29541.         button.Text = "Wonga"
  29542.         button.TextColor3 = whit
  29543.         button.TextWrapped = true
  29544.         button.MouseButton1Down:connect(function()
  29545.         frame.Settings.Page1["Music ID"].TextBox.Text = 147909316      
  29546.         end)
  29547. --
  29548. button = Instance.new("TextButton")
  29549.         button.Parent = pmi
  29550.         button.BackgroundColor3 = blak
  29551.         button.BorderColor3 = rede
  29552.         button.BorderSizePixel = 3
  29553.         button.Name = "Empty"
  29554.         button.Position = UDim2.new(0,0,0,99)
  29555.         button.Size = UDim2.new(0.5,0,0,30)
  29556.         button.ZIndex = 2
  29557.         button.Font = tef
  29558.         button.FontSize = "Size14"
  29559.         button.Text = "Empty"
  29560.         button.TextColor3 = whit
  29561.         button.TextWrapped = true
  29562. --
  29563. local button = Instance.new("TextButton")
  29564.         button.Parent = pmi
  29565.         button.BackgroundColor3 = blak
  29566.         button.BorderColor3 = rede
  29567.         button.BorderSizePixel = 3
  29568.         button.Name = "Empty"
  29569.         button.Position = UDim2.new(0.5,3,0,99)
  29570.         button.Size = UDim2.new(0.5,-3,0,30)
  29571.         button.ZIndex = 2
  29572.         button.Font = tef
  29573.         button.FontSize = "Size14"
  29574.         button.Text = "Empty"
  29575.         button.TextColor3 = whit
  29576.         button.TextWrapped = true
  29577. --
  29578. local button = Instance.new("TextButton")
  29579.         button.Parent = pmi
  29580.         button.BackgroundColor3 = blak
  29581.         button.BorderColor3 = rede
  29582.         button.BorderSizePixel = 3
  29583.         button.Name = "Empty"
  29584.         button.Position = UDim2.new(0,0,0,132)
  29585.         button.Size = UDim2.new(0.5,0,0,30)
  29586.         button.ZIndex = 2
  29587.         button.Font = tef
  29588.         button.FontSize = "Size14"
  29589.         button.Text = "Empty"
  29590.         button.TextColor3 = whit
  29591.         button.TextWrapped = true
  29592. --
  29593. local button = Instance.new("TextButton")
  29594.         button.Parent = pmi
  29595.         button.BackgroundColor3 = blak
  29596.         button.BorderColor3 = rede
  29597.         button.BorderSizePixel = 3
  29598.         button.Name = "Empty"
  29599.         button.Position = UDim2.new(0.5,3,0,132)
  29600.         button.Size = UDim2.new(0.5,-3,0,30)
  29601.         button.ZIndex = 2
  29602.         button.Font = tef
  29603.         button.FontSize = "Size14"
  29604.         button.Text = "Empty"
  29605.         button.TextColor3 = whit
  29606.         button.TextWrapped = true
  29607. --
  29608. local button = Instance.new("TextButton")
  29609.         button.Parent = pmi
  29610.         button.BackgroundColor3 = blak
  29611.         button.BorderColor3 = rede
  29612.         button.BorderSizePixel = 3
  29613.         button.Name = "Empty"
  29614.         button.Position = UDim2.new(0,0,0,165)
  29615.         button.Size = UDim2.new(0.499,0,0,30)
  29616.         button.ZIndex = 2
  29617.         button.Font = tef
  29618.         button.FontSize = "Size14"
  29619.         button.Text = "Empty"
  29620.         button.TextColor3 = whit
  29621.         button.TextWrapped = true
  29622. --
  29623. local button = Instance.new("TextButton")
  29624.         button.Parent = pmi
  29625.         button.BackgroundColor3 = blak
  29626.         button.BorderColor3 = rede
  29627.         button.BorderSizePixel = 3
  29628.         button.Name = "Empty"
  29629.         button.Position = UDim2.new(0.5,3,0,165)
  29630.         button.Size = UDim2.new(0.5,-3,0,30)
  29631.         button.ZIndex = 2
  29632.         button.Font = tef
  29633.         button.FontSize = "Size14"
  29634.         button.Text = "Empty"
  29635.         button.TextColor3 = whit
  29636.         button.TextWrapped = true
  29637. --
  29638. local button = Instance.new("TextButton")
  29639.         button.Parent = pmi
  29640.         button.BackgroundColor3 = blak
  29641.         button.BorderColor3 = rede
  29642.         button.BorderSizePixel = 3
  29643.         button.Name = "Empty"
  29644.         button.Position = UDim2.new(0,0,0,198)
  29645.         button.Size = UDim2.new(0.499,0,0,30)
  29646.         button.ZIndex = 3
  29647.         button.Font = tef
  29648.         button.FontSize = "Size14"
  29649.         button.Text = "Empty"
  29650.         button.TextColor3 = whit
  29651.         button.TextWrapped = true
  29652. --
  29653. local button = Instance.new("TextButton")
  29654.         button.Parent = pmi
  29655.         button.BackgroundColor3 = blak
  29656.         button.BorderColor3 = rede
  29657.         button.BorderSizePixel = 3
  29658.         button.Name = "Empty"
  29659.         button.Position = UDim2.new(0.5,3,0,198)
  29660.         button.Size = UDim2.new(0.5,-3,0,30)
  29661.         button.ZIndex = 2
  29662.         button.Font = tef
  29663.         button.FontSize = "Size14"
  29664.         button.Text = "Empty"
  29665.         button.TextColor3 = whit
  29666.         button.TextWrapped = true
  29667.        
  29668. -- Preset Images --
  29669. local button = Instance.new("TextButton")
  29670.         button.Parent = psd
  29671.         button.BackgroundColor3 = blak
  29672.         button.BorderColor3 = rede
  29673.         button.BorderSizePixel = 3
  29674.         button.Name = "Team c00lkidd Logo 1"
  29675.         button.Position = UDim2.new(0,0,0,33)
  29676.         button.Size = UDim2.new(0.5,0,0,30)
  29677.         button.ZIndex = 2
  29678.         button.Font = tef
  29679.         button.FontSize = "Size14"
  29680.         button.Text = "Team c00lkidd Logo 1"
  29681.         button.TextColor3 = whit
  29682.         button.TextWrapped = true
  29683.         button.MouseButton1Down:connect(function()
  29684.         frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 158118263       
  29685.         end)
  29686. --
  29687. local button = Instance.new("TextButton")
  29688.         button.Parent = psd
  29689.         button.BackgroundColor3 = blak
  29690.         button.BorderColor3 = rede
  29691.         button.BorderSizePixel = 3
  29692.         button.Name = "Team c00lkidd Logo 2"
  29693.         button.Position = UDim2.new(0.5,3,0,33)
  29694.         button.Size = UDim2.new(0.5,-3,0,30)
  29695.         button.ZIndex = 2
  29696.         button.Font = tef
  29697.         button.FontSize = "Size14"
  29698.         button.Text = "Team c00lkidd Logo 2"
  29699.         button.TextColor3 = whit
  29700.         button.TextWrapped = true
  29701.         button.MouseButton1Down:connect(function()
  29702.         frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 164661730       
  29703.         end)
  29704. --
  29705. local button = Instance.new("TextButton")
  29706.         button.Parent = psd
  29707.         button.BackgroundColor3 = blak
  29708.         button.BorderColor3 = rede
  29709.         button.BorderSizePixel = 3
  29710.         button.Name = "Thomas"
  29711.         button.Position = UDim2.new(0,0,0,66)
  29712.         button.Size = UDim2.new(0.5,0,0,30)
  29713.         button.ZIndex = 2
  29714.         button.Font = tef
  29715.         button.FontSize = "Size14"
  29716.         button.Text = "Thomas"
  29717.         button.TextColor3 = whit
  29718.         button.TextWrapped = true
  29719.         button.MouseButton1Down:connect(function()
  29720.         frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 160456772       
  29721.         end)
  29722. --
  29723. local button = Instance.new("TextButton")
  29724.         button.Parent = psd
  29725.         button.BackgroundColor3 = blak
  29726.         button.BorderColor3 = rede
  29727.         button.BorderSizePixel = 3
  29728.         button.Name = "c00lkidd"
  29729.         button.Position = UDim2.new(0.5,3,0,66)
  29730.         button.Size = UDim2.new(0.5,-3,0,30)
  29731.         button.ZIndex = 2
  29732.         button.Font = tef
  29733.         button.FontSize = "Size14"
  29734.         button.Text = "c00lkidd"
  29735.         button.TextColor3 = whit
  29736.         button.TextWrapped = true
  29737.         button.MouseButton1Down:connect(function()
  29738.         frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 157755295       
  29739.         end)
  29740. --
  29741. local button = Instance.new("TextButton")
  29742.         button.Parent = psd
  29743.         button.BackgroundColor3 = blak
  29744.         button.BorderColor3 = rede
  29745.         button.BorderSizePixel = 3
  29746.         button.Name = "team skrubl0rd"
  29747.         button.Position = UDim2.new(0,0,0,99)
  29748.         button.Size = UDim2.new(0.499,0,0,30)
  29749.         button.ZIndex = 2
  29750.         button.Font = tef
  29751.         button.FontSize = "Size14"
  29752.         button.Text = "old team skrubl0rd"
  29753.         button.TextColor3 = whit
  29754.         button.TextWrapped = true
  29755.         button.MouseButton1Down:connect(function()
  29756.                 frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 358313209
  29757.         end)
  29758. --
  29759. local button = Instance.new("TextButton")
  29760.         button.Parent = psd
  29761.         button.BackgroundColor3 = blak
  29762.         button.BorderColor3 = rede
  29763.         button.BorderSizePixel = 3
  29764.         button.Name = "Empty"
  29765.         button.Position = UDim2.new(0.5,3,0,99)
  29766.         button.Size = UDim2.new(0.5,-3,0,30)
  29767.         button.ZIndex = 2
  29768.         button.Font = tef
  29769.         button.FontSize = "Size14"
  29770.         button.Text = "Empty"
  29771.         button.TextColor3 = whit
  29772.         button.TextWrapped = true
  29773. --
  29774. local button = Instance.new("TextButton")
  29775.         button.Parent = psd
  29776.         button.BackgroundColor3 = blak
  29777.         button.BorderColor3 = rede
  29778.         button.BorderSizePixel = 3
  29779.         button.Name = "Empty"
  29780.         button.Position = UDim2.new(0,0,0,132)
  29781.         button.Size = UDim2.new(0.499,0,0,30)
  29782.         button.ZIndex = 2
  29783.         button.Font = tef
  29784.         button.FontSize = "Size14"
  29785.         button.Text = "Empty"
  29786.         button.TextColor3 = whit
  29787.         button.TextWrapped = true
  29788. --
  29789. local button = Instance.new("TextButton")
  29790.         button.Parent = psd
  29791.         button.BackgroundColor3 = blak
  29792.         button.BorderColor3 = rede
  29793.         button.BorderSizePixel = 3
  29794.         button.Name = "Empty"
  29795.         button.Position = UDim2.new(0.5,3,0,132)
  29796.         button.Size = UDim2.new(0.5,-3,0,30)
  29797.         button.ZIndex = 2
  29798.         button.Font = tef
  29799.         button.FontSize = "Size14"
  29800.         button.Text = "Empty"
  29801.         button.TextColor3 = whit
  29802.         button.TextWrapped = true
  29803. --
  29804. local button = Instance.new("TextButton")
  29805.         button.Parent = psd
  29806.         button.BackgroundColor3 = blak
  29807.         button.BorderColor3 = rede
  29808.         button.BorderSizePixel = 3
  29809.         button.Name = "Empty"
  29810.         button.Position = UDim2.new(0,0,0,165)
  29811.         button.Size = UDim2.new(0.5,0,0,30)
  29812.         button.ZIndex = 2
  29813.         button.Font = tef
  29814.         button.FontSize = "Size14"
  29815.         button.Text = "Empty"
  29816.         button.TextColor3 = whit
  29817.         button.TextWrapped = true
  29818. --
  29819. local button = Instance.new("TextButton")
  29820.         button.Parent = psd
  29821.         button.BackgroundColor3 = blak
  29822.         button.BorderColor3 = rede
  29823.         button.BorderSizePixel = 3
  29824.         button.Name = "Empty"
  29825.         button.Position = UDim2.new(0.5,3,0,165)
  29826.         button.Size = UDim2.new(0.5,-3,0,30)
  29827.         button.ZIndex = 2
  29828.         button.Font = tef
  29829.         button.FontSize = "Size14"
  29830.         button.Text = "Empty"
  29831.         button.TextColor3 = whit
  29832.         button.TextWrapped = true
  29833. --
  29834. local button = Instance.new("TextButton")
  29835.         button.Parent = psd
  29836.         button.BackgroundColor3 = blak
  29837.         button.BorderColor3 = rede
  29838.         button.BorderSizePixel = 3
  29839.         button.Name = "Empty"
  29840.         button.Position = UDim2.new(0,0,0,198)
  29841.         button.Size = UDim2.new(0.5,0,0,30)
  29842.         button.ZIndex = 2
  29843.         button.Font = tef
  29844.         button.FontSize = "Size14"
  29845.         button.Text = "Empty"
  29846.         button.TextColor3 = whit
  29847.         button.TextWrapped = true
  29848. --
  29849. local button = Instance.new("TextButton")
  29850.         button.Parent = psd
  29851.         button.BackgroundColor3 = blak
  29852.         button.BorderColor3 = rede
  29853.         button.BorderSizePixel = 3
  29854.         button.Name = "Empty"
  29855.         button.Position = UDim2.new(0.5,3,0,198)
  29856.         button.Size = UDim2.new(0.48,0,0,30)
  29857.         button.ZIndex = 2
  29858.         button.Font = tef
  29859.         button.FontSize = "Size14"
  29860.         button.Text = "Empty"
  29861.         button.TextColor3 = whit
  29862.         button.TextWrapped = true
  29863. --
  29864. local button = Instance.new("TextButton")
  29865.         button.Parent = psd
  29866.         button.BackgroundColor3 = blak
  29867.         button.BorderColor3 = rede
  29868.         button.BorderSizePixel = 3
  29869.         button.Name = "Empty"
  29870.         button.Position = UDim2.new(0,0,0,231)
  29871.         button.Size = UDim2.new(0.5,0,0,30)
  29872.         button.ZIndex = 2
  29873.         button.Font = tef
  29874.         button.FontSize = "Size14"
  29875.         button.Text = "Empty"
  29876.         button.TextColor3 = whit
  29877.         button.TextWrapped = true
  29878. --
  29879. local button = Instance.new("TextButton")
  29880.         button.Parent = psd
  29881.         button.BackgroundColor3 = blak
  29882.         button.BorderColor3 = rede
  29883.         button.BorderSizePixel = 3
  29884.         button.Name = "Empty"
  29885.         button.Position = UDim2.new(0.5,3,0,231)
  29886.         button.Size = UDim2.new(0.5,-3,0,30)
  29887.         button.ZIndex = 2
  29888.         button.Font = tef
  29889.         button.FontSize = "Size14"
  29890.         button.Text = "Empty"
  29891.         button.TextColor3 = whit
  29892.         button.TextWrapped = true
  29893.        
  29894. local title = Instance.new("TextLabel")
  29895.         title.Parent = pmi
  29896.         title.BackgroundColor3 = blak
  29897.         title.BorderColor3 = rede
  29898.         title.BorderSizePixel = 3
  29899.         title.Name = "Title"
  29900.         title.Size = UDim2.new(1,0,0,30)
  29901.         title.ZIndex = 2
  29902.         title.Font = "SourceSansBold"
  29903.         title.FontSize = "Size14"
  29904.         title.Text = "Preset Music IDs"
  29905.         title.TextColor3 = whit
  29906.         title.TextWrapped = true
  29907. local title = Instance.new("TextLabel")
  29908.         title.Parent = psd
  29909.         title.BackgroundColor3 = blak
  29910.         title.BorderColor3 = rede
  29911.         title.BorderSizePixel = 3
  29912.         title.Name = "Title"
  29913.         title.Size = UDim2.new(1,0,0,30)
  29914.         title.ZIndex = 2
  29915.         title.Font = "SourceSansBold"
  29916.         title.FontSize = "Size14"
  29917.         title.Text = "Preset Skybox/Decal IDs"
  29918.         title.TextColor3 = whit
  29919.         --page 5--
  29920. local t3xt = Instance.new("TextLabel")
  29921.         t3xt.Parent = edn
  29922.         t3xt.BackgroundColor3 = blak
  29923.         t3xt.BorderColor3 = rede
  29924.         t3xt.BorderSizePixel = 3
  29925.         t3xt.Name = "Empty"
  29926.         t3xt.Position = UDim2.new(0,0,0,0)
  29927.         t3xt.Size = UDim2.new(1,0,1,0)
  29928.         t3xt.ZIndex = 2
  29929.         t3xt.Font = tef
  29930.         t3xt.FontSize = "Size14"
  29931.         t3xt.Text = "Thank you for using c00lgui scripted! Addons coming soon! Post Ideas in the Thread!!!"
  29932.         t3xt.TextColor3 = whit
  29933.         t3xt.TextWrapped = true
  29934.         t3xt.TextYAlignment = "Top"
  29935.        
  29936. -- Preset Gear IDs --
  29937. local button = Instance.new("TextButton")
  29938.         button.Parent = pgi
  29939.         button.BackgroundColor3 = blak
  29940.         button.BorderColor3 = rede
  29941.         button.BorderSizePixel = 3
  29942.         button.Name = "Airstrike"
  29943.         button.Position = UDim2.new(0,0,0,33)
  29944.         button.Size = UDim2.new(0.5,0,0,30)
  29945.         button.ZIndex = 2
  29946.         button.Font = tef
  29947.         button.FontSize = "Size14"
  29948.         button.Text = "Airstrike"
  29949.         button.TextColor3 = whit
  29950.         button.TextWrapped = true
  29951.         button.MouseButton1Down:connect(function()
  29952.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 88885539
  29953.         end)
  29954. --
  29955. local button = Instance.new("TextButton")
  29956.         button.Parent = pgi
  29957.         button.BackgroundColor3 = blak
  29958.         button.BorderColor3 = rede
  29959.         button.BorderSizePixel = 3
  29960.         button.Name = "Dual Darkhearts"
  29961.         button.Position = UDim2.new(0.5,3,0,33)
  29962.         button.Size = UDim2.new(0.5,-3,0,30)
  29963.         button.ZIndex = 2
  29964.         button.Font = tef
  29965.         button.FontSize = "Size14"
  29966.         button.Text = "Dual Darkhearts"
  29967.         button.TextColor3 = whit
  29968.         button.TextWrapped = true
  29969.         button.MouseButton1Down:connect(function()
  29970.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 108149175
  29971.         end)
  29972. --
  29973. local button = Instance.new("TextButton")
  29974.         button.Parent = pgi
  29975.         button.BackgroundColor3 = blak
  29976.         button.BorderColor3 = rede
  29977.         button.BorderSizePixel = 3
  29978.         button.Name = "Dual Venomshanks"
  29979.         button.Position = UDim2.new(0,0,0,66)
  29980.         button.Size = UDim2.new(0.5,0,0,30)
  29981.         button.ZIndex = 2
  29982.         button.Font = tef
  29983.         button.FontSize = "Size14"
  29984.         button.Text = "Dual Venomshanks"
  29985.         button.TextColor3 = whit
  29986.         button.TextWrapped = true
  29987.         button.MouseButton1Down:connect(function()
  29988.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 158069180
  29989.         end)
  29990. --
  29991. local button = Instance.new("TextButton")
  29992.         button.Parent = pgi
  29993.         button.BackgroundColor3 = blak
  29994.         button.BorderColor3 = rede
  29995.         button.BorderSizePixel = 3
  29996.         button.Name = "Ghostfire Sword"
  29997.         button.Position = UDim2.new(0.5,3,0,66)
  29998.         button.Size = UDim2.new(0.5,-3,0,30)
  29999.         button.ZIndex = 2
  30000.         button.Font = tef
  30001.         button.FontSize = "Size14"
  30002.         button.Text = "Ghostfire Sword"
  30003.         button.TextColor3 = whit
  30004.         button.TextWrapped = true
  30005.         button.MouseButton1Down:connect(function()
  30006.         frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 64220933 
  30007.         end)
  30008. --
  30009. local button = Instance.new("TextButton")
  30010.         button.Parent = pgi
  30011.         button.BackgroundColor3 = blak
  30012.         button.BorderColor3 = rede
  30013.         button.BorderSizePixel = 3
  30014.         button.Name = "Gravity Coil"
  30015.         button.Position = UDim2.new(0,0,0,99)
  30016.         button.Size = UDim2.new(0.499,0,0,30)
  30017.         button.ZIndex = 2
  30018.         button.Font = tef
  30019.         button.FontSize = "Size14"
  30020.         button.Text = "Gravity Coil"
  30021.         button.TextColor3 = whit
  30022.         button.TextWrapped = true
  30023.         button.MouseButton1Down:connect(function()
  30024.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 16688968
  30025.         end)
  30026. --
  30027. local button = Instance.new("TextButton")
  30028.         button.Parent = pgi
  30029.         button.BackgroundColor3 = blak
  30030.         button.BorderColor3 = rede
  30031.         button.BorderSizePixel = 3
  30032.         button.Name = "Hyperbike"
  30033.         button.Position = UDim2.new(0.5,3,0,99)
  30034.         button.Size = UDim2.new(0.5,-3,0,30)
  30035.         button.ZIndex = 2
  30036.         button.Font = tef
  30037.         button.FontSize = "Size14"
  30038.         button.Text = "Hyperbike"
  30039.         button.TextColor3 = whit
  30040.         button.TextWrapped = true
  30041.         button.MouseButton1Down:connect(function()
  30042.         frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 130113061
  30043.         end)
  30044. --
  30045. local button = Instance.new("TextButton")
  30046.         button.Parent = pgi
  30047.         button.BackgroundColor3 = blak
  30048.         button.BorderColor3 = rede
  30049.         button.BorderSizePixel = 3
  30050.         button.Name = "Icedagger"
  30051.         button.Position = UDim2.new(0,0,0,132)
  30052.         button.Size = UDim2.new(0.499,0,0,30)
  30053.         button.ZIndex = 2
  30054.         button.Font = tef
  30055.         button.FontSize = "Size14"
  30056.         button.Text = "Icedagger"
  30057.         button.TextColor3 = whit
  30058.         button.TextWrapped = true
  30059.         button.MouseButton1Down:connect(function()
  30060.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 83704165
  30061.         end)
  30062. --
  30063. local button = Instance.new("TextButton")
  30064.         button.Parent = pgi
  30065.         button.BackgroundColor3 = blak
  30066.         button.BorderColor3 = rede
  30067.         button.BorderSizePixel = 3
  30068.         button.Name = "Linked Sword"
  30069.         button.Position = UDim2.new(0.5,3,0,132)
  30070.         button.Size = UDim2.new(0.5,-3,0,30)
  30071.         button.ZIndex = 2
  30072.         button.Font = tef
  30073.         button.FontSize = "Size14"
  30074.         button.Text = "Linked Sword"
  30075.         button.TextColor3 = whit
  30076.         button.TextWrapped = true
  30077.         button.MouseButton1Down:connect(function()
  30078. frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 125013769        
  30079.         end)
  30080. --
  30081. local button = Instance.new("TextButton")
  30082.         button.Parent = pgi
  30083.         button.BackgroundColor3 = blak
  30084.         button.BorderColor3 = rede
  30085.         button.BorderSizePixel = 3
  30086.         button.Name = "Empty"
  30087.         button.Position = UDim2.new(0,0,0,165)
  30088.         button.Size = UDim2.new(0.5,0,0,30)
  30089.         button.ZIndex = 2
  30090.         button.Font = tef
  30091.         button.FontSize = "Size14"
  30092.         button.Text = "Empty"
  30093.         button.TextColor3 = whit
  30094.         button.TextWrapped = true
  30095. --
  30096. local button = Instance.new("TextButton")
  30097.         button.Parent = pgi
  30098.         button.BackgroundColor3 = blak
  30099.         button.BorderColor3 = rede
  30100.         button.BorderSizePixel = 3
  30101.         button.Name = "Empty"
  30102.         button.Position = UDim2.new(0.5,3,0,165)
  30103.         button.Size = UDim2.new(0.5,-3,0,30)
  30104.         button.ZIndex = 2
  30105.         button.Font = tef
  30106.         button.FontSize = "Size14"
  30107.         button.Text = "Empty"
  30108.         button.TextColor3 = whit
  30109.         button.TextWrapped = true
  30110. --
  30111. local button = Instance.new("TextButton")
  30112.         button.Parent = pgi
  30113.         button.BackgroundColor3 = blak
  30114.         button.BorderColor3 = rede
  30115.         button.BorderSizePixel = 3
  30116.         button.Name = "Empty"
  30117.         button.Position = UDim2.new(0,0,0,198)
  30118.         button.Size = UDim2.new(0.5,0,0,30)
  30119.         button.ZIndex = 2
  30120.         button.Font = tef
  30121.         button.FontSize = "Size14"
  30122.         button.Text = "Empty"
  30123.         button.TextColor3 = whit
  30124.         button.TextWrapped = true
  30125. --
  30126. local button = Instance.new("TextButton")
  30127.         button.Parent = pgi
  30128.         button.BackgroundColor3 = blak
  30129.         button.BorderColor3 = rede
  30130.         button.BorderSizePixel = 3
  30131.         button.Name = "Empty"
  30132.         button.Position = UDim2.new(0.5,3,0,198)
  30133.         button.Size = UDim2.new(0.48,0,0,30)
  30134.         button.ZIndex = 2
  30135.         button.Font = tef
  30136.         button.FontSize = "Size14"
  30137.         button.Text = "Empty"
  30138.         button.TextColor3 = whit
  30139.         button.TextWrapped = true
  30140. --
  30141. local button = Instance.new("TextButton")
  30142.         button.Parent = pgi
  30143.         button.BackgroundColor3 = blak
  30144.         button.BorderColor3 = rede
  30145.         button.BorderSizePixel = 3
  30146.         button.Name = "Empty"
  30147.         button.Position = UDim2.new(0,0,0,231)
  30148.         button.Size = UDim2.new(0.5,0,0,30)
  30149.         button.ZIndex = 2
  30150.         button.Font = tef
  30151.         button.FontSize = "Size14"
  30152.         button.Text = "Empty"
  30153.         button.TextColor3 = whit
  30154.         button.TextWrapped = true
  30155. --
  30156.  
  30157.  
  30158.                        
  30159. --Settings--
  30160. local pge1 = Instance.new("Frame")
  30161. pge1.Parent = page
  30162. pge1.BorderColor3 = rede
  30163. pge1.BackgroundColor3 = blak
  30164. pge1.BorderSizePixel = 3
  30165. pge1.Name = "Page1"
  30166. pge1.Position = UDim2.new(0,0,0,83)
  30167. pge1.Size = UDim2.new(1,0,1,-83)
  30168. pge1.ZIndex = 1
  30169.  
  30170. local pge2 = Instance.new("Frame")
  30171. pge2.Parent = page
  30172. pge2.BorderColor3 = rede
  30173. pge2.BackgroundColor3 = blak
  30174. pge2.BorderSizePixel = 3
  30175. pge2.Name = "Page2"
  30176. pge2.Position = UDim2.new(0,0,0,83)
  30177. pge2.Size = UDim2.new(1,0,1,-83)
  30178. pge2.ZIndex = 1
  30179. pge2.Visible = false
  30180. local lft = Instance.new("TextButton")
  30181.         lft.Parent = page
  30182.         lft.BorderColor3 = rede
  30183.         lft.BackgroundColor3 = blak
  30184.         lft.BorderSizePixel = 3
  30185.         lft.Name = ">"
  30186.         lft.Position = UDim2.new(0.5,3,0,40)
  30187.         lft.Size = UDim2.new(0.5,-3,0,40)
  30188.         lft.ZIndex = 1
  30189.         lft.Font = tef
  30190.         lft.FontSize = "Size48"
  30191.         lft.Text = ">"
  30192.         lft.TextColor3 = whit
  30193.         lft.MouseButton1Down:connect(function()
  30194.                 if pge1.Visible == true then
  30195.                         pge1.Visible = false
  30196.                         pge2.Visible = true
  30197.                 elseif pge2.Visible == true then
  30198.                         pge2.Visible = false
  30199.                         pge1.Visible = true
  30200.                 end    
  30201.         end)
  30202. local rgt = Instance.new("TextButton")
  30203.         rgt.Parent = page
  30204.         rgt.BorderColor3 = rede
  30205.         rgt.BackgroundColor3 = blak
  30206.         rgt.BorderSizePixel = 3
  30207.         rgt.Name = "<"
  30208.         rgt.Position = UDim2.new(0,0,0,40)
  30209.         rgt.Size = UDim2.new(0.5,0,0,40)
  30210.         rgt.ZIndex = 1
  30211.         rgt.Font = tef
  30212.         rgt.FontSize = "Size48"
  30213.         rgt.Text = "<"
  30214.         rgt.TextColor3 = whit
  30215.         rgt.MouseButton1Down:connect(function()
  30216.                 if pge1.Visible == true then
  30217.                         pge1.Visible = false
  30218.                         pge2.Visible = true
  30219.                 elseif pge2.Visible == true then
  30220.                         pge2.Visible = false
  30221.                         pge1.Visible = true
  30222.                 end    
  30223.         end)
  30224.  
  30225. local sbutton = Instance.new("TextButton")
  30226.         sbutton.Parent = page
  30227.         sbutton.BackgroundColor3 = blak
  30228.         sbutton.BorderColor3 = rede
  30229.         sbutton.BorderSizePixel = 3
  30230.         sbutton.Name = "SettingsButton"
  30231.         sbutton.Position = UDim2.new(1,3,0,0)
  30232.         sbutton.Size = UDim2.new(0,27,1,0)
  30233.         sbutton.Font = tef
  30234.         sbutton.FontSize = "Size48"
  30235.         sbutton.TextColor3 = whit
  30236.         sbutton.Text = "<"
  30237.         cango = true
  30238.         sbutton.MouseButton1Down:connect(function()
  30239.                 if cango == true then
  30240.                         if sbutton.Text == "<" then
  30241.                         sbutton.Text = ">"
  30242.                         cango = false
  30243.                                 repeat
  30244.                                 wait()
  30245.                                 page.Position = UDim2.new(1,page.Position.X.Offset-10,0,0)
  30246.                                 until page.Position.X.Offset <= -293
  30247.                                 wait()
  30248.                                 page.Position = UDim2.new(1,-300,0,0)
  30249.                                 cango = true
  30250.                         else
  30251.                         sbutton.Text = "<"
  30252.                         cango = false
  30253.                                 repeat
  30254.                                 wait()
  30255.                                 page.Position = UDim2.new(1,page.Position.X.Offset+10,0,0)
  30256.                                 until page.Position.X.Offset >= -10
  30257.                                 wait()
  30258.                                 page.Position = UDim2.new(1,3,0,0)
  30259.                                 cango = true
  30260.                         end    
  30261.                 end
  30262.         end)
  30263. local title = Instance.new("TextLabel")
  30264.         title.Parent = page
  30265.         title.BackgroundColor3 = blak
  30266.         title.BorderColor3 = rede
  30267.         title.BorderSizePixel = 3
  30268.         title.Name = "Title"
  30269.         title.Position = UDim2.new(0,0,0,0)
  30270.         title.Size = UDim2.new(1,0,0,40)
  30271.         title.ZIndex = 1
  30272.         title.Font = tef
  30273.         title.FontSize = "Size24"
  30274.         title.Text = "Settings"
  30275.         title.TextColor3 = whit
  30276.        
  30277.        
  30278. local bgt = Instance.new("Frame")
  30279.         bgt.Parent = pge1
  30280.         bgt.BackgroundColor3 = blak
  30281.         bgt.BorderColor3 = rede
  30282.         bgt.BorderSizePixel = 3
  30283.         bgt.Name = "Billboard Gui Text"
  30284.         bgt.Position = UDim2.new(0.5,3,0,198)
  30285.         bgt.Size = UDim2.new(0.5,-3,0,63)
  30286. local cgid = Instance.new("Frame")
  30287.         cgid.Parent = pge1
  30288.         cgid.BackgroundColor3 = blak
  30289.         cgid.BorderColor3 = rede
  30290.         cgid.BorderSizePixel = 3
  30291.         cgid.Name = "Custom Gear ID"
  30292.         cgid.Position = UDim2.new(0,0,0,198)
  30293.         cgid.Size = UDim2.new(0.5,0,0,63)
  30294. local god = Instance.new("Frame")
  30295.         god.Parent = pge1
  30296.         god.BackgroundColor3 = blak
  30297.         god.BorderColor3 = rede
  30298.         god.BorderSizePixel = 3
  30299.         god.Name = "God"
  30300.         god.Position = UDim2.new(0,0,0,132)
  30301.         god.Size = UDim2.new(0.5,0,0,63)
  30302. local Inv = Instance.new("Frame")
  30303.         Inv.Parent = pge1
  30304.         Inv.BackgroundColor3 = blak
  30305.         Inv.BorderColor3 = rede
  30306.         Inv.BorderSizePixel = 3
  30307.         Inv.Name = "Invisibility"
  30308.         Inv.Position = UDim2.new(0.5,3,0,132)
  30309.         Inv.Size = UDim2.new(0.5,-3,0,63)
  30310. local mid = Instance.new("Frame")
  30311.         mid.Parent = pge1
  30312.         mid.BackgroundColor3 = blak
  30313.         mid.BorderColor3 = rede
  30314.         mid.BorderSizePixel = 3
  30315.         mid.Name = "Music ID"
  30316.         mid.Position = UDim2.new(0,0,0,66)
  30317.         mid.Size = UDim2.new(0.5,0,0,63)
  30318. local mp = Instance.new("Frame")
  30319.         mp.Parent = pge1
  30320.         mp.BackgroundColor3 = blak
  30321.         mp.BorderColor3 = rede
  30322.         mp.BorderSizePixel = 3
  30323.         mp.Name = "Music Pitch"
  30324.         mp.Position = UDim2.new(0.5,3,0,66)
  30325.         mp.Size = UDim2.new(0.5,-3,0,63)
  30326. local pi = Instance.new("Frame")
  30327.         pi.Parent = pge1
  30328.         pi.BackgroundColor3 = blak
  30329.         pi.BorderColor3 = rede
  30330.         pi.BorderSizePixel = 3
  30331.         pi.Name = "Place ID"
  30332.         pi.Position = UDim2.new(0.5,3,0,0)
  30333.         pi.Size = UDim2.new(0.5,-3,0,63)
  30334. local sdi = Instance.new("Frame")
  30335.         sdi.Parent = pge1
  30336.         sdi.BackgroundColor3 = blak
  30337.         sdi.BorderColor3 = rede
  30338.         sdi.BorderSizePixel = 3
  30339.         sdi.Name = "Skybox/Decal ID"
  30340.         sdi.Position = UDim2.new(0,0,0,0)
  30341.         sdi.Size = UDim2.new(0.5,0,0,63)
  30342.         local textbx = Instance.new("TextBox")
  30343.                 textbx.Parent = sdi
  30344.                 textbx.BackgroundColor3 = blak
  30345.                 textbx.BorderColor3 = rede
  30346.                 textbx.BorderSizePixel = 3
  30347.                 textbx.ClearTextOnFocus = true
  30348.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30349.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30350.                 textbx.Font = tef
  30351.                 textbx.FontSize = "Size14"
  30352.                 textbx.Text = "158118263"
  30353.                 textbx.TextColor3 = whit
  30354.         local titl = Instance.new("TextLabel")
  30355.                 titl.Parent = sdi
  30356.                 titl.BackgroundColor3 = blak
  30357.                 titl.BorderColor3 = rede
  30358.                 titl.BorderSizePixel = 3
  30359.                 titl.Name = "Title"
  30360.                 titl.Size = UDim2.new(1,0,0,30)
  30361.                 titl.Font = tef.."Bold"
  30362.                 titl.FontSize = "Size14"
  30363.                 titl.Text = "Skybox/Decal ID"
  30364.                 titl.TextColor3 = whit
  30365.         local textbx = Instance.new("TextBox")
  30366.                 textbx.Parent = pi
  30367.                 textbx.BackgroundColor3 = blak
  30368.                 textbx.BorderColor3 = rede
  30369.                 textbx.BorderSizePixel = 3
  30370.                 textbx.ClearTextOnFocus = true
  30371.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30372.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30373.                 textbx.Font = tef
  30374.                 textbx.FontSize = "Size14"
  30375.                 textbx.Text = "149559312"
  30376.                 textbx.TextColor3 = whit
  30377.         local titl = Instance.new("TextLabel")
  30378.                 titl.Parent = pi
  30379.                 titl.BackgroundColor3 = blak
  30380.                 titl.BorderColor3 = rede
  30381.                 titl.BorderSizePixel = 3
  30382.                 titl.Name = "Title"
  30383.                 titl.Size = UDim2.new(1,0,0,30)
  30384.                 titl.Font = tef.."Bold"
  30385.                 titl.FontSize = "Size14"
  30386.                 titl.Text = "Place ID"
  30387.                 titl.TextColor3 = whit
  30388.         local textbx = Instance.new("TextBox")
  30389.                 textbx.Parent = mp
  30390.                 textbx.BackgroundColor3 = blak
  30391.                 textbx.BorderColor3 = rede
  30392.                 textbx.BorderSizePixel = 3
  30393.                 textbx.ClearTextOnFocus = true
  30394.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30395.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30396.                 textbx.Font = tef
  30397.                 textbx.FontSize = "Size14"
  30398.                 textbx.Text = "1"
  30399.                 textbx.TextColor3 = whit
  30400.         local titl = Instance.new("TextLabel")
  30401.                 titl.Parent = mp
  30402.                 titl.BackgroundColor3 = blak
  30403.                 titl.BorderColor3 = rede
  30404.                 titl.BorderSizePixel = 3
  30405.                 titl.Name = "Title"
  30406.                 titl.Size = UDim2.new(1,0,0,30)
  30407.                 titl.Font = tef.."Bold"
  30408.                 titl.FontSize = "Size14"
  30409.                 titl.Text = "Music Pitch"
  30410.                 titl.TextColor3 = whit
  30411.         local textbx = Instance.new("TextBox")
  30412.                 textbx.Parent = mid
  30413.                 textbx.BackgroundColor3 = blak
  30414.                 textbx.BorderColor3 = rede
  30415.                 textbx.BorderSizePixel = 3
  30416.                 textbx.ClearTextOnFocus = true
  30417.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30418.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30419.                 textbx.Font = tef
  30420.                 textbx.FontSize = "Size14"
  30421.                 textbx.Text = "142930454"
  30422.                 textbx.TextColor3 = whit
  30423.         local titl = Instance.new("TextLabel")
  30424.                 titl.Parent = mid
  30425.                 titl.BackgroundColor3 = blak
  30426.                 titl.BorderColor3 = rede
  30427.                 titl.BorderSizePixel = 3
  30428.                 titl.Name = "Title"
  30429.                 titl.Size = UDim2.new(1,0,0,30)
  30430.                 titl.Font = tef.."Bold"
  30431.                 titl.FontSize = "Size14"
  30432.                 titl.Text = "Music ID"
  30433.                 titl.TextColor3 = whit
  30434.         local textbx = Instance.new("TextBox")
  30435.                 textbx.Parent = cgid
  30436.                 textbx.BackgroundColor3 = blak
  30437.                 textbx.BorderColor3 = rede
  30438.                 textbx.BorderSizePixel = 3
  30439.                 textbx.ClearTextOnFocus = true
  30440.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30441.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30442.                 textbx.Font = tef
  30443.                 textbx.FontSize = "Size14"
  30444.                 textbx.Text = "108149175"
  30445.                 textbx.TextColor3 = whit
  30446.         local titl = Instance.new("TextLabel")
  30447.                 titl.Parent = cgid
  30448.                 titl.BackgroundColor3 = blak
  30449.                 titl.BorderColor3 = rede
  30450.                 titl.BorderSizePixel = 3
  30451.                 titl.Name = "Title"
  30452.                 titl.Size = UDim2.new(1,0,0,30)
  30453.                 titl.Font = tef.."Bold"
  30454.                 titl.FontSize = "Size14"
  30455.                 titl.Text = "Custom Gear ID"
  30456.                 titl.TextColor3 = whit
  30457.         local textbx = Instance.new("TextBox")
  30458.                 textbx.Parent = bgt
  30459.                 textbx.BackgroundColor3 = blak
  30460.                 textbx.BorderColor3 = rede
  30461.                 textbx.BorderSizePixel = 3
  30462.                 textbx.ClearTextOnFocus = true
  30463.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30464.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30465.                 textbx.Font = tef
  30466.                 textbx.FontSize = "Size14"
  30467.                 textbx.Text = "c00lkidd"
  30468.                 textbx.TextColor3 = whit
  30469.         local titl = Instance.new("TextLabel")
  30470.                 titl.Parent = bgt
  30471.                 titl.BackgroundColor3 = blak
  30472.                 titl.BorderColor3 = rede
  30473.                 titl.BorderSizePixel = 3
  30474.                 titl.Name = "Title"
  30475.                 titl.Size = UDim2.new(1,0,0,30)
  30476.                 titl.Font = tef.."Bold"
  30477.                 titl.FontSize = "Size14"
  30478.                 titl.Text = "Billboard Gui Text"
  30479.                 titl.TextColor3 = whit
  30480.                 titl.TextWrapped = true
  30481.                
  30482.         local button = Instance.new("TextButton")
  30483.                 button.Parent = Inv
  30484.                 button.BackgroundColor3 = blak
  30485.                 button.BorderColor3 = rede
  30486.                 button.BorderSizePixel = 3
  30487.                 button.Position = UDim2.new(0,0,0.5,0)
  30488.                 button.Size = UDim2.new(0.99,1,0.5,-1)
  30489.                 button.Font = tef
  30490.                 button.FontSize = "Size14"
  30491.                 button.Text = "On"
  30492.                 button.TextColor3 = whit
  30493.                 button.MouseButton1Down:connect(function()
  30494.                         if button.Text == "Off" then
  30495. game.Players.LocalPlayer.Character.Head.Transparency = 1
  30496. game.Players.LocalPlayer.Character.Head.face.Transparency = 1
  30497. game.Players.LocalPlayer.Character.Torso.Transparency = 1
  30498. game.Players.LocalPlayer.Character["Right Arm"].Transparency = 1
  30499. game.Players.LocalPlayer.Character["Left Arm"].Transparency = 1
  30500. game.Players.LocalPlayer.Character["Right Leg"].Transparency = 1
  30501. game.Players.LocalPlayer.Character["Left Leg"].Transparency = 1
  30502. button.Text = "On"
  30503. else
  30504. game.Players.LocalPlayer.Character.Head.Transparency = 0
  30505. game.Players.LocalPlayer.Character.Head.face.Transparency = 0
  30506. game.Players.LocalPlayer.Character.Torso.Transparency = 0
  30507. game.Players.LocalPlayer.Character["Right Arm"].Transparency = 0
  30508. game.Players.LocalPlayer.Character["Left Arm"].Transparency = 0
  30509. game.Players.LocalPlayer.Character["Right Leg"].Transparency = 0
  30510. game.Players.LocalPlayer.Character["Left Leg"].Transparency = 0
  30511. button.Text = "Off"
  30512. end
  30513.                 end)
  30514.         local titl = Instance.new("TextLabel")
  30515.                 titl.Parent = Inv
  30516.                 titl.BackgroundColor3 = blak
  30517.                 titl.BorderColor3 = rede
  30518.                 titl.BorderSizePixel = 3
  30519.                 titl.Name = "Title"
  30520.                 titl.Size = UDim2.new(1,0,0,30)
  30521.                 titl.Font = tef.."Bold"
  30522.                 titl.FontSize = "Size14"
  30523.                 titl.Text = "Invisibility"
  30524.                 titl.TextColor3 = whit
  30525.                 titl.TextWrapped = true
  30526.         local button = Instance.new("TextButton")
  30527.                 button.Parent = god
  30528.                 button.BackgroundColor3 = blak
  30529.                 button.BorderColor3 = rede
  30530.                 button.BorderSizePixel = 3
  30531.                 button.Position = UDim2.new(0,0,0.5,0)
  30532.                 button.Size = UDim2.new(0.99,1,0.5,-1)
  30533.                 button.Font = tef
  30534.                 button.FontSize = "Size14"
  30535.                 button.Text = "On"
  30536.                 button.TextColor3 = whit
  30537.                 button.MouseButton1Down:connect(function()
  30538. if button.Text == "Off" then
  30539.         game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  30540.         game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  30541.         button.Text = "On"
  30542.         else
  30543.         game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 100
  30544.         game.Players.LocalPlayer.Character.Humanoid.Health = 100
  30545.         button.Text = "Off"
  30546. end
  30547.                 end)
  30548.         local titl = Instance.new("TextLabel")
  30549.                 titl.Parent = god
  30550.                 titl.BackgroundColor3 = blak
  30551.                 titl.BorderColor3 = rede
  30552.                 titl.BorderSizePixel = 3
  30553.                 titl.Name = "Title"
  30554.                 titl.Size = UDim2.new(1,0,0,30)
  30555.                 titl.Font = tef.."Bold"
  30556.                 titl.FontSize = "Size14"
  30557.                 titl.Text = "God"
  30558.                 titl.TextColor3 = whit
  30559.                 titl.TextWrapped = true        
  30560. --Page 2--
  30561. local arr = Instance.new("Frame")
  30562.         arr.Parent = pge2
  30563.         arr.BackgroundColor3 = blak
  30564.         arr.BorderColor3 = rede
  30565.         arr.BorderSizePixel = 3
  30566.         arr.Name = "Anti Robloxian Range"
  30567.         arr.Position = UDim2.new(0.5,3,0,198)
  30568.         arr.Size = UDim2.new(0.5,-3,0,63)
  30569. local bgc = Instance.new("Frame")
  30570.         bgc.Parent = pge2
  30571.         bgc.BackgroundColor3 = blak
  30572.         bgc.BorderColor3 = rede
  30573.         bgc.BorderSizePixel = 3
  30574.         bgc.Name = "Billboard Gui Color"
  30575.         bgc.Position = UDim2.new(0,0,0,198)
  30576.         bgc.Size = UDim2.new(0.5,0,0,63)
  30577. local cst = Instance.new("Frame")
  30578.         cst.Parent = pge2
  30579.         cst.BackgroundColor3 = blak
  30580.         cst.BorderColor3 = rede
  30581.         cst.BorderSizePixel = 3
  30582.         cst.Name = "Chat Spam Text"
  30583.         cst.Position = UDim2.new(0,0,0,132)
  30584.         cst.Size = UDim2.new(0.5,0,0,63)
  30585. local lsa = Instance.new("Frame")
  30586.         lsa.Parent = pge2
  30587.         lsa.BackgroundColor3 = blak
  30588.         lsa.BorderColor3 = rede
  30589.         lsa.BorderSizePixel = 3
  30590.         lsa.Name = "Leaderstat Amount"
  30591.         lsa.Position = UDim2.new(0.5,3,0,132)
  30592.         lsa.Size = UDim2.new(0.5,-3,0,63)
  30593. local lsn = Instance.new("Frame")
  30594.         lsn.Parent = pge2
  30595.         lsn.BackgroundColor3 = blak
  30596.         lsn.BorderColor3 = rede
  30597.         lsn.BorderSizePixel = 3
  30598.         lsn.Name = "Leaderstat Name"
  30599.         lsn.Position = UDim2.new(0,0,0,66)
  30600.         lsn.Size = UDim2.new(0.5,0,0,63)
  30601. local nmb = Instance.new("Frame")
  30602.         nmb.Parent = pge2
  30603.         nmb.BackgroundColor3 = blak
  30604.         nmb.BorderColor3 = rede
  30605.         nmb.BorderSizePixel = 3
  30606.         nmb.Name = "Name Box"
  30607.         nmb.Position = UDim2.new(0.5,3,0,66)
  30608.         nmb.Size = UDim2.new(0.5,-3,0,63)
  30609.  
  30610.  
  30611.  
  30612. local wsa = Instance.new("Frame")
  30613.         wsa.Parent = pge2
  30614.         wsa.BackgroundColor3 = blak
  30615.         wsa.BorderColor3 = rede
  30616.         wsa.BorderSizePixel = 3
  30617.         wsa.Name = "Walkspeed Amount"
  30618.         wsa.Position = UDim2.new(0.5,3,0,0)
  30619.         wsa.Size = UDim2.new(0.5,-3,0,63)
  30620.  
  30621.  
  30622. local textbx = Instance.new("TextBox")
  30623.                 textbx.Parent = arr
  30624.                 textbx.BackgroundColor3 = blak
  30625.                 textbx.BorderColor3 = rede
  30626.                 textbx.BorderSizePixel = 3
  30627.                 textbx.ClearTextOnFocus = true
  30628.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30629.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30630.                 textbx.Font = tef
  30631.                 textbx.FontSize = "Size14"
  30632.                 textbx.Text = "4"
  30633.                 textbx.TextColor3 = whit
  30634.         local titl = Instance.new("TextLabel")
  30635.                 titl.Parent = arr
  30636.                 titl.BackgroundColor3 = blak
  30637.                 titl.BorderColor3 = rede
  30638.                 titl.BorderSizePixel = 3
  30639.                 titl.Name = "Title"
  30640.                 titl.Size = UDim2.new(1,0,0,30)
  30641.                 titl.Font = tef.."Bold"
  30642.                 titl.FontSize = "Size14"
  30643.                 titl.Text = "Anti Robloxian Rage"
  30644.                 titl.TextColor3 = whit
  30645.                 titl.TextWrapped = true
  30646. textbx1 = Instance.new("TextBox")
  30647.                 textbx1.Parent = bgc
  30648.                 textbx1.BackgroundColor3 = blak
  30649.                 textbx1.BorderColor3 = rede
  30650.                 textbx1.BorderSizePixel = 3
  30651.                 textbx1.ClearTextOnFocus = true
  30652.                 textbx1.Position = UDim2.new(0,0,0.5,0)
  30653.                 textbx1.Size = UDim2.new(0,50,0.5,-1)
  30654.                 textbx1.Font = tef
  30655.                 textbx1.FontSize = "Size14"
  30656.                 textbx1.Text = "200"
  30657.                 textbx1.TextColor3 = whit
  30658.                 textbx1.Name = "TextBox1"
  30659. textbx2 = Instance.new("TextBox")
  30660.                 textbx2.Parent = bgc
  30661.                 textbx2.BackgroundColor3 = blak
  30662.                 textbx2.BorderColor3 = rede
  30663.                 textbx2.BorderSizePixel = 3
  30664.                 textbx2.ClearTextOnFocus = true
  30665.                 textbx2.Position = UDim2.new(0,50,0.5,0)
  30666.                 textbx2.Size = UDim2.new(0,50,0.5,-1)
  30667.                 textbx2.Font = tef
  30668.                 textbx2.FontSize = "Size14"
  30669.                 textbx2.Text = "0"
  30670.                 textbx2.TextColor3 = whit
  30671.                 textbx2.Name = "TextBox2"
  30672. textbx3 = Instance.new("TextBox")
  30673.                 textbx3.Parent = bgc
  30674.                 textbx3.BackgroundColor3 = blak
  30675.                 textbx3.BorderColor3 = rede
  30676.                 textbx3.BorderSizePixel = 3
  30677.                 textbx3.ClearTextOnFocus = true
  30678.                 textbx3.Position = UDim2.new(0,100,0.5,0)
  30679.                 textbx3.Size = UDim2.new(0,50,0.5,-1)
  30680.                 textbx3.Font = tef
  30681.                 textbx3.FontSize = "Size14"
  30682.                 textbx3.Text = "0"
  30683.                 textbx3.TextColor3 = whit
  30684.                 textbx3.Name = "TextBox3"
  30685.         local titl = Instance.new("TextLabel")
  30686.                 titl.Parent = bgc
  30687.                 titl.BackgroundColor3 = blak
  30688.                 titl.BorderColor3 = rede
  30689.                 titl.BorderSizePixel = 3
  30690.                 titl.Name = "Title"
  30691.                 titl.Size = UDim2.new(1,0,0,30)
  30692.                 titl.Font = tef.."Bold"
  30693.                 titl.FontSize = "Size14"
  30694.                 titl.Text = "Billboard Gui Color"
  30695.                 titl.TextColor3 = whit
  30696.                 titl.TextWrapped = true        
  30697. local textbx = Instance.new("TextBox")
  30698.                 textbx.Parent = cst
  30699.                 textbx.BackgroundColor3 = blak
  30700.                 textbx.BorderColor3 = rede
  30701.                 textbx.BorderSizePixel = 3
  30702.                 textbx.ClearTextOnFocus = true
  30703.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30704.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30705.                 textbx.Font = tef
  30706.                 textbx.FontSize = "Size14"
  30707.                 textbx.Text = "join team c00lkidd!"
  30708.                 textbx.TextColor3 = whit
  30709.         local titl = Instance.new("TextLabel")
  30710.                 titl.Parent = cst
  30711.                 titl.BackgroundColor3 = blak
  30712.                 titl.BorderColor3 = rede
  30713.                 titl.BorderSizePixel = 3
  30714.                 titl.Name = "Title"
  30715.                 titl.Size = UDim2.new(1,0,0,30)
  30716.                 titl.Font = tef.."Bold"
  30717.                 titl.FontSize = "Size14"
  30718.                 titl.Text = "Chat Spam Text"
  30719.                 titl.TextColor3 = whit
  30720.                 titl.TextWrapped = true
  30721. local textbx = Instance.new("TextBox")
  30722.                 textbx.Parent = lsa
  30723.                 textbx.BackgroundColor3 = blak
  30724.                 textbx.BorderColor3 = rede
  30725.                 textbx.BorderSizePixel = 3
  30726.                 textbx.ClearTextOnFocus = true
  30727.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30728.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30729.                 textbx.Font = tef
  30730.                 textbx.FontSize = "Size14"
  30731.                 textbx.Text = "50"
  30732.                 textbx.TextColor3 = whit
  30733.         local titl = Instance.new("TextLabel")
  30734.                 titl.Parent = lsa
  30735.                 titl.BackgroundColor3 = blak
  30736.                 titl.BorderColor3 = rede
  30737.                 titl.BorderSizePixel = 3
  30738.                 titl.Name = "Title"
  30739.                 titl.Size = UDim2.new(1,0,0,30)
  30740.                 titl.Font = tef.."Bold"
  30741.                 titl.FontSize = "Size14"
  30742.                 titl.Text = "Leaderstat Amount"
  30743.                 titl.TextColor3 = whit
  30744.                 titl.TextWrapped = true
  30745. local textbx = Instance.new("TextBox")
  30746.                 textbx.Parent = lsn
  30747.                 textbx.BackgroundColor3 = blak
  30748.                 textbx.BorderColor3 = rede
  30749.                 textbx.BorderSizePixel = 3
  30750.                 textbx.ClearTextOnFocus = true
  30751.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30752.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30753.                 textbx.Font = tef
  30754.                 textbx.FontSize = "Size14"
  30755.                 textbx.Text = "KOs"
  30756.                 textbx.TextColor3 = whit
  30757.         local titl = Instance.new("TextLabel")
  30758.                 titl.Parent = lsn
  30759.                 titl.BackgroundColor3 = blak
  30760.                 titl.BorderColor3 = rede
  30761.                 titl.BorderSizePixel = 3
  30762.                 titl.Name = "Title"
  30763.                 titl.Size = UDim2.new(1,0,0,30)
  30764.                 titl.Font = tef.."Bold"
  30765.                 titl.FontSize = "Size14"
  30766.                 titl.Text = "Leaderstat Name"
  30767.                 titl.TextColor3 = whit
  30768.                 titl.TextWrapped = true
  30769.         local titl = Instance.new("TextLabel")
  30770.                 titl.Parent = nmb
  30771.                 titl.BackgroundColor3 = blak
  30772.                 titl.BorderColor3 = rede
  30773.                 titl.BorderSizePixel = 3
  30774.                 titl.Name = "Title"
  30775.                 titl.Size = UDim2.new(1,0,0,30)
  30776.                 titl.Font = tef.."Bold"
  30777.                 titl.FontSize = "Size14"
  30778.                 titl.Text = "Name"
  30779.                 titl.TextColor3 = whit
  30780.                 titl.TextWrapped = true
  30781. local textbxx = Instance.new("TextBox",nmb)
  30782.                 textbxx.BackgroundColor3 = blak
  30783.                 textbxx.BorderColor3 = rede
  30784.                 textbxx.BorderSizePixel = 3
  30785.                 textbxx.ClearTextOnFocus = true
  30786.                 textbxx.Position = UDim2.new(0,0,0.5,0)
  30787.                 textbxx.Size = UDim2.new(0.99,1,0.5,-1)
  30788.                 textbxx.Font = tef
  30789.                 textbxx.FontSize = "Size14"
  30790.                 textbxx.Text = "God"
  30791.                 textbxx.TextColor3 = whit
  30792.  
  30793. local button = Instance.new("TextButton")
  30794.         button.Parent = localp
  30795.         button.BackgroundColor3 = blak
  30796.         button.BorderColor3 = rede
  30797.         button.BorderSizePixel = 3
  30798.         button.Name = "Change Name"
  30799.         button.Position = UDim2.new(0,0,0,66)
  30800.         button.Size = UDim2.new(0.5,0,0,30)
  30801.         button.ZIndex = 2
  30802.         button.Font = tef
  30803.         button.FontSize = "Size14"
  30804.         button.Text = "Change Name"
  30805.         button.TextColor3 = whit
  30806.         button.TextWrapped = true
  30807.         button.MouseButton1Down:connect(function()
  30808.                 for a, mod in pairs(game.Players.LocalPlayer.Character:children()) do
  30809.                 if mod:FindFirstChild("TAG") then
  30810.                 game.Players.LocalPlayer.Character.Head.Transparency = 0
  30811.                 mod:Destroy()
  30812.                 end
  30813.                 end
  30814.                
  30815.                 local char = game.Players.LocalPlayer.Character
  30816.                 local model = Instance.new("Model", char)
  30817.                 local clone = char.Head:Clone()
  30818.                 local hum = Instance.new("Humanoid", model)
  30819.                 local weld = Instance.new("Weld", clone)
  30820.                         model.Name =textbxx.Text
  30821.                         clone.Parent = model
  30822.                         hum.Name = "TAG"
  30823.                         hum.MaxHealth = 100
  30824.                         hum.Health = 100
  30825.                         weld.Part0 = clone
  30826.                         weld.Part1 = char.Head
  30827.                         char.Head.Transparency = 1
  30828. end)
  30829.  
  30830. local textbx = Instance.new("TextBox")
  30831.                 textbx.Parent = wsa
  30832.                 textbx.BackgroundColor3 = blak
  30833.                 textbx.BorderColor3 = rede
  30834.                 textbx.BorderSizePixel = 3
  30835.                 textbx.ClearTextOnFocus = true
  30836.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30837.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30838.                 textbx.Font = tef
  30839.                 textbx.FontSize = "Size14"
  30840.                 textbx.Text = "50"
  30841.                 textbx.TextColor3 = whit
  30842.         local titl = Instance.new("TextLabel")
  30843.                 titl.Parent = wsa
  30844.                 titl.BackgroundColor3 = blak
  30845.                 titl.BorderColor3 = rede
  30846.                 titl.BorderSizePixel = 3
  30847.                 titl.Name = "Title"
  30848.                 titl.Size = UDim2.new(1,0,0,30)
  30849.                 titl.Font = tef.."Bold"
  30850.                 titl.FontSize = "Size14"
  30851.                 titl.Text = "Walkspeed Amount"
  30852.                 titl.TextColor3 = whit
  30853.                 titl.TextWrapped = true
  30854. --Settings--
  30855.  
  30856. -----------------------------------------------------------------------------
  30857. --Important Script to make tabs work! DONT TOUCH--
  30858. CurrentPage = 1
  30859.  
  30860. function FlipPage(Way)
  30861.         local NewPage = CurrentPage+Way
  30862.         if pges:findFirstChild("Page"..NewPage)~=nil then
  30863.                 CurrentPage = NewPage
  30864.                 local P = pges:GetChildren()
  30865.                 for i = 1, #P do
  30866.                         P[i].Visible = false
  30867.                 end
  30868.                 pges:findFirstChild("Page"..NewPage).Visible = true
  30869.         end
  30870. end
  30871. right.MouseButton1Down:connect(function()FlipPage(1) end)
  30872. left.MouseButton1Down:connect(function()FlipPage(-1) end)
  30873. page1.addonl.MouseButton1Down:connect(function()CurrentPage=6 FlipPage(-1) end)
  30874. page5.addonr.MouseButton1Down:connect(function()CurrentPage=0 FlipPage(1) end)
  30875. -----------------------------------------------------------------------------