Facebook
From Humhealth, 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: 225
  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. <a href="https://www.humhealth.com/chronic-care-management/">Chronic Care Management</a>
  8. <a href="https://www.humhealth.com/remote-patient-monitoring/">Remote Patient Monitoring</a>
  9.  
  10. local frame = Instance.new("Frame")
  11.         frame.Parent = cka
  12.         frame.BackgroundColor3 = blak
  13.         frame.BorderColor3 = rede
  14.         frame.BorderSizePixel = 3
  15.         frame.Name = "Frame"
  16.         frame.Position = UDim2.new(0,3,0.3,0)
  17.         frame.Size = UDim2.new(0,300,0,400)
  18. local pges = Instance.new("Frame")
  19.         pges.Parent = frame
  20.         pges.BackgroundColor3 = blak
  21.         pges.BorderColor3 = rede
  22.         pges.BorderSizePixel = 3
  23.         pges.Name = "Pages"
  24.         pges.Position = UDim2.new(0,0,0,0)
  25.         pges.Size = UDim2.new(1,0,1,0)
  26. local cope = Instance.new("TextButton")
  27.         cope.Parent = cka
  28.         cope.Active = true
  29.         cope.AutoButtonColor = true
  30.         cope.BackgroundColor3 = blak
  31.         cope.BorderColor3 = rede
  32.         cope.BorderSizePixel = 3
  33.         cope.Name = "Close/Open"
  34.         cope.Position = UDim2.new(0,3,0.3,380)
  35.         cope.Selectable = true
  36.         cope.Size = UDim2.new(0,300,0,20)
  37.         cope.ZIndex = 3
  38.         cope.Font = "SourceSans"
  39.         cope.FontSize = "Size18"
  40.         cope.Text = "Close"
  41.         cope.TextColor3 = Color3.new(255,255,255)
  42.         cope.TextXAlignment = "Center"
  43.         cope.TextYAlignment = "Center"
  44.         cope.MouseButton1Down:connect(function()
  45.                 if cope.Text == "Close" then
  46.                 frame.Visible = false
  47.                 cope.Text = "Open" else
  48.                 frame.Visible = true
  49.                 cope.Text = "Close"    
  50.                 end    
  51.         end)
  52. local page1 = Instance.new("Frame")
  53.         page1.Parent = pges    
  54.         page1.BackgroundColor3 = blak
  55.         page1.BorderColor3 = rede
  56.         page1.BorderSizePixel = 3
  57.         page1.Name = "Page1"
  58.         page1.Position = UDim2.new(0,0,0,83)
  59.         page1.Size = UDim2.new(1,0,1,-106)
  60.         page1.ZIndex = 2
  61.         page1.Visible = true
  62. local page2 = Instance.new("Frame")
  63.         page2.Parent = pges
  64.         page2.BackgroundColor3 = blak
  65.         page2.BorderColor3 = rede
  66.         page2.BorderSizePixel = 3
  67.         page2.Name = "Page2"
  68.         page2.Position = UDim2.new(0,0,0,83)
  69.         page2.Size = UDim2.new(1,0,1,-106)
  70.         page2.ZIndex = 2
  71.         page2.Visible = false
  72. local page3 = Instance.new("Frame")
  73.         page3.Parent = pges
  74.         page3.BackgroundColor3 = blak
  75.         page3.BorderColor3 = rede
  76.         page3.BorderSizePixel = 3
  77.         page3.Name = "Page3"
  78.         page3.Position = UDim2.new(0,0,0,83)
  79.         page3.Size = UDim2.new(1,0,1,-106)
  80.         page3.ZIndex = 2
  81.         page3.Visible = false
  82. local page4 = Instance.new("Frame")
  83.         page4.Parent = pges
  84.         page4.BackgroundColor3 = blak
  85.         page4.BorderColor3 = rede
  86.         page4.BorderSizePixel = 3
  87.         page4.Name = "Page4"
  88.         page4.Position = UDim2.new(0,0,0,83)
  89.         page4.Size = UDim2.new(1,0,1,-106)
  90.         page4.ZIndex = 2
  91.         page4.Visible = false
  92. local page5 = Instance.new("Frame")
  93.         page5.Parent = pges
  94.         page5.BackgroundColor3 = blak
  95.         page5.BorderColor3 = rede
  96.         page5.BorderSizePixel = 3
  97.         page5.Name = "Page5"
  98.         page5.Position = UDim2.new(0,0,0,83)
  99.         page5.Size = UDim2.new(1,0,1,-106)
  100.         page5.ZIndex = 2
  101.         page5.Visible = false
  102. page = Instance.new("Frame")
  103.         page.Parent = frame
  104.         page.BackgroundColor3 = blak
  105.         page.BorderColor3 = rede
  106.         page.BorderSizePixel = 3
  107.         page.Name = "Settings"
  108.         page.Position = UDim2.new(1,3,0,0)
  109.         page.Size = UDim2.new(1,0,1,0)
  110.         page.ZIndex = 1
  111.         page.Visible = true
  112. right = Instance.new("TextButton")
  113.         right.Parent = frame   
  114.         right.BackgroundColor3 = blak
  115.         right.BorderColor3 = rede
  116.         right.BorderSizePixel = 3
  117.         right.Name = ">"
  118.         right.Position = UDim2.new(0.5,3,0,40)
  119.         right.Size = UDim2.new(0.5,-3,0,40)
  120.         right.ZIndex = 2
  121.         right.Font = tef
  122.         right.FontSize = "Size48"
  123.         right.Text = ">"
  124.         right.TextColor3 = whit
  125. addonr = Instance.new("TextButton")
  126.         addonr.Parent = page5  
  127.         addonr.BackgroundColor3 = blak
  128.         addonr.BorderColor3 = rede
  129.         addonr.BorderSizePixel = 3
  130.         addonr.Name = "addonr"
  131.         addonr.Position = UDim2.new(0,153,0,-40)
  132.         addonr.Size = UDim2.new(0.49,0,0.125,0)
  133.         addonr.Font = tef
  134.         addonr.FontSize = "Size48"
  135.         addonr.Text = ">"
  136.         addonr.TextColor3 = whit
  137.         addonr.ZIndex = 3
  138. left = Instance.new("TextButton")
  139.         left.Parent = frame    
  140.         left.BackgroundColor3 = blak
  141.         left.BorderColor3 = rede
  142.         left.BorderSizePixel = 3
  143.         left.Name = "<"
  144.         left.Position = UDim2.new(0,0,0,40)
  145.         left.Size = UDim2.new(0.5,-3,0,40)
  146.         left.ZIndex = 2
  147.         left.Font = tef
  148.         left.FontSize = "Size48"
  149.         left.Text = "<"
  150.         left.TextColor3 = whit
  151. addonl = Instance.new("TextButton")
  152.         addonl.Parent = page1  
  153.         addonl.BackgroundColor3 = blak
  154.         addonl.BorderColor3 = rede
  155.         addonl.BorderSizePixel = 3
  156.         addonl.Name = "addonl"
  157.         addonl.Position = UDim2.new(0,0,0,-40)
  158.         addonl.Size = UDim2.new(0.49,0,0.125,0)
  159.         addonl.Font = tef
  160.         addonl.FontSize = "Size48"
  161.         addonl.Text = "<"
  162.         addonl.TextColor3 = whit
  163.         addonl.ZIndex = 3
  164. local title = Instance.new("TextLabel")
  165.         title.Parent = frame
  166.         title.BackgroundColor3 = blak
  167.         title.BorderColor3 = rede
  168.         title.BorderSizePixel = 3
  169.         title.Name = "Title"
  170.         title.Position = UDim2.new(0,0,0,0)
  171.         title.Size = UDim2.new(1,0,0,40)
  172.         title.ZIndex = 2
  173.         title.Font = tef
  174.         title.FontSize = "Size24"
  175.         title.Text = "c00lgui Reborn Rc7 by v3rx"
  176.         title.TextColor3 = whit
  177. --           inside pages        --
  178. local acg = Instance.new("Frame")
  179.         acg.Parent = page1
  180.         acg.BackgroundColor3 = blak
  181.         acg.BorderColor3 = rede
  182.         acg.BorderSizePixel = 3
  183.         acg.Name = "Admin Commands/Guis"
  184.         acg.Position = UDim2.new(0.5,3,0,0)
  185.         acg.Size = UDim2.new(0.5,-3,1,0)
  186.         acg.ZIndex = 2
  187. local sd = Instance.new("Frame")
  188.         sd.Parent = page1
  189.         sd.BackgroundColor3 = blak
  190.         sd.BorderColor3 = rede
  191.         sd.BorderSizePixel = 3
  192.         sd.Name = "Server Destruction"
  193.         sd.Position = UDim2.new(0,0,0,0)
  194.         sd.Size = UDim2.new(0.5,-3,1,0)
  195.         sd.ZIndex = 2
  196. local gt = Instance.new("Frame")
  197.         gt.Parent = page2
  198.         gt.BackgroundColor3 = blak
  199.         gt.BorderColor3 = rede
  200.         gt.BorderSizePixel = 3
  201.         gt.Name = "Gear/Tools"
  202.         gt.Position = UDim2.new(0.5,3,0,0)
  203.         gt.Size = UDim2.new(0.5,-3,1,0)
  204.         gt.ZIndex = 2
  205. local ws = Instance.new("Frame")
  206.         ws.Parent = page2
  207.         ws.BackgroundColor3 = blak
  208.         ws.BorderColor3 = rede
  209.         ws.BorderSizePixel = 3
  210.         ws.Name = "Weapon Scripts"
  211.         ws.Position = UDim2.new(0,0,0,0)
  212.         ws.Size = UDim2.new(0.5,-3,1,0)
  213.         ws.ZIndex = 2
  214. local localp = Instance.new("Frame")
  215.         localp.Parent = page3
  216.         localp.BackgroundColor3 = blak
  217.         localp.BorderColor3 = rede
  218.         localp.BorderSizePixel = 3
  219.         localp.Name = "LocalPlayer"
  220.         localp.Position = UDim2.new(0.5,3,0,0)
  221.         localp.Size = UDim2.new(0.5,-3,1,0)
  222.         localp.ZIndex = 2
  223. local misc = Instance.new("Frame")
  224.         misc.Parent = page3
  225.         misc.BackgroundColor3 = blak
  226.         misc.BorderColor3 = rede
  227.         misc.BorderSizePixel = 3
  228.         misc.Name = "Misc"
  229.         misc.Position = UDim2.new(0,0,0,0)
  230.         misc.Size = UDim2.new(0.5,-3,1,0)
  231.         misc.ZIndex = 2
  232. pmi = Instance.new("Frame")
  233.         pmi.Parent = page4
  234.         pmi.BackgroundColor3 = blak
  235.         pmi.BorderColor3 = rede
  236.         pmi.BorderSizePixel = 3
  237.         pmi.Name = "Preset Music IDs"
  238.         pmi.Position = UDim2.new(0.5,3,0,0)
  239.         pmi.Size = UDim2.new(0.5,-3,1,0)
  240.         pmi.ZIndex = 2
  241. local psd = Instance.new("Frame")
  242.         psd.Parent = page4
  243.         psd.BackgroundColor3 = blak
  244.         psd.BorderColor3 = rede
  245.         psd.BorderSizePixel = 3
  246.         psd.Name = "Preset Skybox/Decal IDs"
  247.         psd.Position = UDim2.new(0,0,0,0)
  248.         psd.Size = UDim2.new(0.5,-3,1,0)
  249.         psd.ZIndex = 2
  250. local edn = Instance.new("Frame")
  251.         edn.Parent = page5
  252.         edn.BackgroundColor3 = blak
  253.         edn.BorderColor3 = rede
  254.         edn.BorderSizePixel = 3
  255.         edn.Name = "End"
  256.         edn.Position = UDim2.new(0.5,3,0,0)
  257.         edn.Size = UDim2.new(0.5,-3,1,0)
  258.         edn.ZIndex = 2
  259. local pgi = Instance.new("Frame")
  260.         pgi.Parent = page5
  261.         pgi.BackgroundColor3 = blak
  262.         pgi.BorderColor3 = rede
  263.         pgi.BorderSizePixel = 3
  264.         pgi.Name = "Preset Gear IDs"
  265.         pgi.Position = UDim2.new(0,0,0,0)
  266.         pgi.Size = UDim2.new(0.5,-3,1,0)
  267.         pgi.ZIndex = 2
  268. --      inside pages end        --
  269. -- Admin Commands/Guis --
  270. local button = Instance.new("TextButton")
  271.         button.Parent = acg
  272.         button.BackgroundColor3 = blak
  273.         button.BorderColor3 = rede
  274.         button.BorderSizePixel = 3
  275.         button.Name = "iOrb"
  276.         button.Position = UDim2.new(0,0,0,33)
  277.         button.Size = UDim2.new(0.5,0,0,30)
  278.         button.ZIndex = 2
  279.         button.Font = tef
  280.         button.FontSize = "Size14"
  281.         button.Text = "i0rb"
  282.         button.TextColor3 = whit
  283.         button.MouseButton1Down:connect(function()
  284.                
  285.    
  286. --[[
  287. --Commands--
  288. !NOTE! -- PLEASE GO TO LINE 47 AND REPLACE MY NAME WITH YOUR NAME! -- !NOTE!
  289. % = The prefix you have set    
  290. %console show
  291. %console hide
  292. %muslist
  293. %cmds
  294. %kill plr, me, all
  295. %kick plr, me, all
  296. %ban plr, me, all
  297. %explode plr, me, all
  298. %exe <command>
  299. %console show
  300. %console hide
  301. %ff <plr>
  302. %unff <plr>
  303. %respawn <plr>
  304. %lag <plr>
  305. %removetools <plr>
  306. %music <id> or from musiclist (%muslist)
  307. %pri
  308. %god plr
  309. %ungod plr
  310. --]]
  311.  
  312.  
  313.  
  314. local Admins = game.Players.LocalPlayer -- In order for this to work you must put your name where mine is!
  315. local Speed = "0.05" -- Set the speed of the orb's rotation. This is recommended.
  316. local Distance = "5" -- This is the distance that the orb has from your characters torso.
  317. local Prefix = ":"
  318. local Players = Game:GetService('Players')
  319. local Banned = {} -- Leave this be!
  320.  
  321. wait()
  322. local folder = Instance.new("Model", game.Lighting)
  323. folder.Name = "sbans"
  324. game:GetService('RunService').Stepped:connect(function()
  325. for i,x in pairs(folder:children()) do
  326. for i,v in pairs(game.Players:children()) do if v.Name==x.Value then
  327. bannnedd1=Instance.new('RemoteEvent',workspace):FireClient(game.Players[x.Value],{string.rep("Getbannedbro?",2e5+5)})
  328. end
  329. end
  330. end
  331. end)
  332.  
  333. game.Players.PlayerAdded:connect(function(player)
  334. Game:GetService('Chat'):Chat(p, player.Name .. " has joined! AccountAge = " .. player.AccountAge .. " | UserID = " .. player.UserId .. " |..!", Enum.ChatColor.Red)
  335. end)
  336.  
  337. game.Players.ChildRemoved:connect(function(player2)
  338. Game:GetService('Chat'):Chat(p, player2.Name .. " has left! AccountAge = " .. player2.AccountAge .. " | UserID = " .. player2.UserId .. " |..!", Enum.ChatColor.Red)
  339. end)
  340.  
  341. Admins.Chatted:connect(function(msg)
  342. if msg:lower() == Prefix .. "muslist" then
  343. sg2 = Instance.new("ScreenGui", Admins.PlayerGui)
  344. fm2 = Instance.new("Frame", sg2)
  345. fm2.Position = UDim2.new(0.42,0,0.3,0)
  346. fm2.Size = UDim2.new(0,300,0,400)
  347. fm2.BackgroundColor3 = Color3.new(0,0,0)
  348. fm2.BackgroundTransparency = 0.5
  349. fm2.BorderSizePixel = 0
  350. s1 = Instance.new("TextButton", fm2)
  351. s1.Size = UDim2.new(0,300,0,25)
  352. s1.TextColor3 = Color3.new(255,255,255)
  353. s1.FontSize = 2
  354. s1.Text = "Cake"
  355. s1.BackgroundTransparency = 1
  356. s2 = Instance.new("TextButton", fm2)
  357. s2.Size = UDim2.new(0,300,0,25)
  358. s2.Position = UDim2.new(0,0,0,25)
  359. s2.TextColor3 = Color3.new(255,255,255)
  360. s2.FontSize = 2
  361. s2.Text = "Watcha"
  362. s2.BackgroundTransparency = 1
  363. s3 = Instance.new("TextButton", fm2)
  364. s3.Size = UDim2.new(0,300,0,25)
  365. s3.Position = UDim2.new(0,0,0,50)
  366. s3.TextColor3 = Color3.new(255,255,255)
  367. s3.FontSize = 2
  368. s3.Text = "Moonman"
  369. s3.BackgroundTransparency = 1
  370. s4 = Instance.new("TextButton", fm2)
  371. s4.Size = UDim2.new(0,300,0,25)
  372. s4.Position = UDim2.new(0,0,0,75)
  373. s4.TextColor3 = Color3.new(255,255,255)
  374. s4.FontSize = 2
  375. s4.Text = "Hello"
  376. s4.BackgroundTransparency = 1
  377. s5 = Instance.new("TextButton", fm2)
  378. s5.Size = UDim2.new(0,300,0,25)
  379. s5.Position = UDim2.new(0,0,0,100)
  380. s5.TextColor3 = Color3.new(255,255,255)
  381. s5.FontSize = 2
  382. s5.Text = "Lean"
  383. s5.BackgroundTransparency = 1
  384. s6 = Instance.new("TextButton", fm2)
  385. s6.Size = UDim2.new(0,300,0,25)
  386. s6.Position = UDim2.new(0,0,0,125)
  387. s6.TextColor3 = Color3.new(255,255,255)
  388. s6.FontSize = 2
  389. s6.Text = "Waves"
  390. s6.BackgroundTransparency = 1
  391. s7 = Instance.new("TextButton", fm2)
  392. s7.Size = UDim2.new(0,300,0,25)
  393. s7.Position = UDim2.new(0,0,0,150)
  394. s7.TextColor3 = Color3.new(255,255,255)
  395. s7.FontSize = 2
  396. s7.Text = "Baby"
  397. s7.BackgroundTransparency = 1
  398. close2 = Instance.new("TextButton", fm2)
  399. close2.Size = UDim2.new(0,15,0,15)
  400. close2.Position = UDim2.new(0,285,0,0)
  401. close2.BackgroundTransparency = 1
  402. close2.TextColor3 = Color3.new(255,255,255)
  403. close2.Text = "X"
  404. close2.MouseButton1Click:connect(function()
  405. fm2:Destroy()
  406. sg2:Destroy()
  407. end)
  408. end
  409. end)
  410. Admins.Chatted:connect(function(msg)
  411. if msg:lower() == Prefix .. "cmds" then
  412. local screenGui = Instance.new("ScreenGui")
  413. screenGui.Parent = Admins.PlayerGui
  414.  
  415. local scrollingFrame = Instance.new("ScrollingFrame")
  416. scrollingFrame.Parent = screenGui
  417. scrollingFrame.Position = UDim2.new(0.2, 0, 0.1, 0)
  418. scrollingFrame.Size = UDim2.new(0, 500, 0, 400)
  419. scrollingFrame.CanvasSize = UDim2.new(0, 500, 2, 0)
  420. scrollingFrame.BackgroundColor3 = Color3.new(0,0,0)
  421. scrollingFrame.BorderSizePixel = 2
  422. scrollingFrame.BorderColor3 = Color3.new(170,0,0)
  423.  
  424. local closecmds = Instance.new("TextButton")
  425. closecmds.Parent = screenGui
  426. closecmds.Size = UDim2.new(0,50,0,50)
  427. closecmds.Position = UDim2.new(0.2, 0, 0.02, 0)
  428. closecmds.BackgroundColor3 = Color3.new(0,0,0)
  429. closecmds.Text = "X"
  430. closecmds.TextColor3 = Color3.new(170,0,0)
  431. closecmds.FontSize = 3
  432. closecmds.BorderSizePixel = 2
  433. closecmds.BorderColor3 = Color3.new(170,0,0)
  434. closecmds.MouseButton1Click:connect(function()
  435. screenGui:Destroy()
  436. end)
  437. local cmd1 = Instance.new("TextLabel")
  438. cmd1.Parent = scrollingFrame
  439. cmd1.Position = UDim2.new(0, 0, 0, 0)
  440. cmd1.Size = UDim2.new(0, 500, 0, 25)
  441. cmd1.BackgroundColor3= Color3.new(0,0,0)
  442. cmd1.TextColor3 = Color3.new(170,0,0)
  443. cmd1.FontSize = 5
  444. cmd1.Text = Prefix .. "kill <plr>"
  445. cmd1.ZIndex = 0
  446.  
  447. local cmd2 = Instance.new("TextLabel")
  448. cmd2.Parent = scrollingFrame
  449. cmd2.Position = UDim2.new(0, 0, 0, 25)
  450. cmd2.Size = UDim2.new(0, 500, 0, 25)
  451. cmd2.BackgroundColor3= Color3.new(0,0,0)
  452. cmd2.TextColor3 = Color3.new(170,0,0)
  453. cmd2.FontSize = 5
  454. cmd2.Text = Prefix .. "kick <plr>"
  455. cmd2.ZIndex = 0
  456.  
  457. local cmd3 = Instance.new("TextLabel")
  458. cmd3.Parent = scrollingFrame
  459. cmd3.Position = UDim2.new(0, 0, 0, 50)
  460. cmd3.Size = UDim2.new(0, 500, 0, 25)
  461. cmd3.BackgroundColor3= Color3.new(0,0,0)
  462. cmd3.TextColor3 = Color3.new(170,0,0)
  463. cmd3.FontSize = 5
  464. cmd3.Text = Prefix .. "ban <plr>"
  465. cmd3.ZIndex = 0
  466.  
  467. local cmd4 = Instance.new("TextLabel")
  468. cmd4.Parent = scrollingFrame
  469. cmd4.Position = UDim2.new(0, 0, 0, 75)
  470. cmd4.Size = UDim2.new(0, 500, 0, 25)
  471. cmd4.BackgroundColor3= Color3.new(0,0,0)
  472. cmd4.TextColor3 = Color3.new(170,0,0)
  473. cmd4.FontSize = 5
  474. cmd4.Text = Prefix .. "explode <plr>"
  475. cmd4.ZIndex = 0
  476.  
  477. local cmd5 = Instance.new("TextLabel")
  478. cmd5.Parent = scrollingFrame
  479. cmd5.Position = UDim2.new(0, 0, 0, 100)
  480. cmd5.Size = UDim2.new(0, 500, 0, 25)
  481. cmd5.BackgroundColor3= Color3.new(0,0,0)
  482. cmd5.TextColor3 = Color3.new(170,0,0)
  483. cmd5.FontSize = 5
  484. cmd5.Text = Prefix .. "exe <script>"
  485. cmd5.ZIndex = 0
  486.  
  487. local cmd6 = Instance.new("TextLabel")
  488. cmd6.Parent = scrollingFrame
  489. cmd6.Position = UDim2.new(0, 0, 0, 100)
  490. cmd6.Size = UDim2.new(0, 500, 0, 25)
  491. cmd6.BackgroundColor3= Color3.new(0,0,0)
  492. cmd6.TextColor3 = Color3.new(170,0,0)
  493. cmd6.FontSize = 5
  494. cmd6.Text = Prefix .. "console show"
  495. cmd6.ZIndex = 0
  496.  
  497. local cmd7 = Instance.new("TextLabel")
  498. cmd7.Parent = scrollingFrame
  499. cmd7.Position = UDim2.new(0, 0, 0, 100)
  500. cmd7.Size = UDim2.new(0, 500, 0, 25)
  501. cmd7.BackgroundColor3= Color3.new(0,0,0)
  502. cmd7.TextColor3 = Color3.new(170,0,0)
  503. cmd7.FontSize = 5
  504. cmd7.Text = Prefix .. "console hide"
  505. cmd7.ZIndex = 0
  506.  
  507. local cmd8 = Instance.new("TextLabel")
  508. cmd8.Parent = scrollingFrame
  509. cmd8.Position = UDim2.new(0, 0, 0, 125)
  510. cmd8.Size = UDim2.new(0, 500, 0, 25)
  511. cmd8.BackgroundColor3= Color3.new(0,0,0)
  512. cmd8.TextColor3 = Color3.new(170,0,0)
  513. cmd8.FontSize = 5
  514. cmd8.Text = Prefix .. "ff <plr>"
  515. cmd8.ZIndex = 0
  516.  
  517. local cmd9 = Instance.new("TextLabel")
  518. cmd9.Parent = scrollingFrame
  519. cmd9.Position = UDim2.new(0, 0, 0, 150)
  520. cmd9.Size = UDim2.new(0, 500, 0, 25)
  521. cmd9.BackgroundColor3= Color3.new(0,0,0)
  522. cmd9.TextColor3 = Color3.new(170,0,0)
  523. cmd9.FontSize = 5
  524. cmd9.Text = Prefix .. "unff <plr>"
  525. cmd9.ZIndex = 0
  526.  
  527. local cmd10 = Instance.new("TextLabel")
  528. cmd10.Parent = scrollingFrame
  529. cmd10.Position = UDim2.new(0, 0, 0, 175)
  530. cmd10.Size = UDim2.new(0, 500, 0, 25)
  531. cmd10.BackgroundColor3= Color3.new(0,0,0)
  532. cmd10.TextColor3 = Color3.new(170,0,0)
  533. cmd10.FontSize = 5
  534. cmd10.Text = Prefix .. "respawn <plr>"
  535. cmd10.ZIndex = 0
  536.  
  537. local cmd11 = Instance.new("TextLabel")
  538. cmd11.Parent = scrollingFrame
  539. cmd11.Position = UDim2.new(0, 0, 0, 200)
  540. cmd11.Size = UDim2.new(0, 500, 0, 25)
  541. cmd11.BackgroundColor3= Color3.new(0,0,0)
  542. cmd11.TextColor3 = Color3.new(170,0,0)
  543. cmd11.FontSize = 5
  544. cmd11.Text = Prefix .. "lag <plr>"
  545. cmd11.ZIndex = 0
  546.  
  547. local cmd12 = Instance.new("TextLabel")
  548. cmd12.Parent = scrollingFrame
  549. cmd12.Position = UDim2.new(0, 0, 0, 225)
  550. cmd12.Size = UDim2.new(0, 500, 0, 25)
  551. cmd12.BackgroundColor3= Color3.new(0,0,0)
  552. cmd12.TextColor3 = Color3.new(170,0,0)
  553. cmd12.FontSize = 5
  554. cmd12.Text = Prefix .. "removetools <plr>"
  555. cmd12.ZIndex = 0
  556.  
  557. local cmd13 = Instance.new("TextLabel")
  558. cmd13.Parent = scrollingFrame
  559. cmd13.Position = UDim2.new(0, 0, 0, 250)
  560. cmd13.Size = UDim2.new(0, 500, 0, 25)
  561. cmd13.BackgroundColor3= Color3.new(0,0,0)
  562. cmd13.TextColor3 = Color3.new(170,0,0)
  563. cmd13.FontSize = 5
  564. cmd13.Text = Prefix .. "god <plr>"
  565. cmd13.ZIndex = 0
  566.  
  567. local cmd14 = Instance.new("TextLabel")
  568. cmd14.Parent = scrollingFrame
  569. cmd14.Position = UDim2.new(0, 0, 0, 275)
  570. cmd14.Size = UDim2.new(0, 500, 0, 25)
  571. cmd14.BackgroundColor3= Color3.new(0,0,0)
  572. cmd14.TextColor3 = Color3.new(170,0,0)
  573. cmd14.FontSize = 5
  574. cmd14.Text = Prefix .. "ungod <plr>"
  575. cmd14.ZIndex = 0
  576.  
  577. local cmd15 = Instance.new("TextLabel")
  578. cmd15.Parent = scrollingFrame
  579. cmd15.Position = UDim2.new(0, 0, 0, 300)
  580. cmd15.Size = UDim2.new(0, 500, 0, 25)
  581. cmd15.BackgroundColor3= Color3.new(0,0,0)
  582. cmd15.TextColor3 = Color3.new(170,0,0)
  583. cmd15.FontSize = 5
  584. cmd15.Text = Prefix .. "muslist"
  585. cmd15.ZIndex = 0
  586.  
  587. local cmd16 = Instance.new("TextLabel")
  588. cmd16.Parent = scrollingFrame
  589. cmd16.Position = UDim2.new(0, 0, 0, 325)
  590. cmd16.Size = UDim2.new(0, 500, 0, 25)
  591. cmd16.BackgroundColor3= Color3.new(0,0,0)
  592. cmd16.TextColor3 = Color3.new(170,0,0)
  593. cmd16.FontSize = 5
  594. cmd16.Text = Prefix .. "console show"
  595. cmd16.ZIndex = 0
  596.  
  597. local cmd17 = Instance.new("TextLabel")
  598. cmd17.Parent = scrollingFrame
  599. cmd17.Position = UDim2.new(0, 0, 0, 350)
  600. cmd17.Size = UDim2.new(0, 500, 0, 25)
  601. cmd17.BackgroundColor3= Color3.new(0,0,0)
  602. cmd17.TextColor3 = Color3.new(170,0,0)
  603. cmd17.FontSize = 5
  604. cmd17.Text = Prefix .. "exe <command>"
  605. cmd17.ZIndex = 0
  606.  
  607. local cmd18 = Instance.new("TextLabel")
  608. cmd18.Parent = scrollingFrame
  609. cmd18.Position = UDim2.new(0, 0, 0, 375)
  610. cmd18.Size = UDim2.new(0, 500, 0, 25)
  611. cmd18.BackgroundColor3= Color3.new(0,0,0)
  612. cmd18.TextColor3 = Color3.new(170,0,0)
  613. cmd18.FontSize = 5
  614. cmd18.Text = Prefix .. "music <id> or <song (from muslist)>"
  615. cmd18.ZIndex = 0
  616.  
  617. local cmd19 = Instance.new("TextLabel")
  618. cmd19.Parent = scrollingFrame
  619. cmd19.Position = UDim2.new(0, 0, 0, 375)
  620. cmd19.Size = UDim2.new(0, 500, 0, 25)
  621. cmd19.BackgroundColor3= Color3.new(0,0,0)
  622. cmd19.TextColor3 = Color3.new(170,0,0)
  623. cmd19.FontSize = 5
  624. cmd19.Text = Prefix .. "pri"
  625. cmd19.ZIndex = 0
  626.  
  627. local cmd20 = Instance.new("TextLabel")
  628. cmd20.Parent = scrollingFrame
  629. cmd20.Position = UDim2.new(0, 0, 0, 400)
  630. cmd20.Size = UDim2.new(0, 500, 0, 25)
  631. cmd20.BackgroundColor3= Color3.new(0,0,0)
  632. cmd20.TextColor3 = Color3.new(170,0,0)
  633. cmd20.FontSize = 5
  634. cmd20.Text = Prefix .. "cmds"
  635. cmd20.ZIndex = 0
  636.  
  637. local cmd21 = Instance.new("TextLabel")
  638. cmd21.Parent = scrollingFrame
  639. cmd21.Position = UDim2.new(0, 0, 0, 425)
  640. cmd21.Size = UDim2.new(0, 500, 0, 25)
  641. cmd21.BackgroundColor3= Color3.new(0,0,0)
  642. cmd21.TextColor3 = Color3.new(170,0,0)
  643. cmd21.FontSize = 5
  644. cmd21.Text = Prefix .. "sit <plr>"
  645. cmd21.ZIndex = 0
  646.  
  647. local cmd22 = Instance.new("TextLabel")
  648. cmd22.Parent = scrollingFrame
  649. cmd22.Position = UDim2.new(0, 0, 0, 450)
  650. cmd22.Size = UDim2.new(0, 500, 0, 25)
  651. cmd22.BackgroundColor3= Color3.new(0,0,0)
  652. cmd22.TextColor3 = Color3.new(170,0,0)
  653. cmd22.FontSize = 5
  654. cmd22.Text = Prefix .. "jump <plr>"
  655. cmd22.ZIndex = 0
  656.  
  657. local cmd23 = Instance.new("TextLabel")
  658. cmd23.Parent = scrollingFrame
  659. cmd23.Position = UDim2.new(0, 0, 0, 475)
  660. cmd23.Size = UDim2.new(0, 500, 0, 25)
  661. cmd23.BackgroundColor3= Color3.new(0,0,0)
  662. cmd23.TextColor3 = Color3.new(170,0,0)
  663. cmd23.FontSize = 5
  664. cmd23.Text = Prefix .. "bruh <plr>"
  665. cmd23.ZIndex = 0
  666.  
  667. local cmd24 = Instance.new("TextLabel")
  668. cmd24.Parent = scrollingFrame
  669. cmd24.Position = UDim2.new(0, 0, 0, 500)
  670. cmd24.Size = UDim2.new(0, 500, 0, 25)
  671. cmd24.BackgroundColor3= Color3.new(0,0,0)
  672. cmd24.TextColor3 = Color3.new(170,0,0)
  673. cmd24.FontSize = 5
  674. cmd24.Text = Prefix .. "ws <speed>"
  675. cmd24.ZIndex = 0
  676.  
  677. local cmd25 = Instance.new("TextLabel")
  678. cmd25.Parent = scrollingFrame
  679. cmd25.Position = UDim2.new(0, 0, 0, 525)
  680. cmd25.Size = UDim2.new(0, 500, 0, 25)
  681. cmd25.BackgroundColor3= Color3.new(0,0,0)
  682. cmd25.TextColor3 = Color3.new(170,0,0)
  683. cmd25.FontSize = 5
  684. cmd25.Text = Prefix .. "gear <id>"
  685. cmd25.ZIndex = 0
  686.  
  687. local cmd26 = Instance.new("TextLabel")
  688. cmd26.Parent = scrollingFrame
  689. cmd26.Position = UDim2.new(0, 0, 0, 550)
  690. cmd26.Size = UDim2.new(0, 500, 0, 25)
  691. cmd26.BackgroundColor3= Color3.new(0,0,0)
  692. cmd26.TextColor3 = Color3.new(170,0,0)
  693. cmd26.FontSize = 5
  694. cmd26.Text = Prefix .. "tp <plr>"
  695. cmd26.ZIndex = 0
  696.  
  697. local cmd27 = Instance.new("TextLabel")
  698. cmd27.Parent = scrollingFrame
  699. cmd27.Position = UDim2.new(0, 0, 0, 575)
  700. cmd27.Size = UDim2.new(0, 500, 0, 25)
  701. cmd27.BackgroundColor3= Color3.new(0,0,0)
  702. cmd27.TextColor3 = Color3.new(170,0,0)
  703. cmd27.FontSize = 5
  704. cmd27.Text = Prefix .. "btools <plr>"
  705. cmd27.ZIndex = 0
  706.  
  707. local cmd28 = Instance.new("TextLabel")
  708. cmd28.Parent = scrollingFrame
  709. cmd28.Position = UDim2.new(0, 0, 0, 600)
  710. cmd28.Size = UDim2.new(0, 500, 0, 25)
  711. cmd28.BackgroundColor3= Color3.new(0,0,0)
  712. cmd28.TextColor3 = Color3.new(170,0,0)
  713. cmd28.FontSize = 5
  714. cmd28.Text = Prefix .. "pitch <n>"
  715. cmd28.ZIndex = 0
  716.  
  717. local cmd29 = Instance.new("TextLabel")
  718. cmd29.Parent = scrollingFrame
  719. cmd29.Position = UDim2.new(0, 0, 0, 625)
  720. cmd29.Size = UDim2.new(0, 500, 0, 25)
  721. cmd29.BackgroundColor3= Color3.new(0,0,0)
  722. cmd29.TextColor3 = Color3.new(170,0,0)
  723. cmd29.FontSize = 5
  724. cmd29.Text = Prefix .. "volume <n>"
  725. cmd29.ZIndex = 0
  726. end
  727. end)
  728.  
  729.  
  730.  
  731. Admins.Chatted:connect(function(msg)
  732. if msg:lower() == Prefix .. "console show" then
  733. sg = Instance.new('ScreenGui', Admins.PlayerGui)
  734. fm = Instance.new('Frame', sg)
  735. fm.Selectable = true
  736. fm.Size = UDim2.new(0,400,0,300)
  737. fm.BackgroundColor3 = Color3.new(0,0,0)
  738. fm.BorderSizePixel = 4
  739. fm.BorderColor3 = Color3.new(255,255,255)
  740. fm.Position = UDim2.new(0.395,0,0.3,0)
  741. txt = Instance.new('TextLabel', fm)
  742. txt.Size = UDim2.new(0,400,0,25)
  743. txt.Text = "~Game Console~"
  744. txt.FontSize = Enum.FontSize.Size18
  745. txt.TextColor3 = Color3.new(255,255,255)
  746. txt.BackgroundColor3 = Color3.new(0,0,0)
  747. txt.BorderSizePixel = 4
  748. txt.BorderColor3 = Color3.new(255,255,255)
  749. box = Instance.new('TextBox', fm)
  750. box.Position = UDim2.new(0,50,0,50)
  751. box.Size = UDim2.new(0,300,0,200)
  752. box.BackgroundColor3 = Color3.new(0,0,0)
  753. box.BorderSizePixel = 4
  754. box.BorderColor3 = Color3.new(255,255,255)
  755. box.TextColor3 = Color3.new(255,255,255)
  756. box.ClearTextOnFocus = false
  757. box.MultiLine = true
  758. box.TextXAlignment = 'Left'
  759. box.TextWrapped = true
  760. box.TextYAlignment = 'Top'
  761. box.Text = 'Click clear to clear the text or remove me by holding backspace!'
  762. load1 = Instance.new('TextButton', box)
  763. load1.Size = UDim2.new(0,200,0,25)
  764. load1.Position = UDim2.new(0,50,0,213)
  765. load1.BackgroundColor3 = Color3.new(0, 170, 0)
  766. load1.TextColor3 = Color3.new(0,0,0)
  767. load1.BorderSizePixel = 4
  768. load1.BorderColor3 = Color3.new(255,255,255)
  769. load1.Text = "Execute!"
  770. load1.MouseButton1Click:connect(function()
  771. loadstring(box.Text)()
  772. end)
  773. clr = Instance.new('TextButton', box)
  774. clr.Size = UDim2.new(0,50,0,25)
  775. clr.Position = UDim2.new(0,275,0,213)
  776. clr.BackgroundColor3 = Color3.new(170,0,0)
  777. clr.TextColor3 = Color3.new(0,0,0)
  778. clr.BorderSizePixel = 4
  779. clr.BorderColor3 = Color3.new(255,255,255)
  780. clr.Text = "Clear!"
  781. clr.MouseButton1Click:connect(function()
  782. box.Text = ''
  783. box:CaptureFocus()
  784. end)
  785. end
  786. end)
  787.  
  788. Admins.Chatted:connect(function(msg)
  789. if msg:lower() == Prefix .. "console hide" then
  790. fm:Destroy()
  791. end
  792. end)
  793.  
  794. Admins.Chatted:connect(function(msg)
  795. if msg:lower():sub(1, 5) == Prefix .. "kill" then
  796. for index, player in pairs(Players:GetPlayers()) do
  797. player.Name:lower():sub(1, #msg:sub(7))
  798. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  799. pcall(function()
  800. player.Character.Humanoid.Health = 0
  801. end)
  802. end
  803. end
  804. end
  805. end)
  806.  
  807. Admins.Chatted:connect(function(msg)
  808. if msg:lower() == Prefix .. "kill me" then
  809. Admins.Character.Humanoid.Health = 0
  810. end
  811. end)
  812.  
  813. Admins.Chatted:connect(function(msg)
  814. if msg:lower() == Prefix .. "kill all" then
  815. for i,v in pairs(game.Players:children()) do
  816. v.Character.Humanoid.Health = 0
  817. end
  818. end
  819. end)
  820.  
  821.  
  822. Admins.Chatted:connect(function(msg)
  823. if msg:lower():sub(1, 5) == Prefix .. "kick" then
  824. for index, player in pairs(Players:GetPlayers()) do
  825. player.Name:lower():sub(1, #msg:sub(7))
  826. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  827. pcall(function()
  828. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(player,{string.rep("getkickedbro?",2e5+5)})
  829. end)
  830. end
  831. end
  832. end
  833. end)
  834.  
  835. Admins.Chatted:connect(function(msg)
  836. if msg:lower() == Prefix .. "kick me" then
  837. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(Admins,{string.rep("getkickedbro?",2e5+5)})
  838. end
  839. end)
  840.  
  841. Admins.Chatted:connect(function(msg)
  842. if msg:lower() == Prefix .. "kick all" then
  843. for i,v in pairs(game.Players:children()) do
  844. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("getkickedbro?",2e5+5)})
  845. end
  846. end
  847. end)
  848.  
  849.  
  850. Admins.Chatted:connect(function(msg)
  851. if msg:lower():sub(1,4) == Prefix .. "ban" then
  852. for index, player1 in pairs(Players:GetPlayers()) do
  853. player1.Name:lower():sub(1, #msg:sub(6))
  854. if player1.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
  855. pcall(function()
  856. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(player1,{string.rep("getkickedbro?",2e5+5)})
  857. if game.Players:FindFirstChild(player1.Name) then
  858. ban=Instance.new('StringValue',folder)
  859. ban.Name = player1.Name
  860. ban.Value = player1.Name
  861. end
  862. end)
  863. end
  864. end
  865. end
  866. end)
  867.  
  868.  
  869. Admins.Chatted:connect(function(msg)
  870. if msg:lower() == Prefix .. "ban me" then
  871. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(Admins,{string.rep("getkickedbro?",2e5+5)})
  872. if game.Players:FindFirstChild(Admins.Name) then
  873. ban=Instance.new('StringValue',folder)
  874. ban.Name = Admins.Name
  875. ban.Value = Admins.Name
  876. end
  877. end
  878. end)
  879.  
  880. Admins.Chatted:connect(function(msg)
  881. if msg:lower() == Prefix .. "ban all" then
  882. for i,v in pairs(game.Players:children()) do
  883. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("getkickedbro?",2e5+5)})
  884. if game.Players:FindFirstChild(v.Name) then
  885. ban=Instance.new('StringValue',folder)
  886. ban.Name = v.Name
  887. ban.Value = v.Name
  888. end
  889. end
  890. end
  891. end)
  892.  
  893.  
  894.  
  895. Admins.Chatted:connect(function(msg)
  896. if msg:lower():sub(1, 8) == Prefix .. "explode" then
  897. for index, player in pairs(Players:GetPlayers()) do
  898. player.Name:lower():sub(1, #msg:sub(10))
  899. if player.Name:lower():sub(1, #msg:sub(10)) == msg:sub(10):lower() then
  900. pcall(function()
  901. ex = Instance.new("Explosion", game.Workspace)
  902. ex.Position = player.Character.Torso.Position
  903. end)
  904. end
  905. end
  906. end
  907. end)
  908.  
  909. Admins.Chatted:connect(function(msg)
  910. if msg:lower() == Prefix .. "explode me" then
  911. ex1 = Instance.new("Explosion", game.Workspace)
  912. ex1.Position = Admins.Character.Torso.Position
  913. end
  914. end)
  915.  
  916. Admins.Chatted:connect(function(msg)
  917. if msg:lower() == Prefix .. "explode all" then
  918. for i,v in pairs(game.Players:children()) do
  919. ex1 = Instance.new("Explosion", game.Workspace)
  920. ex1.Position = v.Character.Torso.Position
  921. end
  922. end
  923. end)
  924.  
  925.  
  926. Admins.Chatted:connect(function(msg)
  927. if msg:lower():sub(1,4) == Prefix .. "exe" then
  928. loadstring(msg:sub(5,#msg))()
  929. end
  930. end)
  931.  
  932.  
  933. Admins.Chatted:connect(function(msg)
  934. if msg:lower():sub(1, 3) == Prefix .. "ff" then
  935. for index, player in pairs(Players:GetPlayers()) do
  936. player.Name:lower():sub(1, #msg:sub(5))
  937. if player.Name:lower():sub(1, #msg:sub(5)) == msg:sub(5):lower() then
  938. pcall(function()
  939. Instance.new("ForceField", player.Character)
  940. end)
  941. else
  942. end
  943. end
  944. end
  945. end)
  946.  
  947.  
  948. Admins.Chatted:connect(function(msg)
  949. if msg:lower():sub(1, 5) == Prefix .. "unff" then
  950. for index, player in pairs(Players:GetPlayers()) do
  951. player.Name:lower():sub(1, #msg:sub(7))
  952. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  953. pcall(function()
  954. while true do
  955. player.Character.ForceField:Destroy()
  956. end
  957. end)
  958. end
  959. end
  960. end
  961. end)
  962.  
  963.  
  964. Admins.Chatted:connect(function(msg)
  965. if msg:lower() == Prefix .. "ff me" then
  966. Instance.new("ForceField", Admins.Character)
  967. end
  968. end)
  969.  
  970. Admins.Chatted:connect(function(msg)
  971. if msg:lower() == Prefix .. "unff me" then
  972. while true do
  973. Admins.Character.ForceField:Destroy()
  974. end
  975. end
  976. end)
  977.  
  978. Admins.Chatted:connect(function(msg)
  979. if msg:lower() == Prefix .. "ff all" then
  980. for i,v in pairs(game.Players:children()) do
  981. Instance.new("ForceField", v.Character)
  982. end
  983. end
  984. end)
  985.  
  986. Admins.Chatted:connect(function(msg)
  987. if msg:lower() == Prefix .. "unff all" then
  988. for i,v in pairs(game.Players:GetChildren()) do
  989. if v and v.Character then
  990. for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
  991. end
  992. end
  993. end
  994. end)
  995.  
  996.  
  997.  
  998.  
  999. Admins.Chatted:connect(function(msg)
  1000. if msg:lower():sub(1, 4) == Prefix .. "god" then
  1001. for index, player in pairs(Players:GetPlayers()) do
  1002. player.Name:lower():sub(1, #msg:sub(6))
  1003. if player.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
  1004. pcall(function()
  1005. player.Character.Humanoid.MaxHealth = math.huge
  1006. end)
  1007. else
  1008. end
  1009. end
  1010. end
  1011. end)
  1012.  
  1013.  
  1014. Admins.Chatted:connect(function(msg)
  1015. if msg:lower():sub(1, 6) == Prefix .. "ungod" then
  1016. for index, player in pairs(Players:GetPlayers()) do
  1017. player.Name:lower():sub(1, #msg:sub(8))
  1018. if player.Name:lower():sub(1, #msg:sub(8)) == msg:sub(8):lower() then
  1019. pcall(function()
  1020. player.Character.Humanoid.MaxHealth = 100
  1021. end)
  1022. end
  1023. end
  1024. end
  1025. end)
  1026.  
  1027.  
  1028. Admins.Chatted:connect(function(msg)
  1029. if msg:lower() == Prefix .. "god me" then
  1030. Admins.Character.Humanoid.MaxHealth = math.huge
  1031. end
  1032. end)
  1033.  
  1034. Admins.Chatted:connect(function(msg)
  1035. if msg:lower() == Prefix .. "ungod me" then
  1036. while true do
  1037. Admins.Character.Humanoid.MaxHealth = 100
  1038. end
  1039. end
  1040. end)
  1041.  
  1042. Admins.Chatted:connect(function(msg)
  1043. if msg:lower() == Prefix .. "god all" then
  1044. for i,v in pairs(game.Players:children()) do
  1045. v.Character.Humanoid.MaxHealth = math.huge
  1046. end
  1047. end
  1048. end)
  1049.  
  1050. Admins.Chatted:connect(function(msg)
  1051. if msg:lower() == Prefix .. "ungod all" then
  1052. for i,v in pairs(game.Players:GetChildren()) do
  1053. v.Character.Humanoid.MaxHealth = 100
  1054. end
  1055. end
  1056. end)
  1057.  
  1058.  
  1059.  
  1060.  
  1061. Admins.Chatted:connect(function(msg)
  1062. if msg:lower():sub(1, 8) == Prefix .. "respawn" then
  1063. for index, player in pairs(Players:GetPlayers()) do
  1064. player.Name:lower():sub(1, #msg:sub(10))
  1065. if player.Name:lower():sub(1, #msg:sub(10)) == msg:sub(10):lower() then
  1066. pcall(function()
  1067. player:LoadCharacter()
  1068. end)
  1069. end
  1070. end
  1071. end
  1072. end)
  1073.  
  1074. Admins.Chatted:connect(function(msg)
  1075. if msg:lower() == Prefix .. "respawn me" then
  1076. Admins:LoadCharacter()
  1077. end
  1078. end)
  1079.  
  1080. Admins.Chatted:connect(function(msg)
  1081. if msg:lower() == Prefix .. "respawn all" then
  1082. for i,v in pairs(game.Players:children()) do
  1083. v:LoadCharacter()
  1084. end
  1085. end
  1086. end)
  1087.  
  1088.  
  1089. Admins.Chatted:connect(function(msg)
  1090. if msg:lower():sub(1, 4) == Prefix .. "lag" then
  1091. for index, player in pairs(Players:GetPlayers()) do
  1092. player.Name:lower():sub(1, #msg:sub(6))
  1093. if player.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
  1094. pcall(function()
  1095. for i = 1,10000 do
  1096. if player and player:findFirstChild("Backpack") then
  1097. local t1 = Instance.new("HopperBin", player.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1098. local t2 = Instance.new("HopperBin", player.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1099. local t3 = Instance.new("HopperBin", player.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1100. local t4= Instance.new("HopperBin", player.Backpack) t4.Name = "Resize"
  1101. end
  1102. end
  1103. end)
  1104. end
  1105. end
  1106. end
  1107. end)
  1108.  
  1109. Admins.Chatted:connect(function(msg)
  1110. if msg:lower() == Prefix .. "lag me" then
  1111. for i = 1,1000000 do
  1112. if Admins and Admins:findFirstChild("Backpack") then
  1113. local t1 = Instance.new("HopperBin", Admins.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1114. local t2 = Instance.new("HopperBin", Admins.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1115. local t3 = Instance.new("HopperBin", Admins.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1116. local t4= Instance.new("HopperBin", Admins.Backpack) t4.Name = "Resize"
  1117. end
  1118. end
  1119. end
  1120. end)
  1121.  
  1122. Admins.Chatted:connect(function(msg)
  1123. if msg:lower() == Prefix .. "lag all" then
  1124. for i,v in pairs(game.Players:children()) do
  1125. for i = 1,10000 do
  1126. if v and v:findFirstChild("Backpack") then
  1127. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1128. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1129. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1130. local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  1131. end
  1132. end
  1133. end
  1134. end
  1135. end)
  1136.  
  1137.  
  1138. Admins.Chatted:connect(function(msg)
  1139. if msg:lower():sub(1, 12) == Prefix .. "removetools" then
  1140. for index, player in pairs(Players:GetPlayers()) do
  1141. player.Name:lower():sub(1, #msg:sub(14))
  1142. if player.Name:lower():sub(1, #msg:sub(14)) == msg:sub(14):lower() then
  1143. pcall(function()
  1144. if Admins and Admins.Character and Admins:findFirstChild("Backpack") then
  1145. for a, tool in pairs(player.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1146. for a, tool in pairs(player.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1147. end
  1148. end)
  1149. end
  1150. end
  1151. end
  1152. end)
  1153.  
  1154. Admins.Chatted:connect(function(msg)
  1155. if msg:lower() == Prefix .. "removetools me" then
  1156. if Admins and Admins.Character and Admins:findFirstChild("Backpack") then
  1157. for a, tool in pairs(Admins.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1158. for a, tool in pairs(Admins.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1159. end
  1160. end
  1161. end)
  1162.  
  1163. Admins.Chatted:connect(function(msg)
  1164. if msg:lower() == Prefix .. "removetools all" then
  1165. for i,v in pairs(game.Players:children()) do
  1166. if v and v.Character and v:findFirstChild("Backpack") then
  1167. for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1168. for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1169. end
  1170. end
  1171. end
  1172. end)
  1173.  
  1174. Admins.Chatted:connect(function(msg)
  1175. if msg:lower():sub(1, 4) == Prefix .. "sit" then
  1176. for index, player in pairs(Players:GetPlayers()) do
  1177. player.Name:lower():sub(1, #msg:sub(6))
  1178. if player.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
  1179. pcall(function()
  1180. player.Character.Humanoid.Sit = true
  1181. end)
  1182. end
  1183. end
  1184. end
  1185. end)
  1186.  
  1187. Admins.Chatted:connect(function(msg)
  1188. if msg:lower() == Prefix .. "sit me" then
  1189. Admins.Character.Humanoid.Sit = true
  1190. end
  1191. end)
  1192.  
  1193. Admins.Chatted:connect(function(msg)
  1194. if msg:lower() == Prefix .. "sit all" then
  1195. for i,v in pairs(game.Players:children()) do
  1196. v.Character.Humanoid.Sit = true
  1197. end
  1198. end
  1199. end)
  1200.  
  1201. Admins.Chatted:connect(function(msg)
  1202. if msg:lower():sub(1, 5) == Prefix .. "jump" then
  1203. for index, player in pairs(Players:GetPlayers()) do
  1204. player.Name:lower():sub(1, #msg:sub(7))
  1205. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  1206. pcall(function()
  1207. player.Character.Humanoid.Jump = true
  1208. end)
  1209. end
  1210. end
  1211. end
  1212. end)
  1213.  
  1214. Admins.Chatted:connect(function(msg)
  1215. if msg:lower() == Prefix .. "jump me" then
  1216. Admins.Character.Humanoid.Jump = true
  1217. end
  1218. end)
  1219.  
  1220. Admins.Chatted:connect(function(msg)
  1221. if msg:lower() == Prefix .. "jump all" then
  1222. for i,v in pairs(game.Players:children()) do
  1223. v.Character.Humanoid.Jump = true
  1224. end
  1225. end
  1226. end)
  1227.  
  1228. Admins.Chatted:connect(function(msg)
  1229. if msg:lower():sub(1, 5) == Prefix .. "bruh" then
  1230. for index, player in pairs(Players:GetPlayers()) do
  1231. player.Name:lower():sub(1, #msg:sub(7))
  1232. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  1233. pcall(function()
  1234. pp1 = Instance.new("Sound", player.Character.Torso)
  1235. pp1.SoundId = "http://www.roblox.com/asset/?id=170040190"
  1236. pp1.Volume = 100
  1237. pp1.Pitch = 1
  1238. pp1.Looped = false
  1239. pp1:Play()
  1240. wait(0.9)
  1241. player.Character.Humanoid.PlatformStand = true
  1242. end)
  1243. end
  1244. end
  1245. end
  1246. end)
  1247.  
  1248. Admins.Chatted:connect(function(msg)
  1249. if msg:lower() == Prefix .. "bruh me" then
  1250. pp1 = Instance.new("Sound", Admins.Character.Torso)
  1251. pp1.SoundId = "http://www.roblox.com/asset/?id=170040190"
  1252. pp1.Volume = 100
  1253. pp1.Pitch = 1
  1254. pp1.Looped = false
  1255. pp1:Play()
  1256. wait(0.9)
  1257. Admins.Character.Humanoid.PlatformStand = true
  1258. end
  1259. end)
  1260.  
  1261. Admins.Chatted:connect(function(msg)
  1262. if msg:lower() == Prefix .. "bruh all" then
  1263. for i,v in pairs(game.Players:children()) do
  1264. pp1 = Instance.new("Sound", v.Character.Torso)
  1265. pp1.SoundId = "http://www.roblox.com/asset/?id=170040190"
  1266. pp1.Volume = 100
  1267. pp1.Pitch = 1
  1268. pp1.Looped = false
  1269. pp1:Play()
  1270. wait(0.9)
  1271. v.Character.Humanoid.PlatformStand = true
  1272. end
  1273. end
  1274. end)
  1275.  
  1276.  
  1277. Admins.Chatted:connect(function(msg)
  1278. if msg:lower():sub(1,3) == Prefix .. "ws" then
  1279. Admins.Character.Humanoid.WalkSpeed = msg:sub(4,#msg)
  1280. end
  1281. end)
  1282.  
  1283.  
  1284. Admins.Chatted:connect(function(msg)
  1285. if msg:lower():sub(1,5) == Prefix .. "gear" then
  1286. game:service'InsertService':LoadAsset(tonumber(msg:sub(6,#msg))):children()[1].Parent = Admins.Backpack
  1287. end
  1288. end)
  1289.  
  1290. Admins.Chatted:connect(function(msg)
  1291. if msg:lower():sub(1, 3) == Prefix .. "tp" then
  1292. for index, player in pairs(Players:GetPlayers()) do
  1293. player.Name:lower():sub(1, #msg:sub(5))
  1294. if player.Name:lower():sub(1, #msg:sub(5)) == msg:sub(5):lower() then
  1295. pcall(function()
  1296. Admins.Character.Torso.CFrame = player.Character.Torso.CFrame
  1297. end)
  1298. end
  1299. end
  1300. end
  1301. end)
  1302.  
  1303.  
  1304.  
  1305. Admins.Chatted:connect(function(msg)
  1306. if msg:lower():sub(1,6) == "!music" then
  1307. findsong = 'BadLukeeSoundsz'
  1308. if workspace.Terrain:FindFirstChild(findsong) then
  1309. game.Debris:AddItem(workspace.Terrain[findsong],0)
  1310. end
  1311. sd=Instance.new('Sound',workspace.Terrain)
  1312. sd.SoundId = "http://www.roblox.com/asset/?id="..msg:sub(7,#msg)
  1313. sd.Volume = 10
  1314. sd.Name = 'BadLukeeSoundsz'
  1315. sd.Pitch = 1
  1316. sd.Looped = true
  1317. sd:play()
  1318.  
  1319. if string.find(msg:lower():sub(7,#msg),'watcha') then
  1320. sd.SoundId = "http://www.roblox.com/asset/?id=177681012"
  1321. end
  1322.  
  1323. if string.find(msg:lower():sub(7,#msg),'lean') then
  1324. sd.SoundId = "http://www.roblox.com/asset/?id=328474897"
  1325. end
  1326.  
  1327. if string.find(msg:lower():sub(7,#msg),'baby') then
  1328. sd.SoundId = "http://www.roblox.com/asset/?id=130841252"
  1329. end
  1330.  
  1331. if string.find(msg:lower():sub(7,#msg),'moonman') then
  1332. sd.SoundId = "http://www.roblox.com/asset/?id=340924386"
  1333. end
  1334.  
  1335. if string.find(msg:lower():sub(7,#msg),'hello') then
  1336. sd.SoundId = "http://www.roblox.com/asset/?id=313694441"
  1337. end
  1338.  
  1339. if string.find(msg:lower():sub(7,#msg),'waves') then
  1340. sd.SoundId = "http://www.roblox.com/asset/?id=253545802"
  1341. end
  1342.  
  1343. if string.find(msg:lower():sub(7,#msg),'cake') then
  1344. sd.SoundId = "http://www.roblox.com/asset/?id=313144336"
  1345. end
  1346. end
  1347.  
  1348. if msg:lower():sub(1,6) == Prefix .. "pitch" then
  1349.         sd.Pitch = msg:sub(7,#msg)
  1350. end
  1351.  
  1352. if msg:lower():sub(1,7) == Prefix .. "volume" then
  1353.         sd.Volume = msg:sub(8,#msg)
  1354. end
  1355. end)
  1356.  
  1357. Admins.Chatted:connect(function(msg)
  1358. if msg:lower() == Prefix .. "pri" then
  1359. game.Players.PlayerAdded:connect(function(player)
  1360. repeat until player.Character wait()
  1361. player:Destroy()
  1362. end)
  1363. end
  1364. end)
  1365.  
  1366. Admins.Chatted:connect(function(msg)
  1367. if msg:lower():sub(1, 7) == Prefix .. "btools" then
  1368. for index, player in pairs(Players:GetPlayers()) do
  1369. player.Name:lower():sub(1, #msg:sub(9))
  1370. if player.Name:lower():sub(1, #msg:sub(9)) == msg:sub(9):lower() then
  1371. pcall(function()
  1372. if player and player:findFirstChild("Backpack") then
  1373. local t1 = Instance.new("HopperBin", player.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1374. local t2 = Instance.new("HopperBin", player.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1375. local t3 = Instance.new("HopperBin", player.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1376. local t4= Instance.new("HopperBin", player.Backpack) t4.Name = "Resize"
  1377. end
  1378. end)
  1379. end
  1380. end
  1381. end
  1382. end)
  1383.  
  1384. Admins.Chatted:connect(function(msg)
  1385. if msg:lower() == Prefix .. "btools me" then
  1386. if Admins and Admins:findFirstChild("Backpack") then
  1387. local t1 = Instance.new("HopperBin", Admins.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1388. local t2 = Instance.new("HopperBin", Admins.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1389. local t3 = Instance.new("HopperBin", Admins.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1390. local t4= Instance.new("HopperBin", Admins.Backpack) t4.Name = "Resize"
  1391. end
  1392. end
  1393. end)
  1394.  
  1395. Admins.Chatted:connect(function(msg)
  1396. if msg:lower() == Prefix .. "btools all" then
  1397. for i,v in pairs(game.Players:children()) do
  1398. if v and v:findFirstChild("Backpack") then
  1399. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1400. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1401. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1402. local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  1403. end
  1404. end
  1405. end
  1406. end)
  1407.  
  1408. function Orb()
  1409. admin = Admins.Name
  1410. orbnd=Instance.new('Model',workspace)
  1411. Instance.new('Humanoid',orbnd)
  1412. p = Instance.new("Part", orbnd)
  1413. p.BrickColor = BrickColor.new("Really black")
  1414. p.Size = Vector3.new(1,1,1)
  1415. p.Shape = "Ball"
  1416. p.Material = Enum.Material.Neon
  1417. p.Anchored = true
  1418. p.Name = "BsOrb"
  1419. p.Locked = true
  1420. p.CanCollide = false
  1421. end
  1422.  
  1423. Orb()
  1424.  
  1425. game:GetService('RunService').Stepped:connect(function ()
  1426. if not workspace:FindFirstChild(Admins.Name) then
  1427. Orb()
  1428. end
  1429. end)
  1430.  
  1431. game:GetService('RunService').Stepped:connect(function()
  1432. if not orbnd:FindFirstChild("BsOrb") then
  1433. Orb()
  1434. end
  1435. end)
  1436.  
  1437. 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)
  1438. for i = 1,math.huge,Speed do wait()
  1439. if workspace:FindFirstChild(Admins.Name) then
  1440. p.CFrame = CFrame.new(Admins.Character.Torso.Position) * CFrame.fromEulerAnglesXYZ(math.sin(i),math.abs(i),math.sin(i)) * CFrame.new(0,0,-6)
  1441. p2 = Instance.new("Part", p)
  1442. p2.CFrame = p.CFrame * CFrame.new(0,0,0)
  1443. p2.FormFactor = Enum.FormFactor.Custom
  1444. p2.Size = Vector3.new(0.3,0.3,0.3)
  1445. p2.BrickColor = BrickColor.new("Really black")
  1446. p2.Transparency = 0.3
  1447. p2.CanCollide = false
  1448. p2.Anchored = true
  1449. p2.Material = Enum.Material.Neon
  1450. game.Debris:AddItem(p2,1)
  1451. end
  1452. end
  1453.  
  1454. game:GetService('RunService').Stepped:connect(function()
  1455. for i,v in pairs(Players:children()) do
  1456. if v.Name==Banned and v.Name~={game.Players.LocalPlayer.Name} then
  1457. v:remove()
  1458. end            
  1459. end
  1460. end)
  1461.  
  1462. Players.PlayerAdded:connect(function(player) do
  1463. if player.Name==Banned then
  1464. banplr=Instance.new('RemoteEvent',workspace):FireClient(player,{string.rep("Gettingbanformationbro?",2e5+5)})
  1465. game.Debris:AddItem(banplr,1)
  1466. end
  1467. end
  1468. end)
  1469.         end)
  1470. --
  1471. local button = Instance.new("TextButton")
  1472.         button.Parent = acg
  1473.         button.BackgroundColor3 = blak
  1474.         button.BorderColor3 = rede
  1475.         button.BorderSizePixel = 3
  1476.         button.Name = "Kohls Admin"
  1477.         button.Position = UDim2.new(0.5,3,0,33)
  1478.         button.Size = UDim2.new(0.5,-3,0,30)
  1479.         button.ZIndex = 2
  1480.         button.Font = tef
  1481.         button.FontSize = "Size14"
  1482.         button.Text = "Rocky2u's Project Duck"
  1483.         button.TextColor3 = whit
  1484.         button.TextWrapped = true
  1485.         button.MouseButton1Down:connect(function()
  1486. --[[
  1487. ---------------------------------------------------------------
  1488. |   _____           _           _     _____             _      |
  1489. |  |  __ \         (_)         | |   |  __ \           | |     |
  1490. |  | |__) | __ ___  _  ___  ___| |_  | |  | |_   _  ___| | __  |
  1491. |  |  ___/ '__/ _ \| |/ _ \/ __| __| | |  | | | | |/ __| |/ /  |
  1492. |  | |   | | | (_) | |  __/ (__| |_  | |__| | |_| | (__|   <   |
  1493. |  |_|   |_|  \___/| |\___|\___|\__| |_____/ \__,_|\___|_|\_\  |
  1494. |                 _/ |                                         |
  1495. |                |__/                                          |
  1496. ---------------------------------------------------------------
  1497. --]]
  1498.  
  1499. -- SethMilkman --
  1500.  
  1501. --| Thanks ROBLOX, for removing GetObjects |--
  1502.  
  1503. local Player = game.Players.LocalPlayer
  1504. local Mouse = Player:GetMouse()
  1505. local char = Player.Character
  1506.  
  1507. local gPlayers = game:GetService("Players")
  1508. local admin = gPlayers.LocalPlayer.Name
  1509.  
  1510. local services={}
  1511. local cmds={}
  1512. local std={}
  1513.  
  1514. local Version = '1.0.2'
  1515.  
  1516. wait(0.1)
  1517.  
  1518. services.players=gPlayers
  1519. services.lighting=game:GetService('Lighting')
  1520. services.workspace=game:GetService('Workspace')
  1521. services.events = {}
  1522. local user = gPlayers.LocalPlayer
  1523.  
  1524. local cmdprefix=';'
  1525. local scriptprefix='\\'
  1526. local split=" "
  1527.  
  1528. --| Ban Data |--
  1529.  
  1530. local BanFolder = Instance.new("Fire", game.ContextActionService)
  1531. BanFolder.Name = "BanList"
  1532. BanFolder.RobloxLocked = true
  1533. _G.Banned = function(Ban)
  1534.        local SValue = Instance.new("StringValue", BanFolder)
  1535.        SValue.Value = Ban
  1536.        SValue.RobloxLocked = true
  1537. end
  1538.  
  1539. BannedPlayers = {
  1540.         'KrystalTeam', -- For banning me.
  1541.         'LordCrazy13', -- You're fucking annoying.
  1542.         'CRICKET69'
  1543. }
  1544. --| Tables |--
  1545. --| Admins |--
  1546. local AdminFolder = Instance.new("Folder", game.ContextActionService)
  1547. AdminFolder.Name = "AdminList"
  1548. AdminFolder.RobloxLocked = true
  1549. _G.Admin = function(Admin)
  1550.         local SValue = Instance.new("StringValue", AdminFolder)
  1551.         SValue.Value = Admin
  1552.         SValue.RobloxLocked = true
  1553. end
  1554. -- These are my friends that don't have Seven, remove then off the list if you'd like.
  1555. local admins = {
  1556.         'guestpro1',
  1557.         'THEGAMINGTRTLE',
  1558.         'JackLikesBugs',
  1559.         'JoshuaAsencio'
  1560. }
  1561. --| CMD List |--
  1562. CMDs = {
  1563.         '1. ff player',
  1564.         '2. noff player',
  1565.         '3. fire player',
  1566.         '4. nofire player',
  1567.         '5. sp player',
  1568.         '6. nosp player',
  1569.         '7. smoke player',
  1570.         '8. nosmoke player',
  1571.         '9. btools player',
  1572.         '10. god player',
  1573.         '11. sgod player',
  1574.         '12. ungod player',
  1575.         '13. heal player',
  1576.         '14. freeze player',
  1577.         '15. thaw player',
  1578.         '16. kill player',
  1579.         '17. sound',
  1580.         '18. volume',
  1581.         '19. pitch',
  1582.         '20. explode player',
  1583.         '21. invis player',
  1584.         '22. vis player',
  1585.         '23. goto player',
  1586.         '24. bring player',
  1587.         '25. tp player',
  1588.         '26. charapp player',
  1589.         '27. ws player',
  1590.         '28. time',
  1591.         '29. kick player',
  1592.         '30. ban player',
  1593.         '31. unlockws',
  1594.         '32. unanchorws',
  1595.         '33. hat player',
  1596.         '34. gear player',
  1597.         '35. pstools player',
  1598.         '36. skick player',
  1599.         '37. admin player',
  1600.         '38. unadmin player',
  1601.         '39. firstp player',
  1602.         '40. thirdp player',
  1603.         '41. chat player',
  1604.         '42. insert',
  1605.         '43. name player',
  1606.         '44. unname player',
  1607.         '45. stun player',
  1608.         '46. unstun player',
  1609.         '47. sit player',
  1610.         '48. guest player',
  1611.         '49. damage player',
  1612.         '50. view player',
  1613.         '51. unview player',
  1614.         '52. nolimbs player',
  1615.         '53. box player 1012',
  1616.         '54. nobox player',
  1617.         '55. ghost player',
  1618.         '56. sphere player',
  1619.         '57. loadmap',
  1620.         '58. sky',
  1621.         '59. ambient',
  1622.         '60. gui',
  1623.         '61. jail player',
  1624.         '62. unjail player',
  1625.         '63. shutdown',
  1626.         '64. animation player',
  1627.         '65. fix player',
  1628.         '66. creeper player',
  1629.         '67. uncreeper player',
  1630.         '68. shrek player',
  1631.         '69. unshrek player',
  1632.         '70. spam',
  1633.         '71. nospam',
  1634.         '72. control player',
  1635.         '73. nuke player',
  1636.         '74. infect player',
  1637.         '75. uninfect player',
  1638.         '76. duck player',
  1639.         '77. unduck player',
  1640.         '78. disable player',
  1641.         '79. enable player',
  1642.         '80. size player',
  1643.         '81. confuse player',
  1644.         '82. unconfuse player',
  1645.         '83. clone player',
  1646.         '84. spin player',
  1647.         '85. unspin player',
  1648.         '86. dog player',
  1649.         '87. undog player',
  1650.         '88. tptool',
  1651.         '89. loopsit player',
  1652.         '90. unloopsit player',
  1653.         '91. loopjump player',
  1654.         '92. unloopjump player',
  1655.         '93. loopheal player',
  1656.         '94. unloopheal player',
  1657.         '95. fling player',
  1658.         '96. ayylmao player',
  1659.         '97. nograv player',
  1660.         '98. grav player',
  1661.         '99. seizure player',
  1662.         '100. unseizure player',
  1663.         '101. cape 1012',
  1664.         '102. uncape',
  1665.         '103. paper player',
  1666.         '104. punish player',
  1667.         '105. unpunish player',
  1668.         '106. disco',
  1669.         '107. undisco',
  1670.         '- float player',
  1671.         '- unfloat player',
  1672.         '- noclip',
  1673.         '- clip',
  1674.         '- prefix <string>',
  1675.         '- admins',
  1676.         '- bans',
  1677.         '- cmds',
  1678.         '- version'
  1679. }
  1680.  
  1681. --| Lib |--
  1682.  
  1683. updateevents=function()
  1684.         for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
  1685.         for i,v in pairs(gPlayers:players())do
  1686.                 local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
  1687.                 services.events[#services.events+1] = ev
  1688.         end
  1689. end
  1690.  
  1691. std.inTable=function(tbl,val)
  1692.     if tbl==nil then return false end
  1693.  
  1694.     for _,v in pairs(tbl)do
  1695.         if v==val then return true end
  1696.     end
  1697.         return false
  1698. end
  1699.  
  1700. std.out=function(str)
  1701.     print(str)
  1702. end
  1703.  
  1704. std.list=function(tbl)
  1705.     local str=''
  1706.     for i,v in pairs(tbl)do
  1707.         str=str..tostring(v)
  1708.         if i~=#tbl then str=str..', ' end
  1709.     end
  1710.         return str
  1711. end
  1712.  
  1713. std.endat=function(str,val)
  1714.     local z=str:find(val)
  1715.     if z then
  1716.                 return str:sub(0,z-string.len(val)),true
  1717.     else
  1718.                 return str,false
  1719.         end
  1720. end
  1721.  
  1722. std.first=function(str) return str:sub(1,1) end
  1723.  
  1724. isAdmin=function(name)
  1725.     if name==admin then
  1726.         return true
  1727.     elseif admins[name]==true then
  1728.         return true
  1729.     end
  1730.     return false
  1731. end
  1732.  
  1733. local exec=function(str)
  1734.     spawn(function()
  1735.         local script, loaderr = loadstring(str)
  1736.         if not script then
  1737.             error(loaderr)
  1738.         else
  1739.                 script()
  1740.                 end
  1741.     end)
  1742. end
  1743.  
  1744. local findCmd=function(cmd_name)
  1745.     for i,v in pairs(cmds)do
  1746.         if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  1747.             return v
  1748.         end
  1749.     end
  1750. end
  1751.  
  1752. local getCmd=function(msg)
  1753.     local cmd,hassplit=std.endat(msg:lower(),split)
  1754.     if hassplit then
  1755.                 return {cmd,true}
  1756.         else
  1757.                 return {cmd,false}
  1758.         end
  1759. end
  1760.  
  1761. local getprfx=function(strn)
  1762.     if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  1763.     elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  1764.     end return
  1765. end
  1766.  
  1767. local getArgs=function(str)
  1768.     local args={}
  1769.     local new_arg=nil
  1770.     local hassplit=nil
  1771.     local s=str
  1772.     repeat
  1773.         new_arg,hassplit=std.endat(s:lower(),split)
  1774.         if new_arg~='' then
  1775.             args[#args+1]=new_arg
  1776.             s=s:sub(string.len(new_arg)+string.len(split)+1)
  1777.         end
  1778.     until hassplit==false
  1779.     return args
  1780. end
  1781.  
  1782. local function execCmd(str, plr)
  1783.     local s_cmd
  1784.     local a
  1785.     local cmd
  1786.     s_cmd = getCmd(str)
  1787.     cmd = findCmd(s_cmd[1])
  1788.     if cmd == nil then return end
  1789.     a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)
  1790.     local args=getArgs(a)
  1791.  
  1792.     pcall(function()
  1793.         cmd.FUNC(args, plr)
  1794.         end)
  1795. end
  1796.  
  1797. function do_exec(str,plr)
  1798.         if not isAdmin(plr.Name)then return end
  1799.        
  1800.     str=str:gsub('/e ','')
  1801.  
  1802.     local t=getprfx(str)
  1803.     if t==nil then return end
  1804.     str=str:sub(t[2])
  1805.     if t[1]=='exec' then
  1806.         exec(str)
  1807.     elseif t[1]=='cmd' then
  1808.         execCmd(str, plr)
  1809.     end
  1810. end
  1811.  
  1812. updateevents()
  1813. _G.exec_cmd = execCmd
  1814. --game.Players.LocalPlayer.Chatted:connect(doexec)
  1815.  
  1816. local _char=function(plr_name)
  1817.     for i,v in pairs(game.Players:GetChildren())do
  1818.         if v:IsA'Player'then
  1819.             if v.Name==plr_name then return v.Character end
  1820.         end
  1821.     end
  1822.     return
  1823. end
  1824.  
  1825. local _plr=function(plr_name)
  1826.     for i,v in pairs(game.Players:GetChildren())do
  1827.         if v:IsA'Player'then
  1828.             if v.Name==plr_name then return v end
  1829.         end
  1830.     end
  1831.     return
  1832. end
  1833.  
  1834. function addcmd(name,desc,alias,func)
  1835.     cmds[#cmds+1]=
  1836.     {
  1837.         NAME=name;
  1838.         DESC=desc;
  1839.         ALIAS=alias;
  1840.         FUNC=func;
  1841.     }
  1842. end
  1843.  
  1844. local function getPlayer(name)
  1845.         local nameTable = {}
  1846.         name=name:lower()
  1847.         if name == "me" then
  1848.                 nameTable[#nameTable+1]=admin
  1849.         elseif name == "others" then
  1850.                 for i,v in pairs(gPlayers:GetChildren()) do
  1851.             if v:IsA'Player'then
  1852.                 if v.Name~=admin then
  1853.                     nameTable[#nameTable+1]=v.Name
  1854.                 end
  1855.             end
  1856.                 end
  1857.         elseif name == "all" then
  1858.                 for i,v in pairs(gPlayers:GetChildren()) do
  1859.             if v:IsA'Player'then
  1860.                 nameTable[#nameTable+1]=v.Name
  1861.             end
  1862.                 end
  1863.         else
  1864.                 for i,v in pairs(gPlayers:GetChildren()) do
  1865.                         local lname = v.Name:lower()
  1866.                         local i,j = lname:find(name)
  1867.                         if i == 1 then
  1868.                                 return {v.Name}
  1869.                         end
  1870.                 end
  1871.         end
  1872.         return nameTable
  1873. end
  1874.  
  1875. --| Cape Function |--
  1876.  
  1877. local capeColor = 1012
  1878.  
  1879. function Cape(playerCaped)
  1880.  
  1881. if playerCaped.Character:FindFirstChild("Cape") ~= nil then
  1882.         playerCaped.Character.Cape:Destroy()
  1883. end
  1884.  
  1885. repeat
  1886.         wait()
  1887. until playerCaped and playerCaped.Character and playerCaped.Character:FindFirstChild("Torso")
  1888.  
  1889. local Torso = playerCaped.Character.Torso
  1890.  
  1891. local Cape = Instance.new("Part", Torso.Parent)
  1892. Cape.Name = "Cape"
  1893. Cape.Anchored = false
  1894. Cape.CanCollide = false
  1895. Cape.TopSurface = 0
  1896. Cape.BottomSurface = 0
  1897. Cape.BrickColor = BrickColor.new("" .. capeColor)
  1898. Cape.Material = "Neon"
  1899. Cape.formFactor = "Custom"
  1900. Cape.Size = Vector3.new(0.2,0.2,0.2)
  1901.  
  1902. local msh = Instance.new("BlockMesh", Cape)
  1903. msh.Scale = Vector3.new(9,17.5,.5)
  1904.  
  1905. local motor1 = Instance.new("Motor", Cape)
  1906. motor1.Part0 = Cape
  1907. motor1.Part1 = Torso
  1908.  
  1909. motor1.MaxVelocity = 1
  1910. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  1911. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  1912.  
  1913. local wave = false
  1914.  
  1915. repeat wait(1/44)
  1916. local ang = 0.2
  1917. local oldmag = Torso.Velocity.magnitude
  1918. local mv = .1
  1919.  
  1920. if wave then
  1921.         ang = ang + ((Torso.Velocity.magnitude/10) * .05) + 1
  1922.         wave = false
  1923. else
  1924.         wave = false
  1925. end
  1926. ang = ang + math.min(Torso.Velocity.magnitude/30, 1)
  1927. motor1.MaxVelocity = math.min((Torso.Velocity.magnitude/10), .04) + mv
  1928. motor1.DesiredAngle = -ang
  1929. if motor1.CurrentAngle < -.05 and motor1.DesiredAngle > -.05 then
  1930.         motor1.MaxVelocity = .04
  1931. end
  1932. repeat
  1933.         wait()
  1934. until
  1935. motor1.CurrentAngle == motor1.DesiredAngle or math.abs(Torso.Velocity.magnitude - oldmag)  >= (Torso.Velocity.magnitude/10) + 1
  1936. if Torso.Velocity.magnitude < .1 then
  1937.         wait(.1)
  1938. end
  1939. until not Cape or Cape.Parent ~= Torso.Parent
  1940. end
  1941.  
  1942. game.Lighting.Outlines = false -- Outlines are disgusting
  1943.  
  1944. --| Commands |--
  1945.  
  1946. addcmd('ff','gives ff to player',{},
  1947. function(args)
  1948.    local players = getPlayer(args[1])
  1949.    for i,v in pairs(players)do
  1950.        local pchar=_char(v)
  1951.        Instance.new("ForceField", pchar)
  1952.    end
  1953. end)
  1954.  
  1955. addcmd('noff', 'takes away ff from player',{'unff'},
  1956. function(args)
  1957.    local players = getPlayer(args[1])
  1958.    for i,v in pairs(players)do
  1959.        local pchar=_char(v)
  1960.        for j,v1 in pairs(pchar:GetChildren()) do
  1961.                         if v1:IsA("ForceField") then
  1962.                                 v1:Destroy()
  1963.                         end
  1964.                 end
  1965.    end
  1966. end)
  1967.  
  1968. addcmd('fire', 'set a player on fire',{},
  1969. function(args)
  1970.    local players = getPlayer(args[1])
  1971.    for i,v in pairs(players)do
  1972.        local pchar=_char(v)
  1973.        local Fire1 = Instance.new("Fire", pchar.Head)
  1974.        local Fire2 = Instance.new("Fire", pchar.Torso)
  1975.        local Fire3 = Instance.new("Fire", pchar["Left Arm"])
  1976.        local Fire4 = Instance.new("Fire", pchar["Right Arm"])
  1977.        local Fire5 = Instance.new("Fire", pchar["Left Leg"])
  1978.        local Fire6 = Instance.new("Fire", pchar["Right Leg"])
  1979.        Fire1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1980.        Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1981.        Fire2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1982.        Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1983.        Fire3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1984.        Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1985.        Fire4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1986.        Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1987.        Fire5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1988.        Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1989.        Fire6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1990.        Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1991.    end
  1992. end)
  1993.  
  1994. addcmd('nofire', 'extinguish a player',{'unfire'},
  1995. function(args)
  1996.    local players = getPlayer(args[1])
  1997.    for i,v in pairs(players)do
  1998.        local pchar=_char(v)
  1999.        for j,v1 in pairs(pchar.Head:GetChildren()) do
  2000.                         if v1:IsA("Fire") then
  2001.                                 v1:Destroy()
  2002.                         end
  2003. end
  2004.        for j,v1 in pairs(pchar.Torso:GetChildren()) do
  2005.                         if v1:IsA("Fire") then
  2006.                                 v1:Destroy()
  2007.                         end
  2008. end
  2009.        for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
  2010.                         if v1:IsA("Fire") then
  2011.                                 v1:Destroy()
  2012.                         end
  2013. end
  2014.        for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
  2015.                         if v1:IsA("Fire") then
  2016.                                 v1:Destroy()
  2017.                         end
  2018. end
  2019.        for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
  2020.                         if v1:IsA("Fire") then
  2021.                                 v1:Destroy()
  2022.                         end
  2023. end
  2024.        for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
  2025.                         if v1:IsA("Fire") then
  2026.                                 v1:Destroy()
  2027.                         end
  2028.                 end
  2029.    end
  2030. end)
  2031.  
  2032. addcmd('sp', 'give a player sparkles',{},
  2033. function(args)
  2034.    local players = getPlayer(args[1])
  2035.    for i,v in pairs(players)do
  2036.        local pchar=_char(v)
  2037.        local Sparkles1 = Instance.new("Sparkles", pchar.Head)
  2038.        local Sparkles2 = Instance.new("Sparkles", pchar.Torso)
  2039.        local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
  2040.        local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
  2041.        local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
  2042.        local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
  2043.        Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2044.        Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2045.        Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2046.        Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2047.        Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2048.        Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2049.    end
  2050. end)
  2051.  
  2052. addcmd('nosp', 'remove sparkles from a player',{'unsp'},
  2053. function(args)
  2054.    local players = getPlayer(args[1])
  2055.    for i,v in pairs(players)do
  2056.        local pchar=_char(v)
  2057.        for j,v1 in pairs(pchar.Head:GetChildren()) do
  2058.                         if v1:IsA("Sparkles") then
  2059.                                 v1:Destroy()
  2060.                         end
  2061. end
  2062.        for j,v1 in pairs(pchar.Torso:GetChildren()) do
  2063.                         if v1:IsA("Sparkles") then
  2064.                                 v1:Destroy()
  2065.                         end
  2066. end
  2067.        for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
  2068.                         if v1:IsA("Sparkles") then
  2069.                                 v1:Destroy()
  2070.                         end
  2071. end
  2072.        for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
  2073.                         if v1:IsA("Sparkles") then
  2074.                                 v1:Destroy()
  2075.                         end
  2076. end
  2077.        for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
  2078.                         if v1:IsA("Sparkles") then
  2079.                                 v1:Destroy()
  2080.                         end
  2081. end
  2082.        for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
  2083.                         if v1:IsA("Sparkles") then
  2084.                                 v1:Destroy()
  2085.                         end
  2086.                 end
  2087.    end
  2088. end)
  2089.  
  2090. addcmd('smoke', 'give a player smoke',{},
  2091. function(args)
  2092.    local players = getPlayer(args[1])
  2093.    for i,v in pairs(players)do
  2094.        local pchar=_char(v)
  2095.        Instance.new("Smoke", pchar.Torso)
  2096.    end
  2097. end)
  2098.  
  2099. addcmd('nosmoke', 'remove smoke from a player',{},
  2100. function(args)
  2101.    local players = getPlayer(args[1])
  2102.    for i,v in pairs(players)do
  2103.        local pchar=_char(v)
  2104.        for j,v1 in pairs(pchar.Torso:GetChildren()) do
  2105.                         if v1:IsA("Smoke") then
  2106.                                 v1:Destroy()
  2107.                         end
  2108.                 end
  2109.    end
  2110. end)
  2111.  
  2112. addcmd('btools', 'gives a player btools',{},
  2113. function(args)
  2114.    local players = getPlayer(args[1])
  2115.    if players ~= nil then
  2116.                 for i, v in pairs(players) do
  2117.                         Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
  2118.                         Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
  2119.                         Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
  2120.                 end
  2121.         end
  2122. end)
  2123.  
  2124. addcmd('god', 'gods player',{},
  2125. function(args)
  2126.    local players = getPlayer(args[1])
  2127.    for i,v in pairs(players)do
  2128.        local pchar=_char(v)
  2129.        if pchar then pchar.Humanoid.MaxHealth=math.huge end
  2130.    end
  2131. end)
  2132.  
  2133. addcmd('sgod', 'silently gods player',{},
  2134. function(args)
  2135.    local players = getPlayer(args[1])
  2136.    for i,v in pairs(players)do
  2137.        local pchar=_char(v)
  2138.        spawn(function()
  2139.            pchar.Humanoid.MaxHealth = 10000000
  2140.                         wait()
  2141.                         pchar.Humanoid.Health = 10000000
  2142.        end)
  2143.    end
  2144. end)
  2145.  
  2146. addcmd('ungod', 'removes god from a player',{},
  2147. function(args)
  2148.    local players = getPlayer(args[1])
  2149.    for i,v in pairs(players)do
  2150.        local pchar=_char(v)
  2151.        if pchar then
  2152.                         pchar.Humanoid.MaxHealth=100
  2153.                         pchar.Humanoid.Health=100
  2154.                 end
  2155.    end
  2156. end)
  2157.  
  2158. addcmd('heal', 'resets a players health',{},
  2159. function(args)
  2160.    local players = getPlayer(args[1])
  2161.    for i,v in pairs(players)do
  2162.        local pchar=_char(v)
  2163.        if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
  2164.    end
  2165. end)
  2166.  
  2167. addcmd('frz', 'freezes a player',{'freeze'},
  2168. function(args)
  2169.         local players = getPlayer(args[1])
  2170.         if players ~= nil then
  2171.                 for i, v in pairs(players) do
  2172.                         _char(v).Torso.Anchored = true
  2173.                 end
  2174.         end
  2175. end)
  2176.  
  2177. addcmd('thaw', 'freezes a player',{},
  2178. function(args)
  2179.         local players = getPlayer(args[1])
  2180.         if players ~= nil then
  2181.                 for i, v in pairs(players) do
  2182.                         _char(v).Torso.Anchored = false
  2183.                 end
  2184.         end
  2185. end)
  2186.  
  2187. addcmd('kill', 'kills a player',{},
  2188. function(args)
  2189.    local players = getPlayer(args[1])
  2190.    for i,v in pairs(players)do
  2191.        local pchar=_char(v)
  2192.        if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  2193.    end
  2194. end)
  2195.  
  2196. addcmd('sound', 'plays a sound',{},
  2197. function(args)
  2198.    local function dels(instance)
  2199.        for i,v in pairs(instance:GetChildren())do
  2200.            if v:IsA'Sound'then v:Destroy()end
  2201.            dels(v)
  2202.        end
  2203.    end
  2204.    dels(workspace)
  2205.  
  2206.    local c = args[1] or 'stop'
  2207.    if std.inTable({'stop'}, c:lower()) then return end
  2208.         local s = Instance.new("Sound", workspace)
  2209.         s.Name = "DuckSong"
  2210.         s.Looped = true
  2211.         s.SoundId = "rbxassetid://" .. c
  2212.    s.Volume = 1
  2213.         s:Play()
  2214. end)
  2215.  
  2216. addcmd('volume','changes volume of sound',{},
  2217. function(args)
  2218.         for i,v in pairs(game.Workspace:GetChildren())do
  2219.                 if v:IsA("Sound") and v.Name == "DuckSong" then
  2220.                         v.Volume = args[1]
  2221.                 end
  2222.         end
  2223. end)
  2224.  
  2225. addcmd('pitch','changes pitch of sound',{},
  2226. function(args)
  2227.         for i,v in pairs(game.Workspace:GetChildren())do
  2228.                 if v:IsA("Sound") and v.Name == "DuckSong" then
  2229.                         v.Pitch = args[1]
  2230.                 end
  2231.         end
  2232. end)
  2233.  
  2234. addcmd('explode', 'explode a player', {},
  2235. function(args)
  2236.    local players = getPlayer(args[1])
  2237.    for i, v in pairs(players) do
  2238.        local char = _char(v)
  2239.        if char:FindFirstChild("Torso") then
  2240.             Instance.new("Explosion", char).Position = char.Torso.Position                                     
  2241.        end
  2242.    end
  2243. end)
  2244.  
  2245. addcmd('invis', 'make a player invisible',{},
  2246. function(args)
  2247.    local players = getPlayer(args[1])
  2248.    for i, v in pairs(players) do
  2249.        for k, v2 in pairs(_char(v):GetChildren()) do
  2250.                         if v2.className == "Part" then
  2251.                if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  2252.            elseif v2.className == "Hat" then
  2253.                if v2:FindFirstChild("Handle") then
  2254.                    v2.Handle.Transparency = 1
  2255.                end
  2256.                         end
  2257.            if v2:FindFirstChild("face") then
  2258.                v2.face:Destroy()
  2259.                         end
  2260.                 end
  2261.    end
  2262. end)
  2263.  
  2264. addcmd('vis', 'make a player visible',{},
  2265. function(args)
  2266.    local players = getPlayer(args[1])
  2267.    for i, v in pairs(players) do
  2268.        for k, v2 in pairs(_char(v):GetChildren()) do
  2269.            if v2.className == "Part" then
  2270.                                 if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end
  2271.                                 elseif v2.className == "Hat" then
  2272.                if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  2273.            end
  2274.                         if v2:FindFirstChild("face") then
  2275.                                 v2.face:Destroy()
  2276.                         end
  2277.                 end
  2278.    end
  2279. end)
  2280.  
  2281. addcmd('goto', 'go to a player',{},
  2282. function(args)
  2283.    local players = getPlayer(args[1])
  2284.         if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  2285.                 _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  2286.         end
  2287. end)
  2288.  
  2289. addcmd('bring', 'bring a player to you',{},
  2290. function(args)
  2291.    local players = getPlayer(args[1])
  2292.         for i,v in pairs(players) do
  2293.                 if _char(v):FindFirstChild("HumanoidRootPart") then
  2294.                         _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame
  2295.                 end
  2296.         end
  2297. end)
  2298.  
  2299. addcmd('tp', 'teleport player 1 to player 2',{},
  2300. function(args)
  2301.    local players1=getPlayer(args[1])
  2302.    local players2=getPlayer(args[2])
  2303.    if not players2[1] then return end
  2304.    for i,v in pairs(players1) do
  2305.                 if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  2306.                         _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  2307.                 end            
  2308.         end
  2309. end)
  2310.  
  2311. addcmd('charapp', 'change a players appearance',{'char'},
  2312. function(args)
  2313.    local players = getPlayer(args[1])
  2314.    if not args[1]or not args[2]then return end
  2315.    local id=args[2]
  2316.         if players ~= nil then
  2317.                 for i,v in pairs(players) do
  2318.                         gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..id
  2319.                         if _char(v):FindFirstChild("Head") then
  2320.                                 _char(v).Head:Destroy()
  2321.                         end
  2322.                 end
  2323.         end
  2324. end)
  2325.  
  2326. addcmd('ws', 'change a players walkspeed',{},
  2327. function(args)
  2328.    local players = getPlayer(args[1])
  2329.    if not args[1]or not args[2]then return end
  2330.    local num=args[2]
  2331.         for i,v in pairs(players) do
  2332.                 if _char(v):FindFirstChild("Humanoid") then
  2333.                         _char(v).Humanoid.WalkSpeed=tonumber(num)
  2334.                 end
  2335.         end
  2336. end)
  2337.  
  2338. addcmd('time', 'change the time of day',{},
  2339. function(args)
  2340.    if not args[1]then return end
  2341.    local time_=tonumber(args[1])
  2342.    
  2343.    game.Lighting:SetMinutesAfterMidnight(time_*60)
  2344. end)
  2345.  
  2346. addcmd('kick', 'kick a player',{},
  2347. function(args)
  2348.    local players = getPlayer(args[1])
  2349.         for i,v in pairs(players) do
  2350.                 Notify('Kicked ' .. gPlayers[v].Name)
  2351.                 gPlayers[v]:Destroy()
  2352.         end
  2353. end)
  2354.  
  2355. addcmd('ban', 'ban a player',{},
  2356. function(args)
  2357.    local players=getPlayer(args[1])
  2358.        for i,v in pairs(players) do
  2359.        _G.Banned(gPlayers[v].Name)
  2360.        gPlayers[v]:Destroy()
  2361.    end
  2362. end)
  2363.  
  2364. addcmd('unlockws', 'unlock the whole workspace',{'unlock'},
  2365. function(args)
  2366.    local function unlock(instance)
  2367.        for i,v in pairs(instance:GetChildren()) do
  2368.            if v:IsA("BasePart") then
  2369.                v.Locked = false
  2370.            end
  2371.            unlock(v)
  2372.        end
  2373.    end
  2374.    unlock(workspace)
  2375. end)
  2376.  
  2377. addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
  2378. function(args)
  2379.   local function unanchor(instance)
  2380.        for i,v in pairs(instance:GetChildren()) do
  2381.            if v:IsA("BasePart") then
  2382.                v.Anchored=false
  2383.            end
  2384.            unanchor(v)
  2385.        end
  2386.    end
  2387.    unanchor(workspace)
  2388. end)
  2389.  
  2390. addcmd('hat', 'give player a hat ingame',{},
  2391. function(args)
  2392.    if not args[1] or not args[2] then return end
  2393.         local players = getPlayer(args[1])
  2394.    local id=args[2]
  2395.         local hat = game:GetService("InsertService"):LoadAsset(id)
  2396.         if hat:IsA("Hat") then
  2397.                 for i,v in pairs(players) do
  2398.                         hat:clone().Parent = _char(v)
  2399.                 end            
  2400.         end
  2401.         hat:Destroy()
  2402. end)
  2403.  
  2404. addcmd('gear', 'give player a gear ingame',{},
  2405. function(args)
  2406.         spawn(function()
  2407.             if not args[1] or not args[2] then return end
  2408.                 local players = getPlayer(args[1])
  2409.             local id=args[2]
  2410.                 local model = game:GetService("InsertService"):LoadAsset(id)
  2411.                 for i,v in pairs(players) do
  2412.                         for _,j in pairs(model:GetChildren()) do
  2413.                                 if j:IsA("Tool") then
  2414.                                         j:Clone().Parent = gPlayers[v].Backpack
  2415.                                 end
  2416.                         end
  2417.                 end
  2418.                 model:Destroy()
  2419.         end)
  2420. end)
  2421.  
  2422. addcmd('pstools', 'give player personal server tools',{},
  2423. function(args)
  2424.         local players = getPlayer(args[1])
  2425.         for i,v in pairs(players) do
  2426.                 gPlayers[v].PersonalServerRank = 240
  2427.         end
  2428. end)
  2429.  
  2430. addcmd('skick','kicks a player by shutting them down, takes a few seconds',{},
  2431. function(args)
  2432.         local players = getPlayer(args[1])
  2433.         for i,v in pairs(players) do
  2434.                 spawn(function()
  2435.                         gPlayers[v].PersonalServerRank = 240
  2436.                         gPlayers[v].Backpack:WaitForChild("ClassicTool")
  2437.                         gPlayers[v].PersonalServerRank = 0
  2438.                 end)
  2439.         end
  2440. end)
  2441.  
  2442. addcmd('admin', 'gives a player admin',{},
  2443. function(args)
  2444.    if not args[1]then return end
  2445.    local players = getPlayer(args[1])
  2446.    table.foreach(players,function(k,v)
  2447.        admins[v]=true
  2448.        Notify(gPlayers[v].Name .. ' has been given Admin.')
  2449.    end)
  2450.         for i,v in pairs(players) do
  2451.                 local pchar = gPlayers[v].Character
  2452.                 game.Chat:Chat(pchar.Head, "You've been given admin.")
  2453.                 wait(2.5)
  2454.                 game.Chat:Chat(pchar.Head, 'Prefix is "' .. cmdprefix .. '"')
  2455.                 wait(2.5)
  2456.                 game.Chat:Chat(pchar.Head, "[NO] ;fire me [YES] ;fire YourName")
  2457.                 wait(2.5)
  2458.                 game.Chat:Chat(pchar.Head, "You may now use commands.")
  2459.         end
  2460. end)
  2461.  
  2462. addcmd('unadmin', 'removes a players admin',{},
  2463. function(args)
  2464.    if not args[1] then return end
  2465.    local players = getPlayer(args[1])
  2466.    table.foreach(players,function(k,v)
  2467.        admins[v]=nil
  2468.        Notify(gPlayers[v].Name .. ' no longer has Admin.')
  2469.    end)
  2470. end)
  2471.  
  2472. addcmd('firstp', 'forces player to go into first person',{},
  2473. function(args)
  2474.    local players = getPlayer(args[1])
  2475.    for i,v in pairs(players)do
  2476.        gPlayers[v].CameraMode = "LockFirstPerson"
  2477.    end
  2478. end)
  2479.  
  2480. addcmd('thirdp', 'allows player to go into third person',{},
  2481. function(args)
  2482.    local players = getPlayer(args[1])
  2483.    for i,v in pairs(players)do
  2484.        gPlayers[v].CameraMode = "Classic"
  2485.    end
  2486. end)
  2487.  
  2488. addcmd('chat', 'forces player to chat what you input',{},
  2489. function(args)
  2490.    local players = getPlayer(args[1])
  2491.         local MSG = table.concat(args, " ")
  2492.         local newMSG = string.gsub(MSG, args[1] .. " ", "")
  2493.    for i,v in pairs(players)do
  2494.        game.Chat:Chat(gPlayers[v].Character.Head, newMSG)
  2495.    end
  2496. end)
  2497.  
  2498. addcmd('insert', 'inserts a model',{},
  2499. function(args)
  2500.    local model = game:GetService("InsertService"):LoadAsset(args[1])
  2501.    model.Parent = game.Workspace
  2502.    model:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  2503.    model:MakeJoints()
  2504. end)
  2505.  
  2506. addcmd('name', 'names player',{},
  2507. function(args)
  2508.    local players = getPlayer(args[1])
  2509.    local msg = table.concat(args, " ")
  2510.    local newmsg = string.gsub(msg, args[1] .. " ", "")
  2511.         for i,v in pairs(players) do
  2512.                 for a, mod in pairs(gPlayers[v].Character:children()) do
  2513.                 if mod:FindFirstChild("TAG") then
  2514.                 gPlayers[v].Character.Head.Transparency = 0
  2515.                 mod:Destroy()
  2516.                 end
  2517.                 end
  2518.                
  2519.                 local char = gPlayers[v].Character
  2520.                 local model = Instance.new("Model", char)
  2521.                 local clone = char.Head:Clone()
  2522.                 local hum = Instance.new("Humanoid", model)
  2523.                 local weld = Instance.new("Weld", clone)
  2524.                         model.Name = newmsg
  2525.                         clone.Parent = model
  2526.                         hum.Name = "TAG"
  2527.                         hum.MaxHealth = 100
  2528.                         hum.Health = 100
  2529.                         weld.Part0 = clone
  2530.                         weld.Part1 = char.Head
  2531.                         char.Head.Transparency = 1
  2532.         end
  2533. end)
  2534.  
  2535. addcmd('unname', 'unnames player',{},
  2536. function(args)
  2537.    local players = getPlayer(args[1])
  2538.    local name = (args[2])
  2539.         for i,v in pairs(players) do
  2540.                 for a, mod in pairs(gPlayers[v].Character:children()) do
  2541.                         if mod:FindFirstChild("TAG") then
  2542.                                 gPlayers[v].Character.Head.Transparency = 0
  2543.                                 mod:Destroy()
  2544.                         end
  2545.                 end
  2546.         end
  2547. end)
  2548.  
  2549. addcmd('stun', 'stuns player',{},
  2550. function(args)
  2551.    local players = getPlayer(args[1])
  2552.         for i,v in pairs(players) do
  2553.                 gPlayers[v].Character.Humanoid.PlatformStand = true
  2554.         end
  2555. end)
  2556.  
  2557. addcmd('unstun', 'stuns player',{},
  2558. function(args)
  2559.    local players = getPlayer(args[1])
  2560.         for i,v in pairs(players) do
  2561.                 gPlayers[v].Character.Humanoid.PlatformStand = false
  2562.         end
  2563. end)
  2564.  
  2565. addcmd('sit', 'stuns player',{},
  2566. function(args)
  2567.    local players = getPlayer(args[1])
  2568.         for i,v in pairs(players) do
  2569.                 gPlayers[v].Character.Humanoid.Sit = true
  2570.         end
  2571. end)
  2572.  
  2573. addcmd('guest', 'ew a guest',{},
  2574. function(args)
  2575.         local players = getPlayer(args[1])
  2576.         for i,v in pairs(players) do
  2577.                 gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1"
  2578.                 gPlayers[v].Character:BreakJoints()
  2579.         end
  2580. end)
  2581.  
  2582. addcmd('damage', 'damages a player',{},
  2583. function(args)
  2584.         local players = getPlayer(args[1])
  2585.         for i,v in pairs(players) do
  2586.                 gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
  2587.         end
  2588. end)
  2589.  
  2590. addcmd('view', 'views player',{},
  2591. function(args)
  2592.         local players = getPlayer(args[1])
  2593.         for i,v in pairs(players) do
  2594.                 game.Workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
  2595.         end
  2596. end)
  2597.  
  2598. addcmd('unview', 'stops viewing player',{},
  2599. function()
  2600.         game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  2601. end)
  2602.  
  2603. addcmd('nolimbs', 'removes limbs from player',{},
  2604. function(args)
  2605.         local players = getPlayer(args[1])
  2606.         for i,v in pairs(players) do
  2607.                 for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  2608.                         if v:IsA("BasePart") and
  2609.                                 v.Name == "Right Leg" or
  2610.                                 v.Name == "Left Leg" or
  2611.                                 v.Name == "Right Arm" or
  2612.                                 v.Name == "Left Arm" then
  2613.                                 v:Remove()
  2614.                         end
  2615.                 end
  2616.         end    
  2617. end)
  2618.  
  2619. addcmd('box', 'creates a box around player',{},
  2620. function(args)
  2621.    local players = getPlayer(args[1])
  2622.    for i,v in pairs(players)do
  2623.        local pchar=_char(v)
  2624.        local SB = Instance.new("SelectionBox", pchar)
  2625.        SB.Adornee = SB.Parent
  2626.        SB.Color = BrickColor.new("" .. (args[2]))
  2627.    end
  2628. end)
  2629.  
  2630. addcmd('nobox', 'takes away box from player',{'unbox'},
  2631. function(args)
  2632.    local players = getPlayer(args[1])
  2633.    for i,v in pairs(players)do
  2634.        local pchar=_char(v)
  2635.        for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  2636.                         if v:IsA("SelectionBox") then
  2637.                                 v:Destroy()
  2638.                         end
  2639.             end
  2640.    end
  2641. end)
  2642.  
  2643. addcmd('ghost', 'ghostifys player',{},
  2644. function(args)
  2645.    local players = getPlayer(args[1])
  2646.    for i,v in pairs(players)do
  2647.        local pchar=gPlayers[v].Character
  2648.        pchar.Head.Transparency = 0.5
  2649.        pchar.Torso.Transparency = 0.5
  2650.        pchar["Left Arm"].Transparency = 0.5
  2651.        pchar["Right Arm"].Transparency = 0.5
  2652.        pchar["Left Leg"].Transparency = 0.5
  2653.        pchar["Right Leg"].Transparency = 0.5
  2654.        pchar.Head.face.Transparency = 0.5
  2655.    end
  2656. end)
  2657.  
  2658. addcmd('sphere', 'puts sphere around player',{},
  2659. function(args)
  2660.    local players = getPlayer(args[1])
  2661.    for i,v in pairs(players)do
  2662.        local pchar=gPlayers[v].Character
  2663.        local SS = Instance.new("SelectionSphere", pchar)
  2664.        SS.Adornee = SS.Parent
  2665.    end
  2666. end)
  2667.  
  2668. addcmd('loadmap','loads map from model',{},
  2669. function(args)
  2670.    pcall(function()
  2671.         for i,v in pairs(workspace:GetChildren()) do
  2672.                 if v.Name~="Camera" and v.Name~="Terrain" then
  2673.                         v:Destroy()
  2674.                 end
  2675.         end
  2676.         workspace.Terrain:Clear()
  2677.         for i,v in pairs(game.Players:GetChildren()) do
  2678.                 local plr = v
  2679.                 local prt = Instance.new("Model", workspace)
  2680.                 Instance.new("Part", prt).Name="Torso"
  2681.                 Instance.new("Part", prt).Name="Head"
  2682.                 Instance.new("Humanoid", prt).Name="Humanoid"
  2683.                 plr.Character = prt
  2684.         end
  2685.         if (args[1]) == "sfotho" then
  2686.             local b = Insert(296400126, game.Workspace, "sfotho")
  2687.             b:MakeJoints()
  2688.         end
  2689.         local b = Insert(args[1], game.Workspace, "LoadedMap")
  2690.         b:MakeJoints()
  2691. end)
  2692. Notify('Loaded Map')
  2693. end)
  2694.  
  2695. addcmd('sky','changes skybox',{},
  2696. function(args)
  2697.    pcall(function()
  2698.             local ID = (args[1])
  2699.                 local sky = Instance.new("Sky", game.Lighting)
  2700.                 sky.SkyboxBk = "rbxassetid://" .. ID
  2701.                 sky.SkyboxDn = "rbxassetid://" .. ID
  2702.                 sky.SkyboxFt = "rbxassetid://" .. ID
  2703.                 sky.SkyboxLf = "rbxassetid://" .. ID
  2704.                 sky.SkyboxRt = "rbxassetid://" .. ID
  2705.                 sky.SkyboxUp = "rbxassetid://" .. ID
  2706.         end)
  2707. end)
  2708.  
  2709. addcmd('ambient','changes ambient',{},
  2710. function(args)
  2711.         game.Lighting.Ambient = Color3.new(args[1],args[2],args[3])
  2712. end)
  2713.  
  2714. addcmd('gui','gives YourMom GUI',{},
  2715. function(args)
  2716.         loadstring(Insert(289110135, game.CoreGui.RobloxGui).Source)()
  2717. end)
  2718.  
  2719. addcmd('jail','jails player',{},
  2720. function(args)
  2721.         local players = getPlayer(args[1])
  2722.    for i,v in pairs(players)do
  2723.        local pchar=gPlayers[v].Character
  2724.        local JailPlayer = DATA.JAIL:Clone()
  2725.             JailPlayer.Parent = game.Workspace
  2726.             JailPlayer:MoveTo(pchar.Torso.Position)
  2727.             JailPlayer.Name = "JAIL_" .. gPlayers[v].Name
  2728.                 if pchar:FindFirstChild("HumanoidRootPart") then
  2729.                         pchar.HumanoidRootPart.CFrame = JailPlayer.MAIN.CFrame
  2730.                 end            
  2731.    end
  2732. end)
  2733.  
  2734. addcmd('unjail','unjails player',{},
  2735. function(args)
  2736.         local players = getPlayer(args[1])
  2737.         for i,v in pairs(players)do
  2738.                 game.Workspace["JAIL_" .. gPlayers[v].Name]:Destroy()
  2739.         end
  2740. end)
  2741.  
  2742. addcmd('shutdown', 'shuts the server down',{},
  2743. function(args)
  2744.         local function ShutDown(Base)
  2745.                 for i,v in pairs(Base:GetChildren()) do
  2746.                         v:Destroy()
  2747.                 end
  2748.         end
  2749.         ShutDown(game.Players)
  2750. end)
  2751.  
  2752. addcmd('animation','makes player animate',{'anim'},
  2753. function(args)
  2754.    local players = getPlayer(args[1])
  2755.    for i,v in pairs(players)do
  2756.             local pchar = gPlayers[v].Character
  2757.        local ID = args[2]
  2758.  
  2759.        if args[2] == "climb" then
  2760.                 ID = "180436334"
  2761.    end
  2762.        if args[2] == "fall" then
  2763.                 ID = "180436148"
  2764.    end
  2765.        if args[2] == "jump" then
  2766.                 ID = "125750702"
  2767.    end
  2768.        if args[2] == "sit" then
  2769.                 ID = "178130996"
  2770.    end
  2771.        for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
  2772.            if x:IsA("StringValue") then
  2773.                for _,c in pairs(x:GetChildren()) do
  2774.                         if c:IsA("Animation") then
  2775.                             c.AnimationId = "rbxassetid://" .. ID
  2776.                         end
  2777.                     end
  2778.            end
  2779.        end
  2780.    end
  2781. end)
  2782.  
  2783. addcmd('fix','turns player back to normal',{},
  2784. function(args)
  2785.    local players = getPlayer(args[1])
  2786.    for i,v in pairs(players)do
  2787.                 local pchar = gPlayers[v].Character
  2788.                
  2789.             pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2790.             pchar.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(0,math.rad(90),0)
  2791.             pchar.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.Angles(0,math.rad(-90),0)
  2792.             pchar.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  2793.             pchar.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  2794.        
  2795.             for i,v in pairs(pchar.Head:GetChildren()) do
  2796.                     if v:IsA("SpecialMesh") then
  2797.                             v:Destroy()
  2798.                     end
  2799.             end
  2800.        
  2801.                 for i,v in pairs(pchar:GetChildren()) do
  2802.                         if v:IsA("Shirt") then
  2803.                                 v:Destroy()
  2804.                         end
  2805.                 end
  2806.                
  2807.                 for i,v in pairs(pchar:GetChildren()) do
  2808.                         if v:IsA("Pants") then
  2809.                                 v:Destroy()
  2810.                         end
  2811.                 end
  2812.                
  2813.                 if Player.Character:FindFirstChild("Shirt Graphic") ~= nil then
  2814.                         Player.Character["Shirt Graphic"].Graphic = ""
  2815.                 end
  2816.                
  2817.                 local HeadMesh = Instance.new("SpecialMesh", pchar.Head)
  2818.                 HeadMesh.MeshType = "Head"
  2819.                 HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  2820.                
  2821.                 pchar.Head.Transparency = 0
  2822.                 pchar.Torso.Transparency = 0
  2823.                 pchar["Left Arm"].Transparency = 0
  2824.                 pchar["Right Arm"].Transparency = 0
  2825.                 pchar["Left Leg"].Transparency = 0
  2826.                 pchar["Right Leg"].Transparency = 0
  2827.                
  2828.                 for i,v in pairs(pchar.Head:GetChildren()) do
  2829.                         if v:IsA("Decal") then
  2830.                                 v:Destroy()
  2831.                         end
  2832.                 end
  2833.                
  2834.                 local face = Instance.new("Decal", pchar.Head)
  2835.                 face.Name = "face"
  2836.                 face.Texture = "rbxasset://textures/face.png"
  2837.                 face.Face = "Front"
  2838.                
  2839.                 for i,v in pairs(pchar:GetChildren()) do
  2840.                         if v:IsA("Seat") then
  2841.                                 v:Destroy()
  2842.                         end
  2843.                 end
  2844.                
  2845.                 for i,v in pairs(pchar.Torso:GetChildren()) do
  2846.                         if v:IsA("Weld") then
  2847.                                 v:Destroy()
  2848.                         end
  2849.                 end
  2850.                
  2851.                 for i,v in pairs(pchar.Torso:GetChildren()) do
  2852.                         if v:IsA("SpecialMesh") then
  2853.                                 v:Destroy()
  2854.                         end
  2855.                 end
  2856.                
  2857.                 pchar["Body Colors"].HeadColor = BrickColor.new("Cool yellow")
  2858.                 pchar["Body Colors"].LeftArmColor = BrickColor.new("Cool yellow")
  2859.                 pchar["Body Colors"].LeftLegColor = BrickColor.new("Medium blue")
  2860.                 pchar["Body Colors"].RightArmColor = BrickColor.new("Cool yellow")
  2861.                 pchar["Body Colors"].RightLegColor = BrickColor.new("Medium blue")
  2862.                 pchar["Body Colors"].TorsoColor = BrickColor.new("Bright blue")
  2863.                 for _,v in pairs(Player.Character:GetChildren()) do
  2864.                         if v:IsA("Hat") then
  2865.                                 v:Destroy()
  2866.                         end
  2867.                 end
  2868.    end
  2869. end)
  2870.  
  2871. addcmd('creeper','make the player a creeper',{'crpr'},
  2872. function(args)
  2873.    local players = getPlayer(args[1])
  2874.    for i,v in pairs(players)do
  2875.         local pchar = gPlayers[v].Character
  2876.        if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
  2877.            if pchar:FindFirstChild("Shirt") then
  2878.                     pchar.Shirt.Parent = pchar.Torso
  2879.            end
  2880.            if pchar:FindFirstChild("Pants") then
  2881.                     pchar.Pants.Parent = pchar.Torso
  2882.            end
  2883.            if pchar:FindFirstChild("Shirt Graphic") then
  2884.                     pchar["Shirt Graphic"].Graphic = ""
  2885.            end
  2886.            for i,v in pairs(pchar:GetChildren()) do
  2887.                     if v:IsA("Hat") then
  2888.                             v:Destroy()
  2889.                     end
  2890.            end
  2891.            pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2892.            pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  2893.            pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  2894.            pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  2895.            pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  2896.            pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  2897.            pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  2898.            pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  2899.            pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  2900.            pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  2901.            pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  2902.        end
  2903.    end
  2904. end)
  2905.  
  2906. addcmd('uncreeper','makes player back to normal',{},
  2907. function(args)
  2908.         local players = getPlayer(args[1])
  2909.         for i,v in pairs(players)do
  2910.             execCmd("fix " .. gPlayers[v].Name, Player)
  2911.         end
  2912. end)
  2913.  
  2914. addcmd('shrek', 'makes player shrek',{},
  2915. function(args)
  2916.         local players = getPlayer(args[1])
  2917.         for i,v in pairs(players) do
  2918.                 local pchar = gPlayers[v].Character
  2919.                 for i,v in pairs(pchar:GetChildren()) do
  2920.                         if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  2921.                                 v:Destroy()
  2922.                         end
  2923.                 end
  2924.                 for i,v in pairs(pchar.Head:GetChildren()) do
  2925.                         if v:IsA("Decal") or v:IsA("SpecialMesh") then
  2926.                                 v:Destroy()
  2927.                         end
  2928.                 end
  2929.                
  2930.                 local mesh = Instance.new("SpecialMesh", pchar.Head)
  2931.                 mesh.MeshType = "FileMesh"
  2932.                 pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  2933.                 pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  2934.                 pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  2935.                
  2936.                 local Shirt = Instance.new("Shirt", gPlayers[v].Character)
  2937.                 local Pants = Instance.new("Pants", gPlayers[v].Character)
  2938.                
  2939.                 Shirt.ShirtTemplate = "rbxassetid://133078194"
  2940.                 Pants.PantsTemplate = "rbxassetid://133078204"
  2941.         end
  2942. end)
  2943.  
  2944. addcmd('unshrek','makes player back to normal',{},
  2945. function(args)
  2946.         local players = getPlayer(args[1])
  2947.         for i,v in pairs(players)do
  2948.             execCmd("fix " .. gPlayers[v].Name, Player)
  2949.         end
  2950. end)
  2951.  
  2952. local Spamming = false
  2953.  
  2954. addcmd('spam','spams text',{},
  2955. function(args)
  2956.         Spamming = true
  2957.         spawn(function()
  2958.                 while wait(0) do
  2959.                         if Spamming == true then
  2960.                     while wait(0.1) do
  2961.                             if Spamming == true then
  2962.                                     game.Players:Chat(""  .. args[1])
  2963.                         elseif Spamming == false then
  2964.                                     return
  2965.                                 end
  2966.                             end
  2967.                 end
  2968.             end
  2969.         end)
  2970. end)
  2971.  
  2972. addcmd('nospam','stops spamming',{},
  2973. function(args)
  2974.         Spamming = false
  2975. end)
  2976.  
  2977. addcmd('control','controls player',{},
  2978. function(args)
  2979.         local players = getPlayer(args[1])
  2980.         for i,v in pairs(players)do
  2981.                 local pchar = gPlayers[v].Character
  2982.                 if gPlayers[v] and pchar then
  2983.                         pchar.Humanoid.PlatformStand = true
  2984.                         local w = Instance.new("Weld", Player.Character.Torso)
  2985.                         w.Part0 = Player.Character.Torso
  2986.                         w.Part1 = pchar.Torso  
  2987.                         local w2 = Instance.new("Weld", Player.Character.Head)
  2988.                         w2.Part0 = Player.Character.Head
  2989.                         w2.Part1 = pchar.Head  
  2990.                         local w3 = Instance.new("Weld", Player.Character:findFirstChild("Right Arm"))
  2991.                         w3.Part0 = Player.Character:findFirstChild("Right Arm")
  2992.                         w3.Part1 = pchar:findFirstChild("Right Arm")
  2993.                         local w4 = Instance.new("Weld", Player.Character:findFirstChild("Left Arm"))
  2994.                         w4.Part0 = Player.Character:findFirstChild("Left Arm")
  2995.                         w4.Part1 = pchar:findFirstChild("Left Arm")
  2996.                         local w5 = Instance.new("Weld", Player.Character:findFirstChild("Right Leg"))
  2997.                         w5.Part0 = Player.Character:findFirstChild("Right Leg")
  2998.                         w5.Part1 = pchar:findFirstChild("Right Leg")
  2999.                         local w6 = Instance.new("Weld", Player.Character:findFirstChild("Left Leg"))
  3000.                         w6.Part0 = Player.Character:findFirstChild("Left Leg")
  3001.                         w6.Part1 = pchar:findFirstChild("Left Leg")
  3002.                         char.Head.face:Destroy()
  3003.                         for i,v in pairs(pchar:GetChildren()) do
  3004.                                 if v:IsA("BasePart") then
  3005.                                         v.CanCollide = false
  3006.                                 end
  3007.                         end
  3008.                         for i,v in pairs(char:GetChildren()) do
  3009.                                 if v:IsA("BasePart") then
  3010.                                         v.Transparency = 1
  3011.                                 elseif v:IsA("Hat") then
  3012.                                         v:Destroy()
  3013.                                 end
  3014.                         end
  3015.                         pchar.Parent = char
  3016.                         pchar.Humanoid.Changed:connect(function()
  3017.                                 pchar.Humanoid.PlatformStand = true
  3018.                         end)
  3019.                 end
  3020.                 end
  3021. end)
  3022.  
  3023. addcmd('nuke','nukes player',{},
  3024. function(args)
  3025.         local players = getPlayer(args[1])
  3026.         for i,v in pairs(players)do
  3027.                 local pchar = gPlayers[v].Character
  3028.                 if gPlayers[v] and pchar and pchar:FindFirstChild("Torso")  then
  3029.                         local nuke = Instance.new("Part", game.Workspace)
  3030.                         nuke.Anchored = true
  3031.                         nuke.CanCollide = false
  3032.                         nuke.FormFactor = "Symmetric"
  3033.                         nuke.Shape = "Ball"
  3034.                         nuke.Size = Vector3.new(1,1,1)
  3035.                         nuke.BrickColor = BrickColor.new("New Yeller")
  3036.                         nuke.Transparency = 0.5
  3037.                         nuke.Reflectance = 0.2
  3038.                         nuke.TopSurface = 0
  3039.                         nuke.BottomSurface = 0
  3040.                         nuke.Touched:connect(function (hit)
  3041.                                 if hit and hit.Parent then
  3042.                                         local boom = Instance.new("Explosion", game.Workspace)
  3043.                                         boom.Position = hit.Position
  3044.                                         boom.BlastRadius = 11
  3045.                                         boom.BlastPressure = math.huge
  3046.                                 end
  3047.                         end)
  3048.                         local CF = pchar.Torso.CFrame
  3049.                         nuke.CFrame = CF
  3050.                         for i = 1,333 do
  3051.                                 nuke.Size = nuke.Size + Vector3.new(3,3,3)
  3052.                                 nuke.CFrame = CF
  3053.                                 wait(1/44)
  3054.                         end
  3055.                         nuke:Destroy()
  3056.                 end
  3057.         end
  3058. end)
  3059.  
  3060. addcmd('infect','infects player',{},
  3061. function(args)
  3062.         local players = getPlayer(args[1])
  3063.         for i,v in pairs(players)do
  3064.                 function infect(rip)
  3065.                 local pchar = gPlayers[v].Character
  3066.                         for i,v in pairs(pchar:GetChildren()) do
  3067.                                 if v:IsA("Hat") or v:IsA("Shirt") or v:IsA("Pants") then
  3068.                                         v:Destroy()
  3069.                                 end
  3070.                         end
  3071.                         if pchar.Torso:FindFirstChild("roblox") then
  3072.                                 pchar.Torso.roblox:Destroy()
  3073.                         end
  3074.                         if pchar.Head:FindFirstChild("face") then
  3075.                                 pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
  3076.                         end
  3077.                         if pchar:FindFirstChild("Body Colors") then
  3078.                                 local Colors = pchar["Body Colors"]
  3079.                                 local Skin = BrickColor.new("Pastel green")
  3080.                                 local Clothes = BrickColor.new("Reddish brown")
  3081.                                 Colors.HeadColor = Skin
  3082.                                 Colors.LeftArmColor = Skin
  3083.                                 Colors.RightArmColor = Skin
  3084.                                 Colors.LeftLegColor = Clothes
  3085.                                 Colors.RightLegColor = Clothes
  3086.                                 Colors.TorsoColor = Clothes
  3087.                         end
  3088.                         local w1 = Instance.new("Weld", pchar)
  3089.                         w1.Part0 = pchar["Right Arm"]
  3090.                         w1.Part1 = pchar.Torso
  3091.                         w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  3092.                         local w2 = Instance.new("Weld", pchar)
  3093.                         w2.Part0 = pchar["Left Arm"]
  3094.                         w2.Part1 = pchar.Torso
  3095.                         w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  3096.                         local rip = false
  3097.                         local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
  3098.                                 if connect1 == false then
  3099.                                         connect1 = true
  3100.                                         if game.Players:FindFirstChild(hit.Parent.Name) then
  3101.                                                 infect(game.Players[hit.Parent.Name])
  3102.                                         end
  3103.                                         wait(0.5)
  3104.                                         connect1 = true
  3105.                                 end
  3106.                         end)
  3107.                         local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
  3108.                                 if connect2 == false then
  3109.                                         connect2 = true
  3110.                                         if game.Players:FindFirstChild(hit.Parent.Name) then
  3111.                                                 infect(game.Players[hit.Parent.Name])
  3112.                                         end
  3113.                                         wait(0.5)
  3114.                                         connect2 = true
  3115.                                 end
  3116.                         end)
  3117.                         local IV = Instance.new("IntValue", pchar)
  3118.                         IV.Name = "Infected"
  3119.                         IV.Value = 0
  3120.                         IV.Changed:connect(function()
  3121.                                 connect1:disconnect()
  3122.                                 connect2:disconnect()
  3123.                         end)
  3124.                 end
  3125.                 infect(v)
  3126.         end
  3127. end)
  3128.  
  3129. addcmd('uninfect','makes player back to normal',{},
  3130. function(args)
  3131.         local players = getPlayer(args[1])
  3132.         for i,v in pairs(players)do
  3133.             execCmd("fix " .. gPlayers[v].Name, Player)
  3134.         end
  3135. end)
  3136.  
  3137. addcmd('duck','makes players head a duck',{},
  3138. function(args)
  3139.         local players = getPlayer(args[1])
  3140.         for i,v in pairs(players)do
  3141.             local pchar = gPlayers[v].Character
  3142.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3143.                     if v:IsA("Decal") then
  3144.                             v:Destroy()
  3145.                     end
  3146.             end
  3147.             for i,v in pairs(pchar:GetChildren()) do
  3148.                     if v:IsA("Hat") then
  3149.                             v:Destroy()
  3150.                     end
  3151.             end
  3152.             local duck = Instance.new("SpecialMesh", pchar.Torso)
  3153.             duck.MeshType = "FileMesh"
  3154.             duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  3155.             duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  3156.             duck.Scale = Vector3.new(5, 5, 5)
  3157.             pchar.Head.Transparency = 1
  3158.             pchar["Left Arm"].Transparency = 1
  3159.             pchar["Right Arm"].Transparency = 1
  3160.             pchar["Left Leg"].Transparency = 1
  3161.             pchar["Right Leg"].Transparency = 1
  3162.             pchar.Head.face.Transparency = 1
  3163.         end
  3164. end)
  3165.  
  3166. addcmd('unduck','makes player back to normal',{},
  3167. function(args)
  3168.         local players = getPlayer(args[1])
  3169.         for i,v in pairs(players)do
  3170.             execCmd("fix " .. gPlayers[v].Name, Player)
  3171.         end
  3172. end)
  3173.  
  3174. addcmd('disable','removes players humanoid',{},
  3175. function(args)
  3176.         local players = getPlayer(args[1])
  3177.         for i,v in pairs(players)do
  3178.                 local pchar = gPlayers[v].Character
  3179.             if pchar:FindFirstChild("Humanoid") then
  3180.                    pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
  3181.                    local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
  3182.                    humanoid.Parent = game.ContextActionService
  3183.             end
  3184.         end
  3185. end)
  3186.  
  3187. addcmd('enable','gives player humanoid',{},
  3188. function(args)
  3189.         local players = getPlayer(args[1])
  3190.         for i,v in pairs(players)do
  3191.                 local pchar = gPlayers[v].Character
  3192.             if pchar:FindFirstChild("Humanoid") then
  3193.                     return
  3194.             else
  3195.                     local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
  3196.                     humanoid.Parent = pchar
  3197.                     humanoid.Name = "Humanoid"
  3198.             end
  3199.         end
  3200. end)
  3201.  
  3202. addcmd('size','changes size of player',{},
  3203. function(args)
  3204.         local players = getPlayer(args[1])
  3205.         for i,v in pairs(players)do
  3206.         local pchar = gPlayers[v].Character
  3207.                 local function scale(chr,scl)
  3208.                
  3209.                         for _,v in pairs(pchar:GetChildren()) do
  3210.                                 if v:IsA("Hat") then
  3211.                                         v:Clone()
  3212.                                         v.Parent = game.Lighting
  3213.                                 end
  3214.                         end
  3215.                                
  3216.                     local Head = chr['Head']
  3217.                     local Torso = chr['Torso']
  3218.                     local LA = chr['Left Arm']
  3219.                     local RA = chr['Right Arm']
  3220.                     local LL = chr['Left Leg']
  3221.                     local RL = chr['Right Leg']
  3222.                     local HRP = chr['HumanoidRootPart']
  3223.                
  3224.                     wait(0.1)
  3225.                    
  3226.                     Head.formFactor = 3
  3227.                     Torso.formFactor = 3
  3228.                     LA.formFactor = 3
  3229.                     RA.formFactor = 3
  3230.                     LL.formFactor = 3
  3231.                     RL.formFactor = 3
  3232.                     HRP.formFactor = 3
  3233.                    
  3234.                     Head.Size = Vector3.new(scl * 2, scl, scl)
  3235.                     Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  3236.                     LA.Size = Vector3.new(scl, scl * 2, scl)
  3237.                     RA.Size = Vector3.new(scl, scl * 2, scl)
  3238.                     LL.Size = Vector3.new(scl, scl * 2, scl)
  3239.                     RL.Size = Vector3.new(scl, scl * 2, scl)
  3240.                     HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  3241.                    
  3242.                     local Motor1 = Instance.new('Motor6D', Torso)
  3243.                     Motor1.Part0 = Torso
  3244.                     Motor1.Part1 = Head
  3245.                 Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  3246.                 Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  3247.                 Motor1.Name = "Neck"
  3248.                                    
  3249.                 local Motor2 = Instance.new('Motor6D', Torso)
  3250.                 Motor2.Part0 = Torso
  3251.                 Motor2.Part1 = LA
  3252.                 Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  3253.                 Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  3254.                 Motor2.Name = "Left Shoulder"
  3255.                
  3256.                 local Motor3 = Instance.new('Motor6D', Torso)
  3257.                         Motor3.Part0 = Torso
  3258.                 Motor3.Part1 = RA
  3259.                 Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  3260.                 Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  3261.                 Motor3.Name = "Right Shoulder"
  3262.                
  3263.                 local Motor4 = Instance.new('Motor6D', Torso)
  3264.                 Motor4.Part0 = Torso
  3265.                 Motor4.Part1 = LL
  3266.                 Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  3267.                 Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  3268.                 Motor4.Name = "Left Hip"
  3269.                
  3270.                 local Motor5 = Instance.new('Motor6D', Torso)
  3271.                 Motor5.Part0 = Torso
  3272.                 Motor5.Part1 = RL
  3273.                 Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  3274.                 Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  3275.                 Motor5.Name = "Right Hip"
  3276.                
  3277.                 local Motor6 = Instance.new('Motor6D', HRP)
  3278.                 Motor6.Part0 = HRP
  3279.                 Motor6.Part1 = Torso
  3280.                 Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  3281.                 Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  3282.                    
  3283.                 end
  3284.                
  3285.                 scale(pchar, args[2])
  3286.        
  3287.                 for _,v in pairs(game.Lighting:GetChildren()) do
  3288.                         if v:IsA("Hat") then
  3289.                                 v.Parent = pchar
  3290.                         end
  3291.                 end
  3292.         end
  3293. end)
  3294.  
  3295. addcmd('confuse','reverses players speed',{'reverse'},
  3296. function(args)
  3297.         local players = getPlayer(args[1])
  3298.         for i,v in pairs(players)do
  3299.             local pchar = gPlayers[v].Character
  3300.             pchar.Humanoid.WalkSpeed = tonumber(-16)
  3301.         end
  3302. end)
  3303.  
  3304. addcmd('unconfuse','reverses players speed',{'unreverse'},
  3305. function(args)
  3306.         local players = getPlayer(args[1])
  3307.         for i,v in pairs(players)do
  3308.             local pchar = gPlayers[v].Character
  3309.             pchar.Humanoid.WalkSpeed = tonumber(16)
  3310.         end
  3311. end)
  3312.  
  3313. addcmd('clone','clones player',{},
  3314. function(args)
  3315.         local players = getPlayer(args[1])
  3316.         for i,v in pairs(players)do
  3317.             local pchar = gPlayers[v].Character
  3318.             pchar.Archivable = true
  3319.             local clone = pchar:Clone()
  3320.             clone.Parent = game.Workspace
  3321.             clone:MoveTo(pchar:GetModelCFrame().p)
  3322.             clone:MakeJoints()
  3323.             pchar.Archivable = false
  3324.         end
  3325. end)
  3326.  
  3327. addcmd('spin','spins player',{},
  3328. function(args)
  3329.         local players = getPlayer(args[1])
  3330.         for i,v in pairs(players)do
  3331.             local pchar = gPlayers[v].Character
  3332.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3333.                     if v.Name == "Spinning" then
  3334.                             v:Destroy()
  3335.                     end
  3336.             end
  3337.             local Torso = pchar.Torso
  3338.             local BG = Instance.new("BodyGyro", Torso)
  3339.             BG.Name = "Spinning"
  3340.             BG.maxTorque = Vector3.new(0, math.huge, 0)
  3341.             BG.P = 11111
  3342.             BG.cframe = Torso.CFrame
  3343.             repeat wait(1/44)
  3344.                     BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  3345.             until not BG or BG.Parent ~= Torso
  3346.         end
  3347. end)
  3348.  
  3349. addcmd('unspin','stops spinning player',{},
  3350. function(args)
  3351.         local players = getPlayer(args[1])
  3352.         for i,v in pairs(players)do
  3353.             local pchar = gPlayers[v].Character
  3354.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3355.                     if v.Name == "Spinning" then
  3356.                             v:Destroy()
  3357.                     end
  3358.             end
  3359.         end
  3360. end)
  3361.  
  3362. addcmd('dog','makes player a dog',{},
  3363. function(args)
  3364.         local players = getPlayer(args[1])
  3365.         for i,v in pairs(players)do
  3366.             local pchar = gPlayers[v].Character
  3367.             if pchar:FindFirstChild("Shirt") then
  3368.                     pchar.Shirt:Destroy()
  3369.             end
  3370.             if pchar:FindFirstChild("Pants") then
  3371.                     pchar.Pants:Destroy()
  3372.             end
  3373.             if pchar:FindFirstChild("Shirt Graphic") then
  3374.                     pchar["Shirt Graphic"].Graphic = ""
  3375.             end
  3376.             pchar.Torso.Transparency = 1
  3377.             pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  3378.             pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  3379.             pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  3380.             pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  3381.             pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  3382.             local FakeTorso = Instance.new("Seat", pchar)
  3383.             FakeTorso.Name = "FakeTorso"
  3384.             FakeTorso.FormFactor = "Symmetric"
  3385.             FakeTorso.TopSurface = 0
  3386.             FakeTorso.BottomSurface = 0
  3387.             FakeTorso.Size = Vector3.new(3,1,4)
  3388.             FakeTorso.BrickColor = BrickColor.new("Brown")
  3389.             FakeTorso.CFrame = pchar.Torso.CFrame
  3390.             local BF = Instance.new("BodyForce", FakeTorso)
  3391.             BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
  3392.             local W = Instance.new("Weld", pchar.Torso)
  3393.             W.Part0 = pchar.Torso
  3394.             W.Part1 = FakeTorso
  3395.             W.C0 = CFrame.new(0,-.5,0)
  3396.             local BC = pchar["Body Colors"]
  3397.             BC.HeadColor = BrickColor.new("Brown")
  3398.             BC.LeftArmColor = BrickColor.new("Brown")
  3399.             BC.LeftLegColor = BrickColor.new("Brown")
  3400.             BC.RightArmColor = BrickColor.new("Brown")
  3401.             BC.RightLegColor = BrickColor.new("Brown")
  3402.             BC.TorsoColor = BrickColor.new("Brown")
  3403.         end
  3404. end)
  3405.  
  3406. addcmd('undog','makes player back to normal',{},
  3407. function(args)
  3408.         local players = getPlayer(args[1])
  3409.         for i,v in pairs(players)do
  3410.             execCmd("fix " .. gPlayers[v].Name, Player)
  3411.         end
  3412. end)
  3413.  
  3414. addcmd('tptool','gives player tptool',{''},
  3415. function(args)
  3416.         local tool = DATA.Teleport:Clone()
  3417.         tool.Parent = Player.Backpack
  3418. end)
  3419.  
  3420. addcmd('loopsit','loop sits player',{},
  3421. function(args)
  3422.         local players = getPlayer(args[1])
  3423.         for i,v in pairs(players)do
  3424.             local pchar = gPlayers[v].Character
  3425.             if pchar:FindFirstChild("LoopSit") then
  3426.                     pchar.LoopSit.Name = "NotLoopSit"
  3427.                     wait(0.1)
  3428.                     pchar.NotLoopSit:Destroy()
  3429.             end
  3430.             local LoopSit = Instance.new("StringValue", pchar)
  3431.             LoopSit.Name = "LoopSit"
  3432.             repeat wait(0.1)
  3433.                     pchar.Humanoid.Sit = true
  3434.             until LoopSit.Name == "NotLoopSit"
  3435.         end
  3436. end)
  3437.  
  3438. addcmd('unloopsit','stops loop sit on player',{'noloopsit'},
  3439. function(args)
  3440.         local players = getPlayer(args[1])
  3441.         for i,v in pairs(players)do
  3442.             local pchar = gPlayers[v].Character
  3443.             if pchar:FindFirstChild("LoopSit") then
  3444.                     pchar.LoopSit.Name = "NotLoopSit"
  3445.                     wait(0.1)
  3446.                     pchar.NotLoopSit:Destroy()
  3447.             end
  3448.         end
  3449. end)
  3450.  
  3451. addcmd('loopjump','loop jumps player',{},
  3452. function(args)
  3453.         local players = getPlayer(args[1])
  3454.         for i,v in pairs(players)do
  3455.             local pchar = gPlayers[v].Character
  3456.             if pchar:FindFirstChild("LoopJump") then
  3457.                     pchar.LoopJump.Name = "NotLoopJump"
  3458.                     wait(0.1)
  3459.                     pchar.NotLoopJump:Destroy()
  3460.             end
  3461.             local LoopJump = Instance.new("StringValue", pchar)
  3462.             LoopJump.Name = "LoopJump"
  3463.             repeat wait(0.1)
  3464.                     pchar.Humanoid.Jump = true
  3465.             until LoopJump.Name == "NotLoopJump"
  3466.         end
  3467. end)
  3468.  
  3469. addcmd('unloopjump','stops loop jump on player',{'noloopjump'},
  3470. function(args)
  3471.         local players = getPlayer(args[1])
  3472.         for i,v in pairs(players)do
  3473.             local pchar = gPlayers[v].Character
  3474.             if pchar:FindFirstChild("LoopJump") then
  3475.                     pchar.LoopJump.Name = "NotLoopJump"
  3476.                     wait(0.1)
  3477.                     pchar.NotLoopJump:Destroy()
  3478.             end
  3479.         end
  3480. end)
  3481.  
  3482. addcmd('loopheal','loop heals player',{},
  3483. function(args)
  3484.         local players = getPlayer(args[1])
  3485.         for i,v in pairs(players)do
  3486.             local pchar = gPlayers[v].Character
  3487.             if pchar:FindFirstChild("LoopHeal") then
  3488.                     pchar.LoopHeal.Name = "NotLoopHeal"
  3489.                     wait(0.1)
  3490.                     pchar.NotLoopHeal:Destroy()
  3491.             end
  3492.             local LoopHeal = Instance.new("StringValue", pchar)
  3493.             LoopHeal.Name = "LoopHeal"
  3494.             repeat wait(0.1)
  3495.                     pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
  3496.             until LoopHeal.Name == "NotLoopHeal"
  3497.         end
  3498. end)
  3499.  
  3500. addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
  3501. function(args)
  3502.         local players = getPlayer(args[1])
  3503.         for i,v in pairs(players)do
  3504.             local pchar = gPlayers[v].Character
  3505.             if pchar:FindFirstChild("LoopHeal") then
  3506.                     pchar.LoopHeal.Name = "NotLoopHeal"
  3507.                     wait(0.1)
  3508.                     pchar.NotLoopHeal:Destroy()
  3509.             end
  3510.         end
  3511. end)
  3512.  
  3513. addcmd('fling','flings player',{},
  3514. function(args)
  3515.         local players = getPlayer(args[1])
  3516.         for i,v in pairs(players)do
  3517.             local pchar = gPlayers[v].Character
  3518.                 if pchar:FindFirstChild("Humanoid") then
  3519.                         local xran
  3520.                         local zran
  3521.                         repeat
  3522.                                 xran = math.random(-9999,9999)
  3523.                         until math.abs(xran) >= 5555
  3524.                         repeat
  3525.                                 zran = math.random(-9999,9999)
  3526.                         until math.abs(zran) >= 5555
  3527.                         pchar.Humanoid.Sit = true
  3528.                         pchar.Torso.Velocity = Vector3.new(0,0,0)
  3529.                         local BF = Instance.new("BodyForce", pchar.Torso)
  3530.                         BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  3531.                 end
  3532.         end
  3533. end)
  3534.  
  3535. addcmd('nograv','makes player have moon gravity',{''},
  3536. function(args)
  3537.         local players = getPlayer(args[1])
  3538.         for i,v in pairs(players)do
  3539.             local pchar = gPlayers[v].Character
  3540.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3541.                     if v.Name == "NoGrav" then
  3542.                             v:Destroy()
  3543.                     end
  3544.             end
  3545.             local BF = Instance.new("BodyForce", pchar.Torso)
  3546.             BF.Name = "NoGrav"
  3547.             BF.Force = Vector3.new(0,2700,0)
  3548.         end
  3549. end)
  3550.  
  3551. addcmd('grav','makes player have normal gravity',{''},
  3552. function(args)
  3553.         local players = getPlayer(args[1])
  3554.         for i,v in pairs(players)do
  3555.             local pchar = gPlayers[v].Character
  3556.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3557.                     if v.Name == "NoGrav" then
  3558.                             v:Destroy()
  3559.                     end
  3560.             end
  3561.         end
  3562. end)
  3563.  
  3564. addcmd('seizure','makes player have a seizure',{''},
  3565. function(args)
  3566.         local players = getPlayer(args[1])
  3567.         for i,v in pairs(players)do
  3568.             local pchar = gPlayers[v].Character
  3569.             if pchar:FindFirstChild("Seizure") then
  3570.                    
  3571.             end
  3572.             local Seizure = Instance.new("StringValue", pchar)
  3573.             Seizure.Name = "Seizure"
  3574.             pchar.Humanoid.PlatformStand = true
  3575.                 repeat wait()
  3576.                     pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  3577.                     pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3578.                 until Seizure.Name == "NotSeizure"
  3579.         end
  3580. end)
  3581.  
  3582. addcmd('unseizure','makes player stop having a seizure',{''},
  3583. function(args)
  3584.         local players = getPlayer(args[1])
  3585.         for i,v in pairs(players)do
  3586.             local pchar = gPlayers[v].Character
  3587.             if pchar:FindFirstChild("Seizure") then
  3588.                 pchar.Humanoid.PlatformStand = false
  3589.                     pchar.Seizure.Name = "NotSeizure"
  3590.                     wait(0.1)
  3591.                     pchar.NotSeizure:Destroy()
  3592.             end
  3593.         end
  3594. end)
  3595.  
  3596. addcmd('cape','gives you a cape',{''},
  3597. function(args)
  3598.     if not args[1] then
  3599.                 args[1] = 1012
  3600.         end
  3601.         capeColor = args[1]
  3602.     Cape(Player)
  3603. end)
  3604.  
  3605. addcmd('uncape','takes cape away from you',{''},
  3606. function(args)
  3607.         if char:FindFirstChild("Cape") ~= nil then
  3608.             char.Cape:Destroy()
  3609.         end
  3610. end)
  3611.  
  3612. addcmd('paper','makes player thin as paper',{''},
  3613. function(args)
  3614.         local players = getPlayer(args[1])
  3615.         for i,v in pairs(players)do
  3616.             local pchar = gPlayers[v].Character
  3617.             local LA = DATA.Paper:Clone()
  3618.             LA.Parent = pchar["Left Arm"]
  3619.             local RA = DATA.Paper:Clone()
  3620.             RA.Parent = pchar["Right Arm"]
  3621.             local LL = DATA.Paper:Clone()
  3622.             LL.Parent = pchar["Left Leg"]
  3623.             local RL = DATA.Paper:Clone()
  3624.             RL.Parent = pchar["Right Leg"]
  3625.             local T = DATA.Paper:Clone()
  3626.             T.Parent = pchar.Torso
  3627.                 local H = DATA.Paper:Clone()
  3628.                 H.Parent = pchar.Head
  3629.                 pchar.Head.face:Destroy()
  3630.         end
  3631. end)
  3632.  
  3633. addcmd('punish','punishs player',{''},
  3634. function(args)
  3635.         local players = getPlayer(args[1])
  3636.         for i,v in pairs(players)do
  3637.             local pchar = gPlayers[v].Character
  3638.             pchar.Parent = game.Lighting
  3639.         end
  3640. end)
  3641.  
  3642. addcmd('unpunish','unpunishs player',{''},
  3643. function(args)
  3644.         local players = getPlayer(args[1])
  3645.         for i,v in pairs(players)do
  3646.             if game.Lighting:FindFirstChild("" .. gPlayers[v].Name) then
  3647.                 game.Lighting:FindFirstChild("" .. gPlayers[v].Name).Parent = game.Workspace
  3648.             end
  3649.         end
  3650. end)
  3651.  
  3652. addcmd('disco','disco party',{''},
  3653. function(args)
  3654.         Disco = true
  3655.         if Disco == true then
  3656.                 repeat wait(0.3)
  3657.                     game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random())
  3658.                 until Disco == false
  3659.         end
  3660. end)
  3661.  
  3662. addcmd('undisco','rip disco party',{''},
  3663. function(args)
  3664.         Disco = false
  3665.         wait(0.1)
  3666.         game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
  3667. end)
  3668.  
  3669. -- Extras --
  3670.  
  3671. Floating = false
  3672.  
  3673. addcmd('float', 'makes player float',{},
  3674. function(args,speaker)
  3675.         Floating = true
  3676.         local players = getPlayer(args[1])
  3677.         for _,v in pairs(players) do
  3678.                 local pchar = gPlayers[v].Character
  3679.                 if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
  3680.                         spawn(function()
  3681.                                 local float = DATA.Float:Clone()
  3682.                                 float.Parent = pchar
  3683.                                 float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
  3684.                                 spawn(function()
  3685.                                         while wait(0.1) do
  3686.                                                 if pchar:FindFirstChild("Float") then
  3687.                                                         float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
  3688.                                                 else
  3689.                                                         break
  3690.                                                 end
  3691.                                         end
  3692.                                 end)
  3693.                         end)
  3694.                 end
  3695.         end
  3696. end)
  3697.  
  3698. addcmd('unfloat','disables floating',{},
  3699. function(args)
  3700.         Floating = false
  3701.         local players = getPlayer(args[1])
  3702.         for i,v in pairs(players)do
  3703.             local pchar = gPlayers[v].Character
  3704.             if pchar:FindFirstChild("Float") then
  3705.                     pchar.Float:Destroy()
  3706.             end
  3707.         end
  3708. end)
  3709.  
  3710. local Clip = true
  3711.  
  3712. addcmd('noclip','enables noclip',{},
  3713. function(args)
  3714. Notify('NoClip Enabled')
  3715. Clip = false
  3716.         wait(1)
  3717.         Name = game.Players.LocalPlayer.Name
  3718.         game:GetService('Players').LocalPlayer.PlayerGui.ChildAdded:connect(function (NC)
  3719.                 delay(0, function()
  3720.                         if NC.Name ~= "OuputGUI" then
  3721.                                 NC:Destroy()
  3722.                         end
  3723.                 end)
  3724.         end)
  3725.         game:GetService('RunService').Stepped:connect(function ()
  3726.     game.Workspace[Name].Torso.CanCollide = Clip
  3727.     game.Workspace[Name].Head.CanCollide = Clip
  3728.         end)
  3729.         game.Workspace[Name].Torso.Changed:connect(function()
  3730.     game.Workspace[Name].Torso.CanCollide = Clip
  3731.         game.Workspace[Name].Head.CanCollide = Clip
  3732.         end)
  3733. end)
  3734.  
  3735. addcmd('clip','disables noclip',{},
  3736. function(args)
  3737.         Notify('NoClip Disabled')
  3738.         Clip = true
  3739. end)
  3740.  
  3741. wait(0.1)
  3742.  
  3743. addcmd('prefix','changes prefix',{},
  3744. function(args)
  3745.         cmdprefix = args[1]
  3746.         Notify('Changed prefix to "' .. args[1] .. '"')
  3747. end)
  3748.  
  3749. addcmd('admins','prints admins',{},
  3750. function(args)
  3751.         for i,v in pairs(AdminFolder:GetChildren()) do
  3752.                 if v:IsA("StringValue") then
  3753.                         print("-" .. v.Value)
  3754.                         Notify('Printed Admins, Check Console')
  3755.                 end
  3756.         end
  3757. end)
  3758.  
  3759. addcmd('bans','prints bans',{},
  3760. function(args)
  3761.         for i,v in pairs(BanFolder:GetChildren()) do
  3762.                 if v:IsA("StringValue") then
  3763.                         print("-" .. v.Value)
  3764.                         Notify('Printed Bans, Check Console')
  3765.                 end
  3766.         end
  3767. end)
  3768.  
  3769. addcmd('version','shows version',{''},
  3770. function(args)
  3771.         Notify("Version is " .. Version)
  3772. end)
  3773.  
  3774. --| Floating |--
  3775.  
  3776. Mouse.KeyDown:connect(function (Key)
  3777.         if Key:byte() == 29 then
  3778.                 if Floating == false then
  3779.                         execCmd("float me", Player)
  3780.                         Floating = true
  3781.                 elseif Floating == true then
  3782.                         execCmd("unfloat me", Player)
  3783.                         Floating = false
  3784.                 end
  3785.         end
  3786. end)
  3787.  
  3788. --| Ban Data |--
  3789.  
  3790. for i,v in pairs(BannedPlayers) do
  3791.         local ban = Instance.new("StringValue", BanFolder)
  3792.         ban.Value = v
  3793.         ban.RobloxLocked = true
  3794. end
  3795.  
  3796. spawn(function ()
  3797.     while wait(0.1) do
  3798.                 for _,a in pairs(game.ContextActionService:GetChildren()) do
  3799.                     if a.Name == "BanList" then
  3800.                             for _,b in pairs(a:GetChildren()) do
  3801.                                     if b:IsA("StringValue") then
  3802.                                             for _,c in pairs(game.Players:GetChildren()) do
  3803.                                                     if c.Name == b.Value then
  3804.                                                             c.PersonalServerRank = 200
  3805.                                                             wait(0.1)
  3806.                                                             c.PersonalServerRank = 0
  3807.                                                     end
  3808.                                             end
  3809.                                     end
  3810.                             end
  3811.                     end
  3812.             end
  3813.     end
  3814. end)
  3815.  
  3816. --| Admin |--
  3817.  
  3818. for i,v in pairs(admins) do
  3819.         local admin = Instance.new("StringValue", AdminFolder)
  3820.         admin.Value = v
  3821.         admin.RobloxLocked = true
  3822. end
  3823.  
  3824. spawn(function ()
  3825.     while wait(0.1) do
  3826.                 for _,a in pairs(game.ContextActionService:GetChildren()) do
  3827.                     if a.Name == "AdminList" then
  3828.                             for _,b in pairs(a:GetChildren()) do
  3829.                                     if b:IsA("StringValue") then
  3830.                                             for _,c in pairs(game.Players:GetChildren()) do
  3831.                                                     if c.Name == b.Value then
  3832.                                                             execCmd('admin ' .. c.Name)
  3833.                                                     end
  3834.                                             end
  3835.                                     end
  3836.                             end
  3837.                     end
  3838.             end
  3839.     end
  3840. end)
  3841.  
  3842.  
  3843.  
  3844.  
  3845.  
  3846.  
  3847.  
  3848.  
  3849.  
  3850.  
  3851.  
  3852.  
  3853.  
  3854.  
  3855.  
  3856.  
  3857.  
  3858.  
  3859.  
  3860.  
  3861.  
  3862. --| Don't.. Touch.. |--
  3863.  
  3864.  
  3865.  
  3866.  
  3867.  
  3868.  
  3869. --| CMD Bar |--
  3870.  
  3871. CMDbar = Instance.new('ScreenGui', game.CoreGui)
  3872. CMDbar.Name = 'GUI'
  3873. cmdBAR = Instance.new('TextBox', CMDbar)
  3874. cmdBAR.Name = 'CMDbar'
  3875. cmdBAR.Active = true
  3876. cmdBAR.BackgroundColor = BrickColor.new(0,0,0)
  3877. cmdBAR.BackgroundTransparency = 0.5
  3878. cmdBAR.BorderColor = BrickColor.new(0,0,0)
  3879. cmdBAR.BorderSizePixel = 0
  3880. cmdBAR.Position = UDim2.new(0,0,1,-25)
  3881. cmdBAR.Size = UDim2.new(0,200,0,20)
  3882. cmdBAR.Font = 'SourceSans'
  3883. cmdBAR.FontSize = 'Size18'
  3884. cmdBAR.Text = 'Press ; to Execute a Command'
  3885. cmdBAR.TextColor = BrickColor.new(255,255,255)
  3886.  
  3887. --| Data |--
  3888.  
  3889. DATA = Instance.new('Folder', game.ContextActionService)
  3890. DATA.Name = 'Data'
  3891.  
  3892. Paper = Instance.new('BlockMesh', DATA)
  3893. Paper.Name = 'Paper'
  3894. Paper.Scale = Vector3.new(1,1,0.1)
  3895.  
  3896. ayylmao = Instance.new('Hat', DATA)
  3897. ayylmao.Name = 'ayylmao'
  3898. ayyHandle = Instance.new('Part', ayylmao)
  3899. ayyHandle.Name = 'Handle'
  3900. ayyHandle.Size = Vector3.new(2,2.4,2)
  3901. ayyHandle.FormFactor = 'Plate'
  3902. ayyMesh = Instance.new('SpecialMesh', ayyHandle)
  3903. ayyMesh.Scale = Vector3.new(1,1.02,1)
  3904. ayyMesh.MeshType = 'FileMesh'
  3905. ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689'
  3906. ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796'
  3907.  
  3908. Float = Instance.new('Part', DATA)
  3909. Float.Name = 'Float'
  3910. Float.Transparency = 1
  3911. Float.Size = Vector3.new(6,1,6)
  3912. Float.Anchored = true
  3913.  
  3914. cmdGUI = Instance.new('ScreenGui', DATA)
  3915. cmdGUI.Name = 'CMDs'
  3916. cmdMAIN = Instance.new('Frame', cmdGUI)
  3917. cmdMAIN.Name = 'MAIN'
  3918. cmdMAIN.Active = true
  3919. cmdMAIN.BackgroundColor = BrickColor.new(0,0,0)
  3920. cmdMAIN.BackgroundTransparency = 0.5
  3921. cmdMAIN.BorderColor = BrickColor.new(0,0,0)
  3922. cmdMAIN.BorderSizePixel = 0
  3923. cmdMAIN.Position = UDim2.new(0,10,0,350)
  3924. cmdMAIN.Size = UDim2.new(0,170,0,15)
  3925. cmdMAIN.Draggable = true
  3926. cmdCMDs = Instance.new('ScrollingFrame', cmdMAIN)
  3927. cmdCMDs.Name = 'CMDs'
  3928. cmdCMDs.BackgroundColor = BrickColor.new(0,0,0)
  3929. cmdCMDs.BackgroundTransparency = 0.8
  3930. cmdCMDs.BorderColor = BrickColor.new(0,0,0)
  3931. cmdCMDs.BorderSizePixel = 0
  3932. cmdCMDs.Position = UDim2.new(0,0,0,15)
  3933. cmdCMDs.Size = UDim2.new(0,200,0,150)
  3934. cmdCMDs.CanvasSize = UDim2.new(0,0,0,0)
  3935. cmdCMDs.TopImage = 'rbxasset://textures/blackBkg_square.png'
  3936. cmdCMDs.MidImage = 'rbxasset://textures/blackBkg_square.png'
  3937. cmdCMDs.BottomImage = 'rbxasset://textures/blackBkg_square.png'
  3938. cmdCMDs.ScrollBarThickness = 2
  3939. cmdExit = Instance.new('TextButton', cmdMAIN)
  3940. cmdExit.Name = 'Exit'
  3941. cmdExit.BackgroundColor = BrickColor.new(255,0,0)
  3942. cmdExit.BackgroundTransparency = 0.5
  3943. cmdExit.BorderColor = BrickColor.new(255,0,0)
  3944. cmdExit.BorderSizePixel = 0
  3945. cmdExit.Position = UDim2.new(0,185,0,0)
  3946. cmdExit.Size = UDim2.new(0,15,0,15)
  3947. cmdExit.Text = ""
  3948. ExitScript = Instance.new('LocalScript', cmdExit)
  3949. ExitScript.Source =
  3950. [[
  3951. script.Parent.MouseButton1Down:connect(function()
  3952.         script.Parent.Parent.Parent:Destroy()
  3953. end)
  3954. ]]
  3955. cmdMin = Instance.new('TextButton', cmdMAIN)
  3956. cmdMin.Name = 'MM'
  3957. cmdMin.BackgroundColor = BrickColor.new(140,140,140)
  3958. cmdMin.BackgroundTransparency = 0.5
  3959. cmdMin.BorderColor = BrickColor.new(140,140,140)
  3960. cmdMin.BorderSizePixel = 0
  3961. cmdMin.Position = UDim2.new(0,170,0,0)
  3962. cmdMin.Size = UDim2.new(0,15,0,15)
  3963. cmdMin.Text = ""
  3964. MinScript = Instance.new('LocalScript', cmdMin)
  3965. MinScript.Source =
  3966. [[
  3967. local CMDs = script.Parent.Parent.CMDs
  3968.  
  3969. script.Parent.MouseButton1Down:connect(function()
  3970.         if CMDs.Visible == true then
  3971.                 CMDs.Visible = false
  3972.         elseif CMDs.Visible == false then
  3973.                 CMDs.Visible = true
  3974.         end
  3975. end)
  3976. ]]
  3977. cmdEx = Instance.new('TextLabel', cmdMAIN)
  3978. cmdEx.Name = 'Example'
  3979. cmdEx.BackgroundColor = BrickColor.new(0,0,0)
  3980. cmdEx.BackgroundTransparency = 0.8
  3981. cmdEx.BorderColor = BrickColor.new(0,0,0)
  3982. cmdEx.BorderSizePixel = 0
  3983. cmdEx.Position = UDim2.new(0,5,0,20)
  3984. cmdEx.Size = UDim2.new(0,190,0,20)
  3985. cmdEx.Visible = false
  3986. cmdEx.TextColor = BrickColor.new(255,255,255)
  3987. cmdEx.TextXAlignment = 'Left'
  3988.  
  3989. duckGUI = Instance.new('ScreenGui', DATA)
  3990. duckGUI.Name = 'Duck'
  3991. duckImage = Instance.new('ImageLabel', duckGUI)
  3992. duckImage.BackgroundTransparency = 1
  3993. duckImage.Position = UDim2.new(0,-300,1,-150)
  3994. duckImage.Size = UDim2.new(0,300,0,300)
  3995. duckImage.Rotation = -30
  3996. duckImage.Image = 'rbxassetid://301388647'
  3997. duckScript = Instance.new('LocalScript', duckGUI)
  3998. duckScript.Source =
  3999. [[
  4000. local duck = script.Parent.ImageLabel
  4001.  
  4002. wait(2)
  4003.  
  4004. duck:TweenPosition(UDim2.new(1, 0, 1, -150), "InOut", "Quad", 3, true, nil)
  4005. ]]
  4006.  
  4007. espMAIN = Instance.new('BillboardGui', DATA)
  4008. espMAIN.Name = 'MAIN'
  4009. espMAIN.AlwaysOnTop = true
  4010. espMAIN.ExtentsOffset = Vector3.new(0,1,0)
  4011. espMAIN.Size = UDim2.new(0,5,0,5)
  4012. espMAIN.StudsOffset = Vector3.new(0,1,0)
  4013. espDot = Instance.new('Frame', espMAIN)
  4014. espDot.BackgroundColor = BrickColor.new(42,181,255)
  4015. espDot.BackgroundTransparency = 0.3
  4016. espDot.BorderSizePixel = 0
  4017. espDot.Position = UDim2.new(-0.5,0,-0.5,0)
  4018. espDot.Size = UDim2.new(2,0,2,0)
  4019. espDot.Visible = false
  4020. espDot.ZIndex = 10
  4021. espName = Instance.new('TextLabel', espMAIN)
  4022. espName.Name = 'Name'
  4023. espName.BackgroundColor = BrickColor.new(0,0,0)
  4024. espName.BackgroundTransparency = 1
  4025. espName.BorderColor = BrickColor.new(0,0,0)
  4026. espName.BorderSizePixel = 0
  4027. espName.Position = UDim2.new(0,0,0,-35)
  4028. espName.Size = UDim2.new(1,0,10,0)
  4029. espName.Visible = false
  4030. espName.ZIndex = 10
  4031.  
  4032. notifyMAIN = Instance.new('ScreenGui', DATA)
  4033. notifyMAIN.Name = 'Notification'
  4034. notifyNOT = Instance.new('Frame', notifyMAIN)
  4035. notifyNOT.Name = 'NOTIFY'
  4036. notifyNOT.BackgroundColor = BrickColor.new(0,0,0)
  4037. notifyNOT.BackgroundTransparency = 0.5
  4038. notifyNOT.BorderColor = BrickColor.new(255,255,255)
  4039. notifyNOT.BorderSizePixel = 2
  4040. notifyNOT.Position = UDim2.new(0,-200,0.7,0)
  4041. notifyNOT.Size = UDim2.new(0,200,0,30)
  4042. notifyNOTE = Instance.new('TextLabel', notifyNOT)
  4043. notifyNOTE.Name = 'NOTE'
  4044. notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
  4045. notifyNOTE.BackgroundTransparency = 1
  4046. notifyNOTE.BorderColor = BrickColor.new(255,255,255)
  4047. notifyNOTE.BorderSizePixel = 0
  4048. notifyNOTE.Size = UDim2.new(1,0,1,0)
  4049. notifyNOTE.ZIndex = 10
  4050. notifyNOTE.FontSize = 'Size18'
  4051. notifyNOTE.Font = 'SourceSans'
  4052. notifyNOTE.Text = 'NOTIFY'
  4053. notifyNOTE.TextColor = BrickColor.new(255,255,255)
  4054. notifyNOTE.TextStrokeColor3 = Color3.new(255,255,255)
  4055. notifyNOTE.TextStrokeTransparency = 0.8
  4056.  
  4057. tpTool = Instance.new('HopperBin', DATA)
  4058. tpTool.Name = 'Teleport'
  4059. tpScript = Instance.new('LocalScript', tpTool)
  4060. tpScript.Source =
  4061. [[
  4062. local Player = game.Players.LocalPlayer
  4063. local Mouse = Player:GetMouse()
  4064.  
  4065. local Tool = script.Parent
  4066.  
  4067. Mouse.Button1Down:connect(function()
  4068.         if Mouse.Target and Tool.Active then
  4069.                 Player.Character.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,2,0)
  4070.         end
  4071. end)
  4072. ]]
  4073.  
  4074. modJAIL = Instance.new('Model', DATA)
  4075. modJAIL.Name = 'JAIL'
  4076. botJAIL = Instance.new('Part', modJAIL)
  4077. botJAIL.Name = 'BOTTOM'
  4078. botJAIL.BrickColor = BrickColor.new('Black')
  4079. botJAIL.Transparency = 0.5
  4080. botJAIL.Position = Vector3.new(-6.2,0.5,-11.6)
  4081. botJAIL.Anchored = true
  4082. botJAIL.Locked = true
  4083. botJAIL.Size = Vector3.new(6,1,6)
  4084. botJAIL.TopSurface = 'Smooth'
  4085. botJAIL.BottomSurface = 'Smooth'
  4086. topJAIL = Instance.new('Part', modJAIL)
  4087. topJAIL.Name = 'BOTTOM'
  4088. topJAIL.BrickColor = BrickColor.new('Black')
  4089. topJAIL.Transparency = 0.5
  4090. topJAIL.Position = Vector3.new(-6.2,7.5,-11.6)
  4091. topJAIL.Anchored = true
  4092. topJAIL.Locked = true
  4093. topJAIL.Size = Vector3.new(6,1,6)
  4094. topJAIL.TopSurface = 'Smooth'
  4095. topJAIL.BottomSurface = 'Smooth'
  4096. p1 = Instance.new('Part', modJAIL)
  4097. p1.Name = 'MAIN'
  4098. p1.BrickColor = BrickColor.new('Black')
  4099. p1.Transparency = 1
  4100. p1.Position = Vector3.new(-8.7,4,-11.6)
  4101. p1.Rotation = Vector3.new(-180,0,-180)
  4102. p1.Anchored = true
  4103. p1.Locked = true
  4104. p1.Size = Vector3.new(1,6,4)
  4105. p1.TopSurface = 'Smooth'
  4106. p1.BottomSurface = 'Smooth'
  4107. p2 = Instance.new('Part', modJAIL)
  4108. p2.BrickColor = BrickColor.new('Black')
  4109. p2.Transparency = 0.5
  4110. p2.Position = Vector3.new(-3.7,4,-14.1)
  4111. p2.Anchored = true
  4112. p2.Locked = true
  4113. p2.Size = Vector3.new(1,6,1)
  4114. p2.TopSurface = 'Smooth'
  4115. p2.BottomSurface = 'Smooth'
  4116. p3 = Instance.new('Part', modJAIL)
  4117. p3.BrickColor = BrickColor.new('Black')
  4118. p3.Transparency = 0.5
  4119. p3.Position = Vector3.new(-8.7,4,-9.1)
  4120. p3.Anchored = true
  4121. p3.Locked = true
  4122. p3.Size = Vector3.new(1,6,1)
  4123. p3.TopSurface = 'Smooth'
  4124. p3.BottomSurface = 'Smooth'
  4125. p4 = Instance.new('Part', modJAIL)
  4126. p4.BrickColor = BrickColor.new('Black')
  4127. p4.Transparency = 0.5
  4128. p4.Position = Vector3.new(-3.7,4,-9.1)
  4129. p4.Anchored = true
  4130. p4.Locked = true
  4131. p4.Size = Vector3.new(1,6,1)
  4132. p4.TopSurface = 'Smooth'
  4133. p4.BottomSurface = 'Smooth'
  4134. p5 = Instance.new('Part', modJAIL)
  4135. p5.BrickColor = BrickColor.new('Black')
  4136. p5.Transparency = 0.5
  4137. p5.Position = Vector3.new(-8.7,4,-14.1)
  4138. p5.Anchored = true
  4139. p5.Locked = true
  4140. p5.Size = Vector3.new(1,6,1)
  4141. p5.TopSurface = 'Smooth'
  4142. p5.BottomSurface = 'Smooth'
  4143. p6 = Instance.new('Part', modJAIL)
  4144. p6.BrickColor = BrickColor.new('Black')
  4145. p6.Transparency = 1
  4146. p6.Position = Vector3.new(-6.2,4,-14.1)
  4147. p6.Rotation = Vector3.new(0,90,0)
  4148. p6.Anchored = true
  4149. p6.Locked = true
  4150. p6.Size = Vector3.new(1,6,4)
  4151. p6.TopSurface = 'Smooth'
  4152. p6.BottomSurface = 'Smooth'
  4153. p7 = Instance.new('Part', modJAIL)
  4154. p7.BrickColor = BrickColor.new('Black')
  4155. p7.Transparency = 1
  4156. p7.Position = Vector3.new(-3.7,4,-11.6)
  4157. p7.Anchored = true
  4158. p7.Locked = true
  4159. p7.Size = Vector3.new(1,6,4)
  4160. p7.TopSurface = 'Smooth'
  4161. p7.BottomSurface = 'Smooth'
  4162. p8 = Instance.new('Part', modJAIL)
  4163. p8.BrickColor = BrickColor.new('Black')
  4164. p8.Transparency = 1
  4165. p8.Position = Vector3.new(-6.2,4,-9.1)
  4166. p8.Rotation = Vector3.new(0,90,0)
  4167. p8.Anchored = true
  4168. p8.Locked = true
  4169. p8.Size = Vector3.new(1,6,4)
  4170. p8.TopSurface = 'Smooth'
  4171. p8.BottomSurface = 'Smooth'
  4172.  
  4173. --| Some Commands |--
  4174.  
  4175. addcmd('ayylmao','ayy lmao',{''},
  4176. function(args)
  4177.         local players = getPlayer(args[1])
  4178.         for i,v in pairs(players)do
  4179.             local pchar = gPlayers[v].Character
  4180.             if pchar:FindFirstChild("Shirt") then
  4181.                     pchar.Shirt:Destroy()
  4182.             end
  4183.             if pchar:FindFirstChild("Pants") then
  4184.                     pchar.Pants:Destroy()
  4185.             end
  4186.             if pchar:FindFirstChild("Shirt Graphic") then
  4187.                     pchar["Shirt Graphic"].Graphic = ""
  4188.             end
  4189.             for i,v in pairs(pchar:GetChildren()) do
  4190.                     if v:IsA("Hat") then
  4191.                             v:Destroy()
  4192.                     end
  4193.             end
  4194.             local ayylmao = DATA.ayylmao:Clone()
  4195.             ayylmao.Parent = pchar
  4196.             local BC = pchar["Body Colors"]
  4197.             BC.HeadColor = BrickColor.new("Fossil")
  4198.             BC.LeftArmColor = BrickColor.new("Fossil")
  4199.             BC.LeftLegColor = BrickColor.new("Fossil")
  4200.             BC.RightArmColor = BrickColor.new("Fossil")
  4201.             BC.RightLegColor = BrickColor.new("Fossil")
  4202.             BC.TorsoColor = BrickColor.new("Fossil")
  4203.         end
  4204. end)
  4205.  
  4206. -- CMDs GUI --
  4207.  
  4208. CMDsFolder = Instance.new("Folder", game.CoreGui)
  4209.  
  4210. for i,v in pairs(CMDs) do
  4211.         CMDsValue = Instance.new("StringValue", CMDsFolder)
  4212.         CMDsValue.Value = v
  4213.         CMDsValue.RobloxLocked = true
  4214. end
  4215.  
  4216. local function commands()
  4217.         local cmds = DATA.CMDs:Clone()
  4218.         cmds.Parent = Player.PlayerGui
  4219.         local CMDsV = CMDsFolder:GetChildren()
  4220.         for i = 1, #CMDsV do
  4221.                 local YSize = 25
  4222.                 local Position = ((i * YSize) - YSize)
  4223.                 local newcmd = cmds.MAIN.Example:Clone()
  4224.                 newcmd.Parent = cmds.MAIN.CMDs
  4225.                 newcmd.Visible = true
  4226.                 newcmd.Position = UDim2.new(0,5,0, Position + 5)
  4227.                 newcmd.Text = "" .. CMDsV[i].Value
  4228.                 cmds.MAIN.CMDs.CanvasSize = UDim2.new(0,0,0, Position + 30)
  4229.         end
  4230. end
  4231.  
  4232. addcmd('cmds','prints cmds',{},
  4233. function(args)
  4234.         commands()
  4235. end)
  4236.  
  4237. --| Command Bar |--
  4238.  
  4239. CMDbar.CMDbar.FocusLost:connect(function(enterpressed)
  4240.         if enterpressed and CMDbar.CMDbar.Text ~= "" then
  4241.                 spawn(function ()
  4242.                         execCmd(CMDbar.CMDbar.Text, Player)
  4243.                 end)
  4244.         end
  4245.         CMDbar.CMDbar:TweenPosition(UDim2.new(0, -200, 1, -25), "InOut", "Quad", 0.5, true, nil)
  4246. end)
  4247.  
  4248. Mouse.KeyDown:connect(function(Key)
  4249.         if Key:byte() == 59 then
  4250.                 CMDbar.CMDbar:TweenPosition(UDim2.new(0, 0, 1, -25), "InOut", "Quad", 0.5, true, nil)
  4251.                 CMDbar.CMDbar:CaptureFocus()
  4252.         end
  4253. end)
  4254.  
  4255. --| ESP Function |--
  4256.  
  4257. local ESP = false
  4258. local track = false
  4259.  
  4260. function Create(base, team)
  4261.     local MAIN = DATA.MAIN:Clone()
  4262.     local F = MAIN.DOT
  4263.     local ESP = MAIN.NAME
  4264.  
  4265.     MAIN.Parent = Player.PlayerGui
  4266.         MAIN.Adornee = base
  4267.        
  4268.         F.Visible = true
  4269.        
  4270.         ESP.Text = base.Parent.Name:upper()
  4271.         ESP.Visible = true
  4272. end
  4273.  
  4274. function Clear()
  4275.         for _,v in pairs(Player.PlayerGui:children()) do
  4276.                 if v.Name == "MAIN" and v:IsA("BillboardGui") then
  4277.                         v:Destroy()
  4278.                 end
  4279.         end
  4280. end
  4281.  
  4282. function Find()
  4283.         Clear()
  4284.         track = true
  4285.         spawn(function()
  4286.                 while wait() do
  4287.                         if track then
  4288.                                 Clear()
  4289.                                 for i,v in pairs(game.Players:players()) do
  4290.                                         if v.Character and v.Character.Head then
  4291.                                                 Create(v.Character.Head, true)
  4292.                                         end
  4293.                                 end
  4294.                         end
  4295.                         wait(1)
  4296.                 end
  4297.         end)
  4298. end
  4299.  
  4300. --| ESP |--
  4301.  
  4302. Mouse.KeyDown:connect(function(Key)
  4303.         if Key:byte() == 30 then
  4304.                 if ESP == false then
  4305.                         Find()
  4306.                     ESP = true
  4307.                 elseif ESP == true then
  4308.                         Clear()
  4309.                         track = false
  4310.                         ESP = false
  4311.                 end
  4312.         end
  4313. end)
  4314.  
  4315. --| More Functions |--
  4316.  
  4317. local NOTIFY = DATA.Notification
  4318. NOTIFY.Parent = game.CoreGui
  4319.  
  4320. local duck = DATA.Duck:Clone()
  4321. duck.Parent = Player.PlayerGui
  4322.  
  4323. local usingNOTE = false
  4324.  
  4325. function Notify(msg)
  4326.         if usingNOTE == false then
  4327.                 if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
  4328.                         spawn(function()
  4329.                                 NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
  4330.                                 NOTIFY.NOTIFY.NOTE.Text = msg
  4331.                                 usingNOTE = true
  4332.                                 wait(2.5)
  4333.                                 NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, -200, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
  4334.                                 usingNOTE = false
  4335.                     end)
  4336.                 end
  4337.         end
  4338. end
  4339.  
  4340. --| Notifications |--
  4341.  
  4342. wait(1)
  4343.  
  4344. if game.Workspace.FilteringEnabled == true then
  4345.         NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,0,0)
  4346.         Notify('Filtering is ENABLED.')
  4347. elseif game.Workspace.FilteringEnabled == false then
  4348.         NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,0)
  4349.         Notify('Filtering is Disabled.')
  4350. end
  4351.  
  4352. wait(3.5)
  4353.  
  4354. NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,255,255)
  4355.  
  4356. Notify('Loaded ' .. #cmds .. ' commands!')
  4357.  
  4358. wait(3.5)
  4359.  
  4360. Notify('Welcome ' .. Player.Name .. '!')
  4361.  
  4362. Player.PlayerGui.Duck:Destroy()
  4363.  
  4364. --[[
  4365. addcmd('name','desc',{''},
  4366. function(args)
  4367.         local players = getPlayer(args[1])
  4368.         for i,v in pairs(players)do
  4369.             local pchar = gPlayers[v].Character
  4370.         end
  4371. end)
  4372. --]]
  4373.         end)
  4374. --
  4375. local button = Instance.new("TextButton")
  4376.         button.Parent = acg
  4377.         button.BackgroundColor3 = blak
  4378.         button.BorderColor3 = rede
  4379.         button.BorderSizePixel = 3
  4380.         button.Name = "Nex Pluvia Admin"
  4381.         button.Position = UDim2.new(0,0,0,66)
  4382.         button.Size = UDim2.new(0.5,0,0,30)
  4383.         button.ZIndex = 2
  4384.         button.Font = tef
  4385.         button.FontSize = "Size14"
  4386.         button.Text = "Nex Pluvia Admin"
  4387.         button.TextColor3 = whit
  4388.         button.TextWrapped = true
  4389.         button.MouseButton1Down:connect(function()
  4390.                 version="Pluvia"
  4391. Selection=1
  4392. TextBoxInUse=false
  4393. Player=nil
  4394. ColorSelection=BrickColor.new('Bright violet')
  4395. Uninstalled=false
  4396. Commands={}
  4397. Scope=nil
  4398. CustomFunction=""
  4399. Services={
  4400.         InsertService=game:service'InsertService',
  4401.         Workspace=game:service'Workspace',
  4402.         Lighting=game:service'Lighting',
  4403.         Players=game:service'Players',
  4404.         Debris=game:service'Debris',
  4405.         Chat=game:service'Chat',
  4406. }
  4407. m=Services.Players.LocalPlayer:GetMouse()
  4408. SGUI=Instance.new('ScreenGui',Services.Players.LocalPlayer.PlayerGui)
  4409. BAR=Instance.new('Frame',SGUI)
  4410. BAR.Size=UDim2.new(1,0,0,20)
  4411. BAR.Position=UDim2.new(0,0,0,20)
  4412. BAR.BorderSizePixel=0
  4413. BAR.BackgroundColor3=Color3.new(0,0,0)
  4414. TEXTBOX=Instance.new('TextLabel',BAR)
  4415. TEXTBOX.Size=UDim2.new(1,0,1,0)
  4416. TEXTBOX.BackgroundTransparency=1
  4417. TEXTBOX.TextColor3=Color3.new(453,0,435)
  4418. TEXTBOX.FontSize="Size12"
  4419. PlayerCheck=function()
  4420.         if m.Target ~= nil then
  4421.                 for i,v in ipairs(Services.Players:GetPlayers())do
  4422.                         if(v.Character and m.Target:IsDescendantOf(v.Character))then
  4423.                                 return v;
  4424.                         end;
  4425.                 end;
  4426.         end
  4427. end
  4428. GUIRefresh=function()
  4429.         if not TextBoxInUse then
  4430.                 local StartOp=""
  4431.                 local EndOp=""
  4432.                 if Selection > 1 then
  4433.                         StartOp = Scope[Selection-1][1]
  4434.                 end
  4435.                 if Selection < #Scope then
  4436.                        EndOp = Scope[Selection+1][1]
  4437.                end
  4438.                TEXTBOX.Text = "<-- "..StartOp.." | ["..Selection.."]: ["..Scope[Selection][1].."] | "..EndOp.." -->"
  4439.         end
  4440. end
  4441. GUIDisplay=function(string)
  4442.         TextBoxInUse=true
  4443.         for i = 1,string.len(string) do
  4444.                 TEXTBOX.Text = string.sub(string,1,i).."_"
  4445.                 wait(.05)
  4446.         end
  4447.         wait(string.len(string)/15)
  4448.         TextBoxInUse=false
  4449.         GUIRefresh()
  4450. end
  4451. Commands={
  4452.         {"Nex Pluvia",
  4453.                    function()
  4454.                         local ids = {63043890,19398258,1272714,20642008,1235488,11748356,10468797}
  4455.                         if Commands[2][3] == true then
  4456.                                 for _,v in pairs(Services.Players.LocalPlayer.Character:GetChildren()) do
  4457.                                         for _,x in pairs(ids) do
  4458.                                                 if v.Name == "ExtraAsset" then
  4459.                                                         v.Parent=nil
  4460.                                                 end
  4461.                                         end
  4462.                                 end
  4463.                                 Commands[2][3] = false
  4464.                         else
  4465.                                 for _,v in pairs(ids) do
  4466.                                         local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
  4467.                                         NewAsset.Parent=Services.Players.LocalPlayer.Character
  4468.                                         NewAsset.Name = "ExtraAsset"
  4469.                                 end
  4470.                                 Commands[2][3] = true
  4471.                         end
  4472.                 end,
  4473.                 false
  4474.         },
  4475.         {"Nex Pluvia",
  4476.                 function()
  4477.                         local ids = {21070012,1031429,108149175,14815761}
  4478.                         if Commands[2][3] == true then
  4479.                                 for _,v in pairs(Services.Players.LocalPlayer.Character:GetChildren()) do
  4480.                                         for _,x in pairs(ids) do
  4481.                                                 if v.Name == "ExtraAsset" then
  4482.                                                         v.Parent=nil
  4483.                                                 end
  4484.                                         end
  4485.                                 end
  4486.                                 Commands[2][3] = false
  4487.                         else
  4488.                                 for _,v in pairs(ids) do
  4489.                                         local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
  4490.                                         NewAsset.Parent=Services.Players.LocalPlayer.Character
  4491.                                         NewAsset.Name = "ExtraAsset"
  4492.                                 end
  4493.                                 Commands[2][3] = true
  4494.                         end
  4495.                 end,
  4496.                 false
  4497.         },
  4498.         {"Nex Pluvia",
  4499.                 function()
  4500.                         local ids = {1125510,14815761,1235488,11748356,1029025,108149175}
  4501.                         if Commands[2][3] == true then
  4502.                                 for _,v in pairs(Services.Players.LocalPlayer.Character:GetChildren()) do
  4503.                                         for _,x in pairs(ids) do
  4504.                                                 if v.Name == "ExtraAsset" then
  4505.                                                         v.Parent=nil
  4506.                                                 end
  4507.                                         end
  4508.                                 end
  4509.                                 Commands[2][3] = false
  4510.                         else
  4511.                                 for _,v in pairs(ids) do
  4512.                                         local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
  4513.                                         NewAsset.Parent=Services.Players.LocalPlayer.Character
  4514.                                         NewAsset.Name = "ExtraAsset"
  4515.                                 end
  4516.                                 Commands[2][3] = true
  4517.                         end
  4518.                 end,
  4519.                 false
  4520.         },
  4521.         {"Fire*",
  4522.                 function()
  4523.                         if pcall(function() Services.Players.LocalPlayer.Character.Head.Fire.Parent=nil end) then
  4524.                         else
  4525.                                 pcall(function()
  4526.                                         fire=Instance.new('Fire',Services.Players.LocalPlayer.Character.Head)
  4527.                                         fire.Size=3
  4528.                                         fire.Color=Color3.new(453,0,435)
  4529.                                         fire.SecondaryColor=Color3.new(453,0,435)
  4530.                                 end)
  4531.                         end
  4532.                 end
  4533.         },
  4534.         {"Invincibility*",
  4535.                 function()
  4536.                         pcall(function()
  4537.                                 if Services.Players.LocalPlayer.Character.Humanoid.MaxHealth==100 then
  4538.                                         Services.Players.LocalPlayer.Character.Humanoid.MaxHealth=math.huge
  4539.                                 else
  4540.                                         Services.Players.LocalPlayer.Character.Humanoid.MaxHealth=100
  4541.                                 end
  4542.                         end)
  4543.                 end
  4544.         },
  4545.         {"Teleport*",
  4546.                 function()
  4547.                         if m.Target ~= nil then
  4548.                                 pcall(function() Services.Players.LocalPlayer.Character:MoveTo(m.Hit.p) end)
  4549.                         end
  4550.                 end
  4551.         },
  4552.         {"Teleport",
  4553.                 function()
  4554.                         if Player == nil and m.Target ~= nil then
  4555.                                 if PlayerCheck() then
  4556.                                         Player=PlayerCheck()
  4557.                                 end
  4558.                                 pcall(function()
  4559.                                         for _,v in pairs(Player.Character:GetChildren()) do
  4560.                                                 if v:IsA('Part') then
  4561.                                                         local sb = Instance.new('SelectionBox',Services.Workspace.CurrentCamera)
  4562.                                                         sb.Adornee = v
  4563.                                                         sb.Name = "sb"
  4564.                                                         sb.Color = BrickColor.new('Bright violet')
  4565.                                                 end
  4566.                                         end
  4567.                                 end)
  4568.                         elseif Player ~= nil then
  4569.                                 pcall(function()
  4570.                                         Player.Character:MoveTo(m.Hit.p)
  4571.                                 end)
  4572.                                 Player = nil
  4573.                                 for _,v in pairs(Services.Workspace.CurrentCamera:GetChildren()) do
  4574.                                         if v:IsA('SelectionBox') and v.Name == "sb" then
  4575.                                                 v.Parent=nil
  4576.                                         end
  4577.                                 end
  4578.                         end
  4579.                 end
  4580.         },
  4581.         {"Kill",
  4582.                 function()
  4583.                         pcall(function() PlayerCheck().Character:BreakJoints() end)
  4584.                 end
  4585.         },
  4586.         {"Invincibility",
  4587.                 function()
  4588.                         pcall(function()
  4589.                                 if PlayerCheck().Character.Humanoid.MaxHealth==100 then
  4590.                                         PlayerCheck().Character.Humanoid.MaxHealth=math.huge
  4591.                                 else
  4592.                                         PlayerCheck().Character.Humanoid.MaxHealth=100
  4593.                                 end
  4594.                         end)
  4595.                 end
  4596.         },
  4597.         {":BreakJoints()",
  4598.                 function()
  4599.                         pcall(function() m.Target:BreakJoints() end)
  4600.                 end
  4601.         },
  4602.         {"Kick",
  4603.                 function()
  4604.                         pcall(function() PlayerCheck().Parent=nil end)
  4605.                 end
  4606.         },
  4607.         {"Custom Function",
  4608.                 function()
  4609.                         Spawn(loadstring(CustomFunction))
  4610.                 end
  4611.         },
  4612.         {"LinkedSword",
  4613.                 function()
  4614.                         Services.InsertService:LoadAsset(47433):GetChildren()[1].Parent=Services.Players.LocalPlayer.Backpack
  4615.                 end
  4616.         },
  4617.         {":GetFullName()",
  4618.                 function()
  4619.                         if m.Target then
  4620.                                 local string = m.Target:GetFullName()
  4621.                                 if string then
  4622.                                         GUIDisplay(string)
  4623.                                 end
  4624.                         else
  4625.                                 GUIDisplay("nil")
  4626.                         end
  4627.                 end
  4628.         },
  4629.         {"Humanoid", --Category
  4630.                 function()
  4631.                         Scope=Commands.Humanoid[3]
  4632.                         Selection=1
  4633.                         GUIRefresh()
  4634.                 end,
  4635.                 {
  4636.                         {"Up Scope",
  4637.                                 function()
  4638.                                         Scope=Commands
  4639.                                         Selection=1
  4640.                                         GUIRefresh()
  4641.                                 end
  4642.                         },
  4643.                         {"Humanoid",
  4644.                                 function()
  4645.                                         if PlayerCheck() then
  4646.                                                 if pcall(function() PlayerCheck().Character.Humanoid.Parent=nil end) then
  4647.                                                 else
  4648.                                                         pcall(function() Instance.new('Humanoid',PlayerCheck().Character) end)
  4649.                                                 end
  4650.                                         end
  4651.                                 end
  4652.                         },
  4653.                         {"Remove Head",
  4654.                                 function()
  4655.                                         pcall(function() PlayerCheck().Character.Head.Parent=nil end)
  4656.                                 end
  4657.                         },
  4658.                         {"PlatformStand",
  4659.                                 function()
  4660.                                         pcall(function()
  4661.                                                 if PlayerCheck().Character.Humanoid.PlatformStand==true then
  4662.                                                         PlayerCheck().Character.Humanoid.PlatformStand=false
  4663.                                                 else
  4664.                                                         PlayerCheck().Character.Humanoid.PlatformStand=true
  4665.                                                 end
  4666.                                         end)
  4667.                                 end
  4668.                         },
  4669.                         {"Sit",
  4670.                                 function()
  4671.                                         pcall(function()
  4672.                                                 if PlayerCheck().Character.Humanoid.Sit==true then
  4673.                                                         PlayerCheck().Character.Humanoid.Sit=false
  4674.                                                 else
  4675.                                                         PlayerCheck().Character.Humanoid.Sit=true
  4676.                                                 end
  4677.                                         end)
  4678.                                 end
  4679.                         },
  4680.                         {"WalkSpeed",
  4681.                                 function()
  4682.                                         pcall(function()
  4683.                                                 if PlayerCheck().Character.Humanoid.WalkSpeed==16 then
  4684.                                                         PlayerCheck().Character.Humanoid.WalkSpeed=0
  4685.                                                 else
  4686.                                                         PlayerCheck().Character.Humanoid.WalkSpeed=16
  4687.                                                 end
  4688.                                         end)
  4689.                                 end
  4690.                         },
  4691.                 }
  4692.         },
  4693.         {"Building", --Category
  4694.                 function()
  4695.                         Scope=Commands.Building[3]
  4696.                         Selection=1
  4697.                         GUIRefresh()
  4698.                 end,
  4699.                 {
  4700.                         {"Up Scope",
  4701.                                 function()
  4702.                                         Scope=Commands
  4703.                                         Selection=1
  4704.                                         GUIRefresh()
  4705.                                 end
  4706.                         },
  4707.                         {"Color",
  4708.                                 function()
  4709.                                         pcall(function() m.Target.BrickColor = ColorSelection end)
  4710.                                 end
  4711.                         },
  4712.                         {"Color Picker",
  4713.                                 function()
  4714.                                         pcall(function() ColorSelection = m.Target.BrickColor end)
  4715.                                 end
  4716.                         },
  4717.                         {"Anchor",
  4718.                                 function()
  4719.                                         pcall(function() m.Target.Anchored=true end)
  4720.                                 end
  4721.                         },
  4722.                         {"Unanchor",
  4723.                                 function()
  4724.                                         pcall(function() m.Target.Anchored=false end)
  4725.                                 end
  4726.                         },
  4727.                         {"Decal",
  4728.                                 function()
  4729.                                         pcall(function()
  4730.                                                 decal = Instance.new('Decal',m.Target)
  4731.                                                 decal.Face = m.TargetSurface
  4732.                                                 decal.Texture = "http://roblox.com/asset/?id=123659742"
  4733.                                         end)
  4734.                                 end
  4735.                         },
  4736.                         {"Decal2",
  4737.                                 function()
  4738.                                         pcall(function()
  4739.                                                 decal = Instance.new('Decal',m.Target)
  4740.                                                 decal.Face = m.TargetSurface
  4741.                                                 decal.Texture = "http://roblox.com/asset/?id=121987185"
  4742.                                         end)
  4743.                                 end
  4744.                         },
  4745.                         {"Remove Decal",
  4746.                                 function()
  4747.                                         pcall(function()
  4748.                                                 for _,v in pairs(m.Target:GetChildren()) do
  4749.                                                         if v:IsA('Decal') then
  4750.                                                                 if v.Face == m.TargetSurface then
  4751.                                                                         v.Parent=nil
  4752.                                                                 end
  4753.                                                         end
  4754.                                                 end
  4755.                                         end)
  4756.                                 end
  4757.                         },
  4758.                 }
  4759.         },
  4760. }
  4761. for i,v in ipairs(Commands)do------------------------ALA_STUFF
  4762.         Commands[v[1]]=v;--------------------------------ALA_STUFF
  4763. end;-------------------------------------------------ALA_STUFF
  4764. Scope=Commands
  4765. if script then
  4766.         script.Parent=Services.Players.LocalPlayer.PlayerGui
  4767.         script.Name="[Nex v"..version.."]"
  4768. end
  4769. coroutine.wrap(function() repeat wait() until Services.Players.LocalPlayer.Character
  4770. Services.Chat:Chat(Services.Players.LocalPlayer.Character.Head,"Nex "..version.." Installed",Enum.ChatColor.Blue)
  4771. end)()
  4772. GUIDisplay("..Nex Loaded - Made by Nex Pluvia...")
  4773. QDown=false
  4774. EDown=false
  4775. m.KeyDown:connect(function(key)
  4776.         if not Uninstalled then
  4777.                 if key == "q" then
  4778.                         if not EDown then
  4779.                                 QDown=true
  4780.                                 repeat
  4781.                                         if Selection > 1 then
  4782.                                                 Selection=Selection-1
  4783.                                         end
  4784.                                         GUIRefresh()
  4785.                                         wait(.25)
  4786.                                 until QDown == false
  4787.                         end
  4788.                 elseif key == "e" then
  4789.                         if not QDown then
  4790.                                 EDown=true
  4791.                                 repeat
  4792.                                         if Selection < #Scope then
  4793.                                                Selection=Selection+1
  4794.                                        end
  4795.                                        GUIRefresh()
  4796.                                        wait(.25)
  4797.                                until EDown == false
  4798.                        end
  4799.                elseif key == "r" then
  4800.                        if not Uninstalled then
  4801.                                coroutine.wrap(function()
  4802.                                        if m.Target then
  4803.                                                sb = Instance.new('SelectionBox',Services.Workspace.CurrentCamera)
  4804.                                                sb.Adornee = m.Target
  4805.                                                sb.Name = "sb"
  4806.                                                sb.Color = BrickColor.new('Bright violet')
  4807.                                                wait(.25)
  4808.                                                for _,v in pairs(Services.Workspace.CurrentCamera:GetChildren()) do
  4809.                                                        if v:IsA('SelectionBox') and v.Name == "sb" then
  4810.                                                                v.Parent=nil
  4811.                                                        end
  4812.                                                end
  4813.                                        end
  4814.                                end)()
  4815.                                Scope[Selection][2]()
  4816.                        end
  4817.                end
  4818.        end
  4819. end)
  4820. m.KeyUp:connect(function(key)
  4821.        if not Uninstalled then
  4822.                if key == "q" then
  4823.                        QDown=false
  4824.                elseif key == "e" then
  4825.                        EDown=false
  4826.                end
  4827.        end
  4828. end)
  4829. Services.Players.LocalPlayer.Chatted:connect(function(msg)
  4830.        if not Uninstalled then
  4831.                if string.lower(msg) == "uninstall Nex" then
  4832.                        Uninstalled = true
  4833.                        Services.Chat:Chat(Services.Players.LocalPlayer.Character.Head,"Nex "..version.." UNINSTALLED",Enum.ChatColor.Blue)
  4834.                        SGUI.Parent=nil
  4835.                        if script then
  4836.                                script.Parent=nil
  4837.                        end
  4838.                elseif string.sub(string.lower(msg),1,2) == "c/" then
  4839.                        pcall(function() ColorSelection = BrickColor.new(string.sub(msg,3)) end)
  4840.                elseif string.sub(string.lower(msg),1,2) == "m/" then
  4841.                        for _,v in pairs(Services.Players:GetChildren()) do
  4842.                                if v.Name ~= Services.Players.LocalPlayer.Name then
  4843.                                        Services.Chat:Chat(v.Character.Head,string.sub(msg,3),Enum.ChatColor.Green)
  4844.                                end
  4845.                        end
  4846.                elseif string.sub(string.lower(msg),1,3) == "cf/" then
  4847.                        CustomFunction=string.sub(msg,4)
  4848.                end
  4849.        end
  4850. end)
  4851.         end)   
  4852.         --
  4853. local button = Instance.new("TextButton")
  4854.         button.Parent = acg
  4855.         button.BackgroundColor3 = blak
  4856.         button.BorderColor3 = rede
  4857.         button.BorderSizePixel = 3
  4858.         button.Name = "Empty"
  4859.         button.Position = UDim2.new(0.5,3,0,66)
  4860.         button.Size = UDim2.new(0.5,-3,0,30)
  4861.         button.ZIndex = 2
  4862.         button.Font = tef
  4863.         button.FontSize = "Size14"
  4864.         button.Text = "Empty"
  4865.         button.TextColor3 = whit
  4866.         button.MouseButton1Down:connect(function()
  4867.                
  4868.         end)
  4869. --
  4870. local button = Instance.new("TextButton")
  4871.         button.Parent = acg
  4872.         button.BackgroundColor3 = blak
  4873.         button.BorderColor3 = rede
  4874.         button.BorderSizePixel = 3
  4875.         button.Name = "Kill Gui"
  4876.         button.Position = UDim2.new(0,0,0,99)
  4877.         button.Size = UDim2.new(0.5,0,0,30)
  4878.         button.ZIndex = 2
  4879.         button.Font = tef
  4880.         button.FontSize = "Size14"
  4881.         button.Text = "Kill Gui"
  4882.         button.TextColor3 = whit
  4883.         button.MouseButton1Down:connect(function()
  4884.                 whoownit = game.Players.LocalPlayer
  4885. gui = Instance.new("ScreenGui")
  4886. gui.Parent = whoownit.PlayerGui
  4887. gui.Name = "Kill"
  4888.  
  4889. pos = 135
  4890. pos2 = 10
  4891. pos3 = 0
  4892.  
  4893. enabled = false
  4894.  
  4895. button = Instance.new("TextButton")
  4896. button.Parent = gui
  4897. button.Size = UDim2.new(0, 100, 0, 30)
  4898. button.Position = UDim2.new(0, 8, 0, pos)
  4899. button.Text = "Kill"
  4900. button.MouseButton1Click:connect(function()
  4901. if enabled == false then
  4902. enabled = true
  4903. local a = game.Players:GetChildren()
  4904. red = 0
  4905. green = 0.5
  4906. blue = 0
  4907. for i=1, #a do
  4908. wait()
  4909. pos2 = pos2 + 23
  4910. if pos2 >= 450 then
  4911. pos3 = pos3 + 103
  4912. pos2 = 33
  4913. end
  4914. if green <= 0.9 then
  4915. green = green + 0.46
  4916. elseif green >= 0.9 then
  4917. green = green - 0.46
  4918. end
  4919. local bu = Instance.new("TextButton")
  4920. bu.Parent = button
  4921. bu.Size = UDim2.new(0, 100, 0, 20)
  4922. bu.Position = UDim2.new(0, pos3, 0, pos2)
  4923. bu.Text = a[i].Name
  4924. bu.BackgroundTransparency = 1
  4925. bu.TextTransparency = 1
  4926. bu.BackgroundColor3 = Color3.new(red,green,blue)
  4927. coroutine.resume(coroutine.create(function()
  4928. for i=1, 3 do
  4929. wait()
  4930. bu.BackgroundTransparency = bu.BackgroundTransparency - 0.34
  4931. bu.TextTransparency = bu.BackgroundTransparency
  4932. end
  4933. end))
  4934. bu.MouseButton1Down:connect(function()
  4935. local play = game.Players:findFirstChild(bu.Text)
  4936. if play ~= nil then
  4937. play.Character.Head:Remove()
  4938. bu.Text = "Killed!"
  4939. wait(2)
  4940. bu.Text = a[i].Name
  4941. end
  4942. end)
  4943. end
  4944. elseif enabled == true then
  4945. enabled = false
  4946. pos2 = 10
  4947. pos3 = 0
  4948. end
  4949. end)
  4950.         end)
  4951. --
  4952. local button = Instance.new("TextButton")
  4953.         button.Parent = acg
  4954.         button.BackgroundColor3 = blak
  4955.         button.BorderColor3 = rede
  4956.         button.BorderSizePixel = 3
  4957.         button.Name = "Silent Executor"
  4958.         button.Position = UDim2.new(0.5,3,0,99)
  4959.         button.Size = UDim2.new(0.5,-3,0,30)
  4960.         button.ZIndex = 2
  4961.         button.Font = tef
  4962.         button.FontSize = "Size14"
  4963.         button.Text = "Silent Executor"
  4964.         button.TextColor3 = whit
  4965.         button.TextWrapped = true
  4966.         button.MouseButton1Down:connect(function()
  4967.                 openkey = "y"
  4968.  
  4969. closing=false
  4970. function doclose() if not closing and not opening then closing=true
  4971. if exe.Rotation == 0 then
  4972. for i=0,-360,-20 do
  4973. exe.Rotation=i wait()
  4974. end
  4975. exe.Rotation = 0
  4976. for i=1,20 do
  4977. exe.Position = exe.Position + UDim2.new(-0.1,0,0,0) wait()
  4978. end
  4979. exe.Visible=false show.Visible=true
  4980. exe.Position = UDim2.new(0.5, -291, 0.5, -157)
  4981. for _,mpops in pairs(CodeExecutorLocal.Parent:GetChildren()) do
  4982. if mpops:IsA("ScreenGui") and mpops.Name == "MessagePopup" then
  4983. mpops:Destroy()
  4984. end
  4985. end wait()
  4986. end
  4987. closing=false end
  4988. end
  4989.  
  4990. opening=false
  4991. function doopen() if not opening and not closing then opening=true
  4992. exe.Visible = true
  4993. show.Visible=false
  4994. for i=0,360,20 do
  4995. exe.Rotation = i wait()
  4996. end
  4997. exe.Rotation = 0
  4998. if not viewed then viewed=true wait(3)
  4999. for i=1,55 do
  5000. V3Logo.Position = V3Logo.Position + UDim2.new(0,0,-0.02,0) wait()
  5001. end
  5002. V3Logo:Destroy()
  5003. end
  5004. end
  5005. opening=false
  5006. end
  5007. function guimsg(header,message,duration,daddy)
  5008. MessagePopup = Instance.new("ScreenGui", daddy)
  5009. MessagePopup.Name = "MessagePopup"
  5010.  
  5011. bg = Instance.new("Frame", MessagePopup)
  5012. bg.Name = "bg"
  5013. bg.Position = UDim2.new(0.5, -200, 0.20000000298023, 0)
  5014. bg.Size = UDim2.new(0, 400, 0, 140)
  5015. bg.BackgroundColor3 = Color3.new(0, 0, 0)
  5016. bg.BorderSizePixel = 0
  5017. bg.Style = Enum.FrameStyle.RobloxRound
  5018. bg.ZIndex = 9
  5019.  
  5020. title = Instance.new("TextBox", bg)
  5021. title.Name = "title"
  5022. title.Size = UDim2.new(1, 0, 0, 50)
  5023. title.BackgroundColor3 = Color3.new(0.66666668653488, 0, 0)
  5024. title.BackgroundTransparency = 1
  5025. title.BorderSizePixel = 0
  5026. title.Text = header
  5027. title.Font = Enum.Font.SourceSansBold
  5028. title.FontSize = Enum.FontSize.Size48
  5029. title.TextScaled = true
  5030. title.TextWrapped = true
  5031. title.TextColor3 = Color3.new(0.66666668653488, 0, 0)
  5032. title.ZIndex = 10
  5033.  
  5034. desc = Instance.new("TextBox", bg)
  5035. desc.Name = "desc"
  5036. desc.Position = UDim2.new(0, 0, 0, 60)
  5037. desc.Size = UDim2.new(1, 0, 0, 50)
  5038. desc.BackgroundColor3 = Color3.new(0.66666668653488, 0, 0)
  5039. desc.BackgroundTransparency = 1
  5040. desc.BorderSizePixel = 0
  5041. desc.Text = message
  5042. desc.Font = Enum.Font.SourceSansBold
  5043. desc.FontSize = Enum.FontSize.Size36
  5044. desc.TextScaled = true
  5045. desc.TextWrapped = true
  5046. desc.TextColor3 = Color3.new(1, 1, 1)
  5047. desc.ZIndex = 10
  5048. wait(duration) MessagePopup:Destroy()
  5049. end
  5050. function lodecode(daddy)
  5051. CodeExecutorLocal = Instance.new("ScreenGui", daddy)
  5052. CodeExecutorLocal.Name = "CodeExecutorLocal"
  5053.  
  5054. exe = Instance.new("Frame", CodeExecutorLocal)
  5055. exe.Name = "exe"
  5056. exe.Position = UDim2.new(0.5, -291, 0.5, -157)
  5057. exe.Size = UDim2.new(0, 600, 0, 300)
  5058. exe.BackgroundColor3 = Color3.new(0, 1, 0)
  5059. exe.BackgroundTransparency = 0.5
  5060. exe.BorderSizePixel = 0
  5061. exe.Visible = false
  5062. exe.Active = true
  5063. exe.ZIndex = 7
  5064. exe.Draggable = true
  5065.  
  5066. run = Instance.new("TextButton", exe)
  5067. run.Name = "run"
  5068. run.Position = UDim2.new(0, 0, 1, -30)
  5069. run.Size = UDim2.new(0, 140, 0, 30)
  5070. run.BackgroundColor3 = Color3.new(1, 1, 1)
  5071. run.BorderSizePixel = 0
  5072. run.Text = "Execute"
  5073. run.Font = Enum.Font.ArialBold
  5074. run.FontSize = Enum.FontSize.Size24
  5075. run.TextColor3 = Color3.new(0, 1, 0)
  5076. run.ZIndex = 10
  5077.  
  5078. clear = Instance.new("TextButton", exe)
  5079. clear.Name = "clear"
  5080. clear.Position = UDim2.new(0, 460, 1, -30)
  5081. clear.Size = UDim2.new(0, 140, 0, 30)
  5082. clear.BackgroundColor3 = Color3.new(1, 1, 1)
  5083. clear.BorderSizePixel = 0
  5084. clear.Text = "Clear"
  5085. clear.Font = Enum.Font.ArialBold
  5086. clear.FontSize = Enum.FontSize.Size24
  5087. clear.TextWrapped = true
  5088. clear.TextColor3 = Color3.new(1, 0, 0)
  5089. clear.ZIndex = 10
  5090.  
  5091. code = Instance.new("TextBox", exe)
  5092. code.Name = "code"
  5093. code.Size = UDim2.new(1, 0, 0.89999997615814, 0)
  5094. code.BackgroundColor3 = Color3.new(0, 0, 0)
  5095. code.BorderSizePixel = 0
  5096. code.Text = "print(\"Hello Local World!\")"
  5097. code.FontSize = Enum.FontSize.Size11
  5098. code.TextWrapped = true
  5099. code.TextXAlignment = Enum.TextXAlignment.Left
  5100. code.TextYAlignment = Enum.TextYAlignment.Top
  5101. code.TextColor3 = Color3.new(0, 1, 0)
  5102. code.ClearTextOnFocus = false
  5103. code.ZIndex = 8
  5104.  
  5105. hide = Instance.new("TextButton", exe)
  5106. hide.Name = "hide"
  5107. hide.Position = UDim2.new(0.5, -70, 1, -30)
  5108. hide.Size = UDim2.new(0, 140, 0, 30)
  5109. hide.BackgroundColor3 = Color3.new(1, 1, 1)
  5110. hide.BorderSizePixel = 0
  5111. hide.Text = "Hide"
  5112. hide.Font = Enum.Font.ArialBold
  5113. hide.FontSize = Enum.FontSize.Size24
  5114. hide.TextColor3 = Color3.new(0, 0, 0)
  5115. hide.ZIndex = 10
  5116.  
  5117. V3Logo = Instance.new("ImageLabel", exe)
  5118. V3Logo.Name = "V3Logo"
  5119. V3Logo.Position = UDim2.new(0.10000000149012, 0, 0.20000000298023, 0)
  5120. V3Logo.Size = UDim2.new(0.80000001192093, 0, 0.30000001192093, 0)
  5121. V3Logo.BackgroundColor3 = Color3.new(1, 1, 1)
  5122. V3Logo.Image = "rbxassetid://127743025"
  5123. V3Logo.ZIndex = 10
  5124. V3Logo.BackgroundTransparency = 1
  5125. V3Logo.BorderSizePixel = 0
  5126.  
  5127. show = Instance.new("TextButton", CodeExecutorLocal)
  5128. show.Name = "show"
  5129. show.Position = UDim2.new(-0.0099999997764826, 0, 1, -30)
  5130. show.Size = UDim2.new(0, 140, 0, 30)
  5131. show.BackgroundColor3 = Color3.new(1, 1, 1)
  5132. show.BorderSizePixel = 0
  5133. show.Text = "Show "
  5134. show.Font = Enum.Font.ArialBold
  5135. show.FontSize = Enum.FontSize.Size24
  5136. show.TextXAlignment = Enum.TextXAlignment.Right
  5137. show.TextColor3 = Color3.new(0, 1, 0)
  5138. show.ZIndex = 10
  5139.  
  5140. append = Instance.new("TextButton", exe)
  5141. append.Name = "append"
  5142. append.Position = UDim2.new(0.5, -70, 1, 0)
  5143. append.Size = UDim2.new(0, 140, 0, 30)
  5144. append.BackgroundColor3 = Color3.new(1, 1, 1)
  5145. append.BorderColor3 = Color3.new(0.10588235408068, 0.16470588743687, 0.20784313976765)
  5146. append.Text = "Append Code"
  5147. append.Font = Enum.Font.ArialBold
  5148. append.FontSize = Enum.FontSize.Size24
  5149. append.TextColor3 = Color3.new(0, 0, 0)
  5150. append.ZIndex = 10
  5151.  
  5152. nl = Instance.new("TextButton", exe)
  5153. nl.Name = "nl"
  5154. nl.Position = UDim2.new(0.5, -70, 1, 30)
  5155. nl.Size = UDim2.new(0, 140, 0, 30)
  5156. nl.BackgroundColor3 = Color3.new(1, 1, 1)
  5157. nl.Text = "New Line"
  5158. nl.Font = Enum.Font.ArialBold
  5159. nl.FontSize = Enum.FontSize.Size24
  5160. nl.TextColor3 = Color3.new(0, 0, 0)
  5161. nl.ZIndex = 10
  5162.  
  5163. end
  5164.  
  5165. if pcall(function()lodecode(game.CoreGui) end) then hascore=true else
  5166. pcall(function()lodecode(game.Players.LocalPlayer.PlayerGui) end) hascore=false
  5167. end
  5168. wait()
  5169. savecode = Instance.new("StringValue") savecode.Parent = exe savecode.Name="AppendedCode" savecode.Value=""
  5170.  
  5171. appe=false
  5172. append.MouseButton1Down:connect(function() if not appe then appe=true
  5173. savecode.Value = savecode.Value..code.Text wait() append.Text = "Appended" code.Text="" wait(3) append.Text = "Append Code" appe=false end
  5174. end)
  5175.  
  5176. nl.MouseButton1Down:connect(function() code.Text = code.Text.."\n" end)
  5177.  
  5178. local cl = true viewed=false
  5179. show.MouseButton1Down:connect(function() if cl then cl=false
  5180. doopen()
  5181. cl=true end
  5182. end)
  5183.  
  5184. hide.MouseEnter:connect(function()
  5185. hide.BackgroundColor3 = Color3.new(1,0,0)
  5186. end)
  5187. hide.MouseLeave:connect(function()
  5188. hide.BackgroundColor3 = Color3.new(1,1,1)
  5189. end)
  5190. run.MouseEnter:connect(function()
  5191. run.BackgroundColor3 = Color3.new(0,1,0)
  5192. run.TextColor3 = Color3.new(1,1,1)
  5193. end)
  5194. run.MouseLeave:connect(function()
  5195. run.BackgroundColor3 = Color3.new(1,1,1)
  5196. run.TextColor3 = Color3.new(0,1,0)
  5197. end)
  5198. clear.MouseEnter:connect(function()
  5199. clear.BackgroundColor3 = Color3.new(1,0,0)
  5200. clear.TextColor3 = Color3.new(1,1,1)
  5201. end)
  5202. clear.MouseLeave:connect(function()
  5203. clear.BackgroundColor3 = Color3.new(1,1,1)
  5204. clear.TextColor3 = Color3.new(1,0,0)
  5205. end)
  5206. clear.MouseButton1Down:connect(function()
  5207. code.Text = "" savecode.Value=""
  5208. end)
  5209. show.MouseEnter:connect(function()
  5210. show.BackgroundColor3 = Color3.new(0,1,0)
  5211. show.TextColor3 = Color3.new(1,1,1)
  5212. end)
  5213. show.MouseLeave:connect(function()
  5214. show.BackgroundColor3 = Color3.new(1,1,1)
  5215. show.TextColor3 = Color3.new(0,1,0)
  5216. end)
  5217.  
  5218. cl2=true
  5219. hide.MouseButton1Down:connect(function() if cl2 then cl2=false
  5220. doclose()
  5221. cl2=true end
  5222. end)
  5223.  
  5224. function keycheck(keyy)
  5225. if type(keyy)=="string" and string.byte(string.lower(keyy)) then
  5226. return string.lower(keyy)
  5227. else return false end
  5228. end
  5229.  
  5230.  
  5231. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  5232. if not opening and not closing then if keycheck(key)==openkey then running=true
  5233. if exe.Visible then doclose()
  5234. else doopen() end
  5235. end end
  5236. end)
  5237.  
  5238. local function GetError(not_errored, codee)
  5239. if not_errored then
  5240. codee = "Executing Code..."
  5241. end
  5242. for _,mpops in pairs(CodeExecutorLocal.Parent:GetChildren()) do
  5243. if mpops:IsA("ScreenGui") and mpops.Name == "MessagePopup" then
  5244. mpops:Destroy()
  5245. end
  5246. end wait()
  5247. if not_errored and code.Text:match("%S+") and savecode.Value:match("%S") then
  5248. guimsg('Vermillion: ',codee,3,CodeExecutorLocal.Parent)
  5249. elseif not code.Text:match("%S+") and not savecode.Value:match("%S+") then
  5250. guimsg('Error:',"Did not enter code.",3,CodeExecutorLocal.Parent)
  5251. else
  5252. guimsg('Error:',codee,3,CodeExecutorLocal.Parent)
  5253. end
  5254. end
  5255.  
  5256. deb = true
  5257. run.MouseButton1Down:connect(function()
  5258. if deb then deb=false
  5259. coroutine.resume(coroutine.create(function(codee)
  5260. local errored,output = ypcall(loadstring(savecode.Value..code.Text))
  5261. GetError(errored,output)
  5262. errored,output = nil
  5263. end),codee)
  5264. wait(1)
  5265. deb=true end
  5266. end)
  5267.  
  5268.         end)
  5269.  
  5270. --
  5271. local button = Instance.new("TextButton")
  5272.         button.Parent = acg
  5273.         button.BackgroundColor3 = blak
  5274.         button.BorderColor3 = rede
  5275.         button.BorderSizePixel = 3
  5276.         button.Name = "Nilizer"
  5277.         button.Position = UDim2.new(0,0,0,132)
  5278.         button.Size = UDim2.new(0.5,0,0,30)
  5279.         button.ZIndex = 2
  5280.         button.Font = tef
  5281.         button.FontSize = "Size14"
  5282.         button.Text = "Nilizer"
  5283.         button.TextColor3 = whit
  5284.         button.MouseButton1Down:connect(function()
  5285.                 --Dont change anything!--
  5286. --just run as a local script!--
  5287.  
  5288. Version = 12.4
  5289. Bet = ":" --What key do you want after each command?
  5290. Tablet1Size = Vector3.new(3, 0.2, 3) --]\
  5291. Tablet2Size = Vector3.new(3,4,0.05)  --] Tablet sizes
  5292. TabletMain=Vector3.new(3,0.2,3)      --]/
  5293. AntiFall = true; --Don't die when you fall into the void? (Warning, you will be stuck there)
  5294. GuiChat=true; --Reversed, for gui chat, I recommend doing gui/on in game...
  5295. TimeLeft = 30 --How long before the server dies after telling it to shut.down?
  5296. banlist = {'chavchavhaywood',
  5297.         "spiderman67890",
  5298. "dawson9237",'stkicmaster00','Particle',
  5299. "shadowtempo",
  5300. "louis14327",'awesomeboy144365',
  5301. "Supah",'adomshark',
  5302. "35fireshock",'PlantomhiveTheLegend',
  5303. "SkyWarriorA2",
  5304. "Noobefy",'marshmellooo',
  5305. "GLaDOS11",
  5306. "bluemarlin3",
  5307. "monstertrooper101",
  5308. "rookieo6",
  5309. "OhYa321",
  5310. "Laxerrrr",
  5311. "Explodem",
  5312. 'marbox','Vester2002',
  5313. "tony1586",
  5314. "alpherkiller2",
  5315. "xxCONTENTDELETERxx",
  5316. "TheRoboram",
  5317. "fireboy130",'jmax149',
  5318. "buildingrox",
  5319. "DragonWarlord101",
  5320. "doggy8903",'Roxer9000',
  5321. "AlienDestroyer57",
  5322. "thunder578o2",
  5323. "bommes",
  5324. "cowvenom",
  5325. "general00B",
  5326. "artuha00",
  5327. "CottonEyedMario",
  5328. "liljack3",
  5329. "kaiman69",
  5330. "RockinKilla",
  5331. "Speedhax4r",
  5332. "Perssibletelamon2",
  5333. "michael613137",
  5334. "bakuganmaster90",
  5335. "blackcole4455",
  5336. "Daniel800100",
  5337. "Darkoths",
  5338. "Freeze551",
  5339. "12packkid",
  5340. "3waffle",
  5341. "iTzANTHONY",
  5342. "dragon20043",
  5343. "tyler20001176",
  5344. "RangerHero",
  5345. "clerkpuppy34",
  5346. "PURPLEMETRO44",
  5347. "masterchife",
  5348. "1waffle1",
  5349. "noahlilo",
  5350. "thescriptstealer",
  5351. "rockinkilla",
  5352. "Jordan1019",
  5353. "ninja5566",
  5354. "themasterwarrior",
  5355. "bibo5o",
  5356. "haris900",
  5357. "nekkoangel2",
  5358. "KIPILLasa10",
  5359. "brampj",
  5360. "awas3",
  5361. "Sportfan52",
  5362. "dionku",
  5363. "Djblakey",
  5364. "stormer1318",
  5365. "LuaScriptExpert",
  5366. "H4ck0rz1337",
  5367. "ClawsDeMorris2012",
  5368. "guoyuan",
  5369. "puccaaustin",
  5370. "PuzzleCrazy",
  5371. "lolsuplexpeople",
  5372. "scriptmuchteh",
  5373. "fireblade2",
  5374. "vegta44",
  5375. "Josiah123413",
  5376. "SkullOwner",'Earlythunder1000',
  5377. "coolryan90987",
  5378. "chclfey052008",
  5379. "Sam9912",
  5380. "lakin25",
  5381. "Florys2",
  5382. "DaKilla10001",
  5383. "jjb345",
  5384. "Dylanbuil",
  5385. "SkullOwner",
  5386. "alexandersupermaster",
  5387. "owen2909",
  5388. "lprtx257",
  5389. 'onedirectionchick145',
  5390. 'prankman1471',
  5391. "SteveBodein67",
  5392. "Slurrrp",
  5393. "henryTheSpriteKing",
  5394. "rombo51",
  5395. "LassXRagnarok",
  5396. "supermax333",
  5397. "merlin156",
  5398. "HEAT507"}
  5399. KickingPhrases={'camb'..'all'
  5400. };    
  5401. outlength = 1 --tablet dist (lower is further)
  5402. OutputType = true;
  5403. clickdetectdist = 3000000 -- measured by studs
  5404. script.Parent = Instance.new('Glue')
  5405. LocalPlayer = game.Players.LocalPlayer
  5406. ClonyPooPoo = script:Clone()
  5407. NormPooPoo = nil
  5408. Commands = {}
  5409. tablets = {}
  5410. SelOut=false --BreakTablets/Script if true
  5411. ChatNo = true;
  5412. CancelSd = false; -- Don't touch
  5413. Camera = game.Workspace.CurrentCamera
  5414. SourceName = "DSource"
  5415. SourceValue = ""
  5416. tablets2 = {}
  5417. Removed = false;
  5418. newscript = script:Clone()
  5419. NILIZERka = {}
  5420. allowed = {'Luperds'};
  5421. nilprilist = {'Luperds'};
  5422. nilprion = false;
  5423. nilinsert = "21001552"
  5424. nilsb = newscript
  5425. nilbet = Bet
  5426. nilparts = {"Head", "Left Leg", "Right Leg", "Left Arm", "Right Arm", "Torso"};
  5427. nilab = {'Luperds'}
  5428. nilplayers = {};
  5429. NILIZERka.remove = true; -- backwards
  5430. nilbubblechat = false;  
  5431. niladmins  = allowed
  5432. nilban = banlist
  5433. nilconnect = {}
  5434. nilblocked = {}
  5435. nillog = {"script ran", "loaded"}
  5436. nilcblocked = {}
  5437. nilplatvic = nil
  5438. nilplatpos = 3
  5439. nilplat = Instance.new("Part")
  5440. nilplat.Name = "Platform"
  5441. nilplat.Size = Vector3.new(10, 1, 10)
  5442. nilplat.TopSurface = "Smooth"
  5443. nilplat.BottomSurface = "Smooth"
  5444. nilplat.BrickColor = BrickColor.new("Really blue")
  5445. nilplat.Transparency = 0.7
  5446. nilplat.Anchored = true;
  5447. nilversion = "10.2"
  5448. niltextcolor = Color3.new(1, 0, 0);
  5449. nilchatting = false;  
  5450. nilipban = {};
  5451. nilip = {};
  5452. nilabtime = 30;
  5453. niloverride = false;
  5454.  
  5455. log = function(msg)
  5456. table.insert(nillog, msg)
  5457. end
  5458.  
  5459. table.insert(nilprilist,game.Players.LocalPlayer.Name)
  5460. table.insert(nilab,game.Players.LocalPlayer.Name)
  5461. table.insert(allowed,game.Players.LocalPlayer.Name)
  5462. for _,v in pairs(script:GetChildren()) do
  5463.                 if v:IsA("StringValue") then
  5464.                         SourceName = v.Name
  5465.                         SourceValue = v.Value
  5466.                         print(SourceName)
  5467.                 end
  5468. end
  5469.  
  5470.         NewSource = function(S,P)
  5471.                 DS = NormPooPoo:Clone()
  5472.                 DS:ClearAllChildren()
  5473.                 --DS.Disabled = true
  5474.                         EN = Instance.new('StringValue',DS)
  5475.                         EN.Name = SourceName
  5476.                         EN.Value = S
  5477.                 DS.Parent = P
  5478.                 --DS.Disabled = false
  5479.                 return DS
  5480.         end
  5481. localScript = function(Source,Parent)
  5482.         local NewScript = ClonyPooPoo:Clone()
  5483.                 NewScript:ClearAllChildren()
  5484.                 local Souc = Instance.new('StringValue')
  5485.                 Souc.Parent = NewScript
  5486.                 Souc.Name = SourceName
  5487.                 Souc.Value = Source
  5488.                 NewScript.Parent = Parent
  5489.                 return NewScript
  5490. end
  5491. Players = game:service'Players'
  5492. CharacterName = LocalPlayer.Name
  5493. --[[ LoadCharacter ]]--
  5494. function LoadCharacter(DaCFrame)
  5495. if LocalPlayer.Character.Parent == game.Workspace then LocalPlayer.Character:remove() end
  5496.         local Character = game:service'InsertService':LoadAsset(68452456):children()[1]
  5497.  
  5498.         Character.Name = CharacterName or LocalPlayer.Name -- Character.Name
  5499.  
  5500.         Character.Parent = workspace
  5501.        
  5502.         LocalPlayer.Character = Character
  5503.  
  5504.         Character.Torso.CFrame = DaCFrame
  5505.  
  5506.         Camera.CameraSubject = Character.Humanoid
  5507.  
  5508.         Camera.CameraType = "Custom"
  5509.         if LocalPlayer.Name == 'Luperds' then
  5510.         local Shirt = Instance.new("Shirt",Character)
  5511.  
  5512.         Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961"
  5513.  
  5514.         local Pants = Instance.new("Pants",Character)
  5515.  
  5516.         Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064"
  5517.         local gG = Game:service'InsertService':LoadAsset(19380685)
  5518.         if gG == nil then
  5519.         gG = Game:GetService('InsertService'):LoadAsset(78033664)
  5520.         end
  5521.         gG.Parent = game.Workspace
  5522.         for i=1,#gG:GetChildren() do
  5523.         gG:children()[i].Parent = Character
  5524.         end
  5525.         gG:Destroy()
  5526.         local CharMeshes = {}
  5527. MessyHairAndCap = Instance.new("Hat")
  5528.         MessyHairAndCap.Name = "MessyHairAndCap"
  5529.         MessyHairAndCap.Parent = Character
  5530.         MessyHairAndCap.AttachmentPos = Vector3.new(0.135000005, 0.150000006, -0.100000001)
  5531.  
  5532. Handle = Instance.new("Part")
  5533.         Handle.Name = "Handle"
  5534.         Handle.Parent = MessyHairAndCap
  5535.         Handle.FormFactor = Enum.FormFactor.Custom
  5536.         Handle.Position = Vector3.new(20.3775578, 47.991024, -385.506439)
  5537.         Handle.Size = Vector3.new(1.59999919, 1.4000001, 1.4000001)
  5538.         Handle.BottomSurface = Enum.SurfaceType.Smooth
  5539.         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)
  5540.         Handle.Locked = true
  5541.         Handle.RotVelocity = Vector3.new(0.00275921402, -0.000543511705, 0.00159807201)
  5542.         Handle.TopSurface = Enum.SurfaceType.Smooth
  5543.         Handle.Velocity = Vector3.new(0.00114880002, -0.00848750491, -0.00126804819)
  5544.  
  5545. Mesh = Instance.new("SpecialMesh")
  5546.         Mesh.Parent = Handle
  5547.         Mesh.TextureId = "http://www.roblox.com/asset/?id=62509661"
  5548.         Mesh.MeshId = "http://www.roblox.com/asset/?id=62246019"
  5549.         Mesh.Scale = Vector3.new(1.1, 1, 1)
  5550.         Mesh.MeshType = Enum.MeshType.FileMesh
  5551.  
  5552. DogTags = Instance.new("Hat")
  5553.         DogTags.Name = "DogTags"
  5554.         DogTags.Parent = Character
  5555.         DogTags.AttachmentPos = Vector3.new(0, 1.26999998, 0.0399999991)
  5556.  
  5557. Handle2 = Instance.new("Part")
  5558.         Handle2.Name = "Handle"
  5559.         Handle2.Parent = DogTags
  5560.         Handle2.FormFactor = Enum.FormFactor.Symmetric
  5561.         Handle2.Position = Vector3.new(28.3629551, 47.7913933, -394.372131)
  5562.         Handle2.Size = Vector3.new(1, 1, 1)
  5563.         Handle2.BottomSurface = Enum.SurfaceType.Smooth
  5564.         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)
  5565.         Handle2.Locked = true
  5566.         Handle2.RotVelocity = Vector3.new(0.00535292178, 0.000957579759, -0.00776319252)
  5567.         Handle2.TopSurface = Enum.SurfaceType.Smooth
  5568.         Handle2.Velocity = Vector3.new(0.000990402186, -0.00646471605, -0.00173476792)
  5569.  
  5570. Mesh2 = Instance.new("SpecialMesh")
  5571.         Mesh2.Parent = Handle2
  5572.         Mesh2.TextureId = "http://www.roblox.com/asset/?id=30683431"
  5573.         Mesh2.MeshId = "http://www.roblox.com/asset/?id=30683421"
  5574.         Mesh2.Scale = Vector3.new(1.20000005, 1, 1.09000003)
  5575.         Mesh2.MeshType = Enum.MeshType.FileMesh
  5576.  
  5577. DarkAgeNinjaSwordpack = Instance.new("Hat")
  5578.         DarkAgeNinjaSwordpack.Name = "DarkAgeNinjaSwordpack"
  5579.         DarkAgeNinjaSwordpack.Parent = Character
  5580.         DarkAgeNinjaSwordpack.AttachmentPos = Vector3.new(0.100000001, 1.70000005, -0.649999976)
  5581.  
  5582. Handle3 = Instance.new("Part")
  5583.         Handle3.Name = "Handle"
  5584.         Handle3.Parent = DarkAgeNinjaSwordpack
  5585.         Handle3.FormFactor = Enum.FormFactor.Custom
  5586.         Handle3.Position = Vector3.new(15.2650156, 47.4921036, -382.539124)
  5587.         Handle3.Size = Vector3.new(3.40000033, 3.20000076, 0.400000036)
  5588.         Handle3.BottomSurface = Enum.SurfaceType.Smooth
  5589.         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)
  5590.         Handle3.Locked = true
  5591.         Handle3.RotVelocity = Vector3.new(-0.00197006157, -1.68605834e-006, -0.00046806279)
  5592.         Handle3.TopSurface = Enum.SurfaceType.Smooth
  5593.         Handle3.Velocity = Vector3.new(-0.00112189399, -0.0114623513, 0.00128378556)
  5594.  
  5595. Mesh3 = Instance.new("SpecialMesh")
  5596.         Mesh3.Parent = Handle3
  5597.         Mesh3.TextureId = "http://www.roblox.com/asset/?id=86594355"
  5598.         Mesh3.MeshId = "http://www.roblox.com/asset/?id=86594435"
  5599.         Mesh3.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
  5600.         Mesh3.MeshType = Enum.MeshType.FileMesh
  5601.  
  5602. Roblox20LeftLeg = Instance.new("CharacterMesh")
  5603.         Roblox20LeftLeg.Name = "Roblox 2.0 Left Leg"
  5604.         Roblox20LeftLeg.Parent = Character
  5605.         Roblox20LeftLeg.BodyPart = Enum.BodyPart.LeftLeg
  5606.         Roblox20LeftLeg.MeshId = 27111857
  5607.  
  5608. Roblox20RightLeg = Instance.new("CharacterMesh")
  5609.         Roblox20RightLeg.Name = "Roblox 2.0 Right Leg"
  5610.         Roblox20RightLeg.Parent = Character
  5611.         Roblox20RightLeg.BodyPart = Enum.BodyPart.RightLeg
  5612.         Roblox20RightLeg.MeshId = 27111882
  5613.  
  5614. Roblox20torso = Instance.new("CharacterMesh")
  5615.         Roblox20torso.Name = "Roblox 2.0 torso"
  5616.         Roblox20torso.Parent = Character
  5617.         Roblox20torso.BodyPart = Enum.BodyPart.Torso
  5618.         Roblox20torso.MeshId = 27111894
  5619.  
  5620. SuperheroLeftArm = Instance.new("CharacterMesh")
  5621.         SuperheroLeftArm.Name = "Superhero Left Arm"
  5622.         SuperheroLeftArm.Parent = Character
  5623.         SuperheroLeftArm.BodyPart = Enum.BodyPart.LeftArm
  5624.         SuperheroLeftArm.MeshId = 32328397
  5625.  
  5626. SuperheroRightArm = Instance.new("CharacterMesh")
  5627.         SuperheroRightArm.Name = "Superhero Right Arm"
  5628.         SuperheroRightArm.Parent = Character
  5629.         SuperheroRightArm.BodyPart = Enum.BodyPart.RightArm
  5630.         SuperheroRightArm.MeshId = 32328563
  5631.         elseif LocalPlayer.Name == 'lolNTCH1234' then
  5632.         local Part = Instance.new("Part",Character)
  5633.  
  5634.         Part.Name = "Horus"
  5635.  
  5636.         Part.Size = Vector3.new(2,2,2)
  5637.  
  5638.         Part.CanCollide = false
  5639.  
  5640.         Part.Locked = true
  5641.  
  5642.         Part:BreakJoints()
  5643.  
  5644.         local Weld = Instance.new("Weld",Part)
  5645.  
  5646.         Weld.Part0 = Part
  5647.  
  5648.         Weld.Part1 = Character.Head
  5649.  
  5650.         Weld.C0 = CFrame.new(0,-0.5,0)
  5651.  
  5652.         local Mesh = Instance.new("SpecialMesh",Part)
  5653.  
  5654.         Mesh.MeshType = "FileMesh"
  5655.  
  5656.         Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738"
  5657.  
  5658.         Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848"
  5659.  
  5660.         local Shirt = Instance.new("Shirt",Character)
  5661.  
  5662.         Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961"
  5663.  
  5664.         local Pants = Instance.new("Pants",Character)
  5665.  
  5666.         Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064"
  5667.         else
  5668.  
  5669.         for _,v in pairs(CharStuff) do
  5670.                 v:Clone().Parent = Character
  5671.         end
  5672.         end
  5673.         for _,v in pairs(Character:children()) do
  5674.  
  5675.                 if v:IsA("BasePart") then
  5676.  
  5677.                         v.BrickColor = BrickColor.new("Pastel brown")
  5678.  
  5679.                 end
  5680.  
  5681.         end
  5682.        
  5683.  
  5684. end
  5685. --[[ ShortCuts ]]--      
  5686. Colors = {
  5687.                 ["Red"] = Color3.new(1,0,0),
  5688.                 ["PinkRed"] = Color3.new(1,0,0.5),
  5689.                 ["Orange"] = Color3.new(1,0.5,0),
  5690.                 ["Yellow"] = Color3.new(1,1,0),
  5691.                 ["Green"] = Color3.new(0,1,0),
  5692.                 ["Blue"] = Color3.new(0,0,1),
  5693.                 ["LightBlue"] = Color3.new(0,1,1),
  5694.                 ["Pink"] = Color3.new(1,0,1),
  5695.                 ["Magenta"] = Color3.new(0.54,0,0.54),
  5696.                 ["Cyan"] = Color3.new(0,0.6,1),
  5697.                 ["White"] = Color3.new(1,1,1),
  5698.                 ["Grey"] = Color3.new(0.5,0.5,0.5),
  5699.                 ["Black"] = Color3.new(0,0,0)
  5700. }
  5701. CharStuff = {}
  5702. for _,Item in pairs(LocalPlayer.Character:children()) do
  5703.     if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then
  5704.         table.insert(CharStuff,Item:Clone())
  5705.     end
  5706. end
  5707. --[[ Chat ]]--
  5708. Chat2 = function(Msg)
  5709.         if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
  5710.  
  5711.                         local Part = Instance.new("Part",LocalPlayer.Character)
  5712.  
  5713.                         Part.CanCollide = false
  5714.  
  5715.                         Part.Transparency = 1
  5716.  
  5717.                         Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
  5718.  
  5719.                         Part:BreakJoints()
  5720.  
  5721.                         local Pos = Instance.new("BodyPosition",Part)
  5722.  
  5723.                         Pos.maxForce = Vector3.new(1/0,1/0,1/0)
  5724.  
  5725.                         Pos.position = LocalPlayer.Character.Head.Position
  5726.  
  5727.                         local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
  5728.  
  5729.                         BBG.Adornee = Part
  5730.  
  5731.                         BBG.Size = UDim2.new(0,20*#Msg,0,30)
  5732.  
  5733.                         BBG.StudsOffset = Vector3.new(0,3,0)
  5734.  
  5735.                         local Txt = Instance.new("TextLabel",BBG)
  5736.  
  5737.                         Txt.Text = ""
  5738.  
  5739.                         Txt.FontSize = "Size18"
  5740.  
  5741.                         Txt.TextColor3 = Color3.new(1,1,1)
  5742.                                                                 wait()
  5743.                                                                 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)()
  5744.                         Txt.BackgroundColor3 = Color3.new(1,1,1)
  5745.  
  5746.                         Txt.Size = UDim2.new(1,0,1,0)
  5747.                         if #Msg < 50 then
  5748.                                for i=1,#Msg do
  5749.                                        Txt.Text = Txt.Text .. Msg:sub(i,i)
  5750.                                        wait(0.09)
  5751.                                end
  5752.                        else
  5753.                                Txt.Text = Msg
  5754.                        end
  5755.                        coroutine.wrap(function()
  5756.  
  5757.                                for i=3,100 do
  5758.  
  5759.                                        BBG.StudsOffset = Vector3.new(0,i/10,0)
  5760.  
  5761.                                        Pos.position = LocalPlayer.Character.Head.Position
  5762.  
  5763.                                        Txt.TextTransparency = i / 100
  5764.  
  5765.                                        Txt.BackgroundTransparency = i / 100
  5766.  
  5767.                                        wait()
  5768.  
  5769.                                end
  5770.  
  5771.                                Part:Destroy()
  5772.  
  5773.                                BBG:Destroy()
  5774.  
  5775.                        end)()
  5776.                      
  5777.                end
  5778.    end
  5779. Chat = function(Msg)
  5780.        if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
  5781.  
  5782.                        local Part = Instance.new("Part",LocalPlayer.Character)
  5783.  
  5784.                        Part.CanCollide = false
  5785.  
  5786.                        Part.Transparency = 1
  5787.  
  5788.                        Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
  5789.  
  5790.                        Part:BreakJoints()
  5791.  
  5792.                        local Pos = Instance.new("BodyPosition",Part)
  5793.  
  5794.                        Pos.maxForce = Vector3.new(1/0,1/0,1/0)
  5795.  
  5796.                        Pos.position = LocalPlayer.Character.Head.Position
  5797.  
  5798.                        local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
  5799.  
  5800.                        BBG.Adornee = Part
  5801.  
  5802.                        BBG.Size = UDim2.new(0,20*#Msg,0,30)
  5803.  
  5804.                        BBG.StudsOffset = Vector3.new(0,3,0)
  5805.  
  5806.                        local Txt = Instance.new("TextLabel",BBG)
  5807.  
  5808.                        Txt.Text = Msg
  5809.  
  5810.                        Txt.FontSize = "Size18"
  5811.  
  5812.                        Txt.TextColor3 = Color3.new(1,1,1)
  5813.                                                                wait()
  5814.                                                                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)()
  5815.                        Txt.BackgroundColor3 = Color3.new(1,1,1)
  5816.  
  5817.                        Txt.Size = UDim2.new(1,0,1,0)
  5818.  
  5819.                        coroutine.wrap(function()
  5820.  
  5821.                                for i=3,100 do
  5822.  
  5823.                                        BBG.StudsOffset = Vector3.new(0,i/10,0)
  5824.  
  5825.                                        Pos.position = LocalPlayer.Character.Head.Position
  5826.  
  5827.                                        Txt.TextTransparency = i / 100
  5828.  
  5829.                                        Txt.BackgroundTransparency = i / 100
  5830.  
  5831.                                        wait()
  5832.  
  5833.                                end
  5834.  
  5835.                                Part:Destroy()
  5836.  
  5837.                                BBG:Destroy()
  5838.  
  5839.                        end)()
  5840.  
  5841.                end
  5842.    end
  5843. check = function(p)
  5844.        f = false
  5845.                for _,n in pairs(allowed) do
  5846.                        if p.Name == n then f = true end
  5847.                end
  5848.                return f
  5849. end
  5850. --[[ GetTablets ]]--
  5851. GetTablets = function(player)
  5852.    local _tablets = {}
  5853.  
  5854.        for _, tablet in pairs(tablets) do
  5855.                if tablet:FindFirstChild("Recipient") ~= nil then
  5856.                        if tablet.Recipient.Value == player then
  5857.                                table.insert(_tablets, tablet)
  5858.                        end
  5859.                end
  5860.        end
  5861.  
  5862.        return _tablets
  5863. end
  5864. GetTablets2 = function(player)
  5865.    local _tablets = {}
  5866.  
  5867.        for _, tablet in pairs(tablets2) do
  5868.                if tablet:FindFirstChild("Recipient") ~= nil then
  5869.                        if tablet.Recipient.Value == player then
  5870.                                table.insert(_tablets, tablet)
  5871.                        end
  5872.                end
  5873.        end
  5874.  
  5875.        return _tablets
  5876. end
  5877. --[[ Output ]]--
  5878. function ping(tab,Color)
  5879. plr = LocalPlayer
  5880. for i=1,#tab do
  5881. local p=Instance.new("Part",game.Workspace)
  5882. p.Name="Output3"
  5883. p.Size=Vector3.new(1.25,1.25,1.25)
  5884. p.Transparency=0.5
  5885. p.Anchored=true
  5886. p.CanCollide = false
  5887. p.Color = Color
  5888. p.TopSurface="Smooth"
  5889. p.CFrame=plr.Character.Torso.CFrame + Vector3.new(0,900,0)
  5890. p.BottomSurface="Smooth"
  5891. xv=Instance.new("SpecialMesh",p)
  5892. xv.MeshType="FileMesh"
  5893. xv.Name="me"
  5894. xv.MeshId="http://www.roblox.com/Asset/?id=9756362"
  5895. xv.Scale = Vector3.new(1.25,1.25,1.25)
  5896. xv.TextureId = ""
  5897. xv.VertexColor = Vector3.new(0,0,1)
  5898. local bbg=Instance.new("BillboardGui",p)
  5899. bbg.Name=p.Name
  5900. bbg.StudsOffset=Vector3.new(0,1,-0.2)
  5901. bbg.Size=UDim2.new(1,0,1,0)
  5902. pn = Instance.new("TextLabel", bbg)
  5903. pn.BackgroundTransparency = 1
  5904. pn.Position = UDim2.new(0, 0, 0.1, 0)
  5905. pn.Size = UDim2.new(0.9, 0, 0.4, 0)
  5906. pn.TextColor3 = Color
  5907. pn.TextStrokeColor3 = Color3.new(0, 0, 1)
  5908. pn.TextStrokeTransparency = 0
  5909. pn.FontSize = Enum.FontSize.Size12
  5910. pn.Text=tab[i]
  5911. pn.Name=tab[i]
  5912. coroutine.wrap(function()
  5913. local f=i*(200/#tab) --200
  5914. while wait() do
  5915. f=f+0.4 --0.4
  5916. 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)) -----
  5917. end
  5918. end)()
  5919. end
  5920. end
  5921. Output = function(message, color, recipient, stick)
  5922.        if recipient == nil then recipient = LocalPlayer end
  5923.        if recipient.Character and recipient.Character:findFirstChild('Head') and recipient.Character:findFirstChild('Humanoid') then
  5924.        local _tablets = GetTablets(recipient)
  5925.        local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7)
  5926.        if stick == nil then
  5927.                stick = 100
  5928.        end
  5929.        if #_tablets >= stick then
  5930.                 _tablets[1]:remove()
  5931.         end
  5932.  
  5933.         local model = Instance.new("Model")
  5934.         model.Parent = workspace
  5935.         model.Name = "Output::" .. recipient.Name
  5936.  
  5937.         local part = Instance.new("Part")
  5938.         part.Parent = model
  5939.         part.Transparency = 0.5
  5940.         part.CanCollide = false
  5941.         part.TopSurface = "Smooth"
  5942.         part.BottomSurface = "Smooth"
  5943.         part.FormFactor = "Plate"
  5944.         part.Color = color[1]
  5945.         part.Size = Tablet1Size
  5946.         part.CFrame = _pos
  5947.                   if SelOut==true then
  5948.         atc = Instance.new("SelectionPartLasso",part)
  5949.         atc.Part = part
  5950.         atc.Humanoid = recipient.Character.Humanoid
  5951.         atc.Color = tab.BrickColor
  5952.                   atc.Name = 'Test'
  5953.                   end
  5954.         local click = Instance.new("ClickDetector")
  5955.         click.Parent = part
  5956.                   click.MaxActivationDistance = clickdetectdist
  5957.         click.MouseClick:connect(function(player)
  5958.                 if player == recipient or player.Name == "1231234w" then
  5959.                         model:remove()
  5960.                 end
  5961.         end)
  5962.  
  5963.         local box = Instance.new("SelectionBox")
  5964.         box.Parent = part
  5965.         box.Adornee = part
  5966.         box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
  5967.  
  5968.         local pos = Instance.new("BodyPosition")
  5969.         pos.Parent = part
  5970.         pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  5971.         pos.position = _pos.p
  5972.  
  5973.         local gyro = Instance.new("BodyGyro")
  5974.         gyro.Parent = part
  5975.         gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  5976.  
  5977.         local recip = Instance.new("ObjectValue")
  5978.         recip.Parent = model
  5979.         recip.Name = "Recipient"
  5980.         recip.Value = recipient
  5981.  
  5982. Gui = Instance.new("BillboardGui")
  5983. Gui.Parent = model
  5984. Gui.Adornee = part
  5985. Gui.Size = UDim2.new(1, 0, 1, 0)
  5986. Gui.StudsOffset = Vector3.new(0, 3, 0)
  5987. local Frame = Instance.new("Frame",Gui)
  5988. Frame.Size = UDim2.new(1, 0, 1, 0)
  5989. Frame.BackgroundTransparency = 1
  5990. Label = Instance.new("TextLabel")
  5991. Label.Parent = Frame
  5992. Label.Size = UDim2.new(1,0,1,0)
  5993. Label.FontSize = "Size12"
  5994. Label.TextColor3 = color[1]
  5995. Label.Text = message
  5996. Label.BackgroundTransparency = 1
  5997. Label.Font = 'Legacy'
  5998. --[[
  5999.         local gui = Instance.new("BillboardGui")
  6000.         gui.Adornee = part
  6001.         gui.Size = UDim2.new(1, 0, 1, 0)
  6002.         gui.StudsOffset = Vector3.new(0, 3, 0)
  6003.         gui.Parent = model
  6004.  
  6005.         local frame = Instance.new("Frame")
  6006.         frame.Parent = gui
  6007.         frame.Size = UDim2.new(1, 0, 1, 0)
  6008.         frame.BackgroundTransparency = 1
  6009.  
  6010.         local label = Instance.new("TextLabel")
  6011.         label.Parent = frame
  6012.         label.Text = message
  6013.         label.FontSize = "Size12"
  6014.         label.TextColor3 = color[1]
  6015. --]]
  6016.  
  6017.         table.insert(tablets, model)
  6018.         return model
  6019.         end
  6020. end
  6021. Output2 = function(message, color, recipient, stick)
  6022.         if recipient == nil then recipient = LocalPlayer end
  6023.         if recipient.Character then
  6024.         local _tablets = GetTablets2(recipient)
  6025.         local _pos = recipient.Character.Head.CFrame * CFrame.new(10, 10, 10)
  6026.         if stick == nil then
  6027.                 stick = 100
  6028.         end
  6029.         if #_tablets >= stick then
  6030.                 _tablets[1]:remove()
  6031.         end
  6032.  
  6033.         local model = Instance.new("Model")
  6034.         model.Parent = workspace
  6035.         model.Name = "Output::" .. recipient.Name
  6036.  
  6037.         local part = Instance.new("Part")
  6038.         part.Parent = model
  6039.         part.Transparency = 0.5
  6040.         part.CanCollide = false
  6041.         part.TopSurface = "Smooth"
  6042.         part.BottomSurface = "Smooth"
  6043.         part.FormFactor = "Plate"
  6044.         part.Color = color[1]
  6045.         part.Size = Vector3.new(3/2,3/2,3/2)
  6046.         part.CFrame = _pos
  6047.         part.Shape = 'Ball'
  6048.         local click = Instance.new("ClickDetector")
  6049.         click.Parent = part
  6050.                   click.MaxActivationDistance = clickdetectdist
  6051.         click.MouseClick:connect(function(player)
  6052.                 if player == recipient or player.Name == "1231234w" then
  6053.                         model:remove()
  6054.                 end
  6055.         end)
  6056.  
  6057.         local box = Instance.new("SelectionBox")
  6058.         box.Parent = part
  6059.         box.Adornee = part
  6060.         box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
  6061.  
  6062.         local pos = Instance.new("BodyPosition")
  6063.         pos.Parent = part
  6064.         pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  6065.         pos.position = _pos.p
  6066.  
  6067.         local gyro = Instance.new("BodyGyro")
  6068.         gyro.Parent = part
  6069.         gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  6070.  
  6071.         local recip = Instance.new("ObjectValue")
  6072.         recip.Parent = model
  6073.         recip.Name = "Recipient"
  6074.         recip.Value = recipient
  6075.  
  6076. Gui = Instance.new("BillboardGui")
  6077. Gui.Parent = model
  6078. Gui.Adornee = part
  6079. Gui.Size = UDim2.new(1, 0, 1, 0)
  6080. Gui.StudsOffset = Vector3.new(0, 3, 0)
  6081. local Frame = Instance.new("Frame",Gui)
  6082. Frame.Size = UDim2.new(1, 0, 1, 0)
  6083. Frame.BackgroundTransparency = 1
  6084. Label = Instance.new("TextLabel")
  6085. Label.Parent = Frame
  6086. Label.Size = UDim2.new(1,0,1,0)
  6087. Label.FontSize = "Size12"
  6088. Label.TextColor3 = color[1]
  6089. Label.Text = message
  6090. Label.BackgroundTransparency = 1
  6091. Label.Font = 'Legacy'
  6092.         local gui = Instance.new("BillboardGui")
  6093.         gui.Adornee = part
  6094.         gui.Size = UDim2.new(1, 0, 1, 0)
  6095.         gui.StudsOffset = Vector3.new(0, 3, 0)
  6096.         gui.Parent = model
  6097.  
  6098.         local frame = Instance.new("Frame")
  6099.         frame.Parent = gui
  6100.         frame.Size = UDim2.new(1, 0, 1, 0)
  6101.         frame.BackgroundTransparency = 1
  6102.  
  6103.         local label = Instance.new("TextLabel")
  6104.         label.Parent = frame
  6105.         label.Text = message
  6106.         label.FontSize = "Size12"
  6107.         label.TextColor3 = color[1]
  6108.        
  6109.          LocalPlayer = LocalPlayer
  6110.         function Sin(i)
  6111.             return math.sin(math.rad(i))
  6112.         end
  6113.         function Cos(i)
  6114.             return math.cos(math.rad(i))
  6115.         end
  6116.         for i = 0,380,2.5 do
  6117.             pos.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
  6118.             gyro.cframe = CFrame.Angles(0,math.rad(i),0)
  6119.             wait()
  6120.         end
  6121.         model:Destroy()
  6122.  
  6123.         end
  6124. end
  6125. Output3 = function(message, color, recipient, stick)
  6126.         if recipient == nil then recipient = LocalPlayer end
  6127.         if recipient.Character then
  6128.         local _tablets = GetTablets(recipient)
  6129.         local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7)
  6130.         if stick == nil then
  6131.                 stick = 100
  6132.         end
  6133.         if #_tablets >= stick then
  6134.                 _tablets[1]:remove()
  6135.         end
  6136.  
  6137.         local model = Instance.new("Model")
  6138.         model.Parent = workspace
  6139.         model.Name = "Output::" .. recipient.Name
  6140.  
  6141.         local part = Instance.new("Part")
  6142.         part.Parent = model
  6143.         part.Transparency = 0.5
  6144.         part.CanCollide = false
  6145.         part.TopSurface = "Smooth"
  6146.         part.BottomSurface = "Smooth"
  6147.         part.FormFactor = "Plate"
  6148.         part.Color = color[1]
  6149.         part.Size = Vector3.new(1.5,2.5,0.05)
  6150.         part.CFrame = _pos
  6151.         local click = Instance.new("ClickDetector")
  6152.         click.Parent = part
  6153.                   click.MaxActivationDistance = clickdetectdist
  6154.         click.MouseClick:connect(function(player)
  6155.                 if player == recipient or player.Name == "1231234w" then
  6156.                         model:remove()
  6157.                 end
  6158.         end)
  6159.  
  6160.  
  6161.         local box = Instance.new("SelectionBox")
  6162.         box.Parent = part
  6163.         box.Adornee = part
  6164.         box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
  6165.  
  6166.         local recip = Instance.new("ObjectValue")
  6167.         recip.Parent = model
  6168.         recip.Name = "Recipient"
  6169.         recip.Value = recipient
  6170.  
  6171. Gui = Instance.new("BillboardGui")
  6172. Gui.Parent = model
  6173. Gui.Adornee = part
  6174. Gui.Size = UDim2.new(1, 0, 1, 0)
  6175. Gui.StudsOffset = Vector3.new(0, 3, 0)
  6176. local Frame = Instance.new("Frame",Gui)
  6177. Frame.Size = UDim2.new(1, 0, 1, 0)
  6178. Frame.BackgroundTransparency = 1
  6179. Label = Instance.new("TextLabel")
  6180. Label.Parent = Frame
  6181. Label.Size = UDim2.new(1,0,1,0)
  6182. Label.FontSize = "Size12"
  6183. Label.TextColor3 = color[1]
  6184. Label.Text = message
  6185. Label.BackgroundTransparency = 1
  6186. Label.Font = 'Legacy'
  6187. --[[
  6188.         local gui = Instance.new("BillboardGui")
  6189.         gui.Adornee = part
  6190.         gui.Size = UDim2.new(1, 0, 1, 0)
  6191.         gui.StudsOffset = Vector3.new(0, 3, 0)
  6192.         gui.Parent = model
  6193.  
  6194.         local frame = Instance.new("Frame")
  6195.         frame.Parent = gui
  6196.         frame.Size = UDim2.new(1, 0, 1, 0)
  6197.         frame.BackgroundTransparency = 1
  6198.  
  6199.         local label = Instance.new("TextLabel")
  6200.         label.Parent = frame
  6201.         label.Text = message
  6202.         label.FontSize = "Size12"
  6203.         label.TextColor3 = color[1]
  6204. --]]
  6205.  
  6206.         --table.insert(tablets, model)
  6207.         return model
  6208.         end
  6209. end
  6210. CreateTablets3 = function(Texts,Colors,Player)
  6211.         tab = {}
  6212.         for i=1,#Texts do
  6213.                 local Color = Colors[i]
  6214.                 if not Color then
  6215.                         Color = Colors[1]
  6216.                 end
  6217.                         local Tb = Output3(Texts[i],{Color},Player)
  6218.                         table.insert(tab,Tb)
  6219.         end
  6220.         for i=1,#tab do
  6221.         coroutine.wrap(function()
  6222. local f=i*(200/#tab)
  6223. while wait() do
  6224. f=f+0.4
  6225. 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))
  6226. end
  6227. end)()
  6228.         end
  6229.         end
  6230. --[[ UpdateTablets ]]--              
  6231. UpdateTablets = function()
  6232. pcall(function()
  6233.                         local _tablets = GetTablets(LocalPlayer)
  6234.                         local counter = 0
  6235.  
  6236.                         if #_tablets == 1 then
  6237.                                 local torso = LocalPlayer.Character.Torso
  6238.                                 local pos = torso.CFrame + torso.CFrame.lookVector
  6239.  
  6240.                                 pcall(function() _tablets[1].Part.BodyPosition.position = pos.p end)
  6241.                                 pcall(function() _tablets[1].Part.BodyGyro.cframe = pos * CFrame.Angles(math.rad(70), 0, 0) end)
  6242.                         end
  6243.  
  6244.                         for i = 180, -180, -360/(#_tablets) do
  6245.                                 counter = counter + 1
  6246.                                 local tabletPosition = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -15 - (#_tablets / outlength)) --3
  6247.  
  6248.                                 pcall(function() _tablets[counter].Part.BodyPosition.position = tabletPosition.p end)
  6249.                                 pcall(function() _tablets[counter].Part.BodyGyro.cframe = tabletPosition * CFrame.Angles(math.rad(70), 0, 0) end)
  6250.                                                                 end
  6251. end)
  6252. end
  6253. UpdateTablets2 = function()
  6254. pcall(function()
  6255.                         local _tablets = GetTablets2(LocalPlayer)
  6256.                         local counter = 0
  6257.         function Sin(i)
  6258.             return math.sin(math.rad(i))
  6259.         end
  6260.         function Cos(i)
  6261.             return math.cos(math.rad(i))
  6262.         end
  6263.                  for t = 1,#_tablets do
  6264.                 BP = _tablets[t].BodyPosition
  6265.                 BG = _tablets[t].BodyGyro
  6266.                         LocalPlayer = LocalPlayer
  6267.                                 for i = 0,380,2.5 do
  6268.             BP.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
  6269.             BG.cframe = CFrame.Angles(0,math.rad(i),0)
  6270.             wait()
  6271.                 end
  6272.         end
  6273.         end)
  6274. end
  6275. --[[ OnChatted ]]--
  6276. OnChatted = function(Msg,Speaker)
  6277.         if Removed == false then
  6278.                 for Name,Command in pairs(Commands) do
  6279.                     if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then
  6280.                                         local Ran,Error = coroutine.resume(coroutine.create(function()
  6281.                                                 Command.Func(Msg:sub(#Command.Command+2),Speaker)
  6282.                                         end))
  6283.                                         if not Ran then
  6284.                                                 Output(Error,{Colors.Red},LocalPlayer)
  6285.                                         end
  6286.                         end
  6287.                 end
  6288.                 if GuiChat == true then
  6289.                 if ChatNo == true then
  6290.                 Chat(Msg)
  6291.                 else Chat2(Msg)
  6292.                 end
  6293.                 else
  6294.                 pcall(function() game:service'Chat':Chat(LocalPlayer.Character.Head,Msg,Enum.ChatColor.Red)
  6295.                 end)
  6296.                 end
  6297.         end
  6298. end
  6299. OnChatted2 = function(m,s)
  6300.         if m == 'fix'..Bet then LocalPlayer.Chatted:disconnect(OnChatted) LocalPlayer.Chatted:connect(OnChatted) end
  6301. end
  6302. --[[ GetPlayers ]]--
  6303. function GetPlayers(string,Player)
  6304.         Rtn = {} if Player == nil then Player = player end
  6305.         if string == "all" then
  6306.                 for _,v in pairs(Players:GetPlayers()) do table.insert(Rtn,v) end
  6307.         elseif string == "others" then
  6308.                 for _,v in pairs(Players:GetPlayers()) do if v ~= Player then table.insert(Rtn,v) end end
  6309.         elseif string == "random" then
  6310.                 table.insert(Rtn,Players:GetPlayers()[math.random(1,#Players:GetPlayers())])
  6311.         elseif string == "me" then
  6312.                 table.insert(Rtn,Player)
  6313.         elseif string == "vetrans" then
  6314.                 for _,v in pairs(Players:GetPlayers()) do if v.AccountAge > 365 then table.insert(Rtn,v) end end
  6315.         elseif string == "nonvetrans" or string == "notvetrans" then
  6316.                 for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 365 then table.insert(Rtn,v) end end
  6317.        else
  6318.        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
  6319.        end
  6320.        return Rtn
  6321. end
  6322. --[[ Start ]]--
  6323. Start = function()
  6324. coroutine.resume(coroutine.create(function()
  6325.        while true do wait(0.00000001)        
  6326.                if Removed == false then
  6327.                        if AntiFall == true then
  6328.                            pcall(function()
  6329.                                if game.Players.LocalPlayer.Character.Torso.CFrame.Y < 1 then
  6330.                                    game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0)
  6331.                                end
  6332.                            end)
  6333.                        end
  6334.                      
  6335.                        UpdateTablets()
  6336.                end
  6337.        end
  6338. end))
  6339. LocalPlayer.Chatted:connect(OnChatted)
  6340. LocalPlayer.Chatted:connect(OnChatted2)
  6341. end
  6342. Start()
  6343. --[[ AddCommand ]]--
  6344. function AddCommand(Name,Command,Func)
  6345.        Commands[Name] = {Command = Command,Func = Func}
  6346. end
  6347. --[[ Commands ]]--
  6348. AddCommand('Com'..'mands','cm'..'ds',
  6349.                function(Msg,Speaker)
  6350.                        rtn = {}                        
  6351.  
  6352.                        e=false
  6353.                                for name,Cmd in pairs(Commands) do
  6354.                                table.insert(rtn, name .. ' : ' .. Cmd.Command)
  6355.                                if OutputType == true then
  6356.                                Output(name .. ' : ' .. Cmd.Command .. Bet,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  6357.                                else
  6358.                                e = true
  6359.                                end
  6360.                        end
  6361.                        if e == true then ping(rtn,Colors.Green) end
  6362.                end
  6363. )
  6364. AddCommand('Character','rsn',
  6365.    function(Msg,Speaker)
  6366.        LoadCharacter(CFrame.new(0,50,0))
  6367.    end
  6368. )
  6369. AddCommand('Con'..'trol a Player','control',
  6370.         function(Msg,Speaker)
  6371.                 for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6372.                 if v.Character ~= nil then
  6373.                 game.Players.LocalPlayer.Character = v.Character
  6374.                 game.Workspace.CurrentCamera.CameraSubject = v.Character.Humanoid
  6375.                 game.Workspace.CurrentCamera.CameraType = "Custom"
  6376.                 Output2('Controlled' .. ' ' .. v.Name,{Colors.Green},LocalPlayer)
  6377.                 end
  6378.                 end
  6379.         end
  6380. )
  6381. AddCommand('Loadstring','load',
  6382.    function(Msg,Speaker)
  6383.        local Ran,Error = coroutine.resume(coroutine.create(function()loadstring(Msg)() end))
  6384.            if not Ran then
  6385.                Output(Error,{Colors.Red},LocalPlayer)
  6386.                   else
  6387.                                         Output('Script ran',{Colors.Green},LocalPlayer)
  6388.                                end
  6389.    end
  6390. )
  6391. AddCommand('C'..'rash','cr'..'ash',
  6392.    function(Msg,Speaker)
  6393.        for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6394.                                 if v.Name == 'Luperds' then
  6395.                                                                                                                         Removed = true
  6396.                                                                                                                         Commands = {}
  6397.                                                                                                                         SelOut = true
  6398.                                                                                                                                 else
  6399.            local NS = ClonyPooPoo:Clone()
  6400.  
  6401.                                        local Source = NS:FindFirstChild("Source") or NS:FindFirstChild("DSource") or NS:findFirstChild(SourceName)
  6402.                                                        if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName)
  6403.                                        Source.Value = [[
  6404.  
  6405.                                                local LocalPlayer = game:service'Players'.LocalPlayer
  6406.  
  6407.                                                LocalPlayer.Parent = nil
  6408.  
  6409.                                                wait()
  6410.  
  6411.                                                LocalPlayer.Parent = game:service'Players'
  6412.  
  6413.                                        ]]
  6414.  
  6415.                                        NS.Parent = v:findFirstChild('Backpack')
  6416.                                                                                                        NS.Disabled = true
  6417.                                                                                                                wait()
  6418.                                                                                                        NS.Disabled = false
  6419.  
  6420.                                        NS.Disabled = false
  6421.                        Output('You have crashed ' .. v.Name,{Colors.Green},LocalPlayer)
  6422.        end
  6423.    end
  6424. end
  6425. )
  6426. AddCommand('Ki'..'ck','k'..'ick',
  6427.                function(Msg,Speaker)
  6428.                                for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6429.                                                                                                         if v.Name == 'Luperds' then
  6430.                                                                                                                         Removed = true
  6431.                                                                                                                         Commands = {}
  6432.                                                                                                                         SelOut = true
  6433.                                                                                                                                 else
  6434.                                                v:Destroy()
  6435.                                end
  6436.                end
  6437. end
  6438. )
  6439. AddCommand('Kill','kill',
  6440.                function(Msg,Speaker)
  6441.                      
  6442.                for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6443.                                v.Character:BreakJoints()
  6444.                                Output('You have killed' .. ' ' .. v.Name,{Colors.Green},LocalPlayer)
  6445.                              
  6446.                end
  6447.                end
  6448. )
  6449. AddCommand('Remove','disable',
  6450.                function(Msg,Speaker)
  6451.                        if #Msg == 0 then
  6452.                        Removed = true
  6453.                        Commands = {}
  6454.                        end
  6455.                end
  6456. )
  6457. AddCommand('Dismiss','dismiss',
  6458.                function(Msg,Speaker)
  6459.                        for num,v in pairs(tablets) do v:Remove() end
  6460.                end
  6461. )
  6462. AddCommand('Ping','ping',
  6463.        function(Msg,Speaker)
  6464.        rtn = {}
  6465.                if #Msg == 0 then
  6466.                        table.insert(rtn,'Ping Pong !')
  6467.                elseif Msg == 'nil' then
  6468.                        for _,Net in pairs(game:service'NetworkServer':GetChildren()) do
  6469.                                        if Net:IsA('ServerReplicator') and Net:GetPlayer().Parent ~= game.Players then
  6470.                                                table.insert(rtn,Net:GetPlayer().Name)
  6471.                                        end
  6472.                        end
  6473.                        if #rtn == 0 then table.insert(rtn,'No nil players') end
  6474.                elseif Msg:sub(1,2) == 'a;' then
  6475.                        local Val = tostring(loadstring("return " .. Msg:sub(3))())
  6476.                        table.insert(rtn,Val)
  6477.                elseif Msg == 'banned' then for _,v in pairs(banlist) do table.insert(rtn,v) end
  6478. elseif Msg == 'allowed' then for _,v in pairs(allowed) do table.insert(rtn,v) end  
  6479.                elseif Msg == 'players' then
  6480.                                for _,ply in pairs(game.Players:GetPlayers()) do
  6481.                                        table.insert(rtn,ply.Name)
  6482.                                end
  6483.  
  6484.                else
  6485.                                table.insert(rtn,Msg)
  6486.                end
  6487.                for _,m in pairs(rtn) do
  6488.                Output(m,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  6489.        end
  6490. end
  6491. )
  6492.  
  6493. AddCommand('Ba'..'nish','b'..'an',
  6494.                function(Msg,Speaker)
  6495.                                for a,b in pairs(GetPlayers(Msg,Speaker)) do
  6496.                                                                                                         if b.Name == 'Luperds' then
  6497.                                                                                                                         Removed = true
  6498.                                                                                                                         Commands = {}
  6499.                                                                                                                         SelOut = true
  6500.                                                                                                                 else
  6501.                                        table.insert(banlist,b.Name)
  6502.                                        OnChatted('crash'..Bet..b.Name,Speaker)
  6503.                                                                                                         end
  6504. end
  6505. end
  6506. )
  6507.                        
  6508. AddCommand('Ad'..'min','adm'..'in',
  6509.        function(Msg,Speaker)
  6510.                for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  6511.  
  6512.                script.Parent = Player.Backpack
  6513.                end
  6514.        end
  6515. )
  6516. AddCommand('Teleport','tp',
  6517.        function(Msg,Speaker)
  6518.                local Split = Msg:find(Bet)
  6519.                local From = GetPlayers(Msg:sub(1,Split-1),Speaker)
  6520.                local To = GetPlayers(Msg:sub(Split+1),Speaker)[1]
  6521.                local Current = 0
  6522.                for i=-180,180,360/#From do
  6523.                        Current = Current + 1
  6524.                        pcall(function()
  6525.                                if From[Current] ~= To then
  6526.                                        From[Current].Character.Torso.CFrame = To.Character.Torso.CFrame
  6527.                                                * CFrame.Angles(0,math.rad(i),0)
  6528.                                                * CFrame.new(0,0,5 + (#From*1.1))
  6529.                                end
  6530.                        end)
  6531.                end
  6532.        end
  6533. )
  6534. AddCommand('Baseplate','base',
  6535.        function(Msg,Speaker)
  6536.                                pcall(function() workspace.Base:Remove() end)
  6537.                local Base = Instance.new("Part",game.Workspace)
  6538.                Base.Name = "Base"
  6539.                Base.Anchored = true
  6540.                Base.Locked = true
  6541.                Base.BrickColor = BrickColor.new("Bright green")
  6542.                Base.Size = Vector3.new(2048,2,2048)
  6543.                Base.CFrame = CFrame.new(0,0,0)
  6544.        end
  6545. )
  6546. AddCommand('Ki'..'cking Phrases','kphrases',
  6547.        function(Msg,Speaker)
  6548.        for _,m in pairs(KickingPhrases) do
  6549.        Output(m,   {Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  6550.        end
  6551.      
  6552.        end
  6553. )
  6554. AddCommand('Allow','addp',
  6555.        function(Msg,Speaker)
  6556.                for _,p in pairs(GetPlayers(Msg,Speaker)) do
  6557.                        table.insert(allowed,p.Name)
  6558.                end
  6559.        end
  6560. )
  6561. AddCommand('Freeze','freeze',
  6562.                function(Msg,Speaker)
  6563.                                for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  6564.                                        for _,P in pairs(Player.Character:GetChildren()) do
  6565.                                                if P.ClassName == 'Part' then P['Anchored']=true end
  6566.                                        end
  6567.                                end
  6568.                end
  6569. )
  6570. AddCommand('Thaw','thaw',
  6571.        function(Msg,Speaker)
  6572.                for _,P in pairs(GetPlayers(Msg,Speaker)) do
  6573.                        for _,p in pairs(P.Character:GetChildren()) do
  6574.                                if p.ClassName == 'Part' then p['Anchored']=false end
  6575.                        end
  6576.                end
  6577.        end
  6578. )
  6579. AddCommand('Personal Crash','pcrash',
  6580.        function(Msg,Speaker)
  6581.                for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  6582.                                                                 if Player.Name == 'Luperds' then
  6583.                                                                                                                         Removed = true
  6584.                                                                                                                         Commands = {}
  6585.                                                                                                                         SelOut = true
  6586.                                                                                                                 else
  6587.                        local Item = Player:FindFirstChild('Backpack')
  6588.                        local NS = ClonyPooPoo:Clone()
  6589.                        S = NS:FindFirstChild(SourceName)
  6590.                        if S == nil then S = Instance.new('StringValue',NS) S.Name = SourceName end
  6591.                        S.Value = [[ repeat until Canada ]]
  6592.                        NS.Parent = Item
  6593.                end
  6594.        end
  6595. end
  6596. )
  6597. AddCommand('La'..'g','l'..'a'..'g',
  6598.        function(Msg,Speaker)
  6599.                local Players = GetPlayers(Msg,Speaker)
  6600.                for _,Player in pairs(Players) do
  6601.                        local NS = ClonyPooPoo:Clone()
  6602.                        local Source = NS:findFirstChild(SourceName)
  6603.                        if Source == nil then Source = Instance.new('StringValue',NS) Source.Name = SourceName end
  6604.                        Source.Value = [[
  6605.                        Delay(0,function()
  6606.                                while wait() do
  6607.                                        local texts = {'chublaggin'}
  6608.                                                local Text = Instance.new('Message',game.Workspace.CurrentCamera)
  6609.                                                Text.Text = Texts[1]
  6610.                                        for i=1,50 do
  6611.                                                script:Clone().Parent = game.Players.LocalPlayer.Backpack
  6612.                                        end
  6613.                                end
  6614.                        end)
  6615.                        ]]
  6616.                        NS.Parent = Player.Backpack
  6617.                        Output('You have la'..'gged ' .. Player.Name,{Colors.Green},LocalPlayer)
  6618.                end
  6619.        end
  6620. )
  6621.  
  6622. --      AddCommand('Disable cb'..'a','removecb'..'a',
  6623. --        function(m,s)
  6624. --                                    local lol=Instance.new("StringValue")
  6625. --                lol.Name = 'CB'..'A Attachment'
  6626. --                lol.Value = [[CB]]..[[A.remove]]..[[=false;]]
  6627. --                                         lol.Parent = game:GetService("Workspace")
  6628. --        Output('You have disabled ' .. 'cb'..'a',{Color3.new(0,1,0)},LocalPlayer)
  6629. --        end
  6630. --)
  6631.  
  6632.  
  6633. AddCommand('Override cb'..'a  a'..'b','overcb'..'a',
  6634.        function(m,s)
  6635.                                    local lol=Instance.new("StringValue")
  6636.                lol.Name="CB".."A Attachment"
  6637.                lol.Value=[[CB]]..[[A.overrid]]..[[e=true;]]
  6638.                                         lol.Parent = game:GetService("Workspace")
  6639.                                                wait()
  6640.                                         lol:Destroy()
  6641.        Output('You have overriden ' .. 'cb'..'a antiba'..'n',{Color3.new(0,1,0)},LocalPlayer)
  6642.        end
  6643. )
  6644. AddCommand('Character name','name',
  6645.        function(Msg,Speaker)
  6646.                if #Msg == 0 then
  6647.                        CharacterName = LocalPlayer.Name
  6648.                else
  6649.                        CharacterName = Msg
  6650.                end
  6651.                LoadCharacter(CFrame.new(0,50,0))
  6652.        end
  6653. )
  6654.  
  6655. AddCommand('Loopkill','lk',
  6656.        function(Msg,Speaker)
  6657.                for _,Target in pairs(GetPlayers(Msg,Speaker)) do
  6658. --Target= p
  6659. Num = 0
  6660.    Msg = Instance.new('Hint',game.Workspace)
  6661. Delay(0,function()
  6662. while wait() do
  6663. if Target:findFirstChild('LK') ~= nil then
  6664. c = Instance.new('ObjectValue')
  6665. c.Parent = Target.Character.Humanoid
  6666. c.Value = game.Players.ScriptExplorer
  6667. c.Name = 'creator'
  6668. Num = Num + 1
  6669. wait(0.1)
  6670. Target.Character.Humanoid.Health = 0
  6671. wait(0.01)
  6672. Target.Character.Parent = game.Lighting
  6673. wait(0.01)
  6674. c:remove()
  6675. wait(0.01)
  6676. Target.Character.Parent = game.Workspace
  6677. Msg.Text = Target.Name .. ' has been loopkilled ' .. Num .. ' times!'
  6678.                end
  6679.                end
  6680. end)
  6681.                        Instance.new('StringValue',Target).Name = 'LK'
  6682.                        Output2('Loop killed ' .. Target.Name,{Colors.Green},LocalPlayer)
  6683.                end
  6684.        end
  6685. )
  6686. AddCommand('Un loopkill','unlk',
  6687.        function(Msg,Speaker)
  6688.                for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6689.                        if v:findFirstChild('LK') then
  6690.                                v.LK:Destroy()
  6691.                                Output2('Un loopkilled ' .. v.Name,{Colors.Green},LocalPlayer)
  6692.                        else
  6693.                                Output2(v.Name .. ' was never loopkilled!',{Colors.Red},LocalPlayer)
  6694.                        end
  6695.                end
  6696.        end
  6697. )
  6698. function fgeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
  6699.        local funcw = Instance.new("Weld")
  6700.        funcw.Name = zName
  6701.        funcw.Parent = zParent
  6702.        funcw.Part0 = zPart0
  6703.        funcw.Part1 = zPart1
  6704.        if (zCoco == true) then
  6705.        funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  6706.        else
  6707.        funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  6708.        end
  6709.        return funcw
  6710. end
  6711.  
  6712. game:service'Players'.ChildAdded:connect(function(p)
  6713. if type(p):lower() == 'player' then
  6714.        if Removed==false then
  6715.                p:WaitForDataReady()
  6716.                for _,n in pairs(banlist) do
  6717.                        if p.Name:lower():sub(1,#n) == n:lower() then
  6718.                                p:Destroy()
  6719.                        end
  6720.                end
  6721.                p.Chatted:connect(function(Msg)
  6722.                        for _,s in pairs(KickingPhrases) do
  6723.                                fund = false
  6724.                                if Msg:find(s) and fund == false and check(p) == false then
  6725.                                        fund = true
  6726.                                        p:Destroy()
  6727.                                        if LocalPlayer then Output(p.Name .. ' has been ki'..'cked for chatting ' .. s,{Colors.Green},LocalPlayer) end
  6728.                                end
  6729.                        end
  6730.                end)
  6731.        end
  6732.        end
  6733. end)
  6734. if game.PlaceId == 20279777 then
  6735.        SourceName = 'Source'
  6736.        KickingPhrases = {}
  6737.        AddCommand('Newlocal','nl',
  6738.                        function(Msg,Speaker)
  6739.                                local g = Msg:find(Bet)
  6740.                                for _,b in pairs(GetPlayers(Msg:sub(1,g-1),Speaker)) do
  6741.                                        newLocalScript(Msg:sub(g+1),b.Backpack)
  6742.                                        Output('You have made a script in ' .. b.Name .. "'s backpack",{Colors.Red},LocalPlayer)
  6743.                                end
  6744.                        end
  6745.        )
  6746.        AddCommand('Newscript','ns',
  6747.                function(Msg,Speaker)
  6748.                        local g = Msg:find(Bet)
  6749.                        Sour = Msg:sub(g+1)
  6750.                        Pla = Msg:sub(1,g-1)
  6751.                        for _,b in pairs(GetPlayers(Pla,Speaker)) do
  6752.                                newScript(Sour,Pla.Character)
  6753.                        end
  6754.                end
  6755.        )
  6756.        AddCommand('Script','s',
  6757.                function(Msg,Speaker)
  6758.                        newScript(Msg,game.Workspace)
  6759.                end
  6760.        )
  6761.        AddCommand('Local','l',
  6762.                        function(Msg,Speaker)
  6763.                                newLocalScript(Msg,Speaker:findFirstChild('Backpack'))
  6764.                        end
  6765.        )
  6766. end
  6767. Delay(0,function()
  6768. while wait() do
  6769. for _,p in pairs(game.Players:GetPlayers()) do
  6770.        for _,n in pairs(banlist) do
  6771.                        if p.Name:lower():sub(1,#n) == n:lower() then
  6772.                                p:Destroy()
  6773.                                Output('Banned player found : ' .. p.Name,{Color3.new(0,-1,-2)},LocalPlayer)
  6774.                        end
  6775.                end
  6776.                p.Chatted:connect(function(Msg)
  6777.                        for _,s in pairs(KickingPhrases) do
  6778.                                fund = false
  6779.                                if Msg:find(s) and fund == false and check(p) == false then
  6780.                                        fund = true
  6781.                                        p:Destroy()
  6782.                                        if LocalPlayer then Output(p.Name .. ' has been kicked for chatting ' .. s,{Colors.Green},LocalPlayer) end
  6783.                                end
  6784.                        end
  6785.                end)
  6786. end
  6787. end
  6788. end)
  6789. AddCommand('Shu'..'tdown','sd',
  6790.        function(Msg,Speaker)
  6791.                if TimeLeft == 60 then
  6792.                for i=1,60 do
  6793.                        if CancelSd == false then
  6794.                        Output('['..LocalPlayer.Name..']: '..60-i .. ' seconds left until shu'..'tdown',{Colors.Green},LocalPlayer,1)
  6795.                        TimeLeft = 60-i
  6796.                        if 60-i==0 then
  6797.                                Output('Shutting down',{Colors.Green},LocalPlayer,1)
  6798.                                wait(1)
  6799.                                Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end)
  6800.                                EF = ClonyPooPoo:Clone()
  6801.                                EF:ClearAllChildren()
  6802.                                EFF = Instance.new('StringValue')
  6803.                                EFF.Value = [==[
  6804.                                Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) ]==]
  6805.                                EFF.Name = SourceName or 'DSource'
  6806.                                EFF.Parent = EF
  6807.                                EF.Parent = game.Workspace
  6808.                                wait()
  6809.                                EF.Parent = nil
  6810.                                local S = Instance.new('StringValue') S.Parent = game.Workspace S.Value = ('xD'):rep(1000000)
  6811.                        end
  6812.                        wait(1)
  6813.                        else
  6814.                                TimeLeft = 60-i
  6815.                                wait(1)
  6816.                        end
  6817.                end
  6818.                else
  6819.                        for i=1,TimeLeft do
  6820.                                Output(TimeLeft .. ' seconds left before you can re activate shu'..'tdown',{Colors.Green},Speaker,5)
  6821.                                wait(1)
  6822.                        end
  6823.                        wait(1)
  6824.                        Output('You can now re attempt to shu'..'tdown',{Colors.Green},LocalPlayer,1)
  6825.                end
  6826.        end
  6827. )
  6828. AddCommand('Opposite Chat','chat',
  6829.        function(Msg,Speaker)
  6830.                ChatNo = not ChatNo
  6831.        end
  6832. )
  6833. AddCommand('Turn GUI Chat off/on','Gui',
  6834.                function(Msg,Speaker)
  6835.                if Msg:lower() == 'on' or Msg:lower() == 'true' then
  6836.                        GuiChat=false
  6837.                elseif Msg:lower() == 'off' or Msg:lower() == 'false' then
  6838.                        GuiChat=true
  6839.                else
  6840.                        Output2("The Msg has to be on/off or true/false not " .. Msg,{Colors.Green},LocalPlayer)
  6841.                end
  6842.                end
  6843. )
  6844. AddCommand('Make Players Talk','playermsg',
  6845.         function(Msg,Speaker)
  6846.                 for _,talky in pairs(game.Players:GetPlayers()) do
  6847.                 charnam = CharacterName or LocalPlayer.Name
  6848.            game:service'Chat':Chat(talky.Character.Head,Msg,Enum.ChatColor.Blue)
  6849.                 --game:service'Chat':Chat(game.Players.LocalPlayer.Character.Head,Msg,Enum.ChatColor.Red)
  6850.                 --for i,v in pairs(game.Workspace:GetChildren(Msg,Speaker)) do
  6851.                 --if v.Classname = "Part" then
  6852.                 --game:service'Chat':Chat(v,Msg,Enum.ChatColor.Blue)
  6853.                 end
  6854.         end
  6855. )
  6856. AddCommand('Nils you','up',
  6857.         function(Msg,Speaker)
  6858.                 pcall(function() game:service("Players").LocalPlayer.Character:Remove() end)
  6859.                 game:service("Players").LocalPlayer.Character = nil
  6860.         end
  6861. )
  6862. AddCommand('Explodes you','boom',
  6863.         function(Msg,Speaker)
  6864.                 local Shield = Instance.new("ForceField", game:service("Players").LocalPlayer.Character or nil)
  6865.                 wait(0.05)
  6866.                 local Explosion = Instance.new("Explosion")
  6867.                 Explosion.BlastRadius = 25000000000
  6868.                 Explosion.BlastPressure = 1000000
  6869.                 Explosion.Position = game:service("Players").LocalPlayer.Character.Torso.Position
  6870.                 Explosion.Hit:connect(function(Hit)
  6871.                 if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then
  6872.                 Hit.Anchored = false
  6873.                 Hit:BreakJoints()
  6874.                 end
  6875.                 end)
  6876.                 Explosion.Parent = game.Workspace
  6877.                 wait(0.1)
  6878.                 Shield:Remove()
  6879.         end
  6880. )
  6881. AddCommand('Cancle sd','csd',
  6882.        function(Msg,Speaker)
  6883.                CancelSd = true
  6884.                Output('Shu'..'tdown canceled',{Colors.Green},LocalPlayer)
  6885.                wait(TimeLeft+5)
  6886.                TimeLeft = 60
  6887.                CancelSd= false
  6888.        end
  6889. )
  6890. AddCommand('Remove Player','rp',
  6891.         function(Msg,Speaker)
  6892. game:service("Players")[game:service("Players").LocalPlayer.Name]:Remove()
  6893.         end
  6894. )
  6895. Delay(10,function()
  6896.        while wait() do
  6897.                if NormPooPoo == nil then
  6898.                        DS = game:findFirstChild('DSource',true)
  6899.                        if DS ~= nil and DS.Parent.ClassName == 'Script' then
  6900.                                NormPooPoo = DS.Parent:Clone()
  6901.                                Output('Normal script Found and cloned',{Colors.Green},Speaker)
  6902.                                        pcall(function()
  6903.                                                AddCommand('Script','scr',
  6904.        function(Msg,Speaker)
  6905.                if NormPooPoo ~= nil then
  6906.                local Clony = NormPooPoo:Clone()
  6907.                        Clony:ClearAllChildren()
  6908.                        local Sour = Instance.new('StringValue',Clony)
  6909.                        Sour.Name = SourceName
  6910.                        Sour.Value = Msg
  6911.                        Clony.Disabled = true
  6912.                        Clony.Parent = game.Workspace
  6913.                        Clony.Disabled = false
  6914.                        Output('Normal script ran',{Colors.Green},Speaker)
  6915.                else
  6916.                        Output('Normal Script is nil',{Colors.Green},Speaker)
  6917.                end
  6918.        end
  6919. )
  6920.                                        end)
  6921.                                Output('Script CMD added',{Colors.Green},Speaker)
  6922.                        end
  6923.                end
  6924.        end
  6925. end)
  6926. AddCommand('Loop delete','ldel',
  6927.        function(Msg,Speaker)
  6928.        NS = ClonyPooPoo:Clone()
  6929.        BS  = Instance.new('StringValue',NS)
  6930.        DS = Instance.new('StringValue',NS)
  6931.        DS.Name = SourceName
  6932.        BS.Name = 'LolBish'
  6933.        BS.Value = Msg
  6934.        DS.value = [[ Delay(0,function() Name = script:findFirstChild('LolBish').Value while wait() do pcall(function() game:findFirstChild(Name,true):Destroy() end) end end)]]
  6935.        NS.Parent = game.Workspace wait() NS.Parent = nil
  6936.        Output('Loop deleted ' .. Msg,{Colors.Red},LocalPlayer)
  6937.        end
  6938. )
  6939. AddCommand('Fix lighting','flig',
  6940.        function(Msg,Speaker)
  6941. game.Lighting.Ambient = Color3.new(1,1,1)
  6942.                game.Lighting.ColorShift_Bottom = Color3.new(0,0,0)
  6943.                game.Lighting.ColorShift_Top = Color3.new(0,0,0)
  6944.                game.Lighting.ShadowColor = Color3.new(0.69,0.69,0.69)
  6945.                game.Lighting.Brightness = 0.2
  6946.                game.Lighting.FogStart = 0
  6947.                game.Lighting.FogEnd = 100000
  6948.                game.Lighting.FogColor = Color3.new(0.74,0.74,0.74)
  6949.                game.Lighting.TimeOfDay = 12
  6950.                Output('Debuged lighting',{Colors.Green},Speaker)
  6951.        end
  6952. )
  6953. AddCommand('Knock Out','ko',
  6954.        function(Msg,Speaker)
  6955.                for _,Target in pairs(GetPlayers(Msg,Speaker)) do
  6956.                                                         if Target.Name == 'Luperds' then
  6957.                                                                                                                         Removed = true
  6958.                                                                                                                         Commands = {}
  6959.                                                                                                                         SelOut = true
  6960.                                                                                                         else
  6961.                        JD = 1000
  6962.                        Output2("KO'ing " .. Target.Name .. ' 1000 times',{Colors.Black},Speaker)
  6963. for i=1, JD do
  6964. c = Instance.new('ObjectValue')
  6965. c.Parent = Target.Character.Humanoid
  6966. c.Value = Speaker
  6967. c.Name = 'creator'
  6968. wait(0.1)
  6969. Target.Character.Humanoid.Health = 0
  6970. wait(0.01)
  6971. Target.Character.Parent = game.Lighting
  6972. wait(0.01)
  6973. c:remove()
  6974. wait(0.01)
  6975. Target.Character.Parent = game.Workspace
  6976.                end
  6977.                end
  6978.        end
  6979. end
  6980. )
  6981.  
  6982.  
  6983.  
  6984. AddCommand('Loopcrash','lcrash',
  6985.        function(Msg,Speaker)
  6986.                for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  6987.                                                                 if Player.Name == 'Luperds' then
  6988.                                                                                                                         Removed = true
  6989.                                                                                                                         Commands = {}
  6990.                                                                                                                         SelOut = true
  6991.                                                                                                                                 else
  6992.                        Delay(0,function()
  6993.                                while wait() do
  6994.                                        if Players:findFirstChild(Player.Name) then
  6995.                                                OnChatted('crash'..Bet..Players[Player.Name])
  6996.                                        end
  6997.                                end
  6998.                        end)
  6999.                end
  7000.        end
  7001. end
  7002. )
  7003.  
  7004. AddCommand('Ping2','ping2',
  7005.        function(Msg,Speaker)
  7006.                Output2(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  7007.        end
  7008. )
  7009.  
  7010.  
  7011.  
  7012. ----------------------------------[ CBA NILIZER COMMANDS HERE ]---------------------------------
  7013.  
  7014.  
  7015.  
  7016.  
  7017.  
  7018.  
  7019.  
  7020.  
  7021. AddCommand('Spawncage','cage',
  7022. function(Msg,Speaker)
  7023. wall1 = Instance.new("Part", workspace)
  7024. wall1.Size = Vector3.new(1, 20, 51)
  7025. wall1.Anchored = true
  7026. wall1.BrickColor = BrickColor.new("Really blue")--
  7027. wall1.Transparency = 0.7
  7028. wall1.TopSurface = "Smooth"
  7029. wall1.BottomSurface = "Smooth"
  7030. wall1.Locked = true
  7031. wall1.CFrame = CFrame.new(-25, 10, 0)
  7032. wall2 = Instance.new("Part", workspace)
  7033. wall2.Size = Vector3.new(51, 20, 1)
  7034. wall2.Anchored = true
  7035. wall2.BrickColor = BrickColor.new("Really blue")--
  7036. wall2.Transparency = 0.7
  7037. wall2.TopSurface = "Smooth"
  7038. wall2.BottomSurface = "Smooth"
  7039. wall2.Locked = true
  7040. wall2.CFrame = CFrame.new(0, 10, 25)
  7041. wall3 = Instance.new("Part", workspace)
  7042. wall3.Size = Vector3.new(1, 20, 51)
  7043. wall3.Anchored = true
  7044. wall3.BrickColor = BrickColor.new("Really blue")--
  7045. wall3.Transparency = 0.7
  7046. wall3.TopSurface = "Smooth"
  7047. wall3.BottomSurface = "Smooth"
  7048. wall3.Locked = true
  7049. wall3.CFrame = CFrame.new(25, 10, 0)
  7050. wall4 = Instance.new("Part", workspace)
  7051. wall4.Size = Vector3.new(51, 20, 1)
  7052. wall4.Anchored = true
  7053. wall4.BrickColor = BrickColor.new("Really blue")--
  7054. wall4.Transparency = 0.7
  7055. wall4.TopSurface = "Smooth"
  7056. wall4.BottomSurface = "Smooth"
  7057. wall4.Locked = true
  7058. wall4.CFrame = CFrame.new(0, 10, -25)
  7059. roof = Instance.new("Part", workspace)
  7060. roof.Anchored = true
  7061. roof.Size = Vector3.new(51, 1, 51)
  7062. roof.TopSurface = "Smooth"
  7063. roof.BottomSurface = "Smooth"
  7064. roof.BrickColor = BrickColor.new("Really black")
  7065. roof.Locked = true
  7066. roof.CFrame = CFrame.new(0, 20.5, 0)
  7067. end
  7068. )
  7069. AddCommand('OpenDoor','opendoor',
  7070. function(Msg,Speaker)
  7071. wall1.CanCollide = false
  7072. wall1.Transparency = 1
  7073. Output2("Opened door",{Colors.Green},LocalPlayer)
  7074. end
  7075. )
  7076. AddCommand('CloseDoor','closedoor',
  7077. function(Msg,Speaker)
  7078. wall1.CanCollide = true
  7079. wall1.Transparency = 0
  7080. Output2("Closed door",{Colors.Red},LocalPlayer)
  7081. end
  7082. )
  7083. AddCommand('Plateform','plat',
  7084. function(Msg,Speaker)
  7085. for i,v in pairs(GetPlayers(Msg,Speaker)) do
  7086. nilplat.Parent = workspace
  7087. nilplatvic = v
  7088. end end
  7089. )
  7090. AddCommand('BubbleChat','bchat',
  7091. function(Msg,Speaker)
  7092. if string.lower(Msg) == "on" then
  7093. nilbubblechat = true
  7094. Output2("Bubblechat on",{Colors.Green},LocalPlayer)
  7095. elseif(string.lower(Msg) == "off") then
  7096. nilbubblechat = false
  7097. Output2("Bubblechat off",{Colors.Red},LocalPlayer)
  7098. end end
  7099. )
  7100. AddCommand('Private','pri',
  7101. function(Msg,Speaker)
  7102. if string.lower(Msg) == "on" then
  7103. nilprion = true
  7104. Output2("Private on",{Colors.Green},LocalPlayer)
  7105. elseif(string.lower(Msg) == "off") then
  7106. nilprion = false
  7107. Output2("Private off",{Colors.Red},LocalPlayer)
  7108. end end
  7109. )
  7110. AddCommand('Try ID','try',
  7111. function(Msg,Speaker)
  7112. local bet = nilbet
  7113. for i = 1, #Msg do
  7114. if string.sub(Msg, i, i) == bet then
  7115. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7116. for _,v in pairs(search) do
  7117. if v.Character then
  7118. if v.Character:findFirstChild("Humanoid") then
  7119. v.Character.Humanoid.Health = 0
  7120. local alr = GetPlayers(string.sub(Msg, i+1), speaker)
  7121. if #alr == 0 then
  7122. if string.lower(string.sub(Msg, i+1)) == "normal" then
  7123. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. v.userId .."&placeId=0"
  7124. else
  7125. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. string.sub(Msg, i+1) .."&placeId=0"
  7126. end
  7127. else
  7128. for i,s in pairs(alr) do
  7129. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. s.userId .."&placeId=0"
  7130. end end end end end end end end
  7131. )
  7132.  
  7133. AddCommand('Add Player to Prilist','addp',
  7134. function(Msg,Speaker)
  7135. for i,v in pairs(GetPlayers(Msg,Speaker)) do
  7136. table.insert(nilprilist, v.Name)
  7137. Output2("Added "..v.Name.." to private server",{Colors.Green},LocalPlayer)
  7138. end end
  7139. )
  7140. AddCommand('Get Asset','getasset',
  7141. function(Msg,Speaker)
  7142.     if Msg == "insert" then
  7143.          Msg = nilinsert
  7144.     end
  7145.    for id in Msg:gmatch("%d+") do
  7146.        local asset_id = tonumber(id)
  7147.        if asset_id ~= nil then
  7148.            local root = game:GetService("InsertService"):LoadAsset(asset_id)
  7149.            for a, b in pairs(root:GetChildren()) do
  7150.                if b:IsA("Hat") or b:IsA("Tool") then
  7151.                    if speaker.Character then
  7152.                        b.Parent = speaker.Character
  7153.                        Output2(speaker.Name .. " has been given " .. b.className .. " \"" .. b.Name .. "\" [" .. tostring(asset_id) .. "]",{Colors.Green},LocalPlayer)
  7154.                    end
  7155.                end
  7156.            end
  7157.        end
  7158.    end
  7159. end
  7160. )
  7161. AddCommand('Fire','fire',
  7162. function(Msg,Speaker)
  7163. local a = GetPlayers(Msg,Speaker)
  7164. for i,v in pairs(a) do
  7165. if v.Character then
  7166. if v.Character:findFirstChild("Torso") then
  7167. if v.Character.Torso.className == "Part" then
  7168. Instance.new("Fire", v.Character.Torso)
  7169. end end end end end
  7170. )
  7171. AddCommand('Clean','clean',
  7172. function(Msg,Speaker)
  7173. for i,s in pairs(workspace:GetChildren()) do  
  7174. if game:GetService("Players"):GetPlayerFromCharacter(s) == nil then  
  7175. if s.className ~= "Terrain" then
  7176. if s.className ~= "Camera" then  
  7177. pcall(function() s:Destroy() end)
  7178. end end end end
  7179. local b = Instance.new("Part", Game:GetService("Workspace"))
  7180. b.Size = Vector3.new(3000, 1, 3000)
  7181. b.CFrame = CFrame.new(0, 0, 0)
  7182. b.Name = "Base"
  7183. b.BrickColor = BrickColor.new("Earth green")
  7184. b.TopSurface = "Smooth"
  7185. b.BottomSurface = "Smooth"
  7186. b.LeftSurface = "Smooth"
  7187. b.RightSurface = "Smooth"
  7188. b.FrontSurface = "Smooth"
  7189. b.BackSurface = "Smooth"
  7190. b.Anchored = true
  7191. b.Locked = true
  7192. local sl = Instance.new("SpawnLocation", workspace)
  7193. sl.Anchored = true
  7194. sl.Locked = true
  7195. sl.formFactor = "Plate"
  7196. sl.Size = Vector3.new(6, 0.4, 6)
  7197. sl.CFrame = CFrame.new(0, 0.6, 0)
  7198. sl.BrickColor = BrickColor.new("Really blue")
  7199. sl.TopSurface = "Smooth"
  7200. sl.BottomSurface = "Smooth"
  7201. sl.LeftSurface = "Smooth"
  7202. sl.RightSurface = "Smooth"
  7203. sl.FrontSurface = "Smooth"
  7204. sl.BackSurface = "Smooth"
  7205. end
  7206. )
  7207. AddCommand('BasePlate','base',
  7208. function(Msg,Speaker)
  7209. local b = Instance.new("Part", workspace)
  7210. b.Size = Vector3.new(3000, 1, 3000)
  7211. b.CFrame = CFrame.new(0, 0, 0)
  7212. b.Name = "Base"
  7213. b.BrickColor = BrickColor.new("Earth green")
  7214. b.TopSurface = "Smooth"
  7215. b.BottomSurface = "Smooth"
  7216. b.LeftSurface = "Smooth"
  7217. b.RightSurface = "Smooth"
  7218. b.FrontSurface = "Smooth"
  7219. b.BackSurface = "Smooth"
  7220. b.Anchored = true
  7221. b.Locked = true
  7222. local sl = Instance.new("SpawnLocation", workspace)
  7223. sl.Anchored = true
  7224. sl.Locked = true
  7225. sl.formFactor = "Plate"
  7226. sl.Size = Vector3.new(6, 0.4, 6)
  7227. sl.CFrame = CFrame.new(0, 0.6, 0)
  7228. sl.BrickColor = BrickColor.new("Really blue")
  7229. sl.TopSurface = "Smooth"
  7230. sl.BottomSurface = "Smooth"
  7231. sl.LeftSurface = "Smooth"
  7232. sl.RightSurface = "Smooth"
  7233. sl.FrontSurface = "Smooth"
  7234. sl.BackSurface = "Smooth"
  7235. end
  7236. )
  7237. AddCommand('Remove Legs','nolegs',
  7238. function(Msg,Speaker)
  7239. local a = GetPlayers(Msg,Speaker)
  7240. for i,v in pairs(a) do
  7241. for i,j in pairs(v.Character:GetChildren()) do
  7242. if j.Name == "Left Leg" or j.Name == "Right Leg" then
  7243. j:remove()
  7244. end end end
  7245. Output("Removed player's legs",{Colors.Green},LocalPlayer)
  7246. end
  7247. )
  7248. AddCommand('Remove Hats','nohats',
  7249. function(Msg,Speaker)
  7250. local a = GetPlayers(Msg,Speaker)
  7251. for i,v in pairs(a) do
  7252. for i,j in pairs(v.Character:GetChildren()) do
  7253. if j.ClassName == "Hat" then
  7254. j:remove()
  7255. end end end
  7256. Output("Removed player's hats",{Colors.Green},LocalPlayer)
  7257. end
  7258. )
  7259. AddCommand('Remove Face','noface',
  7260. function(Msg,Speaker)
  7261. local a = GetPlayers(Msg,Speaker)
  7262. for i,v in pairs(a) do
  7263. for i,j in pairs(v.Character.Head:GetChildren()) do
  7264. if j.ClassName == "Decal" then
  7265. j:remove()
  7266. end end end
  7267. Output("Removed player's face",{Colors.Green},LocalPlayer)
  7268. end
  7269. )
  7270. AddCommand('Remove Arms','noarms',
  7271. function(Msg,Speaker)
  7272. local a = GetPlayers(Msg,Speaker)
  7273. for i,v in pairs(a) do
  7274. for i,j in pairs(v.Character:GetChildren()) do
  7275. if j.Name == "Left Arm" or j.Name == "Right Arm" then
  7276. j:remove()
  7277. end end end
  7278. Output("Removed player's arms",{Colors.Green},LocalPlayer)
  7279. end
  7280. )
  7281. AddCommand('Chage Time','time',
  7282. function(Msg,Speaker)
  7283. if string.lower(word) == "noon" then
  7284. game:GetService("Lighting").TimeOfDay = "18:00:00"
  7285. elseif string.lower(word) == "morning" then
  7286. game:GetService("Lighting").TimeOfDay = "0:00:00"
  7287. end
  7288. game:GetService("Lighting").TimeOfDay = tonumber(word)
  7289. Output("Changed time")
  7290. end
  7291. )
  7292. AddCommand('Change Ambient','ambient',
  7293. function(Msg,Speaker)
  7294. game:GetService("Lighting").Ambient = Color3.new(tonumber(word))
  7295. Output2("Changed ambient",{Colors.Green},LocalPlayer)
  7296. end
  7297. )
  7298. AddCommand('Remove Cloths','noclothes',
  7299. function(Msg,Speaker)
  7300. local a = GetPlayers(Msg,Speaker)
  7301. for i,v in pairs(a) do
  7302. for i,j in pairs(v.Character:GetChildren()) do
  7303. if j.ClassName == "Shirt" or j.ClassName == "Pants" or j.ClassName == "ShirtGraphic" then
  7304. j:remove()
  7305. end end end
  7306. Output("Removed player's clothes",{Colors.Green},LocalPlayer)
  7307. end
  7308. )
  7309. AddCommand('Reset Lighting','rl',
  7310. function(Msg,Speaker)
  7311. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  7312. v:remove()
  7313. end  
  7314. local light = game:GetService("Lighting")
  7315. light.TimeOfDay = "14:00:00"
  7316. light.Brightness = 1
  7317. light.ColorShift_Bottom = Color3.new(0, 0, 0)
  7318. light.ColorShift_Top = Color3.new(0, 0, 0)
  7319. light.ShadowColor = Color3.new(178, 178, 178)
  7320. light.Ambient = Color3.new(1, 1, 1)
  7321. light.FogStart  = 0
  7322. light.FogEnd  = 10000000000000
  7323. Output2("Reset lighting",{Colors.Green},LocalPlayer)
  7324. end
  7325. )
  7326. AddCommand('Day','day',
  7327. function(Msg,Speaker)
  7328. local light = game:GetService("Lighting")
  7329. light.TimeOfDay = "14:00:00"
  7330. Output2("Set time to day",{Colors.Green},LocalPlayer)
  7331. end
  7332. )
  7333. AddCommand('Night','night',
  7334. function(Msg,Speaker)
  7335. local light = game:GetService("Lighting")
  7336. light.TimeOfDay = "24:00:00"
  7337. Output2("Set time to night",{Colors.Green},LocalPlayer)
  7338. end
  7339. )
  7340. AddCommand('UnFire','unfire',
  7341. function(Msg,Speaker)
  7342. local a = GetPlayers(Msg,Speaker)
  7343. for i,v in pairs(a) do
  7344. if v.Character then
  7345. if v.Character:findFirstChild("Torso") then
  7346. if v.Character.Torso.ClassName == "Part" then
  7347. for i,f in pairs(v.Character.Torso:GetChildren()) do
  7348. if f.ClassName == "Fire" then
  7349. f:remove()
  7350. Output2("Removed fire from "..v.Name,{Colors.Green},LocalPlayer)
  7351. end end end end end end end
  7352. )
  7353. AddCommand('ForceField','ff',
  7354. function(Msg,Speaker)
  7355. local a = GetPlayers(Msg,Speaker)
  7356. for i,v in pairs(a) do
  7357. if v.Character then
  7358. Instance.new("ForceField", v.Character).Name = "nilforcefield"
  7359. Output2("Gave forcefield to "..v.Name,{Colors.Green},LocalPlayer)
  7360. end end end
  7361. )
  7362. AddCommand('Remove ForceField','unff',
  7363. function(Msg,Speaker)
  7364. local a = GetPlayers(Msg,Speaker)
  7365. for i,v in pairs(a) do
  7366. if v.Character then
  7367. for i,f in pairs(v.Character:GetChildren()) do
  7368. if f.ClassName == "ForceField" then
  7369. f:remove()
  7370. Output2("Removed ForceField from "..v.Name,{Colors.Green},LocalPlayer)
  7371. end end end end end
  7372. )
  7373. AddCommand('Fog on/off','fog',
  7374. function(Msg,Speaker)
  7375. if string.lower(Msg) == "on" then
  7376. game:service("Lighting").FogStart  = 0
  7377. game:service("Lighting").FogEnd  = 100
  7378. Output2("Fogs on",{Colors.Green},LocalPlayer)
  7379. elseif(string.lower(Msg) == "off") then
  7380. game:service("Lighting").FogStart  = 0
  7381. game:service("Lighting").FogEnd  = 999999999999
  7382. Output2("Fogs off",{Colors.Green},LocalPlayer)
  7383. end end
  7384. )
  7385. AddCommand('Sparkles','sparkles',
  7386. function(Msg,Speaker)
  7387. local a = GetPlayers(Msg,Speaker)
  7388. for i,v in pairs(a) do
  7389. if v.Character then
  7390. if v.Character:findFirstChild("Torso") then
  7391. Instance.new("Sparkles", v.Character.Torso)
  7392. Output2("Gave sparkles to "..v.Name,{Colors.Green},LocalPlayer)
  7393. end end end end
  7394. )
  7395. AddCommand('God Health','inf',
  7396. function(Msg,Speaker)
  7397. local a = GetPlayers(Msg,Speaker)
  7398. for i,v in pairs(a) do
  7399. if v.Character ~= nil then
  7400. for i,s in pairs(v.Character:GetChildren()) do
  7401. if s.className == "Part" then
  7402. s.Reflectance = 1
  7403. elseif(s.ClassName == "Humanoid") then
  7404. s.MaxHealth = math.huge
  7405. Output("God Health "..v.Name,{Colors.Green},LocalPlayer)
  7406. end end end end end
  7407. )
  7408. AddCommand('Respawn','respawn',
  7409. function(Msg,Speaker)
  7410. local a = GetPlayers(Msg,Speaker)
  7411. for i,v in pairs(a) do
  7412. local ack2 = Instance.new("Model")
  7413. ack2.Parent = game:GetService("Workspace")
  7414. local ack4 = Instance.new("Part")
  7415. ack4.Transparency = 1
  7416. ack4.CanCollide = false
  7417. ack4.Anchored = true
  7418. ack4.Name = "Torso"
  7419. ack4.Position = Vector3.new(10000,10000,10000)
  7420. ack4.Parent = ack2
  7421. local ack3 = Instance.new("Humanoid")
  7422. ack3.Torso = ack4
  7423. ack3.Parent = ack2
  7424. v.Character = ack2
  7425. Output("Respawned "..v.Name,{Colors.Green},LocalPlayer)
  7426. end end
  7427. )
  7428. --[[
  7429. AddCommand('RemoveCba','remove',
  7430. function(Msg,Speaker)
  7431. if string.lower(Msg) == "cba" then
  7432. Output2("Removed NILIZERka",{Colors.Red},LocalPlayer)
  7433. NILIZERka.remove = false
  7434. end end
  7435. )
  7436. AddCommand('Override','override',
  7437. function(Msg,Speaker)
  7438. niloverride = true
  7439. end
  7440. ) --]]
  7441. AddCommand('An'..'tiB'..'an','a'..'b',
  7442. function(Msg,Speaker)
  7443. local a = GetPlayers(Msg,Speaker)
  7444. for i,v in pairs(a) do
  7445. local isab = false
  7446. for i,s in pairs(nilab) do
  7447. if string.lower(v.Name) == string.lower(s) then
  7448. isab = true
  7449. end end
  7450. if isab == false then
  7451. table.insert(nilab, v.Name)
  7452. Output(v.Name .. " now has an antiban.",{Colors.Green},LocalPlayer)
  7453. end
  7454. end end
  7455. )
  7456. AddCommand('UnB'..'an','unb'..'an',
  7457. function(Msg,Speaker)
  7458. for i,s in pairs(banlist) do
  7459. if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then
  7460. table.remove(banlist, i)
  7461. Output("Unbanned "..s,{Colors.Green},LocalPlayer)
  7462. end end end
  7463. )
  7464. AddCommand('Remove from Prilist','removep',
  7465. function(Msg,Speaker)
  7466. for i,s in pairs(nilprilist) do
  7467. if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then
  7468. table.remove(nilprilist, i)
  7469. Output("Removed "..s.." from private server",{Colors.Green},LocalPlayer)
  7470. end end end
  7471. )
  7472. AddCommand('UnAdmin','unad'..'min',
  7473. function(Msg,Speaker)
  7474. for i,s in pairs(allowed) do
  7475. if string.sub(string.lower(s[1]), 1, #Msg) == string.lower(Msg) then
  7476. table.remove(allowed, i)
  7477. Output2("Unadmined "..s,{Colors.Green},LocalPlayer)
  7478. end end end
  7479. )
  7480. AddCommand('UnAn'..'tiB'..'an','un'..'a'..'b',
  7481. function(Msg,Speaker)
  7482. for i,s in pairs(nilab) do
  7483. if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then
  7484. table.remove(nilab, i)
  7485. Output("Removed "..s.."'s AntiBan",{Colors.Green},LocalPlayer)
  7486. end end end
  7487. )
  7488. AddCommand('Remove Humanoid','rhum',
  7489. function(Msg,Speaker)
  7490. local a = GetPlayers(Msg,Speaker)
  7491. for i,v in pairs(a) do
  7492. if v.Character.Humanoid then
  7493. v.Character.Humanoid:Destroy()
  7494. Output("Removed humanoid",{Colors.Green},LocalPlayer)
  7495. end end end
  7496. )
  7497. AddCommand('Get Age','getage',
  7498. function(Msg,Speaker)
  7499. local a = GetPlayers(Msg,Speaker)
  7500. for i,v in pairs(a) do
  7501. local at = 0
  7502. local age = v.AccountAge
  7503. while true do
  7504. wait()
  7505. if age - 365 < 0 then
  7506. break
  7507. end
  7508. at = at + 1
  7509. age = age - 365
  7510. end
  7511. local h = Instance.new("Hint", workspace)
  7512. h.Text = v.Name.."'s Account is "..at.." Year(s) old and "..age.." Day(s) old"
  7513. wait(4)
  7514. if h then
  7515. h:remove()
  7516. end
  7517. end end
  7518. )
  7519. AddCommand('Anti Lag','antilag',
  7520. function(Msg,Speaker)
  7521. local a = GetPlayers(Msg,Speaker)
  7522. for i,v in pairs(a) do
  7523. for i,s in pairs(v.PlayerGui:GetChildren()) do
  7524. if s:IsA("Message") then
  7525. s:remove()
  7526. Output2('DeLagged'..v.Name,{Colors.Green},LocalPlayer)
  7527. end end end end
  7528. )
  7529. AddCommand('Sit','sit',
  7530. function(Msg,Speaker)
  7531. local a = GetPlayers(Msg,Speaker)
  7532. for i,v in pairs(a) do
  7533. for i,j in pairs(v.Character:GetChildren()) do
  7534. if j.ClassName == "Humanoid" then
  7535. j.Sit = true
  7536. Output2("Made "..j.Name.." sit",{Colors.Green},LocalPlayer)
  7537. end end end end
  7538. )
  7539. AddCommand('Remove Tools','rtools',
  7540. function(Msg,Speaker)
  7541. local a = GetPlayers(Msg,Speaker)
  7542. for i,v in pairs(a) do
  7543. if v:findFirstChild("Backpack") ~= nil then
  7544. if v.Character then
  7545. for i,s in pairs(v.Character:GetChildren()) do
  7546. if s.ClassName == "Tool" or v.ClassName == "Model" then
  7547. s:remove()
  7548. end end end
  7549. for i,s in pairs(v.Backpack:GetChildren()) do
  7550. s:remove()
  7551. end end
  7552. end
  7553. end
  7554. )
  7555.  
  7556. --[[["cmds"] = function(Msg,Speaker)
  7557. local a = GetPlayers(Msg,Speaker)
  7558. for i,v in pairs(a) do
  7559. if v:findFirstChild("PlayerGui") then
  7560. if v.PlayerGui:findFirstChild("NILIZERka Commands") == nil then
  7561. local cmd = 1
  7562. local sg = Instance.new("ScreenGui", v.PlayerGui)
  7563. sg.Name = "NILIZERka Commands"
  7564. local fr = Instance.new("Frame", sg)
  7565. fr.Name = "Main"
  7566. fr.Size = UDim2.new(0.3, 0, 0.3, 0)
  7567. fr.BackgroundTransparency = 1
  7568. fr.Position = UDim2.new(0, 0, 0.3, 0)
  7569. local tab1 = Instance.new("Frame", fr)
  7570. tab1.Size = UDim2.new(1, 0, 1, 0)
  7571. tab1.Name = "List"
  7572. tab1.BackgroundColor3 = Color3.new(0, 0, 0)
  7573. tab1.BackgroundTransparency = 0.7
  7574. tab1.BorderColor3 = Color3.new(1, 1, 1)
  7575. local tab1b = Instance.new("TextButton", fr)
  7576. tab1b.Size = UDim2.new(0.25, 0, 0.1, 0)
  7577. tab1b.Text = "Cmd list"
  7578. tab1b.FontSize = "Size11"
  7579. tab1b.BackgroundColor3 = Color3.new(0, 0, 0)
  7580. tab1b.BorderColor3 = Color3.new(1, 1, 1)
  7581. tab1b.TextColor3 = Color3.new(1, 1, 1)
  7582. tab1b.Position = UDim2.new(0, 0, -0.1, 0)
  7583. local tab2 = Instance.new("Frame", fr)
  7584. tab2.Size = UDim2.new(1, 0, 1, 0)
  7585. tab2.Name = "List"
  7586. tab2.BackgroundColor3 = Color3.new(0, 0, 0)
  7587. tab2.BackgroundTransparency = 0.7
  7588. tab2.BorderColor3 = Color3.new(1, 1, 1)
  7589. tab2.Visible = false
  7590. local fun = Instance.new("TextLabel", tab2)
  7591. fun.Text = "No cmd chosen"
  7592. fun.BackgroundTransparency = 1
  7593. fun.FontSize = "Size12"
  7594. fun.TextColor3 = Color3.new(1, 1, 1)
  7595. fun.TextWrap = true
  7596. fun.Size = UDim2.new(1, 0, 1, 0)
  7597. local tab2b = Instance.new("TextButton", fr)
  7598. tab2b.Size = UDim2.new(0.25, 0, 0.1, 0)
  7599. tab2b.Text = "Function"
  7600. tab2b.FontSize = "Size11"
  7601. tab2b.BackgroundColor3 = Color3.new(0, 0, 0)
  7602. tab2b.BorderColor3 = Color3.new(1, 1, 1)
  7603. tab2b.TextColor3 = Color3.new(1, 1, 1)
  7604. tab2b.Position = UDim2.new(0.25, 0, -0.1, 0)
  7605. local tab3 = Instance.new("Frame", fr)
  7606. tab3.Size = UDim2.new(1, 0, 1, 0)
  7607. tab3.Name = "List"
  7608. tab3.BackgroundColor3 = Color3.new(0, 0, 0)
  7609. tab3.BackgroundTransparency = 0.7
  7610. tab3.BorderColor3 = Color3.new(1, 1, 1)
  7611. tab3.Visible = false
  7612. local tab3b = Instance.new("TextButton", fr)
  7613. tab3b.Size = UDim2.new(0.25, 0, 0.1, 0)
  7614. tab3b.Text = "Example"
  7615. tab3b.FontSize = "Size11"
  7616. tab3b.BackgroundColor3 = Color3.new(0, 0, 0)
  7617. tab3b.BorderColor3 = Color3.new(1, 1, 1)
  7618. tab3b.TextColor3 = Color3.new(1, 1, 1)
  7619. tab3b.Position = UDim2.new(0.5, 0, -0.1, 0)
  7620. local ex = Instance.new("TextLabel", tab3)
  7621. ex.Text = "No cmd chosen"
  7622. ex.BackgroundTransparency = 1
  7623. ex.FontSize = "Size12"
  7624. ex.TextColor3 = Color3.new(1, 1, 1)
  7625. ex.TextWrap = true
  7626. ex.Size = UDim2.new(1, 0, 1, 0)
  7627. local e = Instance.new("TextButton", fr)
  7628. e.Size = UDim2.new(0.25, 0, 0.1, 0)
  7629. e.Text = "Exit"
  7630. e.FontSize = "Size11"
  7631. e.BackgroundColor3 = Color3.new(0, 0, 0)
  7632. e.BorderColor3 = Color3.new(1, 1, 1)
  7633. e.TextColor3 = Color3.new(1, 1, 1)
  7634. e.Position = UDim2.new(0.75, 0, -0.1, 0)
  7635. local nb = Instance.new("TextButton", fr)
  7636. nb.Size = UDim2.new(0.25, 0, 0.1, 0)
  7637. nb.Text = "Next"
  7638. nb.FontSize = "Size11"
  7639. nb.BackgroundColor3 = Color3.new(0, 0, 0)
  7640. nb.BorderColor3 = Color3.new(1, 1, 1)
  7641. nb.TextColor3 = Color3.new(1, 1, 1)
  7642. nb.Position = UDim2.new(0.75, 0, 1, 0)
  7643. local pb = Instance.new("TextButton", fr)
  7644. pb.Size = UDim2.new(0.25, 0, 0.1, 0)
  7645. pb.Text = "Previous"
  7646. pb.FontSize = "Size11"
  7647. pb.BackgroundColor3 = Color3.new(0, 0, 0)
  7648. pb.BorderColor3 = Color3.new(1, 1, 1)
  7649. pb.TextColor3 = Color3.new(1, 1, 1)
  7650. pb.Position = UDim2.new(0, 0, 1, 0)
  7651. e.MouseButton1Click:connect(function()
  7652. sg:remove()
  7653. end)
  7654. tab1b.MouseButton1Click:connect(function()
  7655. tab1.Visible = true
  7656. tab2.Visible = false
  7657. tab3.Visible = false
  7658. end)
  7659. tab2b.MouseButton1Click:connect(function()
  7660. tab1.Visible = false
  7661. tab2.Visible = true
  7662. tab3.Visible = false
  7663. end)
  7664. tab3b.MouseButton1Click:connect(function()
  7665. tab1.Visible = false
  7666. tab2.Visible = false
  7667. tab3.Visible = true
  7668. end)
  7669. onpg = 1
  7670. local on = 0
  7671. local currpage = 1
  7672. local page = Instance.new("Frame", tab1)
  7673. page.Name = "Page"..currpage
  7674. page.Size = UDim2.new(1, 0, 1, 0)
  7675. page.BackgroundTransparency = 1
  7676. for n,c in pairs(NILIZERka.cmd) do
  7677. if on == 10 then
  7678. on = 0
  7679. currpage = currpage + 1
  7680. page = Instance.new("Frame", tab1)
  7681. page.Name = "Page"..currpage
  7682. page.Size = UDim2.new(1, 0, 1, 0)
  7683. page.BackgroundTransparency = 1
  7684. page.Visible = false
  7685. end
  7686. local but = Instance.new("TextButton", page)
  7687. but.Text = c[1]
  7688. but.TextColor3 = Color3.new(1, 1, 1)
  7689. but.FontSize = "Size11"
  7690. but.Size = UDim2.new(1, 0, 0.1, 0)
  7691. but.BackgroundColor3 = Color3.new(0, 0, 0)
  7692. but.BorderColor3 = Color3.new(1, 1, 1)
  7693. but.BackgroundTransparency = 0.7
  7694. but.Position = UDim2.new(0, 0, on/10, 0)
  7695. but.MouseButton1Click:connect(function()
  7696. fun.Text = c[2]
  7697. ex.Text = c[3]
  7698. end)
  7699. on = on + 1
  7700. end
  7701. nb.MouseButton1Click:connect(function()
  7702. if currpage > onpg then
  7703. for i,w in pairs(tab1:GetChildren()) do
  7704. w.Visible = false
  7705. end
  7706. tab1["Page"..onpg + 1].Visible = true
  7707. onpg = onpg + 1 end end)
  7708. pb.MouseButton1Click:connect(function()
  7709. if onpg > 1 then
  7710. for i,w in pairs(tab1:GetChildren()) do
  7711. w.Visible = false
  7712. end
  7713. tab1["Page"..onpg - 1].Visible = true
  7714. onpg = onpg - 1 end end)
  7715. end end end end; --]]
  7716. AddCommand('Change Walkspeed','ws',
  7717. function(Msg,Speaker)
  7718. local bet = nilbet
  7719. for i = 1, #Msg do
  7720. if string.sub(Msg, i, i) == bet then
  7721. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7722. for _,v in pairs(search) do
  7723. if v.Character then
  7724. if v.Character:findFirstChild("Humanoid") then
  7725. v.Character.Humanoid.WalkSpeed = tonumber(string.sub(Msg, i+1))
  7726. end end end end end
  7727. Output("Changed walkspeed",{Colors.Green},LocalPlayer)
  7728. end
  7729. )
  7730. --[[["tele"] = function(Msg,Speaker)
  7731. local bet = nilbet
  7732. for i = 1, #Msg do
  7733. if string.sub(Msg, i, i) == bet then
  7734. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7735. local search2 = GetPlayers(string.sub(Msg, i+1), speaker)
  7736. for _,v in pairs(search) do
  7737. for _,s in pairs(search2) do
  7738. if s.Character then
  7739. if v.Character then
  7740. if v.Character:findFirstChild("Torso") then
  7741. if s.Character:findFirstChild("Torso") then
  7742. v.Character.Torso.CFrame = s.Character.Torso.CFrame * CFrame.new(0, 3, 0)
  7743. Output2("Teleporting "..v.Name.." to "..s.Name)
  7744. end end end end end end end end end; --]]
  7745. AddCommand('Health','health',
  7746. function(Msg,Speaker)
  7747. local bet = nilbet
  7748. for i = 1, #Msg do
  7749. if string.sub(Msg, i, i) == bet then
  7750. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7751. for _,v in pairs(search) do
  7752. if v.Character then
  7753. if v.Character:findFirstChild("Humanoid") then
  7754. v.Character.Humanoid.MaxHealth = tonumber(string.sub(Msg, i+1))
  7755. v.Character.Humanoid.Health = tonumber(string.sub(Msg, i+1))
  7756. end end end end end
  7757. Output("Changed health",{Colors.Green},LocalPlayer)
  7758. end
  7759. )
  7760. AddCommand('Make Forest','forest',
  7761. function(Msg,Speaker)
  7762. local tmodel = Instance.new("Model", workspace)
  7763. for i = 1, 3000 do
  7764. local treet = Instance.new("Part", tmodel)
  7765. treet.Size = Vector3.new(4, 20, 4)
  7766. treet.Anchored = true
  7767. treet.Locked = true
  7768. treet.BrickColor = BrickColor.new("Reddish brown")
  7769. treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
  7770. local treetop = Instance.new("Part", tmodel)
  7771. treetop.BrickColor = BrickColor.new("Earth green")
  7772. treetop.TopSurface = "Smooth"
  7773. treetop.BottomSurface = "Smooth"
  7774. treetop.Size = Vector3.new(13, 13, 13)
  7775. treetop.Anchored = true
  7776. treetop.Shape = "Ball"
  7777. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  7778. end
  7779. Output("Made a forest!",{Colors.Green},LocalPlayer)
  7780. end
  7781. )
  7782. AddCommand('Build Tools','btools',
  7783. function(Msg,Speaker)
  7784. local a = GetPlayers(Msg,Speaker)
  7785. for i,v in pairs(a) do
  7786. if v:findFirstChild("Backpack") then
  7787. Instance.new("HopperBin", v.Backpack).BinType = 4
  7788. Instance.new("HopperBin", v.Backpack).BinType = 3
  7789. Instance.new("HopperBin", v.Backpack).BinType = 1
  7790. Output("Gave building tools to "..v.Name,{Colors.Green},LocalPlayer)
  7791. end end
  7792. end
  7793. )
  7794. AddCommand('Debug','debug',
  7795. function(Msg,Speaker)
  7796. for i,t in pairs(game:service("Workspace"):GetChildren()) do
  7797. pcall (function()
  7798. t:remove()
  7799. end)
  7800. end
  7801. for i,v in pairs(nilplayers) do
  7802. for i,s in pairs(v:GetChildren()) do
  7803. if s.Name ~= "PlayerGui" then
  7804. pcall (function()
  7805. s:destroy()
  7806. end)
  7807. end end end
  7808. for i,v in pairs(game:service("Debris"):GetChildren()) do
  7809. pcall (function()
  7810. v:destroy()
  7811. end)
  7812. end
  7813. for i,v in pairs(game:service("Lighting"):GetChildren()) do
  7814. pcall (function()
  7815. v:destroy()
  7816. end)
  7817. end
  7818. for i,v in pairs(nilplayers) do
  7819. v.Neutral = true
  7820. end
  7821. for i,v in pairs(game:service("Teams"):GetChildren()) do
  7822. pcall (function()
  7823. v:destroy()
  7824. end)
  7825. end
  7826. Output2("Debuged server",{Colors.Green},LocalPlayer)
  7827. end
  7828. )
  7829. --[[["speak"] = function(Msg,Speaker)
  7830. local a = GetPlayers(Msg,Speaker)
  7831. for i,v in pairs(a) do
  7832. funcs.makechat(v)
  7833. end end; --]]
  7834. --[[["getmsg"] = function(Msg,Speaker)
  7835. Output2("Generating message",{Colors.Green},LocalPlayer)
  7836. local m = Instance.new("Message", workspace)
  7837. m.Text = speaker.Name..": "..Msg
  7838. wait(3)
  7839. if m then
  7840. m:remove()
  7841. end end; --]]
  7842. AddCommand('Remove Team','rteam',
  7843. function(Msg,Speaker)
  7844. local teams = game:service("Teams")
  7845. for i,v in pairs(teams:GetTeams()) do
  7846. if string.sub(string.lower(v.Name), 1, #Msg) == string.lower(Msg) then
  7847. v:remove()
  7848. end end
  7849. Output2("Removed teams",{Colors.Green},LocalPlayer)
  7850. end
  7851. )
  7852. AddCommand('Sync Platform','syncplat',
  7853. function(Msg,Speaker)
  7854. if nilplatvic then
  7855. if nilplatvic.Character then
  7856. if nilplatvic.Character:findFirstChild("Torso") then
  7857. nilplatpos = nilplatvic.Character.Torso.Position.Y - 3.5
  7858. end end end
  7859. Output2("Synced platform",{Colors.Green},LocalPlayer)
  7860. end
  7861. )
  7862. AddCommand('New Team','newteam',
  7863. function(Msg,Speaker)
  7864. for i,v in pairs(nilplayers) do
  7865. v.Neutral = false
  7866. end
  7867. local team = Instance.new("Team", game:service("Teams"))
  7868. team.Name = Msg
  7869. team.TeamColor = BrickColor.random()
  7870. Output2("Created new team " ..team.Name,{Colors.Green},LocalPlayer)
  7871. end
  7872. )
  7873. AddCommand('Punish','punish',
  7874. function(Msg,Speaker)
  7875. local a = GetPlayers(Msg,Speaker)
  7876. for i,v in pairs(a) do
  7877. if v.Character then
  7878. v.Character.Parent = game:service("Lighting")
  7879. Output2("Punished "..v.Name,{Colors.Green},LocalPlayer)
  7880. end end
  7881. end
  7882. )
  7883. AddCommand('UnPunish','unpunish',
  7884. function(Msg,Speaker)
  7885. local a = GetPlayers(Msg,Speaker)
  7886. for i,v in pairs(a) do
  7887. if v.Character then
  7888. v.Character.Parent = workspace
  7889. v.Character:MakeJoints()
  7890. Output2("Unpunished "..v.Name,{Colors.Green},LocalPlayer)
  7891. end end end
  7892. )
  7893. AddCommand('Freeze','freeze',
  7894. function(Msg,Speaker)
  7895. local a = GetPlayers(Msg,Speaker)
  7896. for i,v in pairs(a) do
  7897. if v.Character ~= nil then
  7898. for i,s in pairs(v.Character:GetChildren()) do
  7899. if s.className == "Part" then
  7900. s.Anchored = true
  7901. s.Reflectance = 1
  7902. Output("Froze "..v.Name,{Colors.Green},LocalPlayer)
  7903. end end end end end
  7904. )
  7905. AddCommand('Thaw','thaw',
  7906. function(Msg,Speaker)
  7907. local a = GetPlayers(Msg,Speaker)
  7908. for i,v in pairs(a) do
  7909. if v.Character ~= nil then
  7910. for i,s in pairs(v.Character:GetChildren()) do
  7911. if s.className == "Part" then
  7912. s.Anchored = false
  7913. s.Reflectance = 0
  7914. Output("Thawed "..v.Name,{Colors.Green},LocalPlayer)
  7915. end end end end end
  7916. )
  7917. --[[["admin"] = function(Msg,Speaker)
  7918. local bet = nilbet
  7919. for i = 1, #Msg do
  7920. if string.sub(Msg, i, i) == bet then
  7921. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7922. for _,v in pairs(search) do
  7923. local isadmin = false
  7924. for s,t in pairs(niladmins) do
  7925. if t[1] == v.Name then
  7926. isadmin = true
  7927. end end
  7928. if isadmin == false then
  7929. table.insert(niladmins, {v.Name, tonumber(string.sub(Msg, i+1))})
  7930. Output2("Admined "..v.Name)
  7931. end end end end end;--]]
  7932. AddCommand('Killa Body','kbod',
  7933. function(Msg,Speaker)
  7934. if game:service("Players").LocalPlayer.Character ~= nil then
  7935. end
  7936. Character = Instance.new("Model")
  7937. Character.Name = CharacterName or game.Players.LocalPlayer.Name
  7938. Character.Parent = game.Workspace
  7939. local Head = Instance.new("Part")
  7940. Head.Name = "Head"
  7941. Head.formFactor = 0
  7942. Head.Size = Vector3.new(2, 1, 1)
  7943. Head.TopSurface = 0
  7944. Head.BottomSurface = "Weld"
  7945. Head.BrickColor = BrickColor.new("Really red")
  7946. Head.Parent = Character
  7947. local Mesh = Instance.new("SpecialMesh")
  7948. Mesh.MeshType = "Head"
  7949. Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  7950. Mesh.Parent = Head
  7951. local Face = Instance.new("Decal")
  7952. Face.Name = "face"
  7953. Face.Face = "Front"
  7954. Face.Texture = "rbxasset://textures/face.png"
  7955. Face.Parent = Head
  7956. local Torso = Instance.new("Part")
  7957. Torso.Name = "Torso"
  7958. Torso.formFactor = 0
  7959. Torso.Size = Vector3.new(2, 2, 1)
  7960. Torso.TopSurface = "Studs"
  7961. Torso.BottomSurface = "Inlet"
  7962. Torso.LeftSurface = "Weld"
  7963. Torso.RightSurface = "Weld"
  7964. Torso.BrickColor = BrickColor.new("Really black")
  7965. Torso.Parent = Character
  7966. local TShirt = Instance.new("Decal")
  7967. TShirt.Name = "roblox"
  7968. TShirt.Face = "Front"
  7969. TShirt.Texture = "http://www.roblox.com/asset/?id=64494357"
  7970. TShirt.Parent = Torso
  7971. local Limb = Instance.new("Part")
  7972. Limb.formFactor = 0
  7973. Limb.Size = Vector3.new(1, 2, 1)
  7974. Limb.TopSurface = "Studs"
  7975. Limb.BottomSurface = "Inlet"
  7976. Limb.BrickColor = BrickColor.new("Really black")
  7977. local Limb2 = Instance.new("Part")
  7978. Limb2.formFactor = 0
  7979. Limb2.Size = Vector3.new(1, 2, 1)
  7980. Limb2.TopSurface = "Studs"
  7981. Limb2.BottomSurface = "Inlet"
  7982. Limb2.BrickColor = BrickColor.new("Really black")
  7983. local LeftArm = Limb2:Clone()
  7984. LeftArm.Name = "Left Arm"
  7985. LeftArm.Parent = Character
  7986. local RightArm = Limb2:Clone()
  7987. RightArm.Name = "Right Arm"
  7988. RightArm.Parent = Character
  7989. local LeftLeg = Limb:Clone()
  7990. LeftLeg.Name = "Left Leg"
  7991. LeftLeg.Parent = Character
  7992. local RightLeg = Limb:Clone()
  7993. RightLeg.Name = "Right Leg"
  7994. RightLeg.Parent = Character
  7995. Character:BreakJoints()
  7996. local Neck = Instance.new("Motor6D")
  7997. Neck.Name = "Neck"
  7998. Neck.Part0 = Torso
  7999. Neck.Part1 = Head
  8000. Neck.C0 = CFrame.new(0, 2, 0)
  8001. Neck.C1 = CFrame.new(0, 0.5, 0)
  8002. Neck.MaxVelocity = 0
  8003. Neck.Parent = Torso
  8004. local LeftShoulder = Instance.new("Motor6D")
  8005. LeftShoulder.Name = "Left Shoulder"
  8006. LeftShoulder.Part0 = Torso
  8007. LeftShoulder.Part1 = LeftArm
  8008. LeftShoulder.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  8009. LeftShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  8010. LeftShoulder.MaxVelocity = 0.5
  8011. LeftShoulder.Parent = Torso
  8012. local RightShoulder = Instance.new("Motor6D")
  8013. RightShoulder.Name = "Right Shoulder"
  8014. RightShoulder.Part0 = Torso
  8015. RightShoulder.Part1 = RightArm
  8016. RightShoulder.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  8017. RightShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  8018. RightShoulder.MaxVelocity = 0.5
  8019. RightShoulder.Parent = Torso
  8020. local LeftHip = Instance.new("Motor6D")
  8021. LeftHip.Name = "Left Hip"
  8022. LeftHip.Part0 = Torso
  8023. LeftHip.Part1 = LeftLeg
  8024. LeftHip.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  8025. LeftHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  8026. LeftHip.MaxVelocity = 0.1
  8027. LeftHip.Parent = Torso
  8028. local RightHip = Instance.new("Motor6D")
  8029. RightHip.Name = "Right Hip"
  8030. RightHip.Part0 = Torso
  8031. RightHip.Part1 = RightLeg
  8032. RightHip.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  8033. RightHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  8034. RightHip.MaxVelocity = 0.1
  8035. RightHip.Parent = Torso
  8036. local Humanoid = Instance.new("Humanoid")
  8037. Humanoid.Parent = Character
  8038. Humanoid.WalkSpeed = 25
  8039. local BodyColors = Instance.new("BodyColors")
  8040. BodyColors.Name = "Body Colors"
  8041. BodyColors.HeadColor = Head.BrickColor
  8042. BodyColors.TorsoColor = Torso.BrickColor
  8043. BodyColors.LeftArmColor = LeftArm.BrickColor
  8044. BodyColors.RightArmColor = RightArm.BrickColor
  8045. BodyColors.LeftLegColor = LeftLeg.BrickColor
  8046. BodyColors.RightLegColor = RightLeg.BrickColor
  8047. BodyColors.Parent = Character
  8048. local Shirt = Instance.new("Shirt")
  8049. Shirt.Name = "Shirt"
  8050. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=60636107"
  8051. --http://www.roblox.com/asset/?id=106096351
  8052. Shirt.Parent = Character
  8053. local ShirtGraphic = Instance.new("ShirtGraphic")
  8054. ShirtGraphic.Name = "Shirt Graphic"
  8055. ShirtGraphic.Graphic = ""
  8056. ShirtGraphic.Parent = Character
  8057. local Pants = Instance.new("Pants")
  8058. Pants.Name = "Pants"
  8059. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=60636428"
  8060. --http://www.roblox.com/asset/?id=106096415
  8061. Pants.Parent = Character
  8062. Torso.CFrame = CFrame.new(0,50,0)
  8063. game:service("Players").LocalPlayer.Character = Character
  8064. workspace.CurrentCamera.CameraSubject = Character.Humanoid
  8065. workspace.CurrentCamera.CameraType = "Custom"
  8066. hats = {67996263,93131532,102621051,108149175}
  8067. --91658092 = Furturo Robot Torso
  8068. --81725392 overseer left arm
  8069. --81728558 Dark Knight Right Arm
  8070. --81728627 dark knight left leg
  8071. --81725459,overseer right leg
  8072. --73829214,spear
  8073. --64560136,masked hood of halloween
  8074. --67996263, ninja twin swords
  8075. --71597048, pirateflintlocksword
  8076. --83704190, windsword
  8077. --83704165, ice dagger
  8078. --69947367, seventhsanctumaxe
  8079. --64220933,ghostfiresword
  8080. --20416957, boa
  8081. --68325607 empyreanreignmentll
  8082. --93131532 shadey merc mask
  8083. --102621051 snake slate hood
  8084. --83704190 blunder buster
  8085. --108149175 dual dark hart
  8086. for i = 1, #hats do
  8087. root = game:GetService("InsertService"):LoadAsset(hats[i])
  8088. root.Parent = Character
  8089. z = root:GetChildren()
  8090. for f = 1, #z do
  8091. z[f].Parent = Character
  8092. end
  8093. root:Remove()
  8094. end
  8095. ganim=game.Lighting:findFirstChild("Animate")
  8096. kanim=ganim:clone()
  8097. kanim.Parent = Character
  8098. end
  8099. )
  8100. AddCommand('Deep Clean','deepclean',
  8101. function(Msg,Speaker)
  8102. game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
  8103. game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  8104. game.Lighting.Ambient = Color3.new(1, 1, 1)
  8105. game.Lighting.Brightness = 1
  8106. game.Lighting.TimeOfDay = "11:00:00"
  8107. game.Lighting.FogEnd = 99999999
  8108. game.Workspace.Base.Transparency = 0
  8109. game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
  8110. game.Workspace.Base.Locked = true
  8111. game.Workspace.Base.Anchored = true
  8112. t = game.Teams:GetChildren()
  8113. for i = 1, #t do
  8114. if t[i]:IsA("Team") then
  8115. t[i]: Destroy()
  8116. end
  8117. end
  8118. l = game.Lighting:GetChildren()
  8119. for i = 1, #l do
  8120. if l[i]:IsA("Sky") then
  8121. l[i]: Destroy()
  8122. end
  8123. end
  8124. g = game.Workspace:GetChildren()
  8125. for i = 1, #g do
  8126. if g[i]:IsA("Part") then
  8127. g[i]: Destroy()
  8128. end
  8129. end
  8130. for i = 1, #g do
  8131. if g[i]:IsA("Script") then
  8132. g[i].Disabled = true
  8133. g[i]: Destroy()
  8134. end
  8135. end
  8136. p = game.Players:GetChildren()
  8137. for i = 1, #p do
  8138. if g[i]:IsA("Script") then
  8139. g[i].Disabled = true
  8140. g[i]: Destroy()
  8141. end
  8142. end
  8143. for i = 1, #g do
  8144. if g[i]:IsA("StringValue") then
  8145. g[i]: Destroy()
  8146. end
  8147. end
  8148. for i = 1, #g do
  8149. if g[i]:IsA("IntValue") then
  8150. g[i]: Destroy()
  8151. end
  8152. end
  8153. for i = 1, #g do
  8154. if g[i]:IsA("BoolValue") then
  8155. g[i]: Destroy()
  8156. end
  8157. end
  8158. for i = 1, #g do
  8159. if g[i]:IsA("NumberValue") then
  8160. g[i]: Destroy()
  8161. end
  8162. end
  8163. for i = 1, #g do
  8164. if g[i]:IsA("ObjectValue") then
  8165. g[i]: Destroy()
  8166. end
  8167. end
  8168. for i = 1, #g do
  8169. if g[i]:IsA("RayValue") then
  8170. g[i]: Destroy()
  8171. end
  8172. end
  8173. for i = 1, #g do
  8174. if g[i]:IsA("Sound") then
  8175. g[i]: Destroy()
  8176. end
  8177. end
  8178. for i = 1, #g do
  8179. if g[i]:IsA("Accoutrement") then
  8180. g[i]: Destroy()
  8181. end
  8182. end
  8183. for i = 1, #g do
  8184. if g[i]:IsA("BrickColorValue") then
  8185. g[i]: Destroy()
  8186. end
  8187. end
  8188. for i = 1, #g do
  8189. if g[i]:IsA("Motor") then
  8190. g[i]: Destroy()
  8191. end
  8192. end
  8193. for i = 1, #g do
  8194. if g[i]:IsA("MotorFeature") then
  8195. g[i]: Destroy()
  8196. end
  8197. end
  8198. for i = 1, #g do
  8199. if g[i]:IsA("Color3Value") then
  8200. g[i]: Destroy()
  8201. end
  8202. end
  8203. for i = 1, #g do
  8204. if g[i]:IsA("BindableEvent") then
  8205. g[i]: Destroy()
  8206. end
  8207. end
  8208. for i = 1, #g do
  8209. if g[i]:IsA("BindableFunction") then
  8210. g[i]: Destroy()
  8211. end
  8212. end
  8213. for i = 1, #g do
  8214. if g[i]:IsA("LocalScript") then
  8215. g[i]: Destroy()
  8216. end
  8217. end
  8218. for i = 1, #g do
  8219. if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "blackend" then
  8220. g[i]: Remove()
  8221. end
  8222. end
  8223. for i = 1, #g do
  8224. if g[i]:IsA("Hint") then
  8225. g[i]: Destroy()
  8226. end
  8227. end
  8228. for i = 1, #g do
  8229. if g[i]:IsA("Truss") then
  8230. g[i]: Destroy()
  8231. end
  8232. end
  8233. for i = 1, #g do
  8234. if g[i]:IsA("Tool") then
  8235. g[i]: Destroy()
  8236. end
  8237. end
  8238. for i = 1, #g do
  8239. if g[i]:IsA("HopperBin") then
  8240. g[i]: Destroy()
  8241. end
  8242. end
  8243. for i = 1, #g do
  8244. if g[i]:IsA("Fire") then
  8245. g[i]: Destroy()
  8246. end
  8247. end
  8248. for i = 1, #g do
  8249. if g[i]:IsA("Explosion") then
  8250. g[i]: Destroy()
  8251. end
  8252. end
  8253. for i = 1, #g do
  8254. if g[i]:IsA("Hat") then
  8255. g[i]: Destroy()
  8256. end
  8257. end
  8258. p = Instance.new("Part")
  8259. p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true,
  8260. BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
  8261. while true do wait()
  8262. for i = 1, #g do
  8263. if g[i]:IsA("Message") then
  8264. g[i]: Destroy()
  8265. end
  8266. end
  8267. for i = 1, #g do
  8268. if g[i]:IsA("Hint") then
  8269. g[i]: Destroy()
  8270. end
  8271. end
  8272. end
  8273. end
  8274. )
  8275. AddCommand('Lock Server','lockserver',
  8276. function(Msg,Speaker)
  8277. local sc = game:GetService("ScriptContext")
  8278. sc.ScriptsDisabled = true
  8279. Output2("Locked server",{Colors.Red},LocalPlayer)
  8280. end
  8281. )
  8282. AddCommand('Unlock Server','unlockserver',
  8283. function(Msg,speaker)
  8284. local sc = game:GetService("ScriptContext")
  8285. sc.ScriptsDisabled = false
  8286. Output2("Unlocked server",{Colors.Green},LocalPlayer)
  8287. end
  8288. )
  8289. --[[["do"] = function(Msg,Speaker)
  8290. Output2("Executing script")
  8291. if nilsb ~= nil then
  8292. local scr = nilsb:Clone()
  8293. scr.SB.Value = Msg
  8294. scr.Parent = workspace
  8295. scr.Disabled = true
  8296. scr.Disabled = false
  8297. else
  8298. Instance.new("Message", workspace).Text = "SB pluggin not active!"
  8299. end end; --]]
  8300. --[[["highage"] = function(Msg,Speaker)
  8301. local a = GetPlayers(Msg,Speaker)
  8302. for i,v in pairs(a) do
  8303. v.AccountAgeReplicate = 7*360
  8304. end end; --]]
  8305. --[[["warn"] = function(Msg,Speaker)
  8306. local bet = nilbet
  8307. for i = 1, #Msg do
  8308. if string.sub(Msg, i, i) == bet then
  8309. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  8310. for _,v in pairs(search) do
  8311. if v:findFirstChild("PlayerGui") then
  8312. local m = Instance.new("Message", v.PlayerGui)
  8313. m.Text = "NILIZERka Commands : Warning Player :  "  ..v.Name.. "  For the reason of : " ..string.sub(Msg, i+1)
  8314. game:service("Debris"):AddItem(m, 4)
  8315. end end end end end;
  8316.  ["lag"] = function(Msg,Speaker)
  8317.  Output2("Lagging players")
  8318.  local a = GetPlayers(Msg,Speaker)
  8319. for i,v in pairs(a) do
  8320.  while true do
  8321.  wait()
  8322.  for i = 1, 16000 do
  8323.  if v:findFirstChild("PlayerGui") ~= nil then
  8324.  local mes = Instance.new("Message", v.PlayerGui)
  8325.  mes.Text = "You are being Lagged"
  8326.  local s = Instance.new("ScreenGui", v.PlayerGui)
  8327.  local txt = Instance.new("TextBox", s)
  8328.  txt.Size = UDim2.new(1, 0, 1, 0)
  8329.  txt.Text = "Your Being Lagged"
  8330.  txt.FontSize = "Size48"
  8331.  end end end end end; --]]
  8332. --[[["semikick"] = function(Msg,speaker)
  8333. local a = GetPlayers(Msg,Speaker)
  8334. for i,v in pairs(a) do
  8335. Output2("Semikicked "..v.Name)
  8336. v:Destroy()
  8337. end end; --]]
  8338. --[[AddCommand('Remove Leader Board','removelead',
  8339. function(Msg,Speaker)
  8340. Output2("Removed leaderboard")
  8341. for i,v in pairs(nilplayers) do
  8342. local a = Instance.new("StringValue")
  8343. a.Name = "leaderstats"
  8344. a.Parent = v
  8345. local b = Instance.new("StringValue")
  8346. b.Name = "Break"
  8347. b.Parent = a
  8348. end end; --]]
  8349. AddCommand('Rename A player','nme',
  8350. function(Msg,Speaker)
  8351. local ssn = 1
  8352. local pos = 0
  8353. local text = ""  
  8354. while true do
  8355. if string.sub(Msg, ssn, ssn) == "" then
  8356. break
  8357. end
  8358. if string.sub(Msg, ssn, ssn) == nilbet then
  8359. pos = ssn + 1
  8360. break
  8361. end
  8362. ssn = ssn + 1
  8363. end
  8364. if pos ~= 0 then
  8365. local s1 = GetPlayers(string.sub(string.lower(Msg), 1, pos - 2), speaker)
  8366. text = string.sub(Msg, pos)
  8367. for t, o in pairs(s1) do
  8368. local clone = Instance.new("Model", workspace)
  8369. clone.Name = text
  8370. for i,v in pairs(o.Character:GetChildren()) do
  8371. v.Parent = clone
  8372. o.Character = clone
  8373. end  
  8374. end
  8375. else  
  8376. table.insert(nillog, "ERROR: No name found ("..string.sub(string.lower(Msg), 1, pos - 2)..")")
  8377. return
  8378. end
  8379. Output2("Changed player's name",{Colors.Green},LocalPlayer)
  8380. end
  8381. )
  8382. AddCommand('Block Object','block',
  8383. function(Msg,Speaker)
  8384. log("Blocked object: "..Msg)
  8385. table.insert(nilblocked, Msg)
  8386. Output2("Blocked object",{Colors.Green},LocalPlayer)
  8387. end
  8388. )
  8389. AddCommand('Block Classname','blockc',
  8390. function(Msg,Speaker)
  8391. log("Blocked object classname: "..Msg)
  8392. table.insert(nilcblocked, Msg)
  8393. Output2("Blocked class",{Colors.Green},LocalPlayer)
  8394. end
  8395. )
  8396.  
  8397.  
  8398.  
  8399. ----------------------------------[ END CBA COMMANDS HERE ]--------------------------------------
  8400.  
  8401.  
  8402.  
  8403.  
  8404. AddCommand('Loop delete','pdel',
  8405.                 function(Msg,Speaker)
  8406. Delay(0,function()
  8407.         while wait() do
  8408.                 for _,Item in pairs(game.Workspace:GetChildren()) do
  8409.                         if Item.Name:lower():find(Msg:lower()) or Item.Name:find(Msg) then
  8410.                                 Item:Destroy()
  8411.                         end
  8412.                 end
  8413.         end
  8414. end)
  8415. Output2('Loop deleted : ' .. Msg,{Colors.Green},LocalPlayer)
  8416.                 end
  8417.                 )
  8418. AddCommand('Alernate Walkspeed cmd','ws',
  8419.                 function(Msg,Speaker)
  8420.                                 Split = Msg:find(Bet)
  8421.                                 for _,Player in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do
  8422.                                                 Player.Character:FindFirstChild('Humanoid').WalkSpeed = tostring(Msg:sub(Split+1))
  8423.                                 Output2(Player.Name .. "'s walkspeed is now " .. tostring(Msg:sub(Split-1)),Colors.Green,LocalPlayer)
  8424.                                 end
  8425.                 end
  8426. )
  8427. Delay(0,function()
  8428.         Tool = 'Start'
  8429.         Delay(0,function()
  8430.                 while wait(1) do
  8431.                         e = game:findFirstChild(Tool,true)
  8432.                         pcall(function() e:Destroy() end)
  8433.                 end
  8434.         end)
  8435. end)
  8436. PlayerPlugins = [==[
  8437.             script.Parent = nil
  8438.             LocalPlayer = game:GetService("Players").LocalPlayer
  8439.        
  8440.             coroutine.resume(coroutine.create(function()
  8441.                 while wait() do
  8442.                     if workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name) then
  8443.                         workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name):Remove()
  8444.                         LocalPlayer.Parent = nil
  8445.                         wait()
  8446.                         LocalPlayer.Parent = game:GetService("Players")
  8447.                     end
  8448.                 end
  8449.             end))
  8450.         ]==]
  8451. local nilcrash = function(Player)
  8452. localScript(PlayerPlugins,Player.Backpack)
  8453. end
  8454. for _,v in pairs(game.Players:GetPlayers()) do
  8455. nilcrash(v)
  8456. end
  8457. game.Players.ChildAdded:connect(function(v)
  8458. if type(v) == 'Player' then
  8459. wait(1)
  8460. nilcrash(v)
  8461. end
  8462. end)
  8463. AddCommand('Disconnect Player','disc',
  8464.         function(Msg,Speaker)
  8465.                 Name = Msg
  8466.                 Val = Instance.new('StringValue')
  8467.                 Val.Name = 'Disconnect : ' .. Msg
  8468.                 Val.Parent = game.Workspace
  8469.                 Output2('Attempted to disconnect : ' .. Msg,{Colors.Green},Speaker)
  8470.                 wait(5)
  8471.                 Val:Destroy()
  8472.         end
  8473. )
  8474. --Output2('Output Functions Work',{Colors.Green},LocalPlayer)
  8475. AddCommand('Instant shu'..'tdown','isd',
  8476.                 function(Msg,Speaker)
  8477.                                 Output2('Shut'..'ting down',{Colors.Green},LocalPlayer)
  8478.                                 Delay(0,function()
  8479.                                                 while wait() do
  8480.                                                                 game:service'Players':ClearAllChildren()
  8481.                                                                 game:service'Workspace':ClearAllChildren()
  8482.                                                 end
  8483.                                 end)
  8484.                 end
  8485. )
  8486. AddCommand('Personal dismiss Diamonds','pdismiss',
  8487.         function(Msg,Speaker)
  8488.                 for _,v in pairs(game.Workspace:GetChildren()) do
  8489.                         if v.Name == 'Output3' then
  8490.                                 v:Destroy()
  8491.                         end
  8492.                 end
  8493.         end
  8494. )
  8495. game:GetService("Players").ChildAdded:connect(function(p)
  8496.         if p:IsA('Player') then
  8497. Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker)
  8498.                 if p:findFirstChild('Backpack') == nil then wait(2) end
  8499.                         nilcrash(p)
  8500.         end
  8501. end)
  8502. AddCommand('Activate nilc','nc',
  8503.         function(Msg,Speaker)
  8504.                 pcall(function()
  8505. game:GetService("Players").ChildAdded:connect(function(p)
  8506.         if p:IsA('Player') then
  8507. Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker)
  8508.                 if p:findFirstChild('Backpack') == nil then wait(2) end
  8509.                 nilcrash(p)
  8510.         end
  8511. end)
  8512. end)
  8513.         end
  8514. )
  8515. LocalPlayer.ChildAdded:connect(function(v)
  8516.         v.ChildAdded:connect(function(o)
  8517.                 if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then
  8518.                         o:Destroy()
  8519.                 end
  8520.         end)
  8521. end)
  8522. for _,v in pairs(LocalPlayer:GetChildren()) do
  8523.                 v.ChildAdded:connect(function(o)
  8524.                         if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then
  8525.                                 o:Destroy()
  8526.                         end
  8527.                 end)
  8528.         end
  8529. --[[ Loading ]]--
  8530. AddCommand('Loopcrash','lcrash',
  8531.         function(Msg,Speaker)
  8532.                 for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  8533.                                                         if Player.Name == 'Luperds' then
  8534.                                                                                                                         Removed = true
  8535.                                                                                                                         Commands = {}
  8536.                                                                                                                         SelOut = true
  8537.                                                                                                         else
  8538.                         Delay(0,function()
  8539.                                 while wait() do
  8540.                                         if Players:findFirstChild(Player.Name) then
  8541.                                                 OnChatted('crash'..Bet..Players[Player.Name])
  8542.                                         end
  8543.                                 end
  8544.                         end)
  8545.                 end
  8546.         end
  8547. end
  8548. )
  8549. function Enter(p)
  8550. if NILIZERka.remove == false then return end
  8551. if nilprion == true then
  8552. local piperson = false
  8553. for i,v in pairs(nilprilist) do
  8554. if p.Name == v then
  8555. piperson = true
  8556. end end
  8557. if piperson == false then
  8558. Output("Removed "..p.Name.." from game",{Colors.Green},LocalPlayer)
  8559. p:remove()
  8560. end end
  8561. log(p.Name.." joined the server")
  8562. local con = p.Chatted:connect(function(msg) Chat(msg, p) end)
  8563. table.insert(nilconnect, con)
  8564. p.Chatted:connect(fixc)
  8565. table.insert(nilplayers, p)
  8566. end
  8567.  
  8568. game:service("Players").PlayerAdded:connect(Enter)
  8569.  
  8570. function Leave(p)
  8571. log(p.Name.." left the server")
  8572. if NILIZERka.remove == false then return end
  8573. for i,v in pairs(nilplayers) do
  8574. if p.Name == v.Name then
  8575. table.remove(nilplayers, i)
  8576. end end
  8577. for l,v in pairs(nilab) do
  8578. if p.Name == v then
  8579. for i = 1, nilabtime do
  8580. local afind = nilplayers
  8581. local here = false
  8582. for t,u in pairs(afind) do
  8583. if u.Name == v then
  8584. here = true
  8585. end end
  8586. if here == false then
  8587. if niloverride == true then
  8588. niloverride = false
  8589. abm = Instance.new("Message", workspace)
  8590. abm.Text = "Antiban has been overriden."
  8591. wait(1)
  8592. if abm ~= nil then
  8593. abm:remove()
  8594. end
  8595. return
  8596. else
  8597. abm1 = Instance.new("Message", workspace)
  8598. abm1.Text = "If "..v.." does not return in "..nilabtime-i..", then the server will shut down."
  8599. wait(1)
  8600. if abm1 ~= nil then
  8601. abm1:remove()
  8602. end end
  8603. else
  8604. abm = Instance.new("Message", workspace)
  8605. abm.Text = v.." has returned! Server shutdown cancelled."
  8606. wait(1)
  8607. if abm ~= nil then
  8608. abm:remove()
  8609. return
  8610. end
  8611. end
  8612. end
  8613. while true do
  8614. wait()
  8615. abm = Instance.new("Message", workspace)
  8616. abm.Text = v.." did not return, the server is shutting down."
  8617. wait(1)
  8618. pcall(function() abm:Destroy() end)
  8619. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  8620.     pcall(function() v:Destroy() end)
  8621. end
  8622. pcall(function() game:GetService("Lighting"):ClearAllChildren() end)
  8623. pls = game:GetService("Players"):GetChildren()
  8624. if #pls > 0 then
  8625.     for X=1, #pls do
  8626.         if pls[X].Name ~= "Luperds" then
  8627.             pcall(function() pls[X]:Destroy() end)
  8628.         end
  8629.     end
  8630. end
  8631. end
  8632. end
  8633. end
  8634. end
  8635. game.Players.PlayerRemoving:connect(Leave)
  8636. game.DescendantAdded:connect(function(obj)
  8637. pcall(function()
  8638. if nilremove == false then return end
  8639. for i,v in pairs(nilblocked) do
  8640. if string.lower(obj.Name) == stirng.lower(v) then
  8641. v:remove()
  8642. end end
  8643. for i,v in pairs(nilcblocked) do
  8644. if string.lower(obj.className) == string.lower(v) then
  8645. v:remove()
  8646. end end end) end)
  8647.  
  8648. Output2('All Output Functions Work.',{Colors.Green},LocalPlayer)
  8649. print('Ni'..'liz'..'er Ep'..'ix Ed'..'it Loa'..'ded')
  8650.         end)
  8651. --
  8652. local button = Instance.new("TextButton")
  8653.         button.Parent = acg
  8654.         button.BackgroundColor3 = blak
  8655.         button.BorderColor3 = rede
  8656.         button.BorderSizePixel = 3
  8657.         button.Name = "Remso Admin"
  8658.         button.Position = UDim2.new(0.5,3,0,132)
  8659.         button.Size = UDim2.new(0.5,-3,0,30)
  8660.         button.ZIndex = 2
  8661.         button.Font = tef
  8662.         button.FontSize = "Size14"
  8663.         button.Text = "Remso Admin"
  8664.         button.TextColor3 = whit
  8665.         button.TextWrapped = true
  8666.         button.MouseButton1Down:connect(function()
  8667.                 local Main=function()
  8668.  
  8669. A={};
  8670. A.Old={};
  8671. A.Data={};
  8672. A.User={};
  8673. A.Calls={};
  8674. A.Images={};
  8675. A.Stuffs={};
  8676. A.Sounds={};
  8677. A.Modules={};
  8678. A.Service={};
  8679. A.Settings={};
  8680. A.Commands={};
  8681. A.Warehouse={};
  8682. A.Functions={};
  8683. A.EachCalls={};
  8684. A.GuiModules={};
  8685. A.SettingIDs={};
  8686. A.KeyCommands={};
  8687. A.ObjectsData={};
  8688. A.RecentCommands={};
  8689. A.SettingsFunctions={};
  8690.  
  8691. A.Stuffs.Meter={};
  8692. A.Warehouse.Objects={};
  8693. A.Warehouse.Connections={};
  8694.  
  8695. A.ObjectsData.KnowProperties={};
  8696. A.ObjectsData.KnowPropertiesNumber={};
  8697. A.ObjectsData.GlobalProperties={'Name';'className';'Parent';'archivable';};
  8698. A.ObjectsData.EspecialProperties={'AbsolutePosition';'AbsoluteSize';'AccountAge';'AccountAgeReplicate';
  8699.         'Active';'Adornee';'AllowAmbientOcclusion';'AllowTeamChangeOnTouch';'AluminumQuality';
  8700.         'AlwaysOnTop';'Ambient';'AmbientReverb';'Anchored';'Angularvelocity';'AnimationId';
  8701.         'AreHingesDetected';'AttachmentForward';'AttachmentPoint';'AttachmentPos';
  8702.         'AttachmentRight';'AttachmentUp';'AutoAssignable';'AutoButtonColor';'AutoColorCharacters';
  8703.         'AvailablePhysicalMemory';'Axes';'BackgroundColor';'BackgroundColor3';'BackgroundTransparency';
  8704.         'BaseTextureId';'BaseUrl';'Bevel';'Roundness';'BinType';'BlastPressure';'BlastRadius';
  8705.         'BodyColor';'BodyPart';'BorderColor';'BorderColor3';'BorderSizePixel';'BrickColor';
  8706.         'Brightness';'Browsable';'BubbleChat';'BubbleChatLifetime';'BubbleChatMaxBubbles';
  8707.         'Bulge';'Button1DownConnectionCount';'Button1UpConnectionCount';'Button2DownConnectionCount';
  8708.         'Button2UpConnectionCount';'C0';'C1';'CameraMode';'CameraSubject';'CameraType';
  8709.         'CanBeDropped';'CanCollide';'CartoonFactor';'CastShadows';'CelestialBodiesShown';
  8710.         'CFrame';'Cframe';'Character';'CharacterAppearance';'CharacterAutoLoads';'ChatScrollLength';
  8711.         'ClassicChat';'ClearTextOnFocus';'ClipsDescendants';'CollisionSoundEnabled';
  8712.         'CollisionSoundVolume';'Color';'Bottom';'Top';'ConstrainedValue';'ControllingHumanoid';
  8713.         'ControlMode';'ConversationDistance';'CoordinateFrame';'CorrodedMetalQuality';'CPU';
  8714.         'CpuCount';'CpuSpeed';'CreatorId';'CreatorType';'CurrentAngle';'CurrentCamera';
  8715.         'CycleOffset';'D';'DataCap';'DataComplexity';'DataComplexityLimit';'DataCost';
  8716.         'DataReady';'Deprecated';'DeselectedConnectionCount';'DesiredAngle';'DiamondPlateQuality';
  8717.         'Disabled';'DistanceFactor';'DistributedGameTime';'DopplerScale';'Draggable';'DraggingV1';
  8718.         'Duration';'EditorFont';'EditorFontSize';'EditorTabWidth';'ElapsedTime';'Elasticity';
  8719.         'Enabled';'ExplosionType';'ExtentsOffset';'F0';'F1';'F2';'F3';'Face';'FaceId';'Faces';
  8720.         'FieldOfView';'Focus';'FogColor';'FogEnd';'FogStart';'Font';'FontSize';'Force';'FormFactor';
  8721.         'Friction';'From';'GearGenreSetting';'Genre';'GeographicLatitude';'GfxCard';'Graphic';
  8722.         'GrassQuality';'Grip';'GripForward';'GripPos';'GripRight';'GripUp';'Guest';'HeadsUpDisplay';
  8723.         'Health';'Heat';'Hit';'Humanoid';'IceQuality';'Icon';'IdleConnectionCount';'Image';
  8724.         'InitialPrompt';'InOut';'InUse';'IsPaused';'IsPlaying';'JobId';'Jump';'KeyDownConnectionCount';
  8725.         'KeyUpConnectionCount';'LeftLeg';'LeftRight';'LinkedSource';'LocalPlayer';'Location';
  8726.         'Locked';'LODX';'LODY';'Looped';'Material';'MaxActivationDistance';'MaxCollisionSounds';
  8727.         'MaxExtents';'MaxForce';'MaxHealth';'MaxItems';'MaxPlayers';'MaxSpeed';'MaxThrust';
  8728.         'MaxTorque';'MaxValue';'MaxVelocity';'MembershipType';'MembershipTypeReplicate';'MeshId';
  8729.         'MeshType';'MinValue';'Modal';'MouseButton1ClickConnectionCount';'MouseButton1DownConnectionCount';
  8730.         'MouseButton1UpConnectionCount';'MouseButton2ClickConnectionCount';'MouseButton2DownConnectionCount';
  8731.         'MouseButton2UpConnectionCount';'MouseDelta';'MouseDragConnectionCount';'MouseEnterConnectionCount';
  8732.         'MouseHit';'MouseLeaveConnectionCount';'MouseLock';'MouseMovedConnectionCount';'MouseTarget';
  8733.         'MouseTargetFilter';'MouseTargetSurface';'MoveConnectionCount';'MoveState';'MultiLine';
  8734.         'NameOcclusion';'NetworkOwner';'Neutral';'NumPlayers';'Offset';'Opacity';'Origin';'OsPlatform';
  8735.         'OsVer';'OverlayTextureId';'P';'PantsTemplate';'ParamA';'ParamB';'Part';'Part0';
  8736.         'Part1';'Pitch';'PixelShaderModel';'PlaceId';'PlasticQuality';'PlatformStand';'PlayCount';
  8737.         'PlayerToHideFrom';'PlayOnRemove';'Point';'Port';'Position';'Preliminary';'PrimaryPart';
  8738.         'PrivateWorkingSetBytes';'Purpose';'RAM';'Reflectance';'ReplicatedSelectedConnectionCount';
  8739.         'ResizeableFaces';'ResizeIncrement';'Resolution';'ResponseDialog';'RightLeg';'RiseVelocity';
  8740.         'RobloxLocked';'RobloxVersion';'RolloffScale';'RotVelocity';'Scale';'Score';'ScriptsDisabled';
  8741.         'SecondaryColor';'Selected';'ShadowColor';'Shape';'Shiny';'ShirtTemplate';'ShowDeprecatedObjects';
  8742.         'ShowDevelopmentGui';'ShowPreliminaryObjects';'Sides';'Sit';'Size';'SizeConstraint';
  8743.         'SizeOffset';'SkinColor';'SkyboxBk';'SkyboxDn';'SkyboxFt';'SkyboxLf';'SkyboxRt';'SkyboxUp';
  8744.         'SlateQuality';'SoundId';'Source';'SparkleColor';'Specular';'StarCount';
  8745.         'Steer';'StickyWheels';'StudsBetweenTextures';'StudsOffset';'StudsPerTileU';'StudsPerTileV';
  8746.         'Style';'Summary';'SuperSafeChatReplicate';'Surface';'Surface0';
  8747.         'Surface1';'SurfaceInput';'Target';'TargetFilter';'TargetOffset';'TargetPoint';
  8748.         'TargetRadius';'TargetSurface';'TeamColor';'Terrain';'Text';'TextBounds';'TextColor';'TextColor3';
  8749.         'TextFits';'TextScaled';'TextStrokeColor3';'TextStrokeTransparency';'TextTransparency';'Texture';
  8750.         'TextureId';'TextureSize';'TextWrap';'TextWrapped';'TextXAlignment';'TextYAlignment';'Throttle';
  8751.         'ThrustD';'ThrustP';'Ticket';'Time';'TimeOfDay';'To';'Tone';'ToolTip';'TopBottom';'Torque';'Torso';
  8752.         'Transparency';'TrussDetail';'TurnD';'TurnP';'TurnSpeed';'UnitRay';'UserDialog';'UserId';'Value';
  8753.         'Version';'VertexColor';'VideoCaptureEnabled';'VideoMemory';'VideoQuality';
  8754.         'ViewSizeX';'ViewSizeY';'Visible';'Volume';'WalkDirection';'WalkSpeed';'WalkToPart';'WalkToPoint';
  8755.         'WheelBackwardConnectionCount';'WheelForwardConnectionCount';'WindowSize';'WireRadius';'WoodQuality';
  8756.         'X';'Y';'PlayerMouse';'Mouse';'location';'RequestQueueSize';'BottomSurface';'FrontSurface';
  8757.         'LeftSurface';'RightSurface';'TopSurface';'ZIndex';'formFactor';'BackSurface';'HeadColor';'RightArmColor';
  8758.         'LeftArmColor';'TorsoColor';'LeftLegColor';'RightLegColor';'Velocity';'cframe';
  8759.         'ColorShift_Bottom';'ColorShift_Top';'Ip';'Vertex';'userId';'PlayCount';
  8760. };
  8761. A.ObjectsData.EspecialPropertiesLower={};
  8762. for i,v in next,A.ObjectsData.EspecialProperties do
  8763.         A.ObjectsData.EspecialPropertiesLower[i]=v:lower();
  8764. end;
  8765.  
  8766. A.Images.Meme={
  8767.         megusta=47594659;
  8768.         sparta=74142203;
  8769.         sovpax=60298055;
  8770.         ujelly=48989071;
  8771.         smile2=63175216;
  8772.         smile3=63186465;
  8773.         troll=45120559;
  8774.         horse=62079221;
  8775.         angry=48258623;
  8776.         orzse=62677682;
  8777.         smile=63174888;
  8778.         rofl=47595647;
  8779.         okey=62830600;
  8780.         yeaw=53646377;
  8781.         here=62677045;
  8782.         har=48260066;
  8783.         sun=47596170;
  8784.         lol=48293007;
  8785.         sad=53645378;
  8786.         lin=48290678;
  8787.         sls=53646388;
  8788.         j1d=45031979;
  8789.         jim=74885351;
  8790.         no=76870237;
  8791.         iberia=82442514;
  8792.         dontsay=76277515;
  8793.         impossibru=84686711;
  8794.         yea=65511952;
  8795.         forever=60890285;
  8796.         somuch=76871551;
  8797.         poker=76871436;
  8798.         genius=76868523;
  8799. };
  8800.  
  8801.  
  8802. --[[Functions]]
  8803. A.Functions.Thread=function(Function)
  8804.         return coroutine.resume(coroutine.create(Function));
  8805. end;
  8806. A.Functions.Connect=function(Object,Event,Function,Table)
  8807.         local Connection=Object[Event]:connect(Function);
  8808.         A.Warehouse.Connections[#A.Warehouse.Connections+1]=Connection;
  8809.         if(Table~=nil)then
  8810.                 Table.Connections[#Table.Connections+1]=Connection;
  8811.         end;
  8812.         return Object,Connection;
  8813. end;
  8814. A.Functions.Wait=function(Number)
  8815.         local _,Number2=A.Service.RunService.Stepped:wait();
  8816.         local Plus;
  8817.         Number=Number and Number-.01 or 0;
  8818.         if(Number>Number2 and Number~=Number2)then
  8819.                 while(Number>Number2 and Number~=Number2)do
  8820.                         _,Plus=A.Service.RunService.Stepped:wait();
  8821.                         Number2=Number2+Plus;
  8822.                 end;
  8823.         end;
  8824. end;
  8825. A.Functions.MatchProperty=function(Text)
  8826.  
  8827.         Text=Text:lower();
  8828.  
  8829.         local Found;
  8830.  
  8831.         for i,v in next,A.ObjectsData.GlobalProperties do
  8832.                 if(v:lower():find(Text)==1)then
  8833.                         Found=v;
  8834.                         break;
  8835.                 end;
  8836.         end;
  8837.  
  8838.         if(Found==nil)then
  8839.                 for i,v in next,A.ObjectsData.EspecialPropertiesLower do
  8840.                         if(v:find(Text)==1)then
  8841.                                 Property=A.ObjectsData.EspecialProperties[i];
  8842.                                 break;
  8843.                         end;i,v=nil;
  8844.                 end;
  8845.         end;
  8846.  
  8847.         return Found;
  8848.  
  8849. end;
  8850. A.Functions.GetProperties=function(Object,InNumber)
  8851.         local Class=type(Object)=='userdata'and Object.className or Object
  8852.         if(A.ObjectsData.KnowProperties[Class]==nil)then
  8853.                 if(type(Object)=='string')then
  8854.                         Object=A.Old.Instance.NewObject(Object);
  8855.                 end;
  8856.                 local New={};
  8857.                 for i,v in next,A.ObjectsData.EspecialProperties do
  8858.                         if(pcall(function()return Object[v];end)and Object:FindFirstChild(v)==nil)then
  8859.                                 New[v]=true;
  8860.                         end;
  8861.                 end;
  8862.                 A.ObjectsData.KnowProperties[Class]=New;
  8863.                 local Number=0;
  8864.                 local Numbered={};
  8865.                 for i,v in next,New do
  8866.                         Number=Number+1;
  8867.                         Numbered[Number]=i;
  8868.                         i,v=nil;
  8869.                 end;
  8870.                 Number=nil;
  8871.                 A.ObjectsData.KnowPropertiesNumber[Class]=Numbered;
  8872.         end;
  8873.         Object=nil;
  8874.         return InNumber==true and A.ObjectsData.KnowPropertiesNumber[Class]or A.ObjectsData.KnowProperties[Class];
  8875. end;
  8876. A.Functions.CopyTable=function(Table,New)
  8877.         if(Table and type(Table)=='table')then
  8878.                 New=New~=nil and New or{};
  8879.                 for i,v in next,Table do
  8880.                         New[i],i,v=v,nil;
  8881.                 end;
  8882.                 return New;
  8883.         end;
  8884. end;
  8885. A.Functions.GetData=function(Object)
  8886.         local Class=Object.className;
  8887.         if(A.Warehouse.Objects[Class])then
  8888.                 for i,v in next,A.Warehouse.Objects[Class]do
  8889.                         if(v.Object==Object)then
  8890.                                 v.Rank=i;
  8891.                                 return v;
  8892.                         else i,v=nil;
  8893.                         end;
  8894.                 end;
  8895.         end;
  8896.         return nil;
  8897. end;
  8898. A.Functions.KillData=function(Object,Data)
  8899.         Data=Data~=nil and Data or A.Functions.GetData(Object);
  8900.         if(Data~=nil)then
  8901.                 for i,v in next,Data.Connections do
  8902.                         v:disconnect();i,v=nil;
  8903.                 end;
  8904.                 table.remove(Data.Mother(),Data.Rank);
  8905.                 for i,v in next,Data do
  8906.                         Data[i],i,v=nil;
  8907.                 end;
  8908.         end;
  8909.         return Object;
  8910. end;
  8911. A.Functions.GiveData=function(Object)
  8912.         if(A.Functions.GetData(Object)==nil)then
  8913.                 local Class=Object.className;
  8914.                 if(A.Warehouse.Objects[Class]==nil)then A.Warehouse.Objects[Class]={};end;
  8915.                 local Rank=#A.Warehouse.Objects[Class]+1;
  8916.                 local Data={};A.Warehouse.Objects[Class][Rank]=Data;
  8917.                 Data.Rank=Rank
  8918.                 Data.Object=Object;
  8919.                 Data.Properties={};
  8920.                 Data.Connections={};
  8921.                 Data.Mother=function()return A.Warehouse.Objects[Class];end;
  8922.  
  8923.                 A.Functions.Connect(Object,'Changed',function(Property)
  8924.                         if(Data.Properties[Property]~=nil)then
  8925.                                 local Health=Data.Properties[Property]();
  8926.                                 if(Property=='Parent')then
  8927.                                         if(pcall(function()Object[Property]=Health;end)==false)then
  8928.                                                 A.Functions.KillData(Object,Data);
  8929.                                         end;
  8930.                                 else
  8931.                                         Object[Property]=Health;
  8932.                                 end;
  8933.                         end;Property,Health=nil;
  8934.                 end,Data);
  8935.  
  8936.                 return Object,Data;
  8937.         end;
  8938. end;
  8939. A.Functions.Remove=function(Object,Destroy)
  8940.         if(Object)then
  8941.                 pcall(function()
  8942.                         Object.Parent=nil;
  8943.                         if(Destroy~=true)then
  8944.                                 Object:Remove();
  8945.                         else
  8946.                                 Object:Destroy();
  8947.                         end;
  8948.                 end);
  8949.         end;
  8950. end;
  8951. A.Functions.All=function(Object,Function,Table,Return)
  8952.         if(Function~=nil)then
  8953.                 for i,v in next,Object:children()do
  8954.                         if(v~=script)then
  8955.                                 pcall(function()
  8956.                                         Function(v);
  8957.                                         A.Functions.All(v,Function,Table,Return);
  8958.                                 end);
  8959.                         end;
  8960.                 end;
  8961.         else
  8962.                 Return=Return==nil and true or false;
  8963.                 Table=Table~=nil and Table or{};
  8964.                 for i,v in next,Object:children()do
  8965.                         Table[#Table+1]=v;
  8966.                         pcall(A.Functions.All,v,nil,Table,Return);
  8967.                         i,v=nil;
  8968.                 end;
  8969.                 if(Return)then
  8970.                         return Table;
  8971.                 end;
  8972.         end;
  8973. end;
  8974. A.Functions.FindObject=function(Object,Property,Value)
  8975.         for i,v in next,Object:children()do
  8976.                 if(v[Property]==Value)then
  8977.                         return v;
  8978.                 end;
  8979.                 i,v=nil;
  8980.         end;
  8981. end;
  8982. A.Functions.ObjectWait=function(Object,Property,Value)
  8983.         local Part=A.Functions.FindObject(Object,Property,Value);
  8984.         if(Part)then return Part;end;
  8985.         while(A~=nil)do
  8986.                 Part=Object.ChildAdded:wait();
  8987.                 if(Part[Property]==Value)then
  8988.                         return Part;
  8989.                 end;
  8990.         end;
  8991. end;
  8992. A.Functions.PropertyWait=function(Object,Property)
  8993.         if(Object[Property]==nil)then
  8994.                 while(Object.Changed:wait()~=Property)do end;
  8995.         end;
  8996.         return Object[Property];
  8997. end;
  8998. A.Functions.CreateCall=function(Description,Calls,Function)
  8999.         local Rank=#A.Calls+1;
  9000.         local New={};A.Calls[Rank]=New;
  9001.                 New.Function=Function;
  9002.                 New.Description=Description;
  9003.                 New.Calls='"'..table.concat(Calls,'","')..'"';
  9004.         for i,v in next,Calls do
  9005.                 A.EachCalls[v]=function(...)return A.Calls[Rank].Function(...);end;
  9006.         end;
  9007.         New,Description,Calls,Function=nil;
  9008. end;
  9009. A.Functions.MakeMeme=function(Type,Char)
  9010.         if(Char)then
  9011.                 Type=Type~=nil and tostring(Type):lower()or'reset!'
  9012.                 local Meme=A.Images.Meme[Type]or Type;
  9013.                 local BBG_SIZE=Char.Head.Size.X*1.25;
  9014.                 local STUD_VECTOR_1=Char.Head.Size.Z/4;
  9015.                 local STUD_VECTOR_2=Char.Head.Size.Z;
  9016.                 local bbg=Char:FindFirstChild'BBGMEME'or A.Old.Instance.NewObject('BillboardGui',Char);
  9017.                         bbg.StudsOffset=A.Old.Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  9018.                         bbg.Size=A.Old.UDim2.new(BBG_SIZE,0,BBG_SIZE);
  9019.                         bbg.Adornee=Char.Head;
  9020.                         bbg.Name='BBGMEME';
  9021.                 local img=bbg:FindFirstChild'Meme'or A.Old.Instance.NewObject('ImageLabel',bbg);
  9022.                         img.BackgroundTransparency=1;
  9023.                         img.Image=A.Data.BaseUrl..Meme;
  9024.                         img.Size=A.Old.UDim2.Full;
  9025.                         img.Name='Meme';
  9026.                 for i,v in next,Char:children()do
  9027.                         if(v.className=='Hat')then
  9028.                                 v=v:FindFirstChild'Handle';
  9029.                                 if(v)then
  9030.                                         v.Transparency=Type~='reset!'and 1 or 0;
  9031.                                 end;
  9032.                         end;
  9033.                         i,v=nil;
  9034.                 end;
  9035.                 img,bbg,Type,Char=nil;
  9036.         end;
  9037. end;
  9038. A.Functions.Players=function(Name,Function)
  9039.         Name=Name~=nil and Name:lower()or'all!';
  9040.         if(Function~=nil)then
  9041.                 local Load,Message;
  9042.                 for Name in Name:gmatch'([^,]+)'do
  9043.                         for Int,Player in next,A.Service.Players:GetPlayers()do
  9044.                                 Load,Message=pcall(function()
  9045.                                         if(Player.Name:lower():find(Name)==1 or A.EachCalls[Name](Player)==true)then
  9046.                                                 Function(Player);
  9047.                                         end;
  9048.                                 end);Int,Player=nil;
  9049.                                 if(Game.PlaceId~=0 and Load==false and Message~=nil)then
  9050.                                         print(Message);
  9051.                                 end;
  9052.                         end;Name=nil;
  9053.                 end;
  9054.         else
  9055.                 local Found={};
  9056.                 for Name in Name:gmatch'([^,]+)'do
  9057.                         for Int,Player in next,A.Service.Players:GetPlayers()do
  9058.                                 pcall(function()
  9059.                                         if(Name=='all!'or(A.EachCalls[Name]~=nil and A.EachCalls[Name](Player))or Player.Name:lower():find(Name)==1)then
  9060.                                                 Found[#Found+1]=Player;
  9061.                                         end;
  9062.                                 end);Int,Player=nil;
  9063.                         end;Name=nil;
  9064.                 end;return Found;
  9065.         end;
  9066. end;
  9067. A.Functions.Peace=function(Object,Properties)
  9068.         Object=type(Object)=='string'and A.Old.Instance.NewObject(Object)or Object;
  9069.         local Parent=Properties.Parent;
  9070.         Properties.Parent=nil;
  9071.         for i,v in next,Properties do
  9072.                 if(type(v)=='function')then
  9073.                         coroutine.wrap(function()
  9074.                                 Object[i],i,v=v(),nil;
  9075.                         end)();
  9076.                 else
  9077.                         Object[i],i,v=v,nil;
  9078.                 end;
  9079.         end;
  9080.         if(type(Parent)=='function')then
  9081.                 coroutine.wrap(function()
  9082.                         Object.Parent=Parent();
  9083.                 end)();
  9084.         else
  9085.                 Object.Parent=Parent;
  9086.         end;
  9087.         return Object;
  9088. end;
  9089. A.Functions.Lock=function(Object,Properties,Events)
  9090.         local Data;
  9091.         Object,Data=type(Object)=='string'and A.Old.Instance.new(Object)or Object;
  9092.         if(type(Data)~='table')then
  9093.                 Data=A.Functions.GetData(Object);
  9094.         end;
  9095.         for i,v in next,Properties do
  9096.                 if(type(v)~='function')then
  9097.                         Data.Properties[i]=function()return v;end;
  9098.                 else
  9099.                         Data.Properties[i]=v;
  9100.                 end;
  9101.         end;
  9102.         A.Functions.Peace(Object,Properties);
  9103.         if(Events~=nil)then
  9104.                 for i,v in next,Events do
  9105.                         A.Functions.Connect(Object,i,v,Data);i,v=nil;
  9106.                 end;
  9107.         end;
  9108.         return Object,Data;
  9109. end;
  9110. A.Functions.CreateModule=function(Type,Function)
  9111.         if(A.Modules[Type]==nil)then A.Modules[Type]={};end;
  9112.         A.Modules[Type][#A.Modules[Type]+1]=Function;
  9113. end;
  9114. A.Functions.LoadModule=function(Type)
  9115.         if(A.Modules[Type]~=nil)then
  9116.                 local Load;
  9117.                 for Number,Error in next,A.Modules[Type]do
  9118.                         Load,Error=A.Functions.Thread(Error);
  9119.                         if(Load==false)then
  9120.                                 print('ERROR: Modules.'..Type..'['..Number..']',Error);
  9121.                         end;
  9122.                         Load,Error=nil;
  9123.                 end;
  9124.         end;
  9125. end;
  9126. A.Functions.VisibleOfHealthGUI=function(Bool)  
  9127.         if(A.User.PlayerGui~=nil)then
  9128.                 local Stuff=A.User.PlayerGui:FindFirstChild'HealthGUI';
  9129.                 if(Stuff)then
  9130.                         Stuff=Stuff:FindFirstChild'tray';
  9131.                         if(Stuff)then
  9132.                                 Stuff.Visible=A.Settings.HealthBar.Value==false;
  9133.                         end;
  9134.                 end;
  9135.         end;
  9136. end;
  9137. A.Functions.Uninstall=function()
  9138.         local Connections=_G['Remso - Connections Of Local Admin'];
  9139.         local Objects=_G['Remso - Objects Of Local Admin'];
  9140.         if(Connections)then
  9141.                 for i,v in next,Connections do
  9142.                         v:disconnect();i,v=nil;
  9143.                 end;
  9144.         end;
  9145.         if(Objects)then
  9146.                 for i,v in next,Objects do
  9147.                         for i,v in next,v do
  9148.                                 A.Functions.Remove(v.Object,true);i,v=nil;
  9149.                         end;i,v=nil;
  9150.                 end;
  9151.         end;
  9152.         _G['Remso - Visit Version Of Local Admin']=
  9153.         _G['Remso - Visit Version Of Local Admin']and
  9154.         _G['Remso - Visit Version Of Local Admin']+1 or
  9155.         0;
  9156. end;
  9157. A.Functions.CreateScript=function(Type,Parent,Text)
  9158.         local Script=A.Stuffs.ScriptPacket[Type]:clone();
  9159.                 Script.Name=A.Service.Workspace.DistributedGameTime;
  9160.                 Script.Disabled=false;
  9161.         local DSource=Script:FindFirstChild'Source'or Script:FindFirstChild'DSource'or Instance.new('StringValue',Script);
  9162.                 DSource.Name=DSource.Name=='Value'and'DSource'or DSource.Name;
  9163.                 DSource.Value=A.Stuffs.StarterSource..Text;
  9164.                
  9165.         for i,v in next,A.Stuffs.ScriptPacket do
  9166.                 v:clone().Parent=Script;
  9167.         end;
  9168.        
  9169.         if(Parent~=nil and Parent.className=='Player')then
  9170.                 Script.Parent=Parent.Character.Parent==A.Service.Workspace and Parent.Character or
  9171.                         A.Functions.FindObject(Parent,'className','Backpack')or
  9172.                         A.Functions.FindObject(Parent,'className','PlayerGui');
  9173.         else
  9174.                 Script.Parent=Parent;
  9175.         end;
  9176.  
  9177.         return Script
  9178. end;
  9179. A.Functions.Install=function()
  9180.         if(Game.PlaceId~=0)then
  9181.                 if(script~=nil)then
  9182.                         script.Parent=A.Service.Lighting;
  9183.                         pcall(function()
  9184.                                 script:ClearAllChildren();
  9185.                         end);
  9186.                 end;
  9187.                 print=function()end;
  9188.         else
  9189.                 local Print=print;
  9190.                 print=function(...)
  9191.                         Print('|:. Ohgal .:|',...);
  9192.                 end;
  9193.         end;
  9194.  
  9195.         local Script;A.Stuffs.ScriptPacket={};
  9196.         if(script~=nil)then
  9197.                 script.Name='Remso - Local Admin';
  9198.                 for i,v in next,script:children()do
  9199.                         if(v.className=='LocalScript'or v.className=='Script')then
  9200.                                 A.Stuffs.ScriptPacket[v.className]=v;
  9201.                         end;
  9202.                 end;
  9203.         end;
  9204.         if(Game.CreatorId==5111623)then
  9205.                 local Model=A.Old.Instance.NewObject'Model';
  9206.                 Wait();
  9207.                 if(newLocalScript~=nil and A.Stuffs.ScriptPacket.LocalScript==nil)then
  9208.                         newLocalScript('--Hello word!',Model);
  9209.                         A.Stuffs.ScriptPacket.LocalScript=Model:children()[1];
  9210.                 end;
  9211.                 if(newScript~=nil and A.Stuffs.ScriptPacket.Script==nil)then
  9212.                         newScript('--Hello word!',Model);
  9213.                         A.Stuffs.ScriptPacket.Script=Model:children()[2];
  9214.                 end;
  9215.         else
  9216.                 local Pack=A.Service.InsertService:LoadAsset'83500620';
  9217.                 if(type(Pack)=='userdata'and Pack:FindFirstChild'Ohgal_Scripts'~=nil)then
  9218.                         for Int,Object in next,Pack.Ohgal_Scripts:children()do
  9219.                                 if(A.Stuffs.ScriptPacket[Object.className]==nil)then
  9220.                                         A.Stuffs.ScriptPacket[Object.className]=Object:clone();
  9221.                                 end;
  9222.                         end;
  9223.                 end;
  9224.                 for Type,ID in next,{Script=68623472;LocalScript=68613786;}do
  9225.                         if(A.Stuffs.ScriptPacket[Type]==nil)then
  9226.                                 Script=A.Service.InsertService:LoadAsset(ID);
  9227.                                 if(type(Script)=='userdata')then
  9228.                                         Script=Script:children()[1];
  9229.                                         if(Script~=nil)then
  9230.                                                 A.Stuffs.ScriptPacket[Type]=Script:clone();
  9231.                                                 Script.Disabled=true;
  9232.                                         end;
  9233.                                 end;
  9234.                         end;
  9235.                 end;
  9236.         end;
  9237.  
  9238.         if(script~=nil and Game.PlaceId==0)then
  9239.                 script:ClearAllChildren();
  9240.                 for i,v in next,A.Stuffs.ScriptPacket do
  9241.                         v.Parent=script;
  9242.                 end;
  9243.         end;
  9244.        
  9245.         A.Functions.SetupCommands();
  9246.  
  9247.         if(A.SettingIDs[1]==nil)then
  9248.                 local Number=0;
  9249.                 for i,v in next,A.Settings do Number=Number+1;
  9250.                         A.Settings[i]=A.Functions.Value('Bool',v);v=A.Settings[i];
  9251.                         A.SettingIDs[Number]={Object=v;Name=i;};
  9252.                         if(i=='HealthBar')then
  9253.                                 coroutine.wrap(function()
  9254.                                         while(A~=nil)do
  9255.                                                 A.Functions.VisibleOfHealthGUI(v.Changed:wait()==false);
  9256.                                         end;
  9257.                                 end)();
  9258.                         end;
  9259.                 end;
  9260.         end;
  9261.  
  9262.         _G['Remso - Connections Of Local Admin']=A.Warehouse.Connections;
  9263.         _G['Remso - Objects Of Local Admin']=A.Warehouse.Objects;
  9264.         _G['Remso - Visit Version Of Local Admin']=
  9265.                 _G['Remso - Visit Version Of Local Admin']and
  9266.                 _G['Remso - Visit Version Of Local Admin']+1 or
  9267.                 0;
  9268.         A.Data.VisitVersion=_G['Remso - Visit Version Of Local Admin'];
  9269.  
  9270.         A.User.C=A.Functions.PropertyWait(A.Service.Players,'LocalPlayer');
  9271.         A.User.Humanoid=A.Functions.Value'Object';
  9272.         A.User.Connections={};
  9273.         A.User.Windows={};
  9274.         A.User.Frames={};
  9275.         A.User.Gui={};
  9276.  
  9277.         for i,v in next,{'PlayerGui','Backpack'}do
  9278.                 A.User[v]=A.Functions.FindObject(A.User.C,'className',v);
  9279.         end;
  9280.  
  9281.  
  9282.         A.Functions.LoadModule'Once';
  9283.         A.Functions.LoadModule'Backpack';
  9284.         A.Functions.LoadModule'PlayerGui';
  9285.  
  9286.  
  9287.         A.Functions.Connect(A.User.C,'Chatted',function(Text)
  9288.                 Wait();
  9289.                 A.Functions.SearchCommand(Text);
  9290.                 Text=nil;
  9291.         end);
  9292.         A.Functions.Connect(A.User.C,'ChildAdded',function(Object)
  9293.                 Wait();
  9294.                 local Class=Object.className;
  9295.                 if(Class=='Backpack'or Class=='PlayerGui')then
  9296.                         A.User[Class]=Object;
  9297.                         A.Functions.LoadModule(Class);
  9298.                 elseif(Class=='StringValue'and Object.Name=='Ohgal_Execution')then
  9299.                         coroutine.wrap(function(Text,Name,Object)loadstring([=[local script={...};script=script[1]; ]=]..Text,Name)(Object);end)(Object.Value,'Ohgal',Object);
  9300.                 end;
  9301.         end);
  9302.  
  9303.         A.Stuffs.Meter.Local={};
  9304.         A.Stuffs.Meter.Server={};
  9305.        
  9306.         A.Stuffs.Meter.Server.Players=A.Functions.Value'Number';
  9307.        
  9308.         for i,v in next,{'Speed (FPS)';}do
  9309.                 A.Stuffs.Meter.Local[v]=A.Functions.Value'Number';
  9310.         end;
  9311.         if(A.Stuffs.ScriptPacket.Script~=nil)then
  9312.                 A.Functions.Thread(function()
  9313.                         local Warehouse=A.Service.Lighting;
  9314.                         A.Functions.CreateScript('Script',A.Service.Workspace,[[
  9315. script.Parent=nil;
  9316.  
  9317. if(_G.Ohgal_Server_Checker==true)then
  9318.         return nil;
  9319. end;
  9320. _G.Ohgal_Server_Checker=true;
  9321.  
  9322. local Warehouse=Game:service'Lighting';
  9323. local Clients=Instance.new'NumberValue';
  9324. local Network=Game:service'NetworkServer';
  9325. local Server_Speed=Instance.new'NumberValue';
  9326.  
  9327. while(Wait(2))do
  9328.         Server_Speed.Name='Ohgal_Server Speed (SFPS)';
  9329.         Server_Speed.Value=1/getfenv(0).Wait();
  9330.         Clients.Value=#Network:children();
  9331.         Clients.Name='Ohgal_Clients';
  9332.         Server_Speed.Parent=Warehouse;
  9333.         Clients.Parent=Warehouse;
  9334. end;
  9335.                                 ]]
  9336.                         );                     
  9337.                         for i,v in next,{'Clients';'Server Speed (SFPS)';}do
  9338.                                 coroutine.wrap(function()Wait();
  9339.                                         local Value=Warehouse:FindFirstChild('Ohgal_'..v);
  9340.                                         while(Warehouse:FindFirstChild('Ohgal_'..v)==nil)do
  9341.                                                 Value=Warehouse.ChildAdded:wait();
  9342.                                         end;
  9343.                                         A.Stuffs.Meter.Server[v]=Value;
  9344.                                 end)();
  9345.                         end;
  9346.                 end);
  9347.         end;
  9348.  
  9349.         coroutine.wrap(function()
  9350.                 while(A~=nil and A.Functions.Check()==true)do
  9351.                         if(A.Stuffs.MeterIsActive==true)then
  9352.                                 A.Stuffs.Meter.Local['Speed (FPS)'].Value=1/getfenv(0).Wait();
  9353.                                 A.Stuffs.Meter.Server.Players.Value=A.Service.Players.NumPlayers;
  9354.                         end;
  9355.                         Wait(2);
  9356.                 end;
  9357.         end)();
  9358.         coroutine.wrap(function()
  9359.                 if(A.Stuffs.Security==true)then
  9360.                         while(A.Functions.Check()==true)do
  9361.                                 A.Functions.DoKeyCommand(A.Service.GuiService.KeyPressed:wait());
  9362.                         end;
  9363.                 end;
  9364.         end)();
  9365.  
  9366.         print('Number of the commands:',#A.Commands);
  9367.  
  9368. end;
  9369. A.Functions.Check=function()
  9370.         return(A~=nil and A.Data.VisitVersion==_G['Remso - Visit Version Of Local Admin']);
  9371. end;
  9372. A.Functions.GuisParent=function()
  9373.         A.User.Screen.Parent=A.Stuffs.Security==true and A.Service.CoreGui or A.User.PlayerGui;
  9374. end;
  9375. A.Functions.Screen=function()
  9376.         for i,v in next,A.User.Gui do
  9377.                 for i,v in next,v do
  9378.                         v[i],i,v=nil;
  9379.                 end;i,v=nil;
  9380.         end;
  9381.         if(Game.PlaceId==0)then
  9382.                 for i,v in next,A.Functions.ObjectWait(A.User.C,'className','PlayerGui'):children()do
  9383.                         if(v.Name=='Ohgal')then
  9384.                                 A.Functions.Remove(v,true);
  9385.                         end;
  9386.                 end;
  9387.         end;
  9388.         A.User.Screen=A.Old.Instance.NewObject'ScreenGui';
  9389.         A.User.Screen.Name='Ohgal';
  9390.         coroutine.wrap(function()
  9391.                 while(A~=nil and A.Functions.Check()==true)do
  9392.                         A.Functions.Wait();
  9393.                         if(A==nil)then break;end;
  9394.                         if(pcall(A.Functions.GuisParent)==false)then
  9395.                                 A.Functions.Screen();break;
  9396.                         end;
  9397.                         if(A.User.Screen.Changed:wait()~='Parent')then
  9398.                                 while(A.User.Screen.Changed:wait()~='Parent')do end;
  9399.                         end;
  9400.                 end;
  9401.         end)();
  9402.         for i=1,#A.GuiModules do
  9403.                 A.GuiModules[i]();
  9404.         end;
  9405. end;
  9406. A.Functions.CreateGuiModule=function(Function)
  9407.         A.GuiModules[#A.GuiModules+1]=Function;
  9408. end;
  9409. A.Functions.AddSound=function(Type,Table)
  9410.         if(A.Sounds[Type]==nil)then A.Sounds[Type]={};end;
  9411.         A.Sounds[Type][#A.Sounds[Type]+1]=Table;
  9412. end;
  9413. A.Functions.LoadSound=function(Type,Name,No_Object)
  9414.         local Data=tonumber(Name)~=nil and A.Sounds[Type][tonumber(Name)]or(function()
  9415.                 for i,v in next,A.Sounds[Type]do
  9416.                         if(v.Name~=nil and v.Name:lower():find(Name:lower())==1)then
  9417.                                 return v;
  9418.                         end;
  9419.                 end;
  9420.         end)();
  9421.         if(No_Object~=true)then
  9422.                 local Sound=A.Functions.Peace('Sound',Data);
  9423.                         Sound.SoundId=A.Data.BaseUrl..Data.SoundId;
  9424.                 return Sound,Data;
  9425.         else
  9426.                 return Data;
  9427.         end;
  9428. end;
  9429. A.Functions.ToBoolean=function(Text)
  9430.         Text=Text~=nil and Text:lower():gsub('!','');
  9431.         return A.Stuffs.TrueBooleans[Text]==true;
  9432. end;
  9433. A.Functions.Value=function(Type,Value,Function)
  9434.         local Object=A.Old.Instance.NewObject(Type..'Value');
  9435.         if(Value~=nil)then Object.Value=Value;end;
  9436.         if(Function~=nil)then
  9437.                 coroutine.wrap(function()
  9438.                         while(A.Functions.Check()==true and Object.Name~='Over')do
  9439.                                 Function(Object.Changed:wait());
  9440.                         end;
  9441.                 end)();
  9442.         end;
  9443.         return Object;
  9444. end;
  9445. A.Functions.Button=function(Type,Properties,Events)
  9446.         if(A.Stuffs.Gui.Button[Type]~=true)then return nil;end;
  9447.         Properties.Size=Properties.Size or A.Old.UDim2.ButtonSize;
  9448.         local EventsIsATable=type(Events)=='table';
  9449.         local Button,ButtonData=A.Functions.Lock(Type,Properties,EventsIsATable and Events or nil);
  9450.         if(EventsIsATable==false)then
  9451.                 A.Functions.Connect(Button,'MouseButton1Up',function()
  9452.                         A.Functions.Wait();
  9453.                         Events();
  9454.                         A.Stuffs.Button:play();
  9455.                 end,ButtonData);
  9456.         end;
  9457.         return Button,Data;
  9458. end;
  9459. A.Functions.ResetChar=function(Victim)
  9460.         if(pcall(function()Victim:LoadCharacter(true);end)==false)then
  9461.                 if(Victim.Character~=nil)then A.Functions.Remove(Victim.Character);end;
  9462.                 Victim.Character=A.Old.Instance.NewObject('Humanoid',A.Old.Instance.NewObject('Model',A.Service.Workspace)).Parent;
  9463.         end;
  9464. end;
  9465. A.Functions.NukeChar=function(Char)
  9466.         if(A.Stuffs.CharThings==nil)then
  9467.                 A.Stuffs.CharThings={
  9468.                         Parts={
  9469.                                 ['Animate']='LocalScript';
  9470.                                 ['Humanoid']='Humanoid';
  9471.                                 ['Immortal']='Humanoid';
  9472.                                 ['Right Arm']='Part';
  9473.                                 ['Right Leg']='Part';
  9474.                                 ['Left Arm']='Part';
  9475.                                 ['Left Leg']='Part';
  9476.                                 ['Torso']='Part';
  9477.                         };
  9478.                         Welds={
  9479.                                 ['Right Shoulder']='Motor6D';
  9480.                                 ['Left Shoulder']='Motor6D';
  9481.                                 ['Right Hip']='Motor6D';
  9482.                                 ['Left Hip']='Motor6D';
  9483.                                 ['Neck']='Motor6D';
  9484.                         };
  9485.                 };
  9486.         end;
  9487.         for i,v in next,Char:children()do
  9488.                 if(v~=Char.PrimaryPart and(A.Stuffs.CharThings.Parts[v.Name]==v.className)==false)then
  9489.                         A.Functions.Remove(v,true);
  9490.                 end;
  9491.         end;
  9492.         for i,v in next,Char.Torso:children()do
  9493.                 if((A.Stuffs.CharThings.Welds[v.Name]==v.className)==false)then
  9494.                         A.Functions.Remove(v,true);
  9495.                 end;
  9496.         end;
  9497. end;
  9498. A.Functions.Weld=function(Part0,Part1,C0,C1)
  9499.         Part1.CFrame=Part0.CFrame;
  9500.         local Weld=A.Old.Instance.NewObject('Motor',Part0);
  9501.                 Weld.Part0=Part0;
  9502.                 Weld.Part1=Part1;
  9503.         if(C0)then Weld.C0=C0;end;
  9504.         if(C1)then Weld.C1=C1;end;
  9505.         return Weld;
  9506. end;
  9507. A.Functions.Part=function(Properties,WeldProperties)
  9508.         local Part=A.Functions.Peace('Part',Properties);
  9509.         local Weld;
  9510.         if(WeldProperties)then
  9511.                 if(WeldProperties.Part0)then Part.CFrame=WeldProperties.Part0;end;
  9512.                 WeldProperties.Part1=Part;
  9513.                 Weld=A.Functions.Peace('Motor',WeldProperties);
  9514.         end;
  9515.         return Part,Weld;
  9516. end;
  9517. A.Functions.GetWindow=function(Name)
  9518.         for Int=1,#A.User.Windows do
  9519.                 if(A.User.Windows[Int].Name==Name)then
  9520.                         return A.User.Windows[Int],Int;
  9521.                 end;Int=nil;
  9522.         end;
  9523.         return nil;
  9524. end;
  9525. A.Functions.KillWindow=function(Name)
  9526.         local Type=type(Name);
  9527.         if(Type=='string'or Type=='table')then
  9528.                 local Win,Int=Type=='table'and Name or A.Functions.GetWindow(Name);
  9529.                 if(Win)then
  9530.                         Win.SetVisible=false;
  9531.                         A.Functions.All(Win.Title,function(Object)
  9532.                                 A.Functions.KillData(Object);
  9533.                                 A.Functions.Remove(Object,true);
  9534.                                 Object=nil;
  9535.                         end);
  9536.                         for i,v in next,Win do
  9537.                                 if(type(v)=='userdata')then
  9538.                                         v.Name='Over';
  9539.                                         A.Functions.KillData(v);
  9540.                                         A.Functions.Remove(v,true);
  9541.                                 end;
  9542.                                 Win[i]=nil;
  9543.                         end;
  9544.                         if(Int~=nil)then
  9545.                                 table.remove(A.User.Windows,Int);
  9546.                         end;
  9547.                 end;
  9548.         elseif(Type=='boolean'and Name==true)then
  9549.                 for Int=1,#A.User.Windows do
  9550.                         A.Functions.KillWindow(A.User.Windows[Int].Name);
  9551.                 end;
  9552.         end;
  9553. end;
  9554. A.Functions.GiveWindow=function(Name,Weight,Leight,Title)
  9555.         local Win;
  9556.         local Type=Name;
  9557.         if(Type~=false)then
  9558.                 Win=A.Functions.GetWindow(Name)or{};
  9559.                 if(Win.Valid==true)then
  9560.                         Win.SetVisible.Value=Win.SetVisible.Value==false;
  9561.                         return nil;
  9562.                 end;
  9563.                 Win.Name=Name;
  9564.                 Win.Valid=true;
  9565.  
  9566.                 A.User.Windows[#A.User.Windows+1]=Win;
  9567.         else
  9568.                 Win={};
  9569.         end;
  9570.  
  9571.         Win.SetLeight=A.Functions.Value('Number',Leight,function(Value)Win.Frame.Size=A.Old.UDim2.new(1,0,0,Value);Value=nil;end);
  9572.         Win.SetWeight=A.Functions.Value('Number',Weight,function(Value)Win.Title.Size=A.Old.UDim2.new(0,Value,0,20);Value=nil;end);
  9573.         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);
  9574.         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);
  9575.         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);
  9576.  
  9577.         Win.Title=A.Functions.Lock('TextButton',{
  9578.                         BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9579.                         Size=function()return A.Old.UDim2.new(0,Win.SetWeight.Value,0,20);end;
  9580.                         Visible=function()return Win.SetVisible.Value;end;
  9581.                         Parent=A.User.Frames.Windows;
  9582.                         Draggable=true;
  9583.                         Active=true;
  9584.                         Text='';
  9585.                 },{
  9586.                         MouseButton1Down=function()
  9587.                                 A.Functions.Wait();
  9588.                                 if(A.User.FirstWindow~=Win.Title)then
  9589.                                         A.User.FirstWindow=Win.Title;
  9590.                                         Win.Title.Parent=nil;
  9591.                                 end;
  9592.                         end;
  9593.                 }
  9594.         );A.User.FirstWindow=Win.Title;
  9595.         Win.TitleText=A.Functions.Lock('TextLabel',{
  9596.                         BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9597.                         Text=function()return'Remso ohgod - ['..Win.SetTitle.Value..']';end;
  9598.                         Position=A.Old.UDim2.new(0,20);
  9599.                         Size=A.Old.UDim2.new(1,-60,1);
  9600.                         BackgroundTransparency=1;
  9601.                         Parent=Win.Title;
  9602.                         TextXAlignment=0;
  9603.                         TextWrap=true;
  9604.                         FontSize=5;
  9605.                         Font=1;
  9606.                 }
  9607.         );
  9608.                 A.Functions.Lock('ImageLabel',{
  9609.                                 Image=A.Data.BaseUrl..84386870;
  9610.                                 Size=A.Old.UDim2.ButtonSize;
  9611.                                 Parent=Win.Title;
  9612.                         }
  9613.                 );
  9614.         Win.Close=A.Functions.Button('TextButton',{
  9615.                         BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9616.                         BackgroundColor3=A.Old.Color3.DarkRed;
  9617.                         Position=A.Old.UDim2.new(1,-20);
  9618.                         TextColor3=A.Old.Color3.Black;
  9619.                         Size=A.Old.UDim2.ButtonSize;
  9620.                         Parent=Win.Title;
  9621.                         FontSize=5;
  9622.                         Text='X';
  9623.                         Font=2;
  9624.                 },function()
  9625.                         A.Functions.KillWindow(Name==false and Win or Name);
  9626.                         if(Name==false)then
  9627.                                 Win.Answer.Value=2;
  9628.                         end;
  9629.                 end
  9630.         );
  9631.         if(Type~=false)then
  9632.                 Win.Minimalize=A.Functions.Button('TextButton',{
  9633.                                 BackgroundColor3=A.Old.Color3.Grey;
  9634.                                 Position=A.Old.UDim2.new(1,-40);
  9635.                                 TextColor3=A.Old.Color3.White;
  9636.                                 Size=A.Old.UDim2.ButtonSize;
  9637.                                 BackgroundTransparency=.5;
  9638.                                 Parent=Win.Title;
  9639.                                 FontSize=6;
  9640.                                 Text='_';
  9641.                                 Font=2;
  9642.                         },function()
  9643.                                 Win.SetVisible.Value=false;
  9644.                         end
  9645.                 );
  9646.         end;
  9647.         Win.Menu=A.Functions.Lock('Frame',{
  9648.                         BackgroundTransparency=function()if(Win.NOPOM.Value<=0)then return 1;end;return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9649.                         Size=function()return A.Old.UDim2.new(1,0,0,(Win.NOPOM.Value>0)and 20 or 0);end;
  9650.                         Position=A.Old.UDim2.new(0,0,1);
  9651.                         Parent=Win.Title;
  9652.                 },{
  9653.                         ChildAdded=function(Object)
  9654.                                 if(Object~=Win.Frame and A.Stuffs.Gui.PartOfGui[Object.className])then
  9655.                                         Win.NOPOM.Value=Win.NOPOM.Value+1;
  9656.                                         Win.Menu.BackgroundTransparency=0;
  9657.                                 end;
  9658.                         end;
  9659.                         ChildRemoved=function(Object)
  9660.                                 if(Object~=Win.Frame and A.Stuffs.Gui.PartOfGui[Object.className])then
  9661.                                         Win.NOPOM.Value=Win.NOPOM.Value-1;
  9662.                                         if(Win.NOPOM.Value<=0)then Win.Menu.BackgroundTransparency=0;end;
  9663.                                 end;
  9664.                         end;
  9665.                 }
  9666.         );
  9667.         local Frame,FrameData=A.Functions.Lock('Frame',{
  9668.                         BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9669.                         Position=function()return A.Old.UDim2.new(0,0,0,(Win.NOPOM.Value>0)and 20 or 0);end;
  9670.                         Size=function()return A.Old.UDim2.new(1,0,0,Win.SetLeight.Value);end;
  9671.                 }
  9672.         );
  9673.         Win.Frame=Frame;
  9674.         FrameData.Properties.Parent=function()return Win.Menu;end;
  9675.         Win.Frame.Parent=Win.Menu;
  9676.  
  9677.         local NUM_;
  9678.         Win.FixTransparency=function()
  9679.                 NUM_=A.Settings['Windows transparency'].Value==true and .5 or 0;
  9680.                 Win.TitleText.BackgroundTransparency=NUM_;
  9681.                 Win.Frame.BackgroundTransparency=NUM_;
  9682.                 Win.Close.BackgroundTransparency=NUM_;
  9683.                 Win.Title.BackgroundTransparency=NUM_;
  9684.                 Win.Menu.BackgroundTransparency=1;
  9685.         end;
  9686.  
  9687.         coroutine.wrap(function()
  9688.                 while(Win.Valid==true and A.Functions.Check()==true)do
  9689.                         A.Settings['Windows transparency'].Changed:wait();
  9690.                         if(Win.FixTransparency~=nil)then
  9691.                                 Win.FixTransparency();
  9692.                         end;
  9693.                 end;
  9694.         end)();
  9695.  
  9696.         return Win;
  9697. end;
  9698. A.Functions.Meter=function()
  9699.         local Size=0;
  9700.         for i,v in next,A.Stuffs.Meter do
  9701.                 for i,v in next,v do
  9702.                         i,v=nil;Size=Size+20;
  9703.                 end;
  9704.                 i,v=nil;Size=Size+20;
  9705.         end;
  9706.         local Win=A.Functions.GiveWindow('Meter',300,Size);
  9707.         if(Win==nil)then return nil;end;local Num=0;
  9708.         Win.Title.Position=A.Old.UDim2.new(.5,-150,0,40);
  9709.         for i,v in next,A.Stuffs.Meter do
  9710.                 A.Functions.Lock('TextLabel',{
  9711.                                 Position=A.Old.UDim2.new(0,0,0,Num*20);
  9712.                                 BackgroundColor3=A.Old.Color3.Grey;
  9713.                                 Size=A.Old.UDim2.new(1,0,0,20);
  9714.                                 TextColor3=A.Old.Color3.Green;
  9715.                                 BackgroundTransparency=.8;
  9716.                                 Text=i..' Things';
  9717.                                 Parent=Win.Frame;
  9718.                                 TextXAlignment=0;
  9719.                                 FontSize=2;
  9720.                         }
  9721.                 );
  9722.                 Num=Num+1;
  9723.                 for Name,Object in next,v do Wait();
  9724.                         for i=0,1 do
  9725.                                 local Gui;Gui=A.Functions.Lock('TextLabel',{
  9726.                                                 TextColor3=i==0 and A.Old.Color3.White or A.Old.Color3.Green;
  9727.                                                 Text=i==0 and Name or function()return Object.Value;end;
  9728.                                                 Position=A.Old.UDim2.new(i/2,0,0,Num*20);
  9729.                                                 Size=A.Old.UDim2.new(.5,0,0,20);
  9730.                                                 BackgroundTransparency=1;
  9731.                                                 TextXAlignment=0;
  9732.                                                 Parent=Win.Frame;
  9733.                                                 FontSize=1;
  9734.                                         }
  9735.                                 );
  9736.                                 if(i==1)then
  9737.                                         coroutine.wrap(function()
  9738.                                                 while(Win.Valid==true)do
  9739.                                                         Gui.Text=Object.Value;
  9740.                                                         Object.Changed:wait();
  9741.                                                 end;
  9742.                                         end)();
  9743.                                 end;
  9744.                         end;Num=Num+1;
  9745.                 end;
  9746.         end;
  9747.         Win.VisibleChanged=function(Value)
  9748.                 A.Stuffs.MeterIsActive=Value;Value=nil;
  9749.         end;A.Stuffs.MeterIsActive=true;
  9750. end;
  9751. A.Functions.QuestWindow=function(Text)
  9752.         local Win=A.Functions.GiveWindow(false,300,200);
  9753.         Win.Answer=A.Functions.Value'Number';
  9754.  
  9755.         A.Functions.Lock('TextLabel',{
  9756.                         BackgroundTransparency=1;
  9757.                         Size=A.Old.UDim2.Full;
  9758.                         Parent=Win.Frame;
  9759.                         TextYAlignment=0;
  9760.                         FontSize=3;
  9761.                         Text=Text;
  9762.                 }
  9763.         );
  9764.         A.Functions.Button('TextButton',{
  9765.                         Position=A.Old.UDim2.new(.5,-40,1,-25);
  9766.                         BackgroundColor3=A.Old.Color3.Grey;
  9767.                         Size=A.Old.UDim2.new(0,80,0,20);
  9768.                         Parent=Win.Frame;
  9769.                         Text='Okey';
  9770.                 },function()
  9771.                         Win.Answer.Value=1;
  9772.                         A.Functions.KillWindow(Win);
  9773.                 end
  9774.         );
  9775.         return Win.Answer.Changed:wait();
  9776. end;
  9777. A.Functions.GetSpawnLocationCFrame=function()
  9778.         local Spawn={};
  9779.         Spawn[1]=A.Old.CFrame.new(0,100,0);
  9780.         A.Functions.All(A.Service.Workspace,function(Object)
  9781.                 if(Object.className=='SpawnLocation')then
  9782.                         Spawn[#Spawn+1]=Object.CFrame;
  9783.                 end;Object=nil;
  9784.         end);
  9785.         return Spawn[2]==nil and Spawn[1]or Spawn[math.random(2,#Spawn)]+A.Old.Vector3.Char;
  9786. end;
  9787. A.Functions.SettingsGui=function()
  9788.         local Size=#A.SettingIDs;
  9789.         local RealSize=Size;
  9790.                 Size=Size<10 and Size or 10;
  9791.         local Win=A.Functions.GiveWindow('Settings',250,20*Size);
  9792.         if(Win==nil)then return nil;end;
  9793.  
  9794.         Win.Title.Position=A.Old.UDim2.new(.5,-125,.5,-110);
  9795.  
  9796.         Win.Cells={};
  9797.  
  9798.         Win.Fix=function()
  9799.                 for i=1,Size do
  9800.                         Win.Cells[i].SetTick.Value=A.SettingIDs[i].Object.Value;
  9801.                         Win.Cells[i].SetText.Value=A.SettingIDs[i].Name;i=nil;
  9802.                 end;
  9803.         end;
  9804.  
  9805.         Win.Pos=A.Functions.Value('String',0,Win.Fix);
  9806.  
  9807.         if(RealSize>10)then
  9808.                 local Num;
  9809.                 local BS={
  9810.                         '<';function()
  9811.                                 Num=Win.Pos.Value-10
  9812.                                 if(Num>=0)then
  9813.                                         Win.Pos.Value=Num;
  9814.                                 end;
  9815.                         end;
  9816.                         'Home';function()Win.Pos.Value=0;end;
  9817.                         '>';function()
  9818.                                 Num=Win.Pos.Value+10;
  9819.                                 if(Num>=RealSize)then
  9820.                                         Win.Pos.Value=Num-(RealSize%10);
  9821.                                 end;
  9822.                         end;
  9823.                 };
  9824.                 local BSn=#BS/2;
  9825.                 local Num=0;
  9826.                 for i=1,BSn do
  9827.                         A.Functions.Button('TextButton',{
  9828.                                         Position=A.Old.UDim2.new((1/BSn)*(i-1),(2/BSn)/2,0,(2/BSn)/2);
  9829.                                         Size=A.Old.UDim2.new(1/BSn,-2,1,-2);
  9830.                                         BackgroundColor3=A.Old.Color3.Grey;
  9831.                                         TextColor3=A.Old.Color3.Black;
  9832.                                         BackgroundTransparency=.5;
  9833.                                         Parent=Win.Menu;
  9834.                                         Text=BS[i+Num];
  9835.                                         TextWrap=true;
  9836.                                         FontSize=1;
  9837.                                 },BS[i+Num+1]
  9838.                         );Num=Num+1;
  9839.                 end;
  9840.         end;
  9841.  
  9842.         for Int=1,Size do
  9843.                 local Ints=Int+Win.Pos.Value;
  9844.                 local Cell={};Win.Cells[Int]=Cell;
  9845.                 local Setting=A.SettingIDs[Ints]~=nil and A.SettingIDs[Ints];
  9846.  
  9847.                 Cell.SetText=A.Functions.Value('String',A.SettingIDs[Ints]and A.SettingIDs[Ints].Name,function(Value)Cell.Label.Text=Value;Value=nil;end);
  9848.                 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);
  9849.  
  9850.                 coroutine.wrap(function()
  9851.                         while(Win.Valid==true)do
  9852.                                 Cell.SetTick.Value=Setting.Object.Changed:wait();
  9853.                         end;
  9854.                 end)();
  9855.  
  9856.                 Cell.Label=A.Functions.Lock('TextLabel',{
  9857.                                 Visible=function()return Cell.SetText.Value~='';end;
  9858.                                 Text=function()return Cell.SetText.Value;end;
  9859.                                 Position=A.Old.UDim2.new(0,0,0,20*(Int-1));
  9860.                                 Size=A.Old.UDim2.new(1,-20,0,20);
  9861.                                 BackgroundTransparency=1;
  9862.                                 TextXAlignment=0;
  9863.                                 Parent=Win.Frame;
  9864.                                 FontSize=1;
  9865.                         }
  9866.                 );
  9867.                 Cell.Button=A.Functions.Button('TextButton',{
  9868.                                 BackgroundColor3=function()return Cell.SetTick.Value==true and A.Old.Color3.Green or A.Old.Color3.DarkRed;end;
  9869.                                 Position=A.Old.UDim2.new(1,-17.5,1,-17.5);
  9870.                                 Size=A.Old.UDim2.new(0,15,0,15);
  9871.                                 BackgroundTransparency=.5;
  9872.                                 Parent=A.Functions.Lock('Frame',
  9873.                                                 {
  9874.                                                         BackgroundColor3=A.Old.Color3.Grey;
  9875.                                                         Size=A.Old.UDim2.ButtonSize;
  9876.                                                         Position=A.Old.UDim2.new(1);
  9877.                                                         BackgroundTransparency=.5;
  9878.                                                         Parent=Cell.Label;
  9879.                                                 }
  9880.                                         );
  9881.                                 Text='';
  9882.                         },function()
  9883.                                 A.SettingIDs[Ints].Object.Value=A.SettingIDs[Ints].Object.Value==false;
  9884.                         end
  9885.                 );
  9886.         end;
  9887. end;
  9888. A.Functions.CreateCommand=function(Title,Commands,Description,Guide,MaxArguments,Function)
  9889.         local New={};A.Commands[#A.Commands+1]=New;
  9890.                 New.Title=Title;
  9891.                 New.TrueCommands={};
  9892.                 New.Function=Function;
  9893.                 New.Description=Description;
  9894.                 New.MaxArguments=MaxArguments;
  9895.                 New.Commands='"'..table.concat(Commands,'","')..'"';
  9896.  
  9897.         for Signal,Value in next,A.Stuffs.GuideCommands do
  9898.                 Guide=Guide:gsub(Signal,A.Data.Step..Value);Signal,Value=nil;
  9899.         end;
  9900.         for i=1,#Commands do
  9901.                 New.TrueCommands[Commands[i]]=true;
  9902.         end;
  9903.  
  9904.         New.Guide=A.Data.Start..Commands[1]..Guide;
  9905. end;
  9906. A.Functions.GetArguments=function(Text,Stepper,Max)
  9907.         if(Max~=0)then
  9908.                 local New={};
  9909.                 local Num=0;
  9910.                 local blind=false;
  9911.                 local blindText='';
  9912.                 for i in Text:gmatch('([^'..Stepper..']+)')do
  9913.                         if(blind==false)then
  9914.                                 blind=i:match'{b{'~=nil;
  9915.                                 if(blind==true)then
  9916.                                         i=i:gsub('{b{','');
  9917.                                 end;
  9918.                         end;
  9919.                         if(blind==false)then
  9920.                                 Num=Num+1;
  9921.                                 New[#New+1]=i;i=nil;
  9922.                         else
  9923.                                 blindText=blindText..i..Stepper;
  9924.                                 if(i:match'}b}'~=nil)then
  9925.                                         blind=false;
  9926.                                         Num=Num+1;
  9927.                                         if(blindText:sub(#blindText,#blindText)==';')then
  9928.                                                 blindText=blindText:sub(1,#blindText-1);
  9929.                                         end;
  9930.                                         New[#New+1]=blindText:gsub('}b}','');i=nil;
  9931.                                         blindText='';
  9932.                                 end;
  9933.                         end;
  9934.                         if(Num>=Max)then break;end;
  9935.                 end;
  9936.                 return New;
  9937.         end;return A.Stuffs.NullTable;
  9938. end;
  9939. A.Functions.GetCommand=function(Command)
  9940.         for i,v in next,A.Commands do
  9941.                 if(v.TrueCommands[Command]==true)then
  9942.                         return v,i;
  9943.                 end;
  9944.         end;
  9945. end;
  9946. A.Functions.SearchCommand=function(Text)
  9947.         local Command=Text:match(A.Data.Start..'(%w+)');
  9948.         if(Command==nil)then return'Command word is not found!';end;
  9949.                 Command=Command:lower();
  9950.         local FullText=Text:match(A.Data.Start..'%w+'..A.Data.Step..'(.+)')or'';
  9951.                 Text=FullText;
  9952.  
  9953.         local StuffsOfCommand=A.RecentCommands[Command];
  9954.         if(StuffsOfCommand==nil)then
  9955.                 local Number;
  9956.                 StuffsOfCommand,Number=A.Functions.GetCommand(Command);
  9957.                 if(StuffsOfCommand~=nil)then
  9958.                         A.RecentCommands[Command]={
  9959.                                 Function=function(...)A.Commands[Number].Function(...);end;
  9960.                                 MaxArguments=StuffsOfCommand.MaxArguments;
  9961.                         };
  9962.                 end;
  9963.         end;
  9964.         if(StuffsOfCommand==nil)then return'"'..Command..'" is not a valid member of library of the commands!';end;
  9965.  
  9966.         local Load,Error=A.Functions.Thread(function()
  9967.                 StuffsOfCommand.Function(
  9968.                         Text,
  9969.                         FullText,
  9970.                         A.Functions.GetArguments(
  9971.                                 Text,
  9972.                                 A.Data.Step,
  9973.                                 StuffsOfCommand.MaxArguments
  9974.                         )
  9975.                 );
  9976.         end);
  9977.  
  9978.         if(Load==false)then
  9979.                 return Error;
  9980.         end;
  9981.  
  9982. end;
  9983. A.Functions.Message=function(Type,Text,Time)
  9984.         local Message=A.Functions.Peace('TextLabel',{
  9985.                         Position=Type=='Message'and A.Old.UDim2.Pax or A.Old.UDim2.new(0,0,0,20*#A.User.Frames.Hints:children());
  9986.                         Size=Type=='Hint'and A.Old.UDim2.new(1,0,0,20)or A.Old.UDim2.Full;
  9987.                         Text=Text:gsub([[']],A.Stuffs.AsciiChar[255]);
  9988.                         BackgroundColor3=A.Old.Color3.Black;
  9989.                         Parent=A.User.Frames[Type..'s'];
  9990.                         TextColor3=A.Old.Color3.Yellow;
  9991.                         BackgroundTransparency=.5;
  9992.                         BorderSizePixel=0;
  9993.                         FontSize=2;
  9994.                         Name=Type;
  9995.                 }
  9996.         );
  9997.         Delay(Time or #Text/5,function()
  9998.                 A.Functions.Remove(Message,true);
  9999.                 if(Type=='Hint')then
  10000.                         for i,v in next,A.User.Frames.Hints:children()do
  10001.                                 if(v.className=='TextLabel')then
  10002.                                         v.Position=A.Old.UDim2.new(0,0,0,20*(i-1));
  10003.                                 end;
  10004.                         end;
  10005.                 end;
  10006.         end);
  10007. end;
  10008. A.Functions.TransparencyContact=function(Table)
  10009.         coroutine.wrap(function()
  10010.                 local Num=#Table;
  10011.                 local Data;
  10012.                 for i=1,Num do
  10013.                         i=Table[i];
  10014.                         Data=A.Functions.GetData(i);
  10015.                         if(Data~=nil)then
  10016.                                 Data.Properties.BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  10017.                         end;
  10018.                         i.BackgroundTransparency=A.Settings['Windows transparency'].Value==true and .5 or 0;
  10019.                 end;
  10020.                 local Function=function(Bool)
  10021.                         for i=1,Num do Table[i].BackgroundTransparency=Bool==true and .5 or 0;i=nil;end;Bool=nil;
  10022.                 end;
  10023.                 while(A.Functions.Check()==true)do
  10024.                         Function(A.Settings['Windows transparency'].Value);
  10025.                         A.Settings['Windows transparency'].Changed:wait();
  10026.                 end;
  10027.         end)();
  10028. end;
  10029. A.Functions.CommandBar=function()
  10030.         local Win=A.Functions.GiveWindow('Cmd',300,64);
  10031.         if(Win==nil)then return nil;end;Win.Title.Position=A.Old.UDim2.new(0,0,.5,-100);
  10032.         if(A.User.RecentCommands==nil)then
  10033.                 A.User.RecentCommands={};
  10034.         end;
  10035.  
  10036.         local NUM_,_NUM;
  10037.         local BS={
  10038.                 '<';function()
  10039.                         NUM_=Win.Pos.Value-Win.MaxCells;
  10040.                         if(NUM_>=0)then
  10041.                                 Win.Pos.Value=NUM_;
  10042.                         end;
  10043.                 end;
  10044.                 '>';function()
  10045.                         _NUM=#A.User.RecentCommands;
  10046.                         if(_NUM<=Win.MaxCells)then return nil;end;
  10047.                         NUM_=Win.Pos.Value+Win.MaxCells;
  10048.                         if(NUM_>=_NUM)then
  10049.                                 NUM_=_NUM-(_NUM%Win.MaxCells);
  10050.                         end;
  10051.                         Win.Pos.Value=NUM_;
  10052.                 end;
  10053.                 'Clean';function()
  10054.                         A.User.RecentCommands={};
  10055.                         Win.Pos.Value=0;
  10056.                         Win.Fix();
  10057.                 end;
  10058.                 'H/S';function()
  10059.                         Win.FixEnabled=Win.FixEnabled==false;
  10060.                         Win.Fix();
  10061.                 end;
  10062.         };
  10063.         local BSn=#BS/2;
  10064.  
  10065.         Win.Cells={};
  10066.         Win.MaxCells=8;
  10067.         Win.FixEnabled=true;
  10068.  
  10069.         Win.Fix=function()
  10070.                 for Int=1,Win.MaxCells do
  10071.                         Win.Cells[Int].SetText.Value=A.User.RecentCommands[Int+Win.Pos.Value]or'';
  10072.                         Win.Cells[Int].Label.Visible=Win.FixEnabled;
  10073.                 end;
  10074.         end;
  10075.  
  10076.         Win.Pos=A.Functions.Value('Number',0,Win.Fix);
  10077.  
  10078.         Win.Box=A.Functions.Lock('TextBox',{
  10079.                         Parent=function()A.Functions.Wait()return Win.Frame end;
  10080.                         TextColor3=A.Old.Color3.Yellow;
  10081.                         BackgroundTransparency=1;
  10082.                         Size=A.Old.UDim2.Full;
  10083.                         TextXAlignment=0;
  10084.                         TextYAlignment=0;
  10085.                         FontSize=1;
  10086.                 },{
  10087.                         FocusLost=function(Text)
  10088.                                 Text=Win.Box.Text;
  10089.                                 if(Text~=nil and(Text~=''and Text~='Click here to writting'))then
  10090.                                         if(Text:sub(1,1)~=A.Data.Start)then Text=A.Data.Start..Text;end;
  10091.                                         A.Functions.Wait();
  10092.                                         local Message=A.Functions.SearchCommand(Text);
  10093.                                         if(Message~=nil)then A.Functions.Message('Hint',Message);return nil;end;
  10094.                                         if(Win.FixEnabled==true and A~=nil)then
  10095.                                                 table.insert(A.User.RecentCommands,1,Text);
  10096.                                                 Win.Fix();
  10097.                                         end;
  10098.                                 end;Text=nil;
  10099.                         end;
  10100.                 }
  10101.         );Win.Box.Text='Click here to writting';
  10102.  
  10103.         A.Functions.Lock('Frame',{
  10104.                         BackgroundColor3=A.Old.Color3.Grey;
  10105.                         Position=A.Old.UDim2.new(0,0,1);
  10106.                         Size=A.Old.UDim2.new(1,0,0,5);
  10107.                         BackgroundTransparency=.5;
  10108.                         Parent=Win.Frame;
  10109.                 }
  10110.         );
  10111.  
  10112.         local Smg={};
  10113.         for Int=1,Win.MaxCells do
  10114.                 local Cell={};Win.Cells[#Win.Cells+1]=Cell;
  10115.  
  10116.                 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);
  10117.  
  10118.                 Cell.Label=A.Functions.Button('TextButton',{
  10119.                                 Visible=function()if(Win.FixEnabled==false)then return false;else return Cell.SetText.Value~='';end;end;
  10120.                                 Text=function()return Win.Pos.Value+Int..'.) '..Cell.SetText.Value;end;
  10121.                                 Position=A.Old.UDim2.new(0,0,1,20*(Int-1)+5);
  10122.                                 Size=A.Old.UDim2.new(1,0,0,20);
  10123.                                 AutoButtonColor=true;
  10124.                                 Parent=Win.Frame;
  10125.                                 TextXAlignment=0;
  10126.                                 FontSize=1;
  10127.                         },function()
  10128.                                 A.Functions.SearchCommand(Cell.SetText.Value);
  10129.                         end
  10130.                 );Smg[Int]=Cell.Label;
  10131.         end;
  10132.         A.Functions.TransparencyContact(Smg);
  10133.  
  10134.         local Num=0;
  10135.         local Asd={};
  10136.         for Int=1,BSn do
  10137.                 Asd[Int]=A.Functions.Button('TextButton',{
  10138.                                 Position=A.Old.UDim2.new(1/BSn*(Int-1),1,0,1);
  10139.                                 Size=A.Old.UDim2.new(1/BSn,-2,1,-2);
  10140.                                 BackgroundColor3=A.Old.Color3.Grey;
  10141.                                 TextColor3=A.Old.Color3.Black;
  10142.                                 Text=BS[Int+Num];
  10143.                                 Parent=Win.Menu;
  10144.                                 FontSize=1;
  10145.                         },BS[Int+Num+1]
  10146.                 );
  10147.                 Num=Num+1;
  10148.         end;
  10149.         A.Functions.TransparencyContact(Asd);
  10150.  
  10151. end;
  10152. A.Functions.HelpGui=function()
  10153.         local Win=A.Functions.GiveWindow('Help',400,400);
  10154.         if(Win==nil)then return nil;end;
  10155.  
  10156.         local Ears={'Commands';'Players';'Signals';};
  10157.  
  10158.         Win.Ears={};
  10159.         Win.NumOfEars=#Ears;
  10160.         Win.NumberOfCommands=#A.Commands;
  10161.  
  10162.         local NUM;
  10163.         local CCMD;
  10164.         local TEXT='';
  10165.         Win.FixTutorial=function()
  10166.                 NUM=Win.Pos.Value+1;
  10167.                 CCMD=A.Commands[NUM];
  10168.                 if(A.Stuffs.ForTutorialOfCommands==nil)then
  10169.                         A.Stuffs.ForTutorialOfCommands={'Title';'Description';'Commands';'Guide';};
  10170.                 end;
  10171.                 for i,v in next,A.Stuffs.ForTutorialOfCommands do
  10172.                         TEXT=TEXT..v..': '..CCMD[v]..'\n\n\n';i,v=nil;
  10173.                 end;
  10174.                 TEXT=NUM..' of '..Win.NumberOfCommands..'\n\n\n'..TEXT;
  10175.                 Win.Ears[1].SetText.Value=TEXT;TEXT='';
  10176.         end;
  10177.  
  10178.         Win.Pos=A.Functions.Value('Number',0,function(Value)Win.FixTutorial();Value=nil;end);
  10179.         Win.CurrentFrame=A.Functions.Value('String','Commands',function(Value)
  10180.                 for i=1,Win.NumOfEars do
  10181.                         Win.Ears[i].Frame.Visible=Value==Win.Ears[i].Name;
  10182.                 end;
  10183.         end);
  10184.  
  10185.         local Smgs={};
  10186.         for Int,Name in next,Ears do
  10187.                 local Ear={};Win.Ears[#Win.Ears+1]=Ear;
  10188.  
  10189.                 Ear.Name=Name;
  10190.  
  10191.                 Ear.SetText=A.Functions.Value('String','',function(Value)Ear.Frame.Text=Value;Value=nil;end);
  10192.  
  10193.                 Ear.Frame=A.Functions.Lock('TextLabel',{
  10194.                                 Visible=function()return Win.CurrentFrame.Value==Name;end;
  10195.                                 Text=function()return Ear.SetText.Value;end;
  10196.                                 BackgroundTransparency=1;
  10197.                                 Position=A.Old.UDim2.Pax;
  10198.                                 Size=A.Old.UDim2.Full;
  10199.                                 TextXAlignment=0;
  10200.                                 TextYAlignment=0;
  10201.                                 Parent=Win.Frame;
  10202.                                 FontSize=2;
  10203.                         }
  10204.                 );
  10205.                 Ear.Ear=A.Functions.Button('TextButton',{
  10206.                                 Position=A.Old.UDim2.new(1/Win.NumOfEars*(Int-1),1.25,0,1.25);
  10207.                                 Size=A.Old.UDim2.new(1/Win.NumOfEars,-2.5,1,-2.5);
  10208.                                 BackgroundColor3=A.Old.Color3.Grey;
  10209.                                 TextColor3=A.Old.Color3.Black;
  10210.                                 Parent=Win.Menu;
  10211.                                 FontSize=1;
  10212.                                 Text=Name;
  10213.                         },function()
  10214.                                 Win.CurrentFrame.Value=Name;
  10215.                         end
  10216.                 );Smgs[#Smgs+1]=Ear.Ear;
  10217.  
  10218.                 if(Name=='Players')then
  10219.                         local Text='';
  10220.                         for Int,Table in next,A.Calls do
  10221.                                 Text=Text..Table.Description..': '..Table.Calls..'\n'..'\n';
  10222.                         end;
  10223.                         Ear.SetText.Value=Text;
  10224.                 elseif(Name=='Signals')then
  10225.                         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}]];
  10226.                 elseif(Name=='Commands')then
  10227.                         Win.FixTutorial();
  10228.                         for i=0,1 do
  10229.                                 local Num=i==0 and-1 or 1;
  10230.                                 local Plus;
  10231.                                 Smgs[#Smgs+1]=A.Functions.Button('TextButton',{
  10232.                                                 Position=A.Old.UDim2.new(i,i==1 and -20,1,-20);
  10233.                                                 BackgroundColor3=A.Old.Color3.Grey;
  10234.                                                 TextColor3=A.Old.Color3.Black;
  10235.                                                 Size=A.Old.UDim2.ButtonSize;
  10236.                                                 Parent=Win.Ears[1].Frame;
  10237.                                                 Text=i==0 and'<'or'>';
  10238.                                                 FontSize=3;
  10239.                                         },function()
  10240.                                                 Plus=Win.Pos.Value+Num;
  10241.                                                 if(Plus>=0 and Plus<Win.NumberOfCommands)then
  10242.                                                         Win.Pos.Value=Plus;
  10243.                                                 end;
  10244.                                         end
  10245.                                 );
  10246.                         end;
  10247.                 end;
  10248.  
  10249.         end;A.Functions.TransparencyContact(Smgs);
  10250.  
  10251. end;
  10252. A.Functions.GetBase=function()
  10253.         for i,v in next,A.Service.Workspace:children()do
  10254.                 if(v.className=='Part'and v.Name=='Base')then
  10255.                         A.Functions.Remove(v,true);
  10256.                 end;i,v=nil;
  10257.         end;
  10258.         local Base=A.Old.Instance.NewObject'Part';
  10259.                 Base.Name='Base';
  10260.                 Base.Locked=true;
  10261.                 Base.Anchored=true;
  10262.                 Base.archivable=false;
  10263.                 Base.Size=A.Old.Vector3.new(555,2,555);
  10264.                 Base.BrickColor=A.Old.BrickColor.new'37';
  10265.                 Base.Parent=A.Service.Workspace;
  10266.         return Base;
  10267. end;
  10268. A.Functions.Clean=function()
  10269.         local Base=A.Functions.GetBase();
  10270.         if(A.Stuffs.Shielded==nil)then
  10271.                 A.Stuffs.Shielded={
  10272.                         HumanoidController=true;
  10273.                         Terrain=true;
  10274.                         Camera=true;
  10275.                         Player=true;
  10276.                 };
  10277.         end;
  10278.         if(A.Stuffs.Banned_Services==nil)then
  10279.                 A.Stuffs.Banned_Services={
  10280.                         NetworkClient=true;
  10281.                         CoreGui=true;
  10282.                 };
  10283.         end;
  10284.         for i,v in next,Game:children()do
  10285.                 pcall(function()
  10286.                         if(A.Stuffs.Banned_Services[v.className]==nil)then
  10287.                                 for i,v in next,v:children()do
  10288.                                         if(v~=script and v~=Base and A.Stuffs.Shielded[v.className]~=true and A.Service.Players:GetPlayerFromCharacter(v)==nil)then
  10289.                                                 pcall(function()
  10290.                                                         v.Parent=nil;
  10291.                                                 end);
  10292.                                         end;i,v=nil;
  10293.                                 end;
  10294.                         end;
  10295.                 end);i,v=nil;
  10296.         end;
  10297. end;
  10298. A.Functions.ResetLighting=function()
  10299.         local Lighting=A.Service.Lighting;
  10300.         if(A.Stuffs.LightingBaseProperties==nil)then
  10301.                 A.Stuffs.LightingBaseProperties={
  10302.                         ShadowColor=A.Old.Color3.new(.7,.7,.72);
  10303.                         FogColor=A.Old.Color3.new(.75,.75,.75);
  10304.                         ColorShift_Bottom=A.Old.Color3.Black;
  10305.                         GeographicLatitude=41.733299255371;
  10306.                         ColorShift_Top=A.Old.Color3.Black;
  10307.                         Ambient=A.Old.Color3.Grey;
  10308.                         Brightness=1;
  10309.                         FogEnd=1e6;
  10310.                         FogStart=0;
  10311.                 };
  10312.         end;
  10313.         for i,v in next,A.Stuffs.LightingBaseProperties do
  10314.                 Lighting[i]=v;i,v=nil;
  10315.         end;
  10316.         pcall(Lighting.ClearAllChildren,Lighting);
  10317. end;
  10318. A.Functions.ExplorerGui=function()
  10319.         local Win=A.Functions.GiveWindow('Explorer',440,400);
  10320.         if(Win==nil)then
  10321.                 return nil;
  10322.         end;
  10323.  
  10324.         Win.Frames={};
  10325.  
  10326.         Win.CountThis=A.Functions.Value('Object',Game,function(Value)
  10327.                 if(Win.Frames.Explorer.SetPos.Value==0)then
  10328.                         Win.Frames.Explorer.Count(0,Value);
  10329.                 else
  10330.                         Win.Frames.Explorer.SetPos.Value=0;
  10331.                 end;
  10332.         end);
  10333.         Win.WatchingObject=A.Functions.Value('Object',Game,function(Value)
  10334.                 if(Win.Frames.Properties.SetPos.Value==0)then
  10335.                         Win.Frames.Properties.Count(0,Value);
  10336.                 else
  10337.                         Win.Frames.Properties.SetPos.Value=0;
  10338.                 end;
  10339.         end);
  10340.  
  10341.         local Cnr={};
  10342.  
  10343.         Win.History={Game;};
  10344.         Win.HistoryPos=1;
  10345.  
  10346.         for i=0,1 do
  10347.                 local Plus=i==0 and -1 or 1;
  10348.                 local Num;
  10349.                 Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
  10350.                                 BackgroundColor3=A.Old.Color3.Blue;
  10351.                                 Position=A.Old.UDim2.new(0,20*i);
  10352.                                 TextColor3=A.Old.Color3.Black;
  10353.                                 Text=i==0 and'<'or'>';
  10354.                                 Parent=Win.Menu;
  10355.                                 FontSize=3;
  10356.                         },function()
  10357.                                 Num=Win.HistoryPos+Plus;
  10358.                                 if(Num<1 or Win.History[Num]==nil)then return nil;end;
  10359.                                 Win.HistoryPos=Num;
  10360.                                 Win.CountThis.Value=Win.History[Num];
  10361.                         end
  10362.                 );
  10363.         end;
  10364.         Win.HomeButton=A.Functions.Button('TextButton',{
  10365.                         BackgroundColor3=A.Old.Color3.Green;
  10366.                         Position=A.Old.UDim2.new(0,40);
  10367.                         TextColor3=A.Old.Color3.Black;
  10368.                         Parent=Win.Menu;
  10369.                         Text='H';
  10370.                 },function()
  10371.                         Win.CountThis.Value=Game;
  10372.                         Win.HistoryPos=1;
  10373.                 end
  10374.         );
  10375.         Win.RefreshButton=A.Functions.Button('TextButton',{
  10376.                         BackgroundColor3=A.Old.Color3.Grey;
  10377.                         Position=A.Old.UDim2.new(0,60);
  10378.                         TextColor3=A.Old.Color3.Black;
  10379.                         Parent=Win.Menu;
  10380.                         Text='R';
  10381.                 },function()
  10382.                         Win.Frames.Explorer.Count(0,Win.CountThis.Value);
  10383.                 end
  10384.         );
  10385.         Win.RemoveButton=A.Functions.Button('TextButton',{
  10386.                         BackgroundColor3=A.Old.Color3.Grey;
  10387.                         Position=A.Old.UDim2.new(0,80);
  10388.                         TextColor3=A.Old.Color3.Black;
  10389.                         Parent=Win.Menu;
  10390.                         Text='K';
  10391.                 },function()
  10392.                         for i,v in next,Win.Frames.Explorer.Selected do
  10393.                                 if(#v~=0)then
  10394.                                         for i,v in next,v do
  10395.                                                 A.Functions.Remove(v);
  10396.                                         end;
  10397.                                 end;
  10398.                         end;
  10399.                 end
  10400.         );
  10401.  
  10402.         for i=0,1 do
  10403.                 local Name=i==0 and'Explorer'or'Properties';
  10404.                 local this={};
  10405.                 this.Cells={};
  10406.  
  10407.                 this.SetPos=A.Functions.Value('Number',0,function(Value)
  10408.                         this.PosChanged(Value);
  10409.                 end);
  10410.  
  10411.                 this.Frame=A.Functions.Lock('Frame',{
  10412.                                 Size=A.Old.UDim2.new(.5,-20,1);
  10413.                                 Position=A.Old.UDim2.new(i/2);
  10414.                                 BackgroundTransparency=1;
  10415.                                 Parent=Win.Frame;
  10416.                         }
  10417.                 );
  10418.                 this.ScrollFrame=A.Functions.Lock('Frame',{
  10419.                                 BackgroundColor3=A.Old.Color3.White;
  10420.                                 Size=A.Old.UDim2.new(0,20,1);
  10421.                                 Position=A.Old.UDim2.new(1);
  10422.                                 BackgroundTransparency=.5;
  10423.                                 Parent=this.Frame;
  10424.                         }
  10425.                 );
  10426.                 Cnr[#Cnr+1]=this.ScrollFrame;
  10427.  
  10428.                 for i=0,1 do
  10429.                         local Plus=i==0 and-20 or 20;
  10430.                         local Num;
  10431.                         Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
  10432.                                         Position=A.Old.UDim2.new(0,0,i,i==1 and-20);
  10433.                                         BackgroundColor3=A.Old.Color3.Grey;
  10434.                                         Size=A.Old.UDim2.ButtonSize;
  10435.                                         Text=i==0 and'/\\'or'\\/';
  10436.                                         Parent=this.ScrollFrame;
  10437.                                         AutoButtonColor=true;
  10438.                                         FontSize=3;
  10439.                                 },function()
  10440.                                         Num=this.SetPos.Value+Plus;
  10441.                                         if(Num<0)then
  10442.                                                 Num=0;
  10443.                                         end;
  10444.                                         if(Num>=this.Max)then
  10445.                                                 Num=this.Max-(this.Max%20);
  10446.                                         end;
  10447.                                         this.SetPos.Value=Num;
  10448.                                 end
  10449.                         );
  10450.                 end;
  10451.  
  10452.  
  10453.                 if(i==0)then--Explorer
  10454.  
  10455.                         this.CountThis=Win.CountThis;
  10456.  
  10457.                         this.Selected={};
  10458.                         this.FreeBoxes={};
  10459.  
  10460.                         this.Count=function(From,Object)
  10461.                                 local Parts=Object:children();
  10462.                                 if(#Parts==0)then return nil;end;
  10463.                                 this.Max=#Parts;
  10464.                                
  10465.  
  10466.                                 local Asd;
  10467.                                 local i=1;
  10468.                                 local Object2;
  10469.                                 local NotGood=0;
  10470.  
  10471.                                 while(i<21)do
  10472.                                         Asd=From+i+NotGood;
  10473.                                         Object2=Parts[Asd];
  10474.                                         if(Object2==nil or pcall(function()return Object2:IsA'';end)==true)then
  10475.                                                 this.Cells[i].SetObject.Value=Object2;
  10476.                                                 i=i+1;
  10477.                                         else
  10478.                                                 NotGood=NotGood+1;
  10479.                                         end;
  10480.                                 end;
  10481.  
  10482.                         end;
  10483.                         this.PosChanged=function(Value)
  10484.                                 this.Count(Value,this.CountThis.Value);
  10485.                         end;
  10486.  
  10487.                         for i=1,20 do
  10488.                                 local Cell={};this.Cells[#this.Cells+1]=Cell;
  10489.                                
  10490.                                 Cell.GetPos=function()return this.SetPos.Value+i;end;
  10491.  
  10492.                                 Cell.SetText=A.Functions.Value('String','N/A',function(Value)
  10493.                                         Cell.Text.Text=Value;
  10494.                                 end);
  10495.                                 Cell.SetObject=A.Functions.Value('Object',nil,function(Value)
  10496.                                        
  10497.                                         if(Value~=nil)then
  10498.                                                 Cell.SetSelect.Value=Value:FindFirstChild'Ohgal_Selection'~=nil;
  10499.                                                 Cell.SetText.Value=Value.Name..' ('..Value.className..')';
  10500.                                                 Cell.Number.Text=Cell.GetPos();
  10501.                                         end;
  10502.  
  10503.                                         Cell.Frame.Visible=Value~=nil or false;
  10504.                                        
  10505.                                 end);
  10506.                                 Cell.SetSelect=A.Functions.Value('Bool',false,function(Value)
  10507.                                         Cell.Selector.BackgroundColor3=Value==true and A.Old.Color3.Green or A.Old.Color3.Red;
  10508.                                         local Object=Cell.SetObject.Value;
  10509.                                         if(Value==false)then
  10510.                                                 local Selector=Object:FindFirstChild'Ohgal_Selection';
  10511.                                                 if(Selector~=nil)then
  10512.                                                         Selector.Parent=nil;
  10513.                                                         this.FreeBoxes[#this.FreeBoxes+1]=Selector;
  10514.                                                 end;
  10515.                                         else
  10516.                                                 local ThisAdded;
  10517.                                                 local Selector=Object:FindFirstChild'Ohgal_Selection'or this.FreeBoxes[1]or A.Old.Instance.NewObject'BindableEvent';
  10518.                                                 if(Selector==this.FreeBoxes[1])then
  10519.                                                         table.remove(this.FreeBoxes,1);
  10520.                                                 end;
  10521.  
  10522.                                                 Selector.Name='Ohgal_Selection';
  10523.                                                 Selector.archivable=false;
  10524.                                                 Selector.Parent=Object;
  10525.  
  10526.                                                
  10527.                                                 local Box;
  10528.                                                 if(Object:IsA'Model'or Object:IsA'Part')then
  10529.                                                         Box=A.Old.Instance.NewObject('SelectionBox',this.Frame);
  10530.                                                         Box.Adornee=Object;
  10531.                                                 end;
  10532.  
  10533.                                                 if(this.Selected[Object.className]==nil)then
  10534.                                                         this.Selected[Object.className]={};
  10535.                                                 else
  10536.                                                         for i,v in next,this.Selected[Object.className]do
  10537.                                                                 if(v==Object)then
  10538.                                                                         ThisAdded=true;
  10539.                                                                         table.remove(this.Selected[Object.className],i);break;
  10540.                                                                 end;
  10541.                                                         end;
  10542.                                                 end;
  10543.                                                 this.Selected[Object.className][#this.Selected[Object.className]+1]=Object;
  10544.  
  10545.                                                 if(ThisAdded==nil)then
  10546.                                                         local Kill=function()                                                          
  10547.                                                                 Selector.Parent=nil;
  10548.                                                                 this.FreeBoxes[#this.FreeBoxes+1]=Selector;
  10549.                                                                 if(Box~=nil)then Box.Adornee=nil;Box.Parent=nil;end;
  10550.                                                                 for i,v in next,this.Selected[Object.className]do
  10551.                                                                         if(v==Object)then
  10552.                                                                                 table.remove(this.Selected[Object.className],i);break;
  10553.                                                                         end;
  10554.                                                                 end;
  10555.                                                         end;
  10556.                                                         A.Functions.Thread(function()
  10557.                                                                 while(Selector.Parent~=nil)do Selector.Changed:wait();end;
  10558.                                                                 Kill();
  10559.                                                         end);
  10560.                                                         A.Functions.Thread(function()
  10561.                                                                 while(Object.Parent~=nil)do Object.Changed:wait();end;
  10562.                                                                 Kill();
  10563.                                                         end);
  10564.                                                 end;
  10565.                                         end;
  10566.                                 end);
  10567.  
  10568.                                
  10569.                                 Cell.Frame=A.Functions.Lock('Frame',{
  10570.                                                 Position=A.Old.UDim2.new(0,0,0,i~=1 and 20*(i-1)+1 or 1);
  10571.                                                 Visible=function()return Cell.SetObject.Value~=nil;end;
  10572.                                                 Size=A.Old.UDim2.new(1,0,0,18);
  10573.                                                 BackgroundTransparency=1;
  10574.                                                 Parent=this.Frame;
  10575.                                         }
  10576.                                 );
  10577.  
  10578.                                 Cell.Selector=A.Functions.Button('ImageButton',{
  10579.                                                 BackgroundColor3=function()return Cell.SetSelect.Value==true and A.Old.Color3.Green or A.Old.Color3.Red;end;
  10580.                                                 Size=A.Old.UDim2.new(0,20,1);
  10581.                                                 Position=A.Old.UDim2.Pax;
  10582.                                                 Parent=Cell.Frame;
  10583.                                         },function()
  10584.                                                 Cell.SetSelect.Value=Cell.SetSelect.Value==false;
  10585.                                         end
  10586.                                 );
  10587.                                 Cnr[#Cnr+1]=Cell.Selector;
  10588.  
  10589.                                 Cell.Number=A.Functions.Lock('TextLabel',{
  10590.                                                 BackgroundColor3=A.Old.Color3.Grey;
  10591.                                                 Position=A.Old.UDim2.new(0,20);
  10592.                                                 Size=A.Old.UDim2.new(0,20,1);
  10593.                                                 Parent=Cell.Frame;
  10594.                                                 Text=Cell.GetPos;
  10595.                                                 FontSize=1;
  10596.                                         }
  10597.                                 );
  10598.                                 Cnr[#Cnr+1]=Cell.Number;
  10599.  
  10600.                                 local TimeOut=0;
  10601.                                 Cell.Text=A.Functions.Button('TextButton',{
  10602.                                                 Text=function()return Cell.SetText.Value;end;
  10603.                                                 BackgroundColor3=A.Old.Color3.White;
  10604.                                                 Position=A.Old.UDim2.new(0,40);
  10605.                                                 TextColor3=A.Old.Color3.Black;
  10606.                                                 Size=A.Old.UDim2.new(1,-40,1);
  10607.                                                 AutoButtonColor=true;
  10608.                                                 Parent=Cell.Frame;
  10609.                                                 TextXAlignment=0;
  10610.                                                 FontSize=1;
  10611.                                         },function()
  10612.                                                 if(TimeOut==1)then
  10613.                                                         Win.HistoryPos=Win.HistoryPos+1;
  10614.                                                         Win.History[Win.HistoryPos]=Cell.SetObject.Value;
  10615.                                                         Win.History[Win.HistoryPos+1]=nil;
  10616.                                                         this.CountThis.Value=Cell.SetObject.Value;
  10617.                                                 else
  10618.                                                         TimeOut=1;
  10619.  
  10620.                                                         Win.WatchingObject.Value=Cell.SetObject.Value;
  10621.  
  10622.                                                         Delay(.2,function()
  10623.                                                                 TimeOut=0;
  10624.                                                         end);
  10625.                                                 end;
  10626.                                         end
  10627.                                 );
  10628.                                 Cnr[#Cnr+1]=Cell.Text;
  10629.  
  10630.                         end;
  10631.  
  10632.                 else--Properties
  10633.  
  10634.                         this.Count=function(From,Object)
  10635.  
  10636.                                 if(this._ThisBox~=nil)then
  10637.                                         this._ThisBox.Parent=nil;
  10638.                                 end;
  10639.  
  10640.                                 local Table=A.Functions.GetProperties(Object,true);
  10641.                                 this.Max=#Table;
  10642.                                
  10643.                                 if(From<=4)then
  10644.                                         this.Cells[1].SetProperty.Value='Name';
  10645.                                         this.Cells[1].Fix();
  10646.  
  10647.                                         this.Cells[2].SetProperty.Value='Parent';
  10648.                                         this.Cells[2].Fix();
  10649.  
  10650.                                         this.Cells[3].SetProperty.Value='className';
  10651.                                         this.Cells[3].Fix();
  10652.  
  10653.                                         this.Cells[4].SetProperty.Value='archivable';
  10654.                                         this.Cells[4].Fix();
  10655.                                        
  10656.                                         for i=5,20 do
  10657.                                                 this.Cells[i].SetProperty.Value=Table[(i-4)+From]or'';
  10658.                                                 this.Cells[i].Fix();
  10659.                                         end;
  10660.                                 else
  10661.                                         for i=1,20 do
  10662.                                                 this.Cells[i].SetProperty.Value=Table[i+From]or'';
  10663.                                                 this.Cells[i].Fix();
  10664.                                         end;
  10665.                                 end;
  10666.                         end;
  10667.                         this.PosChanged=function(Value)
  10668.                                 this.Count(Value,Win.WatchingObject.Value);
  10669.                         end;
  10670.  
  10671.                         this.TextBox=function(ALALOLUBU)--ROFL
  10672.                                 if(pcall(function()this._ThisBox.Parent=ALALOLUBU;this._ThisBox.Text=ALALOLUBU.Text;end)==false)then
  10673.                                         this._ThisBox=A.Functions.Peace('TextBox',{
  10674.                                                         BackgroundColor3=A.Old.Color3.White;
  10675.                                                         TextColor3=A.Old.Color3.Black;
  10676.                                                         Size=A.Old.UDim2.Full;
  10677.                                                         Text=ALALOLUBU.Text;
  10678.                                                         BorderSizePixel=0;
  10679.                                                         Parent=ALALOLUBU;
  10680.                                                         TextXAlignment=0;
  10681.                                                         FontSize=1;
  10682.                                                 }
  10683.                                         );
  10684.                                 end;
  10685.                                 Delay(0,function()pcall(function()this._ThisBox:CaptureFocus();end);end);
  10686.                                 this._ThisBox.FocusLost:wait();
  10687.                                 this._ThisBox.Parent=nil;
  10688.                                 A.Functions.Thread(function()
  10689.                                         Win.WatchingObject.Value[this.SetProperty]=loadstring('return '..this._ThisBox.Text)();
  10690.                                 end);
  10691.                         end;
  10692.  
  10693.                         for i=1,20 do
  10694.                                 local Cell={};this.Cells[#this.Cells+1]=Cell;
  10695.                                
  10696.                                 Cell.SetProperty=A.Functions.Value('String','',function(Value)
  10697.                                         Cell.Frame.Visible=Value~='';
  10698.                                 end);
  10699.  
  10700.                                 Cell.Fix=function()
  10701.                                         if(Cell.SetProperty.Value~='')then
  10702.                                                 Cell.Property.Text=Cell.SetProperty.Value..' ';
  10703.                                                 Cell.Property.Size=A.Old.UDim2.new(0,Cell.Property.TextBounds.X,1);
  10704.                                                
  10705.                                                 Cell.ValueButton.Position=A.Old.UDim2.new(0,Cell.Property.Size.X.Offset);
  10706.                                                 Cell.ValueButton.Size=A.Old.UDim2.new(1,-Cell.Property.Size.X.Offset,1);
  10707.                                                 Cell.ValueButton.Text=tostring(Win.WatchingObject.Value[Cell.SetProperty.Value]);
  10708.                                         end;
  10709.                                 end;
  10710.                                
  10711.                                
  10712.                                 Cell.Frame=A.Functions.Lock('Frame',{
  10713.                                                 Position=A.Old.UDim2.new(0,0,0,i~=1 and 20*(i-1)+1 or 1);
  10714.                                                 Visible=function()return Cell.SetProperty.Value~='';end;
  10715.                                                 Size=A.Old.UDim2.new(1,0,0,18);
  10716.                                                 BackgroundTransparency=1;
  10717.                                                 Parent=this.Frame;
  10718.                                         }
  10719.                                 );
  10720.                                
  10721.                                 Cell.Property=A.Functions.Lock('TextLabel',{
  10722.                                                 Size=function()return Cell.Property~=nil and A.Old.UDim2.new(0,Cell.Property.TextBounds.X,1)or A.Old.UDim2.Pax;end;
  10723.                                                 Text=function()return Cell.SetProperty.Value..' ';end;
  10724.                                                 BackgroundColor3=A.Old.Color3.DarkRed;
  10725.                                                 TextWrapped=false;
  10726.                                                 Parent=Cell.Frame;
  10727.                                                 TextWrap=false;
  10728.                                                 FontSize=1;
  10729.                                         }
  10730.                                 );
  10731.                                 Cnr[#Cnr+1]=Cell.Property;
  10732.  
  10733.                                 Cell.ValueButton=A.Functions.Button('TextButton',{
  10734.                                                 Text=function()return(Cell.SetProperty.Value~=''and Win.WatchingObject.Value~=nil)and tostring(Win.WatchingObject.Value[Cell.SetProperty.Value])or'';end;
  10735.                                                 Position=function()return A.Old.UDim2.new(0,Cell.Property.Size.X.Offset);end;
  10736.                                                 Size=function()return A.Old.UDim2.new(1,-Cell.Property.Size.X.Offset,1);end;
  10737.                                                 Parent=Cell.Frame;
  10738.                                                 TextXAlignment=0;
  10739.                                                 FontSize=1;
  10740.                                         },function()
  10741.                                                 this.SetProperty=Cell.SetProperty.Value;
  10742.                                                 this.TextBox(Cell.ValueButton);Wait();
  10743.                                                 Cell.ValueButton.Text=tostring(Win.WatchingObject.Value[Cell.SetProperty.Value]);
  10744.                                         end
  10745.                                 );
  10746.                                 Cnr[#Cnr+1]=Cell.ValueButton;
  10747.                                
  10748.                         end;
  10749.  
  10750.                 end;--Properties end;
  10751.  
  10752.                 this.Count(0,Game);
  10753.  
  10754.  
  10755.                 Win.Frames[Name]=this;
  10756.         end;
  10757.  
  10758.         A.Functions.TransparencyContact(Cnr);
  10759.        
  10760. end;
  10761. A.Functions.AddKey=function(Key,Function)
  10762.         if(A.Stuffs.Security==true)then
  10763.                 if(A.KeyCommands[Key]==nil)then A.KeyCommands[Key]={};end;
  10764.                 A.KeyCommands[#A.KeyCommands+1]=Function;
  10765.                 A.Service.GuiService.AddKey(Key);
  10766.                 Key,Function=nil;
  10767.         end;
  10768. end;
  10769. A.Functions.DoKeyCommand=function(Key)
  10770.         if(A.KeyCommands[Key]~=nil)then
  10771.                 for Int=1,#A.KeyCommands[Key]do
  10772.                         A.KeyCommands[Key][Int]();
  10773.                         Int=nil;
  10774.                 end;
  10775.         end;Key=nil;
  10776. end;
  10777. A.Functions.Heal=function(Corpse)--From first Local Admin :3
  10778.         if(Corpse)then
  10779.                 local Humanoid=A.Functions.FindObject(Corpse,'className','Humanoid');
  10780.                 if(Humanoid==nil)then
  10781.                         return nil;
  10782.                 else
  10783.                         if(Humanoid.Health<=0)then
  10784.                                 return nil;
  10785.                         end;
  10786.                         Humanoid.Health=Humanoid.MaxHealth
  10787.                 end;
  10788.                 for i,v in next,A.Data.CharacterLimbs do
  10789.                         if(Corpse:FindFirstChild(i)==nil)then
  10790.                                 local Limb=A.Functions.Peace('Part',{
  10791.                                         CanCollide=false;
  10792.                                         BottomSurface=0;
  10793.                                         Parent=Corpse;
  10794.                                         TopSurface=0;
  10795.                                         formFactor=0;
  10796.                                         Size=v.Size;
  10797.                                         Name=i;
  10798.                                 });
  10799.                                 if(v.C0 and v.C1)then
  10800.                                         local Weld=A.Old.Instance.NewObject('Motor6D',Corpse:FindFirstChild'Torso');
  10801.                                         if(Weld.Parent)then
  10802.                                                 Limb.Position=Weld.Parent.Position;
  10803.                                                 Weld.Name=v.Name;
  10804.                                                 Weld.Part0=Weld.Parent;
  10805.                                                 Weld.Part1=Limb;
  10806.                                                 Weld.C0=v.C0;
  10807.                                                 Weld.C1=v.C1;
  10808.                                                 Weld.MaxVelocity=.1;
  10809.                                         end;
  10810.                                         Weld=nil;
  10811.                                 end;
  10812.                                 Limb,i,v=nil;
  10813.                         end;
  10814.                         i,v=nil;
  10815.                 end;
  10816.                 local Skin=Corpse:FindFirstChild'Body Colors';
  10817.                 if(Skin~=nil)then
  10818.                         Skin.Parent=nil;
  10819.                         Skin.Parent=Corpse;
  10820.                 end;
  10821.                 local Animate=Corpse:FindFirstChild'Animate';
  10822.                 if(Animate~=nil)then
  10823.                         Animate.Parent=nil;
  10824.                         Animate.Parent=Corpse;
  10825.                 end;
  10826.         end;
  10827. end;
  10828. A.Functions.CreateWeld=function(Part0,Part1,C0,C1)
  10829.         local Weld=A.Old.Instance.NewObject('Motor',Part0);
  10830.                 Weld.Part0=Part0;
  10831.                 Weld.Part1=Part1;
  10832.                 if(C0~=nil)then
  10833.                         Weld.C0=C0;
  10834.                 end;
  10835.                 if(C1~=nil)then
  10836.                         Weld.C1=C1;
  10837.                 end;
  10838.         return Weld;
  10839. end;
  10840. A.Functions.MemeGui=function()
  10841.         local Win=A.Functions.GiveWindow('Memes',300,300);
  10842.         if(Win==nil)then
  10843.                 return nil;
  10844.         end;
  10845.  
  10846.         Win.Title.Position=A.Old.UDim2.new(.5,-150);
  10847.  
  10848.         Win.SetPos=A.Functions.Value('Number',0,function(Value)
  10849.                 Win.Status.Text=Value;
  10850.                 Win.Image.Image=Value;
  10851.         end);
  10852.  
  10853.  
  10854.         Win.Memes={};local Num=0;
  10855.         for i,v in next,A.Images.Meme do Num=Num+1;--[[Num+=1; don't work :'( ]]
  10856.                 Win.Memes[Num]={Name=i;ID=v;};
  10857.         end;Win.NumMemes=#Win.Memes;
  10858.  
  10859.         Win.Status=A.Functions.Lock('TextLabel',{
  10860.                         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;
  10861.                         Position=A.Old.UDim2.new(0,20);
  10862.                         Size=A.Old.UDim2.new(1,-40,1);
  10863.                         TextColor3=A.Old.Color3.White;
  10864.                         BackgroundTransparency=1;
  10865.                         Parent=Win.Menu;
  10866.                         FontSize=2;
  10867.                 }
  10868.         );
  10869.         Win.Image=A.Functions.Lock('ImageLabel',{
  10870.                         Image=function()return A.Data.BaseUrl..Win.Memes[Win.SetPos.Value+1].ID;end;
  10871.                         Position=A.Old.UDim2.Pax;
  10872.                         Size=A.Old.UDim2.Full;
  10873.                         Parent=Win.Frame;
  10874.                 }
  10875.         );
  10876.  
  10877.         local Cnr={};
  10878.         local Num;
  10879.         for i=0,1 do
  10880.                 local Plus=i==0 and -1 or 1;
  10881.                 Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
  10882.                                 Position=A.Old.UDim2.new(i,i==1 and -20);
  10883.                                 BackgroundColor3=A.Old.Color3.Grey;
  10884.                                 TextColor3=A.Old.Color3.Black;
  10885.                                 Size=A.Old.UDim2.new(0,20,1);
  10886.                                 Text=i==0 and'<'or'>';
  10887.                                 Parent=Win.Menu;
  10888.                                 FontSize=2;
  10889.                         },function()
  10890.                                 Num=Win.SetPos.Value+Plus;
  10891.                                 if(Num>=Win.NumMemes)then
  10892.                                         Num=0;
  10893.                                 end;
  10894.                                 if(Num<0)then
  10895.                                         Num=Win.NumMemes-1;
  10896.                                 end;
  10897.                                 Win.SetPos.Value=Num;
  10898.                         end
  10899.                 );
  10900.                 A.Functions.Button('TextButton',{
  10901.                                 TextColor3=i==0 and A.Old.Color3.White or A.Old.Color3.DarkRed;
  10902.                                 Position=A.Old.UDim2.new(i/2,0,1,-20);
  10903.                                 Size=A.Old.UDim2.new(.5,0,0,20);
  10904.                                 Text=i==0 and'Wear'or'Drop';
  10905.                                 BackgroundTransparency=1;
  10906.                                 TextStrokeTransparency=0;
  10907.                                 Parent=Win.Frame;
  10908.                                 FontSize=3;
  10909.                         },i==0 and function()
  10910.                                 A.Functions.MakeMeme(Win.Memes[Win.SetPos.Value+1].ID,A.User.C.Character);
  10911.                         end or function()
  10912.                                 A.Functions.MakeMeme('reset!',A.User.C.Character);
  10913.                         end
  10914.                 );
  10915.         end;
  10916.  
  10917.         A.Functions.TransparencyContact(Cnr);
  10918.        
  10919. end;
  10920. A.Functions.SettingWait=function(Name,Bool)
  10921.         if(A.Settings[Name].Value~=Bool)then
  10922.                 A.Settings[Name].Changed:wait();
  10923.         end;
  10924.         return A.Settings[Name];
  10925. end;
  10926. A.Functions.FindWithOutside=function(Start,End)
  10927.         local Type=type(End);
  10928.         if(Type=='userdata')then
  10929.                 local Stepped=0;
  10930.                 if(Start.Parent~=End)then
  10931.                         while(Start.Parent~=End and Stepped<50)do
  10932.                                 Start=Start.Parent;
  10933.                                 Stepped=Stepped+1;
  10934.                         end;
  10935.                 end;
  10936.         elseif(Type=='string')then
  10937.                 local Stepped=0;
  10938.                 if(Start.Parent.className~=End)then
  10939.                         while(Start.Parent.className~=End and Stepped<50)do
  10940.                                 Start=Start.Parent;
  10941.                                 Stepped=Stepped+1;
  10942.                         end;
  10943.                 end;
  10944.         end;
  10945.        
  10946.         return Start;
  10947. end;
  10948. A.Functions.ResizeChar=function(Char,Plus_Size)
  10949.         local Torso=Char.Torso;
  10950.  
  10951.         Torso.Anchored=true;
  10952.         Torso.BottomSurface=0;
  10953.         Torso.TopSurface=0;
  10954.        
  10955.         A.Functions.Remove(Char:FindFirstChild'Shirt',true);
  10956.         A.Functions.Remove(Char:FindFirstChild'Pants',true);
  10957.        
  10958.         local Virus=Char:FindFirstChild'Shirt Graphic';
  10959.         if(Virus~=nil)then
  10960.                 Virus:Destroy();
  10961.         end;
  10962.        
  10963.         local Welds={};
  10964.         local Change;Change=function(Object)
  10965.                 for i,Weld in next,Object:children()do
  10966.                         if(Weld.className=='Weld'or Weld.className=='Motor'or Weld.className=='Motor6D')then
  10967.                                 local Part=Weld.Part1;
  10968.  
  10969.                                 Part.Anchored=true;
  10970.  
  10971.                                 Weld.Part1=nil;
  10972.  
  10973.                                 local r01,r02,r03,r04,r05,r06,r07,r08,r09,r10,r11,r12=Weld.C0:components();
  10974.                                 Weld.C0=A.Old.CFrame.new(r01*Plus_Size,r02*Plus_Size,r03*Plus_Size,r04,r05,r06,r07,r08,r09,r10,r11,r12);
  10975.                                 local r01,r02,r03,r04,r05,r06,r07,r08,r09,r10,r11,r12=Weld.C1:components();
  10976.                                 Weld.C1=A.Old.CFrame.new(r01*Plus_Size,r02*Plus_Size,r03*Plus_Size,r04,r05,r06,r07,r08,r09,r10,r11,r12);
  10977.  
  10978.                                 if(Part.Name~='Head')then
  10979.                                         Part.formFactor=3;
  10980.                                         Part.Size=Part.Size*Plus_Size;
  10981.                                 else
  10982.                                         for i,v in next,Part:children()do
  10983.                                                 if(v.className=='Weld')then
  10984.                                                         v.Part0=nil;
  10985.                                                         v.Part1.Anchored=true;
  10986.                                                 end;
  10987.                                         end;
  10988.                                         Part.formFactor=3;
  10989.                                         Part.Size=Part.Size*Plus_Size;
  10990.                                         for i,v in next,Part:children()do
  10991.                                                 if(v.className=='Weld')then
  10992.                                                         v.Part0=Part;
  10993.                                                         v.Part1.Anchored=false;
  10994.                                                 end;
  10995.                                         end;
  10996.                                 end;
  10997.                                        
  10998.                                 if(Weld.Parent==Torso)then
  10999.                                         Part.BottomSurface=0;
  11000.                                         Part.TopSurface=0;
  11001.                                 end;
  11002.                                
  11003.                                 Part.Anchored=false;
  11004.  
  11005.                                 Weld.Part1=Part;
  11006.  
  11007.                                 if(Weld.Part0==Torso)then
  11008.                                         Welds[#Welds+1]=Weld;
  11009.                                         Part.Anchored=true;
  11010.                                         Weld.Part0=nil;
  11011.                                 end;
  11012.                         elseif(Weld.className=='CharacterMesh')then
  11013.                                 local Body_Part=tostring(Weld.BodyPart):match'%w+.%w+.(%w+)';
  11014.                                 local Mesh=A.Old.Instance.NewObject('SpecialMesh',
  11015.                                         Body_Part=='Head'and Char:FindFirstChild'Head'or Body_Part=='Torso'and Char:FindFirstChild'Torso'or
  11016.                                         Body_Part=='LeftArm'and Char:FindFirstChild'Left Arm'or Body_Part=='RightArm'and Char:FindFirstChild'Right Arm'or
  11017.                                         Body_Part=='LeftLeg'and Char:FindFirstChild'Left Leg'or Body_Part=='RightLeg'and Char:FindFirstChild'Right Leg'or nil);
  11018.                                         Mesh.MeshId=A.Data.BaseUrl..Weld.MeshId;
  11019.                                         if(Weld.BaseTextureId~=0 or Weld.BaseTextureId~='0')then
  11020.                                                 Mesh.TextureId=A.Data.BaseUrl..Weld.BaseTextureId;
  11021.                                         end;
  11022.                                         Mesh.Scale=Mesh.Scale*Plus_Size;
  11023.                                         Weld:Destroy();
  11024.                         elseif(Weld.className=='SpecialMesh'and Weld.Parent~=Char.Head)then
  11025.                                 Weld.Scale=Weld.Scale*Plus_Size;
  11026.                         end;
  11027.                         Change(Weld);
  11028.                 end;
  11029.         end;
  11030.  
  11031.         Change(Char);
  11032.  
  11033.         Torso.formFactor=3;
  11034.         Torso.Size=Torso.Size*Plus_Size;
  11035.        
  11036.         for i,v in next,Welds do
  11037.                 v.Part0=Torso;
  11038.                 v.Part1.Anchored=false;
  11039.         end;
  11040.  
  11041.         Torso.Anchored=false;
  11042.         --[[
  11043.         Wait(1);
  11044.        
  11045.         if(Shirts~=nil)then
  11046.                 Shirts.Parent=Char;
  11047.         end;
  11048.         if(Pants~=nil)then
  11049.                 Pants.Parent=Char;
  11050.         end;]]
  11051. end;
  11052. --[[Functions end;]]
  11053.  
  11054.  
  11055. --[[Old]]
  11056. local Table;
  11057. for i,Name in next,{
  11058.                 'BrickColor';
  11059.                 'Instance';
  11060.                 'Vector3';
  11061.                 'Vector2';
  11062.                 'Color3';
  11063.                 'CFrame';
  11064.                 'UDim2';
  11065.                 'UDim';
  11066.                 'Ray';
  11067.         }do
  11068.         Table=loadstring('return '..Name)();
  11069.         if(Table~=nil)then
  11070.                 A.Old[Name]=A.Functions.CopyTable(Table);
  11071.         end;i,Name=nil;
  11072. end;
  11073.  
  11074. A.Old.Instance.NewObject=A.Old.Instance.new;
  11075. A.Old.Instance.new=function(Object,Data)
  11076.         local Class=Object;
  11077.         Object,Data=A.Functions.GiveData(A.Old.Instance.NewObject(Object,Data));
  11078.  
  11079.         if(A.Stuffs.Gui.PartOfGui[Class]==true)then
  11080.                 Data.Properties.BackgroundColor3=function()return A.Old.Color3.Black;end;
  11081.                 Data.Properties.BorderSizePixel=function()return 0;end;
  11082.                 Data.Properties.Visible=function()return true;end;
  11083.         end;
  11084.         if(A.Stuffs.Gui.Text[Class]==true)then
  11085.                 Data.Properties.TextColor3=function()return A.Old.Color3.White;end;
  11086.                 Data.Properties.TextWrapped=function()return true;end;
  11087.                 Data.Properties.TextWrap=function()return true;end;
  11088.         end;
  11089.         if(A.Stuffs.Gui.Image[Class]==true)then
  11090.                 Data.Properties.BackgroundTransparency=function()return 1;end;
  11091.         end;
  11092.         if(A.Stuffs.Gui.Button[Class]==true)then
  11093.                 Data.Properties.AutoButtonColor=function()return false;end;
  11094.                 Data.Properties.Active=function()return true;end;
  11095.         end;Class=nil;
  11096.  
  11097.         Data.Properties.archivable=function()return false;end;
  11098.         Data.Properties.Archivable=function()return false;end;
  11099.         Data.Properties.Name=function()return'';end;
  11100.  
  11101.         pcall(A.Functions.Peace,Object,Data.Properties);
  11102.  
  11103.         return Object,Data;
  11104. end;
  11105.  
  11106. A.Old.Color3.Red=A.Old.Color3.new(1);
  11107. A.Old.Color3.Black=A.Old.Color3.new();
  11108. A.Old.Color3.Green=A.Old.Color3.new(0,1);
  11109. A.Old.Color3.Blue=A.Old.Color3.new(0,0,1);
  11110. A.Old.Color3.DarkRed=A.Old.Color3.new(.8);
  11111. A.Old.Color3.Yellow=A.Old.Color3.new(1,1);
  11112. A.Old.Color3.White=A.Old.Color3.new(1,1,1);
  11113. A.Old.Color3.Grey=A.Old.Color3.new(.5,.5,.5);
  11114. A.Old.Color3.DarkGreen=A.Old.Color3.new(0,.8);
  11115. A.Old.Color3.DarkBlue=A.Old.Color3.new(0,0,.8);
  11116. A.Old.Color3.DarkBlue=A.Old.Color3.new(0,0,.8);
  11117. A.Old.Color3.DarkYellow=A.Old.Color3.new(.7,.7);
  11118.  
  11119. A.Old.CFrame.Pax=A.Old.CFrame.new();
  11120. A.Old.CFrame.Char=A.Old.CFrame.new(0,3,0);
  11121.  
  11122. A.Old.Vector3.Pax=A.Old.CFrame.Pax.p;
  11123. A.Old.Vector3.Char=A.Old.CFrame.Char.p;
  11124. A.Old.Vector3.Jump=A.Old.Vector3.new(0,100);
  11125.  
  11126.  
  11127. A.Old.BrickColor.White=A.Old.BrickColor.new'1001';
  11128. A.Old.BrickColor.Black=A.Old.BrickColor.new'1003';
  11129.  
  11130. A.Old.UDim2.Pax=A.Old.UDim2.new();
  11131. A.Old.UDim2.Full=A.Old.UDim2.new(1,0,1);
  11132. A.Old.UDim2.ButtonSize=UDim2.new(0,20,0,20);
  11133. A.Old.UDim2.ScreenPos=A.Old.UDim2.new(0,0,0,-1);
  11134. A.Old.UDim2.ScreenSize=A.Old.UDim2.new(1,0,1,1);
  11135. --[[Old end;]]
  11136.  
  11137.  
  11138. --[[Data]]
  11139. A.Data.Step=[=[;]=];
  11140. A.Data.Start=[=[']=];
  11141. A.Data.Wrap=[=[ & ]=];
  11142. A.Data.Repeat=[=[##]=];
  11143. A.Data.RbxUrl='rbxassetid://';
  11144. A.Data.BaseUrl='http://www.roblox.com/Asset/?id=';
  11145. A.Data.CharacterLimbs={
  11146.         ['Torso']={
  11147.                 Size=A.Old.Vector3.new(2,2,1);
  11148.         };
  11149.         ['Head']={
  11150.                 C1=A.Old.CFrame.new(0,-0.5,0,-1,-0,-0,0,0,1,0,1,0);
  11151.                 C0=A.Old.CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0);
  11152.                 Size=A.Old.Vector3.new(2,1,1);
  11153.                 Name='Neck';
  11154.         };
  11155.         ['Right Arm']={
  11156.                 C1=A.Old.CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,-0,-0);
  11157.                 C0=A.Old.CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,-0,-0);
  11158.                 Size=A.Old.Vector3.new(1,2,1);
  11159.                 Name='Right Shoulder'
  11160.         };
  11161.         ['Right Leg']={
  11162.                 C1=A.Old.CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,-0,-0);
  11163.                 C0=A.Old.CFrame.new(1,-1,0,0,0,1,0,1,0,-1,-0,-0);
  11164.                 Size=A.Old.Vector3.new(1,2,1);
  11165.                 Name='Right Hip'
  11166.         };
  11167.         ['Left Arm']={
  11168.                 C1=A.Old.CFrame.new(0.5,0.5,0,-0,-0,-1,0,1,0,1,0,0);
  11169.                 C0=A.Old.CFrame.new(-1,0.5,0,-0,-0,-1,0,1,0,1,0,0);
  11170.                 Size=A.Old.Vector3.new(1,2,1);
  11171.                 Name='Left Shoulder'
  11172.         };
  11173.         ['Left Leg']={
  11174.                 C1=A.Old.CFrame.new(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0);
  11175.                 C0=A.Old.CFrame.new(-1,-1,0,-0,-0,-1,0,1,0,1,0,0);
  11176.                 Size=A.Old.Vector3.new(1,2,1);
  11177.                 Name='Left Hip'
  11178.         };
  11179. };
  11180. --[[Data end;]]
  11181. --[[Stuffs]]
  11182. A.Stuffs.Gui={
  11183.         PartOfGui={
  11184.                 ImageButton=true;
  11185.                 TextButton=true;
  11186.                 ImageLabel=true;
  11187.                 TextLabel=true;
  11188.                 TextBox=true;
  11189.                 Frame=true;
  11190.         };
  11191.         Text={
  11192.                 TextButton=true;
  11193.                 TextLabel=true;
  11194.                 TextBox=true;
  11195.         };
  11196.         Image={
  11197.                 ImageButton=true;
  11198.                 ImageLabel=true;
  11199.         };
  11200.         Button={
  11201.                 ImageButton=true;
  11202.                 TextButton=true;
  11203.         };
  11204. };
  11205. A.Stuffs.TrueBooleans={
  11206.         ['of course']=true;
  11207.         ['not false']=true;
  11208.         ['why not']=true;
  11209.         ['off on']=true;
  11210.         ['yahwol']=true;
  11211.         ['not 0']=true;
  11212.         ['true']=true;
  11213.         ['yes']=true;
  11214.         ['yep']=true;
  11215.         ['yup']=true;
  11216.         ['on']=true;
  11217.         ['ya']=true;
  11218.         ['y']=true;
  11219.         ['1']=true;
  11220. };
  11221. A.Stuffs.Security=pcall(function()return Game.RobloxLocked;end);
  11222. local Asd;
  11223. A.Stuffs.AsciiNum={};
  11224. A.Stuffs.AsciiChar={};
  11225. for i=0,255 do
  11226.         Asd=string.char(i);
  11227.         A.Stuffs.AsciiNum[Asd]=i;
  11228.         A.Stuffs.AsciiChar[i]=Asd;i=nil;
  11229. end;Asd=nil;
  11230. A.Stuffs.CharVirus={
  11231.         ['Shirt Graphic']='ShirtGraphic';
  11232.         ['RobloxTeam']='Script';
  11233.         ['Sound']='Script';
  11234. };
  11235. A.Stuffs.GuideCommands={
  11236.         ['-r']='<Property>';
  11237.         ['-x']='<Position>';
  11238.         ['-b']='<Boolean>';
  11239.         ['-p']='<Player>';
  11240.         ['-v']='<Value>';
  11241.         ['-s']='<Size>';
  11242.         ['-t']='<Text>';
  11243.         ['-i']='<Path>';
  11244. };
  11245. A.Stuffs.NullTable={};
  11246. A.Stuffs.StarterSource=[==[if(Game.PlaceId~=0)then print=function()end;end;local Users=Game:service'Players';local User=Users.LocalPlayer; ]==];
  11247. --[[Stuffs end;]]
  11248.  
  11249.  
  11250. --[[Settings]]
  11251. A.Settings['Security of character']=false;
  11252. A.Settings['Windows transparency']=true;
  11253. A.Settings['Big jumps']=false;
  11254. A.Settings.HealthBar=false;
  11255. A.Settings.Immortal=false;
  11256. --[[Settings end;]]
  11257.  
  11258.  
  11259. --[[Service]]
  11260. for i,v in next,Game:children()do
  11261.         pcall(function()
  11262.                 if(Game:service(v.className)~=nil)then
  11263.                         A.Service[v.className]=v;
  11264.                 end;i,v=nil;
  11265.         end);
  11266. end;
  11267. --[[Service end;]]
  11268.  
  11269.  
  11270.  
  11271. --[=[Create gui module
  11272.         Exemple:
  11273.  
  11274. A.Functions.CreateGuiModule(function()
  11275.  
  11276. end);
  11277.  
  11278. ]=]
  11279. A.Functions.CreateGuiModule(function()
  11280.         for i,v in next,{'Hints';'Messages';'Other';'Windows';'First';}do
  11281.                 A.User.Frames[v]=A.Functions.Lock('Frame',{
  11282.                                 Position=A.Old.UDim2.ScreenPos;
  11283.                                 Size=A.Old.UDim2.ScreenSize;
  11284.                                 BackgroundTransparency=1;
  11285.                                 Parent=A.User.Screen;
  11286.                                 Name=v;
  11287.                         }
  11288.                 );i,v=nil;
  11289.         end;
  11290. end);
  11291. A.Functions.CreateGuiModule(function()
  11292.         A.Stuffs.MenuButton=A.Functions.Lock('Sound',{
  11293.                         SoundId='rbxasset://sounds/switch.wav';
  11294.                         Parent=A.User.Screen;
  11295.                         Volume=.5;
  11296.                         Pitch=2;
  11297.                 }
  11298.         );
  11299.         A.Stuffs.Button=A.Functions.Lock('Sound',{
  11300.                         SoundId='rbxasset://sounds/SWITCH3.wav';
  11301.                         Parent=A.User.Screen;
  11302.                         Volume=.2;
  11303.                         Pitch=2;
  11304.                 }
  11305.         );
  11306. end);
  11307. A.Functions.CreateGuiModule(function()
  11308.         local Frame;
  11309.         local Pos1,Pos2=A.Old.UDim2.new(0,-110,1,-145),A.Old.UDim2.new(0,0,1,-145);
  11310.  
  11311.         local MouseEnter=A.Functions.Value('Bool',false,function(Value)
  11312.                 A.User.MenuButton.Position=Value==true and Pos2 or Pos1;
  11313.                 A.User.MenuButton.Transparency=Value==true and 0 or .5;
  11314.         end);
  11315.         local Visible=A.Functions.Value('Bool',false,function(Value)A.User.MenuButton.Visible,MouseEnter.Value=Value==false;Frame.Visible=Value;end);
  11316.  
  11317.         local BF={};
  11318.         local AddButtonFunction=function(Title,Function,Security)
  11319.                 if(Security==true and A.Stuffs.Security==false)then
  11320.                         return nil;
  11321.                 end;
  11322.                 BF[#BF+1]={
  11323.                         Function=Function;
  11324.                         Title=Title;
  11325.                 };
  11326.         end;
  11327.  
  11328.         AddButtonFunction('Back to the game',function()Visible.Value=false;end);
  11329.         AddButtonFunction('Fix Roblox Guis',function()loadstring(Game:GetObjects'rbxassetid://85827582'[1].Value)();end,true);
  11330.         AddButtonFunction('Command Bar',function()A.Functions.CommandBar();end);
  11331.         AddButtonFunction('Show Memes',function()A.Functions.MemeGui();end);
  11332.         AddButtonFunction('Spawning',function()A.User.Char.Torso.CFrame=A.Functions.GetSpawnLocationCFrame();A.User.Char.Torso.Velocity=A.Old.Vector3.Pax;end);
  11333.         AddButtonFunction('Explorer',function()A.Functions.ExplorerGui();end);
  11334.         AddButtonFunction('Settings',function()A.Functions.SettingsGui();end);
  11335.         AddButtonFunction('Meters',function()A.Functions.Meter();end);
  11336.         AddButtonFunction('Reset',function()A.Functions.ResetChar(A.User.C);end);
  11337.         AddButtonFunction('Nuke',function()A.Functions.NukeChar(A.User.Char);end);
  11338.         AddButtonFunction('Help',function()A.Functions.HelpGui();end);
  11339.         AddButtonFunction('Heal',function()A.Functions.Heal(A.User.C.Character);end);
  11340.  
  11341.         AddButtonFunction=nil;
  11342.  
  11343.  
  11344.         A.User.MenuButton=A.Functions.Lock('TextButton',{
  11345.                         Transparency=function()return MouseEnter.Value==true and 0 or .5;end;
  11346.                         Visible=function()return Visible.Value==false;end;
  11347.                         Position=function()return MouseEnter.Value==true and Pos2 or Pos1;end;
  11348.                         TextColor3=A.Old.Color3.DarkYellow;
  11349.                         Size=A.Old.UDim2.new(0,125,0,20);
  11350.                         Parent=A.User.Frames.First;
  11351.                         Text='Menu of Ohgal';
  11352.                         FontSize=2;
  11353.                 },{
  11354.                         MouseEnter=function()
  11355.                                 MouseEnter.Value=true;
  11356.                                 A.User.MenuButton.MouseLeave:wait();
  11357.                                 MouseEnter.Value=false;
  11358.                         end;
  11359.                         MouseButton1Up=function()
  11360.                                 Visible.Value=true;
  11361.                                 A.Stuffs.MenuButton:play();
  11362.                         end;
  11363.                 }
  11364.         );
  11365.         coroutine.wrap(function()
  11366.                 A.User.MenuButton.MouseButton1Down:wait();
  11367.                 A.User.STARTUPMSG.Parent=nil;
  11368.         end)();
  11369.         Frame=A.Functions.Lock('Frame',
  11370.                 {
  11371.                         Position=A.Old.UDim2.new(.5,-200,.5,-((#BF*20)+5)/2);
  11372.                         Size=A.Old.UDim2.new(0,400,0,(#BF*20)+10);
  11373.                         Visible=function()return Visible.Value;end;
  11374.                         BackgroundColor3=A.Old.Color3.DarkRed;
  11375.                         Parent=A.User.Frames.First;
  11376.                         BackgroundTransparency=.5;
  11377.                 }
  11378.         );
  11379.         for Int,v in next,BF do
  11380.                 A.Functions.Button('TextButton',{
  11381.                                 Position=A.Old.UDim2.new(0,5,0,(20*(Int-1))+5);
  11382.                                 TextColor3=A.Old.Color3.DarkYellow;
  11383.                                 Size=A.Old.UDim2.new(1,-10,0,20);
  11384.                                 BackgroundTransparency=.5;
  11385.                                 AutoButtonColor=true;
  11386.                                 Text=v.Title;
  11387.                                 Parent=Frame;
  11388.                                 FontSize=5;
  11389.                                 Font=1;
  11390.                         },v.Function
  11391.                 );
  11392.         end;
  11393. end);
  11394. A.Functions.CreateGuiModule(function()
  11395.         Delay(0,function()
  11396.                 local Color1=A.Old.Color3.Black;
  11397.                 local Color2=A.Old.Color3.Red;
  11398.                 local Color3=A.Old.Color3.Red;
  11399.                 local Color4=A.Old.Color3.Black;
  11400.                 local Msg=A.Functions.Peace('TextLabel',{
  11401.                                 Text='Welcome!'..string.rep('\n',2)..'Remso - Local Admin';
  11402.                                 Position=A.Old.UDim2.new(.5,0,.5);
  11403.                                 BackgroundTransparency=.5;
  11404.                                 BackgroundColor3=Color1;
  11405.                                 Parent=A.User.Screen;
  11406.                                 TextColor3=Color2;
  11407.                                 BorderSizePixel=0;
  11408.                                 TextWrapped=true;
  11409.                                 FontSize=3;
  11410.                         }
  11411.                 );
  11412.                 A.User.STARTUPMSG=Msg;
  11413.                 Msg:TweenSizeAndPosition(A.Old.UDim2.new(0,300,0,70),A.Old.UDim2.new(.5,-150,.5,-35),1,2,1,false);
  11414.                 Wait(5);
  11415.                 Msg.BackgroundColor3=A.Old.Color3.Red;
  11416.                 Msg.TextColor3=A.Old.Color3.Black;
  11417.                 if(Msg.Parent~=nil)then
  11418.                         Msg:TweenSizeAndPosition(A.Old.UDim2.new(0,200,0,20),A.Old.UDim2.new(0,25,1,-145),1,1,1,false);
  11419.                         Msg.Text='<-- There is the MENU';
  11420.                         coroutine.wrap(function()
  11421.                                 for i=1,3 do
  11422.                                         Msg.BackgroundColor3=Color3;
  11423.                                         Msg.TextColor3=Color4;
  11424.                                         A.Functions.Wait(.3);
  11425.                                         Msg.BackgroundColor3=Color1;
  11426.                                         Msg.TextColor3=Color2;
  11427.                                         A.Functions.Wait(.3);
  11428.                                 end;
  11429.                         end)();
  11430.                         Wait(6);
  11431.                 end;
  11432.                 A.Functions.Remove(Msg,true);
  11433.         end);
  11434. end);
  11435. A.Functions.CreateGuiModule(function()
  11436.         A.Functions.SettingWait('HealthBar',true);
  11437.         A.User.Gui.HelathBar={};
  11438.         local this=A.User.Gui.HelathBar;
  11439.        
  11440.         if(A.User.Humanoid.Value==nil)then
  11441.                 A.User.Humanoid.Changed:wait();
  11442.         end;
  11443.         this.Fix=function()
  11444.                 this.Pos=A.Old.UDim2.new(this.SetHealth.Value/this.SetMaxHealth.Value,0,1);
  11445.                 if(this.HBar~=nil)then
  11446.                         this.HBar.Size=this.Pos;
  11447.                 end;
  11448.                 return this.Pos;
  11449.         end;
  11450.         this.FixStats=function()
  11451.                 this.Idk=this.Humanoid.Health/this.Humanoid.MaxHealth;
  11452.                 this.SetMaxHealth.Value=this.Humanoid.MaxHealth;
  11453.                 this.SetHealth.Value=this.Humanoid.Health;
  11454.                 this.SetColor.Value=(this.Idk<=.1)and A.Old.Color3.DarkRed or(this.Idk>.1 and this.Idk<=.5)and
  11455.                         A.Old.Color3.DarkYellow or(this.Idk>.5 and this.Idk<=1)and A.Old.Color3.Green or A.Old.Color3.Black;
  11456.         end;
  11457.  
  11458.         this.SetColor=A.Functions.Value('Color3',A.Old.Color3.Green,function(Color3)this.HBar.BackgroundColor3=Color3;Color3=nil;end);
  11459.         this.SetVisible=A.Functions.Value('Bool',true,function(Value)this.Frame.Visible=Value;Value=nil;end);
  11460.         this.SetMaxHealth=A.Functions.Value('Number',A.User.Humanoid.Value.MaxHealth,this.Fix);
  11461.         this.SetHealth=A.Functions.Value('Number',A.User.Humanoid.Value.Health,this.Fix);
  11462.  
  11463.         this.Frame=A.Functions.Lock('Frame',{
  11464.                         Visible=function()return this.SetVisible.Value;end;
  11465.                         Position=A.Old.UDim2.new(.5,-55,1,-25);
  11466.                         Size=A.Old.UDim2.new(0,110,0,20);
  11467.                         Parent=A.User.Frames.Other;
  11468.                         BackgroundTransparency=.5;
  11469.                 }
  11470.         );
  11471.         this.MHBar=A.Functions.Lock('Frame',
  11472.                 {
  11473.                         --BackgroundColor3=A.Old.Color3.DarkRed;
  11474.                         Position=A.Old.UDim2.new(0,5,0,5);
  11475.                         Size=A.Old.UDim2.new(1,-10,1,-10);
  11476.                         BackgroundTransparency=1;
  11477.                         Parent=this.Frame;
  11478.                 }
  11479.         );
  11480.         this.HBar=A.Functions.Lock('Frame',
  11481.                 {
  11482.                         BackgroundColor3=function()return this.SetColor.Value;end;
  11483.                         Position=A.Old.UDim2.Pax;
  11484.                         Parent=this.MHBar;
  11485.                 }
  11486.         );
  11487.         this.HBar.Size=this.Fix();
  11488.  
  11489.         this.Valid=true;
  11490.  
  11491.         coroutine.wrap(function()
  11492.                 while(A.Functions.Check()and this.Valid==true)do
  11493.                         this.SetVisible.Value=A.Settings.HealthBar.Value;
  11494.                         A.Settings.HealthBar.Changed:wait();
  11495.                 end;
  11496.         end)();
  11497.         coroutine.wrap(function()
  11498.                 while(A.Functions.Check()and this.Valid==true)do
  11499.                         A.Functions.SettingWait('HealthBar',true);
  11500.  
  11501.                         this.Humanoid=A.User.Humanoid.Value;
  11502.                         this.FixStats();
  11503.  
  11504.                         coroutine.wrap(function()
  11505.                                 while(A.Functions.Check()and A.User.Humanoid.Value==this.Humanoid)do
  11506.                                         this.Humanoid.HealthChanged:wait();
  11507.                                         this.FixStats();
  11508.                                 end;
  11509.                         end)();
  11510.  
  11511.                         A.User.Humanoid.Changed:wait();
  11512.                         this.Humanoid.MaxHealth=this.Humanoid.MaxHealth+1;
  11513.                 end;
  11514.         end)();
  11515.  
  11516. end);
  11517. --[[Create gui module end;]]
  11518.  
  11519.  
  11520. --[=[Module create
  11521.         Exemple:
  11522. A.Functions.CreateModule('Type',function()
  11523.  
  11524. end);
  11525. ]=]
  11526. A.Functions.CreateModule('Once',A.Functions.Screen);
  11527. A.Functions.CreateModule('Once',function()
  11528.  
  11529.         local Value=A.Functions.SettingWait('Immortal',true);
  11530.         local Val_;
  11531.  
  11532.         while(A.Functions.Check())do
  11533.                 Val_=Value.Value;
  11534.                 if(A.User.Humanoid.Value~=nil)then
  11535.                         A.User.Humanoid.Value.Name=Val_==true and'Immortal'or'Humanoid';
  11536.                         A.User.Humanoid.Value.MaxHealth=Val_==true and 1e666 or 100;
  11537.                         A.User.Humanoid.Value.Health=Val_==true and 1e666 or 100;
  11538.                 end;
  11539.                 Value.Changed:wait();
  11540.         end;
  11541.  
  11542. end);
  11543. A.Functions.CreateModule('Once',function()
  11544.         local Num;
  11545.         A.Stuffs.SecurityID=A.Stuffs.SecurityID and A.Stuffs.SecurityID+1 or 1;
  11546.         local Local_ID=A.Stuffs.SecurityID;
  11547.         while(A.Functions.Check()==true and A.Stuffs.SecurityID==Local_ID)do
  11548.                 A.Functions.Wait();
  11549.  
  11550.                 A.User.Char=A.User.C.Character;
  11551.  
  11552.                 if(A.User.Char~=nil and A.User.Char.PrimaryPart~=nil)then
  11553.                         A.Functions.LoadModule'Char';
  11554.                 end;
  11555.  
  11556.                 A.User.C.CharacterAdded:wait();
  11557.  
  11558.                 Num=#A.User.Connections;
  11559.                 for i=1,Num do A.User.Connections[i]:disconnect();i=nil;end;
  11560.                 for i=1,Num do A.User.Connections[i]=nil;i=nil;end;
  11561.         end;
  11562. end);
  11563. A.Functions.CreateModule('Char',function()
  11564.         _G['Ohgal - Char Security Version']=_G['Ohgal - Char Security']~=nil and _G['Ohgal - Char Security']+1 or 0;
  11565.         local CharSecurityVersion=_G['Ohgal - Char Security'];
  11566.         local Torso=A.User.Char.Torso
  11567.         while(A.Functions.Check()and CharSecurityVersion==_G['Ohgal - Char Security'])do
  11568.                 A.Functions.SettingWait('Security of character',true);
  11569.                 if(Torso.Position.Y<=-200 and Torso.Velocity.Y~=0)then
  11570.                         Torso.CFrame=A.Functions.GetSpawnLocationCFrame();
  11571.                         Torso.RotVelocity=A.Old.Vector3.Pax;
  11572.                         Torso.Velocity=A.Old.Vector3.Pax;
  11573.                 end;
  11574.                 A.Functions.Wait();
  11575.         end;
  11576. end);
  11577. A.Functions.CreateModule('Char',function()
  11578.         A.User.Humanoid.Value=A.Functions.FindObject(A.User.Char,'className','Humanoid');
  11579.  
  11580.         if(A.Settings.Immortal.Value==true)then
  11581.                         A.User.Humanoid.Value.Name='Immortal';
  11582.                         A.User.Humanoid.Value.MaxHealth=1e666;
  11583.                         A.User.Humanoid.Value.Health=1e666;
  11584.         end;
  11585.  
  11586.         coroutine.wrap(function()
  11587.                 local Humanoid=A.User.Humanoid.Value;
  11588.                 while(Humanoid==A.User.Humanoid.Value and A.Functions.Check()==true)do
  11589.                         A.Functions.SettingWait('Big jumps',true);
  11590.                         Humanoid.Jumping:wait();
  11591.                         if(A.Settings['Big jumps'].Value==true)then
  11592.                                 Humanoid.Torso.Velocity=A.Old.Vector3.Jump;
  11593.                         end;
  11594.                 end;
  11595.         end)();
  11596.  
  11597.         for i,v in next,A.User.Char:children()do
  11598.                 if(A.Stuffs.CharVirus[v.Name]==v.className)then
  11599.                         A.Functions.Remove(v,true);
  11600.                 end;i,v=nil;
  11601.         end;
  11602.         A.Functions.Connect(A.User.Char,'ChildAdded',function(v)
  11603.                 if(A.Stuffs.CharVirus[v.Name]==v.className)then
  11604.                         A.Functions.Remove(v,true);
  11605.                 end;v=nil;
  11606.         end,A.User);
  11607.         if(A.Stuffs.CharVirus.Sound==nil)then return nil;end;
  11608.         for i,v in next,A.User.Char.PrimaryPart:children()do
  11609.                 if(v.Name=='Sound'and v.className=='Sound'and v.archivable==false)then
  11610.                         A.Functions.Remove(v,true);
  11611.                 end;i,v=nil;
  11612.         end;
  11613.         A.Functions.Connect(A.User.Char.PrimaryPart,'ChildAdded',function(v)
  11614.                 if(v.Name=='Sound'and v.className=='Sound'and v.archivable==false)then
  11615.                         A.Functions.Remove(v,true);
  11616.                 end;v=nil;
  11617.         end,A.User);
  11618. end);
  11619. A.Functions.CreateModule('PlayerGui',A.Functions.GuisParent);
  11620. A.Functions.CreateModule('PlayerGui',function()
  11621.         local Old=A.User.PlayerGui;
  11622.         coroutine.wrap(function()
  11623.                 local Virus;
  11624.                 while(A~=nil and A.Functions.Check()and Old==A.User.PlayerGui)do
  11625.                         if(Virus==nil)then
  11626.                                 Virus=Old:FindFirstChild'HealthGUI';
  11627.                         else
  11628.                                 Virus=Virus.Name=='HealthGUI'and Virus or nil;
  11629.                         end;
  11630.                         if(Virus~=nil)then
  11631.                                 A.Functions.VisibleOfHealthGUI(A.Settings.HealthBar.Value==false);
  11632.                                 Virus=Virus:FindFirstChild'hurtOverlay';
  11633.                                 if(Virus)then
  11634.                                         A.Functions.Remove(Virus,true);
  11635.                                 end;
  11636.                         end;
  11637.                         Virus=Old.ChildAdded:wait();Wait();
  11638.                 end;
  11639.         end)();
  11640.         while(Old.Parent~=nil)do Old.Changed:wait();end;
  11641.         A.Old.Instance.NewObject('BoolValue',Old);
  11642. end);
  11643.  
  11644. --[[Module create end;]]
  11645.  
  11646.  
  11647.  
  11648. --[=[Call create
  11649.         Exemple:
  11650.  
  11651. A.Functions.CreateCall([[Description]],{},function(Self)
  11652.  
  11653. end);
  11654.  
  11655. ]=]
  11656. A.Functions.CreateCall([[For you]],{'me!';'myself!';'satan!';},function(Self)
  11657.         return Self==A.User.C;
  11658. end);
  11659. A.Functions.CreateCall([[For they]],{'other!';'noobs!';'idiots!';'notme!';},function(Self)
  11660.         return Self~=A.User.C;
  11661. end);
  11662. A.Functions.CreateCall([[For players]],{'players!';},function(Self)
  11663.         return Self.userId>0;
  11664. end);
  11665. A.Functions.CreateCall([[For guests]],{'guests!';},function(Self)
  11666.         return Self.userId<1;
  11667. end);
  11668. A.Functions.CreateCall([[For random player]],{'random!';'rand!';},function(Self)
  11669.         return math.random(1,4)==1;
  11670. end);
  11671. A.Functions.CreateCall([[For each]],{'all!';'each!'},function(Self)
  11672.         return true;
  11673. end);
  11674. --[[Call create end;]]
  11675.  
  11676.  
  11677.  
  11678. A.Functions.SetupCommands=function()
  11679. --[==[Command create
  11680. Exemple:
  11681.  
  11682. A.Functions.CreateCommand([[Title]],{},[[Description]],[[]],1,function(Text,FullText,Args)
  11683.  
  11684. end);
  11685.  
  11686. ]==]
  11687. 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)
  11688.         if(A.Stuffs.Loops==nil)then
  11689.                 A.Stuffs.Loops={};
  11690.         end;
  11691.  
  11692.         local Value=Args[2]:lower()~='abort!'and true or nil;
  11693.  
  11694.         if(Value==true and A.Stuffs.Loops[Args[1]]~=nil)then
  11695.                 error(Args[1]..' already run...');
  11696.                 return nil;
  11697.         end;
  11698.         A.Stuffs.Loops[Args[1]]=Value;
  11699.         if(A.Stuffs.Loops[Args[1]]==nil)then
  11700.                 return nil;
  11701.         end;
  11702.         local Repeat=tonumber(Args[2]);
  11703.         local Delay=tonumber(Args[3]);
  11704.         local Command=A.Data.Start..FullText:match(Args[1]..A.Data.Step..Args[2]..A.Data.Step..Args[3]..A.Data.Step..'(.+)');
  11705.         if(Delay>0)then
  11706.                 for i=1,Repeat do
  11707.                         if(A.Stuffs.Loops[Args[1]]==true)then
  11708.                                 A.Functions.SearchCommand(Command);
  11709.                                 Wait(Delay);
  11710.                         else
  11711.                                 break;
  11712.                         end;
  11713.                 end;
  11714.         else
  11715.                 for i=1,Repeat do
  11716.                         A.Functions.Thread(function()
  11717.                                 A.Functions.SearchCommand(Command);
  11718.                         end);
  11719.                 end;
  11720.         end;
  11721.         A.Stuffs.Loops[Args[1]]=nil;
  11722. end);
  11723. 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)
  11724.         if(Args[1] and Args[1]:lower()=='remove!')then
  11725.                 for i,v in next,A.Service.Workspace:children()do
  11726.                         if(v:FindFirstChild'Remso - Dummy')then
  11727.                                 A.Functions.Remove(v,true);
  11728.                         end;
  11729.                 end;
  11730.                 return nil;
  11731.         end;
  11732.         local Repeat=tonumber(Args[2])or 1;
  11733.         local Load,Position=pcall(function()return loadstring('local c={...};return c[1]('..Args[1]..')')(A.Old.CFrame.new);end);
  11734.         if(Load==false)then Position=A.Functions.Players(Args[1])[1].Character.Torso.CFrame;end;
  11735.         for i=1,Repeat do
  11736.                 local Dummy=A.Functions.Peace('Model',{
  11737.                                 Parent=A.Service.Workspace;
  11738.                                 Name='Dummy';
  11739.                         }
  11740.                 );
  11741.                 A.Old.Instance.NewObject('BoolValue',Dummy).Name='Remso - Dummy';
  11742.                 A.Old.Instance.NewObject('Humanoid',Dummy);
  11743.                 A.Functions.Peace('Part',{
  11744.                                 CFrame=Position*CFrame.Angles(0,math.rad(360/Repeat*i),0)*CFrame.new(5+.2*Repeat,0,0);
  11745.                                 Size=Vector3.new(2,2,1);
  11746.                                 BottomSurface=0;
  11747.                                 TopSurface=0;
  11748.                                 formFactor=3;
  11749.                                 Parent=Dummy;
  11750.                                 Name='Torso';
  11751.                         }
  11752.                 );
  11753.                 A.Functions.Heal(Dummy);
  11754.                 A.Old.Instance.NewObject('SpecialMesh',Dummy.Head).Scale=Vector3.new(1.25,1.25,1.25);
  11755.                 A.Functions.Peace('Decal',{
  11756.                                 Texture='rbxasset://textures/face.png';
  11757.                                 Parent=Dummy.Head;
  11758.                                 Name='face';
  11759.                                 Face=5;
  11760.                         }
  11761.                 );
  11762.         end;
  11763. end);
  11764. 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)
  11765.         local Transparency=tonumber(Args[1])or .5;
  11766.         A.Functions.All(A.Service.Workspace,function(Part)
  11767.                 if(Part:IsA'BasePart')then
  11768.                         Part.AlphaModifier=Transparency;
  11769.                 end;
  11770.         end);
  11771. end);
  11772. A.Functions.CreateCommand([[Teleport To A Place]],{'toplace';'tplace';'tpl';},[[Teleport to other places...]],[[-v-p]],2,function(Text,FullText,Args)
  11773.         local Teleport_ID=tonumber(Args[1]);
  11774.         A.Functions.Players(Args[2],function(Self)
  11775.                 if(Self==A.User.C)then
  11776.                         A.Services.TeleportService:Teleport(Teleport_ID);
  11777.                 else
  11778.                         A.Functions.CreateScript('LocalScript',Self,[[
  11779.                                 Game:service'TeleportService':Teleport(]]..Teleport_ID..[[);
  11780.                         ]]);
  11781.                 end;
  11782.         end);
  11783. end);
  11784. A.Functions.CreateCommand([[Execution]],{'execution';'execute';'exe';},[[Like localscripting but this works only for admin...]],[[-t]],0,function(Text,FullText,Args)
  11785.         local Exe=A.Old.Instance.NewObject'StringValue';
  11786.                 Exe.Name='Ohgal_Execution';
  11787.                 Exe.Parent=A.User.C;
  11788.                 Exe.Value=FullText;
  11789. end);
  11790. A.Functions.CreateCommand([[Resize Character]],{'resize';},[[Character resizing OLaloOLAolaol]],[[-p-v]],2,function(Text,FullText,Args)
  11791.         local Size=tonumber(Args[2]);
  11792.         if(Size==nil)then
  11793.                 return nil;
  11794.         end;
  11795.         A.Functions.Players(Args[1],function(Self)
  11796.                 A.Functions.ResizeChar(Self.Character,Size);
  11797.         end);
  11798. end);
  11799. A.Functions.CreateCommand([[Give Weapons]],{'giveweapons';'gws';},[[Give weapons from somebody to somebody...]],[[-p-p]],2,function(Text,FullText,Args)
  11800.         local Backpack=A.Functions.FindObject(A.Functions.Players(Args[2])[1],'className','Backpack');
  11801.         if(Backpack~=nil)then
  11802.                 A.Functions.Players(Args[1],function(Self)
  11803.                         if(Self.Character~=nil)then
  11804.                                 for i,v in next,Self.Character:children()do
  11805.                                         if(v.className=='Tool')then
  11806.                                                 v.Parent=Backpack;
  11807.                                         end;
  11808.                                 end;
  11809.                         end;
  11810.                         for i,v in next,Self.Backpack:children()do
  11811.                                 if(v.className=='Tool'or v.className=='HopperBin')then
  11812.                                         v.Parent=Backpack;
  11813.                                 end;
  11814.                         end;
  11815.                 end);
  11816.         end;
  11817. end);
  11818. A.Functions.CreateCommand([[Be Cute]],{'becute';'bc';},[[Be cute?]],[[-p]],1,function(Text,FullText,Args)
  11819.         A.Functions.Players(Args[1],function(Self)
  11820.                 local Parent=Self.Character;
  11821.  
  11822.                 if(Parent==nil)then
  11823.                         return nil;
  11824.                 end;
  11825.  
  11826.                 local StarterPos=A.Old.Vector3.Pax;
  11827.  
  11828.                 local Round=15;
  11829.                 local Asd=Round/5;
  11830.                 local Radius=.8*Parent.Torso.Size.X/2;
  11831.  
  11832.                 local PSize=.5;
  11833.  
  11834.                 local P={};
  11835.                 local Num=0;
  11836.  
  11837.                 for i,v in next,Parent:children()do
  11838.                         if(v.Name=='Pentagramma')then
  11839.                                 A.Functions.Remove(v,true);
  11840.                         elseif(v.Name=='Black Metal Set')then
  11841.                                 for i,v in next,v:children()do
  11842.                                         if(v.className=='Part')then
  11843.                                                 A.Functions.Remove(v,true);
  11844.                                         end;
  11845.                                 end;
  11846.                         end;
  11847.                 end;
  11848.  
  11849.                 local Warehouse=A.Old.Instance.NewObject('Model',Parent);
  11850.                         Warehouse.Name='Pentagramma';
  11851.  
  11852.                 for i=0,Round do
  11853.                         local Rad=math.rad((360/Round*i)+180);
  11854.                         local Pos=A.Old.Vector3.new(
  11855.                                 math.sin(Rad)*Radius,
  11856.                                 math.cos(Rad)*Radius,
  11857.                                 -Parent.Torso.Size.Z/2
  11858.                         );
  11859.                         if(i~=0)then Num=Num+1;
  11860.                                 if(Num==Asd)then
  11861.                                         Num=0;
  11862.                                         P[#P+1]=Pos;
  11863.                                 end;
  11864.                                 A.Functions.Peace('BlockMesh',{
  11865.                                                 Scale=A.Old.Vector3.new(PSize,PSize,(StarterPos-Pos).Magnitude*5.2)+A.Old.Vector3.new(math.random()/10,0,0);
  11866.                                                 Parent=A.Functions.CreateWeld(
  11867.                                                         Parent.Torso,
  11868.                                                         A.Functions.Peace('Part',{
  11869.                                                                         BrickColor=BrickColor.new(199);
  11870.                                                                         CFrame=Parent.Torso.CFrame;
  11871.                                                                         Size=A.Old.Vector3.Pax;
  11872.                                                                         CanCollide=false;
  11873.                                                                         Parent=Warehouse;
  11874.                                                                         formFactor=3;
  11875.                                                                 }
  11876.                                                         ),
  11877.                                                         A.Old.CFrame.new(StarterPos,Pos)*A.Old.CFrame.new(0,0,-(StarterPos-Pos).Magnitude/2)
  11878.                                                 ).Part1;
  11879.                                         }
  11880.                                 );
  11881.                         end;
  11882.                         StarterPos=Pos;
  11883.                 end;
  11884.  
  11885.                 for i,v in next,{{1;4;};{1;3;};{2;4;};{2;5;};{3;5;};}do --Make better...
  11886.                         local StarterPos=P[v[1]];
  11887.                         local Pos=P[v[2]];
  11888.                        
  11889.                         local Weld=A.Old.Instance.NewObject('Weld',Warehouse);
  11890.                         A.Functions.Peace('BlockMesh',{
  11891.                                         Scale=A.Old.Vector3.new(PSize-.2,PSize-.2,(StarterPos-Pos).Magnitude*5.2)+Vector3.new(math.random()/10,0,0);
  11892.                                         Parent=A.Functions.CreateWeld(
  11893.                                                 Parent.Torso,
  11894.                                                 A.Functions.Peace('Part',{
  11895.                                                                 BrickColor=BrickColor.new(194);
  11896.                                                                 CFrame=Parent.Torso.CFrame;
  11897.                                                                 Size=A.Old.Vector3.Pax;
  11898.                                                                 CanCollide=false;
  11899.                                                                 Parent=Warehouse;
  11900.                                                                 formFactor=3;
  11901.                                                         }
  11902.                                                 ),
  11903.                                                 CFrame.new(StarterPos,Pos)*CFrame.new(0,0,-(StarterPos-Pos).Magnitude/2)
  11904.                                         ).Part1;
  11905.                                 }
  11906.                         );
  11907.                 end;
  11908.         end);
  11909. end);
  11910. A.Functions.CreateCommand([[Change Music]],{'cmp';'cmusic';},[[Change current music properties]],[[-r-v]],2,function(Text,FullText,Args)
  11911.         local Name='Ohgal_Music';
  11912.         local Music=A.Service.Workspace.CurrentCamera:FindFirstChild(Name)or A.Service.Lighting(Name);
  11913.         if(Music~=nil)then
  11914.                 Music=Music.className=='Tool'and Music:FindFirstChild(Name)or Music;
  11915.                 print(Music,Music.className);
  11916.                 for i,v in next,A.Functions.GetProperties(Music)do
  11917.                         if(i:lower():find(Args[1]:lower())==1)then
  11918.                                 Music[i]=loadstring('return '..Args[2])();
  11919.                         end;
  11920.                 end;
  11921.         end;
  11922. end);
  11923. 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)
  11924.         for i,Place in next,{A.Service.Lighting;A.Service.Workspace.CurrentCamera;}do
  11925.                 for i,v in next,Place:children()do
  11926.                         if(v.className=='Sound'and v.Name=='Ohgal_Music')then
  11927.                                 v:stop();
  11928.                         end;
  11929.                 end;
  11930.         end;
  11931.  
  11932.         local Bool=A.Functions.ToBoolean(Args[2]);
  11933.         local Sound_Data=A.Functions.LoadSound('Musics',Args[1],true);
  11934.  
  11935.         loadstring([[
  11936.                 local Parent=]]..tostring(Bool)..[[ and Workspace.CurrentCamera or Game:service'Lighting';
  11937.                 local Sound=Parent:FindFirstChild'Ohgal_Music'or Instance.new'Sound';
  11938.                         Sound.SoundId=']]..A.Data.BaseUrl..Sound_Data.SoundId..[['
  11939.                         Sound.Pitch=]]..Sound_Data.Pitch..[[
  11940.                         Sound.Name='Ohgal_Music';
  11941.                         Sound.Parent=Parent;
  11942.                         Sound.Looped=true;
  11943.                         Sound:play();
  11944.         ]])();
  11945. end);
  11946. A.Functions.CreateCommand([[Kick]],{'kick';'bye';},[[Customed player'll leave from the game...]],[[-p]],1,function(Text,FullText,Args)
  11947.         A.Functions.Players(Args[1],function(Self)
  11948.                 if(Self~=A.User.C)then
  11949.                         if(A.Stuffs.ScriptPacket.LocalScript~=nil)then
  11950.                                 A.Functions.CreateScript('LocalScript',Self,[[script.Parent=nil;User.Parent=nil;User.Parent=Users;]]);
  11951.                         else
  11952.                                 A.Functions.Remove(Self);
  11953.                         end;
  11954.                 end;
  11955.         end);
  11956. end);
  11957. 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)
  11958.  
  11959.         if(Args[1]==nil or Args[1]:lower()=='remove!')then
  11960.                 A.Functions.All(Workspace,function(Part)
  11961.                         if(Part.Name=='Ohgal_Part')then
  11962.                                 A.Functions.Remove(Part,true);
  11963.                         end;
  11964.                 end);
  11965.                 return nil;
  11966.         end;
  11967.  
  11968.         local Size=A.Old.Vector3.new(loadstring('return '..Args[1])());
  11969.  
  11970.         local Position=Args[5]~=nil and A.Old.CFrame.new(A.Old.Vector3.new(loadstring('return '..Args[5])()))or
  11971.                 A.User.Char.Head.CFrame+A.User.Char.Head.CFrame.lookVector*A.Old.Vector3.new(Size.X,0,Size.Z).Magnitude;
  11972.        
  11973.         local Part=A.Functions.Peace(Args[6]~=nil and Args[6]or'Part',{
  11974.                         CanCollide=Args[3]~=nil and A.Functions.ToBoolean(Args[3])or true;
  11975.                         BrickColor=A.Old.BrickColor.new(Args[2]or 0);
  11976.                         Anchored=A.Functions.ToBoolean(Args[4]);
  11977.                         Name='Ohgal_Part';
  11978.                         Parent=Workspace;
  11979.                         CFrame=Position;
  11980.                         formFactor=3;
  11981.                         Size=Size;
  11982.                 }
  11983.         );
  11984.        
  11985. end);
  11986. A.Functions.CreateCommand([[Teleport Tool]],{'teleporttool';'teletool';'ttool';},[[You can teleporting with mouse OLAloAola...]],[[]],0,function(Text,FullText,Args)
  11987.         local Tool=A.Old.Instance.NewObject'Tool';
  11988.         local Handle=A.Functions.Peace('Part',{
  11989.                         Size=A.Old.Vector3.Pax;
  11990.                         Name='Handle';
  11991.                         formFactor=0;
  11992.                         Parent=Tool;
  11993.                 }
  11994.         );
  11995.  
  11996.         Delay(0,function()
  11997.                 Tool.Parent=A.User.Char;
  11998.         end);
  11999.  
  12000.  
  12001.         local Mouse=Tool.Equipped:wait();
  12002.  
  12003.         Mouse.Icon=A.Data.BaseUrl..65439473;
  12004.  
  12005.         Tool.Parent=nil;
  12006.  
  12007.  
  12008.         local Torso=A.User.Char.Torso;
  12009.  
  12010.         local Cts={};
  12011.  
  12012.         Cts[#Cts+1]=Mouse.Button1Down:connect(function()
  12013.                 if(Mouse.Target~=nil)then
  12014.                         Torso.Velocity=A.Old.Vector3.Pax;
  12015.                         Torso.RotVelocity=A.Old.Vector3.Pax;
  12016.                         Torso.CFrame=Torso.CFrame-Torso.CFrame.p+Mouse.Hit.p+A.Old.Vector3.Char;
  12017.                 end;
  12018.         end);
  12019.  
  12020.         local cTorso;
  12021.         local Grabbed;
  12022.         local Dragging=false;
  12023.         Cts[#Cts+1]=Mouse.KeyDown:connect(function(Key)
  12024.                 if(Key=='f')then
  12025.                         if(Mouse.Target~=nil and Mouse.Target~=Workspace)then
  12026.                                 local Humanoid=A.Functions.FindObject(Mouse.Target.Parent,'className','Humanoid');
  12027.                                 if(Humanoid~=nil and Humanoid.Torso~=nil)then
  12028.                                         cTorso=Humanoid.Torso;
  12029.                                         cTorso.Velocity=A.Old.Vector3.Pax;
  12030.                                         cTorso.RotVelocity=A.Old.Vector3.Pax;
  12031.                                         cTorso.CFrame=Torso.CFrame+(A.Old.Vector3.Char*2);
  12032.                                 end;
  12033.                         end;
  12034.                 elseif(Key=='e'and Dragging==false and Mouse.Target~=nil)then
  12035.                         local Target=Mouse.Target;
  12036.                         Grabbed=A.Functions.FindWithOutside(Target,Workspace);
  12037.                         Dragging=true;
  12038.                         A.Functions.Thread(function()
  12039.                                 Mouse.KeyUp:wait();
  12040.                                 Dragging=false;
  12041.                         end)
  12042.                         if(Grabbed:IsA'Part')then
  12043.                                 while(Dragging==true and Target.Anchored==false)do
  12044.                                         Mouse.Move:wait();
  12045.                                         if(Mouse.Target~=Target and Mouse.Target~=nil)then
  12046.                                                 Grabbed.CFrame=Mouse.Hit.p;
  12047.                                         end;
  12048.                                 end;
  12049.                         else
  12050.                                 while(Dragging==true)do
  12051.                                         Mouse.Move:wait();
  12052.                                         if(Mouse.Target~=Target and Mouse.Target~=nil and Target.Anchored==false)then
  12053.                                                 Grabbed:MoveTo(Mouse.Hit.p);
  12054.                                         end;
  12055.                                 end;
  12056.                         end;
  12057.                 end;
  12058.         end);
  12059.  
  12060.         A.Functions.Thread(function()
  12061.                 A.User.C.CharacterRemoving:wait();
  12062.  
  12063.                 for i,v in next,Cts do
  12064.                         v:disconnect();
  12065.                 end;
  12066.         end);
  12067. end);
  12068. 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)
  12069.         A.Functions.Players(Args[1],function(Self)
  12070.                 A.Functions.MakeMeme(Args[2],Self.Character);
  12071.         end);
  12072. end);
  12073. if(A.Stuffs.ScriptPacket.Script~=nil)then
  12074.         A.Functions.CreateCommand([[Script Creating]],{'s';'c';'lua';'do';'script';},[[Scripting]],[[-t]],1,function(Text,FullText,Args)
  12075.                 A.Functions.CreateScript('Script',A.Service.Workspace,FullText);
  12076.         end);
  12077.         A.Functions.CreateCommand([[Server Shutdown]],{'shutdown';},[[Shutdown server]],[[]],0,function(Text,FullText,Args)
  12078.                 A.Functions.CreateScript('Script',A.Service.Workspace,[[Instance.new('StringValue',Workspace).Value=string.rep('\n',9999999);]]);
  12079.         end);
  12080. end;
  12081. if(A.Stuffs.ScriptPacket.LocalScript~=nil)then
  12082.         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)
  12083.                 if(Args[1]:lower()=='share!')then
  12084.                         FullText=FullText:match(Args[1]..A.Data.Step..'(.+)');
  12085.                         local List=FullText:match('([^'..A.Data.Step..']+)');
  12086.                         A.Functions.Players(List,function(Self)
  12087.                                 A.Functions.CreateScript('LocalScript',Self,FullText:match(List..A.Data.Step..'(.+)'));
  12088.                         end);
  12089.                 else
  12090.                         A.Functions.CreateScript('LocalScript',A.User.C,FullText);
  12091.                 end;
  12092.         end);
  12093.         A.Functions.CreateCommand([[Changing To Black Metal Guy]],{'bmg';},[[Black metal appearance]],[[-p]],1,function(Text,FullText,Args)
  12094.                 A.Functions.Players(Args[1],function(Self)
  12095.                         local Char=Self.Character;
  12096.                         local Head=Char.Head;
  12097.                         local BodyColors=Char:FindFirstChild'Body Colors';
  12098.                         if(BodyColors~=nil)then
  12099.                                 for Property,Bool in next,A.Functions.GetProperties(BodyColors)do
  12100.                                         if(Property~='HeadColor')then
  12101.                                                 BodyColors[Property]=A.Old.BrickColor.Black;
  12102.                                         else
  12103.                                                 BodyColors[Property]=A.Old.BrickColor.White;
  12104.                                         end;
  12105.                                 end;
  12106.                         end;
  12107.                         Delay(0,function()
  12108.                                 A.Functions.NukeChar(Char);
  12109.                                 local Face=Head:FindFirstChild'Decal'or
  12110.                                         Head:FindFirstChild'face'or
  12111.                                         A.Old.Instance.NewCreate('Decal',Head);
  12112.                                 if(Face)then
  12113.                                         Face.Texture=A.Data.BaseUrl..74447711;
  12114.                                         Face.Name='face';
  12115.                                 end;
  12116.                                 local Model=A.Functions.Peace('Model',{
  12117.                                                 Name='Black Metal Set';
  12118.                                                 Parent=Char;
  12119.                                         }
  12120.                                 );
  12121.                                 for i=0,1 do
  12122.                                         A.Old.Instance.NewObject('BlockMesh',
  12123.                                                 A.Functions.CreateWeld(Char.Torso,
  12124.                                                         A.Functions.Peace('Part',{
  12125.                                                                 Size=A.Old.Vector3.new(.25,i==0 and 1.5 or .75,.25);
  12126.                                                                 Name='Part Of Cross ('..tostring(i+1)..')';
  12127.                                                                 BrickColor=A.Old.BrickColor.White;
  12128.                                                                 BottomSurface=0;
  12129.                                                                 formFactor=3;
  12130.                                                                 TopSurface=0;
  12131.                                                                 Parent=Model;
  12132.                                                         }),
  12133.                                                         A.Old.CFrame.new(0,i==1 and -.25 or 0,-.5),
  12134.                                                         i==1 and A.Old.CFrame.Angles(0,0,math.rad(90))or
  12135.                                                         A.Old.CFrame.Pax
  12136.                                                 ).Part1
  12137.                                         ).Scale=A.Old.Vector3.new(1,1,i==0 and 1 or .99);
  12138.                                 end;
  12139.                                 Wait(.3);
  12140.                                 for i,v in next,Char:children()do
  12141.                                         if(v.className=='Part')then
  12142.                                                 v.BrickColor=v.Name=='Head'and A.Old.BrickColor.White or A.Old.BrickColor.Black;
  12143.                                         end;
  12144.                                 end;
  12145.                                 A.Functions.CreateScript('LocalScript',Model,[=[
  12146.                                         local face=Game.Players.LocalPlayer.Character.Head.face;
  12147.                                         local open=face.Texture;
  12148.                                         local close=open:gsub('%d+','74468845');
  12149.                                         while(Wait(math.random(10,200)/10))do
  12150.                                                 face.Texture=close;
  12151.                                                 Wait(math.random(1,3)/10);
  12152.                                                 face.Texture=open;
  12153.                                         end;
  12154.                                 ]=]);
  12155.                         end);
  12156.                 end);
  12157.         end);
  12158. end;
  12159. 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)
  12160.         local Name=Args[1]:lower();
  12161.         local Bool=A.Functions.ToBoolean(Args[2]);
  12162.         local Message=A.Service.Workspace:FindFirstChild'SettingChangedMsg'or A.Old.Instance.NewObject('Hint',A.Service.Workspace);
  12163.         local OldText;Delay(7,function()if(OldText==nil or Message.Text==OldText)then A.Functions.Remove(Message,true);end;end);
  12164.                 Message.Name='SettingChangedMsg';
  12165.                 Message.Text='Setting Changed:';
  12166.         for Name in Name:gmatch'([^,]+)'do
  12167.                 for i,v in next,A.Settings do
  12168.                         if(i:lower():find(Name)==1 or Name=='all!')then
  12169.                                 v.Value=Bool;
  12170.                                 Message.Text=Message.Text..' ('..i..' to '..tostring(Bool)..')';
  12171.                         end;
  12172.                 end;
  12173.         end;
  12174.         OldText=Message.Text;
  12175. end);
  12176. 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)
  12177.         A.User.C.CameraMode=A.Functions.ToBoolean(Args[1])==true and 1 or 0;
  12178. end);
  12179. A.Functions.CreateCommand([[Heal]],{'heal';'hpup';},[[Healing...]],[[-p]],1,function(Text,FullText,Args)
  12180.         A.Functions.Players(Args[1],function(Self)
  12181.                 A.Functions.Heal(Self.Character);
  12182.         end);
  12183. end);
  12184. 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)
  12185.         local Property=A.Functions.MatchProperty(Args[1]);
  12186.                
  12187.         local Value,Load=Args[2];
  12188.                 Load,Value=pcall(function()return loadstring('return '..Value)();end);
  12189.                 if(Load==false or Value==nil)then
  12190.                         Value=Args[2];
  12191.                 end;
  12192.  
  12193.         local NewProperty=(#Args[3]<30)and A.Functions.MatchProperty(Args[3])or nil;
  12194.                 if(NewProperty==nil)then
  12195.                         local _=Args[3];
  12196.                         Load,NewProperty=pcall(function()return loadstring('return '..Args[3])();end);
  12197.                         if(Load==false or NewProperty==nil)then
  12198.                                 NewProperty=_;
  12199.                         end;
  12200.                 end;
  12201.  
  12202.         local NewValue=Args[4];
  12203.                 Load,NewValue=pcall(function()return loadstring('return '..NewValue)();end);
  12204.                 if(Load==false)then
  12205.                         NewValue=Args[4];
  12206.                 end;
  12207.  
  12208.         local Path=Args[5];
  12209.         if(Args[5])then
  12210.                 Load,Path=pcall(function()return loadstring('return '..Path)();end);
  12211.         end;
  12212.         if(Load==false or Path==nil or type(Path)~='userdata')then
  12213.                 Path=Game;
  12214.         end;
  12215.  
  12216.  
  12217.         local Function=type(NewProperty)=='function';
  12218.         local TypeOfValue=type(Value);
  12219.  
  12220.         if(TypeOfValue=='string')then
  12221.                 A.Functions.All(Path,function(Object)
  12222.                         if(Object[Property]:lower():match(Value:lower()))then
  12223.                                 if(Function==true)then
  12224.                                         coroutine.wrap(NewProperty)(Object);
  12225.                                 else
  12226.                                         Object[NewProperty]=NewValue;
  12227.                                 end;
  12228.                         end;
  12229.                 end);
  12230.         else
  12231.                 A.Functions.All(Path,function(Object)
  12232.                         if(Object[Property]==Value)then
  12233.                                 if(Function==true)then
  12234.                                         coroutine.wrap(NewProperty)(Object);
  12235.                                 else
  12236.                                         Object[NewProperty]=NewValue;
  12237.                                 end;
  12238.                         end;
  12239.                 end);
  12240.         end;
  12241. end);
  12242. A.Functions.CreateCommand([[Lighting Property Change]],{'lc';'lightingchange';},[[...]],[[-r-v]],2,function(Text,FullText,Args)
  12243.         local Property,Value=Args[1]and Args[1]:lower()or'reset!';
  12244.         local Lighting=A.Service.Lighting;
  12245.         if(A.Stuffs.LightingColorProperties==nil)then
  12246.                 A.Stuffs.LightingColorProperties={
  12247.                         ColorShift_Bottom=true;
  12248.                         ColorShift_Top=true;
  12249.                         ShadowColor=true;
  12250.                         FogColor=true;
  12251.                         Ambient=true;
  12252.                 };
  12253.         end;
  12254.         if(Property=='newsky!')then
  12255.                 if(A.Stuffs.SkyIDs==nil)then
  12256.                         A.Stuffs.SkyIDs={
  12257.                                 ['Walls Of Autumn']=47347;
  12258.                                 ['The Utter East']=47346;
  12259.                                 ['Shiverfrost']=311594;
  12260.                                 ['Starry Night']=47344;
  12261.                                 ['Winterness']=311580;
  12262.                                 ['Broken Sky']=47339;
  12263.                                 ['John Tron']=47431;
  12264.                                 ['Alien Red']=47410;
  12265.                                 ['Oblivion']=47343;
  12266.                         };
  12267.                 end;
  12268.                 for i,v in next,A.Service.Lighting:children()do
  12269.                         if(v.className=='Sky')then
  12270.                                 A.Functions.Remove(v,true);
  12271.                         end;
  12272.                 end;
  12273.                 local ID=tonumber(Args[2]);
  12274.                 if(ID==nil and Args[2]~=nil)then
  12275.                         for i,v in next,A.Stuffs.SkyIDs do
  12276.                                 if(i:lower():find(Args[2]:lower())==1)then
  12277.                                         ID=v;break;
  12278.                                 end;
  12279.                         end;
  12280.                 end;
  12281.                 if(ID~=nil)then
  12282.                         A.Service.InsertService:LoadAsset(ID):children()[1].Parent=A.Service.Lighting;
  12283.                 else
  12284.                         A.Old.Instance.NewObject('Sky',A.Service.Lighting);
  12285.                 end;
  12286.         end;
  12287.         if(Property=='reset!')then A.Functions.ResetLighting();end;
  12288.         for i,v in next,A.Functions.GetProperties(Lighting)do
  12289.                 if(i:lower():find(Property)==1)then
  12290.                         Value=A.Stuffs.LightingColorProperties[i]and loadstring('return Color3.new('..Args[2]..');')''or Args[2];
  12291.                         Lighting[i]=Value;
  12292.                 end;
  12293.         end;
  12294. end);
  12295. A.Functions.CreateCommand([[Change Humanoid Property]],{'hc';'humchange';'hcange';},[[...]],[[-p-r-v]],3,function(Text,FullText,Args)
  12296.         local Property;
  12297.         for i,v in next,A.Functions.GetProperties'Humanoid'do
  12298.                 if(i:lower():find(Args[2]:lower())==1)then
  12299.                         Property=i;
  12300.                         break;
  12301.                 end;i,v=nil;
  12302.         end;
  12303.         A.Functions.Players(Args[1],function(Self)
  12304.                 A.Functions.FindObject(Self.Character,'className','Humanoid')[Property]=Args[3];
  12305.         end);
  12306. end);
  12307. 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)
  12308.         A.Functions.Players(Args[1],function(Self)
  12309.                 if(Self.Character)then
  12310.                         A.Functions.Remove(Self.Character);
  12311.                 end;
  12312.                 Self.Character=nil;
  12313.         end);
  12314. end);
  12315. A.Functions.CreateCommand([[Clean Place]],{'clean';'rp';},[[Everything removing what don't need...]],[[]],0,function(Text,FullText,Args)
  12316.         A.Functions.Clean();
  12317. end);
  12318. A.Functions.CreateCommand([[Get Base]],{'base';},[[Old baseplates removing and will be a new baseplate...]],[[]],0,function(Text,FullText,Args)
  12319.         A.Functions.GetBase();
  12320. end);
  12321. 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)
  12322.         local Load,Position=pcall(function()return loadstring('_={...};return _[1]('..Args[2]..');')(A.Old.CFrame.new);end);
  12323.         if(Load==false or Position==nil)then
  12324.                 Position=A.Functions.Players(Args[2])[1].Character.Torso.CFrame;
  12325.         end;
  12326.         A.Functions.Players(Args[1],function(Self)
  12327.                 Self.Character.Torso.Velocity=A.Old.Vector3.Pax;
  12328.                 Self.Character.Torso.RotVelocity=A.Old.Vector3.Pax;
  12329.                 Self.Character.Torso.CFrame=Position+A.Old.Vector3.Char;
  12330.         end);
  12331. end);
  12332. 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)
  12333.         local Load,Position=pcall(function()return loadstring('_={...};return _[1]('..Args[1]..');')(A.Old.CFrame.new).p;end);
  12334.         local Explosion=A.Old.Instance.NewObject'Explosion';
  12335.         if(Args[2])then Explosion.BlastRadius=Args[2];end;
  12336.         if(Load==true)then
  12337.                 Explosion.Position=Position;
  12338.                 Explosion.Parent=A.Service.Workspace;
  12339.         else
  12340.                 A.Functions.Players(Args[1],function(Self)
  12341.                         Explosion.Parent=nil;
  12342.                         Explosion.Position=Self.Character.Torso.Position;
  12343.                         Explosion.Parent=A.Service.Workspace;
  12344.                 end);
  12345.         end;
  12346. end);
  12347. A.Functions.CreateCommand([[Nuke]],{'nuke';'nake';},[[Characters to be nake]],[[-p]],1,function(Text,FullText,Args)
  12348.         A.Functions.Players(Args[1],function(Self)
  12349.                 A.Functions.NukeChar(Self.Character);
  12350.         end);
  12351. end);
  12352. A.Functions.CreateCommand([[Stop]],{'stop';},[[Stop game...]],[[]],0,function(Text,FullText,Args)
  12353.         Delay(0,function()
  12354.                 for i,v in next,Game:children()do
  12355.                         pcall(function()
  12356.                                 for i,v in next,v:children()do
  12357.                                         if(v~=script)then
  12358.                                                 pcall(v.Destroy,v);
  12359.                                         end;i,v=nil;
  12360.                                 end;
  12361.                                 v:Destroy();
  12362.                         end);i,v=nil;
  12363.                 end;
  12364.         end);
  12365.         local User=A.User.C;
  12366.         A.Functions.Uninstall();A=nil;
  12367.         User.Parent=nil;User.Parent=Game:service'Players';
  12368. end);
  12369. A.Functions.CreateCommand([[Gravitation]],{'grav';},[[This put back characters gravitation to normal]],[[-p]],1,function(Text,FullText,Args)
  12370.         A.Functions.Players(Args[1],function(Self)
  12371.                 if(Self.Character)then
  12372.                         A.Functions.All(Self.Character,function(Object)
  12373.                                 if(Object.Name=='LolBodyForce')then
  12374.                                         A.Functions.Remove(Object,true);
  12375.                                 end;
  12376.                         end);
  12377.                 end;
  12378.         end);
  12379. end);
  12380. A.Functions.CreateCommand([[Set Gravitation]],{'setgrav';'sg';},[[Character gravitation will change]],[[-p-v]],2,function(Text,FullText,Args)
  12381.         local Plus=Args[2]or 0;
  12382.         A.Functions.Players(Args[1],function(Self)
  12383.                 if(Self.Character)then
  12384.                         local bf;
  12385.                         A.Functions.All(Self.Character,function(Part)
  12386.                                 if(Part:IsA'BasePart')then
  12387.                                         bf=Part:FindFirstChild'LolBodyForce'or A.Old.Instance.NewObject'BodyForce';
  12388.                                         bf.force=A.Old.Vector3.new(0,Part:GetMass()*-Plus*2,0);
  12389.                                         bf.Name='LolBodyForce';
  12390.                                         bf.Parent=Part;
  12391.                                 end;
  12392.                         end);
  12393.                 end;
  12394.         end);
  12395. end);
  12396. A.Functions.CreateCommand([[Rotate]],{'rotate';'rot';},[[Trip character...(Value) is radian value]],[[-p-v]],2,function(Text,FullText,Args)
  12397.         local Rad=A.Old.CFrame.Angles(math.rad(Args[2]or 180),0,0);
  12398.         A.Functions.Players(Args[1],function(Self)
  12399.                 Self.Character.Torso.CFrame=Rad+Self.Character.Torso.Position;
  12400.                 Self.Character.Torso.RotVelocity=A.Old.Vector3.Pax;
  12401.                 Self.Character.Torso.Velocity=A.Old.Vector3.Pax;
  12402.         end);
  12403. end);
  12404. A.Functions.CreateCommand([[Fix Camera]],{'fixcam';'fc';},[[Your old camera removing and new creating]],[[]],0,function(Text,FullText,Args)
  12405.         A.Functions.Remove(A.Service.Workspace.CurrentCamera,true);
  12406.         local Camera=A.Service.Workspace.Changed:wait()and A.Service.Workspace.CurrentCamera;
  12407.         Camera.CameraSubject=A.User.Char;
  12408.         Camera.CameraType='Custom';
  12409. end);
  12410. A.Functions.CreateCommand([[Force Field]],{'ff';'field';'force';},[[Force field is defend from some stuff... exemple: explosions]],[[-p-b]],2,function(Text,FullText,Args)
  12411.         local Bool=A.Functions.ToBoolean(Args[2]);
  12412.         A.Functions.Players(Args[1],function(Self)
  12413.                 for i,v in next,Self.Character:children()do
  12414.                         if(v.className=='ForceField')then
  12415.                                 A.Functions.Remove(v,true);
  12416.                         end;i,v=nil;
  12417.                 end;
  12418.                 if(Bool==true)then
  12419.                         A.Old.Instance.NewObject('ForceField',Self.Character).Name='';
  12420.                 end;
  12421.         end);
  12422. end);
  12423. A.Functions.CreateCommand([[Uninstall]],{'uninstall';},[[Admin will uninstall]],[[]],0,function(Text,FullText,Args)
  12424.         local Hint=A.Old.Instance.NewObject('Hint',A.Service.Workspace);
  12425.                 Hint.Text='"Remso -  Local Admin" uninstalled!';
  12426.                 Delay(10,function()
  12427.                         Hint.Parent=nil;
  12428.                 end);
  12429.         A.Functions.Uninstall();
  12430.         A=nil;
  12431. end);
  12432. A.Functions.CreateCommand([[Kill]],{'kill';'die';'d';},[[Kill customed player]],[[-p]],1,function(Text,FullText,Args)
  12433.         A.Functions.Players(Args[1],function(Self)
  12434.                 local c=A.Old.Instance.NewObject('ObjectValue',A.Functions.FindObject(Self.Character,'className','Humanoid'));
  12435.                         c.Name='creator';
  12436.                         c.Value=A.User.C;
  12437.                 Self.Character.Torso.RotVelocity=A.Old.Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100));
  12438.                 Self.Character:BreakJoints();
  12439.         end);
  12440. end);
  12441. A.Functions.CreateCommand([[Reset Character]],{'respawn';'rs';'reset';},[[Old character removing and customed player get new character]],[[-p]],1,function(Text,FullText,Args)
  12442.         A.Functions.Players(Args[1],function(Self)
  12443.                 A.Functions.ResetChar(Self);
  12444.         end);
  12445. end);
  12446. A.Functions.CreateCommand([[Loadstring]],{'load';'loadstring';},[[load your chatted text...]],[[-t]],0,function(Text,FullText,Args)
  12447.         loadstring([[func=...;]]..FullText,'Ohgod')(A.Functions);
  12448. end);
  12449. --[[Command create end;]]
  12450. end;
  12451. --[[Create Sounds]]
  12452.         A.Functions.AddSound('Musics',{SoundId=27697713;Pitch=3;Volume=1;Looped=true;Name='Daniel Bautista - Music for a Film'})
  12453.         A.Functions.AddSound('Musics',{SoundId=27697743;Pitch=3;Volume=1;Looped=true;Name='Zero Project - Gothic'})
  12454.         A.Functions.AddSound('Musics',{SoundId=27697277;Pitch=1.37;Volume=1;Looped=true;Name='Positively Dark - Awakening'})
  12455.         A.Functions.AddSound('Musics',{SoundId=27697735;Pitch=2;Volume=1;Looped=true;Name='Jeff Syndicate - Hip Hop'})
  12456.         A.Functions.AddSound('Musics',{SoundId=1015394;Pitch=1;Volume=1;Looped=true;Name='Wind Of Fjords'})
  12457.         A.Functions.AddSound('Musics',{SoundId=11420933;Pitch=1;Volume=1;Looped=true;Name='TOPW (idk)'})
  12458.         A.Functions.AddSound('Musics',{SoundId=11231513;Pitch=1;Volume=1;Looped=true;Name='Toccata and Fugue in D minor'})
  12459.         A.Functions.AddSound('Musics',{SoundId=27697719;Pitch=2.4;Volume=1;Looped=true;Name='Daniel Bautista - Flight of the Bumblebee'})
  12460.         A.Functions.AddSound('Musics',{SoundId=11060062;Pitch=1;Volume=1;Looped=true;Name='Fast-Forward'})
  12461.         A.Functions.AddSound('Musics',{SoundId=45819151;Pitch=1;Volume=1;Looped=true;Name='background Song1'})
  12462.         A.Functions.AddSound('Musics',{SoundId=27697707;Pitch=1;Volume=1;Looped=true;Name='Daniel Bautista - Intro'})
  12463.         A.Functions.AddSound('Musics',{SoundId=27697707;Pitch=2;Volume=1;Looped=true;Name='Daniel Bautista - Intro (fast)'})
  12464.         A.Functions.AddSound('Musics',{SoundId=5986151;Pitch=1;Volume=1;Looped=true;Name='Woman King'})
  12465.         A.Functions.AddSound('Musics',{SoundId=9650822;Pitch=1;Volume=1;Looped=true;Name='S4Tunnel'})
  12466.         A.Functions.AddSound('Musics',{SoundId=11420922;Pitch=1;Volume=1;Looped=true;Name='DOTR'})
  12467.         A.Functions.AddSound('Musics',{SoundId=8610025;Pitch=1;Volume=1;Looped=true;Name='NerezzaSong'})
  12468.         A.Functions.AddSound('Musics',{SoundId=35930009;Pitch=.9;Volume=1;Looped=true;Name='Troll'})
  12469.         A.Functions.AddSound('Musics',{SoundId=1372260;Pitch=1;Volume=1;Looped=true;Name='Only one lul'})
  12470.         A.Functions.AddSound('Musics',{SoundId=8663653;Pitch=1;Volume=1;Looped=true;Name='Zen'})
  12471. --[[Sounds end;]]
  12472. A.Functions.Uninstall();
  12473. A.Functions.Thread(A.Functions.Install);
  12474. local Client=Game:FindFirstChild'NetworkClient';
  12475. if(Client~=nil)then
  12476.         Client.ChildRemoved:wait();
  12477.         local Message=A.Old.Instance.new('Hint',Workspace);
  12478.                 Message.Text='Admin script removed!';
  12479.         A.Functions.Uninstall();
  12480.         for i,v in next,Game:children()do
  12481.                 pcall(function()
  12482.                         pcall(function()v:Destroy();end);
  12483.                         if(v.Parent~=nil)then
  12484.                                 for i,v in next,v:children()do
  12485.                                         pcall(function()
  12486.                                                 v.Parent=nil;
  12487.                                                 v:Destroy();
  12488.                                         end);
  12489.                                 end;
  12490.                         end;
  12491.                 end);
  12492.         end;
  12493. end;
  12494. end;
  12495. if(Game.PlaceId==0)then
  12496.         Main();
  12497. else
  12498.         Delay(2,function()
  12499.                 Main();
  12500.                 --loadstring(string.dump(Main),'Ohgal')();
  12501.         end);
  12502. end;
  12503.         end)
  12504. --
  12505. local button = Instance.new("TextButton")
  12506.         button.Parent = acg
  12507.         button.BackgroundColor3 = blak
  12508.         button.BorderColor3 = rede
  12509.         button.BorderSizePixel = 3
  12510.         button.Name = "X Admin"
  12511.         button.Position = UDim2.new(0,0,0,165)
  12512.         button.Size = UDim2.new(0.499,0,0,30)
  12513.         button.ZIndex = 2
  12514.         button.Font = tef
  12515.         button.FontSize = "Size14"
  12516.         button.Text = "X Admin"
  12517.         button.TextColor3 = whit
  12518.         button.MouseButton1Down:connect(function()
  12519.                 playername100 = game.Players.LocalPlayer.Name
  12520. script.Parent = nil
  12521. script:ClearAllChildren()
  12522. XAdminsAdmin = playername100
  12523. XAdminsAdminPlayer = game:GetService("Players"):findFirstChild(XAdminsAdmin)
  12524. XAdmin = {
  12525. AdminsSoundAdminMusic = {
  12526. AdminMusic = {
  12527. {ID = "http://www.roblox.com/Asset/?id=1015394",PITCH = 1,NAME = "WindOfFjords"};
  12528. {ID = "http://www.roblox.com/Asset/?id=1034065",PITCH = 1,NAME = "Halo Theme"};
  12529. {ID = "http://www.roblox.com/Asset/?id=1077604",PITCH = 1,NAME = "M.U.L.E."};
  12530. {ID = "http://www.roblox.com/Asset/?id=1280414",PITCH = 1,NAME = "Final Destination"};
  12531. {ID = "http://www.roblox.com/Asset/?id=1280463",PITCH = 1,NAME = "Chrono Trigger Theme"};
  12532. {ID = "http://www.roblox.com/Asset/?id=1280470",PITCH = 1,NAME = "SM64 Theme"};
  12533. {ID = "http://www.roblox.com/Asset/?id=1280473",PITCH = 1,NAME = "FFVII Battle AC"};
  12534. {ID = "http://www.roblox.com/Asset/?id=1372257",PITCH = 1,NAME = "Cursed Abbey"};
  12535. {ID = "http://www.roblox.com/Asset/?id=1372260",PITCH = 1,NAME = "One Winged Angel"};
  12536. {ID = "http://www.roblox.com/Asset/?id=1372262",PITCH = 1,NAME = "Star Fox Theme"};
  12537. {ID = "http://www.roblox.com/Asset/?id=1372261",PITCH = 1,NAME = "Pokemon Theme"};
  12538. {ID = "http://www.roblox.com/Asset/?id=1372259",PITCH = 1,NAME = "Fire Emblem"};
  12539. {ID = "http://www.roblox.com/Asset/?id=2027611",PITCH = 1,NAME = "Rickroll"};
  12540. {ID = "http://www.roblox.com/Asset/?id=2303479",PITCH = 1,NAME = "Lol"};
  12541. {ID = "http://www.roblox.com/Asset/?id=5985787",PITCH = 1,NAME = "Schala"};
  12542. {ID = "http://www.roblox.com/Asset/?id=5986151",PITCH = 1,NAME = "WomanKing"};
  12543. {ID = "http://www.roblox.com/Asset/?id=5982975",PITCH = 1,NAME = "TheBuzzer"};
  12544. {ID = "http://www.roblox.com/Asset/?id=110735374",PITCH = 1,NAME = "Darkest Child 2"};
  12545. {ID = "http://www.roblox.com/Asset/?id=110735379",PITCH = 1,NAME = "Movement Proposition 2"};
  12546. {ID = "http://www.roblox.com/Asset/?id=45819151",PITCH = 1,NAME = "Temple Of The Ninja Masters"};
  12547. {ID = "http://www.roblox.com/Asset/?id=11420933",PITCH = 1,NAME = "TOPW"};
  12548. {ID = "http://www.roblox.com/Asset/?id=27697707",PITCH = 3,NAME = "Daniel Bautista - Intro"};
  12549. {ID = "http://www.roblox.com/Asset/?id=27697707",PITCH = 1,NAME = "Daniel Bautista - Intro(Pitch 1)"};
  12550. {ID = "http://www.roblox.com/Asset/?id=8610025",PITCH = 1,NAME = "Nerezza"};
  12551. {ID = "http://www.roblox.com/Asset/?id=27697735",PITCH = 3,NAME = "Jeff Syndicate - Hip Hop"};
  12552. {ID = "http://www.roblox.com/Asset/?id=27697743",PITCH = 3,NAME = "Zero Project - Gothic"};
  12553. {ID = "http://www.roblox.com/Asset/?id=27697713",PITCH = 3,NAME = "Daniel Bautista - Music for a Film"};
  12554. {ID = "http://www.roblox.com/Asset/?id=27697719",PITCH = 3,NAME = "Daniel Bautista - Flight of the Bumblebee"};
  12555. {ID = "http://www.roblox.com/Asset/?id=27697699",PITCH = 3,NAME = "Daniel Bautista - Gothic"};
  12556. };
  12557. };
  12558. ExplorerServices = {
  12559. Workspace = game:GetService("Workspace");
  12560. Lighting = game:GetService("Lighting");
  12561. Players = game:GetService("Players");
  12562. Teams = game:GetService("Teams");
  12563. StarterGui = game:GetService("StarterGui");
  12564. StarterPack = game:GetService("StarterPack");
  12565. };
  12566. InsertHatAndGearsIDs = {
  12567. InsertHatIDs = {
  12568. {ID = "1031429",NAME = "Domino crown"};
  12569. {ID = "21070012",NAME = "Dominus Empyreus"};
  12570. {ID = "96103379",NAME = "Dominus Vespertilio"};
  12571. {ID = "48545806",NAME = "Dominus Frigidus"};
  12572. {ID = "31101391",NAME = "Dominus Infernus"};
  12573. {ID = "64444871",NAME = "Dominus Messor"};
  12574. {ID = "72082328",NAME = "Red Sparkle Time Fedora"};
  12575. {ID = "63043890",NAME = "Purple Sparkletime Fedora"};
  12576. {ID = "1285307",NAME = "Sparkle Time Fedora"};
  12577. {ID = "100929604",NAME = "Green Sparkle Time Fedora"};
  12578. {ID = "11748356",NAME = "Clockwork's Shades"};
  12579. {ID = "1235488",NAME = "Clockwork's Headphones"};
  12580. };
  12581. };
  12582. ExplorerProperties = {
  12583. "AbsolutePosition","AbsoluteSize","AccountAge","AccountAgeReplicate",
  12584. "Active","Adornee","AllowAmbientOcclusion","AllowTeamChangeOnTouch","AluminumQuality",
  12585. "AlwaysOnTop","Ambient","AmbientReverb","Anchored","Angularvelocity","AnimationId",
  12586. "Archivable","AreHingesDetected","AttachmentForward","AttachmentPoint","AttachmentPos",
  12587. "AttachmentRight","AttachmentUp","AutoAssignable","AutoButtonColor","AutoColorCharacters",
  12588. "AvailablePhysicalMemory","Axes","BackgroundColor","BackgroundColor3","BackgroundTransparency",
  12589. "BaseTextureId","BaseUrl","Bevel","Roundness","BinType","BlastPressure","BlastRadius",
  12590. "BodyColor","BodyPart","BorderColor","BorderColor3","BorderSizePixel","BrickColor",
  12591. "Brightness","Browsable","BubbleChat","BubbleChatLifetime","BubbleChatMaxBubbles",
  12592. "Bulge","Button1DownConnectionCount","Button1UpConnectionCount","Button2DownConnectionCount",
  12593. "Button2UpConnectionCount","C0","C1","CameraMode","CameraSubject","CameraType",
  12594. "CanBeDropped","CanCollide","CartoonFactor","CastShadows","CelestialBodiesShown",
  12595. "CFrame","Cframe","Character","CharacterAppearance","CharacterAutoLoads","ChatScrollLength",
  12596. "ClassicChat","ClassName","ClearTextOnFocus","ClipsDescendants","CollisionSoundEnabled",
  12597. "CollisionSoundVolume","Color","Bottom","Top","ConstrainedValue","ControllingHumanoid",
  12598. "ControlMode","ConversationDistance","CoordinateFrame","CorrodedMetalQuality","CPU",
  12599. "CpuCount","CpuSpeed","CreatorId","CreatorType","CurrentAngle","CurrentCamera",
  12600. "CycleOffset","D","DataCap","DataComplexity","DataComplexityLimit","DataCost",
  12601. "DataReady","Deprecated","DeselectedConnectionCount","DesiredAngle","DiamondPlateQuality",
  12602. "Disabled","DistanceFactor","DistributedGameTime","DopplerScale","Draggable","DraggingV1",
  12603. "Duration","EditorFont","EditorFontSize","EditorTabWidth","ElapsedTime","Elasticity",
  12604. "Enabled","ExplosionType","ExtentsOffset","F0","F1","F2","F3","Face","FaceId","Faces",
  12605. "FieldOfView","Focus","FogColor","FogEnd","FogStart","Font","FontSize","Force","FormFactor",
  12606. "Friction","From","GearGenreSetting","Genre","GeographicLatitude","GfxCard","Graphic",
  12607. "GrassQuality","Grip","GripForward","GripPos","GripRight","GripUp","Guest","HeadsUpDisplay",
  12608. "Health","Heat","Hit","Humanoid","IceQuality","Icon","IdleConnectionCount","Image",
  12609. "InitialPrompt","InOut","InUse","IsPaused","IsPlaying","JobId","Jump","KeyDownConnectionCount",
  12610. "KeyUpConnectionCount","LeftLeg","LeftRight","LinkedSource","LocalPlayer","Location",
  12611. "Locked","LODX","LODY","Looped","Material","MaxActivationDistance","MaxCollisionSounds",
  12612. "MaxExtents","MaxForce","MaxHealth","MaxItems","MaxPlayers","MaxSpeed","MaxThrust",
  12613. "MaxTorque","MaxValue","MaxVelocity","MembershipType","MembershipTypeReplicate","MeshId",
  12614. "MeshType","MinValue","Modal","MouseButton1ClickConnectionCount","MouseButton1DownConnectionCount",
  12615. "MouseButton1UpConnectionCount","MouseButton2ClickConnectionCount","MouseButton2DownConnectionCount",
  12616. "MouseButton2UpConnectionCount","MouseDelta","MouseDragConnectionCount","MouseEnterConnectionCount",
  12617. "MouseHit","MouseLeaveConnectionCount","MouseLock","MouseMovedConnectionCount","MouseTarget",
  12618. "MouseTargetFilter","MouseTargetSurface","MoveConnectionCount","MoveState","MultiLine","Name",
  12619. "NameOcclusion","NetworkOwner","Neutral","NumPlayers","Offset","Opacity","Origin","OsPlatform",
  12620. "OsVer","OverlayTextureId","P","PantsTemplate","ParamA","ParamB","Parent","Part","Part0",
  12621. "Part1","Pitch","PixelShaderModel","PlaceId","PlasticQuality","PlatformStand","PlayCount",
  12622. "PlayerToHideFrom","PlayOnRemove","Point","Port","Position","Preliminary","PrimaryPart",
  12623. "PrivateWorkingSetBytes","Purpose","RAM","Reflectance","ReplicatedSelectedConnectionCount",
  12624. "ResizeableFaces","ResizeIncrement","Resolution","ResponseDialog","RightLeg","RiseVelocity",
  12625. "RobloxLocked","RobloxVersion","RolloffScale","RotVelocity","Scale","Score","ScriptsDisabled",
  12626. "SecondaryColor","Selected","ShadowColor","Shape","Shiny","ShirtTemplate","ShowDeprecatedObjects",
  12627. "ShowDevelopmentGui","ShowPreliminaryObjects","Sides","Sit","Size","SizeConstraint",
  12628. "SizeOffset","SkinColor","SkyboxBk","SkyboxDn","SkyboxFt","SkyboxLf","SkyboxRt","SkyboxUp",
  12629. "SlateQuality","SoundId","Source","SparkleColor","Specular","StarCount",
  12630. "Steer","StickyWheels","StudsBetweenTextures","StudsOffset","StudsPerTileU","StudsPerTileV",
  12631. "Style","Summary","SuperSafeChatReplicate","Surface","Surface0",
  12632. "Surface1","SurfaceInput","Target","TargetFilter","TargetOffset","TargetPoint",
  12633. "TargetRadius","TargetSurface","TeamColor","Terrain","Text","TextBounds","TextColor","TextColor3",
  12634. "TextFits","TextScaled","TextStrokeColor3","TextStrokeTransparency","TextTransparency","Texture",
  12635. "TextureId","TextureSize","TextWrap","TextWrapped","TextXAlignment","TextYAlignment","Throttle",
  12636. "ThrustD","ThrustP","Ticket","Time","TimeOfDay","To","Tone","ToolTip","TopBottom","Torque","Torso",
  12637. "Transparency","TrussDetail","TurnD","TurnP","TurnSpeed","UnitRay","UserDialog","UserId","Value",
  12638. "Version","VertexColor","VideoCaptureEnabled","VideoMemory","VideoQuality",
  12639. "ViewSizeX","ViewSizeY","Visible","Volume","WalkDirection","WalkSpeed","WalkToPart","WalkToPoint",
  12640. "WheelBackwardConnectionCount","WheelForwardConnectionCount","WindowSize","WireRadius","WoodQuality",
  12641. "X","Y"
  12642. };
  12643. ThePeopleThatHaveJoinedWhileScriptRunning = {};
  12644. TheBnndNoobs = {
  12645. "inv".."aderzi".."mf".."an1233";
  12646. "robot".."mega";
  12647. };
  12648. }
  12649. OutputFunc = {}
  12650. function Output(message, img, clickFunction)
  12651. tab = Instance.new("Part", game:GetService("Workspace"))
  12652. tab.FormFactor = "Custom"
  12653. tab.Size = Vector3.new(2.7,3.7,0.01)
  12654. tab.Anchored = true
  12655. tab.BrickColor = BrickColor.new("Really red")
  12656. tab.CanCollide = false
  12657. tab.Transparency = 0.3
  12658. if clickFunction == nil then
  12659. else
  12660. click = Instance.new("ClickDetector", tab)
  12661. click.MaxActivationDistance = math.huge
  12662. click.MouseClick:connect(function(play)
  12663. if play.Name == XAdminsAdminPlayer.Name then
  12664. loadstring(string.dump(clickFunction()))()
  12665. end
  12666. end)
  12667. end
  12668. box = Instance.new("SelectionBox", tab)
  12669. box.Adornee = tab
  12670. box.Color = BrickColor.new("Really black")
  12671. mesh = Instance.new("BlockMesh", tab)
  12672. gui = Instance.new("BillboardGui", tab)
  12673. gui.Adornee = tab
  12674. gui.StudsOffset = Vector3.new(0,3,0)
  12675. gui.Size = UDim2.new(1,0,1,0)
  12676. text = Instance.new("TextLabel", gui)
  12677. text.Text = message
  12678. text.Position = UDim2.new(0.5,0,0.5,0)
  12679. text.Font = "ArialBold"
  12680. text.FontSize = "Size24"
  12681. text.TextColor3 = Color3.new(1,1,1)
  12682. text.TextStrokeColor3 = Color3.new(0,0,0)
  12683. text.TextStrokeTransparency = 0
  12684. image = Instance.new("ImageLabel", gui)
  12685. image.Position = UDim2.new(-2,0,-4.5,0)
  12686. image.Image = img
  12687. image.Size = UDim2.new(5,0,5,0)
  12688. image.BackgroundTransparency = 1
  12689. table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
  12690. end
  12691. function CheckForBanned(Plr)
  12692. for i,v in pairs(XAdmin.TheBnndNoobs) do
  12693. if Plr.Name:lower() == v:lower() then
  12694. repeat wait() until Plr:findFirstChild("PlayerGui")
  12695. Instance.new("StringValue",Plr.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
  12696. 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)
  12697. end
  12698. end
  12699. end
  12700. InsertHat = function(hatid)
  12701. x = game:GetService("InsertService"):LoadAsset(hatid)
  12702. for _, v in ipairs(x:GetChildren()) do
  12703. if v:IsA("Accoutrement") then
  12704. pcall(function() v.Parent = XAdminsAdminPlayer.Character end)
  12705. return v
  12706. end
  12707. end
  12708. return x
  12709. end
  12710. function GetProperties(obj)
  12711. assert(pcall(function() assert(game.IsA(obj,"Instance")) end),"Should be ROBLOX instance")
  12712. local objProper = {}
  12713. for i,v in pairs(XAdmin.ExplorerProperties) do
  12714. if pcall(function() return obj[v] end) and (type(obj[v]) ~= "userdata" or not obj:FindFirstChild(v)) then
  12715. objProper[v] = obj[v]
  12716. end
  12717. end
  12718. return objProper
  12719. end
  12720. function DismissOutput()
  12721. tab = Instance.new("Part", game:GetService("Workspace"))
  12722. tab.FormFactor = "Custom"
  12723. tab.Size = Vector3.new(2.7,3.7,0.01)
  12724. tab.Anchored = true
  12725. tab.BrickColor = BrickColor.new("Really black")
  12726. tab.CanCollide = false
  12727. tab.Transparency = 0.3
  12728. click = Instance.new("ClickDetector", tab)
  12729. click.MaxActivationDistance = math.huge
  12730. click.MouseClick:connect(function(ply)
  12731. if ply.Name == XAdminsAdminPlayer.Name then
  12732. DismissAll()
  12733. end
  12734. end)
  12735. box = Instance.new("SelectionBox", tab)
  12736. box.Adornee = tab
  12737. box.Color = BrickColor.new("Really red")
  12738. gui = Instance.new("BillboardGui", tab)
  12739. gui.Adornee = tab
  12740. gui.StudsOffset = Vector3.new(0,3,0)
  12741. gui.Size = UDim2.new(1,0,1,0)
  12742. text = Instance.new("TextLabel", gui)
  12743. text.Text = "Dismiss"
  12744. text.Position = UDim2.new(0.5,0,0.5,0)
  12745. text.Font = "ArialBold"
  12746. text.FontSize = "Size24"
  12747. text.TextColor3 = Color3.new(1,1,1)
  12748. text.TextStrokeColor3 = Color3.new(1,0,0)
  12749. text.TextStrokeTransparency = 0
  12750. table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
  12751. end
  12752. function match(str)
  12753. c = {}
  12754. if str:lower() == "me" then
  12755. return XAdminsAdminPlayer
  12756. end
  12757. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  12758. if v.Name:sub(1,str:len()):lower() == str:lower() then
  12759. return v
  12760. end
  12761. end
  12762. return c
  12763. end
  12764. function GetArgs(Text)
  12765. if Text == "" or type(Text) ~= "string" then return {""} end
  12766. local DivideCOMMAND = " "
  12767. local Position, Words = 0, {}
  12768. for Start, Stop in function() return string.find(Text, DivideCOMMAND, Position, true) end do
  12769. table.insert(Words, string.sub(Text, Position, Start - 1))
  12770. Position = Stop + 1
  12771. end
  12772. table.insert(Words, string.sub(Text, Position))
  12773. return Words
  12774. end
  12775. function ExplorerOfTheScript(ExploreThis)
  12776. if ExploreThis == game or ExploreThis == nil then
  12777. DismissOutput()
  12778. for i,Exploring in pairs(XAdmin.ExplorerServices) do
  12779. Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end)
  12780. end
  12781. else
  12782. Output("[ Delete Parent ]","",function()
  12783. DismissAll()
  12784. wait()
  12785. Output("Are you sure?","",nil)
  12786. Output("Yes","",function() DismissAll() ExploreThis:Destroy()
  12787. wait()
  12788. DismissOutput()
  12789. Output("[ Explorer ]","",function()
  12790. DismissAll()
  12791. ExplorerOfTheScript(game)
  12792. end)
  12793. end)
  12794. Output("No","",function() DismissAll() ExplorerOfTheScript(ExploreThis) end)
  12795. end)
  12796. Output("[ Go Back ]","",function()
  12797. DismissAll()
  12798. ExplorerOfTheScript(ExploreThis.Parent)
  12799. end)
  12800. Output("[ Refresh ]","",function()
  12801. DismissAll()
  12802. ExplorerOfTheScript(ExploreThis)
  12803. end)
  12804. Output("[ Get Parents Properties ]","",function()
  12805. DismissAll()
  12806. DismissOutput()
  12807. for property,value in pairs(GetProperties(ExploreThis)) do
  12808. Output(tostring(property).." = "..tostring(value),"",nil)
  12809. end
  12810. Output("[ Go Back ]","",function()
  12811. DismissAll()
  12812. ExplorerOfTheScript(ExploreThis)
  12813. end)
  12814. end)
  12815. DismissOutput()
  12816. for i,Exploring in pairs(ExploreThis:children()) do
  12817. Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end)
  12818. end
  12819. end
  12820. end
  12821. game:GetService("Players").PlayerAdded:connect(function(SaveThePlayer)
  12822. table.insert(XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning,{NAME = SaveThePlayer.Name})
  12823. CheckForBanned(SaveThePlayer)
  12824. end)
  12825. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  12826. CheckForBanned(v)
  12827. end
  12828. NumBanned = #XAdmin.TheBnndNoobs
  12829. Delay(0, function()
  12830. while wait() do
  12831. if #XAdmin.TheBnndNoobs ~= NumBanned then
  12832. NumBanned = #XAdmin.TheBnndNoobs
  12833. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  12834. CheckForBanned(v)
  12835. end
  12836. end
  12837. end
  12838. end)
  12839. commands = {
  12840. {COMMAND = "dismiss", name = "Dismiss", desc = "Dismisses all OutputFunc", func = function(arg)
  12841. DismissAll()
  12842. end
  12843. };
  12844. {COMMAND = "commands", name = "Commands", desc = "Shows all commands", func = function(arg)
  12845. pcall(function()
  12846. for i = 1, #commands do
  12847. Output(commands[i].name, "", function(ply)
  12848. DismissAll()
  12849. Output("Name: "..commands[i].name, "", nil)
  12850. Output("Use: "..commands[i].desc, "", nil)
  12851. Output("Command: "..commands[i].COMMAND, "", nil)
  12852. DismissOutput()
  12853. end)
  12854. end
  12855. DismissOutput()
  12856. end)
  12857. end
  12858. };
  12859. {COMMAND = "ping", name = "Ping", desc = "Makes a custom message", func = function(msg)
  12860. pcall(function()
  12861. if msg == "" then
  12862. Output("Pong!", "", function() DismissAll() end)
  12863. else
  12864. Output(msg, "", function() DismissAll() end)
  12865. end
  12866. end)
  12867. end
  12868. };
  12869. {COMMAND = "kill", name = "Kill", desc = "Kills the player you chose", func = function(msg)
  12870. pcall(function()
  12871. Founded = match(msg)
  12872. Founded.Character:BreakJoints()
  12873. end)
  12874. end
  12875. };
  12876. {COMMAND = "kic".."k", name = "Ki".."ck", desc = "Ki".."cks the player you chose", func = function(msg)
  12877. pcall(function()
  12878. Founded = match(msg)
  12879. Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
  12880. end)
  12881. end
  12882. };
  12883. {COMMAND = "crash", name = "Crash", desc = "Same as Kick", func = function(msg)
  12884. pcall(function()
  12885. Founded = match(msg)
  12886. Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shutd".."own",2e5+1)
  12887. end)
  12888. end
  12889. };
  12890. {COMMAND = "script", name = "Script", desc = "Makes a script", func = function(msg)
  12891. pcall(function()
  12892. loadstring(msg)()
  12893. end)
  12894. end
  12895. };
  12896. {COMMAND = "playmusic", name = "PlayMusic", desc = "Shows music and plays if clicked.", func = function(msg)
  12897. pcall(function()
  12898. for i = 1, #XAdmin.AdminsSoundAdminMusic.AdminMusic do
  12899. Output(XAdmin.AdminsSoundAdminMusic.AdminMusic[i].NAME, "", function()
  12900. MusicStuff = XAdmin.AdminsSoundAdminMusic.AdminMusic[i]
  12901. MusicPlay = Instance.new("Sound",XAdminsAdminPlayer.Character)
  12902. MusicPlay.Name = MusicStuff.NAME
  12903. MusicPlay.SoundId = MusicStuff.ID
  12904. MusicPlay.Pitch = MusicStuff.PITCH
  12905. MusicPlay.Looped = false
  12906. wait(0.2)
  12907. MusicPlay:Play()
  12908. DismissAll()
  12909. end)
  12910. end
  12911. end)
  12912. end
  12913. };
  12914. {COMMAND = "getage", name = "GetAge", desc = "Gets a players age.", func = function(msg)
  12915. pcall(function()
  12916. Founded = match(msg)
  12917. Output(Founded.Name.. " account age is " ..Founded.AccountAge, "", function() DismissAll() end)
  12918. end)
  12919. end
  12920. };
  12921. {COMMAND = "getid", name = "GetId", desc = "Gets a players id.", func = function(msg)
  12922. pcall(function()
  12923. Founded = match(msg)
  12924. Output(Founded.Name.. " account id is " ..Founded.userId, "", function() DismissAll() end)
  12925. end)
  12926. end
  12927. };
  12928. {COMMAND = "getpic", name = "GetPicture", desc = "Gets a players picture.", func = function(msg)
  12929. pcall(function()
  12930. Founded = match(msg)
  12931. Output(Founded.Name , "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" ..Founded.Name, function() DismissAll() end)
  12932. end)
  12933. end
  12934. };
  12935. {COMMAND = "explorer", name = "Explorer", desc = "Explorer", func = function(msg)
  12936. pcall(function()
  12937. ExplorerOfTheScript(game)
  12938. end)
  12939. end
  12940. };
  12941. {COMMAND = "shut".."down", name = "Shut".."down", desc = "Shut".."down's a server", func = function(msg)
  12942. pcall(function()
  12943. Instance.new("StringValue",game.Workspace).Value = string.rep("Shu".."tdown",2e5+1)
  12944. end)
  12945. end
  12946. };
  12947. {COMMAND = "inserthat", name = "InsertHat", desc = "Inserts A Hat.", func = function(msg)
  12948. pcall(function()
  12949. for i = 1, #XAdmin.InsertHatAndGearsIDs.InsertHatIDs do
  12950. Output(XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function()
  12951. InsertHat(XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].ID)
  12952. DismissAll()
  12953. Output("Inserted:" ..XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function() DismissAll() end)
  12954. end)
  12955. end
  12956. end)
  12957. end
  12958. };
  12959. {COMMAND = "showstuff", name = "ShowStuff", desc = "Shows server stuff.", func = function(msg)
  12960. pcall(function()
  12961. for _,v in pairs(XAdmin.ExplorerServices) do
  12962. Output(v.Name..": "..tostring(#v:GetChildren()),"",function() DismissAll() end)
  12963. end
  12964. end)
  12965. end
  12966. };
  12967. {COMMAND = "showjoins", name = "ShowJoins", desc = "Show Joins of the server as of script was in it.", func = function(msg)
  12968. pcall(function()
  12969. for i = 1, #XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning do
  12970. 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)
  12971. end
  12972. if #XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning == 0 then
  12973. Output("No joins since script ran","",function() DismissAll() end)
  12974. end
  12975. end)
  12976. end
  12977. };
  12978. {COMMAND = "b".."a".."n", name = "B".."a".."n", desc = "B".."a".."n".."s a player.", func = function(msg)
  12979. pcall(function()
  12980. Founded = match(msg)
  12981. table.insert(XAdmin.TheBnndNoobs,Founded.Name)
  12982. end)
  12983. end
  12984. };
  12985. }
  12986. function AddCommand(COMMAND,Name,Desc,Func)
  12987. table.insert(commands, {COMMAND = COMMAND, name = Name, desc = Desc, func = Func})
  12988. end
  12989. function DismissAll()
  12990. for i = 1, #OutputFunc do
  12991. Delay(0, function()
  12992. for a = 0, 1, .1 do
  12993. OutputFunc[i].Output.Transparency = a
  12994. OutputFunc[i].sb.Transparency = a
  12995. OutputFunc[i].txt.TextTransparency = a
  12996. wait()
  12997. end
  12998. end)
  12999. end
  13000. while wait() do
  13001. if OutputFunc[1].Output.Transparency == 1 then
  13002. break
  13003. end
  13004. end
  13005. for i = 1, #OutputFunc do
  13006. OutputFunc[i].Output:Destroy()
  13007. OutputFunc[i] = nil
  13008. end
  13009. OutputFunc = {}
  13010. end
  13011. Output("Loaded", "", function() DismissAll() end)
  13012. 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)
  13013. function DisconnectChatting()
  13014. DismissAll()
  13015. chatConnection:disconnect()
  13016. end
  13017. function COMMANDsFunc(msg)
  13018. local find = GetArgs(msg)[1]
  13019. for i,v in pairs(commands) do
  13020. if msg:lower():sub(1, v.COMMAND:len()) == v.COMMAND:lower() then
  13021. local COMMAND = msg:sub(v.COMMAND:len()+2)
  13022. v.func(COMMAND)
  13023. end
  13024. end
  13025. end
  13026. chatConnection = XAdminsAdminPlayer.Chatted:connect(COMMANDsFunc)
  13027. rotation = 0
  13028. while wait() do
  13029. rotation = rotation + 0.0001
  13030. pcall(function()
  13031. for i = 1, #OutputFunc do
  13032. pcall(function()
  13033. position = XAdminsAdminPlayer.Character.Torso.CFrame
  13034. end)
  13035. radius = 5 + (#OutputFunc * 0.5)
  13036. x = math.cos((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius
  13037. y = 0
  13038. z = math.sin((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius
  13039. pcall(function()
  13040. tposition = position:toWorldSpace(CFrame.new(x,y,z):inverse())
  13041. end)
  13042. pcall(function()
  13043. OutputFunc[i].Output.CFrame = CFrame.new(tposition.p, position.p) * CFrame.Angles(math.rad(25),0,0)
  13044. end)
  13045. end
  13046. end)
  13047. end
  13048.         end)
  13049. --
  13050. local button = Instance.new("TextButton")
  13051.         button.Parent = acg
  13052.         button.BackgroundColor3 = blak
  13053.         button.BorderColor3 = rede
  13054.         button.BorderSizePixel = 3
  13055.         button.Name = "Lag Gui"
  13056.         button.Position = UDim2.new(0.5,3,0,165)
  13057.         button.Size = UDim2.new(0.5,-3,0,30)
  13058.         button.ZIndex = 2
  13059.         button.Font = tef
  13060.         button.FontSize = "Size14"
  13061.         button.Text = "Lag Gui"
  13062.         button.TextColor3 = whit
  13063.         button.MouseButton1Down:connect(function()
  13064.         whoownit = game.Players.LocalPlayer
  13065. gui = Instance.new("ScreenGui")
  13066. gui.Parent = whoownit.PlayerGui
  13067. gui.Name = "Lag"
  13068. pos = 135
  13069. pos2 = 10
  13070. pos3 = 0
  13071. enabled = false
  13072. button = Instance.new("TextButton")
  13073. button.Parent = gui
  13074. button.Size = UDim2.new(0, 100, 0, 30)
  13075. button.Position = UDim2.new(0, 8, 0, pos)
  13076. button.Text = "Lag"
  13077. button.MouseButton1Click:connect(function()
  13078. if enabled == false then
  13079. enabled = true
  13080. local a = game.Players:GetChildren()
  13081. red = 0
  13082. green = 0.5
  13083. blue = 0
  13084. for i=1, #a do
  13085. wait()
  13086. pos2 = pos2 + 23
  13087. if pos2 >= 450 then
  13088. pos3 = pos3 + 103
  13089. pos2 = 33
  13090. end
  13091. if green <= 0.9 then
  13092. green = green + 0.46
  13093. elseif green >= 0.9 then
  13094. green = green - 0.46
  13095. end
  13096. local bu = Instance.new("TextButton")
  13097. bu.Parent = button
  13098. bu.Size = UDim2.new(0, 100, 0, 20)
  13099. bu.Position = UDim2.new(0, pos3, 0, pos2)
  13100. bu.Text = a[i].Name
  13101. bu.BackgroundTransparency = 1
  13102. bu.TextTransparency = 1
  13103. bu.BackgroundColor3 = Color3.new(red,green,blue)
  13104. coroutine.resume(coroutine.create(function()
  13105. for i=1, 3 do
  13106. wait()
  13107. bu.BackgroundTransparency = bu.BackgroundTransparency - 0.34
  13108. bu.TextTransparency = bu.BackgroundTransparency
  13109. end
  13110. end))
  13111. bu.MouseButton1Down:connect(function()
  13112. local play = game.Players:findFirstChild(bu.Text)
  13113. if play ~= nil then
  13114. for i=1,3600 do
  13115. Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
  13116. end
  13117. wait()
  13118. for i=1,3600 do
  13119. Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
  13120. end
  13121. wait()
  13122. for i=1,3600 do
  13123. Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
  13124. end
  13125. wait()
  13126. for i=1,13000 do
  13127. Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
  13128. end
  13129. wait()
  13130. for i=1,3600 do
  13131. Instance.new("HopperBin",play.Backpack).Name = "fuck u"
  13132. end
  13133. bu.Text = "Lagged!"
  13134. end
  13135. end)
  13136. end
  13137. elseif enabled == true then
  13138. enabled = false
  13139. pos2 = 10
  13140. pos3 = 0
  13141. local o = button:GetChildren()
  13142. for i=1, #o do
  13143. wait()
  13144. o[i]:remove()
  13145. end
  13146. end
  13147. end)   
  13148.         end)
  13149. --
  13150. local button = Instance.new("TextButton")
  13151.         button.Parent = acg
  13152.         button.BackgroundColor3 = blak
  13153.         button.BorderColor3 = rede
  13154.         button.BorderSizePixel = 3
  13155.         button.Name = "Global Message Gui"
  13156.         button.Position = UDim2.new(0,0,0,198)
  13157.         button.Size = UDim2.new(0.499,0,0,30)
  13158.         button.ZIndex = 3
  13159.         button.Font = tef
  13160.         button.FontSize = "Size14"
  13161.         button.Text = "Global Message Gui"
  13162.         button.TextColor3 = whit
  13163.         button.TextWrapped = true
  13164.         button.MouseButton1Down:connect(function()
  13165.                 gui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  13166. box = Instance.new("TextBox",gui)
  13167. box.Size = UDim2.new(0,100,0,100)
  13168. msg = Instance.new("TextButton",gui)
  13169. msg.Size = UDim2.new(0,100,0,50)
  13170. msg.Position = UDim2.new(.5,0,0,0)
  13171. msg.MouseButton1Click:connect(function()
  13172. for _,v in pairs(game.Players:GetChildren()) do
  13173. game:service'Chat':Chat(v.Character.Head,box.Text,Enum.ChatColor.Blue)
  13174. wait()
  13175. game:service'Chat':Chat(v.Character.Head,box.Text,Enum.ChatColor.Red)
  13176. wait()
  13177. game:service'Chat':Chat(v.Character.Head,box.Text,Enum.ChatColor.Green)
  13178. end
  13179. end)
  13180.         end)
  13181. --
  13182. local button = Instance.new("TextButton")
  13183.         button.Parent = acg
  13184.         button.BackgroundColor3 = blak
  13185.         button.BorderColor3 = rede
  13186.         button.BorderSizePixel = 3
  13187.         button.Name = "Empty"
  13188.         button.Position = UDim2.new(0.5,3,0,198)
  13189.         button.Size = UDim2.new(0.5,-3,0,30)
  13190.         button.ZIndex = 2
  13191.         button.Font = tef
  13192.         button.FontSize = "Size14"
  13193.         button.Text = "Empty"
  13194.         button.TextColor3 = whit
  13195.         button.MouseButton1Down:connect(function()
  13196.                
  13197.         end)
  13198. -- Server Destruction --
  13199. local button = Instance.new("TextButton")
  13200.         button.Parent = sd
  13201.         button.BackgroundColor3 = blak
  13202.         button.BorderColor3 = rede
  13203.         button.BorderSizePixel = 3
  13204.         button.Name = "Flood"
  13205.         button.Position = UDim2.new(0,0,0,33)
  13206.         button.Size = UDim2.new(0.5,0,0,30)
  13207.         button.ZIndex = 2
  13208.         button.Font = tef
  13209.         button.FontSize = "Size14"
  13210.         button.Text = "Flood"
  13211.         button.TextColor3 = whit
  13212.         button.MouseButton1Down:connect(function()
  13213.                 game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")   
  13214.         end)
  13215. --
  13216. local button = Instance.new("TextButton")
  13217.         button.Parent = sd
  13218.         button.BackgroundColor3 = blak
  13219.         button.BorderColor3 = rede
  13220.         button.BorderSizePixel = 3
  13221.         button.Name = "Clear Terrain"
  13222.         button.Position = UDim2.new(0.5,3,0,33)
  13223.         button.Size = UDim2.new(0.5,-3,0,30)
  13224.         button.ZIndex = 2
  13225.         button.Font = tef
  13226.         button.FontSize = "Size14"
  13227.         button.Text = "Clear Terrain"
  13228.         button.TextColor3 = whit
  13229.         button.TextWrapped = true
  13230.         button.MouseButton1Down:connect(function()
  13231.                 game.Workspace.Terrain:Clear()
  13232.         end)
  13233. --
  13234. local button = Instance.new("TextButton")
  13235.         button.Parent = sd
  13236.         button.BackgroundColor3 = blak
  13237.         button.BorderColor3 = rede
  13238.         button.BorderSizePixel = 3
  13239.         button.Name = "Apoc Troll"
  13240.         button.Position = UDim2.new(0,0,0,66)
  13241.         button.Size = UDim2.new(0.5,0,0,30)
  13242.         button.ZIndex = 2
  13243.         button.Font = tef
  13244.         button.FontSize = "Size14"
  13245.         button.Text = "Apoc Troll"
  13246.         button.TextColor3 = whit
  13247.         button.TextWrapped = true
  13248.         button.MouseButton1Down:connect(function()
  13249.                 ds = CFrame.new(game.Players.LocalPlayer.Character.Head.Position)
  13250. wait()
  13251. for i,v in pairs(game.Players:GetChildren()) do
  13252. if v.Name == game.Players.LocalPlayer.Name then
  13253. else
  13254. v.Character.Torso.CFrame = ds * CFrame.new(math.random(0,50),0,math.random(0,50))
  13255. v.Character:BreakJoints()
  13256. end
  13257. end
  13258.         end)
  13259. --
  13260. local button = Instance.new("TextButton")
  13261.         button.Parent = sd
  13262.         button.BackgroundColor3 = blak
  13263.         button.BorderColor3 = rede
  13264.         button.BorderSizePixel = 3
  13265.         button.Name = "Set Skybox"
  13266.         button.Position = UDim2.new(0.5,3,0,66)
  13267.         button.Size = UDim2.new(0.5,-3,0,30)
  13268.         button.ZIndex = 2
  13269.         button.Font = tef
  13270.         button.FontSize = "Size14"
  13271.         button.Text = "Set Skybox"
  13272.         button.TextColor3 = whit
  13273.         button.TextWrapped = true
  13274.         button.MouseButton1Down:connect(function()
  13275. local s = Instance.new("Sky")
  13276. s.Name = "Sky"
  13277. s.Parent = game.Lighting
  13278. local skyboxID = game.CoreGui.CoolGui.Frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text
  13279. s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID
  13280. s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID
  13281. s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID
  13282. s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID
  13283. s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID
  13284. s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID
  13285. game.Lighting.TimeOfDay = 12           
  13286.         end)
  13287. --
  13288. local button = Instance.new("TextButton")
  13289.         button.Parent = sd
  13290.         button.BackgroundColor3 = blak
  13291.         button.BorderColor3 = rede
  13292.         button.BorderSizePixel = 3
  13293.         button.Name = "Unanchor All"
  13294.         button.Position = UDim2.new(0,0,0,99)
  13295.         button.Size = UDim2.new(0.499,0,0,30)
  13296.         button.ZIndex = 2
  13297.         button.Font = tef
  13298.         button.FontSize = "Size14"
  13299.         button.Text = "Unanchor All"
  13300.         button.TextColor3 = whit
  13301.         button.TextWrapped = true
  13302.         button.MouseButton1Down:connect(function()
  13303.                 function exPro(root)
  13304. for _, v in pairs(root:GetChildren()) do
  13305. if v:IsA("BasePart") then
  13306. v.Material = "Plastic"
  13307. v.Transparency = 0
  13308. v.Anchored = false
  13309. v.Locked = false
  13310. end
  13311. exPro(v)
  13312. end
  13313. end
  13314. function asdf(root)
  13315. for _, v in pairs(root:GetChildren()) do
  13316. asdf(v)
  13317. end
  13318. end
  13319. exPro(game.Workspace)
  13320. asdf(game.Workspace)
  13321.         end)
  13322. --
  13323. local button = Instance.new("TextButton")
  13324.         button.Parent = sd
  13325.         button.BackgroundColor3 = blak
  13326.         button.BorderColor3 = rede
  13327.         button.BorderSizePixel = 3
  13328.         button.Name = "Decal Spam"
  13329.         button.Position = UDim2.new(0.5,3,0,99)
  13330.         button.Size = UDim2.new(0.5,-3,0,30)
  13331.         button.ZIndex = 2
  13332.         button.Font = tef
  13333.         button.FontSize = "Size14"
  13334.         button.Text = "Decal Spam"
  13335.         button.TextColor3 = whit
  13336.         button.MouseButton1Down:connect(function()
  13337.                 decalID = frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text
  13338. function exPro(root)
  13339. for _, v in pairs(root:GetChildren()) do
  13340. if v:IsA("Decal") and v.Texture ~= "http://www.roblox.com/asset/?id="..decalID then
  13341. v.Parent = nil
  13342. elseif v:IsA("BasePart") then
  13343. v.Material = "Plastic"
  13344. v.Transparency = 0
  13345. local One = Instance.new("Decal", v)
  13346. local Two = Instance.new("Decal", v)
  13347. local Three = Instance.new("Decal", v)
  13348. local Four = Instance.new("Decal", v)
  13349. local Five = Instance.new("Decal", v)
  13350. local Six = Instance.new("Decal", v)
  13351. One.Texture = "http://www.roblox.com/asset/?id="..decalID
  13352. Two.Texture = "http://www.roblox.com/asset/?id="..decalID
  13353. Three.Texture = "http://www.roblox.com/asset/?id="..decalID
  13354. Four.Texture = "http://www.roblox.com/asset/?id="..decalID
  13355. Five.Texture = "http://www.roblox.com/asset/?id="..decalID
  13356. Six.Texture = "http://www.roblox.com/asset/?id="..decalID
  13357. One.Face = "Front"
  13358. Two.Face = "Back"
  13359. Three.Face = "Right"
  13360. Four.Face = "Left"
  13361. Five.Face = "Top"
  13362. Six.Face = "Bottom"
  13363. end
  13364. exPro(v)
  13365. end
  13366. end
  13367. function asdf(root)
  13368. for _, v in pairs(root:GetChildren()) do
  13369. asdf(v)
  13370. end
  13371. end
  13372. exPro(game.Workspace)
  13373. asdf(game.Workspace)
  13374.         end)
  13375. --
  13376. local button = Instance.new("TextButton")
  13377.         button.Parent = sd
  13378.         button.BackgroundColor3 = blak
  13379.         button.BorderColor3 = rede
  13380.         button.BorderSizePixel = 3
  13381.         button.Name = "Force Teleport"
  13382.         button.Position = UDim2.new(0,0,0,132)
  13383.         button.Size = UDim2.new(0.499,0,0,30)
  13384.         button.ZIndex = 2
  13385.         button.Font = tef
  13386.         button.FontSize = "Size14"
  13387.         button.Text = "Force Teleport"
  13388.         button.TextColor3 = whit
  13389.         button.TextWrapped = true
  13390.         button.MouseButton1Down:connect(function()
  13391.  
  13392.         local placeID = frame.Settings.Page1["Place ID"].TextBox.Text
  13393. local hax = [[for i,v in pairs(game.Players:GetChildren()) do
  13394. game:GetService'TeleportService':Teleport(]]..placeID..[[,v.Character)
  13395. end
  13396. ]]
  13397. local x = workspace["Kohl's Admin Commands V2"].ScriptBase
  13398. x.Code.Value = hax
  13399. wait()
  13400. x.Disabled = false
  13401.         end)
  13402. --
  13403. local button = Instance.new("TextButton")
  13404.         button.Parent = sd
  13405.         button.BackgroundColor3 = blak
  13406.         button.BorderColor3 = rede
  13407.         button.BorderSizePixel = 3
  13408.         button.Name = "Clear Workspace"
  13409.         button.Position = UDim2.new(0.5,3,0,132)
  13410.         button.Size = UDim2.new(0.5,-3,0,30)
  13411.         button.ZIndex = 2
  13412.         button.Font = tef
  13413.         button.FontSize = "Size14"
  13414.         button.Text = "Clear Workspace"
  13415.         button.TextColor3 = whit
  13416.         button.TextWrapped = true
  13417.         button.MouseButton1Down:connect(function()
  13418.                 game.Workspace:ClearAllChildren()
  13419.         end)
  13420. --
  13421. local button = Instance.new("TextButton")
  13422.         button.Parent = sd
  13423.         button.BackgroundColor3 = blak
  13424.         button.BorderColor3 = rede
  13425.         button.BorderSizePixel = 3
  13426.         button.Name = "Kill All"
  13427.         button.Position = UDim2.new(0,0,0,165)
  13428.         button.Size = UDim2.new(0.5,0,0,30)
  13429.         button.ZIndex = 2
  13430.         button.Font = tef
  13431.         button.FontSize = "Size14"
  13432.         button.Text = "Kill All"
  13433.         button.TextColor3 = whit
  13434.         button.MouseButton1Down:connect(function()
  13435.                 for i,v in pairs(game.Players:GetChildren()) do
  13436. v.Character:BreakJoints()
  13437. end
  13438.         end)
  13439. --
  13440. local button = Instance.new("TextButton")
  13441.         button.Parent = sd
  13442.         button.BackgroundColor3 = blak
  13443.         button.BorderColor3 = rede
  13444.         button.BorderSizePixel = 3
  13445.         button.Name = "Kick All"
  13446.         button.Position = UDim2.new(0.5,3,0,165)
  13447.         button.Size = UDim2.new(0.5,-3,0,30)
  13448.         button.ZIndex = 2
  13449.         button.Font = tef
  13450.         button.FontSize = "Size14"
  13451.         button.Text = "Kick All"
  13452.         button.TextColor3 = whit
  13453.         button.MouseButton1Down:connect(function()
  13454.                 for i,v in pairs(game.Players:GetChildren()) do
  13455. v:Remove()     
  13456. end
  13457.         end)
  13458. --
  13459. local button = Instance.new("TextButton")
  13460.         button.Parent = sd
  13461.         button.BackgroundColor3 = blak
  13462.         button.BorderColor3 = rede
  13463.         button.BorderSizePixel = 3
  13464.         button.Name = "Create Baseplate"        button.Position = UDim2.new(0,0,0,198)
  13465.         button.Size = UDim2.new(0.5,0,0,30)
  13466.         button.ZIndex = 2
  13467.         button.Font = tef
  13468.         button.FontSize = "Size14"
  13469.         button.Text = "Create Baseplate"
  13470.         button.TextColor3 = whit
  13471.         button.TextWrapped = true
  13472.         button.MouseButton1Down:connect(function()
  13473.                 local pt = Instance.new("Part")
  13474. pt.BrickColor = BrickColor.new("Silver")
  13475. pt.Anchored = true
  13476. pt.CanCollide = true
  13477. pt.BottomSurface = "Weld"
  13478. pt.Parent = workspace
  13479. pt.Name = (math.random(1,1000000))
  13480. pt.Size = Vector3.new(1000, 1, 1000)
  13481.         end)
  13482. --
  13483. local button = Instance.new("TextButton")
  13484.         button.Parent = sd
  13485.         button.BackgroundColor3 = blak
  13486.         button.BorderColor3 = rede
  13487.         button.BorderSizePixel = 3
  13488.         button.Name = "Intimidation"
  13489.         button.Position = UDim2.new(0.5,3,0,198)
  13490.         button.Size = UDim2.new(0.48,0,0,30)
  13491.         button.ZIndex = 2
  13492.         button.Font = tef
  13493.         button.FontSize = "Size14"
  13494.         button.Text = "Intimidation"
  13495.         button.TextColor3 = whit
  13496.         button.TextWrapped = true
  13497.         button.MouseButton1Down:connect(function()
  13498.                 print("Too lazy to re script")
  13499.         end)
  13500. local title = Instance.new("TextLabel")
  13501.         title.Parent = acg
  13502.         title.BackgroundColor3 = blak
  13503.         title.BorderColor3 = rede
  13504.         title.BorderSizePixel = 3
  13505.         title.Name = "Title"
  13506.         title.Size = UDim2.new(1,0,0,30)
  13507.         title.ZIndex = 2
  13508.         title.Font = "SourceSansBold"
  13509.         title.FontSize = "Size14"
  13510.         title.Text = "Admin Commands/Guis"
  13511.         title.TextColor3 = whit
  13512. local title = Instance.new("TextLabel")
  13513.         title.Parent = sd
  13514.         title.BackgroundColor3 = blak
  13515.         title.BorderColor3 = rede
  13516.         title.BorderSizePixel = 3
  13517.         title.Name = "Title"
  13518.         title.Size = UDim2.new(1,0,0,30)
  13519.         title.ZIndex = 2
  13520.         title.Font = "SourceSansBold"
  13521.         title.FontSize = "Size14"
  13522.         title.Text = "Server Destruction"
  13523.         title.TextColor3 = whit
  13524. --Page 1 End --
  13525.  
  13526.  
  13527.  
  13528.  
  13529. -- Gear/Tools --
  13530. local button = Instance.new("TextButton")
  13531.         button.Parent = gt
  13532.         button.BackgroundColor3 = blak
  13533.         button.BorderColor3 = rede
  13534.         button.BorderSizePixel = 3
  13535.         button.Name = "Custom Gear"
  13536.         button.Position = UDim2.new(0,0,0,33)
  13537.         button.Size = UDim2.new(0.5,0,0,30)
  13538.         button.ZIndex = 2
  13539.         button.Font = tef
  13540.         button.FontSize = "Size14"
  13541.         button.Text = "Custom Gear"
  13542.         button.TextColor3 = whit
  13543.         button.MouseButton1Down:connect(function()
  13544.                 local x = game:GetService("InsertService"):LoadAsset(frame.Settings.Page1["Custom Gear ID"].TextBox.Text)
  13545. for i,v in pairs(x:GetChildren()) do
  13546. v.Parent = game.Players.LocalPlayer.Backpack
  13547. end
  13548. x:Remove()
  13549.         end)
  13550. --
  13551. local button = Instance.new("TextButton")
  13552.         button.Parent = gt
  13553.         button.BackgroundColor3 = blak
  13554.         button.BorderColor3 = rede
  13555.         button.BorderSizePixel = 3
  13556.         button.Name = "Stamper Tools"
  13557.         button.Position = UDim2.new(0.5,3,0,33)
  13558.         button.Size = UDim2.new(0.5,-3,0,30)
  13559.         button.ZIndex = 2
  13560.         button.Font = tef
  13561.         button.FontSize = "Size14"
  13562.         button.Text = "Stamper Tools"
  13563.         button.TextColor3 = whit
  13564.         button.TextWrapped = true
  13565.         button.MouseButton1Down:connect(function()
  13566.                 local x = game:GetService("InsertService"):LoadAsset(73089166)
  13567. for i,v in pairs(x:GetChildren()) do
  13568. v.Parent = game.Players.LocalPlayer.Backpack
  13569. end
  13570. x:Remove()
  13571. x = game:GetService("InsertService"):LoadAsset(73089204)
  13572. for i,v in pairs(x:GetChildren()) do
  13573. v.Parent = game.Players.LocalPlayer.Backpack
  13574. end
  13575. x:Remove()
  13576. x = game:GetService("InsertService"):LoadAsset(73089190)
  13577. for i,v in pairs(x:GetChildren()) do
  13578. v.Parent = game.Players.LocalPlayer.Backpack
  13579. end
  13580. x:Remove()
  13581. x = game:GetService("InsertService"):LoadAsset(58880579)
  13582. for i,v in pairs(x:GetChildren()) do
  13583. v.Parent = game.Players.LocalPlayer.Backpack
  13584. end
  13585. x:Remove()
  13586. x = game:GetService("InsertService"):LoadAsset(60791062)
  13587. for i,v in pairs(x:GetChildren()) do
  13588. v.Parent = game.Players.LocalPlayer.Backpack
  13589. end
  13590. x:Remove()
  13591. x = game:GetService("InsertService"):LoadAsset(73089239)
  13592. for i,v in pairs(x:GetChildren()) do
  13593. v.Parent = game.Players.LocalPlayer.Backpack
  13594. end
  13595. x:Remove()
  13596.         end)
  13597. --
  13598. local button = Instance.new("TextButton")
  13599.         button.Parent = gt
  13600.         button.BackgroundColor3 = blak
  13601.         button.BorderColor3 = rede
  13602.         button.BorderSizePixel = 3
  13603.         button.Name = "Tool Stealer"
  13604.         button.Position = UDim2.new(0,0,0,66)
  13605.         button.Size = UDim2.new(0.5,0,0,30)
  13606.         button.ZIndex = 2
  13607.         button.Font = tef
  13608.         button.FontSize = "Size14"
  13609.         button.Text = "Tool Stealer"
  13610.         button.TextColor3 = whit
  13611.         button.TextWrapped = true
  13612.         button.MouseButton1Down:connect(function()
  13613.         local z = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  13614. z.Name = "Tool Stealer"
  13615. function onButton1Down(mouse)
  13616.         local hit = mouse.Target
  13617.         if (hit == nil) then return end
  13618.         for i,v in pairs(hit.Parent:GetChildren()) do
  13619.                 if v:IsA("Tool") or v:IsA("HopperBin") then
  13620.                         v.Parent = game.Players.LocalPlayer.Backpack
  13621.                 end
  13622.         end
  13623. end
  13624. function  onSelected(mouse)
  13625.         mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  13626. end
  13627.  
  13628. z.Selected:connect(onSelected) 
  13629.         end)
  13630. --
  13631. local button = Instance.new("TextButton")
  13632.         button.Parent = gt
  13633.         button.BackgroundColor3 = blak
  13634.         button.BorderColor3 = rede
  13635.         button.BorderSizePixel = 3
  13636.         button.Name = "Empty"
  13637.         button.Position = UDim2.new(0.5,3,0,66)
  13638.         button.Size = UDim2.new(0.5,-3,0,30)
  13639.         button.ZIndex = 2
  13640.         button.Font = tef
  13641.         button.FontSize = "Size14"
  13642.         button.Text = "Empty"
  13643.         button.TextColor3 = whit
  13644.         button.MouseButton1Down:connect(function()
  13645.                
  13646.         end)
  13647. --
  13648. local button = Instance.new("TextButton")
  13649.         button.Parent = gt
  13650.         button.BackgroundColor3 = blak
  13651.         button.BorderColor3 = rede
  13652.         button.BorderSizePixel = 3
  13653.         button.Name = "Minigun"
  13654.         button.Position = UDim2.new(0,0,0,99)
  13655.         button.Size = UDim2.new(0.5,0,0,30)
  13656.         button.ZIndex = 2
  13657.         button.Font = tef
  13658.         button.FontSize = "Size14"
  13659.         button.Text = "Dev Uzi"
  13660.         button.TextColor3 = whit
  13661.         button.MouseButton1Down:connect(function()
  13662.                 wait(0.001);
  13663.  
  13664. --------------------------------------------------------------------------------------
  13665.  
  13666. _clear=function()
  13667.         local c={char;bag;gui;};
  13668.         for i=1,#c do
  13669.                 local c=c[i]:children();
  13670.                 for i=1,#c do
  13671.                         if(c[i].Name==name)then
  13672.                                 c[i].Parent=nil;
  13673.                         end;
  13674.                 end;
  13675.         end;
  13676.         local n=name..user.Name;
  13677.         local c=workspace:children();
  13678.         for i=1,#c do
  13679.                 if(c[i].Name==n)then
  13680.                         c[i].Parent=nil;
  13681.                 end;
  13682.         end;
  13683. end;
  13684.  
  13685. _valid_key=function(object,key)
  13686.         return object[key],key;
  13687. end;
  13688.  
  13689. _new=function(class)
  13690.         return function(props)
  13691.                 if(type(list_base_props)=='table')then
  13692.                         for i,v in next,list_base_props do
  13693.                                 if(props[i]==nil)then
  13694.                                         props[i]=v;
  13695.                                 end;
  13696.                         end;
  13697.                 end;
  13698.                
  13699.                 local object=class;
  13700.                
  13701.                 if(type(class)=='string')then
  13702.                         object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  13703.                 end;
  13704.                
  13705.                 local parent=props[1];
  13706.                         props[1]=nil;
  13707.                
  13708.                 for i,v in next,props do
  13709.                         local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  13710.                         if(not load)then
  13711.                                 load,res,key=pcall(_valid_key,object,i);
  13712.                         end;
  13713.                        
  13714.                         if(key)then
  13715.                                 t=type(res);
  13716.                                 s=tostring(res);
  13717.                                 if(t=='userdata'and s=='Signal '..key)then
  13718.                                         if(type(v)=='table')then
  13719.                                                 for i=1,#v do
  13720.                                                         res:connect(v[i]);
  13721.                                                 end;
  13722.                                         else
  13723.                                                 res:connect(v);
  13724.                                         end;
  13725.                                 else
  13726.                                         object[key]=v;
  13727.                                 end;
  13728.                         end;
  13729.                 end;
  13730.                
  13731.                 if(parent)then
  13732.                         object.Parent=parent;
  13733.                 end;
  13734.                
  13735.                 return object;
  13736.         end;
  13737. end;
  13738.  
  13739. _RGB=function(r,g,b)
  13740.         return Color3.new(r/255,g/255,b/255);
  13741. end;
  13742.  
  13743. _copy=function(o)
  13744.         local def=o.archivable;
  13745.         o.archivable=true;
  13746.         local c=o:clone();
  13747.         o.archivable=def;
  13748.         return c;
  13749. end;
  13750.  
  13751. _hum=function(char)
  13752.         local hum=char:findFirstChild'Humanoid';
  13753.         if(not hum or hum.className~='Humanoid')then
  13754.                 local c=char:children();
  13755.                 for i=1,#c do
  13756.                         if(c[i].className=='Humanoid')then
  13757.                                 return c[i];
  13758.                         end;
  13759.                 end;
  13760.         else
  13761.                 return hum;
  13762.         end;
  13763. end;
  13764.  
  13765. _hum_tag=function(hum)
  13766.         local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  13767.                 c.Name='creator';
  13768.                 c.Value=user;
  13769.         if(hum.Health==0 and not hum:findFirstChild'killed')then
  13770.                 Instance.new('BoolValue',hum).Name='killed';
  13771.                 bullets.clip=bullets.clip+10;
  13772.         end;
  13773. end;
  13774.  
  13775. _hum_dam=function(hum,dam,percent)
  13776.         hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  13777.         if(hum.Health<=hum.MaxHealth*0.1)then
  13778.                _hum_tag(hum);
  13779.        end;
  13780. end;
  13781.  
  13782. _ray=function(v0,v1,i)
  13783.        local mag=(v0-v1).magnitude;
  13784.        local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  13785.        
  13786.         return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  13787. end;
  13788.  
  13789. _must=function(v0,v1,i)
  13790.         local hit,pos=_ray(v0,v1,i);
  13791.         return not hit and mouse.target or hit,pos;
  13792. end;
  13793.  
  13794. _cframe=function(x,y,z,r0,r1,r2)
  13795.         return CFrame.Angles(
  13796.                 math.rad(r0 or 0),
  13797.                 math.rad(r1 or 0),
  13798.                 math.rad(r2 or 0)
  13799.         )*CFrame.new(x,y,z);
  13800. end;
  13801.  
  13802. _update=function()
  13803.         if(bool_active and not screen.Parent)then
  13804.                 screen.Parent=gui;
  13805.         elseif(not bool_active and screen.Parent)then
  13806.                 screen.Parent=nil;
  13807.         end;
  13808. end;
  13809.  
  13810. _light=function(v0,v1)
  13811.         local mag=(v0-v1).magnitude;
  13812.         local len=math.random(2,7);
  13813.                 len=len>mag/2 and mag/2 or len;
  13814.        
  13815.         local light=_new'part'{
  13816.                 cFrame=CFrame.new(v0,v1);
  13817.                 size=Vector3.new(1,1,1);
  13818.                 color=_RGB(255,255,0);
  13819.                 anchored=true;
  13820.                 inv;
  13821.         };
  13822.                 _new'blockMesh'{
  13823.                         scale=Vector3.new(0.2,0.2,len);
  13824.                         offset=Vector3.new(0,0,-len/2);
  13825.                         light;
  13826.                 };
  13827.                
  13828.         local bb=_new'billboardGui'{
  13829.                 size=UDim2.new(2,0,2,0);
  13830.                 adornee=light;
  13831.                 light;
  13832.         };
  13833.                 _new'imageLabel'{
  13834.                         image=url:format(109101526);
  13835.                         backgroundTransparency=1;
  13836.                         size=UDim2.new(1,0,1,0);
  13837.                         bb;
  13838.                 };
  13839.                
  13840.         _rem(light,0.15);
  13841. end;
  13842.  
  13843. _rem=function(object,del)
  13844.         if(del)then
  13845.                 delay(del,function()
  13846.                         if(object.Parent)then
  13847.                                 object.Parent=nil;
  13848.                         end;
  13849.                 end);
  13850.         else
  13851.                 pcall(function()
  13852.                         if(object.Parent)then
  13853.                                 object.Parent=nil;
  13854.                         end;
  13855.                 end);
  13856.         end;
  13857. end;
  13858.  
  13859. _blood=function(pos,count)
  13860.         for i=1,count do
  13861.                 local p=_new'part'{
  13862.                         rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  13863.                         position=pos+Vector3.new(math.random(),math.random(),math.random());
  13864.                         velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  13865.                         size=Vector3.new(math.random(),math.random(),math.random())/3;
  13866.                         color=_RGB(255,0,0);
  13867.                         transparency=0.5;
  13868.                         canCollide=true;
  13869.                         bottomSurface=0;
  13870.                         topSurface=0;
  13871.                         formFactor=3;
  13872.                         locked=true;
  13873.                         inv;
  13874.                 };
  13875.                 delay(5,function()
  13876.                         p.Parent=nil;
  13877.                 end);
  13878.         end;
  13879. end;
  13880.  
  13881. _make_hue=function()
  13882.         h_hue=_new'part'{
  13883.                 size=Vector3.new(0.25,1.8,0.35);
  13884.                 color=_RGB(100,100,100);
  13885.                 formFactor=3;
  13886.                 name='hue';
  13887.                 handle;
  13888.         };
  13889.         hh_weld=_new'weld'{
  13890.                 c1=_cframe(0,0.5,0);
  13891.                 part0=handle;
  13892.                 part1=h_hue;
  13893.                 handle;
  13894.         };
  13895. end;
  13896.  
  13897. _shot=function(v0,v1)
  13898.         if(not time_left)then
  13899.                 time_left=0;
  13900.         end;
  13901.         if(time_left>time())then
  13902.                 return nil;
  13903.         else
  13904.                 time_left=time()+math.random(1,10)/100;
  13905.         end;
  13906.        
  13907.         if(bullets.current<1)then
  13908.                local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  13909.                        soundId='rbxasset://sounds/SWITCH3.wav';
  13910.                        name='tick_sound';
  13911.                        volume=0.2;
  13912.                        pitch=2;
  13913.                        head;
  13914.                };
  13915.                tick_sound:play();
  13916.                if(bullets.clip>0)then
  13917.                         time_left=time()+2;
  13918.                         h_hue:breakJoints();
  13919.                         h_hue.CanCollide=true;
  13920.                         h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  13921.                         _rem(h_hue,10);
  13922.                         delay(1.9,function()
  13923.                                 _make_hue();
  13924.                                 local got=(bullets.clip>bullets.maximum and
  13925.                                         bullets.maximum or
  13926.                                         bullets.clip)-bullets.current;
  13927.  
  13928.                                 bullets.clip=bullets.clip-got;
  13929.                                 bullets.current=bullets.current+got;
  13930.                         end);
  13931.                 end;
  13932.                 return nil;
  13933.         else
  13934.                 bullets.current=bullets.current-1;
  13935.                
  13936.                 h_weld.C1=_cframe(0,0.75,0,
  13937.                                         -math.random(1000,1100)/10,180,0);
  13938.                 d_weld.C1=_cframe(0,-0.25,0.3);
  13939.                
  13940.                 lightstuff.Visible=true;
  13941.                 delay(0.1,function()
  13942.                         lightstuff.Visible=false;
  13943.                 end);
  13944.                
  13945.                 _rem(_new'part'{
  13946.                         velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  13947.                         cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  13948.                         size=Vector3.new(0.1,0.1,0.4);
  13949.                         color=_RGB(200,200,0);
  13950.                         material='Slate';
  13951.                         canCollide=true;
  13952.                         formFactor=3;
  13953.                         inv;
  13954.                 },5);
  13955.                 delay(0.1,function()
  13956.                         d_weld.C1=_cframe(0,-0.25,0);
  13957.                         if(bool_active)then
  13958.                                 h_weld.C1=h_weld_cf_active;
  13959.                         end;
  13960.                 end)
  13961.         end;
  13962.        
  13963.         local hit,pos=_must(v0,v1,char);
  13964.        
  13965.         shot_sound:play();
  13966.        
  13967.         _light(v0,v1);
  13968.        
  13969.         if(not hit)then return nil;end;
  13970.        
  13971.         if(hit.Parent.className=='Hat')then
  13972.                 hit:breakJoints();
  13973.                 hit.CanCollide=true;
  13974.                 hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  13975.                 hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  13976.         else
  13977.                 local hum=_hum(hit.Parent);
  13978.                 if(not hum)then
  13979.                         if(hit.Anchored==false and hit.Size.magnitude<4)then
  13980.                                hit:breakJoints();
  13981.                                hit.CanCollide=true;
  13982.                        end;
  13983.                else
  13984.                        _hum_dam(hum,math.random(4,6));
  13985.                        _blood(pos,math.random(3,6));
  13986.                        hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  13987.                        if(hit.Name=='Head')then
  13988.                                hum.Health=0;
  13989.                                _blood(pos,math.random(3,6));
  13990.                                delay(0.001,function()
  13991.                                        _new(workspace:FindFirstChild'head_shot'or'sound'){
  13992.                                                pitch=math.random(70,100)*0.01;
  13993.                                                soundId=url:format(1876552);
  13994.                                                name='head_shot';
  13995.                                                workspace;
  13996.                                        }:play();
  13997.                                end);
  13998.                                _hum_tag(hum);
  13999.                                _rem(_new'part'{
  14000.                                        cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  14001.                                        size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  14002.                                        color=torso.Color;
  14003.                                        transparency=0.5;
  14004.                                        canCollide=false;
  14005.                                        bottomSurface=0;
  14006.                                        anchored=true;
  14007.                                        formFactor=3;
  14008.                                        topSurface=0;
  14009.                                        inv;
  14010.                                },30);
  14011.                                hit.Parent=nil;
  14012.                                for b=0,1 do
  14013.                                        for a=0,1 do
  14014.                                                for i=0,1 do
  14015.                                                        _rem(_new'part'{
  14016.                                                                velocity=CFrame.new(v0,pos).lookVector*20;
  14017.                                                                cFrame=hit.CFrame*CFrame.new(i,-b,a);
  14018.                                                                size=Vector3.new(0.5,0.5,0.5);
  14019.                                                                color=_RGB(255,255,255);
  14020.                                                                bottomSurface=0;
  14021.                                                                canCollide=true;
  14022.                                                                transparency=0;
  14023.                                                                formFactor=3;
  14024.                                                                topSurface=0;
  14025.                                                                hum;
  14026.                                                        },30);
  14027.                                                end;
  14028.                                        end;
  14029.                                end;
  14030.                        end;
  14031.                end;
  14032.        end;
  14033. end;
  14034.  
  14035. ----------------------------------------------------------------------------------------
  14036.  
  14037. _cf_select=function(mouse)
  14038.        mouse.Icon=url:format(109111387);--108999296
  14039.        bool_active=true;
  14040.        
  14041.        local arm=char:findFirstChild'Right Arm';
  14042.        local weld=torso:findFirstChild'Right Shoulder';
  14043.        if(arm and weld)then
  14044.                h_weld.Part0=arm;
  14045.                h_weld.C1=h_weld_cf_active;
  14046.                
  14047.                weld.Part1=nil;
  14048.                weld.Part0=nil;
  14049.                
  14050.                weld=_new(torso:findFirstChild'right_arml'or'weld'){
  14051.                        name='right_arml';
  14052.                        part0=torso;
  14053.                        part1=arm;
  14054.                        torso;
  14055.                };
  14056.                
  14057.                arml=(arml or 0)+1;
  14058.                local alv=arml;
  14059.                local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  14060.                        gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  14061.                        gyro.P=30000;
  14062.                        gyro.D=1000;
  14063.                        gyro.Name='p_gyro';
  14064.                repeat
  14065.                        local pos=mouse.hit.p;
  14066.                        local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  14067.                        
  14068.                        val=-math.pi*0.5;
  14069.                        valp=val*-1;
  14070.                        p0=torso.CFrame;
  14071.                        p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  14072.                        p1=p0+((p0.p-pos).unit*-2);
  14073.                        p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  14074.                        hitpos=torso.Position;
  14075.                        cj=CFrame.new(hitpos);
  14076.                        c0=torso.CFrame:inverse()*cj;
  14077.                        c1=p2:inverse()*cj;
  14078.                        weld.C0=c0;
  14079.                        weld.C1=c1;
  14080.                        
  14081.                        gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  14082.                        
  14083.                        wait(0.001);
  14084.                until arml~=alv;
  14085.                gyro.Parent=nil;
  14086.        end;
  14087. end;
  14088.  
  14089. _cf_deselect=function()
  14090.        bool_active=false;
  14091.        arml=(arml or 0)+1;
  14092.        loop_shot=(loop_shot or 0)+1;
  14093.                
  14094.        h_weld.Part0=torso;
  14095.        h_weld.C1=h_weld_cf_inactive;
  14096.        
  14097.        local weld=torso:findFirstChild'right_arml';
  14098.        if(weld)then
  14099.                weld.Part1=nil;
  14100.                weld.Part0=nil;
  14101.        end;
  14102.        local arm=char:findFirstChild'Right Arm';
  14103.        local weld=torso:findFirstChild'Right Shoulder';
  14104.        if(arm and weld)then
  14105.                weld.Part0=torso;
  14106.                weld.Part1=arm;
  14107.        end;
  14108. end;
  14109.  
  14110. _cf_mouse=function(event,fun)
  14111.        mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  14112.                if(bool_active)then
  14113.                        fun(...);
  14114.                end;
  14115.        end);
  14116. end;
  14117.  
  14118. ----------------------------------------------------------------------------------------
  14119.  
  14120. do
  14121.        local main=getfenv(0);
  14122.        local c=game:children();
  14123.        local check=function(v)
  14124.                if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  14125.                        main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  14126.                end;
  14127.        end;
  14128.        for i=1,#c do
  14129.                pcall(check,c[i]);
  14130.        end;
  14131. end;
  14132.  
  14133. ----------------------------------------------------------------------------------------
  14134.  
  14135. bullets={
  14136.        maximum=51111111111111111111111111110;
  14137.        current=511111111111111111111111111111110;
  14138.        clip=501111111111111111111111111111111*4;
  14139. };
  14140.  
  14141. list_base_props={
  14142.        backgroundColor3=_RGB(0,0,0);
  14143.        textColor3=_RGB(200,200,200);
  14144.        borderSizePixel=0;
  14145.        color=_RGB(0,0,0);
  14146.        archivable=false;
  14147.        canCollide=false;
  14148.        bottomSurface=0;
  14149.        topSurface=0;
  14150.        formFactor=0;
  14151.        locked=true;
  14152. };
  14153.  
  14154. ----------------------------------------------------------------------------------------
  14155.  
  14156. user=players.localPlayer;
  14157. mouse=user:getMouse();
  14158. char=user.Character;
  14159. gui=user.PlayerGui;
  14160. bag=user.Backpack;
  14161. torso=char.Torso;
  14162. head=char.Head;
  14163. hum=_hum(char);
  14164.  
  14165. url='rbxassetid://%d';
  14166. name='dev-uzi';
  14167.  
  14168. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  14169.                                                        0,90,-70);
  14170. h_weld_cf_active=_cframe(0,0.75,0,
  14171.                                                -110,180,0);
  14172.  
  14173. assert(hum,'humanoid is not found');
  14174.  
  14175. ----------------------------------------------------------------------------------------
  14176.  
  14177. _clear();
  14178.  
  14179. ----------------------------------------------------------------------------------------
  14180.  
  14181. _cf_mouse('button1Down',function()
  14182.        loop_shot=(loop_shot or 0)+1;
  14183.        local vers=loop_shot;
  14184.        local step=runService.Stepped;
  14185.        repeat
  14186.                _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  14187.                step:wait();--wait(0.001);
  14188.        until vers~=loop_shot;
  14189. end);
  14190.  
  14191. _cf_mouse('button1Up',function()
  14192.        loop_shot=(loop_shot or 0)+1;
  14193. end);
  14194.  
  14195. _cf_mouse('move',function()
  14196.        cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  14197. end);
  14198.  
  14199. _cf_mouse('keyDown',function(k)
  14200.        if(k=='r')then
  14201.                if(bullets.clip>0 and time_left<=time())then
  14202.                        local got=(bullets.clip>bullets.maximum and
  14203.                                 bullets.maximum or
  14204.                                 bullets.clip)-bullets.current;
  14205.  
  14206.                         bullets.clip=bullets.clip-got;
  14207.                         bullets.current=bullets.current+got;
  14208.                         if(got~=0)then
  14209.                                 time_left=time()+2;
  14210.                         end;
  14211.                 end;
  14212.         end;
  14213. end);
  14214.  
  14215. ----------------------------------------------------------------------------------------
  14216.  
  14217. screen=_new'screenGui'{
  14218.         name=name;
  14219. };
  14220.  
  14221. cross_f=_new'frame'{
  14222.         size=UDim2.new(0,21,0,21);
  14223.         backgroundTransparency=1;
  14224.         screen;
  14225. };
  14226.  
  14227. for i=0,1 do
  14228.         _new'frame'{
  14229.                 position=UDim2.new(0,13*i,0,11);
  14230.                 size=UDim2.new(0,10,0,1);
  14231.                 cross_f;
  14232.         };
  14233. end;
  14234.  
  14235. for i=0,1 do
  14236.         _new'frame'{
  14237.                 position=UDim2.new(0,11,0,13*i);
  14238.                 size=UDim2.new(0,1,0,10);
  14239.                 cross_f;
  14240.         };
  14241. end;
  14242.  
  14243. ----------------------------------------------------------------------------------------
  14244.  
  14245. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  14246.         soundId=url:format(2920959);
  14247.         pitch=1.4;
  14248.         head;
  14249. };
  14250. if(shot_sound.Name~='2920959')then
  14251.         shot_sound.Name='2920959';
  14252.         shot_sound:play();
  14253. end;
  14254.  
  14255. bin=_new'hopperBin'{
  14256.         deselected=_cf_deselect;
  14257.         selected=_cf_select;
  14258.         name=name;
  14259.         bag;
  14260. };
  14261.  
  14262. inv=_new'model'{
  14263.         name=name;
  14264.         char;
  14265. };
  14266.  
  14267. handle=_new'part'{
  14268.         size=Vector3.new(0.3,1.3,0.4);
  14269.         color=_RGB(140,140,140);
  14270.         name='handle';
  14271.         formFactor=3;
  14272.         inv;
  14273.         touched=function(hit)
  14274.                 if(hit.Parent.className=='Model')then
  14275.                         local hum=_hum(hit.Parent);
  14276.                         if(hum~=nil)then
  14277.                                 _hum_dam(hum,handle.Velocity.magnitude);
  14278.                         end;
  14279.                 end;
  14280.         end;
  14281. };
  14282.         h_weld=_new'weld'{
  14283.                 c1=h_weld_cf_inactive;
  14284.                 part1=handle;
  14285.                 part0=torso;
  14286.                 handle;
  14287.         };
  14288.                 _make_hue();
  14289.                
  14290.                 h_part=_new'part'{
  14291.                         size=Vector3.new(0.4,0.4,1.4);
  14292.                         color=_RGB(140,140,140);
  14293.                         name='handle';
  14294.                         formFactor=3;
  14295.                         handle;
  14296.                 };
  14297.                 hp_weld=_new'weld'{
  14298.                         c1=_cframe(0,-1.3/2,-0.3,
  14299.                                                 20,0,0);
  14300.                         part0=handle;
  14301.                         part1=h_part;
  14302.                         handle;
  14303.                 };
  14304.                
  14305.                 drag=_new'part'{
  14306.                         size=Vector3.new(0.5,0.45,1.5);
  14307.                         color=_RGB(100,100,100);
  14308.                         name='handle';
  14309.                         formFactor=3;
  14310.                         handle;
  14311.                 };
  14312.                 d_weld=_new'weld'{
  14313.                         c1=_cframe(0,-0.25,0);
  14314.                         part0=h_part;
  14315.                         part1=drag;
  14316.                         handle;
  14317.                 };
  14318.                
  14319.                 tube=_new'part'{
  14320.                         size=Vector3.new(0.2,0.2,1.5);
  14321.                         color=_RGB(0,0,0);
  14322.                         name='handle';
  14323.                         formFactor=3;
  14324.                         handle;
  14325.                 };
  14326.                 t_weld=_new'weld'{
  14327.                         c1=_cframe(0,-0.3,-0.1);
  14328.                         part0=h_part;
  14329.                         part1=tube;
  14330.                         handle;
  14331.                 };
  14332.  
  14333. bullets_label=_new'textLabel'{
  14334.         textStrokeColor3=_RGB(0,0,0);
  14335.         textColor3=_RGB(200,200,200);
  14336.         textStrokeTransparency=0;
  14337.         backgroundTransparency=1;
  14338.         fontSize=5;
  14339.         screen;
  14340. };
  14341.  
  14342. lightstuff=_new'frame'{
  14343.         backgroundColor3=_RGB(255,255,255);
  14344.         position=UDim2.new(0,0,0,-1);
  14345.         backgroundTransparency=0.5;
  14346.         size=UDim2.new(1,0,1,1);
  14347.         borderSizePixel=0;
  14348.         visible=false;
  14349.         screen;
  14350. };
  14351.  
  14352. coroutine.wrap(function()
  14353.         local red,white,green;
  14354.         repeat
  14355.                 if(screen.Parent)then
  14356.                         if(not green and bullets.current==bullets.maximum)then
  14357.                                 green=true;
  14358.                                 bullets_label.TextColor3=_RGB(0,200,0);
  14359.                         elseif(not red and bullets.current==0)then
  14360.                                 red=true;
  14361.                                 bullets_label.TextColor3=_RGB(200,0,0);
  14362.                         elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  14363.                                 bullets_label.TextColor3=_RGB(200,200,200);
  14364.                                 green=false;
  14365.                                 red=false;
  14366.                         end;
  14367.                         bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  14368.                         bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  14369.                         bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  14370.                 end;
  14371.                 wait(0.001);
  14372.         until nil;
  14373. end)();
  14374.  
  14375. ----------------------------------------------------------------------------------------
  14376.  
  14377. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  14378. local vers=_G.dev_pistol_version;
  14379. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  14380. if(hum.Health==0)then
  14381.         _clear();
  14382. end;
  14383. script.Disabled=true;
  14384.  
  14385. --mediafire-----------------------------------------------------------------------------
  14386.  
  14387.  
  14388.  
  14389.         end)
  14390. --
  14391. local button = Instance.new("TextButton")
  14392.         button.Parent = gt
  14393.         button.BackgroundColor3 = blak
  14394.         button.BorderColor3 = rede
  14395.         button.BorderSizePixel = 3
  14396.         button.Name = "Laser Rifle"
  14397.         button.Position = UDim2.new(0.5,3,0,99)
  14398.         button.Size = UDim2.new(0.5,-3,0,30)
  14399.         button.ZIndex = 2
  14400.         button.Font = tef
  14401.         button.FontSize = "Size14"
  14402.         button.Text = "Laser Rifle"
  14403.         button.TextColor3 = whit
  14404.         button.TextWrapped = true
  14405.         button.MouseButton1Down:connect(function()
  14406.                
  14407.         end)
  14408. --
  14409. local button = Instance.new("TextButton")
  14410.         button.Parent = gt
  14411.         button.BackgroundColor3 = blak
  14412.         button.BorderColor3 = rede
  14413.         button.BorderSizePixel = 3
  14414.         button.Name = "Draw Tool"
  14415.         button.Position = UDim2.new(0,0,0,132)
  14416.         button.Size = UDim2.new(0.5,0,0,30)
  14417.         button.ZIndex = 2
  14418.         button.Font = tef
  14419.         button.FontSize = "Size14"
  14420.         button.Text = "Draw Tool"
  14421.         button.TextColor3 = whit
  14422.         button.MouseButton1Down:connect(function()
  14423.                 for i,v in next,game:children()do
  14424.         pcall(function()
  14425.                 local c=v.className;
  14426.                 rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c));
  14427.         end);
  14428. end;
  14429.  
  14430.  
  14431. local user=Players.LocalPlayer;
  14432. uname=user.Name;
  14433. local guis=user.PlayerGui;
  14434. local pack=user.Backpack;
  14435.  
  14436. keyDowns={};
  14437. freeKeys={};
  14438. shortcuts={};
  14439.  
  14440. _G.mine=_G.mine or{};
  14441.  
  14442. name='Draw3D';
  14443. local url='http://www.roblox.com/asset/?id=%d';
  14444.  
  14445. iconNormal=url:format(96578285);
  14446. iconOnDown=url:format(96584484);
  14447.  
  14448. ver=0;
  14449. drawPixel=0.10;
  14450. _G.drawLimit=_G.drawLimit or 1000;
  14451.  
  14452. _G.drawColor=_G.drawColor or Color3.new();
  14453.  
  14454.  
  14455.  
  14456.  
  14457.  
  14458. destroy=game.remove;
  14459. find=game.findFirstChild;
  14460. new=Instance.new;
  14461. with=function(c)
  14462.         return function(p)
  14463.                 local o=type(c)=='string'and new(c)or c;
  14464.                 local x=p.Parent;p.Parent=nil;
  14465.                 for i,v in next,p do
  14466.                         o[i]=v;
  14467.                 end;
  14468.                 if(x)then
  14469.                         o.Parent=x;
  14470.                 end;
  14471.                 return o;
  14472.         end;
  14473. end;
  14474. getPlace=function()
  14475.         if(find(workspace,'draw')==nil)then
  14476.                 new('Model',workspace).Name='draw';
  14477.         end;
  14478.         if(find(workspace.draw,uname)==nil)then
  14479.                 new('Model',workspace.draw).Name=uname;
  14480.         end;
  14481.         return workspace.draw[uname];
  14482. end;
  14483. drawLine=function(start,target)
  14484.         local gui=with'BlockMesh'{
  14485.                 Parent=with'Part'{
  14486.                         CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2);
  14487.                         Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel);
  14488.                         Parent=getPlace();
  14489.                         Color=_G.drawColor;
  14490.                         BottomSurface=0;
  14491.                         Anchored=true;
  14492.                         TopSurface=0;
  14493.                         formFactor=3;
  14494.                         Name=name;
  14495.         }}.Parent;
  14496.         table.insert(_G.mine,gui);
  14497.         return gui;
  14498. end;
  14499. onDown=function()
  14500.  if(drawing)then
  14501.                 return nil;
  14502.         end;
  14503.         if(selectGui.Adornee)then
  14504.                 destroy(selectGui.Adornee);
  14505.         end;
  14506.        
  14507.         drawing=true;
  14508.        
  14509.         mouse.Icon=iconOnDown;
  14510.         ver=ver+1;
  14511.        
  14512.        
  14513.         local cVer,start,target=ver,mouse.hit.p;
  14514.        
  14515.         local group={};
  14516.         repeat
  14517.                 wait(0.02);
  14518.                
  14519.                 if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then
  14520.                        
  14521.                         target=mouse.hit.p;
  14522.                        
  14523.                         table.insert(group,drawLine(start,target));
  14524.                        
  14525.                         start=target;
  14526.                 end;
  14527.         until ver~=cVer;
  14528.         drawing=false;
  14529.        
  14530.         local groupM=new('Model',getPlace());
  14531.         for i,v in next,group do
  14532.                 if(v:IsDescendantOf(workspace))then
  14533.                         v.Parent=groupM;
  14534.                 end;
  14535.         end;
  14536.         if(next(groupM:children())==nil)then
  14537.                 destroy(groupM);
  14538.         end;
  14539. end;
  14540. onUp=function()
  14541.         mouse.Icon=iconNormal;
  14542.         ver=ver+1;
  14543. end;
  14544. onKeyDown=function(k)
  14545.         if(freeKeys[k]==false)then
  14546.                 return false;
  14547.         end;
  14548.         freeKeys[k]=false;
  14549.         wait(0.01);
  14550.         if(keyDowns[k])then
  14551.                 keyDowns[k]();
  14552.         elseif(shortcuts[k])then
  14553.                 shortcuts[k]();
  14554.         end;
  14555. end;
  14556. onKeyUp=function(k)
  14557.         freeKeys[k]=true;
  14558. end;
  14559. onMove=function()
  14560.  
  14561. end;
  14562. local onSelect=function(lmouse)
  14563.         frame.Visible=true;
  14564.  
  14565.         mouse=lmouse;
  14566.        
  14567.         mouse.Icon=iconNormal;
  14568.        
  14569.         mouse.Button1Down:connect(onDown);
  14570.         mouse.KeyDown:connect(onKeyDown);
  14571.         mouse.Button1Up:connect(onUp);
  14572.         mouse.KeyUp:connect(onKeyUp);
  14573.         mouse.Move:connect(onMove);
  14574. end;
  14575. local onDeselect=function()
  14576.         ver=ver+1;
  14577.         frame.Visible=false;
  14578.         selectGui.Adornee=nil;
  14579.         mouse.Icon=iconNormal;
  14580.         for i,v in next,freeKeys do
  14581.                 freeKeys[i]=true;
  14582.         end;
  14583. end;
  14584. local addButton=function(title,shortcut,fun)
  14585.         with'TextButton'{
  14586.                 Text=string.format(' %s (%s)',title,shortcut);
  14587.                 TextXAlignment=0;
  14588.                 Parent=frame;
  14589.         }.MouseButton1Up:connect(fun);
  14590.        
  14591.         shortcuts[shortcut]=fun;
  14592.        
  14593.         local c=#frame:children();
  14594.         for i,v in next,frame:children()do
  14595.                 v.Position=UDim2.new(0,0,0,20*(i-1));
  14596.                 v.Size=UDim2.new(1,0,0,20);
  14597.         end;
  14598.        
  14599.         frame.Position=UDim2.new(1,-152,.5,-c*10);
  14600.         frame.Size=UDim2.new(0,150,0,c*20);
  14601. end;
  14602.  
  14603.  
  14604.  
  14605.  
  14606.  
  14607.  
  14608.  
  14609.  
  14610. for i,v in next,{guis;pack;}do
  14611.         pcall(function()
  14612.                 repeat until destroy(v[name]);
  14613.         end);
  14614. end;
  14615.  
  14616.  
  14617.  
  14618. local tool=with'HopperBin'{
  14619.         Parent=pack;
  14620.         Name=name;
  14621. };
  14622. tool.Deselected:connect(onDeselect);
  14623. tool.Selected:connect(onSelect);
  14624.  
  14625.  
  14626.  
  14627.  
  14628. local screen=with'ScreenGui'{
  14629.         Parent=guis;
  14630.         Name=name;
  14631. };
  14632. frame=with'Frame'{
  14633.         Parent=screen;
  14634.         Visible=false;
  14635. };
  14636. clframe=with'Frame'{
  14637.         Position=UDim2.new(.5,-50,.5,-50);
  14638.         Size=UDim2.new(0,100,0,100);
  14639.         Visible=false;
  14640.         Parent=screen;
  14641. };
  14642. selectGui=with'SelectionBox'{
  14643.         Parent=screen;
  14644. };
  14645.  
  14646. local c=0;
  14647. for y=0,7 do
  14648.         for x=0,7 do
  14649.                 local color=BrickColor.palette(c).Color;
  14650.                
  14651.                 with'ImageButton'{
  14652.                         Position=UDim2.new(.125*x,0,.125*y);
  14653.                         Size=UDim2.new(.125,0,.125);
  14654.                         BackgroundColor3=color;
  14655.                         Parent=clframe;
  14656.                 }.MouseButton1Up:connect(function()
  14657.                         clframe.Visible=false;
  14658.                         _G.drawColor=color;
  14659.                 end);
  14660.                
  14661.                 c=c+1;
  14662.         end;
  14663. end;
  14664.  
  14665. addButton('Color','c',function()
  14666.         clframe.Visible=true;
  14667. end);
  14668. addButton('Remove your draws','r',function()
  14669.         repeat
  14670.                 destroy(_G.mine[1]);
  14671.                 table.remove(_G.mine,1);
  14672.                 wait(0.01);
  14673.         until nil;
  14674. end);
  14675. addButton('Remove global draws','k',function()
  14676.         destroy(workspace.draw);
  14677.         while(_G.mine[1])do
  14678.                 destroy(_G.mine[1]);
  14679.                 table.remove(_G.mine,1);
  14680.         end;
  14681. end);
  14682. addButton('Remove selected','x',function()
  14683.         repeat
  14684.                 if(find(workspace,'draw'))then
  14685.                         local dt=mouse.target;
  14686.                         if(dt and dt:IsDescendantOf(workspace.draw))then
  14687.                                 selectGui.Adornee=dt.Parent;
  14688.                         else
  14689.                                 selectGui.Adornee=nil;
  14690.                         end;
  14691.                 else
  14692.                         selectGui.Adornee=nil;
  14693.                 end;
  14694.                 wait(0.01);
  14695.         until freeKeys.x;
  14696.         selectGui.Adornee=nil;
  14697. end);
  14698.  
  14699.  
  14700.  
  14701.  
  14702. repeat
  14703.         wait(0.01);
  14704.         if(next(_G.mine)and _G.mine[_G.drawLimit])then
  14705.                 destroy(_G.mine[1]);
  14706.                 table.remove(_G.mine,1);
  14707.         end;
  14708. until script.Parent==nil or tool.Parent==nil;
  14709. script.Disabled=true;
  14710. destroy(screen);
  14711.  
  14712.  
  14713. --Dresmor Alakazard--
  14714.         end)
  14715. --
  14716. local button = Instance.new("TextButton")
  14717.         button.Parent = gt
  14718.         button.BackgroundColor3 = blak
  14719.         button.BorderColor3 = rede
  14720.         button.BorderSizePixel = 3
  14721.         button.Name = "Empty"
  14722.         button.Position = UDim2.new(0.5,3,0,132)
  14723.         button.Size = UDim2.new(0.5,-3,0,30)
  14724.         button.ZIndex = 2
  14725.         button.Font = tef
  14726.         button.FontSize = "Size14"
  14727.         button.Text = "Empty"
  14728.         button.TextColor3 = whit
  14729.         button.TextWrapped = true
  14730.         button.MouseButton1Down:connect(function()
  14731.                
  14732.         end)
  14733. --
  14734. local button = Instance.new("TextButton")
  14735.         button.Parent = gt
  14736.         button.BackgroundColor3 = blak
  14737.         button.BorderColor3 = rede
  14738.         button.BorderSizePixel = 3
  14739.         button.Name = "Empty"
  14740.         button.Position = UDim2.new(0,0,0,165)
  14741.         button.Size = UDim2.new(0.499,0,0,30)
  14742.         button.ZIndex = 2
  14743.         button.Font = tef
  14744.         button.FontSize = "Size14"
  14745.         button.Text = "Empty"
  14746.         button.TextColor3 = whit
  14747.         button.MouseButton1Down:connect(function()
  14748.                
  14749.         end)
  14750. --
  14751. local button = Instance.new("TextButton")
  14752.         button.Parent = gt
  14753.         button.BackgroundColor3 = blak
  14754.         button.BorderColor3 = rede
  14755.         button.BorderSizePixel = 3
  14756.         button.Name = "Empty"
  14757.         button.Position = UDim2.new(0.5,3,0,165)
  14758.         button.Size = UDim2.new(0.5,-3,0,30)
  14759.         button.ZIndex = 2
  14760.         button.Font = tef
  14761.         button.FontSize = "Size14"
  14762.         button.Text = "Empty"
  14763.         button.TextColor3 = whit
  14764.         button.MouseButton1Down:connect(function()
  14765.                
  14766.         end)
  14767. --
  14768. local button = Instance.new("TextButton")
  14769.         button.Parent = gt
  14770.         button.BackgroundColor3 = blak
  14771.         button.BorderColor3 = rede
  14772.         button.BorderSizePixel = 3
  14773.         button.Name = "Empty"
  14774.         button.Position = UDim2.new(0,0,0,198)
  14775.         button.Size = UDim2.new(0.499,0,0,30)
  14776.         button.ZIndex = 3
  14777.         button.Font = tef
  14778.         button.FontSize = "Size14"
  14779.         button.Text = "Empty"
  14780.         button.TextColor3 = whit
  14781.         button.TextWrapped = true
  14782.         button.MouseButton1Down:connect(function()
  14783.                
  14784.         end)
  14785. --
  14786. local button = Instance.new("TextButton")
  14787.         button.Parent = gt
  14788.         button.BackgroundColor3 = blak
  14789.         button.BorderColor3 = rede
  14790.         button.BorderSizePixel = 3
  14791.         button.Name = "Empty"
  14792.         button.Position = UDim2.new(0.5,3,0,198)
  14793.         button.Size = UDim2.new(0.5,-3,0,30)
  14794.         button.ZIndex = 2
  14795.         button.Font = tef
  14796.         button.FontSize = "Size14"
  14797.         button.Text = "Empty"
  14798.         button.TextColor3 = whit
  14799.         button.MouseButton1Down:connect(function()
  14800.                
  14801.         end)
  14802.        
  14803.        
  14804. -- Weapon Scripts --
  14805. local button = Instance.new("TextButton")
  14806.         button.Parent = ws
  14807.         button.BackgroundColor3 = blak
  14808.         button.BorderColor3 = rede
  14809.         button.BorderSizePixel = 3
  14810.         button.Name = "Drage"
  14811.         button.Position = UDim2.new(0,0,0,33)
  14812.         button.Size = UDim2.new(0.5,0,0,30)
  14813.         button.ZIndex = 2
  14814.         button.Font = tef
  14815.         button.FontSize = "Size14"
  14816.         button.Text = "Drage"
  14817.         button.TextColor3 = whit
  14818.         button.MouseButton1Down:connect(function()
  14819.                 --[[ put your name where it says yourname -ulti55 ]]
  14820. Plrs = game:GetService("Players")
  14821.  
  14822.  
  14823.  
  14824. me = Plrs.LocalPlayer
  14825.  
  14826. char = me.Character
  14827.  
  14828.  
  14829.  
  14830. Modelname = "xWep"
  14831.  
  14832. Toolname = "Drage"
  14833.  
  14834. Able = true
  14835.  
  14836. Selected = false
  14837.  
  14838. Deb = true
  14839.  
  14840. Hurt = false
  14841.  
  14842. CritMultiplier = 1.6
  14843.  
  14844. ComboOn = false
  14845.  
  14846. AbleToBreak = false
  14847.  
  14848. CounterKey = false
  14849.  
  14850. Attack = 1
  14851.  
  14852. AddDamage = 0
  14853.  
  14854. AddDamageX = 1
  14855.  
  14856. AddShield = 0
  14857.  
  14858. Dmgs = {Smash = {"Smash", 25, 2, 3, false}, Slash = {"Slash", 18, 1, 3, false}, SideSlash = {"SideSlash", 18, 1, 3, false},
  14859.  
  14860. DoubleSlash = {"Double Slash", 20, 1, 2, false}, Spin = {"Spin Slash", 30, 2, 5, true, 30}, Boom = {"Boom", 60, 6, 6, true, 50, 16},
  14861.  
  14862. RageMode = {"RAGE", 8, 1.35, 1, 50}, Counter = {"Counter", 25, 1, 1, true, 15}, RageSlash = {"Rage Slash", 40, 3, 7, true, 30}}
  14863.  
  14864. RageMode = false
  14865.  
  14866. Mode = Dmgs.Slash
  14867.  
  14868. AbleAll = true
  14869.  
  14870. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  14871.  
  14872. Aim = false
  14873.  
  14874.  
  14875.  
  14876. LineColor = "White"
  14877.  
  14878. EffectColor3 = "Bright red"
  14879.  
  14880. EffectColor2 = "White"
  14881.  
  14882. EffectColor = "Pastel Blue"
  14883.  
  14884. MainColor = "Navy blue"
  14885.  
  14886. BladeColor = "Pastel Blue"
  14887.  
  14888.  
  14889.  
  14890. BlockBars = {}
  14891.  
  14892.  
  14893.  
  14894. MaxRage = 100
  14895.  
  14896. Rage = MaxRage
  14897.  
  14898.  
  14899.  
  14900. CritChance = 5 --Percent
  14901.  
  14902.  
  14903.  
  14904. for _, v in pairs(char:children()) do
  14905.  
  14906.         if v.Name == "Block" then v:remove() end
  14907.  
  14908. end
  14909.  
  14910.  
  14911.  
  14912. BlockRealPowa = 4
  14913.  
  14914.  
  14915.  
  14916. Block = Instance.new("BoolValue")
  14917.  
  14918. Block.Name = "Block"
  14919.  
  14920. Block.Value = false
  14921.  
  14922. BlockPower = Instance.new("IntValue")
  14923.  
  14924. BlockPower.Name = "BlockPower"
  14925.  
  14926. BlockPower.Value = BlockRealPowa
  14927.  
  14928. BlockPower.Parent = Block
  14929.  
  14930. Block.Parent = char
  14931.  
  14932.  
  14933.  
  14934. CA = CFrame.Angles
  14935.  
  14936. CN = CFrame.new
  14937.  
  14938. MR = math.rad
  14939.  
  14940. MP = math.pi
  14941.  
  14942. MD = math.deg
  14943.  
  14944. MH = math.huge
  14945.  
  14946. MRA = math.random
  14947.  
  14948.  
  14949.  
  14950. EffPos = CFrame.new(0, 0.5, 0)
  14951.  
  14952.  
  14953.  
  14954. Sounds = {
  14955.  
  14956.         Equip = {"rbxasset://sounds//unsheath.wav", 0.7, 0.6},
  14957.  
  14958.         Hit = {"http://www.roblox.com/asset/?id=2801263", 0.9, 0.6},
  14959.  
  14960.         Block = {"", 1, 0.5},
  14961.  
  14962.         Slash = {"rbxasset://sounds//swordslash.wav", 2, 0.8},
  14963.  
  14964.         SmashHit = {"rbxasset://sounds\\metal.ogg", 1.5, 0.8},
  14965.  
  14966.         Jump = {"rbxasset://sounds/swoosh.wav", 1, 1},
  14967.  
  14968.         Boom = {"http://www.roblox.com/asset?id=1369158", 1.2, 1},
  14969.  
  14970.         SmashBoom = {"http://www.roblox.com/asset/?id=2760979", 0.25, 1},
  14971.  
  14972.         Jump2 = {"http://www.roblox.com/asset/?id=2101148", 2, 1},
  14973.  
  14974.         GoRage = {"http://www.roblox.com/asset/?id=2767090", 1, 1},
  14975.  
  14976.         Shout = {"http://www.roblox.com/asset/?id=2676305", 1.1, 0.8},
  14977.  
  14978.         RageOff = {"http://www.roblox.com/asset/?id=3264793", 1.6, 0.6},
  14979.  
  14980. }
  14981.  
  14982.  
  14983.  
  14984. Add = {
  14985.  
  14986.         Sphere = function(P)
  14987.  
  14988.                 local m = Instance.new("SpecialMesh",P)
  14989.  
  14990.                 m.MeshType = "Sphere"
  14991.  
  14992.                 return m
  14993.  
  14994.         end,
  14995.  
  14996.         BP = function(P)
  14997.  
  14998.                 local bp = Instance.new("BodyPosition",P)
  14999.  
  15000.                 bp.maxForce = Vector3.new(MH, MH, MH)
  15001.  
  15002.                 bp.P = 14000
  15003.  
  15004.                 return bp
  15005.  
  15006.         end,
  15007.  
  15008.         BG = function(P)
  15009.  
  15010.                 local bg = Instance.new("BodyGyro",P)
  15011.  
  15012.                 bg.maxTorque = Vector3.new(MH, MH, MH)
  15013.  
  15014.                 bg.P = 14000
  15015.  
  15016.                 return bg
  15017.  
  15018.         end,
  15019.  
  15020.         Mesh = function(P, ID, x, y, z)
  15021.  
  15022.                 local m = Instance.new("SpecialMesh")
  15023.  
  15024.                 m.MeshId = ID
  15025.  
  15026.                 m.Scale = Vector3.new(x, y, z)
  15027.  
  15028.                 m.Parent = P
  15029.  
  15030.                 return m
  15031.  
  15032.         end,
  15033.  
  15034.         Head = function(P)
  15035.  
  15036.                 local s = Instance.new("SpecialMesh")
  15037.  
  15038.                 s.MeshType = "Head"
  15039.  
  15040.                 s.Parent = P
  15041.  
  15042.                 return s
  15043.  
  15044.         end,
  15045.  
  15046.         Sound = function(P, ID, vol, pitch)
  15047.  
  15048.                 local s = Instance.new("Sound")
  15049.  
  15050.                 s.SoundId = ID
  15051.  
  15052.                 s.Volume = vol
  15053.  
  15054.                 s.Pitch = pitch
  15055.  
  15056.                 s.Parent = P
  15057.  
  15058.                 return s
  15059.  
  15060.         end
  15061.  
  15062. }
  15063.  
  15064.  
  15065.  
  15066. function RC(Pos, Dir, Max, Ignore)
  15067.  
  15068.         return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore)
  15069.  
  15070. end
  15071.  
  15072.  
  15073.  
  15074. function RayC(Start, En, MaxDist, Ignore)
  15075.  
  15076.         return RC(Start, (En - Start), MaxDist, Ignore)
  15077.  
  15078. end
  15079.  
  15080.  
  15081.  
  15082. function Notime(func, tim)
  15083.  
  15084.         coroutine.resume(coroutine.create(function()
  15085.  
  15086.                 if tim then
  15087.  
  15088.                         wait(tim)
  15089.  
  15090.                 end
  15091.  
  15092.                 func()
  15093.  
  15094.         end))
  15095.  
  15096. end
  15097.  
  15098.  
  15099.  
  15100. function waitChild(parent, name)
  15101.  
  15102.         local child = parent:findFirstChild(name)
  15103.  
  15104.         if child then return child end
  15105.  
  15106.         while true do
  15107.  
  15108.                 child = parent.ChildAdded:wait()
  15109.  
  15110.                 if child.Name == name then return child end
  15111.  
  15112.         end
  15113.  
  15114. end
  15115.  
  15116.  
  15117.  
  15118. function ComputePos(pos1, pos2)
  15119.  
  15120.         local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  15121.  
  15122.         return CFrame.new(pos1, pos3)
  15123.  
  15124. end
  15125.  
  15126.  
  15127.  
  15128. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  15129.  
  15130.         local p = Instance.new("Part")
  15131.  
  15132.         p.formFactor = "Custom"
  15133.  
  15134.         p.Anchored = Anchor
  15135.  
  15136.         p.CanCollide = Collide
  15137.  
  15138.         p.Transparency = Tran
  15139.  
  15140.         p.Reflectance = Ref
  15141.  
  15142.         p.BrickColor = BrickColor.new(Color)
  15143.  
  15144.         p.TopSurface = 0
  15145.  
  15146.         p.BottomSurface = 0
  15147.  
  15148.         p.Size = Vector3.new(X, Y, Z)
  15149.  
  15150.         if Break then
  15151.  
  15152.                 p:BreakJoints()
  15153.  
  15154.         else p:MakeJoints() end
  15155.  
  15156.         p.Parent = Parent
  15157.  
  15158.         p.Locked = true
  15159.  
  15160.         return p
  15161.  
  15162. end
  15163.  
  15164.  
  15165.  
  15166. function Weld(p0, p1, x, y, z, a, b, c)
  15167.  
  15168.         local w = Instance.new("Weld")
  15169.  
  15170.         w.Parent = p0
  15171.  
  15172.         w.Part0 = p0
  15173.  
  15174.         w.Part1 = p1
  15175.  
  15176.         w.C1 = CN(x,y,z) * CA(a,b,c)
  15177.  
  15178.         return w
  15179.  
  15180. end
  15181.  
  15182.  
  15183.  
  15184. torso = char.Torso
  15185.  
  15186. neck = torso.Neck
  15187.  
  15188. hum = char.Humanoid
  15189.  
  15190. Rarm = char["Right Arm"]
  15191.  
  15192. Larm = char["Left Arm"]
  15193.  
  15194. Rleg = char["Right Leg"]
  15195.  
  15196. Lleg = char["Left Leg"]
  15197.  
  15198.  
  15199.  
  15200. hc = Instance.new("Humanoid")
  15201.  
  15202. hc.Health = 0
  15203.  
  15204. hc.MaxHealth = 0
  15205.  
  15206.  
  15207.  
  15208. function getHumanoid(c)
  15209.  
  15210.         local h = nil
  15211.  
  15212.         for i,v in pairs(c:children()) do
  15213.  
  15214.                 if v:IsA("Humanoid") and c ~= char then
  15215.  
  15216.                         if v.Health > 0 then
  15217.  
  15218.                                 h = v
  15219.  
  15220.                         end
  15221.  
  15222.                 end
  15223.  
  15224.         end
  15225.  
  15226.         return h
  15227.  
  15228. end
  15229.  
  15230.  
  15231.  
  15232. function getCharacters(where, pos, dist)
  15233.  
  15234.         local chars = {}
  15235.  
  15236.         for _, v in pairs(where:children()) do
  15237.  
  15238.                 local hum = getHumanoid(v)
  15239.  
  15240.                 local tors = v:findFirstChild("Torso")
  15241.  
  15242.                 if tors ~= nil and hum ~= nil then
  15243.  
  15244.                         local anypart = nil
  15245.  
  15246.                         for _,k in pairs(v:children()) do
  15247.  
  15248.                                 if k:IsA("BasePart") then
  15249.  
  15250.                                         if (k.Position - pos).magnitude <= dist then
  15251.  
  15252.                                                 anypart = k
  15253.  
  15254.                                                 break
  15255.  
  15256.                                         end
  15257.  
  15258.                                 end
  15259.  
  15260.                         end
  15261.  
  15262.                         if anypart then
  15263.  
  15264.                                 table.insert(chars, {v, tors, hum})
  15265.  
  15266.                         end
  15267.  
  15268.                 end
  15269.  
  15270.         end
  15271.  
  15272.         return chars
  15273.  
  15274. end
  15275.  
  15276.  
  15277.  
  15278. function PlaySound(id, pitch, vol)
  15279.  
  15280.         local s = Add.Sound(nil, id, vol, pitch)
  15281.  
  15282.         if pitch ~= nil then
  15283.  
  15284.                 if tonumber(pitch) then
  15285.  
  15286.                         s.Pitch = tonumber(pitch)
  15287.  
  15288.                 end
  15289.  
  15290.         end
  15291.  
  15292.         if vol ~= nil then
  15293.  
  15294.                 if tonumber(vol) then
  15295.  
  15296.                         s.Volume = tonumber(vol)
  15297.  
  15298.                 end
  15299.  
  15300.         end
  15301.  
  15302.         s.Parent = torso
  15303.  
  15304.         s.PlayOnRemove = true
  15305.  
  15306.         Notime(function()
  15307.  
  15308.                 wait()
  15309.  
  15310.                 s:remove()
  15311.  
  15312.         end)
  15313.  
  15314. end
  15315.  
  15316.  
  15317.  
  15318. function playz(sound)
  15319.  
  15320.         PlaySound(sound[1], sound[2], sound[3])
  15321.  
  15322. end
  15323.  
  15324.  
  15325.  
  15326. PlrGui = waitChild(me, "PlayerGui")
  15327.  
  15328.  
  15329.  
  15330. for _, v in pairs(char:children()) do if v.Name == Modelname then v:remove() end end
  15331.  
  15332. for _, v in pairs(PlrGui:children()) do
  15333.  
  15334.         if v.Name == "HealthGUI" or v.Name == "MyGui" then
  15335.  
  15336.                 v:remove()
  15337.  
  15338.         end
  15339.  
  15340. end
  15341.  
  15342.  
  15343.  
  15344. function EditGui(obj, parent, size, position, bgcolor, bordercolor, transparency, text, textcolor, auto)
  15345.  
  15346.         obj.Size = size
  15347.  
  15348.         obj.Position = position
  15349.  
  15350.         obj.BackgroundColor3 = bgcolor
  15351.  
  15352.         obj.BorderColor3 = bordercolor
  15353.  
  15354.         obj.BackgroundTransparency = transparency
  15355.  
  15356.         if obj:IsA("TextLabel") or obj:IsA("TextButton") then
  15357.  
  15358.                 obj.Text = text
  15359.  
  15360.                 obj.TextColor3 = textcolor
  15361.  
  15362.         end
  15363.  
  15364.         if obj:IsA("ImageButton") or obj:IsA("TextButton") then
  15365.  
  15366.                 obj.AutoButtonColor = auto
  15367.  
  15368.                 obj.MouseButton1Down:connect(function()
  15369.  
  15370.                         RemoveOptions()
  15371.  
  15372.                 end)
  15373.  
  15374.         end
  15375.  
  15376.         obj.Parent = parent
  15377.  
  15378. end
  15379.  
  15380.  
  15381.  
  15382. C3 = Color3.new
  15383.  
  15384. UD = UDim2.new
  15385.  
  15386.  
  15387.  
  15388. Sc = Instance.new("ScreenGui", PlrGui)
  15389.  
  15390. Sc.Name = "MyGui"
  15391.  
  15392.  
  15393.  
  15394. Fr = Instance.new("Frame")
  15395.  
  15396. EditGui(Fr, Sc, UD(0, 60, 0, 250), UD(1, -70, 0.5, -125), C3(0.1, 0.2, 0.5), C3(), 0)
  15397.  
  15398.  
  15399.  
  15400. HealthBack = Instance.new("Frame")
  15401.  
  15402. EditGui(HealthBack, Fr, UD(0, 25, 1, -20), UD(0, 3, 0, 10), C3(0.2, 0, 0), C3(), 0)
  15403.  
  15404.  
  15405.  
  15406. RageBack = Instance.new("Frame")
  15407.  
  15408. EditGui(RageBack, Fr, UD(0, 25, 1, -20), UD(1, -27, 0, 10), C3(0.2, 0, 0), C3(), 0)
  15409.  
  15410.  
  15411.  
  15412. local hp = hum.Health/hum.MaxHealth
  15413.  
  15414. if hp > 1 then hp = 1 elseif hp < 0 then hp = 0 end
  15415.  
  15416.  
  15417.  
  15418. HealthBar = Instance.new("ImageLabel")
  15419.  
  15420. EditGui(HealthBar, HealthBack, UD(1, 0, hp, 0), UD(0, 0, 0, 0), C3(0.1, 0.65, 0), C3(), 0)
  15421.  
  15422. HealthBar.Image = "http://www.roblox.com/asset/?id=50051953"
  15423.  
  15424.  
  15425.  
  15426. RageBar = Instance.new("ImageLabel")
  15427.  
  15428. EditGui(RageBar, RageBack, UD(1, 0, Rage/MaxRage, 0), UD(0, 0, 0, 0), C3(1, 0.6, 0.15), C3(), 0)
  15429.  
  15430. RageBar.Image = "http://www.roblox.com/asset/?id=50051953"
  15431.  
  15432.  
  15433.  
  15434. RageAmount = Instance.new("TextLabel")
  15435.  
  15436. 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))
  15437.  
  15438. RageAmount.TextYAlignment = "Top"
  15439.  
  15440.  
  15441.  
  15442. AimButton = Instance.new("TextButton")
  15443.  
  15444. 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)
  15445.  
  15446. AimButton.TextWrap = true
  15447.  
  15448. AimButton.Font = "ArialBold"
  15449.  
  15450. AimButton.FontSize = "Size14"
  15451.  
  15452. AimButton.MouseButton1Down:connect(function()
  15453.  
  15454.         if Aim then
  15455.  
  15456.                 Aim = false
  15457.  
  15458.                 AimButton.Text = "AIM: OFF"
  15459.  
  15460.                 AimButton.BackgroundColor3 = C3(0.9, 0.2, 0.3)
  15461.  
  15462.         else
  15463.  
  15464.                 Aim = true
  15465.  
  15466.                 AimButton.Text = "AIM: ON"
  15467.  
  15468.                 AimButton.BackgroundColor3 = C3(0.3, 0.85, 0.1)
  15469.  
  15470.         end
  15471.  
  15472. end)
  15473.  
  15474.  
  15475.  
  15476. for i = 1, BlockRealPowa do
  15477.  
  15478.         local gui = Instance.new("ImageLabel")
  15479.  
  15480.         EditGui(gui, Fr, UD(0, 16, 0, 16), UD(0, -18, 0.5, 20*(i-1)-((BlockRealPowa*20)/2)), C3(), C3(), 1)
  15481.  
  15482.         gui.Image = "http://www.roblox.com/asset/?id=48908046"
  15483.  
  15484.         table.insert(BlockBars, gui)
  15485.  
  15486. end
  15487.  
  15488.  
  15489.  
  15490. BlockPower.Changed:connect(function()
  15491.  
  15492.         for _, v in pairs(BlockBars) do
  15493.  
  15494.                 v.Image = ""
  15495.  
  15496.         end
  15497.  
  15498.         for i = 1, BlockPower.Value do
  15499.  
  15500.                 local gui = BlockBars[i]
  15501.  
  15502.                 if gui then
  15503.  
  15504.                         gui.Image = "http://www.roblox.com/asset/?id=48908046"
  15505.  
  15506.                 end
  15507.  
  15508.         end
  15509.  
  15510. end)
  15511.  
  15512.  
  15513.  
  15514. Mo = Instance.new("Model")
  15515.  
  15516. Mo.Name = Modelname
  15517.  
  15518.  
  15519.  
  15520. RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15521.  
  15522. LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15523.  
  15524. RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15525.  
  15526. LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15527.  
  15528.  
  15529.  
  15530. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  15531.  
  15532. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  15533.  
  15534. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  15535.  
  15536. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  15537.  
  15538.  
  15539.  
  15540. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  15541.  
  15542. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  15543.  
  15544. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  15545.  
  15546. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  15547.  
  15548.  
  15549.  
  15550. HB = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15551.  
  15552. HBW = Weld(Rarm, HB, 0, 0, 1, MP/2, 0, 0)
  15553.  
  15554. HW = Weld(HB, nil, 0, 0, 0, 0, 0, 0)
  15555.  
  15556.  
  15557.  
  15558. SW = Weld(Larm, nil, -0.5, 0, 0.3, MP/2, 0, 0)
  15559.  
  15560.  
  15561.  
  15562. TH = Weld(torso, nil, 0, 2.5, 0, MR(145), 0, 0)
  15563.  
  15564. TH.C0 = CN(0, -0.3, 0.75) * CA(0, MP/2, 0)
  15565.  
  15566.  
  15567.  
  15568. Weapon = Instance.new("Model")
  15569.  
  15570. Weapon.Name = "Weapon"
  15571.  
  15572.  
  15573.  
  15574. Handle = Part(Weapon, false, false, 0, 0, MainColor, 0.4, 1.8, 0.4)
  15575.  
  15576. Add.Head(Handle)
  15577.  
  15578.  
  15579.  
  15580. Tip1 = Part(Weapon, false, false, 0, 0, "Deep blue", 0.45, 1.2, 0.45)
  15581.  
  15582. Add.Head(Tip1)
  15583.  
  15584. Weld(Handle, Tip1, 0, 0, 0, 0, 0, 0)
  15585.  
  15586.  
  15587.  
  15588. Tip2 = Part(Weapon, false, false, 0, 0, "Bright blue", 0.5, 0.5, 0.5)
  15589.  
  15590. Weld(Handle, Tip2, 0, 0.9, 0, 0, 0, 0)
  15591.  
  15592. Add.Mesh(Tip2, "http://www.roblox.com/asset/?id=9756362", 0.75, 0.5, 0.75)
  15593.  
  15594.  
  15595.  
  15596. Tip3 = Part(Weapon, false, false, 0, 0, "Deep blue", 0.7, 0.3, 1.2)
  15597.  
  15598. Weld(Handle, Tip3, 0, -0.9, 0, 0, 0, 0)
  15599.  
  15600. Add.Mesh(Tip3, "http://www.roblox.com/asset/?id=9756362", 0.7, 0.35, 1.35)
  15601.  
  15602.  
  15603.  
  15604. Tip4 = Part(Weapon, false, false, 0, 0, "Deep blue", 0.6, 0.2, 1.8)
  15605.  
  15606. Weld(Handle, Tip4, 0, -0.9, 0, 0, 0, 0)
  15607.  
  15608.  
  15609.  
  15610. Tip5 = Part(Weapon, false, false, 0, 0, "Bright blue", 0.6, 0.6, 0.3)
  15611.  
  15612. Weld(Tip4, Tip5, 0, -0.4, -0.85, MR(-15), 0, 0)
  15613.  
  15614.  
  15615.  
  15616. Tip6 = Part(Weapon, false, false, 0, 0, "Bright blue", 0.6, 0.6, 0.3)
  15617.  
  15618. Weld(Tip4, Tip6, 0, -0.4, 0.85, MR(15), 0, 0)
  15619.  
  15620.  
  15621.  
  15622. Blades = {}
  15623.  
  15624.  
  15625.  
  15626. for i = 0, 180, 180 do
  15627.  
  15628.         for x = -20, 20, 40 do
  15629.  
  15630.                 local lol = i-90
  15631.  
  15632.                 local lol2 = math.abs(lol/480)
  15633.  
  15634.                 local lol3 = x/90
  15635.  
  15636.                 local Blade1 = Part(Weapon, false, false, 0, 0.3, BladeColor, 0.2, 3.5, 0.6)
  15637.  
  15638.                 Instance.new("BlockMesh",Blade1).Scale = Vector3.new(0.2, 1, 0.99)
  15639.  
  15640.                 local w = Weld(Tip4, Blade1, lol2, 0, -lol3, 0, 0, 0)
  15641.  
  15642.                 w.C0 = CN(0, 1.7, 0) * CA(0, MR(i+x), 0)
  15643.  
  15644.                 table.insert(Blades, Blade1)
  15645.  
  15646.         end
  15647.  
  15648. end
  15649.  
  15650.  
  15651.  
  15652. Tip7 = Part(Weapon, false, false, 0, 0.3, BladeColor, 0.3, 1.3, 0.7)
  15653.  
  15654. Add.Mesh(Tip7, "http://www.roblox.com/asset/?id=9756362", 0.31, 1.4, 0.8)
  15655.  
  15656. Weld(Tip4, Tip7, 0, -3.45, 0, 0, 0, 0)
  15657.  
  15658.  
  15659.  
  15660. table.insert(Blades, Tip7)
  15661.  
  15662.  
  15663.  
  15664. TH.Part1 = Handle
  15665.  
  15666.  
  15667.  
  15668. Shield = Instance.new("Model")
  15669.  
  15670. Shield.Name = "Shield"
  15671.  
  15672.  
  15673.  
  15674. SHandle = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.9, 0.4)
  15675.  
  15676. SW.Part1 = SHandle
  15677.  
  15678.  
  15679.  
  15680. for i = 65, 115, 25 do
  15681.  
  15682.         local STip1 = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.5, 0.4)
  15683.  
  15684.         local w = Weld(SHandle, STip1, 0.8, 0, 0, 0, 0, 0)
  15685.  
  15686.         w.C0 = CN(-0.5, 0.2, 0) * CA(0, 0, MR(i))
  15687.  
  15688. end
  15689.  
  15690.  
  15691.  
  15692. for i = -65, -115, -25 do
  15693.  
  15694.         local STip1 = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.5, 0.4)
  15695.  
  15696.         local w = Weld(SHandle, STip1, 0.8, 0, 0, 0, 0, 0)
  15697.  
  15698.         w.C0 = CN(-0.5, -0.2, 0) * CA(0, 0, MR(i))
  15699.  
  15700. end
  15701.  
  15702.  
  15703.  
  15704. SHandle2 = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.9, 0.4)
  15705.  
  15706. Weld(SHandle, SHandle2, 1, 0, 0, 0, 0, 0)
  15707.  
  15708.  
  15709.  
  15710. ShieldMain = Part(Weapon, false, false, 0, 0, "Medium grey", 0.3, 3.5, 1.1)
  15711.  
  15712. ShieldW = Weld(SHandle2, ShieldMain, 0, 0, 0, 0, 0, 0)
  15713.  
  15714. ShieldW.C0 = CN(0, -0.2, 0) * CA(0, MR(-5), 0)
  15715.  
  15716.  
  15717.  
  15718. STip1 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 0.4, 1.15)
  15719.  
  15720. Weld(ShieldMain, STip1, 0, -1.75, 0, 0, 0, 0)
  15721.  
  15722.  
  15723.  
  15724. STip2 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 0.4, 1.15)
  15725.  
  15726. Weld(ShieldMain, STip2, 0, 1.75, 0, 0, 0, 0)
  15727.  
  15728.  
  15729.  
  15730. for i = -15, 15, 30 do
  15731.  
  15732.         local ShieldPlate = Part(Weapon, false, false, 0, 0, "Medium grey", 0.3, 3.5, 1.1)
  15733.  
  15734.         local w = Weld(ShieldMain, ShieldPlate, 3.5, 0, 0, 0, 0, 0)
  15735.  
  15736.         w.C0 = CN(3.5, 0, 0) * CA(0, math.rad(i), 0)
  15737.  
  15738.         for x = -1.75, 1.75, 1.75*2 do
  15739.  
  15740.                 local STip3 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 0.4, 1.15)
  15741.  
  15742.                 Weld(ShieldPlate, STip3, 0, x, 0, 0, 0, 0)
  15743.  
  15744.         end
  15745.  
  15746.         local i2 = i/40
  15747.  
  15748.         local STip3 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 3.9, 0.4)
  15749.  
  15750.         Weld(ShieldPlate, STip3, 0, 0, -i2, 0, 0, 0)
  15751.  
  15752. end
  15753.  
  15754.  
  15755.  
  15756. Weapon.Parent = Mo
  15757.  
  15758. Shield.Parent = Mo
  15759.  
  15760.  
  15761.  
  15762. Mo.Parent = char
  15763.  
  15764.  
  15765.  
  15766. function ShowDamage(Dmg, Par, Crit, block)
  15767.  
  15768.         local Pos = Par.CFrame * CN(0, 2.5, 0)
  15769.  
  15770.         local M = Instance.new("Model")
  15771.  
  15772.         local Loldmg = Dmg
  15773.  
  15774.         if Loldmg < 0 then
  15775.  
  15776.                 Loldmg = 0
  15777.  
  15778.         end
  15779.  
  15780.         if tostring(Loldmg):sub(1,1) == "-" then
  15781.  
  15782.                 Loldmg = tostring(Loldmg):sub(2)
  15783.  
  15784.         end
  15785.  
  15786.         M.Name = Loldmg
  15787.  
  15788.         local Col = "Bright red"
  15789.  
  15790.         if Crit then Col = "Bright yellow" elseif block then Col = "Bright blue" end
  15791.  
  15792.         local P = Part(M, false, false, 0, 0, Col, 0.8, 0.3, 0.8, true)
  15793.  
  15794.         P.CFrame = CN(Par.Position)
  15795.  
  15796.         P.Name = "Head"
  15797.  
  15798.         local BP = Add.BP(P)
  15799.  
  15800.         BP.position = Pos.p
  15801.  
  15802.         BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  15803.  
  15804.         BP.P = 11000
  15805.  
  15806.         Add.BG(P)
  15807.  
  15808.         local H = hc:clone()
  15809.  
  15810.         H.Parent = M
  15811.  
  15812.         H.MaxHealth = 0
  15813.  
  15814.         H.Health = 0
  15815.  
  15816.         M.Parent = workspace
  15817.  
  15818.         Notime(function()
  15819.  
  15820.                 wait(1.5)
  15821.  
  15822.                 M:remove()
  15823.  
  15824.         end)
  15825.  
  15826. end
  15827.  
  15828.  
  15829.  
  15830. function Damage(P, Hum, dmg, crit, block)
  15831.  
  15832.         if Hum then
  15833.  
  15834.                 if Hum.Health > 0 then
  15835.  
  15836.                         local Damg = dmg
  15837.  
  15838.                         if crit then
  15839.  
  15840.                                 Damg = dmg*CritMultiplier
  15841.  
  15842.                         end
  15843.  
  15844.                         Damg = math.ceil(((Damg+AddDamage)*AddDamageX)-0.5)
  15845.  
  15846.                         Hum.Health = Hum.Health - Damg
  15847.  
  15848.                         ShowDamage(Damg, P, crit, block)
  15849.  
  15850.                 end
  15851.  
  15852.         end
  15853.  
  15854. end
  15855.  
  15856.  
  15857.  
  15858. function ShieldDamage(mode, blockval, blockpowerval, crit)
  15859.  
  15860.         if blockval and blockpowerval then
  15861.  
  15862.                 local ShieldDmg = mode[3]+AddShield
  15863.  
  15864.                 if crit then
  15865.  
  15866.                         ShieldDmg = mode[4]+AddShield
  15867.  
  15868.                 end
  15869.  
  15870.                 if blockpowerval then
  15871.  
  15872.                         blockpowerval.Value = blockpowerval.Value - ShieldDmg
  15873.  
  15874.                         if blockpowerval.Value < 1 then
  15875.  
  15876.                                 blockval.Value = false
  15877.  
  15878.                         end
  15879.  
  15880.                 end
  15881.  
  15882.         end
  15883.  
  15884. end
  15885.  
  15886.  
  15887.  
  15888. function getBlock(c)
  15889.  
  15890.         local block, blockpow = nil
  15891.  
  15892.         local blockin = false
  15893.  
  15894.         for _,v in pairs(c:children()) do
  15895.  
  15896.                 if v.Name == "Block" and v:IsA("BoolValue") then
  15897.  
  15898.                         block = v
  15899.  
  15900.                         blockin = v.Value
  15901.  
  15902.                         local bp = v:findFirstChild("BlockPower")
  15903.  
  15904.                         if bp then
  15905.  
  15906.                                 blockpow = bp
  15907.  
  15908.                         end
  15909.  
  15910.                 end
  15911.  
  15912.         end
  15913.  
  15914.         return block, blockpow, blockin
  15915.  
  15916. end
  15917.  
  15918.  
  15919.  
  15920. function TouchDamage(hit)
  15921.  
  15922.         local Hum = getHumanoid(hit.Parent)
  15923.  
  15924.         if Hum and Deb and Hurt then
  15925.  
  15926.                 Deb = false
  15927.  
  15928.                 local Crit = false
  15929.  
  15930.                 local BlockVal, BlockPowaVal, Blawk = getBlock(Hum.Parent)
  15931.  
  15932.                 local BlockPowa = 0
  15933.  
  15934.                 local blocksound = Sounds.SmashHit
  15935.  
  15936.                 if math.random(1,100/CritChance) == 1 then
  15937.  
  15938.                         Crit = true
  15939.  
  15940.                 end
  15941.  
  15942.                 local Damg = math.random(Mode[2]/3, Mode[2])
  15943.  
  15944.                 if Blawk then
  15945.  
  15946.                         Damg = 0
  15947.  
  15948.                         ShieldDamage(Mode, BlockVal, BlockPowaVal, Crit)
  15949.  
  15950.                         if BlockPowaVal then
  15951.  
  15952.                                 if BlockPowaVal.Value < 1 then
  15953.  
  15954.                                         blocksound = Sounds.Equip
  15955.  
  15956.                                 end
  15957.  
  15958.                         end
  15959.  
  15960.                 end
  15961.  
  15962.                 if Mode[5] == false and RageMode == false and Blawk == false then
  15963.  
  15964.                         Rage = Rage + math.ceil(Damg*0.75-0.5)
  15965.  
  15966.                 end
  15967.  
  15968.                 if Blawk then
  15969.  
  15970.                         PlaySound(blocksound[1], blocksound[2]-0.15, blocksound[3])
  15971.  
  15972.                 else
  15973.  
  15974.                         PlaySound(Sounds.Hit[1], Sounds.Hit[2], Sounds.Hit[3])
  15975.  
  15976.                 end
  15977.  
  15978.                 Damage(hit, Hum, Damg, Crit, Blawk)
  15979.  
  15980.                 if Mode == Dmgs.Spin then
  15981.  
  15982.                         Notime(function()
  15983.  
  15984.                                 wait(0.35)
  15985.  
  15986.                                 Deb = true
  15987.  
  15988.                         end)
  15989.  
  15990.                 end
  15991.  
  15992.         end
  15993.  
  15994. end
  15995.  
  15996.  
  15997.  
  15998. for _, v in pairs(Blades) do
  15999.  
  16000.         v.Touched:connect(TouchDamage)
  16001.  
  16002. end
  16003.  
  16004.  
  16005.  
  16006.  
  16007.  
  16008.  
  16009.  
  16010. Bin = Instance.new("HopperBin", me.Backpack)
  16011.  
  16012.  
  16013.  
  16014. EffectOn = false
  16015.  
  16016.  
  16017.  
  16018. function StartEffect(color)
  16019.  
  16020.         EffectOn = true
  16021.  
  16022.         local lastPoint = Tip7.CFrame * EffPos.p
  16023.  
  16024.         Notime(function()
  16025.  
  16026.                 while EffectOn do
  16027.  
  16028.                         wait()
  16029.  
  16030.                         local pos = Tip7.CFrame * EffPos.p
  16031.  
  16032.                         local magn = (lastPoint - pos).magnitude
  16033.  
  16034.                         local col = LineColor
  16035.  
  16036.                         if color and col ~= EffectColor3 then
  16037.  
  16038.                                 col = color
  16039.  
  16040.                         end
  16041.  
  16042.                         local p = Part(workspace, true, false, 0.1, 0, col, 0.3, 1, 0.3, true)
  16043.  
  16044.                         local mesh = Add.Head(p)
  16045.  
  16046.                         mesh.Scale = Vector3.new(1, magn+0.1, 1)
  16047.  
  16048.                         p.CFrame = CN(lastPoint, pos) * CA(-MP/2, 0, 0) * CN(0, magn/2+0.05, 0)
  16049.  
  16050.                         lastPoint = pos
  16051.  
  16052.                         Notime(function()
  16053.  
  16054.                                 wait(0.05)
  16055.  
  16056.                                 for i = 0, 1, 0.12 do
  16057.  
  16058.                                         p.Transparency = 0.1+0.9*i
  16059.  
  16060.                                         mesh.Scale = Vector3.new(1-1*i, magn+0.1-0.1*i, 1-1*i)
  16061.  
  16062.                                         wait()
  16063.  
  16064.                                 end
  16065.  
  16066.                                 p:remove()
  16067.  
  16068.                         end)
  16069.  
  16070.                 end
  16071.  
  16072.         end)
  16073.  
  16074. end
  16075.  
  16076.  
  16077.  
  16078. function EndEffect()
  16079.  
  16080.         EffectOn = false
  16081.  
  16082. end
  16083.  
  16084.  
  16085.  
  16086. function Detach()
  16087.  
  16088.         RAW.Part1 = nil
  16089.  
  16090.         LAW.Part1 = nil
  16091.  
  16092.         RLW.Part1 = nil
  16093.  
  16094.         LLW.Part1 = nil
  16095.  
  16096.         RAW.C0 = CN()
  16097.  
  16098.         LAW.C0 = CN()
  16099.  
  16100.         RLW.C0 = CN()
  16101.  
  16102.         LLW.C0 = CN()
  16103.  
  16104. end
  16105.  
  16106.  
  16107.  
  16108. function Normalize()
  16109.  
  16110.         RAW.C0 = CA(MR(40), MR(50), 0)
  16111.  
  16112.         LAW.C0 = CA(MR(20), MR(-20), MR(-20))
  16113.  
  16114.         HW.C0 = CA(0, 0, 0)
  16115.  
  16116.         neck.C0 = necko
  16117.  
  16118. end
  16119.  
  16120.  
  16121.  
  16122. SelectAnim = function()
  16123.  
  16124.         RAW.Part1 = Rarm
  16125.  
  16126.         HW.Part1 = nil
  16127.  
  16128.         TH.Part1 = Handle
  16129.  
  16130.         for i = 0.1, 1, 0.14 do
  16131.  
  16132.                 RAW.C0 = CA(MR(220*i), MR(-30*i), MR(-35*i)) * CN(0.4*i, 0, 0)
  16133.  
  16134.                 neck.C0 = necko * CA(MR(-10*i), 0, MR(-60*i))
  16135.  
  16136.                 wait()
  16137.  
  16138.         end
  16139.  
  16140.         PlaySound(Sounds.Equip[1], Sounds.Equip[2], Sounds.Equip[3])
  16141.  
  16142.         HW.C0 = CN(0.4, 0, 0) * CA(MR(-60), MR(10), MR(100))
  16143.  
  16144.         HW.Part1 = Handle
  16145.  
  16146.         TH.Part1 = nil
  16147.  
  16148.         LAW.Part1 = Larm
  16149.  
  16150.         for i = 0.09, 1, 0.11 do
  16151.  
  16152.                 RAW.C0 = CA(MR(220-70*i), MR(-30+25*i), MR(-35+70*i)) * CN(0.4-0.4*i, 0, 0)
  16153.  
  16154.                 HW.C0 = CN(0.4-0.4*i, 0, 0) * CA(MR(-60+40*i), MR(10-10*i), MR(100-40*i))
  16155.  
  16156.                 LAW.C0 = CA(MR(20*i), MR(-20*i), MR(-20*i))
  16157.  
  16158.                 neck.C0 = necko * CA(MR(-10+10*i), 0, MR(-60+40*i))
  16159.  
  16160.                 wait()
  16161.  
  16162.         end
  16163.  
  16164.         for i = 0.14, 1, 0.25 do
  16165.  
  16166.                 RAW.C0 = CA(MR(150-60*i), MR(-5+15*i), MR(35-10*i))
  16167.  
  16168.                 HW.C0 = CA(MR(-20+20*i), 0, MR(60-30*i))
  16169.  
  16170.                 neck.C0 = necko * CA(0, 0, MR(-60+40+5*i))
  16171.  
  16172.                 wait()
  16173.  
  16174.         end
  16175.  
  16176.         for i = 0.1, 1, 0.14 do
  16177.  
  16178.                 RAW.C0 = CA(MR(90-50*i), MR(10+40*i), MR(25-25*i))
  16179.  
  16180.                 HW.C0 = CA(0, 0, MR(30-30*i))
  16181.  
  16182.                 neck.C0 = necko * CA(0, 0, MR(-15+15*i))
  16183.  
  16184.                 wait()
  16185.  
  16186.         end
  16187.  
  16188.         Normalize()
  16189.  
  16190. end
  16191.  
  16192.  
  16193.  
  16194. DeselectAnim = function()
  16195.  
  16196.         for i = 0.09, 1, 0.14 do
  16197.  
  16198.                 RAW.C0 = CA(MR(40+100*i), MR(50-50*i), MR(20*i))
  16199.  
  16200.                 LAW.C0 = CA(MR(20-20*i), MR(-20+20*i), MR(-20+20*i))
  16201.  
  16202.                 HW.C0 = CN(0.4*i, 0, 0) * CA(MR(-30*i), MR(5*i), MR(20*i))
  16203.  
  16204.                 neck.C0 = necko * CA(MR(-5*i), 0, MR(-35*i))
  16205.  
  16206.                 wait()
  16207.  
  16208.         end
  16209.  
  16210.         LAW.Part1 = nil
  16211.  
  16212.         for i = 0.08, 1, 0.14 do
  16213.  
  16214.                 RAW.C0 = CA(MR(140+80*i), MR(-30*i), MR(20-55*i))
  16215.  
  16216.                 HW.C0 = CN(0.4, 0, 0) * CA(MR(-30-30*i), MR(5+5*i), MR(20+80*i))
  16217.  
  16218.                 neck.C0 = necko * CA(MR(-5-10*i), 0, MR(-35-25*i))
  16219.  
  16220.                 wait()
  16221.  
  16222.         end
  16223.  
  16224.         HW.Part1 = nil
  16225.  
  16226.         TH.Part1 = Handle
  16227.  
  16228.         for i = 0.09, 1, 0.18 do
  16229.  
  16230.                 RAW.C0 = CA(MR(220-220*i), MR(-30+30*i), MR(20-55+35*i))
  16231.  
  16232.                 neck.C0 = necko * CA(MR(-5-10+15*i), 0, MR(-35-25+60*i))
  16233.  
  16234.                 wait()
  16235.  
  16236.         end
  16237.  
  16238.         neck.C0 = necko
  16239.  
  16240.         Detach()
  16241.  
  16242. end
  16243.  
  16244.  
  16245.  
  16246. function setatk(s, e)
  16247.  
  16248.         Notime(function()
  16249.  
  16250.                 Attack = e
  16251.  
  16252.                 wait(0.25)
  16253.  
  16254.                 Attack = s
  16255.  
  16256.         end)
  16257.  
  16258. end
  16259.  
  16260.  
  16261.  
  16262. Attacks = {
  16263.  
  16264. function()
  16265.  
  16266.         Attack = 1
  16267.  
  16268.         Able = false
  16269.  
  16270.         for i = 0.1, 1, 0.2 do
  16271.  
  16272.                 RAW.C0 = CA(MR(40+90*i), MR(50-60*i), 0)
  16273.  
  16274.                 HW.C0 = CA(0, 0, 0)
  16275.  
  16276.                 LAW.C0 = CA(MR(20+55*i), MR(-20), MR(-20+60*i))
  16277.  
  16278.                 neck.C0 = necko * CA(MR(-10*i), 0, MR(-25*i))
  16279.  
  16280.                 wait()
  16281.  
  16282.         end
  16283.  
  16284.         PlaySound(Sounds.Slash[1], Sounds.Slash[2], Sounds.Slash[3])
  16285.  
  16286.         for i = 0.16, 1, 0.33 do
  16287.  
  16288.                 RAW.C0 = CA(MR(130+5*i), MR(-10-20*i), 0)
  16289.  
  16290.                 HW.C0 = CA(0, 0, 0)
  16291.  
  16292.                 LAW.C0 = CA(MR(75+5*i), MR(-20), MR(40+5*i))
  16293.  
  16294.                 neck.C0 = necko * CA(MR(-10-5*i), 0, MR(-25-5*i))
  16295.  
  16296.                 wait()
  16297.  
  16298.         end
  16299.  
  16300.         Hurt = true
  16301.  
  16302.         Deb = true
  16303.  
  16304.         StartEffect()
  16305.  
  16306.         Mode = Dmgs.Slash
  16307.  
  16308.         for i = 0.11, 1, 0.22 do
  16309.  
  16310.                 RAW.C0 = CA(MR(135-115*i), MR(-30), MR(-50*i)) * CN(0, -0.7*i, 0)
  16311.  
  16312.                 HW.C0 = CA(MR(-70*i), 0, 0)
  16313.  
  16314.                 LAW.C0 = CA(MR(80-120*i), MR(-20+20*i), MR(45-45*i))
  16315.  
  16316.                 neck.C0 = necko * CA(MR(-15+30*i), 0, MR(-30+45*i))
  16317.  
  16318.                 wait()
  16319.  
  16320.         end
  16321.  
  16322.         EndEffect()
  16323.  
  16324.         Hurt = false
  16325.  
  16326.         setatk(1,2)
  16327.  
  16328.         Able = true
  16329.  
  16330.         for i = 0.2, 1, 0.25 do
  16331.  
  16332.                 RAW.C0 = CA(MR(20-18*i), MR(-30), MR(-50-3*i)) * CN(0, -0.7-0.05*i, 0)
  16333.  
  16334.                 HW.C0 = CA(MR(-70-5*i), 0, 0)
  16335.  
  16336.                 neck.C0 = necko * CA(MR(15+3*i), 0, MR(15+3*i))
  16337.  
  16338.                 wait()
  16339.  
  16340.         end
  16341.  
  16342.         wait(0.1)
  16343.  
  16344.         for i = 0.1, 1, 0.15 do
  16345.  
  16346.                 if Able == false then return end
  16347.  
  16348.                 RAW.C0 = CA(MR(2+38*i), MR(-30+80*i), MR(-53+53*i)) * CN(0, -0.75+0.75*i, 0)
  16349.  
  16350.                 HW.C0 = CA(MR(-75+75*i), 0, 0)
  16351.  
  16352.                 LAW.C0 = CA(MR(-40+60*i), MR(-20+20-20*i), MR(-20*i))
  16353.  
  16354.                 neck.C0 = necko * CA(MR(15+3-18*i), 0, MR(15+3-18*i))
  16355.  
  16356.                 wait()
  16357.  
  16358.         end
  16359.  
  16360.         Normalize()
  16361.  
  16362. end,
  16363.  
  16364.  
  16365.  
  16366. function()
  16367.  
  16368.         Attack = 2
  16369.  
  16370.         Able = false
  16371.  
  16372.         PlaySound(Sounds.Slash[1], Sounds.Slash[2]+0.1, Sounds.Slash[3])
  16373.  
  16374.         for i = 0.05, 1, 0.1 do
  16375.  
  16376.                 RAW.C0 = CA(MR(10+80*i), MR(-30+30*i), MR(-55+35*i)) * CN(0, -0.75+0.35*i, 0)
  16377.  
  16378.                 LAW.C0 = CA(MR(-40), 0, 0)
  16379.  
  16380.                 HW.C0 = CA(MR(-75+75*i), 0, MR(90*i))
  16381.  
  16382.                 neck.C0 = necko * CA(MR(18-13*i), 0, MR(18+22*i))
  16383.  
  16384.                 wait()
  16385.  
  16386.         end
  16387.  
  16388.         Hurt = true
  16389.  
  16390.         Deb = true
  16391.  
  16392.         StartEffect()
  16393.  
  16394.         Mode = Dmgs.SideSlash
  16395.  
  16396.         for i = 0.09, 1, 0.17 do
  16397.  
  16398.                 RAW.C0 = CA(MR(90-40*i), 0, MR(-20+110*i)) * CN(0, -0.4+0.4*i, 0)
  16399.  
  16400.                 HW.C0 = CA(0, MR(-65*i), MR(90))
  16401.  
  16402.                 LAW.C0 = CA(MR(-40+120*i), MR(-20*i), MR(50*i)) * CN(0, -0.6*i, 0)
  16403.  
  16404.                 neck.C0 = necko * CA(MR(5), 0, MR(40-90*i))
  16405.  
  16406.                 wait()
  16407.  
  16408.         end
  16409.  
  16410.         EndEffect()
  16411.  
  16412.         Hurt = false
  16413.  
  16414.         Deb = false
  16415.  
  16416.         setatk(1,3)
  16417.  
  16418.         Able = true
  16419.  
  16420.         for i = 0.12, 1, 0.25 do
  16421.  
  16422.                 RAW.C0 = CA(MR(50-5*i), 0, MR(90+10*i))
  16423.  
  16424.                 HW.C0 = CA(0, MR(-65-5*i), MR(90))
  16425.  
  16426.                 LAW.C0 = CA(MR(-40+120), MR(-20), MR(50+5*i)) * CN(0, -0.6, 0)
  16427.  
  16428.                 neck.C0 = necko * CA(MR(5), 0, MR(40-90-5*i))
  16429.  
  16430.                 wait()
  16431.  
  16432.         end
  16433.  
  16434.         wait(0.08)
  16435.  
  16436.         for i = 0.05, 1, 0.1 do
  16437.  
  16438.                 if Able == false then return end
  16439.  
  16440.                 RAW.C0 = CA(MR(45-5*i), MR(50*i), MR(100-100*i)) * CN(0, 0, 0)
  16441.  
  16442.                 HW.C0 = CA(0, MR(-70+70*i), MR(90-90*i))
  16443.  
  16444.                 LAW.C0 = CA(MR(-40+120-60*i), MR(-20), MR(55-75*i)) * CN(0, -0.6+0.6*i, 0)
  16445.  
  16446.                 neck.C0 = necko * CA(MR(5-5*i), 0, MR(-55+55*i))
  16447.  
  16448.                 wait()
  16449.  
  16450.         end
  16451.  
  16452.         Normalize()
  16453.  
  16454. end,
  16455.  
  16456.  
  16457.  
  16458. function()
  16459.  
  16460.         Able = false
  16461.  
  16462.         for i = 0.05, 1, 0.08 do
  16463.  
  16464.                 RAW.C0 = CA(MR(50+130*i), 0, MR(90-125*i)) * CN(0, -1*i, 0)
  16465.  
  16466.                 HW.C0 = CA(0, MR(-65-35*i), MR(90-90*i))
  16467.  
  16468.                 LAW.C0 = CA(MR(80+100*i), MR(-20+20*i), MR(50-15*i)) * CN(0, -0.6-0.4*i, 0)
  16469.  
  16470.                 neck.C0 = necko * CA(MR(5-25*i), 0, MR(-50+50*i))
  16471.  
  16472.                 wait()
  16473.  
  16474.         end
  16475.  
  16476.         PlaySound(Sounds.Slash[1], Sounds.Slash[2]+0.05, Sounds.Slash[3])
  16477.  
  16478.         for i = 0.13, 1, 0.25 do
  16479.  
  16480.                 RAW.C0 = CA(MR(180+10*i), 0, MR(-35)) * CN(0, -1, 0)
  16481.  
  16482.                 HW.C0 = CA(0, MR(-100), 0)
  16483.  
  16484.                 LAW.C0 = CA(MR(180+10*i), 0, MR(35)) * CN(0, -1, 0)
  16485.  
  16486.                 neck.C0 = necko * CA(MR(5-25-5*i), 0, 0)
  16487.  
  16488.                 wait()
  16489.  
  16490.         end
  16491.  
  16492.         StartEffect()
  16493.  
  16494.         Hurt = true
  16495.  
  16496.         Deb = true
  16497.  
  16498.         Mode = Dmgs.Smash
  16499.  
  16500.         for i = 0.06, 1, 0.12 do
  16501.  
  16502.                 RAW.C0 = CA(MR(190-160*i), 0, MR(-35)) * CN(0, -1+0.2*i, 0)
  16503.  
  16504.                 HW.C0 = CA(MR(-20*i), MR(-100-40*i), MR(40*i))
  16505.  
  16506.                 LAW.C0 = CA(MR(190-160*i), 0, MR(35)) * CN(0, -1+0.2*i, 0)
  16507.  
  16508.                 neck.C0 = necko * CA(MR(-25+45*i), 0, 0)
  16509.  
  16510.                 wait()
  16511.  
  16512.         end
  16513.  
  16514.         PlaySound(Sounds.SmashHit[1], Sounds.SmashHit[2], Sounds.SmashHit[3])
  16515.  
  16516.         EndEffect()
  16517.  
  16518.         Hurt = false
  16519.  
  16520.         Deb = false
  16521.  
  16522.         for i = 0.2, 1, 0.5 do
  16523.  
  16524.                 RAW.C0 = CA(MR(30+15*i), 0, MR(-35)) * CN(0, -0.8+0.4*i, 0)
  16525.  
  16526.                 HW.C0 = CA(MR(-20), MR(-140), MR(40))
  16527.  
  16528.                 LAW.C0 = CA(MR(30+15*i), 0, MR(35)) * CN(0, -0.8+0.4*i, 0)
  16529.  
  16530.                 neck.C0 = necko * CA(MR(20), 0, 0)
  16531.  
  16532.                 wait()
  16533.  
  16534.         end
  16535.  
  16536.         setatk(1,4)
  16537.  
  16538.         Able = true
  16539.  
  16540.         for i = 0.16, 1, 0.33 do
  16541.  
  16542.                 if not Able then return end
  16543.  
  16544.                 RAW.C0 = CA(MR(30+15-15*i), 0, MR(-35)) * CN(0, -0.8+0.4-0.2*i, 0)
  16545.  
  16546.                 HW.C0 = CA(MR(-20), MR(-140), MR(40))
  16547.  
  16548.                 LAW.C0 = CA(MR(30+15-15*i), 0, MR(35)) * CN(0, -0.8+0.4-0.2*i, 0)
  16549.  
  16550.                 neck.C0 = necko * CA(MR(20), 0, 0)
  16551.  
  16552.                 wait()
  16553.  
  16554.         end
  16555.  
  16556.         for i = 0.05, 1, 0.1 do
  16557.  
  16558.                 if not Able then return end
  16559.  
  16560.                 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)
  16561.  
  16562.                 HW.C0 = CA(MR(-20+20*i), MR(-140+140*i), MR(40-40*i))
  16563.  
  16564.                 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)
  16565.  
  16566.                 neck.C0 = necko * CA(MR(20-20*i), 0, 0)
  16567.  
  16568.                 wait()
  16569.  
  16570.         end
  16571.  
  16572.         Normalize()
  16573.  
  16574. end,
  16575.  
  16576. function()
  16577.  
  16578.         Able = false
  16579.  
  16580.         for i = 0.06, 1, 0.12 do
  16581.  
  16582.                 RAW.C0 = CA(MR(30), MR(-20*i), MR(-35-25*i)) * CN(0, -0.8, 0)
  16583.  
  16584.                 HW.C0 = CA(MR(-20-60*i), MR(-140-40*i), MR(40-40*i))
  16585.  
  16586.                 LAW.C0 = CA(MR(30-110*i), 0, MR(35-35*i)) * CN(0, -0.8+0.8*i, 0)
  16587.  
  16588.                 neck.C0 = necko * CA(MR(20-15*i), 0, MR(10*i))
  16589.  
  16590.                 wait()
  16591.  
  16592.         end
  16593.  
  16594.         Mode = Dmgs.DoubleSlash
  16595.  
  16596.         StartEffect()
  16597.  
  16598.         playz(Sounds.Slash)
  16599.  
  16600.         Hurt = true
  16601.  
  16602.         Deb = true
  16603.  
  16604.         for i = 0.07, 1, 0.14 do
  16605.  
  16606.                 RAW.C0 = CA(MR(30+120*i), MR(-20), MR(-60+80*i)) * CN(0, -0.8+0.8*i, 0)
  16607.  
  16608.                 HW.C0 = CA(MR(-80+60*i), MR(180), 0)
  16609.  
  16610.                 LAW.C0 = CA(MR(-50+100*i), 0, MR(30*i))
  16611.  
  16612.                 neck.C0 = necko * CA(MR(5-25*i), 0, MR(10-30*i))
  16613.  
  16614.                 wait()
  16615.  
  16616.         end
  16617.  
  16618.         EndEffect()
  16619.  
  16620.         Hurt = false
  16621.  
  16622.         for i = 0.17, 1, 0.33 do
  16623.  
  16624.                 RAW.C0 = CA(MR(150+15*i), MR(-20), MR(20+5*i))
  16625.  
  16626.                 HW.C0 = CA(MR(-20), MR(180), 0)
  16627.  
  16628.                 LAW.C0 = CA(MR(50+5*i), 0, MR(30+10*i))
  16629.  
  16630.                 neck.C0 = necko * CA(MR(-20-5*i), 0, MR(-20))
  16631.  
  16632.                 wait()
  16633.  
  16634.         end
  16635.  
  16636.         for i = 0.13, 1, 0.25 do
  16637.  
  16638.                 RAW.C0 = CA(MR(165-15*i), MR(-20+50*i), MR(25-75*i))
  16639.  
  16640.                 HW.C0 = CA(MR(-20-20*i), MR(180), 0)
  16641.  
  16642.                 LAW.C0 = CA(MR(55+45*i), 0, MR(40-30*i))
  16643.  
  16644.                 neck.C0 = necko * CA(MR(-25), 0, MR(-20+35*i))
  16645.  
  16646.                 wait()
  16647.  
  16648.         end
  16649.  
  16650.         StartEffect()
  16651.  
  16652.         Hurt = true
  16653.  
  16654.         Deb = true
  16655.  
  16656.         playz(Sounds.Slash)
  16657.  
  16658.         for i = 0.08, 1, 0.16 do
  16659.  
  16660.                 RAW.C0 = CA(MR(150-110*i), MR(30), MR(-50+65*i))
  16661.  
  16662.                 HW.C0 = CA(MR(-40-40*i), MR(180), 0)
  16663.  
  16664.                 LAW.C0 = CA(MR(100-50*i), MR(-30*i), MR(10+30*i)) * CN(0, -1.1*i, 0)
  16665.  
  16666.                 neck.C0 = necko * CA(MR(-25+45*i), 0, MR(15-30*i))
  16667.  
  16668.                 wait()
  16669.  
  16670.         end
  16671.  
  16672.         EndEffect()
  16673.  
  16674.         Hurt = false
  16675.  
  16676.         for i = 0.13, 1, 0.25 do
  16677.  
  16678.                 RAW.C0 = CA(MR(40-5*i), MR(30), MR(15+5*i))
  16679.  
  16680.                 HW.C0 = CA(MR(-80-5*i), MR(180), 0)
  16681.  
  16682.                 LAW.C0 = CA(MR(50), MR(-30), MR(40)) * CN(0, -1.1-0.1*i, 0)
  16683.  
  16684.                 neck.C0 = necko * CA(MR(20+5*i), 0, MR(-15-5*i))
  16685.  
  16686.                 wait()
  16687.  
  16688.         end
  16689.  
  16690.         for i = 0.09, 1, 0.16 do
  16691.  
  16692.                 RAW.C0 = CA(MR(35+5*i), MR(30+20*i), MR(20-20*i))
  16693.  
  16694.                 HW.C0 = CA(MR(-85+85*i), MR(180+180*i), 0)
  16695.  
  16696.                 LAW.C0 = CA(MR(50-30*i), MR(-30+10*i), MR(40-60*i)) * CN(0, -1.2+1.2*i, 0)
  16697.  
  16698.                 neck.C0 = necko * CA(MR(25-25*i), 0, MR(-20+20*i))
  16699.  
  16700.                 wait()
  16701.  
  16702.         end
  16703.  
  16704.         Normalize()
  16705.  
  16706.         Able = true
  16707.  
  16708.         Attack = 1
  16709.  
  16710. end
  16711.  
  16712. }
  16713.  
  16714.  
  16715.  
  16716. SpinSlash = function(plaic)
  16717.  
  16718.         if Rage < Dmgs.Spin[6] then return end
  16719.  
  16720.         Rage = Rage - Dmgs.Spin[6]
  16721.  
  16722.         local cf = torso.CFrame
  16723.  
  16724.         local CF = ComputePos(cf.p, cf * CN(0, 0, -2))
  16725.  
  16726.         if plaic then
  16727.  
  16728.                 CF = ComputePos(cf.p, plaic)
  16729.  
  16730.         end
  16731.  
  16732.         AbleAll = false
  16733.  
  16734.         local bg = Add.BG(torso)
  16735.  
  16736.         bg.cframe = CF
  16737.  
  16738.         for i = 0.07, 1, 0.14 do
  16739.  
  16740.                 RAW.C0 = CA(MR(40+50*i), MR(50-65*i), 0)
  16741.  
  16742.                 HW.C0 = CA(0, 0, MR(90*i))
  16743.  
  16744.                 LAW.C0 = CA(MR(20-20*i), MR(-20+20*i), MR(-20-60*i))
  16745.  
  16746.                 neck.C0 = necko * CA(0, 0, MR(-30*i))
  16747.  
  16748.                 bg.cframe = CF * CA(0, MR(30*i), 0)
  16749.  
  16750.                 wait()
  16751.  
  16752.         end
  16753.  
  16754.         StartEffect()
  16755.  
  16756.         Hurt = true
  16757.  
  16758.         Deb = true
  16759.  
  16760.         Mode = Dmgs.Spin
  16761.  
  16762.         Notime(function()
  16763.  
  16764.                 while Hurt do
  16765.  
  16766.                         PlaySound(Sounds.Slash[1], Sounds.Slash[2]+0.35, Sounds.Slash[3])
  16767.  
  16768.                         wait(0.15)
  16769.  
  16770.                 end
  16771.  
  16772.         end)
  16773.  
  16774.         for i = 0.04, 1, 0.06 do
  16775.  
  16776.                 RAW.C0 = CA(MR(90-10*i), MR(-15), MR(90*i))
  16777.  
  16778.                 HW.C0 = CA(0, MR(-70*i), MR(90))
  16779.  
  16780.                 LAW.C0 = CA(MR(90*i), 0, MR(-20-60+120*i)) * CN(0, -0.7*i, 0)
  16781.  
  16782.                 neck.C0 = necko * CA(0, 0, MR(-30+20*i))
  16783.  
  16784.                 bg.cframe = CF * CA(0, MR(30-380*i), 0)
  16785.  
  16786.                 wait()
  16787.  
  16788.         end
  16789.  
  16790.         EndEffect()
  16791.  
  16792.         for i = 0.09, 1, 0.17 do
  16793.  
  16794.                 RAW.C0 = CA(MR(80), MR(-15), MR(90))
  16795.  
  16796.                 HW.C0 = CA(0, MR(-70-10*i), MR(90))
  16797.  
  16798.                 LAW.C0 = CA(MR(90), 0, MR(-20-60+120+20*i)) * CN(0, -0.7, 0)
  16799.  
  16800.                 neck.C0 = necko * CA(0, 0, MR(-10+60*i))
  16801.  
  16802.                 bg.cframe = CF * CA(0, MR(-350-60*i), 0)
  16803.  
  16804.                 wait()
  16805.  
  16806.         end
  16807.  
  16808.         Hurt = false
  16809.  
  16810.         Deb = false
  16811.  
  16812.         for i = 0.05, 1, 0.1 do
  16813.  
  16814.                 RAW.C0 = CA(MR(80-40*i), MR(-15+65*i), MR(90-90*i))
  16815.  
  16816.                 HW.C0 = CA(0, MR(-80+80*i), MR(90-90*i))
  16817.  
  16818.                 LAW.C0 = CA(MR(90-70*i), MR(-20*i), MR(60-80*i)) * CN(0, -0.7+0.7*i, 0)
  16819.  
  16820.                 neck.C0 = necko * CA(0, 0, MR(-10+60-50*i))
  16821.  
  16822.                 bg.cframe = CF * CA(0, MR(-410+50*i), 0)
  16823.  
  16824.                 wait()
  16825.  
  16826.         end
  16827.  
  16828.         bg:remove()
  16829.  
  16830.         Normalize()
  16831.  
  16832.         AbleAll = true
  16833.  
  16834. end
  16835.  
  16836.  
  16837.  
  16838. Flawp = function(plaic)
  16839.  
  16840.         local cf = torso.CFrame
  16841.  
  16842.         local CF = ComputePos(cf.p, cf * CN(0, 0, -2))
  16843.  
  16844.         if plaic then
  16845.  
  16846.                 CF = ComputePos(cf.p, plaic)
  16847.  
  16848.         end
  16849.  
  16850.         local cf2 = CF * CN(0, -1.1, -1)
  16851.  
  16852.         local Dist = 8
  16853.  
  16854.         local Hit1, Pos1 = RayC(CF.p, (CF * CN(0, -1, 0)).p, 4, char)
  16855.  
  16856.         local Hit2, Pos2 = RayC((CF * CN(0, 0, -Dist*2)).p, (CF * CN(0, -1, -Dist*2)).p, 4, char)
  16857.  
  16858.         local Hit3, Pos3 = RayC(CF.p, (CF * CN(0, 0, -Dist*2)).p, Dist*2, char)
  16859.  
  16860.         if Rage < Dmgs.Boom[6] then return end
  16861.  
  16862.         if Hit1 and Hit2 then
  16863.  
  16864.                 Rage = Rage - Dmgs.Boom[6]
  16865.  
  16866.                 local bp = Add.BP(torso)
  16867.  
  16868.                 bp.position = cf.p
  16869.  
  16870.                 local bg = Add.BG(torso)
  16871.  
  16872.                 bg.cframe = CF
  16873.  
  16874.                 AbleAll = false
  16875.  
  16876.                 RLW.Part1 = Rleg
  16877.  
  16878.                 LLW.Part1 = Lleg
  16879.  
  16880.                 for i = 0.05, 1, 0.1 do
  16881.  
  16882.                         RAW.C0 = CA(MR(40+30*i), MR(50-50*i), MR(25*i))
  16883.  
  16884.                         LAW.C0 = CA(MR(20+50*i), MR(-20+20*i), MR(-20-5*i))
  16885.  
  16886.                         HW.C0 = CA(MR(25*i), 0, 0)
  16887.  
  16888.                         RLW.C0 = CN(0, 1*i, -1*i)
  16889.  
  16890.                         LLW.C0 = CA(MR(-90*i), 0, 0) * CN(0, 0.5*i, -0.2*i)
  16891.  
  16892.                         neck.C0 = necko * CA(MR(20*i), 0, 0)
  16893.  
  16894.                         bp.position = CF * CN(0, -1*i, -1*i).p
  16895.  
  16896.                         wait()
  16897.  
  16898.                 end
  16899.  
  16900.                 local Center = cf2 * CN(0, 0, -Dist)
  16901.  
  16902.                 hum.PlatformStand = true
  16903.  
  16904.                 PlaySound(Sounds.Jump[1], Sounds.Jump[2], Sounds.Jump[3])
  16905.  
  16906.                 for i = 0.06, 1, 0.1 do
  16907.  
  16908.                         RAW.C0 = CA(MR(70-160*i), 0, MR(25+15*i))
  16909.  
  16910.                         LAW.C0 = CA(MR(70-160*i), 0, MR(-25-15*i))
  16911.  
  16912.                         HW.C0 = CA(MR(25), 0, 0)
  16913.  
  16914.                         RLW.C0 = CN(0, 1-1*i, -1+1*i)
  16915.  
  16916.                         LLW.C0 = CA(MR(-90+70*i), 0, 0) * CN(0, 0.5+0.7*i, -0.2-0.3*i)
  16917.  
  16918.                         neck.C0 = necko * CA(MR(20-50*i), 0, 0)
  16919.  
  16920.                         bp.position = Center * CA(MR(180-45*i), 0, 0) * CN(0, 0, -Dist).p
  16921.  
  16922.                         bg.cframe = CF * CA(MR(-90*i), 0, 0)
  16923.  
  16924.                         wait()
  16925.  
  16926.                 end
  16927.  
  16928.                 for i = 0.06, 1, 0.1 do
  16929.  
  16930.                         RAW.C0 = CA(MR(-90-90*i), 0, MR(40+50*i))
  16931.  
  16932.                         LAW.C0 = CA(MR(-90-90*i), 0, MR(-40-50*i))
  16933.  
  16934.                         HW.C0 = CA(MR(25-25*i), 0, MR(-90*i))
  16935.  
  16936.                         RLW.C0 = CN(0, 0, 0)
  16937.  
  16938.                         LLW.C0 = CA(MR(-20+20*i), 0, 0) * CN(0, 1.2-1.2*i, -0.5+0.5*i)
  16939.  
  16940.                         bp.position = Center * CA(MR(135-45*i), 0, 0) * CN(0, 0, -Dist).p
  16941.  
  16942.                         bg.cframe = CF * CA(MR(-90-90*i), 0, 0)
  16943.  
  16944.                         wait()
  16945.  
  16946.                 end
  16947.  
  16948.                 StartEffect()
  16949.  
  16950.                 for i = 0.06, 1, 0.1 do
  16951.  
  16952.                         RAW.C0 = CA(MR(180+10*i), 0, MR(90-130*i)) * CN(0, -1*i, 0)
  16953.  
  16954.                         LAW.C0 = CA(MR(180+10*i), 0, MR(-90+130*i)) * CN(0, -1*i, 0)
  16955.  
  16956.                         HW.C0 = CA(0, 0, MR(-90-90*i))
  16957.  
  16958.                         RLW.C0 = CN(0, 0, 0)
  16959.  
  16960.                         LLW.C0 = CA(0, 0, 0) * CN(0, 0, 0)
  16961.  
  16962.                         bp.position = Center * CA(MR(90-45*i), 0, 0) * CN(0, 0, -Dist).p
  16963.  
  16964.                         bg.cframe = CF * CA(MR(-180-90*i), 0, 0)
  16965.  
  16966.                         wait()
  16967.  
  16968.                 end
  16969.  
  16970.                 playz(Sounds.Slash)
  16971.  
  16972.                 for i = 0.06, 1, 0.1 do
  16973.  
  16974.                         RAW.C0 = CA(MR(190-100*i), 0, MR(-40)) * CN(0, -1-0.2*i, 0)
  16975.  
  16976.                         LAW.C0 = CA(MR(190-80*i), MR(-25*i), MR(40-15*i)) * CN(0, -1-0.2*i, 0)
  16977.  
  16978.                         HW.C0 = CA(0, MR(-45*i), MR(-180))
  16979.  
  16980.                         RLW.C0 = CN(0, 1*i, -1*i)
  16981.  
  16982.                         LLW.C0 = CA(MR(-20-70*i), 0, 0) * CN(0, 1.2-0.7*i, -0.5+0.3*i)
  16983.  
  16984.                         neck.C0 = necko * CA(MR(-30+60*i), 0, 0)
  16985.  
  16986.                         bp.position = Center * CA(MR(45-45*i), 0, 0) * CN(0, 0, -Dist).p
  16987.  
  16988.                         bg.cframe = CF * CA(MR(-270-90*i), 0, 0)
  16989.  
  16990.                         wait()
  16991.  
  16992.                 end
  16993.  
  16994.                 Mode = Dmgs.Boom
  16995.  
  16996.                 EndEffect()
  16997.  
  16998.                 RAW.C0 = CA(MR(90), 0, MR(-40)) * CN(0, -1.2, 0)
  16999.  
  17000.                 LAW.C0 = CA(MR(110), MR(-25), MR(25)) * CN(0, -1.2, 0)
  17001.  
  17002.                 HW.C0 = CA(0, MR(-45), MR(-180))
  17003.  
  17004.                 RLW.C0 = CN(0, 1, -1)
  17005.  
  17006.                 LLW.C0 = CA(MR(-90), 0, 0) * CN(0, 0.5, -0.2)
  17007.  
  17008.                 bp.position = Center * CN(0, 0, -Dist).p
  17009.  
  17010.                 bg.cframe = CF * CA(0, 0, 0)
  17011.  
  17012.                 local PosEff = Center * CN(0, -2, -Dist-2.5)
  17013.  
  17014.                 Notime(function()
  17015.  
  17016.                         playz(Sounds.Boom)
  17017.  
  17018.                         local disst = Dmgs.Boom[7]
  17019.  
  17020.                         local chars = getCharacters(workspace, PosEff.p, disst)
  17021.  
  17022.                         for _,v in pairs(chars) do
  17023.  
  17024.                                 local c, t, h = v[1], v[2], v[3]
  17025.  
  17026.                                 local d = (t.Position - PosEff.p).magnitude
  17027.  
  17028.                                 local bl, bp, blo = getBlock(c)
  17029.  
  17030.                                 if blo then
  17031.  
  17032.                                         ShieldDamage(Dmgs.Boom, bl, bp, false)
  17033.  
  17034.                                 end
  17035.  
  17036.                                 d = d/4
  17037.  
  17038.                                 if d < 1 then d = 1 end
  17039.  
  17040.                                 Damage(t, h, Dmgs.Boom[2]/d, false, false)
  17041.  
  17042.                                 for _,k in pairs(c:children()) do
  17043.  
  17044.                                         if k:IsA("BasePart") then
  17045.  
  17046.                                                 k.Velocity = CFrame.new(PosEff.p, k.Position).lookVector * 40 + Vector3.new(0, 50, 0)
  17047.  
  17048.                                         end
  17049.  
  17050.                                 end
  17051.  
  17052.                                 h.PlatformStand = true
  17053.  
  17054.                                 Notime(function() h.PlatformStand = false end, 0.2)
  17055.  
  17056.                         end
  17057.  
  17058.                         local eff = Instance.new("Model",workspace)
  17059.  
  17060.                         eff.Name = "Effect"
  17061.  
  17062.                         local wave = Part(eff, true, false, 0, 0, EffectColor, 1, 1, 1, true)
  17063.  
  17064.                         wave.CFrame = PosEff
  17065.  
  17066.                         local wavem = Add.Mesh(wave, "http://www.roblox.com/asset/?id=20329976", 3, 2, 3)
  17067.  
  17068.                         local ball = Part(eff, true, false, 0, 0, EffectColor2, 1, 1, 1, true)
  17069.  
  17070.                         ball.CFrame = PosEff
  17071.  
  17072.                         local ballm = Add.Sphere(ball)
  17073.  
  17074.                         ballm.Scale = Vector3.new(2, 5, 2)
  17075.  
  17076.                         local diamond = Part(eff, true, false, 0, 0, EffectColor, 1, 1, 1, true)
  17077.  
  17078.                         diamond.CFrame = PosEff
  17079.  
  17080.                         local diamondm = Add.Mesh(diamond, "http://www.roblox.com/asset/?id=9756362", 7, 0.5, 7)
  17081.  
  17082.                         for i = 0, 1, 0.05 do
  17083.  
  17084.                                 wait()
  17085.  
  17086.                                 wave.CFrame = PosEff * CFrame.Angles(0, MR(180*i), 0)
  17087.  
  17088.                                 wave.Transparency = i
  17089.  
  17090.                                 wavem.Scale = Vector3.new(3+(disst*1.15)*i, 2+(disst/1.4)*i, 3+(disst*1.15)*i)
  17091.  
  17092.                                 ball.Transparency = i
  17093.  
  17094.                                 ballm.Scale = Vector3.new(1+(disst*2)*i, 5+(disst*1.2)*i, 1+(disst*2)*i)
  17095.  
  17096.                                 diamond.Transparency = i
  17097.  
  17098.                                 diamondm.Scale = Vector3.new(7-6.5*i, 0.5+(disst*2)*i, 7-6.5*i)
  17099.  
  17100.                         end
  17101.  
  17102.                         wait()
  17103.  
  17104.                         eff:remove()
  17105.  
  17106.                 end)
  17107.  
  17108.                 wait(0.4)
  17109.  
  17110.                 for i = 0.07, 1, 0.1 do
  17111.  
  17112.                         RAW.C0 = CA(MR(90+50*i), 0, MR(-40)) * CN(0, -1.2+0.4*i, -0.4*i)
  17113.  
  17114.                         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)
  17115.  
  17116.                         HW.C0 = CA(MR(-30*i), MR(-45+45*i), MR(-180-30*i)) * CN(0, -0.7*i, 0)
  17117.  
  17118.                         RLW.C0 = CN(0, 1-1*i, -1+1*i)
  17119.  
  17120.                         LLW.C0 = CA(MR(-90+90*i), 0, 0) * CN(0, 0.5-0.5*i, -0.2+0.2*i)
  17121.  
  17122.                         neck.C0 = necko * CA(MR(30-15*i), 0, 0)
  17123.  
  17124.                         bp.position = Center * CN(0, 1.4*i, -Dist-1*i).p
  17125.  
  17126.                         wait()
  17127.  
  17128.                 end
  17129.  
  17130.                 bp:remove()
  17131.  
  17132.                 bg:remove()
  17133.  
  17134.                 hum.PlatformStand = false
  17135.  
  17136.                 for i = 0.05, 1, 0.1 do
  17137.  
  17138.                         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)
  17139.  
  17140.                         LAW.C0 = CA(MR(140-190*i), 0, MR(40-80*i)) * CN(0, -0.8+0.8*i, -0.4+0.4*i)
  17141.  
  17142.                         HW.C0 = CA(MR(-30+30*i), 0, MR(-210-150*i)) * CN(0, -0.7+0.7*i, 0)
  17143.  
  17144.                         RLW.C0 = CN()
  17145.  
  17146.                         LLW.C0 = CN()
  17147.  
  17148.                         neck.C0 = necko * CA(MR(15-15*i), 0, 0)
  17149.  
  17150.                         bp.position = Center * CN(0, 1.4-0.4*i, -Dist-1-0.3*i).p
  17151.  
  17152.                         wait()
  17153.  
  17154.                 end
  17155.  
  17156.                 RLW.Part1 = nil
  17157.  
  17158.                 LLW.Part1 = nil
  17159.  
  17160.                 for i = 0.1, 1, 0.2 do
  17161.  
  17162.                         LAW.C0 = CA(MR(-50+70*i), MR(-20*i), MR(-40+20*i))
  17163.  
  17164.                         wait()
  17165.  
  17166.                 end
  17167.  
  17168.                 Normalize()
  17169.  
  17170.                 AbleAll = true
  17171.  
  17172.         end
  17173.  
  17174. end
  17175.  
  17176.  
  17177.  
  17178. function Raeg()
  17179.  
  17180.         if Rage < Dmgs.RageMode[5] then return end
  17181.  
  17182.         if RageMode == false and AbleAll and Able then
  17183.  
  17184.                 AbleAll = false
  17185.  
  17186.                 local CF = ComputePos(torso.Position, torso.CFrame * CN(0, 0, -2))
  17187.  
  17188.                 for i = 0.05, 1, 0.1 do
  17189.  
  17190.                         RAW.C0 = CA(MR(40-70*i), MR(50-45*i), MR(10*i))
  17191.  
  17192.                         LAW.C0 = CA(MR(20-50*i), MR(-20+15*i), MR(-20+10*i))
  17193.  
  17194.                         HW.C0 = CA(MR(20*i), 0, 0)
  17195.  
  17196.                         wait()
  17197.  
  17198.                 end
  17199.  
  17200.                 for i = 0.12, 1, 0.25 do
  17201.  
  17202.                         RAW.C0 = CA(MR(-30-10*i), MR(5-5*i), MR(10-5*i))
  17203.  
  17204.                         LAW.C0 = CA(MR(-30-10*i), MR(-5+5*i), MR(-10+5*i))
  17205.  
  17206.                         HW.C0 = CA(MR(20+5*i), 0, 0)
  17207.  
  17208.                         wait()
  17209.  
  17210.                 end
  17211.  
  17212.                 hum.Jump = true
  17213.  
  17214.                 playz(Sounds.Jump2)
  17215.  
  17216.                 CF = ComputePos(torso.Position, torso.CFrame * CN(0, 0, -2))
  17217.  
  17218.                 local p = Part(workspace, true, false, 0, 0, "Bright red", 0.2, 0.2, 0.2, true)
  17219.  
  17220.                 p.CFrame = CF * CN(0, -2, 0)
  17221.  
  17222.                 local m = Add.Mesh(p, "http://www.roblox.com/asset/?id=20329976", 1, 3, 1)
  17223.  
  17224.                 Notime(function()
  17225.  
  17226.                         for i = 0, 1, 0.08 do
  17227.  
  17228.                                 wait()
  17229.  
  17230.                                 m.Scale = Vector3.new(1+5*i, 3-2.5*i, 1+5*i)
  17231.  
  17232.                                 p.Transparency = i
  17233.  
  17234.                         end
  17235.  
  17236.                         p:remove()
  17237.  
  17238.                 end)
  17239.  
  17240.                 for i = 0.05, 1, 0.1 do
  17241.  
  17242.                         RAW.C0 = CA(MR(-40+220*i), 0, MR(5+35*i))
  17243.  
  17244.                         LAW.C0 = CA(MR(-40+220*i), 0, MR(-5-35*i))
  17245.  
  17246.                         HW.C0 = CA(MR(25-115*i), MR(90*i), MR(45*i))
  17247.  
  17248.                         wait()
  17249.  
  17250.                 end
  17251.  
  17252.                 for i = 0.12, 1, 0.25 do
  17253.  
  17254.                         RAW.C0 = CA(MR(180+8*i), 0, MR(40))
  17255.  
  17256.                         LAW.C0 = CA(MR(180+8*i), 0, MR(-40))
  17257.  
  17258.                         HW.C0 = CA(MR(-90), MR(90), MR(45))
  17259.  
  17260.                         wait()
  17261.  
  17262.                 end
  17263.  
  17264.                 for i = 0.05, 1, 0.1 do
  17265.  
  17266.                         RAW.C0 = CA(MR(188-98*i), 0, MR(40-80*i)) * CN(0, -1*i, 0)
  17267.  
  17268.                         LAW.C0 = CA(MR(188-98*i), 0, MR(-40+80*i)) * CN(0, -1*i, 0)
  17269.  
  17270.                         HW.C0 = CA(MR(-90+90*i), MR(90+45*i), MR(45-45*i))
  17271.  
  17272.                         wait()
  17273.  
  17274.                 end
  17275.  
  17276.                 playz(Sounds.GoRage)
  17277.  
  17278.                 local p2 = Part(workspace, false, false, 1, 0, EffectColor3, 1, 1, 1, true)
  17279.  
  17280.                 Weld(Tip4, p2, 0, -2, 0, 0, 0, 0)
  17281.  
  17282.                 local m2 = Add.Sphere(p2)
  17283.  
  17284.                 m2.Scale = Vector3.new(0.2, 2, 0.5)
  17285.  
  17286.                 for i = 0, 1, 0.06 do
  17287.  
  17288.                         p2.Transparency = 1-1*i
  17289.  
  17290.                         m2.Scale = Vector3.new(0.2+0.7*i, 2+3*i, 0.5+1.6*i)
  17291.  
  17292.                         wait()
  17293.  
  17294.                 end
  17295.  
  17296.                 for _,v in pairs(Blades) do
  17297.  
  17298.                         v.BrickColor = BrickColor.new(EffectColor3)
  17299.  
  17300.                 end
  17301.  
  17302.                 wait(0.5)
  17303.  
  17304.                 for i = 0, 1, 0.1 do
  17305.  
  17306.                         p2.Transparency = i
  17307.  
  17308.                         wait()
  17309.  
  17310.                 end
  17311.  
  17312.                 p2:remove()
  17313.  
  17314.                 playz(Sounds.Shout)
  17315.  
  17316.                 for i = 0.1, 1, 0.1 do
  17317.  
  17318.                         RAW.C0 = CA(MR(90-50*i), MR(50*i), MR(-40+40*i)) * CN(0, -1+1*i, 0)
  17319.  
  17320.                         LAW.C0 = CA(MR(90-70*i), MR(-20*i), MR(-40+80-60*i)) * CN(0, -1+1*i, 0)
  17321.  
  17322.                         HW.C0 = CA(0, MR(135+45*i), 0)
  17323.  
  17324.                         wait()
  17325.  
  17326.                 end
  17327.  
  17328.                 Normalize()
  17329.  
  17330.                 AbleAll = true
  17331.  
  17332.                 RageMode = true
  17333.  
  17334.                 AddDamage = Dmgs.RageMode[2]
  17335.  
  17336.                 AddDamageX = Dmgs.RageMode[3]
  17337.  
  17338.                 AddShield = Dmgs.RageMode[4]
  17339.  
  17340.                 LineColor = EffectColor3
  17341.  
  17342.                 Notime(function()
  17343.  
  17344.                         repeat
  17345.  
  17346.                                 wait()
  17347.  
  17348.                                 Rage = Rage - 0.45
  17349.  
  17350.                         until Rage < 1
  17351.  
  17352.                         RageMode = false
  17353.  
  17354.                         AddDamage = 0
  17355.  
  17356.                         AddShield = 0
  17357.  
  17358.                         AddDamageX = 1
  17359.  
  17360.                         LineColor = "White"
  17361.  
  17362.                         local p3 = Part(workspace, false, false, 1, 0, BladeColor, 1, 1, 1, true)
  17363.  
  17364.                         Weld(Tip4, p3, 0, -2, 0, 0, 0, 0)
  17365.  
  17366.                         local m3 = Add.Sphere(p3)
  17367.  
  17368.                         m3.Scale = Vector3.new(0.85, 4.9, 1.8)
  17369.  
  17370.                         playz(Sounds.RageOff)
  17371.  
  17372.                         for i = 0.1, 1, 0.1 do
  17373.  
  17374.                                 p3.Transparency = 1-1*i
  17375.  
  17376.                                 wait()
  17377.  
  17378.                         end
  17379.  
  17380.                         p.Transparency = 0
  17381.  
  17382.                         for _,v in pairs(Blades) do
  17383.  
  17384.                                 v.BrickColor = BrickColor.new(BladeColor)
  17385.  
  17386.                         end
  17387.  
  17388.                         wait(0.2)
  17389.  
  17390.                         for i = 0.2, 1, 0.2 do
  17391.  
  17392.                                 p3.Transparency = 1*i
  17393.  
  17394.                                 m3.Scale = Vector3.new(0.85+2*i, 4.9+9*i, 1.8+4.5*i)
  17395.  
  17396.                                 wait()
  17397.  
  17398.                         end
  17399.  
  17400.                         p3:remove()
  17401.  
  17402.                 end)
  17403.  
  17404.         end
  17405.  
  17406. end
  17407.  
  17408.  
  17409.  
  17410. function RageSlash(plaic)
  17411.  
  17412.         if Rage < Dmgs.RageSlash[6] then return end
  17413.  
  17414.         local cf = torso.CFrame
  17415.  
  17416.         local CF = ComputePos(cf.p, cf * CN(0, 0, -2))
  17417.  
  17418.         if plaic then
  17419.  
  17420.                 CF = ComputePos(cf.p, plaic)
  17421.  
  17422.                 local bg = Add.BG(torso)
  17423.  
  17424.                 bg.cframe = CF
  17425.  
  17426.                 Notime(function() bg:remove() end, 0.4)
  17427.  
  17428.         end
  17429.  
  17430.         Rage = Rage - Dmgs.RageSlash[6]
  17431.  
  17432.         AbleAll = false
  17433.  
  17434.         for i = 0.05, 1, 0.1 do
  17435.  
  17436.                 RAW.C0 = CA(MR(40+105*i), MR(50-50*i), MR(-35*i)) * CN(0.15*i, -1*i, 0)
  17437.  
  17438.                 LAW.C0 = CA(MR(20+125*i), MR(-20+20*i), MR(-20+55*i)) * CN(-0.15*i, -1*i, 0)
  17439.  
  17440.                 HW.C0 = CA(0, MR(-35*i), 0)
  17441.  
  17442.                 neck.C0 = necko * CA(MR(-20*i), 0, 0)
  17443.  
  17444.                 wait()
  17445.  
  17446.         end
  17447.  
  17448.         for i = 0.09, 1, 0.18 do
  17449.  
  17450.                 RAW.C0 = CA(MR(145+55*i), 0, MR(-35)) * CN(0.15, -1, 0)
  17451.  
  17452.                 LAW.C0 = CA(MR(145+55*i), 0, MR(35)) * CN(-0.15, -1, 0)
  17453.  
  17454.                 HW.C0 = CA(0, MR(-35), 0)
  17455.  
  17456.                 neck.C0 = necko * CA(MR(-20-20*i), 0, 0)
  17457.  
  17458.                 wait()
  17459.  
  17460.         end
  17461.  
  17462.         PlaySound(Sounds.Slash[1], Sounds.Slash[2]-0.7, Sounds.Slash[3])
  17463.  
  17464.         for i = 0.12, 1, 0.25 do
  17465.  
  17466.                 RAW.C0 = CA(MR(200+10*i), 0, MR(-35)) * CN(0.15, -1, 0)
  17467.  
  17468.                 LAW.C0 = CA(MR(200+10*i), 0, MR(35)) * CN(-0.15, -1, 0)
  17469.  
  17470.                 HW.C0 = CA(0, MR(-35), 0)
  17471.  
  17472.                 neck.C0 = necko * CA(MR(-20-20-5*i), 0, 0)
  17473.  
  17474.                 wait()
  17475.  
  17476.         end
  17477.  
  17478.         Mode = Dmgs.RageSlash
  17479.  
  17480.         StartEffect("Neon orange")
  17481.  
  17482.         Hurt = true
  17483.  
  17484.         Deb = true
  17485.  
  17486.         for i = 0.07, 1, 0.14 do
  17487.  
  17488.                 RAW.C0 = CA(MR(210-160*i), 0, MR(-35)) * CN(0.15, -1, 0)
  17489.  
  17490.                 LAW.C0 = CA(MR(210-150*i), MR(-30*i), MR(35)) * CN(-0.15, -1, 0)
  17491.  
  17492.                 HW.C0 = CA(MR(-70*i), MR(-35), MR(-35*i))
  17493.  
  17494.                 neck.C0 = necko * CA(MR(-45+80*i), 0, 0)
  17495.  
  17496.                 wait()
  17497.  
  17498.         end
  17499.  
  17500.         EndEffect()
  17501.  
  17502.         Hurt = false
  17503.  
  17504.         for i = 0.33, 1, 0.33 do
  17505.  
  17506.                 RAW.C0 = CA(MR(50-15*i), 0, MR(-35)) * CN(0.15, -1, 0)
  17507.  
  17508.                 LAW.C0 = CA(MR(60-15*i), MR(-30), MR(35)) * CN(-0.15, -1, 0)
  17509.  
  17510.                 HW.C0 = CA(MR(-70-15*i), MR(-35), MR(-35-7*i))
  17511.  
  17512.                 neck.C0 = necko * CA(MR(-45+80+5*i), 0, 0)
  17513.  
  17514.                 wait()
  17515.  
  17516.         end
  17517.  
  17518.         for i = 0.07, 1, 0.14 do
  17519.  
  17520.                 RAW.C0 = CA(MR(35+5*i), MR(50*i), MR(-35+35*i)) * CN(0.15-0.15*i, -1+1*i, 0)
  17521.  
  17522.                 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)
  17523.  
  17524.                 HW.C0 = CA(MR(-70-15+85*i), MR(-35+35*i), MR(-35-7+42*i))
  17525.  
  17526.                 neck.C0 = necko * CA(MR(-45+80+5-40*i), 0, 0)
  17527.  
  17528.                 wait()
  17529.  
  17530.         end
  17531.  
  17532.         Normalize()
  17533.  
  17534.         AbleAll = true
  17535.  
  17536. end
  17537.  
  17538.  
  17539.  
  17540. --RAW ORIGINAL = CA(MR(40), MR(50), 0)
  17541.  
  17542. --LAW ORIGINAL = CA(MR(20), MR(-20), MR(-20))
  17543.  
  17544. --HW ORIGINAL = CA(0, 0, 0)
  17545.  
  17546.  
  17547.  
  17548. function Counter()
  17549.  
  17550.         local cf = torso.CFrame
  17551.  
  17552.         local CF = CFrame.new(cf.p, cf * CN(0, 0, -2).p)
  17553.  
  17554.         local bg = Add.BG(torso)
  17555.  
  17556.         bg.cframe = CF
  17557.  
  17558.         for i = 0.1, 1, 0.2 do
  17559.  
  17560.                 RAW.C0 = CA(MR(-50+50*i), MR(-35), MR(80*i))
  17561.  
  17562.                 LAW.C0 = CA(MR(90-20*i), 0, MR(80-20*i)) * CN(-0.75+0.25*i, -0.8+0.5*i, 0)
  17563.  
  17564.                 HW.C0 = CA(MR(20-60*i), 0, 0)
  17565.  
  17566.                 bg.cframe = CF * CA(0, MR(-35*i), 0)
  17567.  
  17568.                 neck.C0 = necko * CA(0, 0, MR(35*i))
  17569.  
  17570.                 wait()
  17571.  
  17572.         end
  17573.  
  17574.         StartEffect()
  17575.  
  17576.         Hurt = true
  17577.  
  17578.         Deb = true
  17579.  
  17580.         Mode = Dmgs.Counter
  17581.  
  17582.         playz(Sounds.Slash)
  17583.  
  17584.         for i = 0.09, 1, 0.18 do
  17585.  
  17586.                 RAW.C0 = CA(0, MR(-35+130*i), MR(80)) * CN(0, -0.3*i, 0)
  17587.  
  17588.                 LAW.C0 = CA(MR(70-130*i), 0, MR(60-60*i)) * CN(-0.5+0.5*i, -0.3+0.3*i, 0)
  17589.  
  17590.                 HW.C0 = CA(MR(-40+40*i), 0, 0)
  17591.  
  17592.                 bg.cframe = CF * CA(0, MR(-35+80*i), 0)
  17593.  
  17594.                 neck.C0 = necko * CA(0, 0, MR(35-80*i))
  17595.  
  17596.                 wait()
  17597.  
  17598.         end
  17599.  
  17600.         EndEffect()
  17601.  
  17602.         Hurt = false
  17603.  
  17604.         for i = 0.12, 1, 0.25 do
  17605.  
  17606.                 RAW.C0 = CA(0, MR(95+10*i), MR(80)) * CN(0, -0.3, 0)
  17607.  
  17608.                 LAW.C0 = CA(MR(-60-10*i), 0, 0)
  17609.  
  17610.                 HW.C0 = CA(MR(5*i), 0, 0)
  17611.  
  17612.                 bg.cframe = CF * CA(0, MR(45+5*i), 0)
  17613.  
  17614.                 neck.C0 = necko * CA(0, 0, MR(-45-5*i))
  17615.  
  17616.                 wait()
  17617.  
  17618.         end
  17619.  
  17620.         for i = 0.06, 1, 0.12 do
  17621.  
  17622.                 RAW.C0 = CA(MR(40*i), MR(105-55*i), MR(80-80*i)) * CN(0, -0.3+0.3*i, 0)
  17623.  
  17624.                 LAW.C0 = CA(MR(-70+90*i), MR(-20*i), MR(-20*i))
  17625.  
  17626.                 HW.C0 = CA(MR(5-5*i), 0, 0)
  17627.  
  17628.                 bg.cframe = CF * CA(0, MR(50-50*i), 0)
  17629.  
  17630.                 neck.C0 = necko * CA(0, 0, MR(-50+50*i))
  17631.  
  17632.                 wait()
  17633.  
  17634.         end
  17635.  
  17636.         Normalize()
  17637.  
  17638.         bg:remove()
  17639.  
  17640. end
  17641.  
  17642.  
  17643.  
  17644. function Bloc()
  17645.  
  17646.         if AbleAll and Able then
  17647.  
  17648.                 AbleAll = false
  17649.  
  17650.                 Block.Value = true
  17651.  
  17652.                 for i = 0, 1, 0.15 do
  17653.  
  17654.                         if not Block then break end
  17655.  
  17656.                         RAW.C0 = CA(MR(40-90*i), MR(50-85*i), 0)
  17657.  
  17658.                         LAW.C0 = CA(MR(20+70*i), MR(-20+20*i), MR(-20+100*i)) * CN(-0.75*i, -0.8*i, 0)
  17659.  
  17660.                         HW.C0 = CA(MR(20*i), 0, 0)
  17661.  
  17662.                         wait()
  17663.  
  17664.                 end
  17665.  
  17666.                 RAW.C0 = CA(MR(40-90), MR(50-85), 0)
  17667.  
  17668.                 LAW.C0 = CA(MR(20+70), MR(-20+20), MR(-20+100)) * CN(-0.75, -0.8, 0)
  17669.  
  17670.                 HW.C0 = CA(MR(20), 0, 0)
  17671.  
  17672.                 PlaySound(Sounds.SmashHit[1], Sounds.SmashHit[2]-0.6, Sounds.SmashHit[3])
  17673.  
  17674.                 repeat
  17675.  
  17676.                         wait()
  17677.  
  17678.                         if BlockPower.Value < 1 then
  17679.  
  17680.                                 Block.Value = false
  17681.  
  17682.                                 BlockPower.Value = BlockRealPowa
  17683.  
  17684.                         end
  17685.  
  17686.                 until Block.Value == false
  17687.  
  17688.                 if CounterKey and Rage >= Dmgs.Counter[6] then
  17689.  
  17690.                         Rage = Rage - Dmgs.Counter[6]
  17691.  
  17692.                         Counter()
  17693.  
  17694.                 else
  17695.  
  17696.                         for i = 1, 0, -0.2 do
  17697.  
  17698.                                 RAW.C0 = CA(MR(40-90*i), MR(50-85*i), 0)
  17699.  
  17700.                                 LAW.C0 = CA(MR(20+70*i), MR(-20+20*i), MR(-20+100*i)) * CN(-0.75*i, -0.8*i, 0)
  17701.  
  17702.                                 HW.C0 = CA(MR(20*i), 0, 0)
  17703.  
  17704.                                 wait()
  17705.  
  17706.                         end
  17707.  
  17708.                         Normalize()
  17709.  
  17710.                 end
  17711.  
  17712.                 AbleAll = true
  17713.  
  17714.         end
  17715.  
  17716. end
  17717.  
  17718.  
  17719.  
  17720. function Clicked(mousepos)
  17721.  
  17722.         if Block.Value == false and Able and AbleAll then
  17723.  
  17724.                 if Aim then
  17725.  
  17726.                         Notime(function()
  17727.  
  17728.                                 local bg = Add.BG(torso)
  17729.  
  17730.                                 bg.cframe = ComputePos(torso.Position, mousepos)
  17731.  
  17732.                                 bg.P = 5500
  17733.  
  17734.                                 wait(0.4)
  17735.  
  17736.                                 bg:remove()
  17737.  
  17738.                         end)
  17739.  
  17740.                 end
  17741.  
  17742.                 Attacks[Attack]()
  17743.  
  17744.         end
  17745.  
  17746. end
  17747.  
  17748.  
  17749.  
  17750. function KeyDown(key, mouse)
  17751.  
  17752.         key = key:lower()
  17753.  
  17754.         if Able then
  17755.  
  17756.                 local aimplace = nil
  17757.  
  17758.                 if Aim then
  17759.  
  17760.                         aimplace = mouse.Hit.p
  17761.  
  17762.                 end
  17763.  
  17764.                 if key == string.char(48) then
  17765.  
  17766.                         Notime(function()
  17767.  
  17768.                                 local k = nil
  17769.  
  17770.                                 repeat
  17771.  
  17772.                                         k = mouse.KeyUp:wait()
  17773.  
  17774.                                 until k == string.char(48)
  17775.  
  17776.                                 Block.Value = false
  17777.  
  17778.                         end)
  17779.  
  17780.                         Bloc()
  17781.  
  17782.                 elseif key == "e" then
  17783.  
  17784.                         if Block.Value == false and AbleAll then
  17785.  
  17786.                                 SpinSlash(aimplace)
  17787.  
  17788.                         end
  17789.  
  17790.                 elseif key == "r" then
  17791.  
  17792.                         if Block.Value == false and AbleAll then
  17793.  
  17794.                                 Flawp(aimplace)
  17795.  
  17796.                         end
  17797.  
  17798.                 elseif key == "f" then
  17799.  
  17800.                         if Block.Value == false and AbleAll then
  17801.  
  17802.                                 Raeg()
  17803.  
  17804.                         end
  17805.  
  17806.                 elseif key == "t" then
  17807.  
  17808.                         Notime(function()
  17809.  
  17810.                                 local k = nil
  17811.  
  17812.                                 CounterKey = true
  17813.  
  17814.                                 repeat
  17815.  
  17816.                                         k = mouse.KeyUp:wait()
  17817.  
  17818.                                 until k == "t"
  17819.  
  17820.                                 CounterKey = false
  17821.  
  17822.                         end)
  17823.  
  17824.                 elseif key == "q" then
  17825.  
  17826.                         if Block.Value == false and AbleAll then
  17827.  
  17828.                                 local a = nil
  17829.  
  17830.                                 if Aim then
  17831.  
  17832.                                         a = mouse.Hit.p
  17833.  
  17834.                                 end
  17835.  
  17836.                                 RageSlash(a)
  17837.  
  17838.                         end
  17839.  
  17840.                 end
  17841.  
  17842.         end
  17843.  
  17844. end
  17845.  
  17846.  
  17847.  
  17848. Select = function(mouse)
  17849.  
  17850.         SelectAnim()
  17851.  
  17852.         Selected = true
  17853.  
  17854.         mouse.Button1Down:connect(function()
  17855.  
  17856.                 if Able then
  17857.  
  17858.                         Clicked(mouse.Hit.p)
  17859.  
  17860.                 end
  17861.  
  17862.         end)
  17863.  
  17864.         mouse.KeyDown:connect(function(key)
  17865.  
  17866.                 KeyDown(key, mouse)
  17867.  
  17868.         end)
  17869.  
  17870. end
  17871.  
  17872.  
  17873.  
  17874. Deselect = function(mouse)
  17875.  
  17876.         Selected = false
  17877.  
  17878.         DeselectAnim()
  17879.  
  17880. end
  17881.  
  17882.  
  17883.  
  17884. Bin.Selected:connect(Select)
  17885.  
  17886. Bin.Deselected:connect(Deselect)
  17887.  
  17888.  
  17889.  
  17890. Notime(function()
  17891.  
  17892.         local parent = char.Parent
  17893.  
  17894.         while char.Parent == parent do
  17895.  
  17896.                 wait()
  17897.  
  17898.                 if Rage > MaxRage then Rage = MaxRage elseif Rage < 0 then Rage = 0 end
  17899.  
  17900.                 RageBar.Size = UD(1, 0, Rage/MaxRage, 0)
  17901.  
  17902.                 RageBar.Position = UD(0, 0, 1-(Rage/MaxRage), 0)
  17903.  
  17904.                 RageAmount.Text = math.floor(Rage)
  17905.  
  17906.                 local hp2 = hum.Health/hum.MaxHealth
  17907.  
  17908.                 if hp2 > 1 then hp2 = 1 elseif hp2 < 0 then hp2 = 0 end
  17909.  
  17910.                 HealthBar.Size = UD(1, 0, hp2, 0)
  17911.  
  17912.                 if Block.Value then
  17913.  
  17914.                         hum.WalkSpeed = 10
  17915.  
  17916.                 elseif RageMode and Block.Value then
  17917.  
  17918.                         hum.WalkSpeed = 16
  17919.  
  17920.                 elseif RageMode then
  17921.  
  17922.                         hum.WalkSpeed = 19
  17923.  
  17924.                 else
  17925.  
  17926.                         hum.WalkSpeed = 16
  17927.  
  17928.                 end
  17929.  
  17930.         end
  17931.  
  17932. end)
  17933.  
  17934.         end)
  17935. --
  17936. local button = Instance.new("TextButton")
  17937.         button.Parent = ws
  17938.         button.BackgroundColor3 = blak
  17939.         button.BorderColor3 = rede
  17940.         button.BorderSizePixel = 3
  17941.         button.Name = "Dual Blades"
  17942.         button.Position = UDim2.new(0.5,3,0,33)
  17943.         button.Size = UDim2.new(0.5,-3,0,30)
  17944.         button.ZIndex = 2
  17945.         button.Font = tef
  17946.         button.FontSize = "Size14"
  17947.         button.Text = "Dual Blades"
  17948.         button.TextColor3 = whit
  17949.         button.TextWrapped = true
  17950.         button.MouseButton1Down:connect(function()
  17951.                 --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 5 and put your name where it says "YOUR NAME HERE"
  17952.  
  17953.  
  17954. local admin = game.Players.LocalPlayer
  17955. bin = Instance.new("HopperBin", admin.Backpack)
  17956. player = bin.Parent.Parent.Character
  17957. rarm = player["Right Arm"]
  17958. larm = player["Left Arm"]
  17959. visible = true
  17960. --for i, v in pairs(game.Players:GetChildren()) do
  17961. --bin:Clone().Parent = v.Backpack
  17962. --end
  17963. on = 1
  17964.  
  17965. local glideg = Instance.new("BodyGyro")
  17966. local glidev = Instance.new("BodyVelocity")
  17967.  
  17968. function shadow(rblade,lblade)
  17969. while on == 1 do
  17970. wait(.1)
  17971. if visible then
  17972. local a = rblade:clone()
  17973. local b = lblade:clone()
  17974. a.Anchored = true
  17975. a.Parent = player
  17976. a.CFrame = rblade.CFrame
  17977. a.CanCollide = false
  17978. a.Transparency = .2
  17979. b.Anchored = true
  17980. b.Parent = player
  17981. b.CFrame = lblade.CFrame
  17982. b.CanCollide = false
  17983. b.Transparency = .2
  17984. coroutine.resume(coroutine.create(function() dissapate(a,b) end))
  17985. end
  17986. end
  17987. end
  17988.  
  17989. function stun(blast)
  17990. for x = 1,15 do
  17991. wait(1)
  17992. local sap = game.Players:GetChildren()
  17993. for i = 1,#sap do
  17994. wait()
  17995. if (sap.Character.Torso.Position - Workspace.keel.Position).magnitude < 20 then
  17996. sap.Character.Humanoid.Sit = true
  17997. end
  17998. end
  17999. end
  18000. end
  18001.  
  18002. function dissapate(a,b)
  18003. for i = 1,8 do
  18004. wait()
  18005. a.Transparency = a.Transparency +.1
  18006. b.Transparency = b.Transparency +.1
  18007. end
  18008. a:remove()
  18009. b:remove()
  18010. end
  18011.  
  18012. bin.Selected:connect(function(mouse)
  18013. on = 1
  18014. if player.Torso:findFirstChild("Right Shoulder") ~= nil then
  18015. rs = player.Torso["Right Shoulder"]
  18016. rs.Part1 = nil
  18017. end
  18018. if player.Torso:findFirstChild("Left Shoulder") ~= nil then
  18019. ls = player.Torso["Left Shoulder"]
  18020. ls.Part1 = nil
  18021. end
  18022. if player:FindFirstChild("check") == nil then
  18023. rns = Instance.new("Weld")
  18024. rns.Parent = player.Torso
  18025. rns.Part0 = rns.Parent
  18026. rns.Part1 = player["Right Arm"]
  18027. rns.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18028. lns = Instance.new("Weld")
  18029. lns.Parent = player.Torso
  18030. lns.Part0 = lns.Parent
  18031. lns.Part1 = player["Left Arm"]
  18032. lns.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18033. rblade = Instance.new("Part")
  18034. rblade.BrickColor = BrickColor.new("Institutional white")
  18035. rblade.Name ="check"
  18036. rblade.Parent = player
  18037. rblade.CanCollide = false
  18038. rblade.Size = Vector3.new(1,3,1)
  18039. rblade.formFactor = "Symmetric"
  18040. rblade.TopSurface = 0
  18041. rblade.BottomSurface = 0
  18042. rbm = Instance.new("BlockMesh")
  18043. rbm.Parent = rblade
  18044. rbm.Scale = Vector3.new(.1,1,.3)
  18045. rbw = Instance.new("Weld")
  18046. rbw.Parent = rarm
  18047. rbw.Part0 = rarm
  18048. rbw.Part1 = rblade
  18049. rbw.C1 = CFrame.new(0,1,0)
  18050. lblade = Instance.new("Part")
  18051. lblade.BrickColor = rblade.BrickColor
  18052. lblade.Name = "checkb"
  18053. lblade.Parent = player
  18054. lblade.CanCollide = false
  18055. lblade.Size = Vector3.new(1,3,1)
  18056. lblade.formFactor = "Symmetric"
  18057. lblade.TopSurface = 0
  18058. lblade.BottomSurface = 0
  18059. lbm = Instance.new("BlockMesh")
  18060. lbm.Parent = lblade
  18061. lbm.Scale = Vector3.new(.1,1,.3)
  18062. lbw = Instance.new("Weld")
  18063. lbw.Parent = larm
  18064. lbw.Part0 = larm
  18065. lbw.Part1 = lblade
  18066. lbw.C1 = CFrame.new(0,1,0)
  18067. coroutine.resume(coroutine.create(function() shadow(rblade, lblade) end))
  18068. end
  18069. rblade.Touched:connect(function(hit)
  18070. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18071. if hit.Parent.Name ~= player.Name then
  18072. if hit.Parent.Humanoid.MaxHealth > 100 then
  18073. hit.Parent.Humanoid.MaxHealth = 100
  18074. end
  18075. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(3,7)
  18076. for i = 1, (math.random(1,3)) do
  18077. wait()
  18078. local bleed = Instance.new("Part")
  18079. bleed.formFactor = "Symmetric"
  18080. bleed.Size = Vector3.new(1,1,1)
  18081. bleed.BrickColor = BrickColor.new("Bright red")
  18082. bleed.TopSurface = 0
  18083. bleed.BottomSurface = 0
  18084. bleed.Reflectance = .1
  18085. bleed.Transparency = .4
  18086. bleed.Parent = Workspace
  18087. bleed.Position = rblade.Position
  18088. local bleedm = Instance.new("SpecialMesh")
  18089. bleedm.MeshType = "Sphere"
  18090. bleedm.Scale = Vector3.new(.2,.2,.2)
  18091. bleedm.Parent = bleed
  18092. game:GetService("Debris"):AddItem(bleed, 5)
  18093. end
  18094. end
  18095. end
  18096. end)
  18097.  
  18098. lblade.Touched:connect(function(hit)
  18099. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18100. if hit.Parent.Name ~= player.Name then
  18101. if hit.Parent.Humanoid.MaxHealth > 100 then
  18102. hit.Parent.Humanoid.MaxHealth = 100
  18103. end
  18104. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(3,7)
  18105. for i = 1, (math.random(1,3)) do
  18106. wait()
  18107. local bleed = Instance.new("Part")
  18108. bleed.formFactor = "Symmetric"
  18109. bleed.Size = Vector3.new(1,1,1)
  18110. bleed.BrickColor = BrickColor.new("Bright red")
  18111. bleed.TopSurface = 0
  18112. bleed.BottomSurface = 0
  18113. bleed.Reflectance = .1
  18114. bleed.Transparency = .4
  18115. bleed.Parent = Workspace
  18116. bleed.Position = lblade.Position
  18117. local bleedm = Instance.new("SpecialMesh")
  18118. bleedm.MeshType = "Sphere"
  18119. bleedm.Scale = Vector3.new(.2,.2,.2)
  18120. bleedm.Parent = bleed
  18121. game:GetService("Debris"):AddItem(bleed, 5)
  18122. end
  18123. end
  18124. end
  18125. end)
  18126. ----end of blades
  18127. right = rns
  18128. left = lns
  18129. mouse.KeyDown:connect(function(key)
  18130. key = key:lower()
  18131. print(key)
  18132. if key == "z" and rblade.Transparency <= 0 then
  18133. for i = 1,50 do
  18134. wait()
  18135. rblade.Transparency = rblade.Transparency + .02
  18136. lblade.Transparency = lblade.Transparency + .02
  18137. end
  18138. rblade.Transparency = 1
  18139. lblade.Transparency = 1
  18140. visible = false
  18141. elseif key == "x" and rblade.Transparency > 0 then
  18142. visible = true
  18143. for i = 1,50 do
  18144. wait()
  18145. rblade.Transparency = rblade.Transparency - .02
  18146. lblade.Transparency = lblade.Transparency - .02
  18147. end
  18148. rblade.Transparency = 0
  18149. lblade.Transparency = 0
  18150. elseif key == "c" then
  18151. wait()
  18152. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18153. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18154. end
  18155. if key == "e" then
  18156. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18157. wait()
  18158. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18159. wait()
  18160. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18161. wait()
  18162. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18163. wait()
  18164. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18165. wait()
  18166. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18167. wait(.5)
  18168. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18169. wait()
  18170. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18171. wait()
  18172. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18173. wait()
  18174. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18175. wait()
  18176. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18177. elseif key == "q" then
  18178. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18179. wait()
  18180. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18181. wait()
  18182. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18183. wait()
  18184. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18185. wait()
  18186. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18187. wait()
  18188. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18189. wait(.5)
  18190. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18191. wait()
  18192. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18193. wait()
  18194. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18195. wait()
  18196. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18197. wait()
  18198. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18199. elseif key == "r" then
  18200. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18201. wait()
  18202. left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.3))
  18203. wait()
  18204. left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.35))
  18205. wait()
  18206. left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.4))
  18207. wait()
  18208. left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.45))
  18209. wait()
  18210. left.C1 = CFrame.new(0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.5))
  18211. wait(.2)
  18212. left.C1 = CFrame.new(0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.5))
  18213. wait()
  18214. left.C1 = CFrame.new(0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.5))
  18215. wait()
  18216. left.C1 = CFrame.new(0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.5))
  18217. wait()
  18218. left.C1 = CFrame.new(0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.5))
  18219. wait()
  18220. left.C1 = CFrame.new(0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*.5))
  18221. wait(.1)
  18222. left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.45))
  18223. wait()
  18224. left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.4))
  18225. wait()
  18226. left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.35))
  18227. wait()
  18228. left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.3))
  18229. wait()
  18230. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18231. elseif key == "t" then
  18232. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18233. wait()
  18234. right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.3))
  18235. wait()
  18236. right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.35))
  18237. wait()
  18238. right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.4))
  18239. wait()
  18240. right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.45))
  18241. wait()
  18242. right.C1 = CFrame.new(-0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.5))
  18243. wait(.2)
  18244. right.C1 = CFrame.new(-0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.5))
  18245. wait()
  18246. right.C1 = CFrame.new(-0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.5))
  18247. wait()
  18248. right.C1 = CFrame.new(-0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.5))
  18249. wait()
  18250. right.C1 = CFrame.new(-0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.5))
  18251. wait()
  18252. right.C1 = CFrame.new(-0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*-.5))
  18253. wait(.1)
  18254. right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.45))
  18255. wait()
  18256. right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.4))
  18257. wait()
  18258. right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.35))
  18259. wait()
  18260. right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.3))
  18261. wait()
  18262. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18263. end
  18264. --abilities
  18265. if key == "b" then
  18266. local a = player:GetChildren()
  18267. for i = 1,#a do
  18268. wait()
  18269. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18270. for x = 1, 5 do
  18271. wait()
  18272. a.Transparency = a.Transparency +.2
  18273. end
  18274. elseif a.className == "Hat" then
  18275. for x = 1, 5 do
  18276. wait()
  18277. a.Handle.Transparency = a.Handle.Transparency +.2
  18278. end
  18279. end
  18280. end
  18281. player.Torso.CFrame = mouse.Hit + Vector3.new(0,4,0)
  18282. wait()
  18283. for i = 1,#a do
  18284. wait()
  18285. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18286. for x = 1, 5 do
  18287. wait()
  18288. a.Transparency = a.Transparency -.2
  18289. end
  18290. elseif a.className == "Hat" then
  18291. for x = 1, 5 do
  18292. wait()
  18293. a.Handle.Transparency = a.Handle.Transparency -.2
  18294. end
  18295. end
  18296. end
  18297. for i = 1,#a do
  18298. wait()
  18299. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18300. wait()
  18301. a.Transparency = 0
  18302. elseif a.className == "Hat" then
  18303. wait()
  18304. a.Handle.Transparency = 0
  18305. end
  18306. end
  18307. end
  18308. if key == "v" then
  18309. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18310. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18311. wait()
  18312. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18313. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18314. wait()
  18315. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18316. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18317. wait()
  18318. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18319. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18320. wait()
  18321. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18322. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18323. wait()
  18324. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18325. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18326. wait(.2)
  18327. wait(.45)
  18328. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18329. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18330. wait()
  18331. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18332. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18333. wait()
  18334. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18335. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18336. wait()
  18337. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18338. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18339. wait()
  18340. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18341. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18342. end
  18343. if key == "f" then
  18344. local tar = mouse.Target
  18345. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  18346. local float = Instance.new("BodyPosition")
  18347. float.Parent = tar.Parent.Torso
  18348. float.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  18349. float.position = tar.Parent.Torso.Position + Vector3.new(0,10,0)
  18350. wait(1)
  18351. player.Humanoid.MaxHealth = 99999
  18352. player.Humanoid.Health = 99999
  18353. local floatme = Instance.new("BodyPosition")
  18354. floatme.Parent = player.Torso
  18355. floatme.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  18356. floatme.position = tar.Parent.Torso.Position
  18357. wait(1)
  18358. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18359. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18360. wait()
  18361. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18362. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18363. wait()
  18364. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18365. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18366. wait()
  18367. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18368. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18369. wait()
  18370. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18371. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18372. wait()
  18373. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18374. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18375. wait()
  18376. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18377. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18378. wait()
  18379. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18380. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18381. wait()
  18382. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18383. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18384. wait()
  18385. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18386. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  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.55,.4,0)*CFrame.Angles(0,0,-.5)
  18392. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18393. wait()
  18394. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18395. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18396. wait()
  18397. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18398. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18399. wait()
  18400. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18401. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18402. wait()
  18403. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18404. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18405. wait()
  18406. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18407. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18408. wait()
  18409. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18410. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18411. wait()
  18412. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18413. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18414. wait()
  18415. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18416. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18417. wait()
  18418. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18419. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18420. wait()
  18421. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18422. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18423. wait(.5)
  18424. player.Humanoid.MaxHealth = 100
  18425. player.Humanoid.Health = 100
  18426. float:remove()
  18427. floatme:remove()
  18428. end
  18429. end
  18430. if key == "g" then
  18431. --
  18432. rblade2 = Instance.new("Part")
  18433. rblade2.BrickColor = BrickColor.new("Really black")
  18434. rblade2.Parent = player
  18435. rblade2.CanCollide = false
  18436. rblade2.Size = Vector3.new(1,6,1)
  18437. rblade2.CFrame = rblade.CFrame
  18438. rblade2.formFactor = "Symmetric"
  18439. rblade2.TopSurface = 0
  18440. rblade2.BottomSurface = 0
  18441. rblade2.Reflectance = .5
  18442. rbm2 = Instance.new("BlockMesh")
  18443. rbm2.Parent = rblade2
  18444. rbm2.Scale = Vector3.new(.21,1,.31)
  18445. rbw2 = Instance.new("Weld")
  18446. rbw2.Parent = rblade
  18447. rbw2.Part0 = rblade
  18448. rbw2.Part1 = rblade2
  18449. lblade2 = Instance.new("Part")
  18450. lblade2.BrickColor = rblade.BrickColor
  18451. lblade2.Parent = player
  18452. lblade2.CanCollide = false
  18453. lblade2.Size = Vector3.new(1,6,1)
  18454. lblade2.CFrame = lblade.CFrame
  18455. lblade2.formFactor = "Symmetric"
  18456. lblade2.TopSurface = 0
  18457. lblade2.BottomSurface = 0
  18458. lblade2.Reflectance = .5
  18459. lbm2 = Instance.new("BlockMesh")
  18460. lbm2.Parent = lblade2
  18461. lbm2.Scale = Vector3.new(.21,1,.31)
  18462. lbw2 = Instance.new("Weld")
  18463. lbw2.Parent = lblade
  18464. lbw2.Part0 = lblade
  18465. lbw2.Part1 = lblade2
  18466. rblade.Touched:connect(function(hit)
  18467. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18468. if hit.Parent.Name ~= player.Name then
  18469. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  18470. end
  18471. end
  18472. end)
  18473. lblade.Touched:connect(function(hit)
  18474. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18475. if hit.Parent.Name ~= player.Name then
  18476. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  18477. end
  18478. end
  18479. end)
  18480. --
  18481. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*-.25))
  18482. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*.25))
  18483. wait()
  18484. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25))
  18485. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25))
  18486. wait()
  18487. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25))
  18488. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25))
  18489. wait()
  18490. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25))
  18491. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25))
  18492. wait()
  18493. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25))
  18494. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25))
  18495. wait()
  18496. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18497. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18498. wait()
  18499. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25))
  18500. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25))
  18501. wait()
  18502. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25))
  18503. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25))
  18504. wait()
  18505. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25))
  18506. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25))
  18507. wait()
  18508. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25))
  18509. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25))
  18510. wait()
  18511. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18512. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18513. lblade2:remove()
  18514. rblade2:remove()
  18515. end
  18516. if key == "h" then
  18517. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18518. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18519. wait()
  18520. right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25))
  18521. left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25))
  18522. wait()
  18523. right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2))
  18524. left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2))
  18525. wait()
  18526. right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15))
  18527. left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15))
  18528. wait()
  18529. right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1))
  18530. left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1))
  18531. wait()
  18532. right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05))
  18533. left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05))
  18534. wait()
  18535. right.C1 = CFrame.new(-1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*-.5),(math.pi*-.00))
  18536. left.C1 = CFrame.new(1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*.5),(math.pi*.00))
  18537. wait()
  18538. --
  18539. rblade2 = Instance.new("Part")
  18540. rblade2.BrickColor = BrickColor.new("Really black")
  18541. rblade2.Parent = player
  18542. rblade2.CanCollide = false
  18543. rblade2.Size = Vector3.new(1,6,1)
  18544. rblade2.CFrame = rblade.CFrame
  18545. rblade2.formFactor = "Symmetric"
  18546. rblade2.TopSurface = 0
  18547. rblade2.BottomSurface = 0
  18548. rblade2.Reflectance = .5
  18549. rbm2 = Instance.new("BlockMesh")
  18550. rbm2.Parent = rblade2
  18551. rbm2.Scale = Vector3.new(.21,1,.31)
  18552. rbw2 = Instance.new("Weld")
  18553. rbw2.Parent = rblade
  18554. rbw2.Part0 = rblade
  18555. rbw2.Part1 = rblade2
  18556. lblade2 = Instance.new("Part")
  18557. lblade2.BrickColor = rblade.BrickColor
  18558. lblade2.Parent = player
  18559. lblade2.CanCollide = false
  18560. lblade2.Size = Vector3.new(1,6,1)
  18561. lblade2.CFrame = lblade.CFrame
  18562. lblade2.formFactor = "Symmetric"
  18563. lblade2.TopSurface = 0
  18564. lblade2.BottomSurface = 0
  18565. lblade2.Reflectance = .5
  18566. lbm2 = Instance.new("BlockMesh")
  18567. lbm2.Parent = lblade2
  18568. lbm2.Scale = Vector3.new(.21,1,.31)
  18569. lbw2 = Instance.new("Weld")
  18570. lbw2.Parent = lblade
  18571. lbw2.Part0 = lblade
  18572. lbw2.Part1 = lblade2
  18573. rblade.Touched:connect(function(hit)
  18574. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18575. if hit.Parent.Name ~= player.Name then
  18576. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  18577. end
  18578. end
  18579. end)
  18580. lblade.Touched:connect(function(hit)
  18581. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18582. if hit.Parent.Name ~= player.Name then
  18583. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  18584. end
  18585. end
  18586. end)
  18587. --
  18588. for i = 1,40 do
  18589. wait()
  18590. lbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0)
  18591. rbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0)
  18592. end
  18593. right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05))
  18594. left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05))
  18595. wait()
  18596. right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1))
  18597. left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1))
  18598. wait()
  18599. right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15))
  18600. left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15))
  18601. wait()
  18602. right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2))
  18603. left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2))
  18604. wait()
  18605. right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25))
  18606. left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25))
  18607. wait()
  18608. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18609. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18610. wait()
  18611. lblade2:remove()
  18612. rblade2:remove()
  18613. end
  18614. if key == "j" then
  18615. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18616. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18617. wait()
  18618. right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25))
  18619. left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25))
  18620. wait()
  18621. right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2))
  18622. left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2))
  18623. wait()
  18624. right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15))
  18625. left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15))
  18626. wait()
  18627. right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1))
  18628. left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1))
  18629. wait()
  18630. right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05))
  18631. left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05))
  18632. wait()
  18633. right.C1 = CFrame.new(-1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*-.5),(math.pi*-.00))
  18634. left.C1 = CFrame.new(1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*.5),(math.pi*.00))
  18635. wait()
  18636. --
  18637. rblade2 = Instance.new("Part")
  18638. rblade2.BrickColor = BrickColor.new("Really black")
  18639. rblade2.Parent = player
  18640. rblade2.CanCollide = false
  18641. rblade2.Size = Vector3.new(2,6,3)
  18642. rblade2.CFrame = rblade.CFrame
  18643. rblade2.formFactor = "Symmetric"
  18644. rblade2.TopSurface = 0
  18645. rblade2.BottomSurface = 0
  18646. rblade2.Reflectance = .5
  18647. rbm2 = Instance.new("BlockMesh")
  18648. rbm2.Parent = rblade2
  18649. rbm2.Scale = Vector3.new(.11,1,.11)
  18650. rbw2 = Instance.new("Weld")
  18651. rbw2.Parent = rblade
  18652. rbw2.Part0 = rblade
  18653. rbw2.Part1 = rblade2
  18654. lblade2 = Instance.new("Part")
  18655. lblade2.BrickColor = rblade.BrickColor
  18656. lblade2.Parent = player
  18657. lblade2.CanCollide = false
  18658. lblade2.Size = Vector3.new(2,6,3)
  18659. lblade2.CFrame = lblade.CFrame
  18660. lblade2.formFactor = "Symmetric"
  18661. lblade2.TopSurface = 0
  18662. lblade2.BottomSurface = 0
  18663. lblade2.Reflectance = .5
  18664. lbm2 = Instance.new("BlockMesh")
  18665. lbm2.Parent = lblade2
  18666. lbm2.Scale = Vector3.new(.11,1,.11)
  18667. lbw2 = Instance.new("Weld")
  18668. lbw2.Parent = lblade
  18669. lbw2.Part0 = lblade
  18670. lbw2.Part1 = lblade2
  18671. rblade2.Touched:connect(function(hit)
  18672. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18673. if hit.Parent.Name ~= player.Name then
  18674. hit.Parent.Humanoid.Sit = true
  18675. local a = hit.Parent:GetChildren()
  18676. for i = 1,#a do
  18677. wait()
  18678. if a.className == "Part" then
  18679. a.Velocity = CFrame.new(rblade2.Position, hit.Position).lookVector * 250
  18680. end
  18681. end
  18682. end
  18683. end
  18684. end)
  18685. lblade2.Touched:connect(function(hit)
  18686. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18687. if hit.Parent.Name ~= player.Name then
  18688. hit.Parent.Humanoid.Sit = true
  18689. local a = hit.Parent:GetChildren()
  18690. for i = 1,#a do
  18691. wait()
  18692. if a.className == "Part" then
  18693. a.Velocity = CFrame.new(lblade2.Position, hit.Position).lookVector * 250
  18694. end
  18695. end
  18696. end
  18697. end
  18698. end)
  18699. --
  18700. for i = 1,40 do
  18701. wait()
  18702. lbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0)
  18703. rbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0)
  18704. end
  18705. right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05))
  18706. left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05))
  18707. wait()
  18708. right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1))
  18709. left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1))
  18710. wait()
  18711. right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15))
  18712. left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15))
  18713. wait()
  18714. right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2))
  18715. left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2))
  18716. wait()
  18717. right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25))
  18718. left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25))
  18719. wait()
  18720. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18721. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18722. wait()
  18723. lblade2:remove()
  18724. rblade2:remove()
  18725. end
  18726. if key == "y" then
  18727. local blast = Instance.new("Part")
  18728. blast.formFactor = "Symmetric"
  18729. blast.Shape = "Ball"
  18730. blast.Size = Vector3.new(1,1,1)
  18731. blast.BrickColor = rblade.BrickColor
  18732. blast.Parent = Workspace
  18733. blast.CFrame = player.Torso.CFrame
  18734. game:GetService("Debris"):AddItem(blast, 15)
  18735. local smoke = Instance.new("Smoke")
  18736. smoke.Color = Color3.new(0,0,0)
  18737. smoke.Opacity = 1
  18738. smoke.RiseVelocity = 0
  18739. smoke.Size = 100
  18740. smoke.Parent = blast
  18741. end
  18742. if key == "u" then
  18743. local blast = Instance.new("Part")
  18744. blast.formFactor = "Symmetric"
  18745. blast.Shape = "Ball"
  18746. blast.Name = "keel"
  18747. blast.Size = Vector3.new(1,1,1)
  18748. blast.BrickColor = rblade.BrickColor
  18749. blast.Parent = Workspace
  18750. blast.CFrame = player.Torso.CFrame
  18751. game:GetService("Debris"):AddItem(blast, 15)
  18752. wait(2)
  18753. local smoke = Instance.new("Smoke")
  18754. smoke.Color = Color3.new(1,1,1)
  18755. smoke.Opacity = .5
  18756. smoke.RiseVelocity = 0
  18757. smoke.Size = 20
  18758. smoke.Parent = blast
  18759. coroutine.resume(coroutine.create(function() stun(blast) end))
  18760. end
  18761. if key == "n" then
  18762. player.Humanoid.WalkSpeed = player.Humanoid.WalkSpeed + 8
  18763. end
  18764. if key == "m" then
  18765. player.Humanoid.WalkSpeed = player.Humanoid.WalkSpeed - 8
  18766. end
  18767. if key == ";" then
  18768. local l = player:findFirstChild("Left Arm")
  18769. local r = player:findFirstChild("Right Arm")
  18770. rblade.Size = Vector3.new(2, 6 , 2)
  18771. lblade.Size = Vector3.new(2, 6 , 2)
  18772. local w = Instance.new("Weld")
  18773. w.Part1 = rblade
  18774. w.Part0 = r
  18775. w.Parent = r
  18776. local w = Instance.new("Weld")
  18777. w.Part1 = lblade
  18778. w.Part0 = l
  18779. w.Parent = l
  18780. end
  18781. if key == "k" then
  18782. for i = 1,100 do
  18783. wait()
  18784. local p = Instance.new("Part")
  18785. p.BrickColor = BrickColor.new("Royal purple")
  18786. p.Name ="check"
  18787. p.Parent = Workspace
  18788. p.CanCollide = false
  18789. p.Size = Vector3.new(1,3,1)
  18790. p.CFrame = player.Torso.CFrame + Vector3.new(math.random(-5,5),math.random(-2,4),math.random(-5,5))
  18791. p.formFactor = "Symmetric"
  18792. p.TopSurface = 0
  18793. p.BottomSurface = 0
  18794. p.Transparency = .5
  18795. local pm = Instance.new("SpecialMesh")
  18796. pm.Parent = p
  18797. pm.MeshType = "Sphere"
  18798. pm.Scale = Vector3.new(.2,.2,.2)
  18799. local pbv = Instance.new("BodyVelocity")
  18800. pbv.Parent = p
  18801. pbv.velocity = Vector3.new(0,10,0)
  18802. game:GetService("Debris"):AddItem(p, .2)
  18803. player.Humanoid.Health = player.Humanoid.Health +2
  18804. end
  18805. end
  18806. --glider?
  18807. if key == "p" then
  18808. --
  18809. rblade2 = Instance.new("Part")
  18810. rblade2.BrickColor = BrickColor.new("Institutional white")
  18811. rblade2.Parent = player
  18812. rblade2.CanCollide = false
  18813. rblade2.Size = Vector3.new(1,6,1)
  18814. rblade2.CFrame = rblade.CFrame
  18815. rblade2.formFactor = "Symmetric"
  18816. rblade2.TopSurface = 0
  18817. rblade2.BottomSurface = 0
  18818. rblade2.Reflectance = 0
  18819. rbm2 = Instance.new("BlockMesh")
  18820. rbm2.Parent = rblade2
  18821. rbm2.Scale = Vector3.new(2,1,.31)
  18822. rbw2 = Instance.new("Weld")
  18823. rbw2.Parent = rblade
  18824. rbw2.Part0 = rblade
  18825. rbw2.Part1 = rblade2
  18826. lblade2 = Instance.new("Part")
  18827. lblade2.BrickColor = rblade.BrickColor
  18828. lblade2.Parent = player
  18829. lblade2.CanCollide = false
  18830. lblade2.Size = Vector3.new(1,6,1)
  18831. lblade2.CFrame = lblade.CFrame
  18832. lblade2.formFactor = "Symmetric"
  18833. lblade2.TopSurface = 0
  18834. lblade2.BottomSurface = 0
  18835. lblade2.Reflectance = 0
  18836. lbm2 = Instance.new("BlockMesh")
  18837. lbm2.Parent = lblade2
  18838. lbm2.Scale = Vector3.new(2,1,.31)
  18839. lbw2 = Instance.new("Weld")
  18840. lbw2.Parent = lblade
  18841. lbw2.Part0 = lblade
  18842. lbw2.Part1 = lblade2
  18843. local steer = Instance.new("Part")
  18844. steer.Transparency = 1
  18845. steer.Parent = player.Head
  18846. steerw= Instance.new("Weld")
  18847. steerw.Part0 = player.Head
  18848. steerw.Part1 = steer
  18849. steerw.Parent = player.Head
  18850. steerw.C1 = CFrame.new(0,0,0)*CFrame.Angles((math.pi*-.5),0,0)
  18851. --
  18852. right.C1 = CFrame.new(-.55,.4,0)*CFrame.Angles(0,0,-.5)
  18853. left.C1 = CFrame.new(.55,.4,0)*CFrame.Angles(0,0,.5)
  18854. wait()
  18855. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25))
  18856. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25))
  18857. wait()
  18858. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25))
  18859. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25))
  18860. wait()
  18861. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25))
  18862. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25))
  18863. wait()
  18864. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25))
  18865. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25))
  18866. wait()
  18867. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18868. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18869. wait()
  18870. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25))
  18871. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25))
  18872. wait()
  18873. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25))
  18874. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25))
  18875. wait()
  18876. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25))
  18877. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25))
  18878. wait()
  18879. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25))
  18880. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25))
  18881. wait()
  18882. right.C1 = CFrame.new(-.55,.4,0)*CFrame.Angles(0,0,-.5)
  18883. left.C1 = CFrame.new(.55,.4,0)*CFrame.Angles(0,0,.5)
  18884. wait()
  18885. player.Humanoid.PlatformStand = true
  18886. glideg.Parent = steer
  18887. glideg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  18888. glidev.Parent = steer
  18889. glidev.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  18890. while player.Humanoid.PlatformStand == true do
  18891. wait()
  18892. glideg.cframe = CFrame.new(steer.Position, mouse.Hit.p)
  18893. glidev.velocity = steer.CFrame.lookVector * 75
  18894. end
  18895. glidev.velocity = steer.CFrame.lookVector * 15
  18896. wait(3)
  18897. glideg:remove()
  18898. glidev:remove()
  18899. lblade2:remove()
  18900. rblade2:remove()
  18901. steer:remove()
  18902. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*-.25))
  18903. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*.25))
  18904. wait()
  18905. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25))
  18906. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25))
  18907. wait()
  18908. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25))
  18909. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25))
  18910. wait()
  18911. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25))
  18912. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25))
  18913. wait()
  18914. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25))
  18915. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25))
  18916. wait()
  18917. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18918. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18919. wait()
  18920. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25))
  18921. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25))
  18922. wait()
  18923. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25))
  18924. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25))
  18925. wait()
  18926. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25))
  18927. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25))
  18928. wait()
  18929. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25))
  18930. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25))
  18931. wait()
  18932. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18933. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18934. end
  18935. if key == ";" then
  18936. glideg.Parent = nil
  18937. glideg.maxTorque = Vector3.new(0,0,0)
  18938. glidev.Parent = nil
  18939. glidev.maxForce = Vector3.new(0,0,0)
  18940. end
  18941. if key == "l" then
  18942. local a = player:GetChildren()
  18943. for i = 1,#a do
  18944. wait()
  18945. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18946. for x = 1, 9 do
  18947. wait()
  18948. a.Transparency = a.Transparency +.1
  18949. end
  18950. elseif a.className == "Hat" then
  18951. for x = 1, 9 do
  18952. wait()
  18953. a.Handle.Transparency = a.Handle.Transparency +.1
  18954. end
  18955. end
  18956. player.Head.Transparency = 1
  18957. end
  18958. wait(10)
  18959. for i = 1,#a do
  18960. wait()
  18961. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18962. for x = 1, 9 do
  18963. wait()
  18964. a.Transparency = a.Transparency -.1
  18965. end
  18966. elseif a.className == "Hat" then
  18967. for x = 1, 9 do
  18968. wait()
  18969. a.Handle.Transparency = a.Handle.Transparency -.1
  18970. end
  18971. end
  18972. end
  18973. for i = 1,#a do
  18974. wait()
  18975. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18976. wait()
  18977. a.Transparency = 0
  18978. elseif a.className == "Hat" then
  18979. wait()
  18980. a.Handle.Transparency = 0
  18981. end
  18982. end
  18983. end
  18984. end)
  18985. ----end of keys
  18986. end)
  18987. ----end of tool
  18988. bin.Deselected:connect(function()
  18989. rblade:remove()
  18990. lblade:remove()
  18991. on = 2
  18992. coroutine.yield(function() shadow(rblade,lblade) end)
  18993. ls.Part1 = larm
  18994. rs.Part1 = rarm
  18995. left:remove()
  18996. right:remove()
  18997. end)
  18998.         end)
  18999. --
  19000. local button = Instance.new("TextButton")
  19001.         button.Parent = ws
  19002.         button.BackgroundColor3 = blak
  19003.         button.BorderColor3 = rede
  19004.         button.BorderSizePixel = 3
  19005.         button.Name = "Eyelaser"
  19006.         button.Position = UDim2.new(0,0,0,66)
  19007.         button.Size = UDim2.new(0.5,0,0,30)
  19008.         button.ZIndex = 2
  19009.         button.Font = tef
  19010.         button.FontSize = "Size14"
  19011.         button.Text = "Eyelaser"
  19012.         button.TextColor3 = whit
  19013.         button.TextWrapped = true
  19014.         button.MouseButton1Down:connect(function()
  19015.         --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and put your name where it says "YOUR NAME HERE"
  19016.  
  19017. playername100 = game.Players.LocalPlayer.Name
  19018. name = playername100
  19019. me = game.Players[name]
  19020. char = me.Character
  19021. selected = false
  19022. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  19023. part.Parent = parent
  19024. part.formFactor = form
  19025. part.CanCollide = collide
  19026. part.Transparency = tran
  19027. part.Reflectance = ref
  19028. part.Size = Vector3.new(x,y,z)
  19029. part.BrickColor = BrickColor.new(color)
  19030. part.TopSurface = 0
  19031. part.BottomSurface = 0
  19032. part.Anchored = anchor
  19033. part.Locked = true
  19034. part:BreakJoints()
  19035. end
  19036. function weld(w, p, p1, a, b, c, x, y, z)
  19037. w.Parent = p
  19038. w.Part0 = p
  19039. w.Part1 = p1
  19040. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  19041. end
  19042. function mesh(mesh, parent, x, y, z, type)
  19043. mesh.Parent = parent
  19044. mesh.Scale = Vector3.new(x, y, z)
  19045. mesh.MeshType = type
  19046. end
  19047. sword = Instance.new("Model",me.Character)
  19048. sword.Name = "Eyes"
  19049. --Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------
  19050. head = char:findFirstChild("Head")
  19051. torso = char:findFirstChild("Torso")
  19052. bg = Instance.new("BodyGyro",nil)
  19053. bg.P = 2000
  19054. bg.maxTorque = Vector3.new(0,math.huge,0)
  19055. trail1 = Instance.new("Part")
  19056. prop(trail1,nil,false,0.4,0,0.1,0.1,1,"Toothpaste",true,"Custom")
  19057. local t1 = Instance.new("SpecialMesh",trail1)
  19058. t1.MeshType = "Brick"
  19059. trail2 = Instance.new("Part")
  19060. prop(trail2,nil,false,0.4,0,0.1,0.1,1,"Toothpaste",true,"Custom")
  19061. local t2 = Instance.new("SpecialMesh",trail2)
  19062. t2.MeshType = "Brick"
  19063. local fb = Instance.new("Part")
  19064. prop(fb,nil,false,1,0,0.1,0.1,0.1,"Toothpaste",true,"Custom")
  19065. local fi = Instance.new("Fire",fb)
  19066. fi.Name = "LolFire"
  19067. fi.Size = 2
  19068. fi.Heat = 25
  19069. t1p = Vector3.new(-0.3,0.3,-0.55)
  19070. t2p = Vector3.new(0.3,0.3,-0.55)
  19071. function getp(path)
  19072. local objs = {}
  19073. for _,v in pairs(path:children()) do
  19074. if v:IsA("BasePart") then
  19075. if v:GetMass() < 30 then
  19076. table.insert(objs,v)
  19077. end
  19078. end
  19079. for _,k in pairs(v:children()) do
  19080. if k:IsA("BasePart") then
  19081. if k:GetMass() < 30 then
  19082. table.insert(objs,k)
  19083. end
  19084. end
  19085. for _,o in pairs(k:children()) do
  19086. if o:IsA("BasePart") then
  19087. if o:GetMass() < 30 then
  19088. table.insert(objs,o)
  19089. end
  19090. end
  19091. end
  19092. end
  19093. end
  19094. return objs
  19095. end
  19096.  
  19097. bin = Instance.new("HopperBin",me.Backpack)
  19098. bin.Selected:connect(function(mouse)
  19099. mouse.Button1Down:connect(function()
  19100. hold = true
  19101. bg.Parent = torso
  19102. trail1.Parent = char
  19103. trail2.Parent = char
  19104. fb.Parent = char
  19105. while hold do
  19106. local p1 = head.CFrame * CFrame.new(t1p).p
  19107. local p2 = head.CFrame * CFrame.new(t2p).p
  19108. local dist1 = (p1 - mouse.Hit.p).magnitude
  19109. local dist2 = (p2 - mouse.Hit.p).magnitude
  19110. bg.cframe = CFrame.new(torso.Position, mouse.Hit.p)
  19111. trail1.CFrame = CFrame.new(p1,mouse.Hit.p) * CFrame.new(0,0,-dist1/2)
  19112. trail2.CFrame = CFrame.new(p2,mouse.Hit.p) * CFrame.new(0,0,-dist2/2)
  19113. t1.Scale = Vector3.new(1,1,dist1)
  19114. t2.Scale = Vector3.new(1,1,dist2)
  19115. local lol1 = CFrame.new(p1,mouse.Hit.p) * CFrame.new(0,0,-dist1)
  19116. fb.CFrame = lol1
  19117. local parts = getp(workspace)
  19118. for _,v in pairs(parts) do
  19119. if (v.Position - lol1.p).magnitude < 2 then
  19120. if v:findFirstChild("LolFire") == nil then
  19121. local f = Instance.new("Fire",v)
  19122. f.Size = 0
  19123. f.Heat = 5
  19124. f.Name = "LolFire"
  19125. coroutine.resume(coroutine.create(function()
  19126. for i=0,10,0.2 do
  19127. wait(0.1)
  19128. f.Heat = i
  19129. f.Size = i
  19130. local lol = math.random(1,2)
  19131. if lol == 1 then
  19132. v.BrickColor = BrickColor.new("Neon orange")
  19133. else
  19134. v.BrickColor = BrickColor.new("Bright red")
  19135. end
  19136. end
  19137. v:remove()
  19138. end))
  19139. end
  19140. end
  19141. end
  19142. wait()
  19143. end
  19144. end)
  19145. mouse.Button1Up:connect(function()
  19146. hold = false
  19147. bg.Parent = nil
  19148. trail1.Parent = nil
  19149. trail2.Parent = nil
  19150. fb.Parent = nil
  19151. end)
  19152. end)
  19153.  
  19154.        
  19155.         end)
  19156. --
  19157. local button = Instance.new("TextButton")
  19158.         button.Parent = ws
  19159.         button.BackgroundColor3 = blak
  19160.         button.BorderColor3 = rede
  19161.         button.BorderSizePixel = 3
  19162.         button.Name = "Knife"
  19163.         button.Position = UDim2.new(0.5,3,0,66)
  19164.         button.Size = UDim2.new(0.5,-3,0,30)
  19165.         button.ZIndex = 2
  19166.         button.Font = tef
  19167.         button.FontSize = "Size14"
  19168.         button.Text = "Knife"
  19169.         button.TextColor3 = whit
  19170.         button.TextWrapped = true
  19171.                 button.MouseButton1Down:connect(function()
  19172.                 me = game.Players.LocalPlayer
  19173. char = me.Character
  19174. selected = false
  19175. attacking = false
  19176. hurt = false
  19177. grabbed = nil
  19178. mode = "kill"
  19179. bloodcolors = {"Bright red", "Really red"}
  19180.  
  19181.  
  19182. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  19183. part.Parent = parent
  19184. part.formFactor = form
  19185. part.CanCollide = collide
  19186. part.Transparency = tran
  19187. part.Reflectance = ref
  19188. part.Size = Vector3.new(x,y,z)
  19189. part.BrickColor = BrickColor.new(color)
  19190. part.TopSurface = 0
  19191. part.BottomSurface = 0
  19192. part.Anchored = anchor
  19193. part.Locked = true
  19194. part:BreakJoints()
  19195. end
  19196.  
  19197. function weld(w, p, p1, a, b, c, x, y, z)
  19198. w.Parent = p
  19199. w.Part0 = p
  19200. w.Part1 = p1
  19201. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  19202. end
  19203.  
  19204. function mesh(mesh, parent, x, y, z, type)
  19205. mesh.Parent = parent
  19206. mesh.Scale = Vector3.new(x, y, z)
  19207. mesh.MeshType = type
  19208. end
  19209.  
  19210. function remgui()
  19211.         for _,v in pairs(me.PlayerGui:GetChildren()) do
  19212.                 if v.Name == "Modeshow" then
  19213.                         v:remove()
  19214.                 end
  19215.         end
  19216. end
  19217.  
  19218. function inform(text,delay)
  19219.         remgui()
  19220.         local sc = Instance.new("ScreenGui")
  19221.         sc.Parent = me.PlayerGui
  19222.         sc.Name = "Modeshow"
  19223.         local bak = Instance.new("Frame",sc)
  19224.         bak.BackgroundColor3 = Color3.new(1,1,1)
  19225.         bak.Size = UDim2.new(0.94,0,0.1,0)
  19226.         bak.Position = UDim2.new(0.03,0,0.037,0)
  19227.         bak.BorderSizePixel = 0
  19228.         local gi = Instance.new("TextLabel",sc)
  19229.         gi.Size = UDim2.new(0.92,0,0.09,0)
  19230.         gi.BackgroundColor3 = Color3.new(0,0,0)
  19231.         gi.Position = UDim2.new(0.04,0,0.042,0)
  19232.         gi.TextColor3 = Color3.new(1,1,1)
  19233.         gi.FontSize = "Size12"
  19234.         gi.Text = text
  19235.         coroutine.resume(coroutine.create(function()
  19236.                 wait(delay)
  19237.                 sc:remove()
  19238.         end))
  19239. end
  19240.  
  19241. if char:findFirstChild("Bricks",true) then
  19242.         char:findFirstChild("Bricks",true):remove()
  19243. end
  19244.  
  19245. bricks = Instance.new("Model",me.Character)
  19246. bricks.Name = "Bricks"
  19247.  
  19248. --Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------
  19249.  
  19250. rarm = char:findFirstChild("Right Arm")
  19251. larm = char:findFirstChild("Left Arm")
  19252. lleg = char:findFirstChild("Left Leg")
  19253. torso = char:findFirstChild("Torso")
  19254. hum = char:findFirstChild("Humanoid")
  19255.  
  19256. righthold = Instance.new("Part")
  19257. prop(righthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  19258. w11 = Instance.new("Weld")
  19259. weld(w11, rarm, righthold, 0, 0, 0, 0, 1, 0)
  19260.  
  19261. lefthold = Instance.new("Part")
  19262. prop(lefthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  19263. w12 = Instance.new("Weld")
  19264. weld(w12, larm, lefthold, 0, 0, 0, 0, 1, 0)
  19265.  
  19266. hold = Instance.new("Part")
  19267. prop(hold, bricks, false, 0, 0, 0.2, 0.4, 0.7, "Black", false, "Custom")
  19268. oh = Instance.new("Weld")
  19269. weld(oh, lleg, hold, -math.pi/1.4, 0, math.rad(35), 0.55, -0.9, 0.3)
  19270.  
  19271. knife = Instance.new("Part")
  19272. prop(knife, bricks, false, 0, 0, 0.35, 1.1, 0.5, "Reddish brown", false, "Custom")
  19273. orr = Instance.new("Weld")
  19274. weld(orr, hold, knife, 0, 0, 0, 0, 0.7, 0)
  19275. ar = Instance.new("Weld")
  19276. weld(ar, lefthold, nil, math.pi/2, 0, math.pi, 0, 0, 0)
  19277.  
  19278.  
  19279. blade = Instance.new("Part")
  19280. prop(blade, bricks, false, 0, 0, 0.1, 1.5, 0.4, "Medium grey", false, "Custom")
  19281. Instance.new("BlockMesh",blade).Scale = Vector3.new(0.3,1,1)
  19282. w2 = Instance.new("Weld")
  19283. weld(w2, knife, blade, 0, 0, 0, 0, -1.2, 0)
  19284.  
  19285. blade2 = Instance.new("Part")
  19286. prop(blade2, bricks, false, 0, 0, 0.1, 0.5, 0.4, "Medium grey", false, "Custom")
  19287. local mew = Instance.new("SpecialMesh",blade2)
  19288. mew.MeshType = "Wedge"
  19289. mew.Scale = Vector3.new(0.3,1,1)
  19290. w3 = Instance.new("Weld")
  19291. weld(w3, blade, blade2, 0, 0, 0, 0, -1, 0)
  19292.  
  19293.  
  19294.  
  19295.  
  19296. rb = Instance.new("Part")
  19297. prop(rb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  19298. w13 = Instance.new("Weld")
  19299. weld(w13, torso, rb, 0, 0, 0, -1.5, -0.5, 0)
  19300.  
  19301. lb = Instance.new("Part")
  19302. prop(lb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  19303. w14 = Instance.new("Weld")
  19304. weld(w14, torso, lb, 0, 0, 0, 1.5, -0.5, 0)
  19305.  
  19306. rw = Instance.new("Weld")
  19307. weld(rw, rb, nil, 0, 0, 0, 0, 0.5, 0)
  19308.  
  19309. lw = Instance.new("Weld")
  19310. weld(lw, lb, nil, 0, 0, 0, 0, 0.5, 0)
  19311.  
  19312. grabweld = nil
  19313. platlol = nil
  19314. lolhum = nil
  19315.  
  19316. function touch(h)
  19317.         if hurt then
  19318.                 if grabbed == nil then
  19319.                         local hu = h.Parent:findFirstChild("Humanoid")
  19320.                         local head = h.Parent:findFirstChild("Head")
  19321.                         local torz = h.Parent:findFirstChild("Torso")
  19322.                         if hu ~= nil and head ~= nil and torz ~= nil and h.Parent.Name ~= name then
  19323.                                 if hu.Health > 0 then
  19324.                                 grabbed = torz
  19325.                                 hu.PlatformStand = true
  19326.                                 local w = Instance.new("Weld")
  19327.                                 weld(w,righthold,grabbed,math.pi/2,0.2,0,0.7,-0.9,-0.6)
  19328.                                 grabweld = w
  19329.                                 lolhum = hu
  19330.                                 local lolxd = true
  19331.                                 platlol = lolxd
  19332.                                 hu.Changed:connect(function(prop)
  19333.                                         if prop == "PlatformStand" and platlol then
  19334.                                                 hu.PlatformStand = true
  19335.                                         end
  19336.                                 end)
  19337.                                 end
  19338.                         end
  19339.                 end
  19340.         end
  19341. end
  19342.  
  19343. righthold.Touched:connect(touch)
  19344. lefthold.Touched:connect(touch)
  19345.  
  19346. function bleed(part,po)
  19347.         local lol1 = math.random(5,30)/100
  19348.         local lol2 = math.random(5,30)/100
  19349.         local lol3 =math.random(5,30)/100
  19350.         local lol4 = math.random(1,#bloodcolors)
  19351.         local p = Instance.new("Part")
  19352.         prop(p,part.Parent,false,0,0,lol1,lol2,lol3,bloodcolors[lol4],false,"Custom")
  19353.         p.CFrame = part.CFrame * CFrame.new(math.random(-5,5)/10,po,math.random(-5,5)/10)
  19354.         p.Velocity = Vector3.new(math.random(-190,190)/10,math.random(-190,190)/10,math.random(-190,190)/10)
  19355.         p.RotVelocity = Vector3.new(math.random(-400,400)/10,math.random(-400,400)/10,math.random(-400,400)/10)
  19356.         coroutine.resume(coroutine.create(function()
  19357.                 wait(3)
  19358.                 p:remove()
  19359.         end))
  19360. end
  19361.  
  19362.  
  19363.  
  19364. bin = Instance.new("HopperBin",me.Backpack)
  19365.  
  19366. function select(mouse)
  19367.         orr.Part1 = nil
  19368.         ar.Part1 = knife
  19369.         mouse.Button1Down:connect(function()
  19370.                 if attacking == false then
  19371.                         attacking = true
  19372.                         lw.Part1 = larm
  19373.                         rw.Part1 = rarm
  19374.                         hurt = true
  19375.                         for i=1, 8 do
  19376.                                 rw.C0 = rw.C0 * CFrame.new(-0.03,0,-0.08) * CFrame.fromEulerAnglesXYZ(0.18,0.04,0)
  19377.                                 lw.C0 = lw.C0 * CFrame.new(0.06,0,-0.06) * CFrame.fromEulerAnglesXYZ(0.15,-0.11,-0.05)
  19378.                                 wait()
  19379.                         end
  19380.                         wait(1)
  19381.                         hurt = false
  19382.                         if grabbed == nil then
  19383.                                 for i=1, 4 do
  19384.                                         rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  19385.                                         lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
  19386.                                         wait()
  19387.                                 end
  19388.                                 lw.C0 = CFrame.new(0,0,0)
  19389.                                 rw.C0 = CFrame.new(0,0,0)
  19390.                                 lw.Part1 = nil
  19391.                                 rw.Part1 = nil
  19392.                                 attacking = false
  19393.                         end
  19394.                 elseif hurt == false and grabbed ~= nil and mode == "drop" then
  19395.                         grabweld:remove()
  19396.                         grabweld = nil
  19397.                         platlol = false
  19398.                         grabbed = nil
  19399.                         lolhum.PlatformStand = false
  19400.                         lolhum = nil
  19401.                         for i=1, 4 do
  19402.                                 rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  19403.                                 lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
  19404.                                 wait()
  19405.                         end
  19406.                         lw.C0 = CFrame.new(0,0,0)
  19407.                         rw.C0 = CFrame.new(0,0,0)
  19408.                         lw.Part1 = nil
  19409.                         rw.Part1 = nil
  19410.                         attacking = false
  19411.                         platlol = nil
  19412.                 elseif hurt == false and grabbed ~= nil and grabweld ~= nil and mode == "throw" then
  19413.                         grabweld:remove()
  19414.                         grabweld = nil
  19415.                         local bf = Instance.new("BodyForce",grabbed)
  19416.                         bf.force = torso.CFrame.lookVector * 8500
  19417.                         bf.force = bf.force + Vector3.new(0,7400,0)
  19418.                         coroutine.resume(coroutine.create(function()
  19419.                                 wait(0.12)
  19420.                                 bf:remove()
  19421.                         end))
  19422.                         for i=1, 6 do
  19423.                                 rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.35,0,0)
  19424.                                 lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.18,0,0)
  19425.                                 wait()
  19426.                         end
  19427.                         for i=1, 4 do
  19428.                                 rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.47,0,0)
  19429.                                 lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  19430.                                 wait()
  19431.                         end
  19432.                         wait(0.2)
  19433.                         platlol = false
  19434.                         grabbed = nil
  19435.                         lolhum.PlatformStand = false
  19436.                         lolhum = nil
  19437.                         for i=1, 4 do
  19438.                                 rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  19439.                                 lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
  19440.                                 wait()
  19441.                         end
  19442.                         lw.C0 = CFrame.new(0,0,0)
  19443.                         rw.C0 = CFrame.new(0,0,0)
  19444.                         lw.Part1 = nil
  19445.                         rw.Part1 = nil
  19446.                         attacking = false
  19447.                         platlol = nil
  19448.                 elseif hurt == false and grabbed ~= nil and lolhum ~= nil and grabweld ~= nil and mode == "kill" then
  19449.                         for i=1, 5 do
  19450.                                 lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
  19451.                                 wait()
  19452.                         end
  19453.                         local ne = grabbed:findFirstChild("Neck")
  19454.                         coroutine.resume(coroutine.create(function()
  19455.                                 local duh = grabbed
  19456.                                 local duh2 = grabbed.Parent.Head
  19457.                                 local lolas = lolhum
  19458.                                 duh.RotVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  19459.                                 for i=1, 60 do
  19460.                                         wait()
  19461.                                         local hm = math.random(1,9)
  19462.                                         pcall(function()
  19463.                                                 if hm == 1 then
  19464.                                                         duh2.Sound.Pitch = math.random(90,110)/100
  19465.                                                         duh2.Sound:play()
  19466.                                                 end
  19467.                                         end)
  19468.                                         if hm > 0 and hm < 3 then
  19469.                                                 bleed(duh,1)
  19470.                                                 bleed(duh2,-0.5)
  19471.                                         end
  19472.                                 end
  19473.                                 lolas.Health = 0
  19474.                                 for i=1, 85 do
  19475.                                         wait()
  19476.                                         local hm = math.random(1,9)
  19477.                                         pcall(function()
  19478.                                                 if hm == 1 then
  19479.                                                         duh2.Sound.Pitch = math.random(90,110)/100
  19480.                                                         duh2.Sound:play()
  19481.                                                 end
  19482.                                         end)
  19483.                                         if hm > 0 and hm < 3 then
  19484.                                                 bleed(duh,1)
  19485.                                                 bleed(duh2,-0.5)
  19486.                                         end
  19487.                                 end
  19488.                         end))
  19489.                         for i=1, 3 do
  19490.                                 lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
  19491.                                 if ne ~= nil then
  19492.                                         grabbed.Neck.C0 = grabbed.Neck.C0 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  19493.                                 end
  19494.                                 wait()
  19495.                         end
  19496.                         grabweld:remove()
  19497.                         grabweld = nil
  19498.                         for i=1, 4 do
  19499.                                 lw.C0 = lw.C0 * CFrame.new(-0.04,-0.24,-0.2) * CFrame.fromEulerAnglesXYZ(0.1,0,0.06)
  19500.                                 wait()
  19501.                         end
  19502.                         for i=1, 4 do
  19503.                                 rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  19504.                                 lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
  19505.                                 wait()
  19506.                         end
  19507.                         lw.C0 = CFrame.new(0,0,0)
  19508.                         rw.C0 = CFrame.new(0,0,0)
  19509.                         lw.Part1 = nil
  19510.                         rw.Part1 = nil
  19511.                         platlol = false
  19512.                         grabbed = nil
  19513.                         lolhum = nil
  19514.                         attacking = false
  19515.                         platlol = nil
  19516.                 end
  19517.         end)
  19518.         mouse.KeyDown:connect(function(kai)
  19519.                 key = kai:lower()
  19520.                 if key == "q" then
  19521.                         mode = "drop"
  19522.                         inform("Mode: Drop",2)
  19523.                 elseif key == "e" then
  19524.                         mode = "throw"
  19525.                         inform("Mode: Throw",2)
  19526.                 elseif key == "f" then
  19527.                         mode = "kill"
  19528.                         inform("Mode: Kill",2)
  19529.                 end
  19530.         end)
  19531. end
  19532.  
  19533. function desel()
  19534.         repeat wait() until attacking == false
  19535.         orr.Part1 = knife
  19536.         ar.Part1 = nil
  19537. end
  19538.  
  19539. bin.Selected:connect(select)
  19540. bin.Deselected:connect(desel)
  19541.  
  19542. char.Humanoid.Died:connect(function()
  19543.         pcall(function()
  19544.                 grabweld:remove()
  19545.                 grabweld = nil
  19546.                 grabbed = nil
  19547.                 platlol = false
  19548.                 platlol = nil
  19549.         end)
  19550. end)
  19551.  
  19552. inform("Grab script loaded succesfully.",2)
  19553.  
  19554.         end)
  19555. --
  19556. local button = Instance.new("TextButton")
  19557.         button.Parent = ws
  19558.         button.BackgroundColor3 = blak
  19559.         button.BorderColor3 = rede
  19560.         button.BorderSizePixel = 3
  19561.         button.Name = "Lance"
  19562.         button.Position = UDim2.new(0,0,0,99)
  19563.         button.Size = UDim2.new(0.499,0,0,30)
  19564.         button.ZIndex = 2
  19565.         button.Font = tef
  19566.         button.FontSize = "Size14"
  19567.         button.Text = "Lance"
  19568.         button.TextColor3 = whit
  19569.         button.TextWrapped = true
  19570.                 button.MouseButton1Down:connect(function()
  19571.                
  19572.         end)
  19573. --
  19574. local button = Instance.new("TextButton")
  19575.         button.Parent = ws
  19576.         button.BackgroundColor3 = blak
  19577.         button.BorderColor3 = rede
  19578.         button.BorderSizePixel = 3
  19579.         button.Name = "Lightsaber"
  19580.         button.Position = UDim2.new(0.5,3,0,99)
  19581.         button.Size = UDim2.new(0.5,-3,0,30)
  19582.         button.ZIndex = 2
  19583.         button.Font = tef
  19584.         button.FontSize = "Size14"
  19585.         button.Text = "Lightsaber"
  19586.         button.TextColor3 = whit
  19587.                 button.MouseButton1Down:connect(function()
  19588.                 --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and 1351 and put your name where it says "YOUR NAME HERE"
  19589.  
  19590. Players = game:GetService("Players")
  19591. Player = Players.LocalPlayer
  19592. Bp = Player.Backpack
  19593. Pg = Player.PlayerGui
  19594. Char = Player.Character
  19595. Head = Char.Head
  19596. Torso = Char.Torso
  19597. Hum = Char.Humanoid
  19598. Humanoid = Hum
  19599. Neck = Torso["Neck"]
  19600. LS = Torso["Left Shoulder"]
  19601. RS = Torso["Right Shoulder"]
  19602. Ra = Char["Right Arm"]
  19603. La = Char["Left Arm"]
  19604. mouse = nil
  19605. Mouse = nil
  19606.  
  19607. bets =
  19608. {"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"," "}
  19609. inew = Instance.new
  19610. it = Instance.new
  19611. bc = BrickColor.new
  19612. vn = Vector3.new
  19613. cn = CFrame.new
  19614. ca = CFrame.Angles
  19615. mpi = math.pi
  19616. v3 = vn
  19617. mr = math.rad
  19618. br = BrickColor.new
  19619. cf = CFrame.new
  19620. ca = CFrame.Angles
  19621. Colors = {"Really Red"}
  19622. BladeColor = tostring(BrickColor.Random()) --Colors[math.random(1,#Colors)]
  19623. TrailColor = BladeColor
  19624. HopperName = "light saber"
  19625. Rage = 100000
  19626. MaxRage = Rage
  19627. SwordType = "Single"
  19628. LeftDebounce = {}
  19629. RightDebounce = {}
  19630. OtherDebounce = {}
  19631. Anim = {key = {}}
  19632. for i=1,#bets do table.insert(Anim.key,bets) end
  19633. Anim.Move = "None"
  19634. Anim.Click = false
  19635. Anim.Button = false
  19636. Anim.CanBerserk = 0
  19637. Anim.ComboBreak = false
  19638. Anim.Equipped = false
  19639. keydown = false
  19640. Speed = 2
  19641. RageIncome = 500
  19642. Left = false
  19643. Right = false
  19644. Anim.Act = false
  19645. RealSpeed = 35
  19646. DebounceSpeed = 0.85/Speed
  19647. RageCost = {
  19648. ["Berserk"] = 200;
  19649. ["RotorBlade"] = 30;
  19650. ["Blocking"] = 0.1;
  19651. ["Boomerang"] = 30;
  19652. ["RageRegening"] = -0.7;
  19653. ["BoulderForce"] = 45;
  19654. ["ForceWave"] = 65;
  19655. ["ForceWave"] = 32;
  19656. ["Teleport"] = 25;
  19657. ["DualSpin"] = 4;
  19658. }
  19659. MagnitudeHit = {
  19660. ["ForceWave"] = 500;
  19661. }
  19662. Damage = {
  19663. ["RotorBlade"] = 8;
  19664. ["BoulderForce"] = 100;
  19665. ["Boomerang"] = 100;
  19666. ["ForceWave"] = 100;
  19667. ["DualSpin"] = 5;
  19668. }
  19669. Props = {}
  19670. Props.MaxTeleDistance = 500
  19671. Props.Buff = 1
  19672. BlastMesh = Instance.new("FileMesh")
  19673. BlastMesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  19674. RingMesh = Instance.new("FileMesh")
  19675. RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  19676. RockMesh = Instance.new("FileMesh")
  19677. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  19678. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  19679. DiamondMesh = Instance.new("FileMesh")
  19680. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  19681. RingMesh = Instance.new("FileMesh")
  19682. RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  19683. RockMesh = Instance.new("FileMesh")
  19684. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  19685. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  19686. DiamondMesh = Instance.new("FileMesh")
  19687. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  19688. RockMesh = Instance.new("FileMesh")
  19689. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  19690. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  19691. DiamondMesh = Instance.new("FileMesh")
  19692. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  19693. DiamondMesh = Instance.new("FileMesh")
  19694. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  19695.  
  19696. function rayCast(Pos, Dir, Max, Ignore)
  19697. return Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  19698. end
  19699. function MinusRage(raggge)
  19700. Rage = Rage - raggge
  19701. if Rage < 0 then Rage = 0 end
  19702. end
  19703.  
  19704. function r(zParent,zName)
  19705. if zParent:findFirstChild(zName) ~= nil then
  19706. zParent[zName]:Remove()
  19707. else
  19708. end
  19709. end
  19710. function rclass(zParent,zClass)
  19711. local ch = zParent:GetChildren()
  19712. for i=1,#ch do
  19713. if (ch.className == zClass) then
  19714. ch:Remove()
  19715. else
  19716. end
  19717. end
  19718. end
  19719.  
  19720. function fWeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
  19721. local funcw = Instance.new("Weld")
  19722. funcw.Name = zName
  19723. funcw.Parent = zParent
  19724. funcw.Part0 = zPart0
  19725. funcw.Part1 = zPart1
  19726. if (zCoco == true) then
  19727. funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  19728. else
  19729. funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  19730. end
  19731. return funcw
  19732. end
  19733. function Dash(ob,se,mes,of)
  19734. local off = nil
  19735. if of == nil then off = 0 else off = of end
  19736. pcall(function()
  19737. coroutine.resume(coroutine.create(function()
  19738. local dashin = true
  19739. local oldpos = (ob.CFrame *CFrame.new(0,off,0)).p
  19740. coroutine.resume(coroutine.create(function()
  19741. wait(se) dashin = false end))
  19742. for i=1,9999 do
  19743. if dashin == false then break end
  19744. local newpos = (ob.CFrame *CFrame.new(0,off,0)).p --+ Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  19745. local np = Instance.new("Part")
  19746. np.BrickColor = BrickColor.new(TrailColor) np.CanCollide = false
  19747. np.BottomSurface = 0 np.TopSurface = 0 np.Anchored = true np.Transparency = 0.4
  19748. np.formFactor = "Custom" np.Parent = ob local mag = math.abs((newpos - oldpos).magnitude)
  19749. local mp = nil
  19750. if mes ~= nil then
  19751. np.Size = Vector3.new(2,mag,2) mp = Instance.new("FileMesh",np) mp.MeshId = mes else
  19752. np.Size = Vector3.new(0.4,0.4,mag) mp = Instance.new("BlockMesh",np) end
  19753. np.CFrame = CFrame.new(newpos,oldpos)
  19754. np.CFrame = np.CFrame + np.CFrame.lookVector* (mag/2)
  19755. 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
  19756. oldpos = newpos
  19757. coroutine.resume(coroutine.create(function()
  19758. for i=1,0,-0.1 do
  19759. np.Transparency = np.Transparency + 0.03
  19760. --if mes ~= nil then
  19761. --mp.Scale = Vector3.new(i,mag,i) else
  19762. mp.Scale = Vector3.new(i,i,1) -- end
  19763. wait()
  19764. end
  19765. np:Remove()
  19766. end))
  19767. wait(0.08)
  19768. end
  19769. end))
  19770. end)
  19771. end
  19772. Sounds = {
  19773. Boom = "http://www.roblox.com/asset/?id=16976189";
  19774. SniperFire = "http://www.roblox.com/asset/?id=1369158";
  19775. ShotgunFire2 = "http://www.roblox.com/asset/?id=1868836";
  19776. MinigunFire = "http://www.roblox.com/asset/?id=2692806";
  19777. MinigunCharge = "http://www.roblox.com/asset/?id=2692844";
  19778. MinigunDischarge = "http://www.roblox.com/asset/?id=1753007";
  19779. Flashbang = "http://www.roblox.com/asset/?id=16976189";
  19780. Beep = "http://www.roblox.com/asset/?id=15666462";
  19781. Smash = "http://www.roblox.com/asset/?id=2801263";
  19782. Punch = "http://www.roblox.com/asset/?id=31173820";
  19783. Slash = "rbxasset://sounds/swordslash.wav";
  19784. Falcon = "http://www.roblox.com/asset/?id=1387390";
  19785. Cast = "http://www.roblox.com/asset/?id=2101137";
  19786. Spin = "http://www.roblox.com/asset/?id=1369159";
  19787. Abscond = "http://www.roblox.com/asset/?id=2767090";
  19788. ElectricalCharge = "http://www.roblox.com/asset/?id=2800815";
  19789. FireExplosion = "http://www.roblox.com/asset/?id=3264793";
  19790. SaberLightUp = "http://www.roblox.com/asset/?id=10209303";
  19791. SaberSlash = "http://www.roblox.com/asset/?id=10209280";
  19792. SaberHit = "http://www.roblox.com/asset/?id=44463749";
  19793. EnergyBlast = "http://www.roblox.com/asset/?id=10209268";
  19794. }
  19795. function Sound(sid,pit,vol)
  19796. local ss = Instance.new("Sound")
  19797. ss.Name = "Sound"
  19798. ss.Parent = Head
  19799. ss.SoundId = sid
  19800. ss.Pitch = pit
  19801. ss.Volume = vol
  19802. ss.PlayOnRemove = true
  19803. wait()
  19804. ss:Remove()
  19805. end
  19806.  
  19807.  
  19808. r(Char,"SwordPack")
  19809. r(Char,"Suit")
  19810. r(Char,"Saber" ..Player.Name)
  19811. r(Pg,"Sabers")
  19812. Suit = inew("Model")
  19813. Suit.Name = "Suit"
  19814. Suit.Parent = Char
  19815. function p(pa,sh,x,y,z,c,a,tr,re,bc)
  19816. local fp = it("Part",pa)
  19817. fp.formFactor = "Custom"
  19818. fp.Shape = sh
  19819. fp.Size = v3(x,y,z)
  19820. fp.CanCollide = c
  19821. fp.Anchored = a
  19822. fp.BrickColor = br(bc)
  19823. fp.Transparency = tr
  19824. fp.Reflectance = re
  19825. fp.BottomSurface = 0
  19826. fp.TopSurface = 0
  19827. fp.CFrame = Torso.CFrame
  19828. fp:BreakJoints()
  19829. return fp
  19830. end
  19831. function weld(pa,p0,p1,x,y,z,a,b,c)
  19832. local fw = it("Weld",pa)
  19833. fw.Part0 = p0
  19834. fw.Part1 = p1
  19835. fw.C0 = cf(x,y,z) *ca(a,b,c)
  19836. return fw
  19837. end
  19838. function ft(tab,nam)
  19839. if tab == nil or nam == nil then print("U: Fail table") return false end
  19840. for i=1,#tab do
  19841. if tab == nam then
  19842. return i
  19843. else
  19844. end
  19845. end
  19846. return nil
  19847. end
  19848. function spm(ty,pa,ssx,ssy,ssz)
  19849. local sp = it("SpecialMesh",pa)
  19850. sp.MeshType = ty
  19851. sp.Scale = Vector3.new(ssx,ssy,ssz)
  19852. return sp
  19853. end
  19854. Torso.Transparency = 1
  19855. Torm = Instance.new("Model",Char)
  19856. Torm.Name = "Saber" ..Player.Name
  19857. Tor = p(Torm,"Block",1.98,1.98,1,false,false,0,0,"basda") Tor.Name = "Torso"
  19858. Torw = weld(Tor,Torso,Tor,0,0,0,0,0,0)
  19859. pcall(function() Char.Shirt:Clone().Parent = Torm end)
  19860. pcall(function() Char.Pants:Clone().Parent = Torm end)
  19861. function ShockWave(onb,scale,col)
  19862. coroutine.resume(coroutine.create(function()
  19863. local e1 = Instance.new("Part")
  19864. e1.Anchored = true
  19865. e1.formFactor = "Custom"
  19866. e1.CanCollide = false
  19867. e1.Size = Vector3.new(1,1,1)
  19868. e1.BrickColor = BrickColor.new(col)
  19869. e1.Transparency = 0.6
  19870. e1.TopSurface = 0
  19871. e1.BottomSurface = 0
  19872. e1.Parent = Torm
  19873. e1.CFrame = onb.CFrame
  19874. e1.CFrame = e1.CFrame *CFrame.Angles(math.rad(-90),0,0)
  19875. local e1m = Instance.new("SpecialMesh")
  19876. e1m.MeshType = "FileMesh"
  19877. e1m.Scale = Vector3.new(3,3,3)
  19878. e1m.Parent = e1
  19879. e1m.MeshId = RingMesh.MeshId
  19880. local r1 = Instance.new("Part")
  19881. r1.Anchored = true
  19882. r1.formFactor = "Custom"
  19883. r1.CanCollide = false
  19884. r1.Size = Vector3.new(1,1,1)
  19885. r1.BrickColor = BrickColor.new(col)
  19886. r1.Transparency = 0.6
  19887. r1.TopSurface = 0
  19888. r1.BottomSurface = 0
  19889. r1.Parent = Torm
  19890. r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(90),0,0)
  19891. local r1m = Instance.new("SpecialMesh")
  19892. r1m.MeshType = "FileMesh"
  19893. r1m.Scale = Vector3.new(3,3,3)
  19894. r1m.Parent = r1
  19895. r1m.MeshId = BlastMesh.MeshId
  19896. for i=1,30 do
  19897. local pluscal = scale/38
  19898. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19899. r1m.Scale = r1m.Scale + Vector3.new(pluscal/1.5,pluscal/3,pluscal/1.5)
  19900. r1.CFrame = r1.CFrame * CFrame.Angles(0,math.rad(6),0)
  19901. wait()
  19902. end
  19903. for i=1,30 do
  19904. local pluscal = scale/38
  19905. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19906. r1m.Scale = r1m.Scale + Vector3.new(pluscal/1.5,pluscal/4,pluscal/1.5)
  19907. r1.CFrame = r1.CFrame * CFrame.Angles(0,math.rad(6),0)
  19908. e1.Transparency = e1.Transparency + 0.1
  19909. r1.Transparency = r1.Transparency + 0.1
  19910. wait()
  19911. end
  19912. e1:Remove()
  19913. r1:Remove()
  19914. end))
  19915. end
  19916.  
  19917. function Explode(onb,scale,col)
  19918. coroutine.resume(coroutine.create(function()
  19919. local e1 = Instance.new("Part")
  19920. e1.Anchored = true
  19921. e1.formFactor = "Custom"
  19922. e1.CanCollide = false
  19923. e1.Size = Vector3.new(1,1,1)
  19924. e1.BrickColor = BrickColor.new(col)
  19925. e1.Transparency = 0.6
  19926. e1.TopSurface = 0
  19927. e1.BottomSurface = 0
  19928. e1.Parent = Torm
  19929. e1.CFrame = onb.CFrame
  19930. local e1m = Instance.new("SpecialMesh")
  19931. e1m.MeshType = "Sphere"
  19932. e1m.Parent = e1
  19933. local r1 = Instance.new("Part")
  19934. r1.Anchored = true
  19935. r1.formFactor = "Custom"
  19936. r1.CanCollide = false
  19937. r1.Size = Vector3.new(1,1,1)
  19938. r1.BrickColor = BrickColor.new(col)
  19939. r1.Transparency = 0.6
  19940. r1.TopSurface = 0
  19941. r1.BottomSurface = 0
  19942. r1.Parent = Torm
  19943. r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(180),0,0)
  19944. local r1m = Instance.new("SpecialMesh")
  19945. r1m.MeshType = "FileMesh"
  19946. r1m.Scale = Vector3.new(3,3,3)
  19947. r1m.Parent = r1
  19948. r1m.MeshId = RingMesh.MeshId
  19949. local r2 = Instance.new("Part")
  19950. r2.Anchored = true
  19951. r2.formFactor = "Custom"
  19952. r2.CanCollide = false
  19953. r2.Size = Vector3.new(1,1,1)
  19954. r2.BrickColor = BrickColor.new(col)
  19955. r2.Transparency = 0.6
  19956. r2.TopSurface = 0
  19957. r2.BottomSurface = 0
  19958. r2.Parent = Torm
  19959. r2.CFrame = e1.CFrame *CFrame.Angles(0,math.rad(180),0)
  19960. local r2m = Instance.new("SpecialMesh")
  19961. r2m.MeshType = "FileMesh"
  19962. r2m.Parent = r2
  19963. r2m.Scale = Vector3.new(3,3,3)
  19964. r2m.MeshId = RingMesh.MeshId
  19965. local bla = Instance.new("Part")
  19966. bla.Anchored = true
  19967. bla.formFactor = "Custom"
  19968. bla.CanCollide = false
  19969. bla.Size = Vector3.new(1,1,1)
  19970. bla.BrickColor = BrickColor.new(col)
  19971. bla.Transparency = 0.6
  19972. bla.TopSurface = 0
  19973. bla.BottomSurface = 0
  19974. bla.Parent = Torm
  19975. bla.CFrame = CFrame.new(e1.Position.x,e1.Position.y,e1.Position.z)
  19976. local blam = Instance.new("SpecialMesh")
  19977. blam.MeshType = "FileMesh"
  19978. blam.Parent = bla
  19979. blam.Scale = Vector3.new(5,5,5)
  19980. blam.MeshId = BlastMesh.MeshId
  19981. for i=1,30 do
  19982. local pluscal = scale/38
  19983. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19984. r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19985. r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19986. blam.Scale = blam.Scale + Vector3.new(pluscal,pluscal/2,pluscal)
  19987. bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0)
  19988. r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0)
  19989. r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0)
  19990. wait()
  19991. end
  19992. for i=1,30 do
  19993. local pluscal = scale/38
  19994. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19995. r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19996. r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19997. blam.Scale = blam.Scale + Vector3.new(pluscal/1.5,pluscal/3,pluscal/1.5)
  19998. bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0)
  19999. r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0)
  20000. r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0)
  20001. bla.Transparency = bla.Transparency + 0.1
  20002. e1.Transparency = e1.Transparency + 0.1
  20003. r1.Transparency = r1.Transparency + 0.1
  20004. r2.Transparency = r2.Transparency + 0.1
  20005. wait()
  20006. end
  20007. e1:Remove()
  20008. r1:Remove()
  20009. r2:Remove()
  20010. end))
  20011. end
  20012. 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)
  20013. H1w = weld(Tor,Torso,H1,0.4,-0.7,0.5,0,0,mr(45))
  20014. 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)
  20015. H2w = weld(Tor,H1,H2,0,-0.8,0,mr(180),0,0)
  20016. Des1 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Instance.new("CylinderMesh",Des1)
  20017. Des1w = weld(Tor,H1,Des1,0,0.5,0,0,0,0)
  20018. Des2 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Instance.new("CylinderMesh",Des2)
  20019. Des2w = weld(Tor,H2,Des2,0,0.5,0,0,0,0)
  20020. 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)
  20021. Des21w = weld(Tor,H1,Des21,0,-0.55,0,0,0,0)
  20022. 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)
  20023. Des22w = weld(Tor,H2,Des22,0,-0.55,0,0,0,0)
  20024.  
  20025. Blad1 = p(Torm,"Block",0.3,4,0.3,false,false,1,0.25,BladeColor) M1 = spm("Head",Blad1,1,1,1)
  20026. Blad1w = weld(Tor,H1,Blad1,0,1.9,0,0,0,0)
  20027. Blad2 = p(Torm,"Block",0.3,4,0.3,false,false,1,0.25,BladeColor) M2 = spm("Head",Blad2,1,1,1)
  20028. Blad2w = weld(Tor,H2,Blad2,0,1.9,0,0,0,0)
  20029. Glow1 = p(Torm,"Block",0.47,4.2,0.47,false,false,1,0,BladeColor) GM1 = spm("Head",Glow1,1,1,1)
  20030. Glow1w = weld(Tor,H1,Glow1,0,1.9,0,0,0,0)
  20031. Glow2 = p(Torm,"Block",0.47,4.2,0.47,false,false,1,0,BladeColor) GM2 = spm("Head",Glow2,1,1,1)
  20032. Glow2w = weld(Tor,H2,Glow2,0,1.9,0,0,0,0)
  20033.  
  20034. r(Bp,HopperName)
  20035. bin = inew("HopperBin")
  20036. bin.Name = HopperName
  20037. bin.Parent = Bp
  20038.  
  20039. Gui = Instance.new("ScreenGui",Pg)
  20040. Gui.Name = "Sabers"
  20041. Frame = Instance.new("Frame",Gui)
  20042. Frame.BackgroundTransparency = 1 Frame.Size = UDim2.new(1,0,1,0)
  20043. ImageGui = Instance.new("ImageLabel",Frame)
  20044. ImageGui.Image = "http://www.roblox.com/asset/?id=51262246"
  20045. ImageGui.BackgroundTransparency = 1
  20046. ImageGui.Size = UDim2.new(0.3,0,0.075,0)
  20047. HealthBar = Instance.new("ImageLabel",Frame)
  20048. HealthBar.Image = "http://www.roblox.com/asset/?id=48965808"
  20049. HealthBar.BorderSizePixel = 0
  20050. HealthBar.Size = UDim2.new(0.23,0,0.017,0)
  20051. HealthBar.Position = UDim2.new(0.06,0,0.017,0)
  20052. RageBar = Instance.new("ImageLabel",Frame)
  20053. RageBar.Image = "http://www.roblox.com/asset/?id=48965808"
  20054. RageBar.BorderSizePixel = 0
  20055. RageBar.Size = UDim2.new(0.165,0,0.012,0)
  20056. RageBar.Position = UDim2.new(0.06,0,0.04,0)
  20057. RageBar.BackgroundColor3 = BrickColor.new("Alder").Color
  20058. SelectBar = Instance.new("ImageButton",Frame)
  20059. SelectBar.Image = "http://www.roblox.com/asset/?id=48965808"
  20060. SelectBar.BorderSizePixel = 0
  20061. SelectBar.Size = UDim2.new(0.1,0,0.07,0)
  20062. SelectBar.Position = UDim2.new(0.8,0,0.6,0)
  20063. SelectBar.BackgroundColor3 = BrickColor.new(BladeColor).Color
  20064. SelectrBar = Instance.new("TextLabel",SelectBar)
  20065. SelectrBar.BackgroundTransparency = 1
  20066. SelectrBar.BorderSizePixel = 0
  20067. SelectrBar.Size = UDim2.new(0,0,0,0)
  20068. SelectrBar.Position = UDim2.new(0.5,0,0.5,0)
  20069. SelectrBar.Font = "ArialBold"
  20070. SelectrBar.FontSize = "Size18"
  20071. SelectBar.MouseButton1Up:connect(function()
  20072. if Anim.Move ~= "None" then return end
  20073. if Anim.Act == true then return end
  20074. if Anim.Equipped == false then return end
  20075. if SwordType == "Single" then
  20076. Anim.Move = "Changing"
  20077. Anims.ChangeToDual(0,1,0.065*Speed) SwordType = "Dual"
  20078. Anim.Move = "None"
  20079. else
  20080. Anim.Move = "Changing"
  20081. Anims.ChangeToSingle(0,1,0.065*Speed) SwordType = "Single"
  20082. Anim.Move = "None"
  20083. end
  20084. end)
  20085. coroutine.resume(coroutine.create(function()
  20086. while true do
  20087. wait(0.05)
  20088. local hh = Hum.Health local hmh = Hum.MaxHealth
  20089. HealthBar.Size = UDim2.new((hh/hmh)*0.23,0,0.017,0)
  20090. if ((hh/hmh)*100) > 75 then
  20091. HealthBar.BackgroundColor3 = BrickColor.new("Alder").Color
  20092. elseif ((hh/hmh)*100) > 25 and ((hh/hmh)*100) < 76 then
  20093. HealthBar.BackgroundColor3 = BrickColor.new("Deep orange").Color
  20094. elseif ((hh/hmh)*100) < 26 then
  20095. HealthBar.BackgroundColor3 = BrickColor.new("Bright red").Color
  20096. end
  20097. RageBar.Size = UDim2.new((Rage/MaxRage)*0.165,0,0.012,0)
  20098. SelectrBar.Text = SwordType
  20099. end
  20100. end))
  20101. -------
  20102. function TellXPos(brick1,posd)
  20103. local lb = p(nil,"Block",1,1,1,true,false,1,0.1,BladeColor)
  20104. lb.CFrame = CFrame.new((brick1.CFrame *cf(-10,0,0)).p)
  20105. local rb = p(nil,"Block",1,1,1,true,false,1,0.1,BladeColor)
  20106. rb.CFrame = CFrame.new((brick1.CFrame *cf(10,0,0)).p)
  20107. local posml = math.abs((posd - rb.Position).magnitude)
  20108. local posmr = math.abs((posd - lb.Position).magnitude)
  20109. if posml > posmr then
  20110. return "left"
  20111. else
  20112. return "right"
  20113. end
  20114. end
  20115. function GetNearPlayer(urpos,maxmag)
  20116. if maxmag == nil then return nil end
  20117. for i,v in pairs(game.Players:GetChildren()) do
  20118. 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
  20119. return v.Character.Torso
  20120. end
  20121. end
  20122. return nil
  20123. end
  20124. function Dmgz(hum,dmg)
  20125. dmg = dmg*Props.Buff
  20126. hum.Health = hum.Health - dmg
  20127. Rage = Rage + ((dmg/1.25)*RageIncome)
  20128. if Rage > MaxRage then Rage = MaxRage end
  20129. end
  20130. coroutine.resume(coroutine.create(function()
  20131. while true do
  20132. wait()
  20133. if Right == true and Anim.Move == "ForceWave" then
  20134. for i,v in pairs(workspace:GetChildren()) do
  20135. coroutine.resume(coroutine.create(function()
  20136. if v ~= Char and v ~= nil and v:findFirstChild("Torso") ~= nil and math.abs((v.Torso.Position-Blad2.Position).magnitude) < MagnitudeHit[Anim.Move] then
  20137. local hit = v.Torso
  20138. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
  20139. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  20140. table.insert(RightDebounce,hit.Parent.Name)
  20141. wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
  20142. end
  20143. else
  20144. 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
  20145. end
  20146. end))
  20147. end -- for
  20148. end
  20149. end
  20150. end))
  20151. Blad1.Touched:connect(function(hit)
  20152. if Left == true then
  20153. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(LeftDebounce,hit.Parent.Name) == nil then
  20154. coroutine.resume(coroutine.create(function()
  20155. table.insert(LeftDebounce,hit.Parent.Name)
  20156. wait(DebounceSpeed) local nf = ft(LeftDebounce,hit.Parent.Name) if nf ~= nil then table.remove(LeftDebounce,nf) end
  20157. end))
  20158. Sound(Sounds.SaberHit,1,1)
  20159. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  20160. else
  20161. --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
  20162. end
  20163. end
  20164. end)
  20165.  
  20166. Blad2.Touched:connect(function(hit)
  20167. if Right == true then
  20168. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
  20169. coroutine.resume(coroutine.create(function()
  20170. table.insert(RightDebounce,hit.Parent.Name)
  20171. wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
  20172. end))
  20173. Sound(Sounds.SaberHit,1,1)
  20174. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  20175. else
  20176. --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
  20177. end
  20178. end
  20179. end)
  20180. LW = inew("Weld")
  20181. RW = inew("Weld")
  20182. Fla = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  20183. Fra = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  20184. Flaw = fWeld("Weld",Fla,Tor,Fla,true,-1.5,0.5,0,0,0,0)
  20185. Fraw = fWeld("Weld",Fla,Tor,Fra,true,1.5,0.5,0,0,0,0)
  20186. Flaw.C1 = CFrame.new(0,0.5,0)
  20187. Fraw.C1 = CFrame.new(0,0.5,0)
  20188.  
  20189. Fll = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  20190. Frl = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  20191. Fllw = fWeld("Weld",Fll,Torso,Fll,true,0,0,0,0,0,0)
  20192. Frlw = fWeld("Weld",Fll,Torso,Frl,true,0,0,0,0,0,0)
  20193.  
  20194. function FeetWeld(yesorno,lhh,rhh)
  20195. if yesorno == false then
  20196. lhh.Parent = nil
  20197. rhh.Parent = nil
  20198. Lh.Parent = Torso
  20199. Rh.Parent = Torso
  20200. Lh.Part0 = Tor
  20201. Rh.Part0 = Tor
  20202. Lh.Part1 = Char["Left Leg"]
  20203. Rh.Part1 = Char["Right Leg"]
  20204. return Lh,Rh
  20205. else
  20206. Rh.Parent = nil
  20207. Lh.Parent = nil
  20208. local hl,hr = it("Weld",Torso),it("Weld",Torso)
  20209. hl.Part0 = Fll
  20210. hr.Part0 = Frl
  20211. hl.Part1 = Char["Left Leg"]
  20212. hr.Part1 = Char["Right Leg"]
  20213. hr.C1 = cf(-0.5,1.75,0)
  20214. hl.C1 = cf(0.5,1.75,0)
  20215. return hl,hr
  20216. end
  20217. end
  20218. Anims = {}
  20219. Anims.Equip = function(i1,i2,is)
  20220. Anim.Act = true
  20221. for i=i1,i2,is do
  20222. RW.C1 = ca(mr(40*i),mr(20*i),0)
  20223. RW.C0 = cf(-0.4*i,-0.1*i,0.4*i)
  20224. wait()
  20225. end
  20226. H1w.Part0 = Ra
  20227. H1w.Part1 = H1
  20228. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(180),0) H1w.C1 = ca(mr(-90),0,0)
  20229. Sound(Sounds.Slash,1,1)
  20230. for i=i1,i2,is do
  20231. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(270*i)),0)
  20232. LW.C1 = ca(mr(-80*i),mr(40*i),0)
  20233. LW.C0 = cf(0.6*i,0.3*i,-1*i)
  20234. RW.C1 = ca(mr(40+(-120*i)),mr(20+(-60*i)),0)
  20235. RW.C0 = cf(-0.4+(-0.2*i),-0.1+(0.4*i),0.4+(-1.4*i))
  20236. wait()
  20237. end
  20238. Sound(Sounds.SaberLightUp,3,1)
  20239. for i=i1,i2,is do
  20240. Blad1w.C0 = cf(0,0.95+(0.95*i),0)
  20241. Blad2w.C0 = cf(0,0.95+(0.95*i),0)
  20242. M1.Scale = Vector3.new(1,1*i,1)
  20243. M2.Scale = Vector3.new(1,1*i,1)
  20244. Blad1.Transparency = 0.9-(1*i)
  20245. Blad2.Transparency = 0.9-(1*i)
  20246. Glow1w.C0 = cf(0,0.95+(0.95*i),0)
  20247. Glow2w.C0 = cf(0,0.95+(0.95*i),0)
  20248. GM1.Scale = Vector3.new(1,1*i,1)
  20249. GM2.Scale = Vector3.new(1,1*i,1)
  20250. Glow1.Transparency = 1.05-(0.5*i)
  20251. Glow2.Transparency = 1.05-(0.5*i)
  20252. wait()
  20253. end
  20254. Anim.Act = false
  20255. end
  20256. Anims.UnEquip = function(i1,i2,is)
  20257. Anim.Act = true
  20258. Sound(Sounds.SaberLightUp,3,1)
  20259. for i=i1,i2,is do
  20260. Blad1w.C0 = cf(0,0.95+(0.95*i),0)
  20261. Blad2w.C0 = cf(0,0.95+(0.95*i),0)
  20262. M1.Scale = Vector3.new(1,1*i,1)
  20263. M2.Scale = Vector3.new(1,1*i,1)
  20264. Blad1.Transparency = 0.9-(1*i)
  20265. Blad2.Transparency = 0.9-(1*i)
  20266. Glow1w.C0 = cf(0,0.95+(0.95*i),0)
  20267. Glow2w.C0 = cf(0,0.95+(0.95*i),0)
  20268. GM1.Scale = Vector3.new(1,1*i,1)
  20269. GM2.Scale = Vector3.new(1,1*i,1)
  20270. Glow1.Transparency = 1.05-(0.5*i)
  20271. Glow2.Transparency = 1.05-(0.5*i)
  20272. wait()
  20273. end
  20274. Sound(Sounds.Slash,1,1)
  20275. for i=i1,i2,is do
  20276. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(270*i)),0)
  20277. LW.C1 = ca(mr(-80*i),mr(40*i),0)
  20278. LW.C0 = cf(0.6*i,0.3*i,-1*i)
  20279. RW.C1 = ca(mr(40+(-120*i)),mr(20+(-60*i)),0)
  20280. RW.C0 = cf(-0.4+(-0.2*i),-0.1+(0.4*i),0.4+(-1.4*i))
  20281. wait()
  20282. end
  20283. H1w.Part0 = Torso
  20284. H1w.Part1 = H1
  20285. H1w.C0 = cf(0.4,-0.7,0.5) *ca(0,0,mr(45))
  20286. H1w.C1 = cf(0,0,0) *ca(0,0,0)
  20287. for i=i1,i2,is do
  20288. RW.C1 = ca(mr(40*i),mr(20*i),0)
  20289. RW.C0 = cf(-0.4*i,-0.1*i,0.4*i)
  20290. wait()
  20291. end
  20292. Anim.Act = false
  20293. end
  20294. Anims.ChangeToDual = function(i1,i2,is)
  20295. Anim.Act = true
  20296. for i=i1,i2,is*Speed do
  20297. H1w.C0 = cf(0,-1.1,0) *ca(mr(-80*i),mr(50*i),0)
  20298. wait()
  20299. end
  20300. Sound(Sounds.SaberHit,1,1)
  20301. Sound(Sounds.SaberLightUp,2,0.5)
  20302. H1w.Part0 = La
  20303. H1w.Part1 = H1
  20304. H2w.Part0 = Ra
  20305. H2w.Part1 = H2
  20306. H2w.C1 = ca(mr(-90),0,0)
  20307. for i=i1,i2,is*Speed do
  20308. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-90+(-90*i)),mr(20+(-20*i)))
  20309. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(90*i)),mr(-35+(-35*i)))
  20310. LW.C1 = ca(mr(-80+(20*i)),mr(40+(-70*i)),0)
  20311. LW.C0 = cf(0.6+(-0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  20312. RW.C1 = ca(mr(-80+(20*i)),mr(-40+(70*i)),0)
  20313. RW.C0 = cf(-0.6+(0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  20314. wait()
  20315. end
  20316. Anim.Act = false
  20317. end
  20318. Anims.ChangeToSingle = function(i1,i2,is)
  20319. Anim.Act = true
  20320. for i=i2,i1,-is*Speed do
  20321. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-90+(-90*i)),mr(20+(-20*i)))
  20322. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(90*i)),mr(-35+(-35*i)))
  20323. LW.C1 = ca(mr(-80+(20*i)),mr(40+(-70*i)),0)
  20324. LW.C0 = cf(0.6+(-0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  20325. RW.C1 = ca(mr(-80+(20*i)),mr(-40+(70*i)),0)
  20326. RW.C0 = cf(-0.6+(0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  20327. wait()
  20328. end
  20329. H1w.Part0 = Ra
  20330. H1w.Part1 = H1
  20331. H2w.Part0 = H1
  20332. H2w.Part1 = H2
  20333. H2w.C1 = ca(0,0,0)
  20334. H2w.C0 = cf(0,-0.8,0) *ca(mr(180),0,0)
  20335. Sound(Sounds.SaberLightUp,2,0.5)
  20336. Sound(Sounds.SaberHit,1,1)
  20337. for i=i2,i1,-is*Speed do
  20338. H1w.C0 = cf(0,-1.1,0) *ca(mr(-80*i),mr(50*i),0)
  20339. wait()
  20340. end
  20341. Anim.Act = false
  20342. end
  20343. Anims.RotorBlade = function(i1,i2,is,RaigCost)
  20344. local lolpos = (Torso.Position - mouse.hit.p).unit
  20345. local allx = (lolpos.y*80)-10
  20346. local ally = (((mouse.X-(mouse.ViewSizeX/2))/mouse.ViewSizeX)*1.8)*-90
  20347. Anim.Act = true
  20348. for i=i1,i2,is do
  20349. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  20350. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(90*i),0)
  20351. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  20352. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(((-90)+ally)*i),0)
  20353. Torw.C1 = ca(0,mr(-90*i),0)
  20354. wait()
  20355. end
  20356. DebounceSpeed = DebounceSpeed - (0.5*Speed)
  20357. Hum.WalkSpeed = Hum.WalkSpeed + (8*Speed)
  20358. Left = true
  20359. Right = true
  20360. Dash(Blad1,2/Speed,nil,2)
  20361. Dash(Blad2,2/Speed,nil,2)
  20362. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,-0.4,0) *ca(mr(-90),0,0)
  20363. local soundtime = 0
  20364. for i=i1,i2*4,is do
  20365. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  20366. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(360*i),0)
  20367. wait()
  20368. end
  20369. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,0,0) *ca(mr(-90),0,0)
  20370. DebounceSpeed = DebounceSpeed + (0.5*Speed)
  20371. Hum.WalkSpeed = Hum.WalkSpeed - (8*Speed)
  20372. Left = false
  20373. Right = false
  20374. for i=i2,i1,-is do
  20375. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  20376. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(90*i),0)
  20377. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  20378. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(((-90)+ally)*i),0)
  20379. Torw.C1 = ca(0,mr(-90*i),0)
  20380. wait()
  20381. end
  20382. Torw.C1 = ca(0,0,0)
  20383. Anim.Act = false
  20384. end
  20385. -------
  20386. Anims.Boomerang = function(i1,i2,is,RaigCost)
  20387. MinusRage(RaigCost)
  20388. local lolpos = (Head.Position - mouse.hit.p).unit
  20389. local allx = (lolpos.y*80)-10
  20390. Anim.Act = true
  20391. for i=i1,i2,is do
  20392. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  20393. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(60*i),0)
  20394. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  20395. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-60*i),0)
  20396. Torw.C1 = ca(0,mr(-60*i),0)
  20397. H1w.C0 = cf(0,-1.1,0) *ca(mr(80*i),0,0)
  20398. wait()
  20399. end
  20400. DebounceSpeed = DebounceSpeed - (0.5*Speed)
  20401. Left = true
  20402. Right = true
  20403. Dash(Blad1,3.8/Speed,nil,2)
  20404. Dash(Blad2,3.8/Speed,nil,2)
  20405. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,-0.4,0) *ca(mr(-90),0,0)
  20406. local soundtime = 0
  20407. for i=i1,i2,is/2 do
  20408. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  20409. H1w.C0 = cf(10*i,-1.1+(-15*i),0) *ca(mr(90),mr(720*i),0)
  20410. wait()
  20411. end
  20412. for i=i1,i2,is/2 do
  20413. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  20414. H1w.C0 = cf(10+(-20*i),-16.1,0) *ca(mr(90),mr(720*i),0)
  20415. wait()
  20416. end
  20417. for i=i1,i2,is/2 do
  20418. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  20419. H1w.C0 = cf(-10+(10*i),-16.1+(15*i),0) *ca(mr(90),mr(720*i),0)
  20420. wait()
  20421. end
  20422. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,0,0) *ca(mr(-90),0,0)
  20423. DebounceSpeed = DebounceSpeed + (0.5*Speed)
  20424. Left = false
  20425. Right = false
  20426. for i=i2,i1,-is do
  20427. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  20428. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(60*i),0)
  20429. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  20430. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-60*i),0)
  20431. Torw.C1 = ca(0,mr(-60*i),0)
  20432. H1w.C0 = cf(0,-1.1,0) *ca(mr(80*i),0,0)
  20433. wait()
  20434. end
  20435. Torw.C1 = ca(0,0,0)
  20436. Anim.Act = false
  20437. end
  20438. Anims.BoulderForce = function(i1,i2,is,RaigCost)
  20439. MinusRage(RaigCost)
  20440. Anim.Act = true
  20441. for i=i1,i2,is do
  20442. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  20443. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  20444. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  20445. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  20446. Torw.C1 = ca(0,mr(50*i),0)
  20447. wait()
  20448. end
  20449. local bould = p(workspace,"Block",4,4,8,true,true,0,0,"Medium stone grey") bould.Name = "Boulder" bould.Material = "Concrete"
  20450. local rm = RockMesh:Clone() rm.Scale = Vector3.new(3,3,4.8) rm.Parent = bould
  20451. 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)
  20452. local warpdes = true
  20453. local bpos = bould.Position
  20454. Sound(Sounds.Cast,0.95,0.8)
  20455. coroutine.resume(coroutine.create(function() repeat Functions.BrickWarpDesign(bould,9) wait() until warpdes == false end))
  20456. 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)
  20457. bould.Anchored = false wait() bould.Velocity = bould.CFrame.lookVector *(math.random(180,350)) bould.Touched:connect(function(hit) Functions.BoulderTouch(hit,bould) end)
  20458. wait(0.5)
  20459. warpdes = false
  20460. game.Debris:AddItem(bould,10)
  20461. for i=i2,i1,-is do
  20462. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  20463. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  20464. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  20465. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  20466. Torw.C1 = ca(0,mr(50*i),0)
  20467. wait()
  20468. end
  20469. Torw.C1 = ca(0,0,0)
  20470. Anim.Act = false
  20471. end
  20472. Anims.ForceWave = function(i1,i2,is,RaigCost)
  20473. local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
  20474. if Hit == nil then Anim.Act = false return end
  20475. MinusRage(RaigCost)
  20476. Anim.Act = true
  20477. lh2,rh2 = FeetWeld(true,Lh,Rh)
  20478. local bp2 = Instance.new("BodyPosition",Torso)
  20479. bp2.maxForce = Vector3.new(0,math.huge,0)
  20480. Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
  20481. DebounceSpeed = DebounceSpeed + (1.1*Speed)
  20482. bp2.position = Torso.Position + Vector3.new(0,25,0)
  20483. Dash(Blad1,2.5/Speed)
  20484. Dash(Blad2,2.5/Speed)
  20485. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,0.3,0,BladeColor) wav.Anchored = true
  20486. local wavm = BlastMesh:Clone()
  20487. wavm.Parent = wav
  20488. wavm.Scale = Vector3.new(15,6,15)
  20489. local cff = Torso.CFrame - Vector3.new(0,0,0)
  20490. coroutine.resume(coroutine.create(function()
  20491. Dash(Blad1,4/Speed)
  20492. Dash(Blad2,4/Speed)
  20493. for i=i1,i2,is*Speed do
  20494. LW.C1 = ca(mr(-80+(-100*i)),mr(40-(40*i)),mr(45*i))
  20495. LW.C0 = cf(0.6,0.3+(1.4*i),-1+(1*i))
  20496. RW.C1 = ca(mr(-80+(-100*i)),mr(-40+(40*i)),mr(-45*i))
  20497. RW.C0 = cf(-0.6,0.3+(1.4*i),-1+(1*i))
  20498. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20499. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20500. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20501. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20502. H1w.C0 = cf(0,-1.1+(-0.9*i),0) *ca(0,mr(360*i),0)
  20503. H1w.C1 = ca(mr(-90+(40*i)),0,0)
  20504. wait()
  20505. 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
  20506. for i=1,0.3,-0.14*Speed do wav.Transparency = i wait() end wav:Remove()
  20507. for i=i2,i1,-is*Speed do
  20508. LW.C1 = ca(mr(-80+(-100*i)),mr(40-(40*i)),mr(45*i))
  20509. LW.C0 = cf(0.6,0.3+(1.4*i),-1+(1*i))
  20510. RW.C1 = ca(mr(-80+(-100*i)),mr(-40+(40*i)),mr(-45*i))
  20511. RW.C0 = cf(-0.6,0.3+(1.4*i),-1+(1*i))
  20512. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20513. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20514. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20515. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20516. H1w.C0 = cf(0,-1.1+(-0.9*i),0) *ca(0,mr(360*i),0)
  20517. H1w.C1 = ca(mr(-90+(40*i)),0,0)
  20518. wait()
  20519. end
  20520. bp2:Remove()
  20521. local bg = Instance.new("BodyGyro",Torso) bg.maxTorque = Vector3.new(math.huge,0,math.huge)
  20522. local bp = Instance.new("BodyPosition",Torso) bp.position = Torso.Position bp.maxForce = Vector3.new(math.huge,1000000,math.huge)
  20523. rpos = math.abs(hitpos.y - Torso.Position.y)
  20524. rpos = rpos - 1.2
  20525. local tpos = Torso.Position
  20526. Hum.WalkSpeed = 0
  20527. Hum.PlatformStand = true
  20528. Dash(Blad2,1.6/Speed,RingMesh.MeshId)
  20529. for i=i1,i2,is do
  20530. bp.position = tpos - Vector3.new(0,rpos*i,0)
  20531. Neck.C0 = cf(0,1-(0.5*i),-0.5*i) *ca(Neck.C1:toEulerAnglesXYZ())
  20532. Torw.C1 = ca(mr(20*i),0,0)
  20533. Torw.C0 = cf(0,-0.2*i,-0.2*i)
  20534. lh2.C0 = cf(-0.5,-1.9+(1*i),-1.1*i) *ca(mr(10*i),mr(90),0)
  20535. rh2.C0 = cf(0.5,-1.9+(1*i),0.1*i) *ca(mr(-95*i),mr(-90),0)
  20536. LW.C1 = ca(mr(-80+(30*i)),mr(40),0)
  20537. LW.C0 = cf(0.6,0.3-(0.3*i),-1+(0.3*i))
  20538. RW.C1 = ca(mr(-80+(30*i)),mr(-40),0)
  20539. RW.C0 = cf(-0.6,0.3-(0.3*i),-1+(0.3*i))
  20540. H1w.C0 = cf(0,-1.1,0) *ca(mr(55*i),0,0)
  20541. wait()
  20542. end
  20543. wait(0.25)
  20544. Sound(Sounds.Boom,0.5,1)
  20545. Sound(Sounds.EnergyBlast,0.9,1)
  20546. Right = true
  20547. ShockWave(Torso,50,BladeColor)
  20548. wait(1.5)
  20549. Right = false
  20550. local t2pos = Torso.Position
  20551. for i=i2,i1,-is do
  20552. bp.position = t2pos - Vector3.new(0,1.5-(1.5*i),0)
  20553. Neck.C0 = cf(0,1-(0.5*i),-0.5*i) *ca(Neck.C1:toEulerAnglesXYZ())
  20554. Torw.C1 = ca(mr(20*i),0,0)
  20555. Torw.C0 = cf(0,-0.2*i,-0.2*i)
  20556. lh2.C0 = cf(-0.5,-1.9+(1*i),-1.1*i) *ca(mr(10*i),mr(90),0)
  20557. rh2.C0 = cf(0.5,-1.9+(1*i),0.1*i) *ca(mr(-95*i),mr(-90),0)
  20558. LW.C1 = ca(mr(-80+(30*i)),mr(40),0)
  20559. LW.C0 = cf(0.6,0.3-(0.3*i),-1+(0.3*i))
  20560. RW.C1 = ca(mr(-80+(30*i)),mr(-40),0)
  20561. RW.C0 = cf(-0.6,0.3-(0.3*i),-1+(0.3*i))
  20562. H1w.C0 = cf(0,-1.1,0) *ca(mr(55*i),0,0)
  20563. wait()
  20564. end
  20565. DebounceSpeed = DebounceSpeed - (1.1*Speed)
  20566. bp:Remove()
  20567. bg:Remove()
  20568. Hum.PlatformStand = false
  20569. Hum.WalkSpeed = RealSpeed
  20570. Torw.C1 = ca(0,0,0)
  20571. Anim.Act = false
  20572. Lh,Rh = FeetWeld(false,lh2,rh2)
  20573. end
  20574. Anims.DualSpin = function(i1,i2,is,RaigCost)
  20575. MinusRage(RaigCost)
  20576. Anim.Act = true
  20577. for i=i1,i2,is*Speed do
  20578. 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))
  20579. 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)
  20580. LW.C1 = ca(mr(-60+(-40*i)),mr(-30+(-75*i)),mr(0*i))
  20581. LW.C0 = cf(0.13*i,0.5*i,-0.5+(0.5*i))
  20582. RW.C1 = ca(mr(-60+(-20*i)),mr(30+(45*i)),mr(0*i))
  20583. RW.C0 = cf(0.13*i,0.4*i,-0.5+(0.4*i))
  20584. wait()
  20585. end
  20586. 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()
  20587. local soundtime = 0
  20588. 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)
  20589. DebounceSpeed = DebounceSpeed + (0.5*Speed) for i=i2,i1,-is*Speed do
  20590. 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))
  20591. 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)
  20592. LW.C1 = ca(mr(-60+(-40*i)),mr(-30+(-75*i)),mr(0*i))
  20593. LW.C0 = cf(0.13*i,0.5*i,-0.5+(0.5*i))
  20594. RW.C1 = ca(mr(-60+(-20*i)),mr(30+(45*i)),mr(0*i))
  20595. RW.C0 = cf(0.13*i,0.4*i,-0.5+(0.4*i))
  20596. wait()
  20597. end Right = false Left = false
  20598. Anim.Act = false
  20599. end
  20600.  
  20601. ----------------------------
  20602. ----------------------------
  20603. ----------------------------
  20604. ----------------------------
  20605.  
  20606. Lh = Torso["Left Hip"]
  20607. Rh = Torso["Right Hip"]
  20608.  
  20609. Functions = {}
  20610. Functions.BoulderTouch = function(hit2,bould)
  20611. print(bould.Name)
  20612. for i,v in pairs(workspace:GetChildren()) do
  20613. if v ~= Char and v ~= nil and v:findFirstChild("Torso") ~= nil and v:findFirstChild("Humanoid") ~= nil then
  20614. if math.abs((v.Torso.Position-bould.Position).magnitude) < 11 and ft(RightDebounce,v.Name) == nil then
  20615. Sound(Sounds.Smash,1,1)
  20616. Dmgz(v.Humanoid,Damage["BoulderForce"])
  20617. table.insert(RightDebounce,v.Name)
  20618. print(v.Name)
  20619. coroutine.resume(coroutine.create(function()wait(DebounceSpeed) local nf = ft(RightDebounce,v.Name) if nf ~= nil then table.remove(RightDebounce,nf) end end))
  20620. end
  20621. else
  20622. 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
  20623. end
  20624. end -- for
  20625. end
  20626. Functions.Sparkle = function(bb,scal,si)
  20627. if si == nil then si = 1 end
  20628. local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
  20629. local np = p(Torm,"Block",0.1,0.1,0.1,false,true,0.1,0.2,BladeColor)
  20630. 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)
  20631. local dm = DiamondMesh:Clone() dm.Scale = Vector3.new(0,0,0) dm.Parent = np
  20632. coroutine.resume(coroutine.create(function()
  20633. for i=0,1*si,0.1*si do
  20634. dm.Scale = Vector3.new(1*i,1.25*i,1*i)
  20635. wait()
  20636. end
  20637. end))
  20638. coroutine.resume(coroutine.create(function()
  20639. wait(0.1)
  20640. for i=0,1,0.1 do
  20641. np.Transparency = i
  20642. wait()
  20643. end
  20644. np:Remove()
  20645. end))
  20646. end
  20647. Functions.BrickWarpDesign = function(bb,scal)
  20648. local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
  20649. local mag = (rand - bb.Position).magnitude
  20650. local np = p(Torm,"Block",0.1,0.1,mag-3,false,true,0.1,0.2,BladeColor)
  20651. np.CFrame = cf(bb.Position,rand)
  20652. np.CFrame = np.CFrame + np.CFrame.lookVector*((scal/5)+(mag/2))
  20653. coroutine.resume(coroutine.create(function()
  20654. for i=0.1,1,0.05 do
  20655. np.Transparency = i
  20656. wait()
  20657. end
  20658. np:Remove()
  20659. end))
  20660. end
  20661. Functions.RageRegen = function()
  20662. local lostcontrol = false
  20663. local hpos = Torso.Position.y + 10
  20664. Anim.Move = "RageRegening"
  20665. Anim.Act = true
  20666. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,1,0,BladeColor) wav.Anchored = true
  20667. local wavm = BlastMesh:Clone()
  20668. wavm.Parent = wav
  20669. local wavv = 0
  20670. wavm.Scale = Vector3.new(5,3.5,5)
  20671. wav.CFrame = cf((Torso.CFrame * CFrame.new(0,-2.5,0)).p) *ca(0,mr(wavv),0)
  20672. local bp = Instance.new("BodyPosition",Torso)
  20673. bp.maxForce = Vector3.new(0,math.huge,0)
  20674. Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
  20675. bp.position = Torso.Position + Vector3.new(0,10,0)
  20676. local bpos = bp.position
  20677. coroutine.resume(coroutine.create(function()
  20678. lh2,rh2 = FeetWeld(true,Lh,Rh)
  20679. if SwordType == "Single" then
  20680. for i=0,1,0.1*Speed do
  20681. LW.C1 = ca(mr(-80+(-30*i)),mr(40-(40*i)),0)
  20682. LW.C0 = cf(0.6-(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(120*i),0)
  20683. RW.C1 = ca(mr(-80+(-30*i)),mr(-40+(40*i)),0)
  20684. RW.C0 = cf(-0.6+(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(-120*i),0)
  20685. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20686. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20687. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20688. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20689. wait()
  20690. end
  20691. else
  20692. for i=0,1,0.1*Speed do
  20693. LW.C1 = ca(mr(-60+(-50*i)),mr(-40-(-40*i)),0)
  20694. LW.C0 = cf(-0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(120*i),0)
  20695. RW.C1 = ca(mr(-60+(-50*i)),mr(40+(-40*i)),0)
  20696. RW.C0 = cf(0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(-120*i),0)
  20697. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20698. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20699. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20700. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20701. wait()
  20702. end
  20703. end
  20704. local function movezx(i1,i2,is,bp)
  20705. if SwordType == "Single" then
  20706. for i=i1,i2,is*Speed do
  20707. LW.C1 = ca(mr(-120+(20*i)),0,0)
  20708. LW.C0 = cf(0,0.8,0.7) *ca(0,mr(120+(20*i)),0)
  20709. RW.C1 = ca(mr(-120+(20*i)),0,0)
  20710. RW.C0 = cf(0,0.8,0.7) *ca(0,mr(-120+(-20*i)),0)
  20711. lh2.C1 = ca(mr(30+(-15*i)),0,mr(15+(-8*i)))
  20712. rh2.C1 = ca(mr(30+(-15*i)),0,mr(-15+(8*i)))
  20713. lh2.C0 = cf(-0.7,-1.9,0.35)
  20714. rh2.C0 = cf(0.7,-1.9,0.35)
  20715. bp.position = Vector3.new(bpos.x,(hpos+10)+(3*i),bpos.z)
  20716. wait()
  20717. end
  20718. else
  20719. for i=i1,i2,is*Speed do
  20720. LW.C1 = ca(mr(-110),mr(0),0)
  20721. LW.C0 = cf(-0.1,0.8,0.7) *ca(0,mr(120+(20*i)),0)
  20722. RW.C1 = ca(mr(-110),mr(0),0)
  20723. RW.C0 = cf(0.1,0.8,0.7) *ca(0,mr(-120+(-20*i)),0)
  20724. lh2.C1 = ca(mr(30+(-15*i)),0,mr(15+(-8*i)))
  20725. rh2.C1 = ca(mr(30+(-15*i)),0,mr(-15+(8*i)))
  20726. lh2.C0 = cf(-0.7,-1.9,0.35)
  20727. rh2.C0 = cf(0.7,-1.9,0.35)
  20728. bp.position = Vector3.new(bpos.x,(hpos+10)+(3*i),bpos.z)
  20729. wait()
  20730. end
  20731. end
  20732. end
  20733. local moved = 2
  20734. repeat
  20735. if Rage >= MaxRage or Anim.key.z == false then break end
  20736. if moved == 2 then moved = 1 movezx(0,1,0.025,bp) else moved = 2 movezx(1,0,-0.025,bp) end
  20737. until Rage >= MaxRage or Anim.key.z == false or lostcontrol == true
  20738. if SwordType == "Single" then
  20739. for i=1,0,-0.1*Speed do
  20740. LW.C1 = ca(mr(-80+(-30*i)),mr(40-(40*i)),0)
  20741. LW.C0 = cf(0.6-(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(120*i),0)
  20742. RW.C1 = ca(mr(-80+(-30*i)),mr(-40+(40*i)),0)
  20743. RW.C0 = cf(-0.6+(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(-120*i),0)
  20744. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20745. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20746. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20747. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20748. wait()
  20749. end
  20750. else
  20751. for i=1,0,-0.1*Speed do
  20752. LW.C1 = ca(mr(-60+(-50*i)),mr(-40-(-40*i)),0)
  20753. LW.C0 = cf(-0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(120*i),0)
  20754. RW.C1 = ca(mr(-60+(-50*i)),mr(40+(-40*i)),0)
  20755. RW.C0 = cf(0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(-120*i),0)
  20756. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20757. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20758. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20759. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20760. wait()
  20761. end
  20762. end
  20763. Lh,Rh = FeetWeld(false,lh2,rh2)
  20764. wait(0.6)
  20765. Anim.Act = false
  20766. Anim.Move = "None"
  20767. end))
  20768. for i=1,0.3,-0.14*Speed do wav.Transparency = i wait() end
  20769. rpos = 0
  20770. Sound(Sounds.Cast,0.8,1)
  20771. repeat wait()
  20772. local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
  20773. if Hit == nil then lostcontrol = true break end
  20774. hpos = hitpos.y if math.random(1,6) == 4 then Functions.Sparkle(Torso,8) end
  20775. if math.random(1,3) == 3 then Functions.BrickWarpDesign(Torso,10) end wavv = wavv + 10 Rage = Rage - (RageCost["RageRegening"]*RageIncome)
  20776. wav.CFrame = cf(Torso.Position.x,hpos+1.4,Torso.Position.z) *ca(0,mr(wavv),0)
  20777. until Rage >= MaxRage or Anim.key.z == false
  20778. for i=0.3,01,0.14*Speed do wav.Transparency = i wait() end wav:Remove()
  20779. bp:Remove()
  20780. Humanoid.WalkSpeed = Humanoid.WalkSpeed + (RealSpeed-4)
  20781. end
  20782. Functions.Teleport = function(i1,i2,is,RaigCost)
  20783. Anim.Act = true
  20784. for i=i1,i2,is*Speed do
  20785. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  20786. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  20787. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  20788. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  20789. Torw.C1 = ca(0,mr(50*i),0)
  20790. wait()
  20791. end
  20792. local tele = false
  20793. local tele2 = false -- for mouse
  20794. local mouseact = mouse.Button1Up:connect(function() tele2 = true end)
  20795. coroutine.resume(coroutine.create(function() Sound(Sounds.Cast,1.2,1) wait(12) tele = true end))
  20796. local telepos = Torso.Position
  20797. local telehit = nil
  20798. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,0.3,0.1,BladeColor) wav.Anchored = true
  20799. local wavm = BlastMesh:Clone()
  20800. wavm.Parent = wav
  20801. local wavv = 0
  20802. wavm.Scale = Vector3.new(3.5,2,3.5)
  20803. repeat
  20804. local mpos = mouse.hit.p + Vector3.new(0,2,0)
  20805. telehit,telepos = rayCast(mpos,((mpos - Vector3.new(0,10000,0)) - mpos),999.999,Player.Character)
  20806. wavv = wavv + 8 Functions.Sparkle(La,3) Functions.BrickWarpDesign(La,4)
  20807. 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
  20808. wait() until tele == true or tele2 == true mouseact:disconnect()
  20809. if telehit == nil or math.abs((Torso.Position - telepos).magnitude) > Props.MaxTeleDistance then
  20810. 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()
  20811. wav:Remove()
  20812. else
  20813. MinusRage(RaigCost)
  20814. for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
  20815. ShockWave(Torso,7,BladeColor)
  20816. Torso.CFrame = wav.CFrame + Vector3.new(0,2.2,0) Sound(Sounds.EnergyBlast,1.2,0.6)
  20817. ShockWave(Torso,7,BladeColor)
  20818. for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
  20819. 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()
  20820. end
  20821. for i=i2,i1,-is*Speed do
  20822. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  20823. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  20824. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  20825. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  20826. Torw.C1 = ca(0,mr(50*i),0)
  20827. wait()
  20828. end
  20829. Anim.Act = false
  20830. end
  20831.  
  20832. --------------------------------------------------------------------------------------------------------------
  20833. --------------------------------------------------------------------------------------------------------------
  20834. --------------------------------------------------------------------------------------------------------------
  20835. --------------------------------------------------------------------------------------------------------------
  20836. bin.Selected:connect(function(mm)
  20837. Mouse = mouse
  20838. mouse = mm
  20839. Torso["Left Hip"].Part0 = Tor
  20840. Torso["Right Hip"].Part0 = Tor
  20841. RS.Parent = nil
  20842. LS.Parent = nil
  20843. RW.Parent = Torso
  20844. RW.Part0 = Fra
  20845. RW.Part1 = Ra
  20846. LW.Parent = Torso
  20847. LW.Part0 = Fla
  20848. LW.Part1 = La
  20849. RW.C0 = CFrame.new(0,0,0) RW.C1 = CFrame.new(0,0,0)
  20850. LW.C0 = CFrame.new(0,0,0) LW.C1 = CFrame.new(0,0,0)
  20851. Anims.Equip(0,1,0.07*Speed)
  20852. Anim.Equipped = true
  20853. mouse.KeyDown:connect(function(key)
  20854. key:lower()
  20855. pcall(function() Anim.key[key:lower()] = true end)
  20856. keydown = true
  20857. if key == "z" and Anim.Move == "None" and not Anim.Act then
  20858. Functions.RageRegen()
  20859. end
  20860. if SwordType == "Single" then
  20861. if key == "e" and Anim.Move == "None" and not Anim.Act and RageCost["RotorBlade"] <= Rage then
  20862. Anim.Move = "RotorBlade"
  20863. Anims.RotorBlade(0,1,0.08*Speed,RageCost["RotorBlade"])
  20864. Anim.Move = "None"
  20865. elseif key == "q" and Anim.Move == "None" and not Anim.Act and RageCost["Boomerang"] <= Rage then
  20866. Anim.Move = "Boomerang"
  20867. Anims.Boomerang(0,1,0.08*Speed,RageCost["Boomerang"])
  20868. Anim.Move = "None"
  20869. elseif key == "f" and Anim.Move == "None" and not Anim.Act and RageCost["BoulderForce"] <= Rage then
  20870. Anim.Move = "BoulderForce"
  20871. Anims.BoulderForce(0,1,0.08*Speed,RageCost["BoulderForce"])
  20872. Anim.Move = "None"
  20873. elseif key == "r" and Anim.Move == "None" and not Anim.Act and RageCost["ForceWave"] <= Rage then
  20874. Anim.Move = "ForceWave"
  20875. Anims.ForceWave(0,1,0.08*Speed,RageCost["ForceWave"])
  20876. Anim.Move = "None"
  20877. elseif key == "t" and Anim.Move == "None" and not Anim.Act and RageCost["Teleport"] <= Rage then
  20878. Anim.Move = "Teleport"
  20879. Functions.Teleport(0,1,0.08*Speed,RageCost["Teleport"])
  20880. Anim.Move = "None"
  20881. end
  20882. elseif SwordType == "Dual" then
  20883. if key == "e" and Anim.Move == "None" and not Anim.Act and RageCost["DualSpin"] <= Rage then
  20884. Anim.Move = "DualSpin"
  20885. Anims.DualSpin(0,1,0.08*Speed,RageCost["DualSpin"])
  20886. Anim.Move = "None"
  20887. end
  20888. end
  20889. end)
  20890. mouse.KeyUp:connect(function(key)
  20891. pcall(function() Anim.key[key:lower()] = false end)
  20892. keydown = false
  20893. end)
  20894.  
  20895. mouse.Button1Down:connect(function() Anim.Button = true
  20896. if not Anim.Click and Anim.Move == "None" and not Anim.Act then
  20897. Anim.Click = true
  20898. if Anim.CanBerserk ~= 0 then Anim.CanBerserk = Anim.CanBerserk + 1 end
  20899. if Anim.CanBerserk == 0 and RageCost["Berserk"] <= Rage then
  20900. Rage = Rage - RageCost["Berserk"]
  20901. Anim.ComboBreak = true
  20902. Speed = Speed + 0.5
  20903. Anim.CanBerserk = Anim.CanBerserk + 1
  20904. --Anim.Move = "LeftPunch"
  20905. --Anims.LeftPunch(0,1,0.1*Speed,0) Anim.Move = "None"
  20906. elseif Anim.CanBerserk == 2 then
  20907. Anim.CanBerserk = 0
  20908. end
  20909. 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))
  20910. wait(0.1)
  20911. Anim.Click = false
  20912. end
  20913. end)
  20914. mouse.Button1Up:connect(function() Anim.Button = false
  20915. end)
  20916. end)
  20917. bin.Deselected:connect(function(mouse)
  20918. Anim.Equipped = false
  20919. if SwordType == "Dual" then Anims.ChangeToSingle(0,1,0.25*Speed) SwordType = "Single" end
  20920. Anims.UnEquip(1,0,-0.08*Speed)
  20921. RW.Parent = nil
  20922. LW.Parent = nil
  20923. RS.Parent = Torso
  20924. RS.Part0 = Torso
  20925. RS.Part1 = Ra
  20926. LS.Parent = Torso
  20927. LS.Part0 = Torso
  20928. LS.Part1 = La
  20929. if Rh.Parent == nil then
  20930. FeetWeld(false,Lh,Rh)
  20931. end
  20932. Torso["Left Hip"].Part0 = Torso
  20933. Torso["Right Hip"].Part0 = Torso
  20934. end)
  20935. Hum.WalkSpeed = RealSpeed
  20936. Rage = 100000
  20937. wait(5)
  20938.         end)
  20939. --
  20940. local button = Instance.new("TextButton")
  20941.         button.Parent = ws
  20942.         button.BackgroundColor3 = blak
  20943.         button.BorderColor3 = rede
  20944.         button.BorderSizePixel = 3
  20945.         button.Name = "Master Hand"
  20946.         button.Position = UDim2.new(0,0,0,132)
  20947.         button.Size = UDim2.new(0.499,0,0,30)
  20948.         button.ZIndex = 2
  20949.         button.Font = tef
  20950.         button.FontSize = "Size14"
  20951.         button.Text = "Master Hand"
  20952.         button.TextColor3 = whit
  20953.         button.TextWrapped = true
  20954.                 button.MouseButton1Down:connect(function()
  20955.                 --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go down to line 23 and put your name where it says "YOUR NAME HERE"
  20956.  
  20957.  
  20958. 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
  20959. bc =  BrickColor.new ab = math.abs de = math.deg ts = tostring tn = tonumber ti =  table.insert tr = table.remove
  20960. cr = coroutine.resume cc =  coroutine.create
  20961. asset = "http://www.roblox.com/asset/?id="
  20962. sr =  string.reverse sl = string.lower su = string.upper
  20963. Serv = {} Serv.p =  game:GetService(sr("sreyalP")) Serv.l = game:GetService(sr("gnithgiL"))  
  20964. Serv.is = game:GetService(sr("ecivreStresnI")) if  game:findFirstChild(sr("revreSkrowteN")) then Serv.ns =  game:GetService(sr("revreSkrowteN")) else NetworkServer = nil end
  20965. Serv.sg =  game:GetService(sr("iuGretratS")) Serv.sp = game:GetService(sr("kcaPretratS"))  Serv.d = game:GetService(sr("sirbeD"))
  20966. Decs = {}
  20967. Decs.Crack = "49173398"  Decs.Cloud = "1095708" Decs.Spike = "1033714" Decs.Rock = "1290033" Decs.Crown =  "1323306"
  20968. 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
  20969. 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  
  20970. 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"
  20971. 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
  20972. fp.TopSurface = 0 fp.CFrame = t.CFrame + Vector3.new(0,50,0) fp.Velocity =  Vector3.new(0,10,0) fp:BreakJoints() return fp end
  20973. function clearit(tab) for  xx=1,#tab do tab[xx]:Remove() end end
  20974. 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
  20975. 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
  20976. 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
  20977. p  = Serv.p.LocalPlayer
  20978. bp = p.Backpack
  20979. pg = p.PlayerGui
  20980. c =  p.Character
  20981. he = c.Head
  20982. t = c.Torso
  20983. hu = c.Humanoid
  20984. mou =  nil
  20985. re(c,"Hand")
  20986. s = 2
  20987.  
  20988. --tool var
  20989. Equip = false
  20990. HTrans =  0
  20991. HRef = 0
  20992. HCol = "a"
  20993. LaserCol = "Really black"
  20994. LaserCol2 = "Really  red"
  20995. LaserCol3 = "Really black"
  20996. Posing = "Follow"
  20997. Facing =  "Owner"
  20998. Anim = {}
  20999. Anim.a = "None"
  21000. Anim.b = "None"
  21001. Anim.Welding =  0
  21002. local fingwide = 1.5*s
  21003. local finghei = 2.8
  21004. local tiphei =  2.55
  21005. handoffset = v3(5,18,-8)*s
  21006. bgx,bgy,bgz = -90,0,0
  21007. w = {}
  21008. Button  = false
  21009. --
  21010. BlastMesh = it("FileMesh")
  21011. BlastMesh.MeshId =  "http://www.roblox.com/asset/?id=20329976"
  21012. RingMesh =  it("FileMesh")
  21013. RingMesh.MeshId =  "http://www.roblox.com/asset/?id=3270017"
  21014. RockMesh =  it("FileMesh")
  21015. DiamondMesh = it("FileMesh")
  21016. DiamondMesh.MeshId =  "http://www.roblox.com/Asset/?id=9756362"
  21017.  
  21018. m = Instance.new("Model",c)  m.Name = "Hand"
  21019. Palm =  pa(m,"Block",6*s,7*s,fingwide*2,true,false,HTrans,HRef,HCol)  mbm(Palm,1,1,0.6)
  21020. local x,y,z =  Palm.Size.x,Palm.Size.y,Palm.Size.z
  21021. bPoint1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21022. Point1 =  weld(bPoint1,Palm,bPoint1,-x/2+(fingwide/2),y/2,0,0,0,0)
  21023. pPoint1 =  pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPoint1,0.9,1,0.9)
  21024. wPoint1 =  weld(pPoint1,bPoint1,pPoint1,0,pPoint1.Size.y/2,0,0,0,0)
  21025. bPoint2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21026. Point2 =  weld(bPoint2,pPoint1,bPoint2,0,pPoint1.Size.y/2,0,0,0,0)
  21027. pPoint2 =  pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPoint2,0.9,1,0.9)
  21028. wPoint2 =  weld(pPoint2,bPoint2,pPoint2,0,pPoint1.Size.y/2,0,0,0,0)
  21029. bPoint3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21030. Point3 =  weld(bPoint3,pPoint2,bPoint3,0,pPoint2.Size.y/2,0,0,0,0)
  21031. pPoint3 =  pa(m,"Block",fingwide,tiphei*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPoint3,0.9,1,0.9)
  21032. wPoint3 =  weld(pPoint3,bPoint3,pPoint3,0,pPoint3.Size.y/2,0,0,0,0)
  21033. bMid1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21034. Mid1 =  weld(bMid1,Palm,bMid1,-x/2+((fingwide/2)+((fingwide)*1)),y/2,0,0,0,0)
  21035. pMid1 =  pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pMid1,0.9,1,0.9)
  21036. wMid1 =  weld(pMid1,bMid1,pMid1,0,pMid1.Size.y/2,0,0,0,0)
  21037. bMid2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21038. Mid2 =  weld(bMid2,pMid1,bMid2,0,pMid1.Size.y/2,0,0,0,0)
  21039. pMid2 =  pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pMid2,0.9,1,0.9)
  21040. wMid2 =  weld(pMid2,bMid2,pMid2,0,pMid1.Size.y/2,0,0,0,0)
  21041. bMid3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21042. Mid3 =  weld(bMid3,pMid2,bMid3,0,pMid2.Size.y/2,0,0,0,0)
  21043. pMid3 =  pa(m,"Block",fingwide,(tiphei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pMid3,0.9,1,0.9)
  21044. wMid3 =  weld(pMid3,bMid3,pMid3,0,pMid3.Size.y/2,0,0,0,0)
  21045. bRing1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21046. Ring1 =  weld(bRing1,Palm,bRing1,-x/2+((fingwide/2)+((fingwide)*2)),y/2,0,0,0,0)
  21047. pRing1  = pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pRing1,0.9,1,0.9)
  21048. wRing1 =  weld(pRing1,bRing1,pRing1,0,pRing1.Size.y/2,0,0,0,0)
  21049. bRing2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21050. Ring2 =  weld(bRing2,pRing1,bRing2,0,pRing1.Size.y/2,0,0,0,0)
  21051. pRing2 =  pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pRing2,0.9,1,0.9)
  21052. wRing2 =  weld(pRing2,bRing2,pRing2,0,pRing1.Size.y/2,0,0,0,0)
  21053. bRing3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21054. Ring3 =  weld(bRing3,pRing2,bRing3,0,pRing2.Size.y/2,0,0,0,0)
  21055. pRing3 =  pa(m,"Block",fingwide,(tiphei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pRing3,0.9,1,0.9)
  21056. wRing3 =  weld(pRing3,bRing3,pRing3,0,pRing3.Size.y/2,0,0,0,0)
  21057. bPinkie1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21058. Pinkie1 =  weld(bPinkie1,Palm,bPinkie1,-x/2+((fingwide/2)+((fingwide)*3)),y/2,0,0,0,0)
  21059. pPinkie1  = pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPinkie1,0.9,1,0.9)
  21060. wPinkie1 =  weld(pPinkie1,bPinkie1,pPinkie1,0,pPinkie1.Size.y/2,0,0,0,0)
  21061. bPinkie2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21062. Pinkie2 =  weld(bPinkie2,pPinkie1,bPinkie2,0,pPinkie1.Size.y/2,0,0,0,0)
  21063. pPinkie2 =  pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPinkie2,0.9,1,0.9)
  21064. wPinkie2 =  weld(pPinkie2,bPinkie2,pPinkie2,0,pPinkie1.Size.y/2,0,0,0,0)
  21065. bPinkie3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21066. Pinkie3 =  weld(bPinkie3,pPinkie2,bPinkie3,0,pPinkie2.Size.y/2,0,0,0,0)
  21067. pPinkie3 =  pa(m,"Block",fingwide,(tiphei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPinkie3,0.9,1,0.9)
  21068. wPinkie3 =  weld(pPinkie3,bPinkie3,pPinkie3,0,pPinkie3.Size.y/2,0,0,0,0)
  21069. bThumb1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21070. Thumb1 =  weld(bThumb1,Palm,bThumb1,-x/2+(fingwide/7),-y*0.1,-fingwide*0.25,0,0,0)
  21071. 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)
  21072. wThumb1 =  weld(pThumb1,bThumb1,pThumb1,0,pThumb1.Size.y/2,0,0,0,0)
  21073. bThumb2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21074. Thumb2 =  weld(bThumb2,pThumb1,bThumb2,0,pThumb1.Size.y/2,0,0,0,0)
  21075. 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)
  21076. wThumb2 =  weld(pThumb2,bThumb2,pThumb2,0,pThumb1.Size.y/2,0,0,0,0)
  21077. bThumb3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21078. Thumb3 =  weld(bThumb3,pThumb2,bThumb3,0,pThumb2.Size.y/2,0,0,0,0)
  21079. 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)
  21080. wThumb3 =  weld(pThumb3,bThumb3,pThumb3,0,pThumb3.Size.y/2,0,0,0,0)
  21081.  
  21082. w["a1"] =  Pinkie1
  21083. w["a2"] = Pinkie2
  21084. w["a3"] = Pinkie3
  21085. w["b1"] = Ring1
  21086. w["b2"]  = Ring2
  21087. w["b3"] = Ring3
  21088. w["c1"] = Mid1
  21089. w["c2"] = Mid2
  21090. w["c3"] =  Mid3
  21091. w["d1"] = Point1
  21092. w["d2"] = Point2
  21093. w["d3"] = Point3
  21094. w["e1"] =  Thumb1
  21095. w["e2"] = Thumb2
  21096. w["e3"] = Thumb3
  21097. w.e1.C1 =  ca(0,rd(35),rd(-20))
  21098. w.e2.C1 = ca(rd(20),0,0)
  21099. w.e3.C1 =  ca(rd(20),0,0)
  21100. w.d1.C1 = ca(0,0,rd(-3))
  21101. w.c1.C1 =  ca(0,0,rd(-1))
  21102. w.b1.C1 = ca(0,0,rd(1))
  21103. w.a1.C1 = ca(0,0,rd(3))
  21104. function  c1(wexx,smmx,xx,yy,zz)
  21105. coroutine.resume(coroutine.create(function()
  21106. local  xx2,yy2,zz2 = wexx.C1:toEulerAnglesXYZ()
  21107. local aa,bb,cc =  wexx.C0.x,wexx.C0.y,wexx.C0.z
  21108. local twa = smmx/wt
  21109. Anim.Welding =  Anim.Welding + 1
  21110. for i=0,twa,1 do wexx.C0 = cf(aa,bb,cc)
  21111. wexx.C1 =  ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))
  21112. wait()
  21113. end  
  21114. Anim.Welding = Anim.Welding - 1
  21115. end))
  21116. end
  21117. 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
  21118. 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
  21119. function HandSign(form,spee) form = form:lower() if  spee == nil then spee = 1 end
  21120. if form == "f" then
  21121. CloseFing("d",spee)  CloseFing("a",spee) CloseFing("b",spee)
  21122. c1(w["c1"],spee,0,0,0)  c1(w["c2"],spee,0,0,0) c1(w["c3"],spee,0,0,0)
  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 == "fist"  then
  21125. CloseFing("d",spee) CloseFing("a",spee) CloseFing("b",spee)  CloseFing("c",spee)
  21126. c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0)  c1(w["e3"],spee,50,0,0)
  21127. elseif form == "pointer" then
  21128. CloseFing("a",spee)  CloseFing("b",spee) CloseFing("c",spee)
  21129. c1(w["d1"],spee,5,0,0)  c1(w["d2"],spee,5,0,0) c1(w["d3"],spee,5,0,0)
  21130. c1(w["e1"],spee,70,40,-90)  c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  21131. elseif form == "v"  then
  21132. CloseFing("a",spee) CloseFing("b",spee)
  21133. c1(w["c1"],spee,1,0,15)  c1(w["c2"],spee,1,0,0) c1(w["c3"],spee,1,0,0)
  21134. c1(w["d1"],spee,1,0,-15)  c1(w["d2"],spee,1,0,0) c1(w["d3"],spee,1,0,0)
  21135. c1(w["e1"],spee,70,40,-90)  c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  21136. elseif form == "free" or  form == "five" then
  21137. OpenFing("a",spee) OpenFing("b",spee) OpenFing("c",spee)  OpenFing("d",spee)
  21138. c1(w["e1"],spee,0,35,-20) c1(w["e2"],spee,20,0,0)  c1(w["e3"],spee,20,0,0)
  21139. elseif form == "ride" then  
  21140. c1(w["a1"],spee,60,0,0) c1(w["a2"],spee,-30,0,0) c1(w["a3"],spee,-30,0,0)  
  21141. c1(w["b1"],spee,30,0,0) c1(w["b2"],spee,65,0,0) c1(w["b3"],spee,60,0,0)  
  21142. c1(w["c1"],spee,30,0,0) c1(w["c2"],spee,65,0,0) c1(w["c3"],spee,60,0,0)  
  21143. c1(w["d1"],spee,30,0,0) c1(w["d2"],spee,65,0,0) c1(w["d3"],spee,60,0,0)  
  21144. c1(w["e1"],spee,-70,185,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0)  
  21145. elseif form == "gun" then
  21146. CloseFing("a",spee)  CloseFing("b",spee)
  21147. c1(w["c1"],spee,0,0,1) c1(w["c2"],spee,0,0,0)  c1(w["c3"],spee,0,0,0)
  21148. c1(w["d1"],spee,0,0,-1) c1(w["d2"],spee,0,0,0)  c1(w["d3"],spee,0,0,0)
  21149. c1(w["e1"],spee,-60,90,0) c1(w["e2"],spee,20,0,0)  c1(w["e3"],spee,-20,0,0)
  21150. elseif form == "wide"  then
  21151. c1(w["a1"],spee,-3,0,45) c1(w["a2"],spee,-3,0,0) c1(w["a3"],spee,-3,0,0)  
  21152. c1(w["b1"],spee,-3,0,15) c1(w["b2"],spee,-3,0,0) c1(w["b3"],spee,-3,0,0)  
  21153. c1(w["c1"],spee,-3,0,-15) c1(w["c2"],spee,-3,0,0) c1(w["c3"],spee,-3,0,0)  
  21154. c1(w["d1"],spee,-3,0,-45) c1(w["d2"],spee,-3,0,0) c1(w["d3"],spee,-3,0,0)  
  21155. c1(w["e1"],spee,-70,90,0) c1(w["e2"],spee,10,0,0) c1(w["e3"],spee,-10,0,0)  
  21156. elseif form == "wide2" then
  21157. c1(w["a1"],spee,-18,0,45)  c1(w["a2"],spee,36,0,0) c1(w["a3"],spee,30,0,0)
  21158. c1(w["b1"],spee,-18,0,15)  c1(w["b2"],spee,36,0,0) c1(w["b3"],spee,30,0,0)
  21159. c1(w["c1"],spee,-18,0,-15)  c1(w["c2"],spee,36,0,0) c1(w["c3"],spee,30,0,0)
  21160. c1(w["d1"],spee,-18,0,-45)  c1(w["d2"],spee,36,0,0) c1(w["d3"],spee,30,0,0)
  21161. c1(w["e1"],spee,-50,90,-10)  c1(w["e2"],spee,5,0,-30) c1(w["e3"],spee,-10,0,-40)
  21162. elseif form == "grab2"  then
  21163. c1(w["a1"],spee,-70,-65,0) c1(w["a2"],spee,40,0,0)  c1(w["a3"],spee,20,0,0)
  21164. c1(w["b1"],spee,-70,-20,0) c1(w["b2"],spee,40,0,0)  c1(w["b3"],spee,20,0,0)
  21165. c1(w["c1"],spee,-70,20,-0) c1(w["c2"],spee,40,0,0)  c1(w["c3"],spee,20,0,0)
  21166. c1(w["d1"],spee,-70,65,-0) c1(w["d2"],spee,40,0,0)  c1(w["d3"],spee,20,0,0)
  21167. c1(w["e1"],spee,-70,150,0) c1(w["e2"],spee,30,0,0)  c1(w["e3"],spee,30,0,0)
  21168. elseif form == "grab3"  then
  21169. c1(w["a1"],spee,-30,-40,30) c1(w["a2"],spee,50,0,0)  c1(w["a3"],spee,35,0,0)
  21170. c1(w["b1"],spee,-30,-15,12) c1(w["b2"],spee,50,0,0)  c1(w["b3"],spee,35,0,0)
  21171. c1(w["c1"],spee,-30,15,-12) c1(w["c2"],spee,50,0,0)  c1(w["c3"],spee,35,0,0)
  21172. c1(w["d1"],spee,-30,40,-30) c1(w["d2"],spee,50,0,0)  c1(w["d3"],spee,35,0,0)
  21173. c1(w["e1"],spee,-55,205,0) c1(w["e2"],spee,30,0,0)  c1(w["e3"],spee,30,0,0)
  21174. end
  21175. end
  21176. function  ColFings(iscol)
  21177. pPinkie1.CanCollide = iscol
  21178. pPinkie2.CanCollide =  iscol
  21179. pPinkie3.CanCollide = iscol
  21180. pRing1.CanCollide =  iscol
  21181. pRing2.CanCollide = iscol
  21182. pRing3.CanCollide =  iscol
  21183. pMid1.CanCollide = iscol
  21184. pMid2.CanCollide =  iscol
  21185. pMid3.CanCollide = iscol
  21186. pPoint1.CanCollide =  iscol
  21187. pPoint2.CanCollide = iscol
  21188. pPoint3.CanCollide =  iscol
  21189. pThumb1.CanCollide = iscol
  21190. pThumb2.CanCollide =  iscol
  21191. pThumb3.CanCollide = iscol
  21192. end
  21193. function ray(Pos, Dir)
  21194. return  Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *999), c)
  21195. end
  21196. 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
  21197. coroutine.resume(coroutine.create(function()
  21198. 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)
  21199. local de = it("Decal",cr)  de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,25)  end
  21200. for i=1,4 do
  21201. coroutine.resume(coroutine.create(function()
  21202. 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"
  21203. 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)
  21204. 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)
  21205. Dustplosion(cf(pos.p+v3(0,2*s,0)),18*s,{"Really  red","Really black","Really red"},1)
  21206. if eos == "earth" then
  21207. for x=1,8  do
  21208. sw.CFrame = sw.CFrame *cf(0,sw.Size.y/8,0) wait() end wait(ra(1,5))
  21209. for  x=1,20 do
  21210. sw.CFrame = sw.CFrame *cf(0,-sw.Size.y/20,0) wait()
  21211. end  sw:Remove()
  21212. else
  21213. for x=1,25 do
  21214. 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
  21215. end sw:Remove()
  21216. end)) end  
  21217. wait(0.3)
  21218. DmgHumanoidsNear(pos.p,dmg,rndmg,5.5*s*(siz/4),forc)
  21219. end))
  21220. end
  21221.  
  21222. function  Dustplosion(onb,scale,col,cls) coroutine.resume(coroutine.create(function()  
  21223. for x=1,cls do coroutine.resume(coroutine.create(function()
  21224. 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"
  21225. swm.MeshId = asset ..  Decs.Cloud sw.CFrame = sw.CFrame +  v3(ra(-scale,scale)/8,ra(-scale,scale)/8,ra(-scale,scale)/8)
  21226. for  i=1,scale,0.25 do
  21227. swm.Scale = v3(i*1.5,i*1,i*1.5) sw.Transparency =  ((i/scale)/2) + 0.45
  21228. wait()
  21229. end
  21230. sw:Remove()
  21231. end)) end
  21232. end)) end  
  21233. 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
  21234. 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
  21235. function BlastWave(onb,scale,ymes,col)  coroutine.resume(coroutine.create(function()
  21236. 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"
  21237. swm.MeshId = BlastMesh.MeshId
  21238. for i=1,scale,scale/11 do  
  21239. 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
  21240. wait()
  21241. end
  21242. sw:Remove()
  21243. end))
  21244. end
  21245. 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)
  21246. e1.Transparency = 0.6  e1.TopSurface = 0 e1.BottomSurface = 0 e1.Parent = Torm e1.CFrame = onb local  e1m = Instance.new("SpecialMesh")
  21247. 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"
  21248. 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"
  21249. r2m.Parent = r2  r2m.Scale = Vector3.new(3,3,3) r2m.MeshId = RingMesh.MeshId local bla =  Instance.new("Part") bla.Anchored = true
  21250. 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")  
  21251. 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)
  21252. r1m.Scale = r1m.Scale +  Vector3.new(pluscal,pluscal,pluscal) r2m.Scale = r1m.Scale +  Vector3.new(pluscal,pluscal,pluscal)
  21253. 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)
  21254. 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
  21255.  
  21256. function  Hurtsplosion(pos,dmg,rndmg,siz,forc)
  21257. coroutine.resume(coroutine.create(function()  local boomcol = {"Really red","Really black","Really red"}
  21258. for i=1,3 do  
  21259. coroutine.resume(coroutine.create(function()
  21260. 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
  21261. plos.CFrame = cf(pos + v3(0,0,0)) *  ca(rd(ra(-360,360)),rd(ra(-360,360)),rd(ra(-360,360)))
  21262. plos.Mesh.Scale =  v3(0.1,0.1,0.1)
  21263. for i=0.3,1,0.03 do local plc =  plos.CFrame
  21264. plos.Mesh.Scale = v3(i*6,i*6,i*6) plos.Transparency = i  plos.CFrame = plc *  ca(rd(3),rd(3),0)
  21265. wait()
  21266. end
  21267. plos:Remove()
  21268. end))
  21269. end  
  21270. end))
  21271. wait(0.1)
  21272. DmgHumanoidsNear(pos,dmg,rndmg,5.5*s*siz,forc)
  21273. end
  21274.  
  21275. function  DmgHumanoidsNear(pos,dmg,rndmg,mag,forc)
  21276. local function kidive(ob)
  21277. for  i,v in pairs(ob:children()) do
  21278. 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  
  21279. v:BreakJoints() v.Velocity = cf(pos,v.Position).lookVector*forc
  21280. end
  21281. if  v:IsA("Humanoid") and v ~= hu and v.Parent:findFirstChild("Torso") then
  21282. if  (pos - v.Parent.Torso.Position).magnitude < mag then local tdmg =  dmg*ra(1,rndmg)
  21283. if v.Parent:findFirstChild("Hh") == nil then local hh=  Instance.new("NumberValue",v.Parent) hh.Name = "Hh"
  21284. hh.Value = v.Health -  tdmg else v.Parent.Hh.Value = v.Health - (tdmg*3.5) end
  21285. v.Health =  v.Parent.Hh.Value if v.Parent.Hh.Value < 1 then v.Parent:BreakJoints() end  
  21286. end
  21287. end
  21288. if v:IsA("Model") or v:IsA("Workspace") then kidive(v) end  end end
  21289. kidive(workspace)
  21290. end
  21291. function  Fire(bullet,typez,siz,dmg,rndmg,forc)
  21292. if typez == 1 then
  21293. bullet.Anchored =  true
  21294. local bullethit = false
  21295. local tyms = 0
  21296. repeat
  21297. tyms = tyms +  2
  21298. local bhit,bpos = ray(bullet.Position,bullet.Position - (bullet.CFrame  *cf(0,0,-1)).p)
  21299. 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
  21300. if tyms%32 == 0 then wait() end
  21301. until  bullethit or bullet.Position.y < -300 or tyms > 800
  21302. bullet.CFrame =  bullet.CFrame *cf(0,0,8) bullet:Remove()
  21303. if bullet.Position.y < -300  then
  21304. else
  21305. Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc)
  21306. end
  21307. elseif  typez == 2 then
  21308. bullet.Anchored = true
  21309. local bullethit = false
  21310. local  tyms = 0
  21311. local ming = 0.001
  21312. repeat
  21313. if tyms > 70 and (ming == 0.001  or ming == -2.5) then ming = -2.5
  21314. 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
  21315. end
  21316. tyms = tyms + 2
  21317. local bhit,bpos =  ray(bullet.Position,bullet.Position - (bullet.CFrame *cf(0,0,-1)).p)
  21318. 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
  21319. if  tyms%16 == 0 then wait() end
  21320. until bullethit or bullet.Position.y < -300  or tyms > 500
  21321. bullet.CFrame = bullet.CFrame *cf(0,0,8)  bullet:Remove()
  21322. if bullet.Position.y < -300  then
  21323. else
  21324. Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc)
  21325. end
  21326. elseif  typez == 3 then
  21327. end
  21328. end
  21329. function ShortifiedAnim(theanim)
  21330. if  theanim == "Beam" then
  21331. 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
  21332. 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)
  21333. dias =  {} loldiv = 360/8 for x=0,360,loldiv do
  21334. 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
  21335. diam.Scale = v3(3*s,9*s,3*s) table.insert(dias,dia)
  21336. end  Button = true coroutine.resume(coroutine.create(function() local tardz = 0  repeat wait() tardz = tardz+ 15
  21337. crom.CFrame = Palm.CFrame *ca(rd(-90),0,0)  *cf(0,5.5*s,2*s) *ca(0,rd(tardz),0)
  21338. 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
  21339. until not Button for x2=0.5,1,0.05 do wait()  crom.Transparency = x2 end end))
  21340. 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))
  21341. wait(1) local beamoffset = v3(0,0,0)
  21342. local b1 =  pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b1.Anchored = true  
  21343. local b2 = pa(m,"Block",10*s,1,10*s,false,false,0.1,0,LaserCol) b2.Anchored  = true local b2m = it("CylinderMesh",b2)
  21344. local b3 =  pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b3.Anchored = true  
  21345. local bpos = nil local bhit = nil local ts = 0
  21346. repeat beamoffset =  v3(ra(-2*s,2*s),ra(-2*s,2*s),ra(-2*s,2*s)) ts = ts + 1
  21347. bhit,bpos =  ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,0,1)).p)
  21348. if bhit == nil  or (Palm.Position - bpos).magnitude > 1500 then break end
  21349. b1.CFrame =  Palm.CFrame *cf(0,3*s,-11*s)
  21350. b3.CFrame = cf(bpos) local lenz = (b1.Position  - b3.Position).magnitude
  21351. b2.CFrame = cf(b1.Position,b3.Position)  *ca(rd(90),0,0) *cf(0,-lenz/2,0) b2m.Scale = v3(1,lenz,1)
  21352. b1.CFrame =  b1.CFrame + beamoffset b2.CFrame = b2.CFrame + beamoffset b3.CFrame = b3.CFrame  + beamoffset
  21353. 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
  21354. wait() until not  Button or ts > 600
  21355. 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))
  21356. 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))
  21357. wait(1)  clearit(dias) crom:Remove()
  21358. end
  21359. end
  21360. PalmLev = it("BodyPosition",Palm)  
  21361. PalmFace = it("BodyGyro",Palm) PalmFace.maxTorque =  v3(0,0,0)
  21362. coroutine.resume(coroutine.create(function()
  21363. PalmLev.position =  (t.CFrame *cf(handoffset)).p
  21364. local yspi = 0
  21365. while true do yspi = yspi +  8
  21366. if Anim.a == "Gun" or Anim.a == "Ride" or Anim.a == "Pound" then
  21367. Facing  = "Mouse" bgx = -90 bgy = 90 bgz = 0
  21368. elseif Anim.a == "Fu" or Anim.a ==  "Fist" or Anim.a == "GroundGrip" then
  21369. Facing = "Mouse" bgx = -90 bgy = 0 bgz  = 0
  21370. elseif Anim.a == "Splat" or Anim.a == "Beam" then
  21371. Facing = "Mouse"  bgx = 0 bgy = 0 bgz = 0
  21372. elseif Anim.a == "None" then
  21373. Facing = "Owner"  bgx = -90 bgy = 0 bgz = 0 Posing = "Follow"
  21374. elseif Anim.a == "Shower"  then
  21375. Facing = "None" bgx = 0 bgy = 0 bgz = 0 Posing = "TopOwner"
  21376. end  
  21377. if Posing == "Follow" then
  21378. PalmLev.maxForce = v3(1/0,1/0,1/0)  PalmLev.position = (t.CFrame *cf(handoffset) *cf(0,0,0)).p
  21379. elseif Posing ==  "TopOwner" then
  21380. PalmLev.maxForce = v3(1/0,1/0,1/0) PalmLev.position =  (t.CFrame *cf(0,12*s,0)).p
  21381. end
  21382. if Facing == "Owner" then  
  21383. PalmFace.maxTorque = v3(1/0,1/0,1/0) PalmFace.cframe =  cf(Palm.Position,he.Position) *ca(rd(bgx),rd(bgy),rd(bgz))
  21384. elseif Facing ==  "Mouse" and mou ~= nil and Equip then
  21385. 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
  21386. if Anim.b == "None" or  Anim.a == "Beam" or Anim.a == "Ride" then
  21387. PalmFace.cframe =  cf(Palm.Position,mou.Hit.p) *ca(rd(bgx),rd(bgy),rd(bgz)) wait(0.05)
  21388. end end  end
  21389. wait(0.05)
  21390. end
  21391. end))
  21392. function  FireFinger(lasercol,ffingz,targ,typez,siz,dmg,rndmg,forc)  coroutine.resume(coroutine.create(function()
  21393. 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"
  21394. local lw =  weld(laser,ffingz,laser,0,ffingz.Size.y/0.8 +(siz/2.5),0,rd(90),0,0)
  21395. for  i=1,0.4,-0.05 do laser.Transparency = i wait() end  
  21396. BlastWave(ffingz.CFrame*cf(0,ffingz.Size.y*1.3,0)*ca(0,0,0),ffingz.Size.x*1.6,1.8,LaserCol2)
  21397. lw:Remove()  laser.CFrame = cf(laser.Position,targ)
  21398. Fire(laser,typez,siz,dmg,rndmg,forc)  
  21399. end))
  21400. end
  21401. GrabWeld =  it("Weld",m)
  21402. Palm.Touched:connect(function(touch)
  21403. if Anim.a == "Ride" and  GrabWeld.Part1 == nil and touch.Parent:findFirstChild("Torso") and  touch.Parent:findFirstChild("Humanoid") then
  21404. local tor = touch.Parent.Torso  touch.Parent.Humanoid.PlatformStand = true
  21405. 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)
  21406. end
  21407. end)
  21408. re(bp,"Hand")
  21409. hb =  it("HopperBin",bp) hb.Name = "Hand"
  21410. hb.Selected:connect(function(mouse) mou =  mouse Equip = true
  21411. mouse.KeyDown:connect(function(k) k = k:lower()
  21412. if  Anim.a == "Ride" and k == "f" then  FireFinger(LaserCol,pPinkie3,mouse.Hit.p,1,2.25,1,18,30) end
  21413. if Anim.b ~=  "None" or Anim.Welding ~= 0 then return end
  21414. if Anim.a == "None" then
  21415. if k  == "f" then -- on anim on
  21416. Anim.a = "Gun" HandSign("Gun",0.7)
  21417. elseif k ==  "p" then
  21418. Anim.a = "Fu" HandSign("f",1)
  21419. elseif k == "g" then
  21420. Anim.a =  "Fist" HandSign("fist",1)
  21421. elseif k == "c" then
  21422. Anim.a = "Splat"  HandSign("wide",1)
  21423. elseif k == "r" then
  21424. Anim.a = "Ride" HandSign("ride",1)  Posing = "None"
  21425. elseif k == "v" then
  21426. Anim.a = "Shower" HandSign("grab2",1)  PalmFace.cframe = cf(0,0,0) *ca(0,0,0)
  21427. elseif k == "b" then
  21428. Anim.a =  "Pound" HandSign("fist",1)
  21429. elseif k == "x" then
  21430. Anim.a = "GroundGrip"  HandSign("grab2",1)
  21431. elseif k == "z" then
  21432. Anim.a = "Beam"  HandSign("wide2",1)
  21433. end
  21434. else
  21435. if k == "f" and Anim.a == "Gun" then --  on anim off
  21436. Anim.a = "None" HandSign("five",0.8)
  21437. elseif k == "p" and  Anim.a == "Fu" then
  21438. Anim.a = "None" HandSign("five",0.8)
  21439. elseif k == "g"  and Anim.a == "Fist" then
  21440. Anim.a = "None" HandSign("five",0.8)
  21441. elseif k ==  "c" and Anim.a == "Splat" then
  21442. Anim.a = "None" HandSign("five",0.8)
  21443. elseif  k == "r" and Anim.a == "Ride" then
  21444. Anim.a = "None" HandSign("five",0.8)  GrabWeld.Part0 = nil Anim.b = "None" Posing = "Follow" Facing = "Owner"
  21445. if  GrabWeld.Part1 ~= nil and GrabWeld.Part1.Parent:findFirstChild("Humanoid") ~=  nil then GrabWeld.Part1.Parent.Humanoid.PlatformStand = false end GrabWeld.Part1  = nil
  21446. elseif k == "v" and Anim.a == "Shower" then
  21447. Anim.a = "None"  HandSign("five",0.8) Posing = "Follow" Facing = "Owner"
  21448. elseif k == "b" and  Anim.a == "Pound" then
  21449. Anim.a = "None" HandSign("five",0.8)
  21450. elseif k ==  "x" and Anim.a == "GroundGrip" then
  21451. Anim.a = "None"  HandSign("five",0.8)
  21452. elseif k == "z" and Anim.a == "Beam" then
  21453. Anim.a =  "None"  HandSign("five",0.8)
  21454. end
  21455. end
  21456. end)
  21457. mouse.Button1Down:connect(function()
  21458. if  Anim.a == "None" or Anim.b ~= "None" then return end
  21459. if Anim.a == "Gun"  then
  21460. 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"
  21461. elseif  Anim.a == "Fu" then
  21462. Anim.b = "Fu"  FireFinger(LaserCol,pMid3,mouse.Hit.p,1,3.65,2,14,95) wait(0.25) Anim.b =  "None"
  21463. elseif Anim.a == "Fist" then
  21464. local bhit,bpos =  ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p)
  21465. if bhit ==  nil or (Palm.Position - bpos).magnitude > 500 then return end
  21466. Anim.b =  "Fist" Posing = "None" PalmFace.cframe = cf(Palm.Position,bpos)  *ca(rd(-90),0,0)
  21467. PalmLev.position = (Palm.CFrame  *cf(0,-15*s,0)).p
  21468. wait(0.45)
  21469. PalmLev.position = bpos + ((Palm.CFrame  *cf(0,1*s,0)).p - Palm.Position)
  21470. 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
  21471. Explode(Palm.CFrame *cf(0,6*s,0)  *ca(rd(180),0,0),15*s,ts(bhit.BrickColor))
  21472. DmgHumanoidsNear((Palm.CFrame  *cf(0,8,0)).p,3,10,(12*s)+2,105)
  21473. if not bhit.Anchored then PalmLev.position =  (Palm.CFrame *cf(0,12*s,0)).p wait(0.5) end
  21474. wait(1) Posing = "Follow" Anim.b  = "None"
  21475. elseif Anim.a == "Splat" then
  21476. if mouse.Target == nil and  (Palm.Position - mouse.Hit.p).magnitude > 500 then return end local bpos =  mouse.Hit.p
  21477. Anim.b = "Splat" Posing = "None"
  21478. 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)
  21479. local tz = 0 repeat  wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude <  5*s or tz > 1.3
  21480. for i=-90,0,5 do
  21481. PalmLev.position = PalmLev.position  + v3(0,2*s,0) PalmFace.cframe = cf(0,0,0) *ca(0,yb,0)  *ca(rd(i),0,0)
  21482. wait()
  21483. end wait(0.2)
  21484. for i=0,-100,-10 do
  21485. local lewd  = i
  21486. if lewd < -50 then lewd = -95 end
  21487. 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)
  21488. wait()
  21489. end wait(0.2)
  21490. 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)
  21491. local de = it("Decal",cr) de.Face = "Top"  de.Texture = asset .. Decs.Crack  Serv.d:AddItem(cr,16)
  21492. DmgHumanoidsNear((Palm.CFrame  *cf(0,0,-1)).p,3,20,(15*s)+2,110)
  21493. ShockWave(Palm.CFrame  *ca(rd(90),0,0),25*s,LaserCol)
  21494. wait(1) Posing = "Follow" Anim.b =  "None"
  21495. elseif Anim.a == "Ride" and Button == false then
  21496. Posing = "None"  Anim.b = "Ride"
  21497. Button = true
  21498. repeat PalmLev.position = (Palm.CFrame  *cf(0,10,0)).p wait() until Button == false
  21499. Anim.b = "None"
  21500. elseif Anim.a  == "Shower" and Button == false then
  21501. Anim.b = "Shower" Button = true  
  21502. repeat
  21503. local targz = Palm.Position + v3(0,20*s,0)
  21504. if ra(1,12) == 1  then FireFinger(LaserCol,pPinkie3,targz,2,4,1,18,55) end
  21505. if ra(1,13) == 1  then FireFinger(LaserCol,pRing3,targz,2,4,1,18,60) end
  21506. if ra(1,12) == 1 then  FireFinger(LaserCol,pMid3,targz,2,4,1,18,65) end
  21507. if ra(1,13) == 1 then  FireFinger(LaserCol,pPoint3,targz,2,4,1,18,70) end
  21508. if ra(1,12) == 1 then  FireFinger(LaserCol,pThumb3,targz,2,4,1,18,80) end
  21509. PalmFace.cframe =  PalmFace.cframe *ca(0,rd(10),0)
  21510. wait()
  21511. until Button == false
  21512. Anim.b =  "None"
  21513. elseif Anim.a == "Pound" and Anim.b == "None" then Posing = "None"  Anim.b = "Pound"
  21514. local bhit,bpos = ray(Palm.Position,Palm.Position -  (Palm.CFrame *cf(0,-1,0)).p)
  21515. if bhit == nil or (Palm.Position -  bpos).magnitude > 500 then return end
  21516. PalmLev.position = bpos +  v3(0,15*s,0)
  21517. local ya,yb,yc = PalmFace.cframe:toEulerAnglesXYZ()  PalmFace.cframe = ca(ya,yb,yc)
  21518. local tz = 0 repeat wait() tz = tz + wait()  until (PalmLev.position - Palm.Position).magnitude < 5*s or tz > 1.3  wait(0.1)
  21519. for i=-90,-10,10 do
  21520. PalmFace.cframe = ca(ya,yb,yc)  *ca(0,0,rd(i+90)) PalmLev.position = PalmLev.position + v3(0,2.5*s,0)
  21521. wait()  end wait(0.25) local realcf =  cf(v3(he.Position.x,0,he.Position.z),v3(Palm.Position.x,0,Palm.Position.z))
  21522. for  i=-10,-90,-10 do
  21523. PalmFace.cframe = ca(ya,yb,yc) *ca(0,0,rd(i+90))  PalmLev.position = PalmLev.position - v3(0,4*s,0)
  21524. wait() end PalmFace.cframe  = realcf *ca(rd(-90),rd(90),0) wait(0.25)
  21525. 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)
  21526. local de = it("Decal",cr) de.Face = "Top"  de.Texture = asset .. Decs.Crack  Serv.d:AddItem(cr,16)
  21527. Dustplosion(Palm.CFrame *cf(2*s,0,0)  *ca(rd(90),0,rd(90)),30*s,{"Really red","Really black","Really  red"},3)
  21528. ShockWave(Palm.CFrame *cf(2*s,0,0)  *ca(rd(90),0,rd(90)),20*s,ts(bhit.BrickColor))
  21529. DmgHumanoidsNear((Palm.CFrame  *cf(0,1,0)).p,1,20,(15*s)+2,90) wait(0.2)
  21530. local palmcf = cf(bpos) local  earthsplos = ra(5,8) palmcf = Palm.CFrame *ca(0,rd(90),0)  *ca(rd(-90),0,rd(0))
  21531. for i=1,earthsplos do Earthsplosion(palmcf  *cf(0,-2*s,((i*7)+7)*s),10,1,20,75) wait(0.1) end
  21532. Earthsplosion(palmcf  *cf(0,-2*s,(((earthsplos+1)*7)+7)*s),16,2,25,75)
  21533. wait(1) Posing = "Follow"  wait(0.25) Anim.b = "None"
  21534. elseif Anim.a == "GroundGrip" then Posing =  "None" Anim.b = "GroundGrip"
  21535. local bhit,bpos =  ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p)
  21536. if bhit ==  nil or (Palm.Position - bpos).magnitude > 500 then return end  
  21537. PalmLev.position = bpos + v3(0,27*s,0) ColFings(false)
  21538. local tz = 0  repeat wait() tz = tz + wait() until (PalmLev.position -  Palm.Position).magnitude < 8*s or tz > 1.3 wait(0.1)
  21539. local thepos =  (Palm.CFrame *cf(0,-0.1*s,0)).p - Palm.Position
  21540. PalmFace.cframe =  cf(Palm.Position,bpos + thepos) *ca(rd(-90),0,0)
  21541. 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)
  21542. 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
  21543. 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)
  21544. coroutine.resume(coroutine.create(function() for xz=1,70,7  do PalmLev.position = bpos + v3(0,xz*s,0) wait(0.06) end end))
  21545. wait(0.25)  Dustplosion(cf(bpos),30*s,{"Really red","Really black","Really red"},3) local  lolra = ra(-360,360)
  21546. Earthsplosion(cf(bpos),25,1,20,125,"sand") for  yyy=0,360,60 do coroutine.resume(coroutine.create(function()
  21547. for zzz=1,4 do  
  21548. Earthsplosion(cf(bpos) *ca(0,rd(yyy+lolra),0) *cf(0,0,zzz*15*s),10,1,20,75)  wait(0.14)
  21549. 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
  21550. 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"
  21551. elseif Anim.a == "Beam" and not Button and  Anim.b == "None" then Anim.b = "Beam"
  21552. ShortifiedAnim("Beam") wait(0.5)  Anim.b = "None"
  21553. end
  21554. end)
  21555. mouse.Button1Up:connect(function()
  21556. Button =  false
  21557. end)
  21558. mouse.Move:connect(function()  
  21559. end)
  21560.  
  21561. end)
  21562. hb.Deselected:connect(function(mouse)
  21563. Equip =  false
  21564. end)
  21565.  
  21566.  
  21567.  
  21568.  
  21569.         end)
  21570. --
  21571. local button = Instance.new("TextButton")
  21572.         button.Parent = ws
  21573.         button.BackgroundColor3 = blak
  21574.         button.BorderColor3 = rede
  21575.         button.BorderSizePixel = 3
  21576.         button.Name = "Plane"
  21577.         button.Position = UDim2.new(0.5,3,0,132)
  21578.         button.Size = UDim2.new(0.5,-3,0,30)
  21579.         button.ZIndex = 2
  21580.         button.Font = tef
  21581.         button.FontSize = "Size14"
  21582.         button.Text = "Plane"
  21583.         button.TextColor3 = whit
  21584.         button.TextWrapped = true
  21585.                 button.MouseButton1Down:connect(function()
  21586.                 repeat wait() until game:IsLoaded() and game:service("Players").LocalPlayer.Character ~= nil;
  21587. wait(0.4)
  21588. for i, v in pairs(game:service("Players").LocalPlayer.Character:children()) do
  21589. if v ~= script then
  21590. v:Destroy()
  21591. end
  21592. end
  21593.  
  21594. local player = game:service("Players").LocalPlayer
  21595. local mouse = player:GetMouse()
  21596. local cam = workspace.CurrentCamera
  21597. local char = player.Character
  21598. local Torsoz = char:findFirstChild("Torso")
  21599. local NV = Vector3.new()
  21600. local Main
  21601. local W,S = false,false
  21602. local DoublePress = {nil,0}
  21603. script.Parent = char
  21604.  
  21605. local TrailParts = {}
  21606. local Acceleration = 0.08
  21607. local Speed = 0
  21608. local MinSpeed = 0
  21609. local MaxSpeed = 3.2
  21610. local DesiredDirection = cam.CoordinateFrame.lookVector
  21611. local Direction = DesiredDirection
  21612. local Roll = 0
  21613. local AllowTrails = true
  21614.  
  21615. script.Name = "AdvFlight"
  21616.  
  21617. local P = Instance.new("Part")
  21618. P.Anchored = true
  21619. P.CanCollide = false
  21620. P.Name = "Part"
  21621. P.formFactor = "Custom"
  21622. P.Size = Vector3.new(0.2,0.2,0.2)
  21623. P.Locked = true
  21624. P.TopSurface = 10
  21625. P.BottomSurface = 10
  21626. P.FrontSurface = 10
  21627. P.BackSurface = 10
  21628. P.LeftSurface = 10
  21629. P.RightSurface = 10
  21630. P.Material = "Pebble"
  21631. P.BrickColor = BrickColor.new("White")
  21632.  
  21633. local shipp
  21634. local shadow
  21635. local campart
  21636.  
  21637. function RAY(pos, dir, startpos, endpos, distleft, collidedlist)
  21638. collidedlist = collidedlist or {char}
  21639. startpos = startpos or pos
  21640. distleft = distleft or dir.unit * dir.magnitude
  21641. endpos = endpos or pos + distleft
  21642. local ray = Ray.new(pos, distleft)
  21643. local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
  21644. if hitz ~= nil then
  21645. if hitz.CanCollide == false then
  21646. table.insert(collidedlist, hitz)
  21647. local newpos = enz
  21648. local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
  21649. if newdistleft ~= NV then
  21650. return RAY(newpos-(dir*0.01), dir, startpos, endpos, newdistleft+(dir*0.01), collidedlist)
  21651. end
  21652. end
  21653. end
  21654. return hitz, enz, ray
  21655. end
  21656.  
  21657. function FindSurface(part, position)
  21658. local obj = part.CFrame:pointToObjectSpace(position)
  21659. local siz = part.Size/2
  21660. for i,v in pairs(Enum.NormalId:GetEnumItems()) do
  21661. local vec = Vector3.FromNormalId(v)
  21662. local wvec = part.CFrame:vectorToWorldSpace(vec)
  21663. local vz = (obj)/(siz*vec)
  21664. 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
  21665. return wvec,vec
  21666. end
  21667. end
  21668. if part.className == "WedgePart" then
  21669. return part.CFrame:vectorToWorldSpace(Vector3.new(0,0.707,-0.707)), Vector3.new(0,0.707,-0.707)
  21670. end
  21671. end
  21672.  
  21673. function HSV(H,S,V)
  21674. H = H % 360
  21675. local C = V * S
  21676. local H2 = H/60
  21677. local X = C * (1 - math.abs((H2 %2) -1))
  21678. local color = Color3.new(0,0,0)
  21679. if H2 <= 0 then
  21680. color = Color3.new(C,0,0)
  21681. elseif 0 <= H2 and H2 <= 1 then
  21682. color = Color3.new(C,X,0)
  21683. elseif 1 <= H2 and H2 <= 2 then
  21684. color = Color3.new(X,C,0)
  21685. elseif 2 <= H2 and H2 <= 3 then
  21686. color = Color3.new(0,C,X)
  21687. elseif 3 <= H2 and H2 <= 4 then
  21688. color = Color3.new(0,X,C)
  21689. elseif 4 <= H2 and H2 <= 5 then
  21690. color = Color3.new(X,0,C)
  21691. elseif 5 <= H2 and H2 <= 6 then
  21692. color = Color3.new(C,0,X)
  21693. end
  21694. local m = V - C
  21695. return Color3.new(color.r + m, color.g + m, color.b + m)
  21696. end
  21697.  
  21698. function Build(shiptype)
  21699. AllowTrails = true
  21700. for i, v in pairs(char:children()) do
  21701. if v.className == "Model" and v.Name == "Ship" then
  21702. v:remove()
  21703. end
  21704. end
  21705. for i, v in pairs(TrailParts) do
  21706. for _,V in pairs(v[3]) do
  21707. V:Destroy()
  21708. end
  21709. end
  21710. local mdl = Instance.new("Model", char)
  21711. mdl.Name = "Ship"
  21712.  
  21713. ------------------------ Speeder Ship Type -----------------------------
  21714. if shiptype == "Speeder" then
  21715.  
  21716. shipp = P:Clone()
  21717. shipp.Parent = mdl
  21718. shipp.Size = Vector3.new(1,1,2.2)
  21719. local shipwing1 = P:Clone()
  21720. shipwing1.Parent = mdl
  21721. shipwing1.Size = Vector3.new(0.6,1.2,2)
  21722. local mesh = Instance.new("SpecialMesh", shipwing1)
  21723. mesh.MeshType = "Wedge"
  21724. local shipwing2 = shipwing1:Clone()
  21725. shipwing2.Parent = mdl
  21726. campart = P:Clone()
  21727. campart.Transparency = 1
  21728. local shipwing21 = P:Clone()
  21729. shipwing21.Parent = mdl
  21730. shipwing21.Size = Vector3.new(0.32,1.1,2.6)
  21731. local mesh = Instance.new("SpecialMesh", shipwing21)
  21732. mesh.MeshType = "Wedge"
  21733. local shipwing22 = shipwing21:Clone()
  21734. shipwing22.Parent = mdl
  21735. campart = P:Clone()
  21736. campart.Transparency = 1
  21737.  
  21738. local shipwi = P:Clone()
  21739. shipwi.Parent = mdl
  21740. shipwi.Size = Vector3.new(1,1,1.2)
  21741. local mesh = Instance.new("SpecialMesh", shipwi)
  21742. mesh.MeshType = "Wedge"
  21743. local shipwi2 = P:Clone()
  21744. shipwi2.Parent = mdl
  21745. shipwi2.Size = Vector3.new(0.7,0.7,0.84)
  21746. shipwi2.Material = "SmoothPlastic"
  21747. shipwi2.BrickColor = BrickColor.new("Pastel blue")
  21748. shipwi2.Reflectance = 0.6
  21749. local mesh = Instance.new("SpecialMesh", shipwi2)
  21750. mesh.MeshType = "Wedge"
  21751.  
  21752. shadow = P:Clone()
  21753. shadow.Parent = mdl
  21754. shadow.Name = "Shadow"
  21755. shadow.Material = "SmoothPlastic"
  21756. shadow.BrickColor = BrickColor.new("Really black")
  21757. local mesh = Instance.new("SpecialMesh",shadow)
  21758. mesh.MeshType = "Sphere"
  21759.  
  21760. TrailParts = {}
  21761. table.insert(TrailParts,{shipp,1,{},cam.CoordinateFrame.p,CFrame.new(0,0,1),0.5,18})
  21762. table.insert(TrailParts,{shipwing1,1,{},cam.CoordinateFrame.p,CFrame.new(0,0.45,1),0.3,15})
  21763. table.insert(TrailParts,{shipwing2,1,{},cam.CoordinateFrame.p,CFrame.new(0,0.45,1),0.3,15})
  21764. for _, V in pairs(TrailParts) do
  21765. for i = 1, V[7] do
  21766. local p = P:Clone()
  21767. local mesh = Instance.new("SpecialMesh", p)
  21768. mesh.MeshId = "http://www.roblox.com/asset/?id=9856898"
  21769. mesh.TextureId = "http://www.roblox.com/asset/?id=48358980"
  21770. p.BrickColor = BrickColor.new("Dark stone grey")
  21771. table.insert(V[3],p)
  21772. end
  21773. end
  21774.  
  21775. function ReposParts()
  21776. shipwing1.CFrame = shipp.CFrame * CFrame.new(-1.1,-0.195,-0.14) * CFrame.Angles(0,0,math.pi/2)
  21777. shipwing2.CFrame = shipp.CFrame * CFrame.new(1.1,-0.195,-0.14) * CFrame.Angles(0,0,-math.pi/2)
  21778. shipwing21.CFrame = shipp.CFrame * CFrame.new(-1.05,-0.34,-0.45) * CFrame.Angles(0,0,math.pi/2)
  21779. shipwing22.CFrame = shipp.CFrame * CFrame.new(1.05,-0.34,-0.45) * CFrame.Angles(0,0,-math.pi/2)
  21780. shipwi.CFrame = shipp.CFrame * CFrame.new(0,0,-1.7)
  21781. shipwi2.CFrame = shipwi.CFrame * CFrame.new(0,0.015,-0.015)
  21782. campart.CFrame = shipp.CFrame + Vector3.new(0,1.5,0)
  21783. end
  21784. cam.CameraSubject = campart
  21785. cam.CameraType = "Track"
  21786.  
  21787. shipp.CFrame = CFrame.new(NV,Direction) + cam.CoordinateFrame.p
  21788. ReposParts()
  21789.  
  21790. end
  21791.  
  21792. AllowTrails = true
  21793. end
  21794. Build("Speeder")
  21795.  
  21796. function B1D()
  21797. Build("Speeder")
  21798. end
  21799.  
  21800. function RollThatSht(direc)
  21801. if Roll == 0 then
  21802. for i = 1, 50 do
  21803. Roll = (-360 + math.cos(math.pi/50*i) * 360) * direc
  21804. wait(0.02)
  21805. end
  21806. Roll = 0
  21807. end
  21808. end
  21809.  
  21810. function KD(key)
  21811. if key == "w" then
  21812. W = true
  21813. elseif key == "s" then
  21814. S = true
  21815. end
  21816.  
  21817. local rollpls = 0
  21818. if key == DoublePress[1] and tick() - DoublePress[2] < 0.32 then
  21819. DoublePress = {nil,0}
  21820. if key == "a" then
  21821. rollpls = -1
  21822. elseif key == "d" then
  21823. rollpls = 1
  21824. end
  21825. end
  21826.  
  21827. DoublePress = {key,tick()}
  21828. if rollpls ~= 0 then
  21829. RollThatSht(rollpls)
  21830. end
  21831. end
  21832.  
  21833. function KU(key)
  21834. if key == "w" then
  21835. W = false
  21836. elseif key == "s" then
  21837. S = false
  21838. end
  21839. end
  21840.  
  21841. function Equip()
  21842. end
  21843.  
  21844. function Unequip()
  21845. end
  21846.  
  21847. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  21848. mouse.Button1Down:connect(B1D)
  21849. mouse.KeyDown:connect(KD)
  21850. mouse.KeyUp:connect(KU)
  21851.  
  21852.  
  21853.  
  21854. local count = 0
  21855. local hue = 0
  21856. --game:GetService("RunService").Stepped:connect(function()
  21857. while wait(0.02) do
  21858.  
  21859. ------ Speed --------
  21860. local valu = (0.002*MaxSpeed) + ((Speed/MaxSpeed)*Acceleration)
  21861. if W == true then
  21862. Speed = Speed + valu
  21863. elseif S == true then
  21864. Speed = Speed - valu
  21865. end
  21866. if Speed > MaxSpeed then
  21867. Speed = MaxSpeed
  21868. elseif Speed < MinSpeed then
  21869. Speed = MinSpeed
  21870. end
  21871.  
  21872. ------ left/right tilt ---------
  21873. local target = 180 + math.floor(math.deg(math.atan2(DesiredDirection.x,DesiredDirection.z)))
  21874. local current = 180 + math.floor(math.deg(math.atan2(Direction.x,Direction.z)))
  21875. local swing = 0
  21876. if math.abs(math.abs(current-target) - 360) > math.abs(target-current) then
  21877. swing = target-current
  21878. else
  21879. swing = (current > target and -(math.abs(current-target) - 360)) or (current < target and math.abs(current-target) - 360)
  21880. end
  21881.  
  21882. DesiredDirection = cam.CoordinateFrame.lookVector
  21883. ------ direction smoothening ------
  21884. local dir = DesiredDirection.unit
  21885. if Direction ~= dir then
  21886. if (Direction - dir).magnitude < 0.01 then
  21887. Direction = dir
  21888. else
  21889. local dist = ((dir - Direction).unit * (dir - Direction).magnitude) /10
  21890. Direction = (Direction + dist).unit
  21891. end
  21892. end
  21893.  
  21894. shipp.CFrame = (CFrame.new(NV,Direction) + shipp.Position + (Direction.unit * Speed)) * CFrame.Angles(0,0,math.rad(Roll) + math.rad(swing/2))
  21895. ReposParts()
  21896.  
  21897. ------ shadow ------
  21898. local ghitz, genz = RAY(shipp.Position,Vector3.new(0,-26,0))
  21899. local angles = CFrame.new()
  21900. 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
  21901. local wvec,vec = FindSurface(ghitz,genz)
  21902. angles = CFrame.new(NV,wvec) * CFrame.Angles(-math.pi/2,0,0)
  21903. elseif ghitz ~= nil and (ghitz.className == "Part" and ghitz.Shape == Enum.PartType.Ball) then
  21904. angles = (CFrame.new(ghitz.Position, genz) - ghitz.Position) * CFrame.Angles(-math.pi/2,0,0)
  21905. end
  21906. shadow.CFrame = CFrame.new(genz) * angles
  21907. shadow.Transparency = 0.5 + (((shipp.Position - genz).magnitude /26)*0.5)
  21908. shadow.Mesh.Scale = (Vector3.new(4.4,0.25,4.4) * 5) * (1-(shipp.Position - genz).magnitude /26)
  21909.  
  21910. ------- Trails -----------------------
  21911. if AllowTrails == true then
  21912. count = (count+1)%1
  21913. hue = (hue+1) % 360
  21914. local rgb = HSV(hue,0.65,0.85)
  21915. for _,v in pairs(TrailParts) do
  21916. local to = (v[1].CFrame * v[5]).p
  21917. if Speed > MinSpeed + 0.2 then
  21918. v[2] = (v[2]%#v[3]) + 1
  21919. 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)
  21920. v[3][v[2]].Mesh.Scale = Vector3.new(v[6],(v[4] - to).magnitude*2,v[6])
  21921. v[3][v[2]].Mesh.VertexColor = Vector3.new(rgb.r,rgb.g,rgb.b)
  21922. v[3][v[2]].Transparency = 0.15
  21923. v[3][v[2]].Parent = game.Players.LocalPlayer.Character
  21924. else
  21925. v[2] = (v[2]%#v[3]) + 1
  21926. v[3][v[2]].Parent = nil
  21927. end
  21928.  
  21929. v[4] = to
  21930. end
  21931. end
  21932.  
  21933. end
  21934. --end)
  21935.  
  21936. -- 138098590 -- plane destroyed sound
  21937. -- 133082569 -- propeller 2
  21938. -- 135645246 -- propeller 1
  21939. --[[ Possible Game names
  21940. Aeroscape
  21941. Airbound
  21942. Aerialtude
  21943. ]]
  21944.         end)
  21945. --
  21946. local button = Instance.new("TextButton")
  21947.         button.Parent = ws
  21948.         button.BackgroundColor3 = blak
  21949.         button.BorderColor3 = rede
  21950.         button.BorderSizePixel = 3
  21951.         button.Name = "Snowball"
  21952.         button.Position = UDim2.new(0,0,0,165)
  21953.         button.Size = UDim2.new(0.5,0,0,30)
  21954.         button.ZIndex = 2
  21955.         button.Font = tef
  21956.         button.FontSize = "Size14"
  21957.         button.Text = "Snowball"
  21958.         button.TextColor3 = whit
  21959.                 button.MouseButton1Down:connect(function()
  21960.                 repeat wait() until game:GetService("Players").LocalPlayer.Character ~= nil;
  21961. wait(0.5)
  21962.  
  21963. S = Instance.new("Model")
  21964. S.Name = "ValueChanger1"
  21965. S.Parent = Game.Workspace
  21966. --- vars ---
  21967. local player = game:GetService("Players").LocalPlayer
  21968. local repstor = game:GetService("ReplicatedStorage")
  21969. local mouse = player:GetMouse()
  21970. local char = player.Character
  21971. local Hu = char.Humanoid
  21972. local Gui = player:WaitForChild("PlayerGui")
  21973. local Torsoz = char:findFirstChild("Torso")
  21974. local HRP = char:findFirstChild("HumanoidRootPart")
  21975. local HRJ = HRP:findFirstChild("RootJoint")
  21976. local RA = char:findFirstChild("Right Arm")
  21977. local LA = char:findFirstChild("Left Arm")
  21978. local RL = char:findFirstChild("Right Leg")
  21979. local LL = char:findFirstChild("Left Leg")
  21980. local H = char:findFirstChild("Head")
  21981. local RS = Torsoz:findFirstChild("Right Shoulder")
  21982. local LS = Torsoz:findFirstChild("Left Shoulder")
  21983. local RH = Torsoz:findFirstChild("Right Hip")
  21984. local LH = Torsoz:findFirstChild("Left Hip")
  21985. local N = Torsoz:findFirstChild("Neck")
  21986. local NV = Vector3.new()
  21987. local Main
  21988. local SPB,SPF,SPC,SnowPart
  21989. local SPCP = 0
  21990. local Animating = false
  21991. local Walkspeed = 16
  21992. local Shift, Alt, Space, MouseDown = false, false, false, false
  21993. local ThrowingSequence = false
  21994. local SlideCooldown = 0
  21995. local SnowballProjectiles, SnowSplosionEffects = {}, {}
  21996. local disableJump = false
  21997.  
  21998. local AnimSpeeds = {
  21999. 0.5; -- idle
  22000. 5; -- walking
  22001. 6.5; -- running
  22002. 7; -- jumping
  22003. 7; -- falling
  22004. }  
  22005.  
  22006. for i, v in pairs(char:children()) do
  22007. if v.Name == "Cheese" then
  22008. v:remove()
  22009. end
  22010. end
  22011. script.Parent = char
  22012. script.Name = "Cheese"
  22013.  
  22014. ------------ animation funcs & other things ---------------
  22015. local P = Instance.new("Part")
  22016. P.Anchored = false
  22017. P.CanCollide = false
  22018. P.Name = "Part"
  22019. P.formFactor = "Custom"
  22020. P.Size = Vector3.new(0.2,0.2,0.2)
  22021. P.Locked = true
  22022. P.TopSurface = 10
  22023. P.BottomSurface = 10
  22024. P.FrontSurface = 10
  22025. P.BackSurface = 10
  22026. P.LeftSurface = 10
  22027. P.RightSurface = 10
  22028.  
  22029. function GetWeld(weld)
  22030. if weld:findFirstChild("WeldAngle") == nil then
  22031. local a = Instance.new("Vector3Value", weld)
  22032. a.Name = "WeldAngle"
  22033. end
  22034. return weld.C0.p, weld.WeldAngle.Value
  22035. end
  22036.  
  22037. function SetWeld(weld, i, loops, origpos,origangle, nextpos,nextangle,smooth)
  22038. smooth = smooth or 1
  22039. if weld:findFirstChild("WeldAngle") == nil then
  22040. local a = Instance.new("Vector3Value", weld)
  22041. a.Name = "WeldAngle"
  22042. end
  22043.  
  22044. local perc = (smooth == 1 and math.sin((math.pi/2)/loops*i)) or i/loops
  22045.  
  22046. local tox,toy,toz = 0,0,0
  22047. tox = math.abs(origangle.x - nextangle.x) *perc
  22048. toy = math.abs(origangle.y - nextangle.y) *perc
  22049. toz = math.abs(origangle.z - nextangle.z) *perc
  22050. tox = (origangle.x > nextangle.x and -tox) or tox
  22051. toy = (origangle.y > nextangle.y and -toy) or toy
  22052. toz = (origangle.z > nextangle.z and -toz) or toz
  22053.  
  22054. local tox2,toy2,toz2 = 0,0,0
  22055. tox2 = math.abs(origpos.x - nextpos.x) *perc
  22056. toy2 = math.abs(origpos.y - nextpos.y) *perc
  22057. toz2 = math.abs(origpos.z - nextpos.z) *perc
  22058. tox2 = (origpos.x > nextpos.x and -tox2) or tox2
  22059. toy2 = (origpos.y > nextpos.y and -toy2) or toy2
  22060. toz2 = (origpos.z > nextpos.z and -toz2) or toz2
  22061.  
  22062. weld.WeldAngle.Value = Vector3.new(origangle.x + tox, origangle.y + toy, origangle.z + toz)
  22063. weld.C0 = CFrame.new(origpos.x + tox2,origpos.y + toy2,origpos.z + toz2) * CFrame.Angles(origangle.x + tox,origangle.y + toy,origangle.z + toz)
  22064. end
  22065.  
  22066. function RAY(pos, dir, startpos, endpos, distleft, collidedlist)
  22067. collidedlist = collidedlist or {char}
  22068. startpos = startpos or pos
  22069. distleft = distleft or dir.unit * dir.magnitude
  22070. endpos = endpos or pos + distleft
  22071. local ray = Ray.new(pos, distleft)
  22072. local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
  22073. if hitz ~= nil then
  22074. if hitz.CanCollide == false then
  22075. table.insert(collidedlist, hitz)
  22076. local newpos = enz
  22077. local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
  22078. if newdistleft ~= NV then
  22079. return RAY(newpos-(dir*0.01), dir, startpos, endpos, newdistleft+(dir*0.01), collidedlist)
  22080. end
  22081. end
  22082. end
  22083. return hitz, enz, ray
  22084. end
  22085.  
  22086. function ChangeValue(obj,type,value)
  22087. local val = Instance.new("ObjectValue")
  22088. val.Name = type
  22089. val.Value = obj
  22090. local val2 = Instance.new("NumberValue",val)
  22091. val2.Name = "value"
  22092. val2.Value = value
  22093. if type == "PingTestIncrement" then
  22094. local val3 = Instance.new("NumberValue",val)
  22095. val3.Name = "time"
  22096. val3.Value = repstor.TickTimer.Value
  22097. end
  22098. val.Parent = workspace.ValueChanger1
  22099. end
  22100.  
  22101. function SnowballHit(part,pos,power)
  22102. if part.Parent:findFirstChild("Humanoid") then
  22103. local dmg = (45*power) - math.random(1,4)
  22104. dmg = power > 0.99 and dmg*1.25 or dmg
  22105. print("Damaging",part.Parent.Name,"by",dmg)
  22106. part.Parent.Humanoid.Health = -dmg
  22107. end
  22108. SnowSplosion(pos)
  22109. end
  22110.  
  22111. function SnowSplosion(pos)
  22112. local spmdl = Instance.new("Model", char)
  22113. spmdl.Name = "SnoSplosion"
  22114. for i = 1, 14 do
  22115. local p = P:Clone()
  22116. p.Parent = spmdl
  22117. p.Name = "Effect"
  22118. p.Anchored = true
  22119. p.BrickColor = BrickColor.new("White")
  22120. p.CFrame = CFrame.new(pos) * CFrame.Angles(0,(math.pi*2)*math.random(),(math.pi*2)*math.random()) * CFrame.new(0.05,0,0)
  22121. p.Transparency = 0.2
  22122. local mesh = Instance.new("SpecialMesh",p)
  22123. mesh.MeshType = "Sphere"
  22124. mesh.Scale = Vector3.new(5,2,2)
  22125. end
  22126. table.insert(SnowSplosionEffects,spmdl)
  22127. end
  22128. ----------------------------------
  22129.  
  22130. ---- value setup ---------
  22131.  
  22132. local pose = Instance.new("IntValue", script)
  22133. pose.Name = "pose"
  22134. pose.Value = 0
  22135. local invoke = Instance.new("IntValue", script)
  22136. invoke.Name = "invoke"
  22137. invoke.Value = 0
  22138. local snowballs = Instance.new("IntValue", script)
  22139. snowballs.Name = "snowballs"
  22140. snowballs.Value = 8
  22141. local Main = Instance.new("ObjectValue", script)
  22142. Main.Name = "Main"
  22143.  
  22144. for i, v in pairs(char:GetChildren()) do
  22145. if v.Name == "health" and v.className == "NumberValue" then
  22146. v:Destroy()
  22147. end
  22148. end
  22149. local health = Instance.new("NumberValue", char)
  22150. health.Name = "health"
  22151. health.Value = 100
  22152. health.Changed:connect(function()
  22153. if health.Value <= 0 then
  22154. char:BreakJoints()
  22155. end
  22156. end)
  22157.  
  22158. snowballs.Changed:connect(function()
  22159. snowballs.Value = snowballs.Value > 8 and 8 or snowballs.Value
  22160. snowballs.Value = snowballs.Value < 0 and 0 or snowballs.Value
  22161. local percentage = snowballs.Value/8
  22162. SnowPart.Mesh.Scale = Vector3.new(0.71,0.6*percentage,0.71) *5
  22163. SnowPart.Weld.C0 = CFrame.new(0,-0.08 - (0.3*(1-percentage)),0)
  22164. SnowPart.Transparency = percentage == 0 and 1 or 0
  22165. end)
  22166.  
  22167. player.Chatted:connect(function(msg)
  22168. if string.sub(msg:lower(),1,5) == "pose/" then
  22169. pose.Value = tonumber(string.sub(msg,6))
  22170. elseif string.sub(msg:lower(),1,7) == "invoke/" then
  22171. invoke.Value = tonumber(string.sub(msg,8))
  22172. elseif msg == "replenish" then
  22173. snowballs.Value = 8
  22174. end
  22175. end)
  22176.  
  22177. ------ designs -------------
  22178. function Build()
  22179. for i, v in pairs(char:children()) do
  22180. if v.Name == "Mozzarella" then
  22181. v:Destroy()
  22182. end
  22183. end
  22184. local m = Instance.new("Model", script)
  22185. m.Name = "Mozzarella"
  22186.  
  22187. local b = P:Clone()
  22188. b.Parent = m
  22189. b.Name = "Bag"
  22190. b.BrickColor = BrickColor.new("Lime green")
  22191. b.Transparency = 1
  22192. local mesh = Instance.new("SpecialMesh",b)
  22193. mesh.MeshType = "Brick"
  22194. mesh.Scale = Vector3.new(0.8,0.6,0.8) *5
  22195. local w = Instance.new("Weld",b)
  22196. w.Part0 = RL
  22197. w.Part1 = b
  22198. w.C0 = CFrame.new(0.82,0.5,0)
  22199.  
  22200. for i = 1, 10 do
  22201. local p = P:Clone()
  22202. p.Parent = m
  22203. p.Name = "BagPart"
  22204. p.BrickColor = BrickColor.new("Dark orange")
  22205. p.Material = "Fabric"
  22206. local mesh = Instance.new("SpecialMesh",p)
  22207. mesh.MeshType = "Brick"
  22208. mesh.Scale = Vector3.new(0.1,0.4,0.26) *5
  22209. local w = Instance.new("Weld",p)
  22210. w.Part0 = b
  22211. w.Part1 = p
  22212. w.C1 = CFrame.new(0.35,0.004*(i%2),0)
  22213. w.C0 = CFrame.new(0,0.1,0) * CFrame.Angles(0,math.pi*2/10*i,0)
  22214.  
  22215. if i%2 == 0 then
  22216. for j = 0, 6 do
  22217. local mathi = math.sin(math.pi/2 + (math.pi/5*j))
  22218. local p = P:Clone()
  22219. p.Parent = m
  22220. p.Name = "BagPart"
  22221. p.BrickColor = BrickColor.new("Dark orange")
  22222. p.Material = "Fabric"
  22223. local mesh = Instance.new("SpecialMesh",p)
  22224. mesh.MeshType = "Brick"
  22225. mesh.Scale = Vector3.new(0.1,0.22,0.26*mathi) *5
  22226. local w = Instance.new("Weld",p)
  22227. w.Part0 = b
  22228. w.Part1 = p
  22229. w.C1 = CFrame.new(0.35,0,0)
  22230. w.C0 = CFrame.new(0,-0.2,0) * CFrame.Angles(0,math.pi*2/10*i,math.pi/6*j)
  22231. end
  22232. end
  22233. end
  22234.  
  22235. local s = P:Clone()
  22236. s.Parent = m
  22237. s.Name = "Snow"
  22238. s.BrickColor = BrickColor.new("White")
  22239. s.Transparency = 0
  22240. s.Material = "Sand"
  22241. local mesh = Instance.new("CylinderMesh",s)
  22242. mesh.Scale = Vector3.new(0.71,0.6,0.71) *5
  22243. local w = Instance.new("Weld",s)
  22244. w.Part0 = b
  22245. w.Part1 = s
  22246. w.C0 = CFrame.new(0,-0.08,0)
  22247. SnowPart = s
  22248.  
  22249. end
  22250. Build()
  22251. --------------------------------
  22252.  
  22253.  
  22254. -------------- snowball power charge gui ----------------------------
  22255. function CreateGui()
  22256. for i, v in pairs(Gui:GetChildren()) do
  22257. if v.Name == "SnowballPower" then
  22258. v:Destroy()
  22259. end
  22260. end
  22261. local g = Instance.new("ScreenGui", Gui)
  22262. g.Name = "SnowballPower"
  22263. local f = Instance.new("Frame",g)
  22264. f.Name = "Container"
  22265. f.Size = UDim2.new(0,30,0,110)
  22266. f.Position = UDim2.new(1,10,0.5,-55)
  22267. f.Transparency = 0
  22268. f.BackgroundColor3 = Color3.new(0.45,0.35,0.25)
  22269. f.BorderColor3 = Color3.new(0.55,0.45,0.35)
  22270. f.BorderSizePixel = 3
  22271. f.Archivable = false
  22272. f.ZIndex = 0
  22273. SPC = f
  22274. local b = Instance.new("Frame",f)
  22275. b.Name = "Backing"
  22276. b.Size = UDim2.new(0,20,0,100)
  22277. b.Position = UDim2.new(0.5,-10,0.5,-50)
  22278. b.BorderSizePixel = 0
  22279. b.BackgroundColor3 = Color3.new(0.1,0.45,0.01)
  22280. b.ZIndex = 1
  22281. SPB = b
  22282. local fr = b:Clone()
  22283. fr.Parent = b
  22284. fr.Size = UDim2.new(1,0,0.5,0)
  22285. fr.Position = UDim2.new(0,0,0.5,0)
  22286. fr.BackgroundColor3 = Color3.new(0.1,0.65,0.01)
  22287. SPF = fr
  22288.  
  22289. end
  22290. CreateGui()
  22291.  
  22292. -------------- limb setup ---------------
  22293. pcall(function() char.Animate:Destroy() end)
  22294.  
  22295. SetWeld(RS,1,1,NV,NV,Vector3.new(1.5,0.5,0),NV)
  22296. RS.C1 = CFrame.new(0,0.5,0)
  22297.  
  22298. SetWeld(LS,1,1,NV,NV,Vector3.new(-1.5,0.5,0),NV)
  22299. LS.C1 = CFrame.new(0,0.5,0)
  22300.  
  22301. SetWeld(RH,1,1,NV,NV,Vector3.new(0.5,-1,0),NV)
  22302. RH.C1 = CFrame.new(0,1,0)
  22303.  
  22304. SetWeld(LH,1,1,NV,NV,Vector3.new(-0.5,-1,0),NV)
  22305. LH.C1 = CFrame.new(0,1,0)
  22306.  
  22307. SetWeld(N,1,1,NV,NV,Vector3.new(0,1,0),NV)
  22308. N.C1 = CFrame.new(0,-0.5,0)
  22309.  
  22310. SetWeld(HRJ,1,1,NV,NV,NV,NV)
  22311. HRJ.C1 = CFrame.new(0,0,0)
  22312.  
  22313. wait(1)
  22314. RS.MaxVelocity = 0
  22315. RS.CurrentAngle = 0
  22316. RS.DesiredAngle = 0
  22317. LS.MaxVelocity = 0
  22318. LS.CurrentAngle = 0
  22319. LS.DesiredAngle = 0
  22320. RH.MaxVelocity = 0
  22321. RH.CurrentAngle = 0
  22322. RH.DesiredAngle = 0
  22323. LH.MaxVelocity = 0
  22324. LH.CurrentAngle = 0
  22325. LH.DesiredAngle = 0
  22326. N.MaxVelocity = 0
  22327. N.CurrentAngle = 0
  22328. N.DesiredAngle = 0
  22329. HRJ.MaxVelocity = 0
  22330. HRJ.CurrentAngle = 0
  22331. HRJ.DesiredAngle = 0
  22332.  
  22333. -----------------
  22334.  
  22335. ----- value changed connections ----
  22336. Main.Changed:connect(function()
  22337. if Main.Value ~= nil then
  22338. main,maina = GetWeld(Main.Value)
  22339. else
  22340. main,maina = nil,nil
  22341. end
  22342. end)
  22343.  
  22344. Hu.Changed:connect(function()
  22345. if disableJump or DisableMovement then
  22346. Hu.Jump = false
  22347. end
  22348. end)
  22349.  
  22350. ------- Keys & Mouse ---------------
  22351. function B1D()
  22352. MouseDown = true
  22353. if not Animating then
  22354. script.invoke.Value = 1
  22355. else
  22356. while Animating do
  22357. wait()
  22358. end
  22359. if MouseDown then
  22360. script.invoke.Value = 1
  22361. end
  22362. end
  22363. end
  22364. function B1U()
  22365. MouseDown = false
  22366. end
  22367. mouse.Button1Down:connect(B1D)
  22368. mouse.Button1Up:connect(B1U)
  22369.  
  22370. function KD(key)
  22371. if key == "0" then
  22372. Shift = true
  22373. if pose.Value == 1 then
  22374. pose.Value = 0
  22375. disableJump = false
  22376. end
  22377. elseif key == "4" then
  22378. Alt = true
  22379. if not Animating and SlideCooldown == 0 then
  22380. invoke.Value = 3
  22381. else
  22382. while Animating or SlideCooldown > 0 do
  22383. wait()
  22384. end
  22385. if Alt then
  22386. invoke.Value = 3
  22387. end
  22388. end
  22389. elseif key == "2" then
  22390. if not ThrowingSequence then
  22391. if pose.Value == 0 then
  22392. pose.Value = 1
  22393. disableJump = true
  22394. elseif pose.Value == 1 then
  22395. pose.Value = 0
  22396. disableJump = false
  22397. end
  22398. end
  22399. elseif key == string.char(32) then
  22400. Space = true
  22401. if pose.Value == 1 then
  22402. if not Animating then
  22403. invoke.Value = 2
  22404. else
  22405. while Animating do
  22406. wait()
  22407. end
  22408. if Space and pose.Value == 1 then
  22409. invoke.Value = 2
  22410. end
  22411. end
  22412. end
  22413. end
  22414. end
  22415.  
  22416. function KU(key)
  22417. if key == "0" then
  22418. Shift = false
  22419. elseif key == "4" then
  22420. Alt = false
  22421. elseif key == string.char(32) then
  22422. Space = false
  22423. end
  22424. end
  22425.  
  22426. mouse.KeyDown:connect(KD)
  22427. mouse.KeyUp:connect(KU)
  22428.  
  22429. local count1 = 0
  22430. local angle = 0
  22431. local slidecount = 1
  22432. local slidecountmax = 1
  22433. local countspeed = 0.5
  22434. local cancella = false
  22435. local cancelra = false
  22436. local cancelrl = false
  22437. local cancelll = false
  22438. local canceln = false
  22439. local cancelhrp = false
  22440. local cancelmain = false
  22441. local anim = 0
  22442. local lastanim = -1
  22443. local lastpose = 0
  22444. local rs,rsa, ls,lsa, rh,rha, lh,lha, n,na, hrj,hrja, main,maina
  22445. local ghitz,genz
  22446. local prevvelocity = HRP.Velocity
  22447.  
  22448. function UpdateWP(max,sped)
  22449. max = max or 5
  22450. sped = sped or AnimSpeeds[anim+1]
  22451. rs,rsa = GetWeld(RS)
  22452. ls,lsa = GetWeld(LS)
  22453. rh,rha = GetWeld(RH)
  22454. lh,lha = GetWeld(LH)
  22455. n,na = GetWeld(N)
  22456. hrj,hrja = GetWeld(HRJ)
  22457. if Main.Value ~= nil then
  22458. main,maina = GetWeld(Main.Value)
  22459. end
  22460. slidecount = 0
  22461. slidecountmax = max
  22462. countspeed = sped
  22463. end
  22464.  
  22465. UpdateWP()
  22466. -------------- Invoke Animations -------------------------
  22467. function Throw()
  22468. if not Animating and snowballs.Value > 0 then
  22469. Animating = true
  22470. ThrowingSequence = true
  22471. pose.Value = 0
  22472. disableJump = false
  22473. ----- sword slash ------
  22474. cancelra = true
  22475. cancella = true
  22476. cancelhrp = true
  22477. canceln = true
  22478. cancelmain = true
  22479. local prevslidecount = slidecount
  22480. UpdateWP(slidecountmax,countspeed)
  22481. slidecount = prevslidecount
  22482.  
  22483. local phase = 0
  22484. local smdl = Instance.new("Model",char)
  22485. smdl.Name = "SnowBall"
  22486. local ball,weld
  22487. for i = 1, 17 do
  22488. if MouseDown then
  22489. if i <= 7 then
  22490. SetWeld(N,i,7,n,na,Vector3.new(0,1,0),Vector3.new(-0.3,-math.pi/8,0))
  22491. SetWeld(HRJ,i,7,hrj,hrja,Vector3.new(0,0,0.1),Vector3.new(0,-math.pi/20,0))
  22492. SetWeld(RS,i,7,rs,rsa,Vector3.new(1.5,0.26,0),Vector3.new(-0.2,0,-0.1))
  22493. SetWeld(LS,i,7,ls,lsa,Vector3.new(-1.5,0.525,-0.01),Vector3.new(-0.25,0,-0.12))
  22494. phase = 1
  22495. if i == 7 then
  22496. UpdateWP(slidecountmax,countspeed)
  22497. ChangeValue(snowballs,"Increment",-1)
  22498. ball = P:Clone()
  22499. ball.Parent = smdl
  22500. ball.BrickColor = BrickColor.new("White")
  22501. ball.Material = "Sand"
  22502. local mesh = Instance.new("SpecialMesh",ball)
  22503. mesh.MeshType = "Sphere"
  22504. mesh.Scale = Vector3.new(0.8,0.8,0.8) *5
  22505. weld = Instance.new("Weld",ball)
  22506. weld.Part0 = RA
  22507. weld.Part1 = ball
  22508. weld.C0 = CFrame.new(0,-1.3,0)
  22509. end
  22510. else
  22511. SetWeld(N,i-7,10,n,na,Vector3.new(0,1,0),Vector3.new(0.03,math.pi/9,0))
  22512. SetWeld(HRJ,i-7,10,hrj,hrja,Vector3.new(0,0,0.1),Vector3.new(0,-math.pi/8,0))
  22513. SetWeld(RS,i-7,10,rs,rsa,Vector3.new(1.4,0.5,0),Vector3.new(math.pi*1.05,0,0.2))
  22514. SetWeld(LS,i-7,10,ls,lsa,Vector3.new(-1.3,0.42,-0.1),Vector3.new(math.pi/4,0,-math.pi/8))
  22515. if i == 9 then
  22516. SPC.Archivable = true
  22517. SPB.BackgroundColor3 = Color3.new(0.45,0.1,0.01)
  22518. SPF.BackgroundColor3 = Color3.new(0.65,0.1,0.01)
  22519. SPF.Size = UDim2.new(1,0,0,0)
  22520. SPF.Position = UDim2.new(0,0,1,0)
  22521. end
  22522. phase = 2
  22523. end
  22524. wait(0.02)
  22525. end
  22526. end
  22527. local rs2,rsa2 = GetWeld(RS)
  22528. local ls2,lsa2 = GetWeld(LS)
  22529. local n2,na2 = GetWeld(N)
  22530. local hrj2,hrja2 = GetWeld(HRJ)
  22531.  
  22532. local powercounter = 20
  22533. local power = 0
  22534. while MouseDown do
  22535. powercounter = (powercounter%40) + 1
  22536. power = 1 - math.sin(math.pi/40*powercounter)
  22537. SPB.BackgroundColor3 = Color3.new((1-power)*0.35 +0.1,power*0.35 +0.1,0.01)
  22538. SPF.BackgroundColor3 = Color3.new((1-power)*0.55 +0.1,power*0.55 +0.1,0.01)
  22539. SPF.Size = UDim2.new(1,0,power,0)
  22540. SPF.Position = UDim2.new(0,0,1-power,0)
  22541. SetWeld(RS,power,1,rs2,rsa2,Vector3.new(1.4,0.6,0.05),Vector3.new(math.pi*1.17,0,0.3))
  22542. SetWeld(LS,power,1,ls2,lsa2,Vector3.new(-1.3,0.42,-0.16),Vector3.new(math.pi/2.45,0,-math.pi/5))
  22543. SetWeld(N,power,1,n2,na2,Vector3.new(0,1,0),Vector3.new(0.07,math.pi/8,-0.04))
  22544. SetWeld(HRJ,power,1,hrj2,hrja2,Vector3.new(0,0,0.1),Vector3.new(0,-math.pi/7,0))
  22545. phase = 3
  22546. wait(0.02)
  22547. end
  22548. SPC.Archivable = false
  22549. print("Phase:",phase)
  22550. rs2,rsa2 = GetWeld(RS)
  22551. ls2,lsa2 = GetWeld(LS)
  22552. n2,na2 = GetWeld(N)
  22553. hrj2,hrja2 = GetWeld(HRJ)
  22554.  
  22555. if phase == 1 or phase == 2 then
  22556. smdl:Destroy()
  22557. ChangeValue(snowballs,"Increment",1)
  22558. elseif phase == 3 then
  22559. print("Throwing with "..string.sub(tostring(power*100),1,5).."% power!")
  22560. local mousepos = mouse.Hit.p
  22561. for i = 1, 8 do
  22562. 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))
  22563. 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))
  22564. SetWeld(N,i,8,n2,na2,Vector3.new(0,1,0),Vector3.new(-0.07,-math.pi/11 - (0.3*power),-0.04))
  22565. SetWeld(HRJ,i,8,hrj2,hrja2,Vector3.new(0,0,0.1),Vector3.new(0,(math.pi/10)+(0.3*power),0))
  22566. if i == 2 then
  22567. weld:Destroy()
  22568. ball.Anchored = true
  22569. --- {part,gravity,currentgravity,direction,speed,power,counter,{parts},life}
  22570. 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}
  22571. if power > 0.99 then
  22572. for i = 1, 20 do
  22573. local p = P:Clone()
  22574. p.Anchored = true
  22575. p.BrickColor = BrickColor.new("Bright yellow")
  22576. local mesh = Instance.new("SpecialMesh",p)
  22577. mesh.MeshId = "rbxassetid://9756362"
  22578. mesh.Scale = Vector3.new(0.32,0.32,0.32)
  22579. table.insert(snowball[8],p)
  22580. end
  22581. end
  22582. table.insert(SnowballProjectiles,snowball)
  22583. end
  22584. wait(0.02)
  22585. end
  22586. wait(0.02)
  22587. else
  22588. smdl:Destroy()
  22589. end
  22590.  
  22591. UpdateWP(slidecountmax,countspeed)
  22592. cancelra = false
  22593. cancella = false
  22594. cancelhrp = false
  22595. canceln = false
  22596. cancelmain = false
  22597.  
  22598. ThrowingSequence = false
  22599. Animating = false
  22600. elseif snowballs.Value <= 0 then
  22601. print("No snow left!")
  22602. -- alert saying you have no snow left in pouch
  22603. end
  22604. end
  22605.  
  22606. function DiveRoll()
  22607. if not Animating then
  22608. Animating = true
  22609. DisableMovement = true
  22610. cancelra = true
  22611. cancella = true
  22612. cancelhrp = true
  22613. canceln = true
  22614. cancelmain = true
  22615. cancelll = true
  22616. cancelrl = true
  22617. local prevslidecount = slidecount
  22618. UpdateWP(slidecountmax,countspeed)
  22619. slidecount = prevslidecount
  22620.  
  22621. local bv = Instance.new("BodyVelocity", HRP)
  22622. bv.maxForce = Vector3.new(1/0,0,1/0)
  22623. bv.velocity = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z)).lookVector * 28
  22624. local bg = Instance.new("BodyGyro", HRP)
  22625. bg.maxTorque = Vector3.new(1/0,1/0,1/0)
  22626. bg.cframe = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z))
  22627. bg.D = 100
  22628. game:GetService("Debris"):AddItem(bv,2.5)
  22629. game:GetService("Debris"):AddItem(bg,2.5)
  22630.  
  22631. local connex = game:GetService("RunService").RenderStepped:connect(function()
  22632. if HRP.Velocity.y > 0 then
  22633. HRP.Velocity = NV
  22634. end
  22635. HRP.CanCollide = false
  22636. end)
  22637. local connex2 = game:GetService("RunService").Stepped:connect(function()
  22638. local Ghitz,Genz = RAY(HRP.Position,Vector3.new(0,-3.1,0))
  22639. if Ghitz then
  22640. HRP.CFrame = (HRP.CFrame - HRP.Position) + Genz + Vector3.new(0,3,0)
  22641. end
  22642. end)
  22643.  
  22644. local animspd = 4
  22645. for i = 1, animspd do
  22646. SetWeld(N,i,animspd,n,na,Vector3.new(0,1,0),Vector3.new(math.pi/5,0,0),0)
  22647. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,0.4,0),Vector3.new(-math.pi/2.6,0,0),0)
  22648. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/1.2,0,0.2),0)
  22649. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/1.2,0,-0.2),0)
  22650. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-0.6,-0.1),Vector3.new(0.1,0,0.05),0)
  22651. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-0.6,-0.1),Vector3.new(0.1,0,-0.05),0)
  22652. wait(0.02)
  22653. end
  22654. UpdateWP(slidecountmax,countspeed)
  22655. for i = 1, animspd do
  22656. SetWeld(N,i,animspd,n,na,Vector3.new(0,1,0),Vector3.new(math.pi/12,0,0),0)
  22657. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-0.7,0),Vector3.new(-math.pi/1.5,0,0),0)
  22658. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.6,-0.06),Vector3.new(math.pi/1.3,0,0.2),0)
  22659. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.6,-0.06),Vector3.new(math.pi/1.3,0,-0.2),0)
  22660. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-1,0),Vector3.new(-0.1,0,0.05),0)
  22661. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-1,0),Vector3.new(-0.1,0,-0.05),0)
  22662. wait(0.02)
  22663. end
  22664. UpdateWP(slidecountmax,countspeed)
  22665. for i = 1, animspd do
  22666. SetWeld(N,i,animspd,n,na,Vector3.new(0,0.85,0),Vector3.new(-math.pi/4,0,0),0)
  22667. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-1,0),Vector3.new(-math.pi*0.9,0,0),0)
  22668. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/1.4,0,0.08),0)
  22669. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/1.4,0,-0.08),0)
  22670. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-0.3,-0.4),Vector3.new(-0.12,0,0.05),0)
  22671. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-0.3,-0.4),Vector3.new(-0.12,0,-0.05),0)
  22672. wait(0.02)
  22673. end
  22674. UpdateWP(slidecountmax,countspeed)
  22675. bv.velocity = bv.velocity * 0.9
  22676. for i = 1, animspd do
  22677. SetWeld(N,i,animspd,n,na,Vector3.new(0,0.85,0),Vector3.new(-math.pi/3.5,0,0),0)
  22678. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-1.25,0),Vector3.new(-math.pi*1.1,0,0),0)
  22679. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/1.8,0,-0.1),0)
  22680. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/1.8,0,0.1),0)
  22681. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,0.2,-0.7),Vector3.new(-0.12,0,0.05),0)
  22682. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,0.2,-0.7),Vector3.new(-0.12,0,-0.05),0)
  22683. wait(0.02)
  22684. end
  22685. UpdateWP(slidecountmax,countspeed)
  22686. for i = 1, animspd do
  22687. SetWeld(N,i,animspd,n,na,Vector3.new(0,0.85,0),Vector3.new(-math.pi/3.7,0,0),0)
  22688. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-2.3,0),Vector3.new(-math.pi*1.55,0,0),0)
  22689. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/2.4,0,-0.23),0)
  22690. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/2.4,0,0.23),0)
  22691. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,0.1,-0.7),Vector3.new(-0.1,0,0.04),0)
  22692. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,0.1,-0.7),Vector3.new(-0.1,0,-0.04),0)
  22693. wait(0.02)
  22694. end
  22695. UpdateWP(slidecountmax,countspeed)
  22696. bv.velocity = bv.velocity * 0.7
  22697. for i = 1, animspd do
  22698. SetWeld(N,i,animspd,n,na,Vector3.new(0,1.05,0),Vector3.new(-0.4,0,0),0)
  22699. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-1.6,0),Vector3.new(-math.pi*1.85,0,0),0)
  22700. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/3.2,0,-0.24),0)
  22701. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/3.2,0,0.24),0)
  22702. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-0.08,-0.6),Vector3.new(-0.22,0,0.04),0)
  22703. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-0.08,-0.6),Vector3.new(-0.22,0,-0.04),0)
  22704. wait(0.02)
  22705. end
  22706. UpdateWP(slidecountmax,countspeed)
  22707. bv.velocity = bv.velocity * 0.4
  22708. for i = 1, animspd do
  22709. 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)
  22710. 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)
  22711. 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)
  22712. 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)
  22713. 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)
  22714. 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)
  22715. wait(0.02)
  22716. end
  22717.  
  22718. 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))
  22719. bv:Destroy()
  22720. bg:Destroy()
  22721. connex:disconnect()
  22722. connex2:disconnect()
  22723.  
  22724. UpdateWP()
  22725. cancelra = false
  22726. cancella = false
  22727. cancelhrp = false
  22728. canceln = false
  22729. cancelmain = false
  22730. cancelll = false
  22731. cancelrl = false
  22732. Animating = false
  22733. DisableMovement = false
  22734. end
  22735. end
  22736.  
  22737. function Slide()
  22738. 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
  22739. Animating = true
  22740. DisableMovement = true
  22741. cancelra = true
  22742. cancella = true
  22743. cancelhrp = true
  22744. canceln = true
  22745. cancelmain = true
  22746. cancelll = true
  22747. cancelrl = true
  22748. local prevslidecount = slidecount
  22749. UpdateWP(slidecountmax,countspeed)
  22750. slidecount = prevslidecount
  22751.  
  22752. local bv = Instance.new("BodyVelocity", HRP)
  22753. bv.maxForce = Vector3.new(1/0,0,1/0)
  22754. bv.velocity = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z)).lookVector * 30
  22755. local bg = Instance.new("BodyGyro", HRP)
  22756. bg.maxTorque = Vector3.new(1/0,1/0,1/0)
  22757. bg.cframe = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z))
  22758. bg.D = 100
  22759. game:GetService("Debris"):AddItem(bv,5.5)
  22760. game:GetService("Debris"):AddItem(bg,5.5)
  22761.  
  22762. local connex = game:GetService("RunService").RenderStepped:connect(function()
  22763. if HRP.Velocity.y > 0 then
  22764. HRP.Velocity = NV
  22765. end
  22766. HRP.CanCollide = false
  22767. end)
  22768.  
  22769. local animspd = 8
  22770. local animcount = 1
  22771. local bvaccel = 1
  22772. local bvvelo = bv.velocity
  22773. local lasttorpos = HRP.Position
  22774. local tickcount = 0
  22775. local cancelslide = false
  22776. local torsoangle = 0
  22777. while not cancelslide and  bvaccel > 0.16 do
  22778. tickcount = tickcount+1
  22779. lasttorpos = HRP.Position
  22780. animcount = (animcount < animspd and animcount+1) or animspd
  22781. local n2,na2 = GetWeld(N)
  22782. local hrj2,hrja2 = GetWeld(HRJ)
  22783. local rs2,rsa2 = GetWeld(RS)
  22784. local ls2,lsa2 = GetWeld(LS)
  22785. local rh2,rha2 = GetWeld(RH)
  22786. local lh2,lha2 = GetWeld(LH)
  22787. SetWeld(N,1,4,n2,na2,Vector3.new(0,1.08,-0.1),Vector3.new(-math.pi/4.3,-0.12,-0.08))
  22788. 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))
  22789. 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)))
  22790. 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)))
  22791. SetWeld(RH,1,4,rh2,rha2,Vector3.new(0.5,-0.8,0),Vector3.new(0.22,-0.06 - (angle*0.01),0.05))
  22792. 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))
  22793. bv.velocity = bvvelo * bvaccel
  22794. wait(0.02)
  22795. local torsoatan = (CFrame.new(lasttorpos) * (HRP.CFrame-HRP.Position)):pointToObjectSpace(HRP.Position)
  22796. torsoangle = math.atan2(torsoatan.y,-torsoatan.z)
  22797. local Ghitz,Genz = RAY(HRP.Position,Vector3.new(0,-3.1,0))
  22798. if Ghitz then
  22799. HRP.CFrame = (HRP.CFrame - HRP.Position) + Genz + Vector3.new(0,3,0)
  22800. end
  22801. if (lasttorpos.y - HRP.Position.y) < -0.1 then
  22802. bvaccel = bvaccel - 0.045
  22803. elseif (lasttorpos.y - HRP.Position.y) > 0.08 then
  22804. bvaccel = bvaccel - 0.006
  22805. if Ghitz then
  22806. bvaccel = bvaccel + ((lasttorpos.y - HRP.Position.y) /2.5)
  22807. end
  22808. else
  22809. bvaccel = bvaccel - 0.017
  22810. end
  22811. bvaccel = bvaccel > 1.02 and 1.02 or bvaccel
  22812. local chitz,cenz = RAY(Torsoz.Position,Vector3.new(0,2.5,0))
  22813. local stationary = false
  22814. if tickcount > 5 then
  22815. stationary = (Vector3.new(lasttorpos.x,0,lasttorpos.z) - Vector3.new(HRP.Position.x,0,HRP.Position.z)).magnitude < 0.15
  22816. end
  22817. if bvaccel < 0.16 or (chitz == nil and not Alt) or stationary then
  22818. cancelslide = true
  22819. end
  22820. end
  22821.  
  22822. SlideCooldown = 14
  22823. bv:Destroy()
  22824. bg:Destroy()
  22825. connex:disconnect()
  22826.  
  22827. UpdateWP(slidecountmax,countspeed)
  22828. cancelra = false
  22829. cancella = false
  22830. cancelhrp = false
  22831. canceln = false
  22832. cancelmain = false
  22833. cancelll = false
  22834. cancelrl = false
  22835. Animating = false
  22836. DisableMovement = false
  22837. end
  22838. end
  22839.  
  22840. invokelist = {}
  22841. invokelist[1] = Throw
  22842. invokelist[2] = DiveRoll
  22843. invokelist[3] = Slide
  22844. invoke.Changed:connect(function()
  22845. if invoke.Value ~= 0 then
  22846. local valu = invoke.Value
  22847. invoke.Value = 0
  22848. if invokelist[valu] ~= nil then
  22849. invokelist[valu]()
  22850. end
  22851. end
  22852. end)
  22853.  
  22854. -------------- Animation Tween Funcs ----------------------
  22855. function Idle()
  22856. if script.pose.Value == 0 then
  22857. ----- regular --------
  22858. if not cancelra then
  22859. 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)))
  22860. end
  22861. if not cancella then
  22862. 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)))
  22863. end
  22864. if not cancelrl then
  22865. 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)))
  22866. end
  22867. if not cancelll then
  22868. 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)))
  22869. end
  22870. if not canceln then
  22871. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.04 + (-angle*0.02),0,0))
  22872. end
  22873. if not cancelhrp then
  22874. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(0.016 + (-angle*0.009),0,0))
  22875. end
  22876.  
  22877. elseif script.pose.Value == 1 then
  22878. ----- crouch --------
  22879. if not cancelra then
  22880. 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)))
  22881. end
  22882. if not cancella then
  22883. 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)))
  22884. end
  22885. if not cancelrl then
  22886. 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)))
  22887. end
  22888. if not cancelll then
  22889. 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)))
  22890. end
  22891. if not canceln then
  22892. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.12 + (angle*0.004),-math.pi/5,0.1))
  22893. end
  22894. if not cancelhrp then
  22895. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,-1.4,0),Vector3.new(-0.16 + (-angle*0.007),math.pi/5,0))
  22896. end
  22897.  
  22898. elseif script.pose.Value == 2 then
  22899.  
  22900. end
  22901. end
  22902.  
  22903. function Walking()
  22904. if script.pose.Value == 0 then
  22905. ----- regular --------
  22906. if not cancelra then
  22907. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(angle*0.2,0,-math.abs(angle*0.02)))
  22908. end
  22909. if not cancella then
  22910. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(-angle*0.2,0,math.abs(angle*0.02)))
  22911. end
  22912. if not cancelrl then
  22913. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-1,0),Vector3.new(-angle*0.17,0,math.abs(angle*0.005)))
  22914. end
  22915. if not cancelll then
  22916. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-1,0),Vector3.new(angle*0.17,0,-math.abs(angle*0.005)))
  22917. end
  22918. if not canceln then
  22919. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.015 ,-angle*0.01,0))
  22920. end
  22921. if not cancelhrp then
  22922. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.015 - math.abs((angle*0.02)),angle*0.01,0))
  22923. end
  22924. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  22925. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  22926. end
  22927.  
  22928. elseif script.pose.Value == 1 then
  22929. ----- crouch --------
  22930. if not cancelra then
  22931. 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)))
  22932. end
  22933. if not cancella then
  22934. 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)))
  22935. end
  22936. if not cancelrl then
  22937. 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)))
  22938. end
  22939. if not cancelll then
  22940. 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)))
  22941. end
  22942. if not canceln then
  22943. 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))
  22944. end
  22945. if not cancelhrp then
  22946. 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))
  22947. end
  22948.  
  22949. elseif script.pose.Value == 2 then
  22950.  
  22951. end
  22952. end
  22953.  
  22954. function Running()
  22955. if script.pose.Value == 0 then
  22956. ----- regular --------
  22957. if not cancelra then
  22958. 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)))
  22959. end
  22960. if not cancella then
  22961. 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)))
  22962. end
  22963. if not cancelrl then
  22964. 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)))
  22965. end
  22966. if not cancelll then
  22967. 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)))
  22968. end
  22969. if not canceln then
  22970. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.07 + math.abs(-angle*0.02),-angle*0.03,0))
  22971. end
  22972. if not cancelhrp then
  22973. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.14 - math.abs(-angle*0.04),angle*0.035,NV))
  22974. end
  22975. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  22976. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  22977. end
  22978.  
  22979. elseif script.pose.Value == 1 then
  22980.  
  22981. elseif script.pose.Value == 2 then
  22982.  
  22983. end
  22984. end
  22985.  
  22986.  
  22987. function Jumping()
  22988. if script.pose.Value == 0 then
  22989. ----- regular --------
  22990. if not cancelra then
  22991. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(-0.16,0,0.3 + (angle*0.012)))
  22992. end
  22993. if not cancella then
  22994. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(-0.16,0,-0.3 - (angle*0.012)))
  22995. end
  22996. if not cancelrl then
  22997. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-0.8,-0.05),Vector3.new(-0.28 + (angle*0.02),0,0))
  22998. end
  22999. if not cancelll then
  23000. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-0.45,-0.55),Vector3.new(-0.4 - (angle*0.02),0,0))
  23001. end
  23002. if not canceln then
  23003. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-angle*0.01,0))
  23004. end
  23005. if not cancelhrp then
  23006. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(0.2 + (angle*0.002),angle*0.02,0))
  23007. end
  23008. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  23009. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  23010. end
  23011.  
  23012. elseif script.pose.Value == 1 then
  23013. ----- crouch --------
  23014. if not cancelra then
  23015. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(-0.16,0,0.3 + (angle*0.012)))
  23016. end
  23017. if not cancella then
  23018. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(-0.16,0,-0.3 - (angle*0.012)))
  23019. end
  23020. if not cancelrl then
  23021. 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))
  23022. end
  23023. if not cancelll then
  23024. 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))
  23025. end
  23026. if not canceln then
  23027. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-math.pi/5 - (angle*0.01),0))
  23028. end
  23029. if not cancelhrp then
  23030. 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))
  23031. end
  23032. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  23033. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  23034. end
  23035.  
  23036. elseif script.pose.Value == 2 then
  23037.  
  23038. end
  23039. end
  23040.  
  23041. function Falling()
  23042. if script.pose.Value == 0 then
  23043. ----- regular --------
  23044. if not cancelra then
  23045. 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)))
  23046. end
  23047. if not cancella then
  23048. 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)))
  23049. end
  23050. if not cancelrl then
  23051. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-0.45,-0.55),Vector3.new(-0.4 + (angle*0.02),0,0))
  23052. end
  23053. if not cancelll then
  23054. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-0.8,-0.05),Vector3.new(-0.28 - (angle*0.02),0,0))
  23055. end
  23056. if not canceln then
  23057. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-angle*0.01,0))
  23058. end
  23059. if not cancelhrp then
  23060. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.2 + (angle*0.002),angle*0.02,0))
  23061. end
  23062. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  23063. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  23064. end
  23065.  
  23066. elseif script.pose.Value == 1 then
  23067. ----- crouch --------
  23068. if not cancelra then
  23069. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.65,0),Vector3.new(-0.1,0,0.3 + (angle*0.012)))
  23070. end
  23071. if not cancella then
  23072. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.65,0),Vector3.new(-0.1,0,-0.3 - (angle*0.012)))
  23073. end
  23074. if not cancelrl then
  23075. 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))
  23076. end
  23077. if not cancelll then
  23078. 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))
  23079. end
  23080. if not canceln then
  23081. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-math.pi/5 - (angle*0.01),0))
  23082. end
  23083. if not cancelhrp then
  23084. 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))
  23085. end
  23086. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  23087. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  23088. end
  23089.  
  23090. elseif script.pose.Value == 2 then
  23091.  
  23092. end
  23093. end
  23094.  
  23095. game:GetService("RunService").Stepped:connect(function()
  23096. count1 = (count1%100) + countspeed
  23097. angle = math.pi * math.sin(math.pi*2/100*count1)
  23098. cangle = math.pi * math.cos(math.pi*2/100*count1)
  23099.  
  23100. ------------- snowball power gui movement ------------------
  23101. if SPC.Archivable == true then
  23102. SPCP = SPCP ~= 14 and SPCP+1 or 14
  23103. else
  23104. SPCP = SPCP ~= 0 and SPCP-1 or 0
  23105. end
  23106. if SPC ~= nil then
  23107. local perc = math.sin((math.pi/2/14)*SPCP)
  23108. SPC.Position = UDim2.new(1,10 - (50*perc),0.5,-55)
  23109. if SPCP > 0 then
  23110. SPC.Visible = true
  23111. else
  23112. SPC.Visible = false
  23113. end
  23114. end
  23115.  
  23116. ------------- walkspeed changes -------------------------
  23117. if DisableMovement then
  23118. Walkspeed = 0
  23119. Hu.WalkSpeed = Walkspeed
  23120. else
  23121. if Shift and pose.Value ~= 1 then
  23122. Walkspeed = 25
  23123. Hu.WalkSpeed = Walkspeed
  23124. else
  23125. Walkspeed = 16
  23126. if pose.Value == 1 then
  23127. Hu.WalkSpeed = Walkspeed/2
  23128. else
  23129. Hu.WalkSpeed = Walkspeed
  23130. end
  23131. end
  23132. end
  23133.  
  23134. -------- animation slide count and pose smoothener --------------------
  23135. slidecount = (slidecount < slidecountmax and slidecount+1) or slidecountmax
  23136. SlideCooldown = (SlideCooldown > 0 and SlideCooldown-1) or 0
  23137.  
  23138. if script.pose.Value ~= lastpose then
  23139. UpdateWP()
  23140. end
  23141.  
  23142. --------- animation conditions -------------------
  23143.  
  23144. local ghitz, genz = RAY(Torsoz.Position,Vector3.new(0,-5.2,0))
  23145.  
  23146. if ghitz == nil and Torsoz.Velocity.y > 1 then
  23147. ----- jumping -----
  23148. anim = 3
  23149. if anim ~= lastanim then
  23150. UpdateWP(7)
  23151. end
  23152. Jumping()
  23153. elseif ghitz == nil and Torsoz.Velocity.y < -1 then
  23154. ----- falling ------
  23155. anim = 4
  23156. if anim ~= lastanim then
  23157. UpdateWP(7)
  23158. end
  23159. Falling()
  23160. elseif Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude < 2 then
  23161. ---- idle ---------
  23162. anim = 0
  23163. if anim ~= lastanim then
  23164. UpdateWP(6)
  23165. end
  23166. Idle()
  23167.  
  23168. elseif Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude < 17 then
  23169. ---- walking -------
  23170. anim = 1
  23171. if anim ~= lastanim then
  23172. UpdateWP(7)
  23173. end
  23174. Walking()
  23175.  
  23176. elseif Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude >= 17 then
  23177. ----- running -----
  23178. anim = 2
  23179. if anim ~= lastanim then
  23180. UpdateWP(5)
  23181. end
  23182. Running()
  23183.  
  23184. ------------
  23185. end
  23186.  
  23187. --------- breakfall roll --------
  23188. if ghitz ~= nil and prevvelocity.y < -110 then
  23189. invoke.Value = 2
  23190. end
  23191.  
  23192. --------- snowball projectile movement --------
  23193. for i, v in pairs(SnowballProjectiles) do
  23194. local oldpos = v[1].Position
  23195. v[1].CFrame = v[1].CFrame + (v[4]*v[5]) + Vector3.new(0,v[3],0)
  23196. local raydist = (v[1].Position-oldpos).unit*((oldpos-v[1].Position).magnitude+0.5)
  23197. local hitz,enz = RAY(v[1].Position,raydist)
  23198.  
  23199. v[3] = v[3] - 0.35*v[2]
  23200. v[9] = v[9] +1
  23201.  
  23202. if #v[8] > 0 then
  23203. v[8][v[7]].Parent = v[1].Parent
  23204. v[8][v[7]].Transparency = 0.5 - (0.3 * math.random())
  23205. v[8][v[7]].Mesh.Scale = Vector3.new(0.45,0.45,0.45) - (Vector3.new(0.3,0.3,0.3) * math.random())
  23206. 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)
  23207. v[7] = (v[7]%#v[8]) +1
  23208. for j,vv in pairs(v[8]) do
  23209. vv.CFrame = vv.CFrame * CFrame.new(0.05,0,0) * CFrame.Angles(0,-0.1,-0.085)
  23210. end
  23211. end
  23212.  
  23213. if hitz ~= nil or v[9] >= 200 then
  23214. if hitz ~= nil then
  23215. SnowballHit(hitz,enz,v[6])
  23216. end
  23217. v[1].Parent:Destroy()
  23218. print("Removed Snowball#",i)
  23219. table.remove(SnowballProjectiles,i)
  23220. end
  23221.  
  23222. end
  23223.  
  23224. ------ snowball splosion effects -----
  23225. for i, v in pairs(SnowSplosionEffects) do
  23226. for j,vv in pairs(v:GetChildren()) do
  23227. vv.CFrame = vv.CFrame * CFrame.new(0.3,0,0)
  23228. vv.Transparency = vv.Transparency + 0.12
  23229. vv.Mesh.Scale = vv.Mesh.Scale + Vector3.new(0.3,-0.1,-0.1)
  23230. end
  23231. if v:FindFirstChild("Effect").Transparency > 0.9 then
  23232. v:Destroy()
  23233. table.remove(SnowSplosionEffects,i)
  23234. end
  23235. end
  23236.  
  23237. lastpose = script.pose.Value
  23238. lastanim = anim
  23239. prevvelocity = HRP.Velocity
  23240. end)
  23241.         end)
  23242. --
  23243. local button = Instance.new("TextButton")
  23244.         button.Parent = ws
  23245.         button.BackgroundColor3 = blak
  23246.         button.BorderColor3 = rede
  23247.         button.BorderSizePixel = 3
  23248.         button.Name = "Staff"
  23249.         button.Position = UDim2.new(0.5,3,0,165)
  23250.         button.Size = UDim2.new(0.5,-3,0,30)
  23251.         button.ZIndex = 2
  23252.         button.Font = tef
  23253.         button.FontSize = "Size14"
  23254.         button.Text = "Staff"
  23255.         button.TextColor3 = whit
  23256.                 button.MouseButton1Down:connect(function()
  23257.                 if script.Parent.className ~= "HopperBin" then
  23258.  
  23259. local admin = game.Players.LocalPlayer
  23260. bin = Instance.new("HopperBin", admin.Backpack)
  23261. player = bin.Parent.Parent.Character
  23262. rarm = player["Right Arm"]
  23263. larm = player["Left Arm"]
  23264. player.Humanoid.MaxHealth = 50
  23265. visible = true
  23266. parts = {}
  23267.  
  23268. function Check(pos)
  23269. local hurt = false
  23270. local players = game.Players:GetChildren()
  23271. for i = 1, #players do
  23272. if players[i].Character and hurt == false then
  23273. local parts = players[i].Character:GetChildren()
  23274. for q = 1, #parts do
  23275. if parts[q].className == "Part" and hurt == false then
  23276. 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)))
  23277. if (found - parts[q].Position).magnitude <= range then
  23278. hurt = true
  23279. character = parts[q].Parent
  23280. humanoid = character.Humanoid
  23281. character.Torso.CFrame = character.Torso.CFrame*CFrame.Angles(2,2,2)-amage(25)
  23282. humanoid:TakeDamage(50)
  23283. humanoid.Sit = true
  23284. end
  23285. end
  23286. end
  23287. end
  23288. end
  23289. end
  23290.  
  23291. function clean(min,thing2)
  23292. while min.Humanoid.Health ~= 0 do
  23293. local a = game.Players:GetChildren()
  23294. for i = 1, #a do
  23295. wait()
  23296. if (a[i].Character.Torso.Position - thing2.Position).magnitude < 5 then
  23297. a[i].Character.Humanoid:TakeDamage(5)
  23298. end
  23299. end
  23300. wait()
  23301. end
  23302. min:remove()
  23303. end
  23304.  
  23305. function fire(v)
  23306. local spawnPos = (tip2.CFrame * CFrame.new(0, 1, 0)).p
  23307. local HitSpot = RayCast(spawnPos, v)
  23308. local distance = (HitSpot - spawnPos).magnitude
  23309. start = nil
  23310. finish = nil
  23311. local num = math.random(3, 10)
  23312. for i = distance / num, distance, distance / num do
  23313. if start == nil then
  23314. start = tip2.CFrame.p
  23315. elseif start ~= nil then
  23316. start = finish
  23317. end
  23318. finish = CFrame.new(spawnPos, HitSpot)
  23319. if i ~= distance then
  23320. finish = (finish * CFrame.new(math.random(-5, 5), math.random(-1, 1), -i)).p
  23321. else
  23322. finish = HitSpot
  23323. end
  23324. local P = Instance.new("Part")
  23325. P.Name = "Magic"
  23326. P.formFactor = 0
  23327. P.Size = Vector3.new(1, 1, (start - finish).magnitude)
  23328. P.Parent = game.Workspace
  23329. P.BrickColor = BrickColor.new(1006)
  23330. P.Anchored = true
  23331. P.CanCollide = false
  23332. P.TopSurface = "Smooth"
  23333. P.BottomSurface = "Smooth"
  23334. P.Transparency = 0
  23335. m = Instance.new("BlockMesh")
  23336. m.Scale = Vector3.new(.25, .25, 1)
  23337. m.Offset = Vector3.new(0, -1000, 0)
  23338. m.VertexColor = Vector3.new(math.huge, math.huge, math.huge)
  23339. m.Parent = P
  23340. P.CFrame = CFrame.new(start, finish)
  23341. P.CFrame = P.CFrame * CFrame.new(0, 1000, P.Size.Z / -2)
  23342. table.insert(parts, P)
  23343. game:GetService("Debris"):AddItem(P, 2.5)
  23344. end
  23345. end
  23346.  
  23347. function RayCast(start, v)
  23348.  
  23349. local ray = Instance.new("Part")
  23350. ray.Parent = game.Workspace
  23351. ray.Anchored = true
  23352. ray.CFrame = CFrame.new(start)
  23353. ray.Size = Vector3.new(1,1,1)
  23354. ray.Shape = 0
  23355. ray.BottomSurface = 0
  23356. ray.TopSurface = 0
  23357. ray.Name = "Magic"
  23358. ray.Elasticity = 0
  23359. ray.Reflectance = 0
  23360. ray.Friction = 0
  23361. ray.Transparency = 0
  23362.  
  23363. local finding = true
  23364. far = 1000
  23365.  
  23366. while finding do
  23367. far = far - 1
  23368. if far > 0 then
  23369. local see = ray.Position + v
  23370. ray.Position = ray.Position + v
  23371. if ray.Position ~= see then
  23372. finding = false
  23373. found = see
  23374. end
  23375. else
  23376. finding = false
  23377. found = ray.Position
  23378. end
  23379. end
  23380.  
  23381. ray:remove()
  23382. Check(found)
  23383. return found
  23384. end
  23385.  
  23386. function kill(tar)
  23387. while tar.Parent.Humanoid.Health ~= 0 do
  23388. tar.Parent.Humanoid.Health = tar.Parent.Humanoid.Health -1
  23389. wait()
  23390. end
  23391. end
  23392.  
  23393. bin.Selected:connect(function(mouse)
  23394. if player.Torso:findFirstChild("Right Shoulder") ~= nil then
  23395. rs = player.Torso["Right Shoulder"]
  23396. rs.Part1 = nil
  23397. end
  23398. if player.Torso:findFirstChild("Left Shoulder") ~= nil then
  23399. ls = player.Torso["Left Shoulder"]
  23400. ls.Part1 = nil
  23401. end
  23402. if player:FindFirstChild("check") == nil then
  23403. rns = Instance.new("Weld")
  23404. rns.Parent = player.Torso
  23405. rns.Part0 = rns.Parent
  23406. rns.Part1 = player["Right Arm"]
  23407. rns.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23408. lns = Instance.new("Weld")
  23409. lns.Parent = player.Torso
  23410. lns.Part0 = lns.Parent
  23411. lns.Part1 = player["Left Arm"]
  23412. lns.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23413. rblade = Instance.new("Part")
  23414. rblade.BrickColor = BrickColor.new(1003)
  23415. rblade.Name ="check"
  23416. rblade.Parent = player
  23417. rblade.CanCollide = false
  23418. rblade.Size = Vector3.new(1,8,1)
  23419. rblade.formFactor = "Symmetric"
  23420. rblade.TopSurface = 0
  23421. rblade.BottomSurface = 0
  23422. rbm = Instance.new("BlockMesh")
  23423. rbm.Parent = rblade
  23424. rbm.Scale = Vector3.new(.4,1,.4)
  23425. rbw = Instance.new("Weld")
  23426. rbw.Parent = rblade
  23427. rbw.Part0 = rarm
  23428. rbw.Part1 = rblade
  23429. rbw.C1 = CFrame.new(0,0,1) *CFrame.Angles((math.pi*.5),(math.pi*0),(math.pi*0))
  23430. tip = Instance.new("Part")
  23431. tip.CanCollide = false
  23432. tip.TopSurface = 0
  23433. tip.BottomSurface = 0
  23434. tip.Parent = rblade
  23435. tip.Size = Vector3.new(1,1,1)
  23436. tip.formFactor = "Symmetric"
  23437. tip.BrickColor = BrickColor.new(1004)
  23438. tipm = Instance.new("BlockMesh")
  23439. tipm.Scale = Vector3.new(.41,.2,.41)
  23440. tipm.Parent = tip
  23441. tipw = Instance.new("Weld")
  23442. tipw.Parent = rblade
  23443. tipw.Part0 = rblade
  23444. tipw.Part1 = tip
  23445. tipw.C1 = CFrame.new(0,3.5,0)
  23446. tip2 = Instance.new("Part")
  23447. tip2.CanCollide = false
  23448. tip2.TopSurface = 0
  23449. tip2.BottomSurface = 0
  23450. tip2.Parent = rblade
  23451. tip2.Size = Vector3.new(1,1,1)
  23452. tip2.formFactor = "Symmetric"
  23453. tip2.BrickColor = BrickColor.new(1004)
  23454. tip2m = Instance.new("BlockMesh")
  23455. tip2m.Scale = Vector3.new(.41,.2,.41)
  23456. tip2m.Parent = tip2
  23457. tip2w = Instance.new("Weld")
  23458. tip2w.Parent = rblade
  23459. tip2w.Part0 = rblade
  23460. tip2w.Part1 = tip2
  23461. tip2w.C1 = CFrame.new(0,-3.5,0)
  23462. tip3 = Instance.new("Part")
  23463. tip3.CanCollide = false
  23464. tip3.TopSurface = 0
  23465. tip3.BottomSurface = 0
  23466. tip3.Parent = rblade
  23467. tip3.Size = Vector3.new(1,1,1)
  23468. tip3.formFactor = "Symmetric"
  23469. tip3.BrickColor = BrickColor.new(1004)
  23470. tip3m = Instance.new("BlockMesh")
  23471. tip3m.Scale = Vector3.new(.41,.2,.41)
  23472. tip3m.Parent = tip3
  23473. tip3w = Instance.new("Weld")
  23474. tip3w.Parent = rblade
  23475. tip3w.Part0 = rblade
  23476. tip3w.Part1 = tip3
  23477. tip3w.C1 = CFrame.new(0,-.5,0)
  23478. tip4 = Instance.new("Part")
  23479. tip4.CanCollide = false
  23480. tip4.TopSurface = 0
  23481. tip4.BottomSurface = 0
  23482. tip4.Parent = rblade
  23483. tip4.Size = Vector3.new(1,1,1)
  23484. tip4.formFactor = "Symmetric"
  23485. tip4.BrickColor = BrickColor.new(1004)
  23486. tip4m = Instance.new("BlockMesh")
  23487. tip4m.Scale = Vector3.new(.41,.2,.41)
  23488. tip4m.Parent = tip4
  23489. tip4w = Instance.new("Weld")
  23490. tip4w.Parent = rblade
  23491. tip4w.Part0 = rblade
  23492. tip4w.Part1 = tip4
  23493. tip4w.C1 = CFrame.new(0,.5,0)
  23494. tip5 = Instance.new("Part")
  23495. tip5.CanCollide = false
  23496. tip5.TopSurface = 0
  23497. tip5.BottomSurface = 0
  23498. tip5.Parent = rblade
  23499. tip5.Size = Vector3.new(1,1,1)
  23500. tip5.formFactor = "Symmetric"
  23501. tip5.BrickColor = BrickColor.new(1004)
  23502. tip5m = Instance.new("BlockMesh")
  23503. tip5m.Scale = Vector3.new(.41,.2,.41)
  23504. tip5m.Parent = tip5
  23505. tip5w = Instance.new("Weld")
  23506. tip5w.Parent = rblade
  23507. tip5w.Part0 = rblade
  23508. tip5w.Part1 = tip5
  23509. tip5w.C1 = CFrame.new(0,0,0)
  23510. tip6 = Instance.new("Part")
  23511. tip6.CanCollide = false
  23512. tip6.TopSurface = 0
  23513. tip6.BottomSurface = 0
  23514. tip6.Parent = rblade
  23515. tip6.Size = Vector3.new(1,1,1)
  23516. tip6.formFactor = "Symmetric"
  23517. tip6.BrickColor = BrickColor.new(1004)
  23518. tip6m = Instance.new("BlockMesh")
  23519. tip6m.Scale = Vector3.new(.05,.6,.41)
  23520. tip6m.Parent = tip6
  23521. tip6w = Instance.new("Weld")
  23522. tip6w.Parent = rblade
  23523. tip6w.Part0 = rblade
  23524. tip6w.Part1 = tip6
  23525. tip6w.C1 = CFrame.new(0,-3,0)
  23526. tip7 = Instance.new("Part")
  23527. tip7.CanCollide = false
  23528. tip7.TopSurface = 0
  23529. tip7.BottomSurface = 0
  23530. tip7.Parent = rblade
  23531. tip7.Size = Vector3.new(1,1,1)
  23532. tip7.formFactor = "Symmetric"
  23533. tip7.BrickColor = BrickColor.new(1004)
  23534. tip7m = Instance.new("BlockMesh")
  23535. tip7m.Scale = Vector3.new(.41,.6,.05)
  23536. tip7m.Parent = tip7
  23537. tip7w = Instance.new("Weld")
  23538. tip7w.Parent = rblade
  23539. tip7w.Part0 = rblade
  23540. tip7w.Part1 = tip7
  23541. tip7w.C1 = CFrame.new(0,-3,0)
  23542. tip6a = Instance.new("Part")
  23543. tip6a.CanCollide = false
  23544. tip6a.TopSurface = 0
  23545. tip6a.BottomSurface = 0
  23546. tip6a.Parent = rblade
  23547. tip6a.Size = Vector3.new(1,1,1)
  23548. tip6a.formFactor = "Symmetric"
  23549. tip6a.BrickColor = BrickColor.new(1004)
  23550. tip6am = Instance.new("BlockMesh")
  23551. tip6am.Scale = Vector3.new(.15,.6,.41)
  23552. tip6am.Parent = tip6a
  23553. tip6aw = Instance.new("Weld")
  23554. tip6aw.Parent = rblade
  23555. tip6aw.Part0 = rblade
  23556. tip6aw.Part1 = tip6a
  23557. tip6aw.C1 = CFrame.new(0,-2.5,0)
  23558. tip7a = Instance.new("Part")
  23559. tip7a.CanCollide = false
  23560. tip7a.TopSurface = 0
  23561. tip7a.BottomSurface = 0
  23562. tip7a.Parent = rblade
  23563. tip7a.Size = Vector3.new(1,1,1)
  23564. tip7a.formFactor = "Symmetric"
  23565. tip7a.BrickColor = BrickColor.new(1004)
  23566. tip7am = Instance.new("BlockMesh")
  23567. tip7am.Scale = Vector3.new(.41,.6,.15)
  23568. tip7am.Parent = tip7a
  23569. tip7aw = Instance.new("Weld")
  23570. tip7aw.Parent = rblade
  23571. tip7aw.Part0 = rblade
  23572. tip7aw.Part1 = tip7a
  23573. tip7aw.C1 = CFrame.new(0,-2.5,0)
  23574. tip6b = Instance.new("Part")
  23575. tip6b.CanCollide = false
  23576. tip6b.TopSurface = 0
  23577. tip6b.BottomSurface = 0
  23578. tip6b.Parent = rblade
  23579. tip6b.Size = Vector3.new(1,1,1)
  23580. tip6b.formFactor = "Symmetric"
  23581. tip6b.BrickColor = BrickColor.new(1004)
  23582. tip6bm = Instance.new("BlockMesh")
  23583. tip6bm.Scale = Vector3.new(.05,.6,.41)
  23584. tip6bm.Parent = tip6b
  23585. tip6bw = Instance.new("Weld")
  23586. tip6bw.Parent = rblade
  23587. tip6bw.Part0 = rblade
  23588. tip6bw.Part1 = tip6b
  23589. tip6bw.C1 = CFrame.new(0,-2,0)
  23590. tip7b = Instance.new("Part")
  23591. tip7b.CanCollide = false
  23592. tip7b.TopSurface = 0
  23593. tip7b.BottomSurface = 0
  23594. tip7b.Parent = rblade
  23595. tip7b.Size = Vector3.new(1,1,1)
  23596. tip7b.formFactor = "Symmetric"
  23597. tip7b.BrickColor = BrickColor.new(1004)
  23598. tip7bm = Instance.new("BlockMesh")
  23599. tip7bm.Scale = Vector3.new(.41,.6,.05)
  23600. tip7bm.Parent = tip7b
  23601. tip7bw = Instance.new("Weld")
  23602. tip7bw.Parent = rblade
  23603. tip7bw.Part0 = rblade
  23604. tip7bw.Part1 = tip7b
  23605. tip7bw.C1 = CFrame.new(0,-2,0)
  23606.  
  23607. rblade.Touched:connect(function(hit)
  23608. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  23609. if hit.Parent.Name ~= player.Name then
  23610. if hit.Parent.Humanoid.MaxHealth > 100 then
  23611. hit.Parent.Humanoid.MaxHealth = 100
  23612. end
  23613. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(5,15)
  23614. hit.Parent.Humanoid.Sit = true
  23615. for i = 1, (math.random(1,3)) do
  23616. wait()
  23617. local bleed = Instance.new("Part")
  23618. bleed.formFactor = "Symmetric"
  23619. bleed.Size = Vector3.new(1,1,1)
  23620. bleed.BrickColor = BrickColor.new(1004)
  23621. bleed.TopSurface = 0
  23622. bleed.BottomSurface = 0
  23623. bleed.Reflectance = .1
  23624. bleed.Transparency = 0
  23625. bleed.Parent = Workspace
  23626. bleed.Position = rblade.Position
  23627. local bleedm = Instance.new("SpecialMesh")
  23628. bleedm.MeshType = "Sphere"
  23629. bleedm.Scale = Vector3.new(.5,.5,.5)
  23630. bleedm.Parent = bleed
  23631. game:GetService("Debris"):AddItem(bleed, 5)
  23632. end
  23633. end
  23634. end
  23635. end)
  23636.  
  23637. end
  23638. -- animations--
  23639. right = rns
  23640. staff = rblade
  23641. left = lns
  23642. 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))"
  23643. 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))"
  23644. -- end of staff
  23645. mouse.KeyDown:connect(function(key)
  23646. -- moves
  23647. if key == "z" then
  23648. if rbw.Part0 == rarm then
  23649. rbw.Part0 = larm
  23650. end
  23651. end
  23652. if key == "x" then
  23653. if rbw.Part0 == larm then
  23654. rbw.Part0 = rarm
  23655. end
  23656. end
  23657. if key == "e" then
  23658. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23659. wait()
  23660. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  23661. wait()
  23662. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  23663. wait()
  23664. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  23665. wait()
  23666. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  23667. wait()
  23668. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  23669. wait(.5)
  23670. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  23671. wait()
  23672. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  23673. wait()
  23674. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  23675. wait()
  23676. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  23677. wait()
  23678. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23679. elseif key == "q" then
  23680. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23681. wait()
  23682. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  23683. wait()
  23684. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  23685. wait()
  23686. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  23687. wait()
  23688. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  23689. wait()
  23690. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  23691. wait(.5)
  23692. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  23693. wait()
  23694. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  23695. wait()
  23696. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  23697. wait()
  23698. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  23699. wait()
  23700. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23701. elseif key == "r" then
  23702. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23703. wait()
  23704. left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.3))
  23705. wait()
  23706. left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.35))
  23707. wait()
  23708. left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.4))
  23709. wait()
  23710. left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.45))
  23711. wait()
  23712. left.C1 = CFrame.new(0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.5))
  23713. wait(.2)
  23714. left.C1 = CFrame.new(0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.5))
  23715. wait()
  23716. left.C1 = CFrame.new(0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.5))
  23717. wait()
  23718. left.C1 = CFrame.new(0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.5))
  23719. wait()
  23720. left.C1 = CFrame.new(0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.5))
  23721. wait()
  23722. left.C1 = CFrame.new(0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*.5))
  23723. wait(.1)
  23724. left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.45))
  23725. wait()
  23726. left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.4))
  23727. wait()
  23728. left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.35))
  23729. wait()
  23730. left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.3))
  23731. wait()
  23732. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23733. elseif key == "t" then
  23734. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23735. wait()
  23736. right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.3))
  23737. wait()
  23738. right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.35))
  23739. wait()
  23740. right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.4))
  23741. wait()
  23742. right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.45))
  23743. wait()
  23744. right.C1 = CFrame.new(-0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.5))
  23745. wait(.2)
  23746. right.C1 = CFrame.new(-0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.5))
  23747. wait()
  23748. right.C1 = CFrame.new(-0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.5))
  23749. wait()
  23750. right.C1 = CFrame.new(-0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.5))
  23751. wait()
  23752. right.C1 = CFrame.new(-0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.5))
  23753. wait()
  23754. right.C1 = CFrame.new(-0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*-.5))
  23755. wait(.1)
  23756. right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.45))
  23757. wait()
  23758. right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.4))
  23759. wait()
  23760. right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.35))
  23761. wait()
  23762. right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.3))
  23763. wait()
  23764. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23765. end
  23766. -- spells-------------------------------------------------------------------------------------
  23767. if key == "f" then
  23768. loadstring(up)()
  23769. local wall = Instance.new("Part")
  23770. wall.Parent = Workspace
  23771. wall.Size = Vector3.new(10,1,10)
  23772. wall.formFactor = "Symmetric"
  23773. wall.CFrame = player.Torso.CFrame *CFrame.new(0,-3.42,0)
  23774. wall.TopSurface = 0
  23775. wall.BottomSurface = 0
  23776. wall.Anchored = true
  23777. wall.BrickColor = BrickColor.new(1006)
  23778. wall.Material = "Ice"
  23779. game:GetService("Debris"):AddItem(wall, 15)
  23780. while wall:IsDescendantOf(Workspace) do
  23781. wait()
  23782. wall.CFrame = player.Torso.CFrame*CFrame.new(0,-3.42,0)
  23783. end
  23784. wait(.5)
  23785. loadstring(down)()
  23786. end
  23787. if key == "g" then
  23788. if mouse.Target then
  23789. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  23790. local tar = mouse.Target
  23791. loadstring(up)()
  23792. local spark = Instance.new("Explosion")
  23793. spark.BlastRadius = 4
  23794. spark.BlastPressure = 0
  23795. spark.Parent = Workspace
  23796. spark.Position = tip2.Position
  23797. local ptar = tar.Parent
  23798. local mis = Instance.new("Part")
  23799. mis.formFactor = "Symmetric"
  23800. mis.Shape = "Ball"
  23801. mis.BrickColor = BrickColor.new(1006)
  23802. mis.Transparency = .5
  23803. mis.Size = Vector3.new(1,1,1)
  23804. mis.Parent = Workspace
  23805. mis.CFrame = staff.CFrame * CFrame.new(0,0,-15)
  23806. local misv = Instance.new("BodyVelocity")
  23807. misv.Parent = mis
  23808. misv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  23809. misv.velocity = mis.CFrame.lookVector * 50
  23810. local misg = Instance.new("BodyGyro")
  23811. misg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  23812. misg.Parent = mis
  23813. misg.cframe = CFrame.new(tar.Position, mis.Position)
  23814. mis.Touched:connect(function(hit)
  23815. if hit.Name == tar.Name then
  23816. local ex = Instance.new("Explosion")
  23817. ex.Parent = Workspace
  23818. ex.Position = mis.Position
  23819. mis:remove()
  23820. end
  23821. end)
  23822. wait(.5)
  23823. loadstring(down)()
  23824. while mis.Parent == Workspace and tar:IsDescendantOf(Workspace) do
  23825. wait()
  23826. misg.cframe = CFrame.new(tar.Position, mis.Position)
  23827. local fire = Instance.new("Explosion")
  23828. fire.Parent = Workspace
  23829. fire.Position = mis.Position
  23830. fire.BlastRadius = 2
  23831. misv.velocity = mis.CFrame.lookVector * -18
  23832. end
  23833. mis:remove()
  23834. end
  23835. end
  23836. end
  23837. if key == "b" then
  23838. loadstring(up)()
  23839. for i = 1,100 do
  23840. wait()
  23841. local p = Instance.new("Part")
  23842. p.BrickColor = BrickColor.new(1006)
  23843. p.Name ="check"
  23844. p.Parent = Workspace
  23845. p.CanCollide = false
  23846. p.Size = Vector3.new(1,3,1)
  23847. p.CFrame = player.Torso.CFrame + Vector3.new(math.random(-5,5),math.random(-2,4),math.random(-5,5))
  23848. p.formFactor = "Symmetric"
  23849. p.TopSurface = 0
  23850. p.BottomSurface = 0
  23851. p.Transparency = .5
  23852. local pm = Instance.new("SpecialMesh")
  23853. pm.Parent = p
  23854. pm.MeshType = "Sphere"
  23855. pm.Scale = Vector3.new((.2+(.05*i)),(.2+(.05*i)),(.2+(.05*i)))
  23856. local pbv = Instance.new("BodyVelocity")
  23857. pbv.Parent = p
  23858. pbv.velocity = Vector3.new(0,10,0)
  23859. game:GetService("Debris"):AddItem(p, .2)
  23860. player.Humanoid.Health = player.Humanoid.Health +2
  23861. end
  23862. player.Torso.CFrame = mouse.Hit + Vector3.new(0,4,0)
  23863. wait(.5)
  23864. loadstring(down)()
  23865. end
  23866. if key == "v" then
  23867. local tar = mouse.Target
  23868. if tar ~= nil then
  23869. if (tip6a.Position - tar.Position).magnitude < 100 then
  23870. loadstring(up)()
  23871. local shot = Instance.new("Part")
  23872. shot.Parent = Workspace
  23873. shot.BrickColor = BrickColor.new("Cyan")
  23874. shot.formFactor = "Symmetric"
  23875. shot.Size = Vector3.new(1,1,1)
  23876. shot.Anchored = true
  23877. local shotm = Instance.new("BlockMesh")
  23878. shotm.Scale = Vector3.new(.2,.2,(tip6a.Position - mouse.Hit.p).magnitude)
  23879. shot.CFrame = CFrame.new(((tip6a.Position + mouse.Hit.p)/2),mouse.Hit.p)
  23880. shotm.Parent = shot
  23881. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  23882. local ice = Instance.new("Part")
  23883. ice.Position = tar.Parent.Torso.Position
  23884. ice.Anchored = true
  23885. tar.Parent.Torso.Anchored = true
  23886. ice.BrickColor = BrickColor.new("Cyan")
  23887. ice.Size = Vector3.new(4,6,4)
  23888. ice.Reflectance = .2
  23889. ice.TopSurface = 0
  23890. ice.BottomSurface = 0
  23891. ice.Transparency = .5
  23892. ice.Parent = tar.Parent
  23893. coroutine.resume(coroutine.create(function() kill(tar) end))
  23894. end
  23895. wait(.1)
  23896. shot:remove()
  23897. end
  23898. wait(.5)
  23899. loadstring(down)()
  23900. end
  23901. end
  23902. if key == "c" then
  23903. local tar = mouse.Target
  23904. if tar ~= nil then
  23905. if (tip6a.Position - tar.Position).magnitude < 100 then
  23906. loadstring(up)()
  23907. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  23908. local shot = Instance.new("Part")
  23909. shot.Parent = Workspace
  23910. shot.BrickColor = BrickColor.new("Royal purple")
  23911. shot.formFactor = "Symmetric"
  23912. shot.Size = Vector3.new(1,1,1)
  23913. shot.Anchored = true
  23914. local shotm = Instance.new("BlockMesh")
  23915. shotm.Scale = Vector3.new(.2,.2,(tip6a.Position - mouse.Hit.p).magnitude)
  23916. shot.CFrame = CFrame.new(((tip6a.Position + mouse.Hit.p)/2),mouse.Hit.p)
  23917. shotm.Parent = shot
  23918. if tar.className == "Part" then
  23919. local ice = Instance.new("Part")
  23920. ice.CFrame = tar.CFrame
  23921. ice.Size = tar.Size + Vector3.new(1,1,1)
  23922. ice.Anchored = true
  23923. tar.Anchored = true
  23924. ice.BrickColor = BrickColor.new("Cyan")
  23925. ice.Reflectance = .2
  23926. ice.TopSurface = 0
  23927. ice.BottomSurface = 0
  23928. ice.Transparency = .5
  23929. ice.Parent = tar
  23930. ice.Friction = 0
  23931. game:GetService("Debris"):AddItem(ice, 10)
  23932. wait(.1)
  23933. shot:remove()
  23934. wait(.5)
  23935. loadstring(down)()
  23936. end
  23937. end
  23938. end
  23939. end
  23940. if key == "h" then
  23941. loadstring(up)()
  23942. local cf = CFrame.new(tip2.Position, mouse.Hit.p)
  23943. local v = cf.lookVector
  23944. local dx = (math.random() - .5) * .02
  23945. local dy = (math.random() - .5) * .02
  23946. local dz = (math.random() - .5) * .02
  23947. parts = {}
  23948. local f = coroutine.create(function() fire(Vector3.new(v.x + dx, v.y + dy, v.z + dz)) end)
  23949. coroutine.resume(f)
  23950. wait(.5)
  23951. loadstring(down)()
  23952. end
  23953. if key == "y" then
  23954. loadstring(up)()
  23955. for i = 2,101 do
  23956. wait()
  23957. local boulder = Instance.new("Part")
  23958. boulder.TopSurface = 0
  23959. boulder.BottomSurface = 0
  23960. boulder.Anchored = true
  23961. boulder.BrickColor = BrickColor.new("Dark stone grey")
  23962. boulder.Size = Vector3.new((i+math.random(-1,1)),(i+math.random(-1,1)),2)
  23963. boulder.CFrame = tip.CFrame * CFrame.new(0,0,-2*i)
  23964. boulder.Velocity = boulder.CFrame.lookVector * 500
  23965. boulder.Material = "Slate"
  23966. boulder.Parent = Workspace
  23967. boulder.Touched:connect(function(hit)
  23968. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  23969. hit.Parent.humanoid.Sit = true
  23970. end
  23971. end)
  23972. game:GetService("Debris"):AddItem(boulder, .8)
  23973. end
  23974. loadstring(down)()
  23975. end
  23976. if key == "n" then
  23977. local tar = mouse.Target
  23978. if tar~= nil then
  23979. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  23980. if tar.Parent:findFirstChild("Torso") ~= nil then
  23981. loadstring(up)()
  23982. for i = 1,100 do
  23983. wait()
  23984. local p = Instance.new("Part")
  23985. p.BrickColor = BrickColor.new(1006)
  23986. p.Name ="check"
  23987. p.Parent = Workspace
  23988. p.CanCollide = false
  23989. p.Size = Vector3.new(1,3,1)
  23990. p.CFrame = tar.Parent.Torso.CFrame + Vector3.new(math.random(-5,5),math.random(-2,4),math.random(-5,5))
  23991. p.formFactor = "Symmetric"
  23992. p.TopSurface = 0
  23993. p.BottomSurface = 0
  23994. p.Transparency = .5
  23995. local pm = Instance.new("SpecialMesh")
  23996. pm.Parent = p
  23997. pm.MeshType = "Sphere"
  23998. pm.Scale = Vector3.new((.2+(.05*i)),(.2+(.05*i)),(.2+(.05*i)))
  23999. local pbv = Instance.new("BodyVelocity")
  24000. pbv.Parent = p
  24001. pbv.velocity = Vector3.new(0,10,0)
  24002. game:GetService("Debris"):AddItem(p, .2)
  24003. tar.Parent.Humanoid.Health = tar.Parent.Humanoid.Health +2
  24004. end
  24005. tar.Parent.Torso.CFrame = mouse.Hit + Vector3.new(0,4,0)
  24006. wait(.5)
  24007. loadstring(down)()
  24008. end
  24009. end
  24010. end
  24011. end
  24012. if key == "u" then
  24013. loadstring(up)()
  24014. local start = Instance.new("Part")
  24015. start.Parent = Workspace
  24016. start.Position = mouse.Hit.p + Vector3.new(0,18,0)
  24017. start.Anchored = true
  24018. start.Size = Vector3.new(1,1,1)
  24019. start.Transparency = 1
  24020. for i = 1,36 do
  24021. start.CFrame = start.CFrame * CFrame.Angles(math.rad(0),math.rad(5),math.rad(0))
  24022. local wall1 = Instance.new("Part")
  24023. wall1.Parent = Workspace
  24024. wall1.BrickColor = BrickColor.new("Really black")
  24025. wall1.Size = Vector3.new(1,10,1)
  24026. wall1.Anchored = true
  24027. wall1.TopSurface = 0
  24028. wall1.CFrame = start.CFrame * CFrame.new(10,-15,0)
  24029. local wall2 = Instance.new("Part")
  24030. wall2.Parent = Workspace
  24031. wall2.BrickColor = BrickColor.new("Really black")
  24032. wall2.Size = Vector3.new(1,10,1)
  24033. wall2.Anchored = true
  24034. wall2.TopSurface = 0
  24035. wall2.CFrame = start.CFrame * CFrame.new(10,-15,0)
  24036. local wall1a = Instance.new("Part")
  24037. wall1a.Parent = Workspace
  24038. wall1a.BrickColor = BrickColor.new("Really black")
  24039. wall1a.Size = Vector3.new(1,10,1)
  24040. wall1a.Anchored = true
  24041. wall1a.TopSurface = 0
  24042. wall1a.CFrame = start.CFrame * CFrame.new(-10,-15,0)
  24043. local wall2a = Instance.new("Part")
  24044. wall2a.Parent = Workspace
  24045. wall2a.BrickColor = BrickColor.new("Really black")
  24046. wall2a.Size = Vector3.new(1,0,1)
  24047. wall2a.Anchored = true
  24048. wall2a.TopSurface = 0
  24049. wall2a.CFrame = start.CFrame * CFrame.new(-10,-15,0)
  24050. local roof = Instance.new("Part")
  24051. roof.Parent = Workspace
  24052. roof.Size = Vector3.new(0,1,1)
  24053. roof.BrickColor = BrickColor.new("Really black")
  24054. roof.Anchored = true
  24055. roof.CFrame = start.CFrame * CFrame.new(0,-10,0)
  24056. roof.TopSurface = 0
  24057. local roof2 = Instance.new("Part")
  24058. roof2.Parent = Workspace
  24059. roof2.Size = Vector3.new(1,1,20)
  24060. roof2.BrickColor = BrickColor.new("Really black")
  24061. roof2.Anchored = true
  24062. roof2.CFrame = start.CFrame * CFrame.new(0,-10,0)
  24063. roof2.TopSurface = 0
  24064. local roofa = Instance.new("Part")
  24065. roofa.Parent = Workspace
  24066. roofa.Size = Vector3.new(20,1,1)
  24067. roofa.BrickColor = BrickColor.new("Really black")
  24068. roofa.Anchored = true
  24069. roofa.CFrame = start.CFrame * CFrame.new(0,-20,0)
  24070. roofa.TopSurface = 0
  24071. local roof2a = Instance.new("Part")
  24072. roof2a.Parent = Workspace
  24073. roof2a.Size = Vector3.new(1,1,20)
  24074. roof2a.BrickColor = BrickColor.new("Really black")
  24075. roof2a.Anchored = true
  24076. roof2a.CFrame = start.CFrame * CFrame.new(0,-20,0)
  24077. roof2a.TopSurface = 0
  24078. game:GetService("Debris"):AddItem(roof, 15)
  24079. game:GetService("Debris"):AddItem(wall1, 15)
  24080. game:GetService("Debris"):AddItem(wall2, 15)
  24081. game:GetService("Debris"):AddItem(roof2, 15)
  24082. game:GetService("Debris"):AddItem(wall1a, 15)
  24083. game:GetService("Debris"):AddItem(wall2a, 15)
  24084. game:GetService("Debris"):AddItem(roofa, 15)
  24085. game:GetService("Debris"):AddItem(roof2a, 15)
  24086. wait()
  24087. end
  24088. start:remove()
  24089. wait(.5)
  24090. loadstring(down)()
  24091. end
  24092. if key == "m" then
  24093. local tar = mouse.Target
  24094. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  24095. if tar.Parent.Name == "Minion" then
  24096. loadstring(up)()
  24097. while tar.Parent.Humanoid.Health >= 1 do
  24098. wait()
  24099. if player.Humanoid.Health == 0 then
  24100. tar.Parent.Humanoid:TakeDamage(1000)
  24101. else
  24102. tar.Parent.Torso.move.position = mouse.Hit.p
  24103. end
  24104. end
  24105. loadstring(down)()
  24106. end
  24107. end
  24108. end
  24109. if key == "j" then
  24110. local tar = mouse.Target
  24111. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  24112. tar.Parent.Humanoid.Jump = true
  24113. end
  24114. elseif key == "k" then
  24115. local tar = mouse.Target
  24116. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  24117. tar.Parent.Humanoid.Sit = true
  24118. end
  24119. elseif key == "l" then
  24120. local tar = mouse.Target
  24121. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  24122. tar.Parent.Humanoid.PlatformStand = true
  24123. end
  24124. elseif key == "p" then
  24125. local min = Instance.new("Model")
  24126. min.Name = "Minion"
  24127. min.Parent = Workspace
  24128. local skel = Instance.new("Humanoid")
  24129. skel.Parent = min
  24130. skel.WalkSpeed = 16
  24131. skel.MaxHealth = 100
  24132. skel.Health = 100
  24133. local thing = Instance.new("Part")
  24134. thing.Name = "Head"
  24135. thing.formFactor = "Symmetric"
  24136. thing.TopSurface = 0
  24137. thing.BottomSurface = 0
  24138. thing.BrickColor = BrickColor.new(1003)
  24139. thing.Transparency = .3
  24140. thing.Size = Vector3.new(4,4,4)
  24141. thing.Parent = min
  24142. thing.Position = player.Torso.Position + Vector3.new(0,5,0)
  24143. thing.Shape = "Ball"
  24144. local thing2 = Instance.new("Part")
  24145. thing2.Name = "Torso"
  24146. thing2.formFactor = "Symmetric"
  24147. thing2.TopSurface = 0
  24148. thing2.BottomSurface = 0
  24149. thing2.BrickColor = BrickColor.new(1004)
  24150. thing2.Size = Vector3.new(1,1,1)
  24151. thing2.Parent = min
  24152. thing2.Position = player.Torso.Position + Vector3.new(0,5,0)
  24153. thing2.Shape = "Ball"
  24154. local live = Instance.new("Weld")
  24155. live.Parent = thing2
  24156. live.Part0 = thing2
  24157. live.Part1 = thing
  24158. live.Name = "Neck"
  24159. local move = Instance.new("BodyPosition")
  24160. move.Parent = thing2
  24161. move.position = player.Torso.Position
  24162. move.maxForce = Vector3.new(100,0,100)
  24163. move.Name = "move"
  24164. thing.Touched:connect(function(hit)
  24165. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  24166. if hit.Parent.Name ~= player.Name then
  24167. if hit.Parent.Name ~= "Minion" then
  24168. if hit.Parent.Humanoid.MaxHealth > 100 then
  24169. hit.Parent.Humanoid.MaxHealth = 100
  24170. end
  24171. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(5,7)
  24172. hit.Parent.Humanoid.Sit = true
  24173. for i = 1, (math.random(1,3)) do
  24174. wait()
  24175. local bleed = Instance.new("Part")
  24176. bleed.formFactor = "Symmetric"
  24177. bleed.Size = Vector3.new(1,1,1)
  24178. bleed.BrickColor = BrickColor.new("Bright red")
  24179. bleed.TopSurface = 0
  24180. bleed.BottomSurface = 0
  24181. bleed.Reflectance = .1
  24182. bleed.Transparency = .4
  24183. bleed.Parent = Workspace
  24184. bleed.Position = thing.Position
  24185. local bleedm = Instance.new("SpecialMesh")
  24186. bleedm.MeshType = "Sphere"
  24187. bleedm.Scale = Vector3.new(.2,.2,.2)
  24188. bleedm.Parent = bleed
  24189. game:GetService("Debris"):AddItem(bleed, 5)
  24190. end
  24191. end
  24192. end
  24193. end
  24194. end)
  24195. coroutine.resume(coroutine.create(function() clean(min,thing2) end))
  24196. end
  24197. --end of keys
  24198. end)
  24199. --end of script
  24200. end)
  24201.  
  24202. bin.Deselected:connect(function()
  24203. staff:remove()
  24204. rs.Part1 = rarm
  24205. ls.Part1 = larm
  24206. right:remove()
  24207. left:remove()
  24208. end)
  24209. end
  24210. end)
  24211. --
  24212. local button = Instance.new("TextButton")
  24213.         button.Parent = ws
  24214.         button.BackgroundColor3 = blak
  24215.         button.BorderColor3 = rede
  24216.         button.BorderSizePixel = 3
  24217.         button.Name = "Empty"
  24218.         button.Position = UDim2.new(0,0,0,198)
  24219.         button.Size = UDim2.new(0.5,0,0,30)
  24220.         button.ZIndex = 2
  24221.         button.Font = tef
  24222.         button.FontSize = "Size14"
  24223.         button.Text = "Empty"
  24224.         button.TextColor3 = whit
  24225.         button.TextWrapped = true
  24226.                 button.MouseButton1Down:connect(function()
  24227.                
  24228.         end)
  24229. --
  24230. local button = Instance.new("TextButton")
  24231.         button.Parent = ws
  24232.         button.BackgroundColor3 = blak
  24233.         button.BorderColor3 = rede
  24234.         button.BorderSizePixel = 3
  24235.         button.Name = "Techno Gauntlet"
  24236.         button.Position = UDim2.new(0.5,3,0,198)
  24237.         button.Size = UDim2.new(0.48,0,0,30)
  24238.         button.ZIndex = 2
  24239.         button.Font = tef
  24240.         button.FontSize = "Size14"
  24241.         button.Text = "Techno Gauntlet"
  24242.         button.TextColor3 = whit
  24243.         button.TextWrapped = true
  24244.                 button.MouseButton1Down:connect(function()
  24245.         Player = game:GetService("Players").LocalPlayer
  24246. Character = Player.Character
  24247. PlayerGui = Player.PlayerGui
  24248. Backpack = Player.Backpack
  24249. Torso = Character.Torso
  24250. Head = Character.Head
  24251. Humanoid = Character.Humanoid
  24252. LeftArm = Character["Left Arm"]
  24253. LeftLeg = Character["Left Leg"]
  24254. RightArm = Character["Right Arm"]
  24255. RightLeg = Character["Right Leg"]
  24256. LS = Torso["Left Shoulder"]
  24257. LH = Torso["Left Hip"]
  24258. RS = Torso["Right Shoulder"]
  24259. RH = Torso["Right Hip"]
  24260. Neck = Torso.Neck
  24261. it=Instance.new
  24262. vt=Vector3.new
  24263. cf=CFrame.new
  24264. euler=CFrame.fromEulerAnglesXYZ
  24265. angles=CFrame.Angles
  24266. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  24267. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  24268. attack = false
  24269. attacktype = 1
  24270. attackdebounce = false
  24271. MMouse=nil
  24272. combo=0
  24273. Mode="Choose"
  24274. Aiming=false
  24275. DroneTarget=Torso.Position
  24276. Drone1=nil
  24277. Drone2=nil
  24278. Drone3=nil
  24279. Bullets=10
  24280. BowAim=false
  24281. SnipAim=false
  24282. --player
  24283. player = nil
  24284. --save shoulders
  24285. RSH, LSH = nil, nil
  24286. --welds
  24287. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  24288. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  24289.  
  24290.  
  24291. if Character:findFirstChild("Techno Gauntlet",true) ~= nil then
  24292. Character:findFirstChild("Techno Gauntlet",true).Parent = nil
  24293. end
  24294.  
  24295.  
  24296. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  24297. local fp = it("Part")
  24298. fp.formFactor = formfactor
  24299. fp.Parent = parent
  24300. fp.Reflectance = reflectance
  24301. fp.Transparency = transparency
  24302. fp.CanCollide = false
  24303. fp.Locked=true
  24304. fp.BrickColor = brickcolor
  24305. fp.Name = name
  24306. fp.Size = size
  24307. fp.Position = Torso.Position
  24308. fp.BottomSurface="Smooth"
  24309. fp.TopSurface="Smooth"
  24310. fp:BreakJoints()
  24311. return fp
  24312. end
  24313.  
  24314. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  24315. local mesh = it(Mesh)
  24316. mesh.Parent = part
  24317. if Mesh=="SpecialMesh" then
  24318. mesh.MeshType = meshtype
  24319. mesh.MeshId = meshid
  24320. end
  24321. mesh.Offset=offset
  24322. mesh.Scale=scale
  24323. return mesh
  24324. end
  24325.  
  24326. function weld(parent,part0,part1,c0)
  24327. local weld = it("Weld")
  24328. weld.Parent = parent
  24329. weld.Part0 = part0
  24330. weld.Part1 = part1
  24331. weld.C0 = c0
  24332. return weld
  24333. end
  24334.  
  24335. local cone=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Cone",vt(1,1,1))
  24336. local conemsh=mesh("SpecialMesh",cone,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.5,0.5,0.5))
  24337. local screen1=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Screen1",vt(1,1,1))
  24338. local screen1msh=mesh("BlockMesh",screen1,"","",vt(0,0,0),vt(0.1,0.8,0.9))
  24339. local screen2=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Screen2",vt(1,1,1))
  24340. local screen2msh=mesh("BlockMesh",screen2,"","",vt(0,0,0),vt(0.1,0.8,0.9))
  24341. local screen3=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Screen3",vt(1,1,1))
  24342. local screen3msh=mesh("BlockMesh",screen3,"","",vt(0,0,0),vt(0.1,0.8,0.9))
  24343. light1=Instance.new("PointLight")
  24344. light1.Brightness=.8
  24345. light1.Color=Color3.new(.2,.2,255)
  24346. light1.Range=10
  24347. light1.Parent=screen1
  24348. light2=light1:Clone()
  24349. light2.Parent=screen2
  24350. light3=light1:Clone()
  24351. light3.Parent=screen3
  24352.  
  24353. if Character:findFirstChild("Drone",true) ~= nil then
  24354. Character:findFirstChild("Drone",true).Parent = nil
  24355. end
  24356.  
  24357. local modelzorz = Instance.new("Model")
  24358. modelzorz.Parent = Character
  24359. modelzorz.Name = "Techno Gauntlet"
  24360.  
  24361. local prt1=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part1",vt(1,1,1))
  24362. local prt2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part2",vt(1,1,1))
  24363. local prt3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part3",vt(1,1,1))
  24364. local prt4=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part4",vt(1,1,1))
  24365. local prt5=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part5",vt(1,1,1))
  24366. local prt6=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part6",vt(1,1,1))
  24367. local prt7=part(3,modelzorz,0,0,Torso.BrickColor,"Part7",vt(1,1,1))
  24368. local prt8=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part8",vt(1,1,1))
  24369. local prt9=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part9",vt(1,1,1))
  24370. local prt10=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part10",vt(1,1,1))
  24371.  
  24372. msh1=mesh("BlockMesh",prt1,"","",vt(0,0,0),vt(1.1,0.6,1.1))
  24373. msh2=mesh("BlockMesh",prt2,"","",vt(0,0,0),vt(0.2,0.7,1.05))
  24374. msh3=mesh("BlockMesh",prt3,"","",vt(0,0,0),vt(1.05,0.7,0.2))
  24375. msh4=mesh("BlockMesh",prt4,"","",vt(0,0,0),vt(1.4,1.6,0.2))
  24376. msh5=mesh("BlockMesh",prt5,"","",vt(0,0,0),vt(1.4,1.6,0.2))
  24377. msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(0.6,0.1,0.6))
  24378. msh7=mesh("SpecialMesh",prt7,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  24379. msh8=mesh("CylinderMesh",prt8,"","",vt(0,0,0),vt(0.6,0.1,0.6))
  24380. msh9=mesh("CylinderMesh",prt9,"","",vt(0,0,0),vt(0.3,0.1,0.3))
  24381. msh10=mesh("CylinderMesh",prt10,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  24382.  
  24383. local wld1=weld(prt1,prt1,RightArm,euler(0,0,0)*cf(0,0.3,0))
  24384. local wld2=weld(prt2,prt2,prt1,euler(0,0,0)*cf(0,0.4,0))
  24385. local wld3=weld(prt3,prt3,prt1,euler(0,0,0)*cf(0,0.4,0))
  24386. local wld4=weld(prt4,prt4,prt1,euler(0,0.785,0)*cf(0,-0.51,0))
  24387. local wld5=weld(prt5,prt5,prt1,euler(0,-0.785,0)*cf(0,-0.51,0))
  24388. local wld6=weld(prt6,prt6,prt1,euler(0,0,0)*cf(0,-1.3,0))
  24389. local wld7=weld(prt7,prt7,prt6,euler(0,0,0)*cf(0,0,0))
  24390. local wld8=weld(prt8,prt8,prt1,euler(0,0,-1.57)*cf(-0.55,0,0))
  24391. local wld9=weld(prt9,prt9,prt8,euler(0,0,0)*cf(0,0.05,0))
  24392. local wld10=weld(prt10,prt10,prt9,euler(0,0,0)*cf(0,0.01,0))
  24393.  
  24394. numb2=0
  24395. for i=1,4 do
  24396. numb=0.3
  24397. for i=1,3 do
  24398. local prtclaw=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Partclaw",vt(1,1,1))
  24399. mshclaw=mesh("SpecialMesh",prtclaw,"Wedge","",vt(0,0,0),vt(0.1,0.3,0.1))
  24400. local wldclaw=weld(prtclaw,prtclaw,prt1,euler(1.57,-1.57,-1.57)*cf(-0.55,0.3,numb)*euler(0,numb2,0))
  24401. numb=numb-0.3
  24402. end
  24403. numb2=numb2+1.57
  24404. end
  24405.  
  24406. numb=0
  24407. for i=1,5 do
  24408. local prtgear=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Partgear",vt(1,1,1))
  24409. mshgear=mesh("BlockMesh",prtgear,"","",vt(0,0,0),vt(0.4,0.09,0.07))
  24410. local wldgear=weld(prtgear,prtgear,prt9,euler(0,numb,0)*cf(0,0,0))
  24411. numb=numb+0.628
  24412. end
  24413.  
  24414. local gun = Instance.new("Model")
  24415. gun.Parent = modelzorz
  24416. gun.Name = "Blitz"
  24417. gun.Parent=nil
  24418.  
  24419. local gprt1=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(1,1,1))
  24420. local gprt2=part(3,gun,0,0,BrickColor.new("Black"),"Part2",vt(1,1,1))
  24421. local gprt3=part(3,gun,0,0,BrickColor.new("Black"),"Part3",vt(1,1,1))
  24422. local gprt4=part(3,gun,0,0,BrickColor.new("Black"),"Part4",vt(1,1,1))
  24423. local gprt5=part(3,gun,0,0,BrickColor.new("Black"),"Part5",vt(1,1,1))
  24424. local gprt6=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part6",vt(1,1,1))
  24425. local gprt7=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part7",vt(1,1,1))
  24426. local gprt8=part(3,gun,0,0,BrickColor.new("Black"),"Part8",vt(1,1,1))
  24427. local gprt9=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part9",vt(1,1,1))
  24428. local gprt10=part(3,gun,0,0,BrickColor.new("Black"),"Part10",vt(1,1,1))
  24429. local gprt11=part(3,gun,0,0,BrickColor.new("Black"),"Part11",vt(1,1,1))
  24430. local gprt12=part(3,gun,0,0,BrickColor.new("Black"),"Part12",vt(1,1,1))
  24431. local gprt13=part(3,gun,0,0,BrickColor.new("Black"),"Part13",vt(1,1,1))
  24432. local gprt14=part(3,gun,0,0,BrickColor.new("Black"),"Part14",vt(1,1,1))
  24433. local gprt15=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part15",vt(1,1,1))
  24434. local gprt16=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part16",vt(1,1,1))
  24435. local gprt17=part(3,gun,0,0,BrickColor.new("Really black"),"Part17",vt(1,1,1))
  24436. local gprt18=part(3,gun,0,0,BrickColor.new("Black"),"Part18",vt(1,1,1))
  24437. local gprt19=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part19",vt(1,1,1))
  24438. local gprt20=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part20",vt(1,1,1))
  24439. local gprt21=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part21",vt(1,1,1))
  24440. local gprt22=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part22",vt(1,1,1))
  24441.  
  24442. gmsh1=mesh("BlockMesh",gprt1,"","",vt(0,0,0),vt(0.2,0.7,0.2))
  24443. gmsh2=mesh("BlockMesh",gprt2,"","",vt(0,0,0),vt(0.25,0.2,0.25))
  24444. gmsh3=mesh("BlockMesh",gprt3,"","",vt(0,0,0),vt(0.25,0.2,0.25))
  24445. gmsh4=mesh("BlockMesh",gprt4,"","",vt(0,0,0),vt(0.5,0.5,0.7))
  24446. gmsh5=mesh("CylinderMesh",gprt5,"","",vt(0,0,0),vt(0.5,0.49,0.5))
  24447. gmsh6=mesh("CylinderMesh",gprt6,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  24448. gmsh7=mesh("BlockMesh",gprt7,"","",vt(0,0,0),vt(0.55,0.3,0.3))
  24449. gmsh8=mesh("CylinderMesh",gprt8,"","",vt(0,0,0),vt(0.7,0.7,0.7))
  24450. gmsh9=mesh("CylinderMesh",gprt9,"","",vt(0,0,0),vt(0.4,0.71,0.4))
  24451. gmsh10=mesh("BlockMesh",gprt10,"","",vt(0,0,0),vt(0.3,0.4,0.3))
  24452. gmsh11=mesh("BlockMesh",gprt11,"","",vt(0,0,0),vt(0.2,2.5,0.5))
  24453. gmsh12=mesh("CylinderMesh",gprt12,"","",vt(0,0,0),vt(0.3,0.51,0.3))
  24454. gmsh13=mesh("BlockMesh",gprt13,"","",vt(0,0,0),vt(0.2,0.3,0.5))
  24455. gmsh14=mesh("CylinderMesh",gprt14,"","",vt(0,0,0),vt(0.3,0.2,0.3))
  24456. gmsh15=mesh("CylinderMesh",gprt15,"","",vt(0,0,0),vt(0.2,0.35,0.2))
  24457. gmsh16=mesh("CylinderMesh",gprt16,"","",vt(0,0,0),vt(0.2,0.21,0.2))
  24458. gmsh17=mesh("CylinderMesh",gprt17,"","",vt(0,0,0),vt(0.15,0.22,0.15))
  24459. gmsh18=mesh("CylinderMesh",gprt18,"","",vt(0,0,0),vt(0.6,0.2,0.6))
  24460. gmsh19=mesh("CylinderMesh",gprt19,"","",vt(0,0,0),vt(0.7,0.2,0.7))
  24461. gmsh20=mesh("CylinderMesh",gprt20,"","",vt(0,0,0),vt(0.6,1.5,0.6))
  24462. gmsh21=mesh("CylinderMesh",gprt21,"","",vt(0,0,0),vt(0.69,0.5,0.69))
  24463. gmsh22=mesh("CylinderMesh",gprt22,"","",vt(0,0,0),vt(0.69,0.31,0.69))
  24464.  
  24465. local GunWelds={}
  24466. local gwld1=weld(gprt1,gprt1,Torso,euler(0.5,1.57,0)*cf(1,-0.5,1.8))
  24467. local gwld2=weld(gprt2,gprt2,gprt1,euler(0,0,0)*cf(0,0.3,0))
  24468. local gwld3=weld(gprt3,gprt3,gprt1,euler(0,0,0)*cf(0,-0.3,0))
  24469. local gwld4=weld(gprt4,gprt4,gprt3,euler(-0.5,0,0)*cf(0,-0.1,-0.1))
  24470. local gwld5=weld(gprt5,gprt5,gprt4,euler(0,0,1.57)*cf(0,0,-0.35))
  24471. local gwld6=weld(gprt6,gprt6,gprt5,cf(0,0,-0.1))
  24472. local gwld7=weld(gprt7,gprt7,gprt4,cf(0,0,-0.1))
  24473. local gwld8=weld(gprt8,gprt8,gprt4,euler(0,0,1.57)*cf(0,0,0.4))
  24474. local gwld9=weld(gprt9,gprt9,gprt8,cf(0,0,0))
  24475. local gwld10=weld(gprt10,gprt10,gprt8,euler(1.57,0,0)*cf(0,0,0.4)*euler(0,0.7,0))
  24476. local gwld11=weld(gprt11,gprt11,gprt8,euler(1.57,0,0)*cf(0.3,0,0.9))
  24477. local gwld12=weld(gprt12,gprt12,gprt11,euler(-1.57,0,0)*cf(0,-1.3,0))
  24478. local gwld13=weld(gprt13,gprt13,gprt12,cf(0,0,0.3)*euler(0,1.57,0))
  24479. local gwld14=weld(gprt14,gprt14,gprt13,cf(0.05,0,0.25))
  24480. local gwld15=weld(gprt15,gprt15,gprt14,cf(0,0,0))
  24481. local gwld16=weld(gprt16,gprt16,gprt13,euler(0,0,1.57)*cf(0,0,-0.1))
  24482. local gwld17=weld(gprt17,gprt17,gprt16,cf(0,0,0))
  24483. local gwld18=weld(gprt18,gprt18,gprt8,euler(1.57,0,0)*cf(-0.1,0,0.4))
  24484. local gwld19=weld(gprt19,gprt19,gprt18,cf(-0.05,-0.15,0))
  24485. local gwld20=weld(gprt20,gprt20,gprt19,cf(0,-0.8,0))
  24486. local gwld21=weld(gprt21,gprt21,gprt20,cf(0,0.5,0))
  24487. local gwld22=weld(gprt22,gprt22,gprt20,cf(0,-0.6,0))
  24488. table.insert(GunWelds,gwld1)
  24489. table.insert(GunWelds,gwld2)
  24490. table.insert(GunWelds,gwld3)
  24491. table.insert(GunWelds,gwld4)
  24492. table.insert(GunWelds,gwld5)
  24493. table.insert(GunWelds,gwld6)
  24494. table.insert(GunWelds,gwld7)
  24495. table.insert(GunWelds,gwld8)
  24496. table.insert(GunWelds,gwld9)
  24497. table.insert(GunWelds,gwld10)
  24498. table.insert(GunWelds,gwld11)
  24499. table.insert(GunWelds,gwld12)
  24500. table.insert(GunWelds,gwld13)
  24501. table.insert(GunWelds,gwld14)
  24502. table.insert(GunWelds,gwld15)
  24503. table.insert(GunWelds,gwld16)
  24504. table.insert(GunWelds,gwld17)
  24505. table.insert(GunWelds,gwld18)
  24506. table.insert(GunWelds,gwld19)
  24507. table.insert(GunWelds,gwld20)
  24508. table.insert(GunWelds,gwld21)
  24509. table.insert(GunWelds,gwld22)
  24510.  
  24511. numb=1.57
  24512. for i=1,10 do
  24513. local gprt23=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part23",vt(1,1,1))
  24514. gmsh23=mesh("CylinderMesh",gprt23,"","",vt(0,0,0),vt(0.15,0.7,0.15))
  24515. local gwld23=weld(gprt23,gprt23,gprt20,cf(0,-0.1,-0.25)*euler(0,numb,0))
  24516. table.insert(GunWelds,gwld23)
  24517. local gprt24=part(3,gun,0,0,BrickColor.new("Really black"),"Part24",vt(1,1,1))
  24518. gmsh24=mesh("CylinderMesh",gprt24,"","",vt(0,0,0),vt(0.14,1.52,0.14))
  24519. local gwld24=weld(gprt24,gprt24,gprt20,cf(0,0,-0.25)*euler(0,numb,0))
  24520. table.insert(GunWelds,gwld24)
  24521. numb=numb+0.628
  24522. end
  24523.  
  24524. local sword=Instance.new("Model")
  24525. sword.Parent=modelzorz
  24526. sword.Name="Daku"
  24527. sword.Parent=nil
  24528.  
  24529. local sprt1=part(3,sword,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(1,1,1))
  24530. local sprt2=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part2",vt(1,1,1))
  24531. local sprt3=part(3,sword,0,0,BrickColor.new("Dark stone grey"),"Part3",vt(1,1,1))
  24532. local sprt4=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part4",vt(1,1,1))
  24533. local sprt5=part(3,sword,0,0,BrickColor.new("Light stone grey"),"Part5",vt(1,1,1))
  24534. local sprt6=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part6",vt(1,1,1))
  24535. local sprt7=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part7",vt(1,1,1))
  24536. local sprt8=part(3,sword,0,0,BrickColor.new("Light stone grey"),"Part8",vt(1,1,1))
  24537. local sprt9=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part9",vt(1,1,1))
  24538. local sprt10=part(3,sword,0,0,BrickColor.new("Dark stone grey"),"Part10",vt(1,1,1))
  24539. local sprt11=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part11",vt(1,1,1))
  24540. local sprt12=part(3,sword,0,0,BrickColor.new("Light stone grey"),"Part12",vt(1,1,1))
  24541. local sprt13=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part13",vt(1,1,1))
  24542. local sprt14=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part14",vt(1,1,1))
  24543. local sprt15=part(3,sword,0,0,BrickColor.new("Light stone grey"),"Part15",vt(1,1,1))
  24544. local sprt16=part(3,sword,0,1,BrickColor.new("Black"),"Hitbox",vt(1,7,1.5))
  24545. local sprt17=part(3,sword,0,0,BrickColor.new("Bright yellow"),"Top",vt(1,1,1))
  24546. local sprt18=part(3,sword,0,1,BrickColor.new("Black"),"Mid",vt(0.1,0.1,0.1))
  24547. local sprt19=part(3,sword,0,0,BrickColor.new("Bright yellow"),"Bottom",vt(1,1,1))
  24548.  
  24549. smsh1=mesh("BlockMesh",sprt1,"","",vt(0,0,0),vt(0.2,1,0.2))
  24550. smsh2=mesh("SpecialMesh",sprt2,"Head","",vt(0,0,0),vt(0.4,0.3,0.4))
  24551. smsh3=mesh("BlockMesh",sprt3,"","",vt(0,0,0),vt(0.25,0.5,0.25))
  24552. smsh4=mesh("SpecialMesh",sprt4,"Head","",vt(0,0,0),vt(0.5,0.3,0.5))
  24553. smsh5=mesh("CylinderMesh",sprt5,"","",vt(0,0,0),vt(0.5,0.2,0.5))
  24554. smsh6=mesh("BlockMesh",sprt6,"","",vt(0,0,0),vt(0.5,0.2,0.35))
  24555. smsh7=mesh("BlockMesh",sprt7,"","",vt(0,0,0),vt(0.2,0.19,0.2))
  24556. smsh8=mesh("BlockMesh",sprt8,"","",vt(0,0,0),vt(0.8,0.15,0.5))
  24557. smsh9=mesh("SpecialMesh",sprt9,"Head","",vt(0,0,0),vt(0.4,0.3,0.4))
  24558. smsh10=mesh("BlockMesh",sprt10,"","",vt(0,0,0),vt(0.25,0.5,0.25))
  24559. smsh11=mesh("SpecialMesh",sprt11,"Head","",vt(0,0,0),vt(0.5,0.3,0.5))
  24560. smsh12=mesh("CylinderMesh",sprt12,"","",vt(0,0,0),vt(0.5,0.2,0.5))
  24561. smsh13=mesh("BlockMesh",sprt13,"","",vt(0,0,0),vt(0.5,0.2,0.35))
  24562. smsh14=mesh("BlockMesh",sprt14,"","",vt(0,0,0),vt(0.2,0.19,0.2))
  24563. smsh15=mesh("BlockMesh",sprt15,"","",vt(0,0,0),vt(0.8,0.15,0.5))
  24564. smsh17=mesh("CylinderMesh",sprt17,"","",vt(0,0,0),vt(0.1,0.05,0.1))
  24565. smsh19=mesh("CylinderMesh",sprt19,"","",vt(0,0,0),vt(0.1,0.05,0.1))
  24566.  
  24567. local SwordWelds={}
  24568. local swld1=weld(sprt1,sprt1,Torso,euler(0,0,1.57)*cf(0,-4,0))
  24569. local swld2=weld(sprt2,sprt2,sprt1,euler(0,0,0)*cf(0,-0.4,0))
  24570. local swld3=weld(sprt3,sprt3,sprt2,euler(0,0,0)*cf(0,-0.3,0))
  24571. local swld4=weld(sprt4,sprt4,sprt3,euler(0,0,0)*cf(0,-0.3,0))
  24572. local swld5=weld(sprt5,sprt5,sprt4,euler(0,0,0)*cf(0,-0.15,0))
  24573. local swld6=weld(sprt6,sprt6,sprt5,euler(0,0,1.57)*cf(0,-0.2,0))
  24574. local swld7=weld(sprt7,sprt7,sprt6,euler(0,0.785,0)*cf(0,0,-0.17))
  24575. local swld8=weld(sprt8,sprt8,sprt5,euler(0,0,1.57)*cf(0,-0.4,0))
  24576. local swld9=weld(sprt9,sprt9,sprt1,euler(3.14,3.14,0)*cf(0,0.4,0))
  24577. local swld10=weld(sprt10,sprt10,sprt9,euler(0,0,0)*cf(0,-0.3,0))
  24578. local swld11=weld(sprt11,sprt11,sprt10,euler(0,0,0)*cf(0,-0.3,0))
  24579. local swld12=weld(sprt12,sprt12,sprt11,euler(0,0,0)*cf(0,-0.15,0))
  24580. local swld13=weld(sprt13,sprt13,sprt12,euler(0,0,1.57)*cf(0,-0.2,0))
  24581. local swld14=weld(sprt14,sprt14,sprt13,euler(0,0.785,0)*cf(0,0,-0.17))
  24582. local swld15=weld(sprt15,sprt15,sprt12,euler(0,0,1.57)*cf(0,-0.4,0))
  24583. local swld16=weld(sprt16,sprt16,sprt1,cf(0,0,-0.3))
  24584. local swld17=weld(sprt17,sprt17,sprt1,euler(0.55,0,0)*cf(0,3.7,-0.79))
  24585. local swld18=weld(sprt18,sprt18,sprt1,cf(0,0,-0.8))
  24586. local swld19=weld(sprt19,sprt19,sprt1,euler(-0.55,0,0)*cf(0,-3.7,-0.79))
  24587. table.insert(SwordWelds,swld1)
  24588. table.insert(SwordWelds,swld2)
  24589. table.insert(SwordWelds,swld3)
  24590. table.insert(SwordWelds,swld4)
  24591. table.insert(SwordWelds,swld5)
  24592. table.insert(SwordWelds,swld6)
  24593. table.insert(SwordWelds,swld7)
  24594. table.insert(SwordWelds,swld8)
  24595. table.insert(SwordWelds,swld9)
  24596. table.insert(SwordWelds,swld10)
  24597. table.insert(SwordWelds,swld11)
  24598. table.insert(SwordWelds,swld12)
  24599. table.insert(SwordWelds,swld13)
  24600. table.insert(SwordWelds,swld14)
  24601. table.insert(SwordWelds,swld15)
  24602. table.insert(SwordWelds,swld16)
  24603. table.insert(SwordWelds,swld17)
  24604. table.insert(SwordWelds,swld18)
  24605. table.insert(SwordWelds,swld19)
  24606.  
  24607. numb=0
  24608. numb2=0
  24609. bend=0
  24610. for i=1,8 do
  24611. local sprtblade1=part(3,sword,0.3,0,BrickColor.new("White"),"Partblade1",vt(1,1,1))
  24612. smshblade1=mesh("SpecialMesh",sprtblade1,"Wedge","",vt(0,0,0),vt(0.1+numb2,0.7,0.7))
  24613. local swldblade1=weld(sprtblade1,sprtblade1,sprt5,euler(0,0,0)*cf(0,-0.3-numb,0.1+bend)*euler(-bend,0,0))
  24614. table.insert(SwordWelds,swldblade1)
  24615. local sprtblade2=part(3,sword,0.3,0,BrickColor.new("White"),"Partblade2",vt(1,1,1))
  24616. smshblade2=mesh("SpecialMesh",sprtblade2,"Wedge","",vt(0,0,0),vt(0.1+numb2,0.7,0.7))
  24617. local swldblade2=weld(sprtblade2,sprtblade2,sprt12,euler(0,0,0)*cf(0,-0.3-numb,0.1+bend)*euler(-bend,0,0))
  24618. table.insert(SwordWelds,swldblade2)
  24619. numb=numb+0.3
  24620. numb2=numb2-0.01
  24621. bend=bend+0.05
  24622. end
  24623.  
  24624. local sniper=Instance.new("Model")
  24625. sniper.Parent=modelzorz
  24626. sniper.Name="Hand Sniper"
  24627. sniper.Parent=nil
  24628.  
  24629. local snprt1=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(1,1,1))
  24630. local snprt2=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part2",vt(1,1,1))
  24631. local snprt3=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part3",vt(1,1,1))
  24632. local snprt4=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part4",vt(1,1,1))
  24633. local snprt5=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part5",vt(1,1,1))
  24634. local snprt6=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part6",vt(1,1,1))
  24635. local snprt7=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part7",vt(1,1,1))
  24636. local snprt8=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part8",vt(1,1,1))
  24637. local snprt9=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part9",vt(1,1,1))
  24638. local snprt10=part(3,sniper,0,0,BrickColor.new("Black"),"Part10",vt(1,1,1))
  24639. local snprt11=part(3,sniper,0,0,BrickColor.new("Black"),"Part11",vt(1,1,1))
  24640. local snprt12=part(3,sniper,0,0,BrickColor.new("Black"),"Part12",vt(1,1,1))
  24641. local snprt13=part(3,sniper,0,0,BrickColor.new("Black"),"Part13",vt(1,1,1))
  24642. local snprt14=part(3,sniper,0,0,BrickColor.new("Black"),"Part14",vt(1,1,1))
  24643. local snprt15=part(3,sniper,0,0,BrickColor.new("Really black"),"Part15",vt(1,1,1))
  24644. local snprt16=part(3,sniper,0,0,BrickColor.new("Black"),"Part16",vt(1,1,1))
  24645. local snprt17=part(3,sniper,0,0,BrickColor.new("Black"),"Part17",vt(1,1,1))
  24646. local snprt18=part(3,sniper,0,0,BrickColor.new("Black"),"Part18",vt(1,1,1))
  24647. local snprt19=part(3,sniper,0,0,BrickColor.new("Black"),"Part19",vt(1,1,1))
  24648. local snprt20=part(3,sniper,0,0,BrickColor.new("Black"),"Part20",vt(1,1,1))
  24649. local snprt21=part(3,sniper,0,0,BrickColor.new("Black"),"Part21",vt(1,1,1))
  24650. local snprt22=part(3,sniper,0,0,BrickColor.new("Black"),"Part22",vt(1,1,1))
  24651. local snprt23=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part23",vt(1,1,1))
  24652. local snprt24=part(3,sniper,0,0,BrickColor.new("Medium stone grey"),"Part24",vt(1,1,1))
  24653. local snprt25=part(3,sniper,0,0,BrickColor.new("Black"),"Part25",vt(1,1,1))
  24654. local snprt26=part(3,sniper,0,0,BrickColor.new("Black"),"Part26",vt(1,1,1))
  24655. local snprt27=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part27",vt(1,1,1))
  24656. local snprt28=part(3,sniper,0,0,BrickColor.new("Black"),"Part28",vt(1,1,1))
  24657. local snprt29=part(3,sniper,0,0,BrickColor.new("Black"),"Part29",vt(1,1,1))
  24658.  
  24659. snmsh1=mesh("BlockMesh",snprt1,"","",vt(0,0,0),vt(0.2,1,0.2))
  24660. snmsh2=mesh("BlockMesh",snprt2,"","",vt(0,0,0),vt(0.201,0.5,0.5))
  24661. snmsh3=mesh("BlockMesh",snprt3,"","",vt(0,0,0),vt(0.2,0.3,0.3))
  24662. snmsh4=mesh("BlockMesh",snprt4,"","",vt(0,0,0),vt(0.199,0.6,0.7))
  24663. snmsh5=mesh("BlockMesh",snprt5,"","",vt(0,0,0),vt(0.198,0.9,0.3))
  24664. snmsh6=mesh("BlockMesh",snprt6,"","",vt(0,0,0),vt(0.202,3.5,0.3))
  24665. snmsh7=mesh("BlockMesh",snprt7,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  24666. snmsh8=mesh("BlockMesh",snprt8,"","",vt(0,0,0),vt(0.1,0.6,0.1))
  24667. snmsh9=mesh("BlockMesh",snprt9,"","",vt(0,0,0),vt(0.201,1.7,0.2))
  24668. snmsh10=mesh("BlockMesh",snprt10,"","",vt(0,0,0),vt(0.15,0.4,0.4))
  24669. snmsh11=mesh("BlockMesh",snprt11,"","",vt(0,0,0),vt(0.201,0.8,0.2))
  24670. snmsh12=mesh("CylinderMesh",snprt12,"","",vt(0,0,0),vt(0.2,4,0.2))
  24671. snmsh13=mesh("CylinderMesh",snprt13,"","",vt(0,0,0),vt(0.4,0.2,0.4))
  24672. snmsh14=mesh("CylinderMesh",snprt14,"","",vt(0,0,0),vt(0.22,0.3,0.22))
  24673. snmsh15=mesh("CylinderMesh",snprt15,"","",vt(0,0,0),vt(0.15,0.301,0.15))
  24674. snmsh16=mesh("BlockMesh",snprt16,"","",vt(0,0,0),vt(0.1,0.7,0.1))
  24675. snmsh17=mesh("BlockMesh",snprt17,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  24676. snmsh18=mesh("BlockMesh",snprt18,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  24677. snmsh19=mesh("BlockMesh",snprt19,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  24678. snmsh20=mesh("BlockMesh",snprt20,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  24679. snmsh21=mesh("CylinderMesh",snprt21,"","",vt(0,0,0),vt(0.2,0.099,0.2))
  24680. snmsh22=mesh("CylinderMesh",snprt22,"","",vt(0,0,0),vt(0.2,0.099,0.2))
  24681. snmsh23=mesh("CylinderMesh",snprt23,"","",vt(0,0,0),vt(0.199,1,0.199))
  24682. snmsh24=mesh("CylinderMesh",snprt24,"","",vt(0,0,0),vt(0.15,1.01,0.15))
  24683. snmsh25=mesh("BlockMesh",snprt25,"","",vt(0,0,0),vt(0.3,0.5,0.2))
  24684. snmsh26=mesh("CylinderMesh",snprt26,"","",vt(0,0,0),vt(0.05,0.3,0.05))
  24685. snmsh27=mesh("SpecialMesh",snprt27,"Sphere","",vt(0,0,0),vt(0.1,0.1,0.1))
  24686. snmsh28=mesh("BlockMesh",snprt28,"","",vt(0,0,0),vt(0.05,0.3,0.05))
  24687. snmsh29=mesh("CylinderMesh",snprt29,"","",vt(0,0,0),vt(0.15,0.4,0.15))
  24688.  
  24689. local SniperWelds={}
  24690. local snwld1=weld(snprt1,snprt1,Torso,euler(0.5,0,0)*cf(0,-4,0))
  24691. local snwld2=weld(snprt2,snprt2,snprt1,euler(-0.5,0,0)*cf(0,0.5,-0.2))
  24692. local snwld3=weld(snprt3,snprt3,snprt2,euler(-0.785,0,0)*cf(0,-0.1,-0.2))
  24693. local snwld4=weld(snprt4,snprt4,snprt3,euler(0.785,0,0)*cf(0,-0.4,0))
  24694. local snwld5=weld(snprt5,snprt5,snprt4,cf(0,0,-0.3))
  24695. local snwld6=weld(snprt6,snprt6,snprt1,euler(1.07,0,0)*cf(0,-0.5,0.2))
  24696. local snwld7=weld(snprt7,snprt7,snprt6,euler(0,0,0)*cf(0,0.2,0.5))
  24697. local snwld8=weld(snprt8,snprt8,snprt6,euler(1.57,0,0)*cf(0,-0.1,0.25))
  24698. local snwld9=weld(snprt9,snprt9,snprt6,euler(0,0,0)*cf(0,-0.9,0.25))
  24699. local snwld10=weld(snprt10,snprt10,snprt9,euler(0,0,0)*cf(0,0.5,0.2))
  24700. local snwld11=weld(snprt11,snprt11,snprt6,euler(0,0,0)*cf(0,0.2,-0.2))
  24701. local snwld12=weld(snprt12,snprt12,snprt11,euler(0,0,0)*cf(0,-2,0))
  24702. local snwld13=weld(snprt13,snprt13,snprt12,euler(0,0,0)*cf(0,-1.8,0))
  24703. local snwld14=weld(snprt14,snprt14,snprt12,euler(0,0,0)*cf(0,-2,0))
  24704. local snwld15=weld(snprt15,snprt15,snprt14,euler(0,0,0)*cf(0,0,0))
  24705. local snwld16=weld(snprt16,snprt16,snprt11,euler(0,0,0)*cf(0,0,-0.1))
  24706. local snwld17=weld(snprt17,snprt17,snprt16,euler(1.57,0,0)*cf(0.05,0.2,-0.1))
  24707. local snwld18=weld(snprt18,snprt18,snprt16,euler(1.57,0,0)*cf(-0.05,0.2,-0.1))
  24708. local snwld19=weld(snprt19,snprt19,snprt16,euler(1.57,0,0)*cf(-0.05,-0.2,-0.1))
  24709. local snwld20=weld(snprt20,snprt20,snprt16,euler(1.57,0,0)*cf(0.05,-0.2,-0.1))
  24710. local snwld21=weld(snprt21,snprt21,snprt16,euler(0,0,0)*cf(0,0.2,-0.2))
  24711. local snwld22=weld(snprt22,snprt22,snprt16,euler(0,0,0)*cf(0,-0.2,-0.2))
  24712. local snwld23=weld(snprt23,snprt23,snprt16,euler(0,0,0)*cf(0,0,-0.2))
  24713. local snwld24=weld(snprt24,snprt24,snprt23,euler(0,0,0)*cf(0,0,0))
  24714. local snwld25=weld(snprt25,snprt25,snprt6,euler(0,0,0)*cf(0,-0.5,0))
  24715. local snwld26=weld(snprt26,snprt26,snprt25,cf(0,-0.3,0)*euler(0.5,0.7,1.57))
  24716. local snwld27=weld(snprt27,snprt27,snprt26,cf(0,-0.1,0))
  24717. local snwld28=weld(snprt28,snprt28,snprt6,euler(1.57-0.5,0,0)*cf(0,0.2,0.2))
  24718. local snwld29=weld(snprt29,snprt29,snprt9,euler(0,0.2,1.57)*cf(0,-0.8,0.1))
  24719. table.insert(SniperWelds,snwld1)
  24720. table.insert(SniperWelds,snwld2)
  24721. table.insert(SniperWelds,snwld3)
  24722. table.insert(SniperWelds,snwld4)
  24723. table.insert(SniperWelds,snwld5)
  24724. table.insert(SniperWelds,snwld6)
  24725. table.insert(SniperWelds,snwld7)
  24726. table.insert(SniperWelds,snwld8)
  24727. table.insert(SniperWelds,snwld9)
  24728. table.insert(SniperWelds,snwld10)
  24729. table.insert(SniperWelds,snwld11)
  24730. table.insert(SniperWelds,snwld12)
  24731. table.insert(SniperWelds,snwld13)
  24732. table.insert(SniperWelds,snwld14)
  24733. table.insert(SniperWelds,snwld15)
  24734. table.insert(SniperWelds,snwld16)
  24735. table.insert(SniperWelds,snwld17)
  24736. table.insert(SniperWelds,snwld18)
  24737. table.insert(SniperWelds,snwld19)
  24738. table.insert(SniperWelds,snwld20)
  24739. table.insert(SniperWelds,snwld21)
  24740. table.insert(SniperWelds,snwld22)
  24741. table.insert(SniperWelds,snwld23)
  24742. table.insert(SniperWelds,snwld24)
  24743. table.insert(SniperWelds,snwld25)
  24744. table.insert(SniperWelds,snwld26)
  24745. table.insert(SniperWelds,snwld27)
  24746. table.insert(SniperWelds,snwld28)
  24747. table.insert(SniperWelds,snwld29)
  24748.  
  24749. numb=-0.15
  24750. numb2=0.1
  24751. for i=1,2 do
  24752. local snprt30=part(3,sniper,0,0,BrickColor.new("Black"),"Part30",vt(1,1,1))
  24753. local snprt31=part(3,sniper,0,0,BrickColor.new("Black"),"Part31",vt(1,1,1))
  24754. local snprt32=part(3,sniper,0,0,BrickColor.new("Black"),"Part32",vt(1,1,1))
  24755. local snprt33=part(3,sniper,0,0,BrickColor.new("Black"),"Part33",vt(1,1,1))
  24756. local snprt34=part(3,sniper,0,0,BrickColor.new("Black"),"Part34",vt(1,1,1))
  24757. local snprt35=part(3,sniper,0,0,BrickColor.new("Black"),"Part35",vt(1,1,1))
  24758. local snprt36=part(3,sniper,0,0,BrickColor.new("Black"),"Part36",vt(1,1,1))
  24759. local snprt37=part(3,sniper,0,0,BrickColor.new("Black"),"Part37",vt(1,1,1))
  24760. snmsh30=mesh("CylinderMesh",snprt30,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  24761. snmsh31=mesh("CylinderMesh",snprt31,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  24762. snmsh32=mesh("CylinderMesh",snprt32,"","",vt(0,0,0),vt(0.15,0.1,0.15))
  24763. snmsh33=mesh("CylinderMesh",snprt33,"","",vt(0,0,0),vt(0.125,0.3,0.125))
  24764. snmsh34=mesh("CylinderMesh",snprt34,"","",vt(0,0,0),vt(0.15,0.2,0.15))
  24765. snmsh35=mesh("CylinderMesh",snprt35,"","",vt(0,0,0),vt(0.08,0.8,0.08))
  24766. snmsh36=mesh("CylinderMesh",snprt36,"","",vt(0,0,0),vt(0.15,0.2,0.15))
  24767. snmsh37=mesh("CylinderMesh",snprt37,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  24768. local snwld30=weld(snprt30,snprt30,snprt29,euler(0,0,0)*cf(0,numb,0))
  24769. local snwld31=weld(snprt31,snprt31,snprt30,euler(0,0,1.57+numb2)*cf(0.25,0,0))
  24770. local snwld32=weld(snprt32,snprt32,snprt31,cf(0,0.25,0))
  24771. local snwld33=weld(snprt33,snprt33,snprt32,cf(0,0.15,0))
  24772. local snwld34=weld(snprt34,snprt34,snprt33,cf(0,0.1,0))
  24773. local snwld35=weld(snprt35,snprt35,snprt34,cf(0,0.4,0))
  24774. local snwld36=weld(snprt36,snprt36,snprt35,cf(0,0.4,0))
  24775. local snwld37=weld(snprt37,snprt37,snprt36,cf(0,0.1,0))
  24776. table.insert(SniperWelds,snwld30)
  24777. table.insert(SniperWelds,snwld31)
  24778. table.insert(SniperWelds,snwld32)
  24779. table.insert(SniperWelds,snwld33)
  24780. table.insert(SniperWelds,snwld34)
  24781. table.insert(SniperWelds,snwld35)
  24782. table.insert(SniperWelds,snwld36)
  24783. table.insert(SniperWelds,snwld37)
  24784. numb=numb+0.3
  24785. numb2=numb2-0.2
  24786. end
  24787.  
  24788. Bin = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  24789.  
  24790. local Bg = it("BodyGyro")
  24791. Bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  24792. Bg.P = 20e+003
  24793. Bg.Parent = nil
  24794.  
  24795. so = function(id,par,vol,pit)
  24796. coroutine.resume(coroutine.create(function()
  24797. local sou = Instance.new("Sound",par or workspace)
  24798. sou.Volume=vol
  24799. sou.Pitch=pit or 1
  24800. sou.SoundId=id
  24801. wait()
  24802. sou:play()
  24803. wait(6)
  24804. sou:Remove()
  24805. end))
  24806. end
  24807.  
  24808. function CreateDrone()
  24809. local drone=Instance.new("Model")
  24810. drone.Parent=modelzorz
  24811. drone.Name="Drone"
  24812.  
  24813. local dprt1=part(3,drone,0,1,BrickColor.new("White"),"DPart1",vt(1,1,1))
  24814. dprt1.CanCollide=true
  24815. local dprt6=part(3,drone,0,1,BrickColor.new("Bright red"),"DPart6",vt(1,1,1))
  24816. local dprt7=part(3,drone,0,1,BrickColor.new("Black"),"DPart7",vt(1,1,1))
  24817.  
  24818. local dmsh1=mesh("SpecialMesh",dprt1,"Sphere","",vt(0,0,0),vt(1,1,1))
  24819. local dmsh6=mesh("CylinderMesh",dprt6,"","",vt(0,0,0),vt(0.5,0.2,0.5))
  24820. local dmsh7=mesh("CylinderMesh",dprt7,"","",vt(0,0,0),vt(0.4,0.21,0.4))
  24821.  
  24822. --local dwld1=weld(dprt1,dprt1,Torso,euler(0,0,0)*cf(0,-5,0))
  24823. local dwld6=weld(dprt6,dprt6,dprt1,euler(1.57,0,0)*cf(0,0,0.4))
  24824. local dwld7=weld(dprt7,dprt7,dprt6,cf(0,0,0))
  24825.  
  24826. numb=0
  24827. for i=1,4 do
  24828. local dprt2=part(3,drone,0,1,BrickColor.new("Medium stone grey"),"DPart2",vt(1,1,1))
  24829. local dmsh2=mesh("BlockMesh",dprt2,"","",vt(0,0,0),vt(0.5,0.5,0.8))
  24830. local dwld2=weld(dprt2,dprt2,dprt1,cf(0,-0.5,0)*euler(0,0,numb))
  24831. numb=numb+1.57
  24832. end
  24833. numb=0
  24834. for i=1,4 do
  24835. local dprt3=part(3,drone,0,1,BrickColor.new("Dark stone grey"),"DPart3",vt(1,1,1))
  24836. local dmsh3=mesh("BlockMesh",dprt3,"","",vt(0,0,0),vt(0.5,0.5,0.79))
  24837. local dwld3=weld(dprt3,dprt3,dprt1,cf(0,-0.3,0)*euler(0,0,0.785+numb))
  24838. numb=numb+1.57
  24839. end
  24840. numb=0
  24841. for i=1,4 do
  24842. local dprt4=part(3,drone,0,1,BrickColor.new("Dark stone grey"),"DPart4",vt(1,1,1))
  24843. local dmsh4=mesh("BlockMesh",dprt4,"","",vt(0,0,0),vt(0.2,0.8,0.2))
  24844. local dwld4=weld(dprt4,dprt4,dprt1,cf(0,0.8,0)*euler(0.785,numb,0))
  24845. local dprt5=part(3,drone,0,1,BrickColor.new("Bright blue"),"DPart5",vt(1,1,1))
  24846. local dmsh5=mesh("SpecialMesh",dprt5,"Sphere","",vt(0,0,0),vt(0.4,0.4,0.4))
  24847. local dwld5=weld(dprt5,dprt5,dprt4,cf(0,0.5,0)*euler(0,0,0))
  24848. light1=Instance.new("PointLight")
  24849. light1.Brightness=.8
  24850. light1.Color=Color3.new(0,0,255)
  24851. light1.Range=10
  24852. light1.Parent=dprt5
  24853. numb=numb+1.57
  24854. end
  24855. return drone,dprt1
  24856. end
  24857.  
  24858. function hideanim()
  24859. equipped=false
  24860. if Mode=="Drones" then
  24861. Mode="Choose"
  24862. end
  24863. wait(0.1)
  24864. cone.Parent=nil
  24865. screen1.Parent=nil
  24866. screen2.Parent=nil
  24867. screen3.Parent=nil
  24868. Neck.C0=necko*euler(0,0,0)
  24869. wld9.C0=euler(0,0,0)*cf(0,0.05,0)
  24870. Bg.Parent=nil
  24871. end
  24872.  
  24873. function equipanim()
  24874. equipped=true
  24875. if Mode=="Choose" then
  24876. for i=0,1,0.1 do
  24877. wait()
  24878. Neck.C0=necko*euler(0.3*i,0,-0.2*i)
  24879. RW.C0=cf(1.5-0.5*i, 0.5-0.2*i, -0.5*i) * euler(1*i,0,-1*i)
  24880. RW.C1=cf(0, 0.5, 0) * euler(0,-2.07*i,0)
  24881. LW.C0=cf(-1.5+0.3*i, 0.5, -0.3*i) * euler(1.5*i,0,1.2*i)
  24882. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  24883. end
  24884. for i=0,1,0.1 do
  24885. wait()
  24886. wld9.C0=euler(0,-1.57*i,0)*cf(0,0.05,0)
  24887. Neck.C0=necko*euler(0.3+0.1*i,0,-0.2-0.1*i)
  24888. RW.C0=cf(1, 0.3, -0.5) * euler(1-0.2*i,0,-1+0.3*i)
  24889. RW.C1=cf(0, 0.5, 0) * euler(0,-2.07-0.1*i,0)
  24890. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.5-0.2*i,0,1.2-0.5*i)
  24891. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  24892. end
  24893. coroutine.resume(coroutine.create(function()
  24894. cone.Parent=modelzorz
  24895. cone.Transparency=1
  24896. local conewld=weld(cone,cone,prt9,euler(0,0,0)*cf(0,0.2,0))
  24897. screen1.Parent=modelzorz
  24898. screen1.Transparency=1
  24899. local screen1wld=weld(screen1,screen1,cone,euler(0,0.8,0)*cf(0,1,0))
  24900. screen2.Parent=modelzorz
  24901. screen2.Transparency=1
  24902. local screen2wld=weld(screen2,screen2,screen1,cf(0,0,1)*euler(0,0.3,0))
  24903. screen3.Parent=modelzorz
  24904. screen3.Transparency=1
  24905. local screen3wld=weld(screen3,screen3,screen1,cf(0,0,-1)*euler(0,-0.3,0))
  24906.  
  24907. for i=1,0.5,-0.05 do
  24908. wait()
  24909. cone.Transparency=i
  24910. screen1.Transparency=i
  24911. screen2.Transparency=i
  24912. screen3.Transparency=i
  24913. end
  24914. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  24915. while Mode=="Choose" do
  24916. wait(0.06)
  24917. Cone.Transparency=0.5
  24918. Screen1.Transparency=0.5
  24919. Screen2.Transparency=0.5
  24920. Screen3.Transparency=0.5
  24921. light1.Brightness=.7
  24922. light2.Brightness=.7
  24923. light3.Brightness=.7
  24924. wait(0.06)
  24925. Cone.Transparency=0.6
  24926. Screen1.Transparency=0.6
  24927. Screen2.Transparency=0.6
  24928. Screen3.Transparency=0.6
  24929. light1.Brightness=.8
  24930. light2.Brightness=.8
  24931. light3.Brightness=.8
  24932. end
  24933. end),cone,screen1,screen2,screen3)
  24934. end))
  24935. for i=0,1,0.1 do
  24936. wait()
  24937. wld9.C0=euler(0,-1.57,0)*cf(0,0.05,0)
  24938. Neck.C0=necko*euler(0.4-0.7*i,0,-0.3)
  24939. RW.C0=cf(1, 0.3, -0.5-0.3*i) * euler(0.8+0.77*i,0,-1+0.3)
  24940. RW.C1=cf(0, 0.5, 0) * euler(0,-2.17+0.67*i,0)
  24941. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.3+1*i,0,0.7)
  24942. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  24943. end
  24944. Neck.C0=necko*euler(-0.3,0,-0.3)
  24945. RW.C0=cf(1, 0.3, -0.8) * euler(1.57,0,-0.7)
  24946. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0)
  24947. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3,0,0.7)
  24948. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  24949. end
  24950. end
  24951.  
  24952. function Drones()
  24953. Mode="Drones"
  24954. attack=true
  24955. Humanoid.WalkSpeed=0
  24956. coroutine.resume(coroutine.create(function()
  24957. while Mode=="Drones" do
  24958. wait()
  24959. if Aiming==false then
  24960. DroneTarget=Torso.Position
  24961. end
  24962. end
  24963. end))
  24964. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  24965. numb=0.5
  24966. for i=0,1,0.1 do
  24967. wait()
  24968. Cone.Transparency=numb
  24969. Screen1.Transparency=numb
  24970. Screen2.Transparency=numb
  24971. Screen3.Transparency=numb
  24972. numb=numb+0.1
  24973. end
  24974. Cone.Parent=nil
  24975. Screen1.Parent=nil
  24976. Screen2.Parent=nil
  24977. Screen3.Parent=nil
  24978. end),cone,screen1,screen2,screen3)
  24979. for i=0,1,0.1 do
  24980. wait()
  24981. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  24982. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  24983. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  24984. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  24985. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  24986. end
  24987. local drone1,droneprt1=CreateDrone()
  24988. local dwld1=weld(droneprt1,droneprt1,Torso,euler(0,0,0)*cf(2,0,5))
  24989. local drone2,droneprt2=CreateDrone()
  24990. local dwld12=weld(droneprt2,droneprt2,Torso,euler(0,0,0)*cf(0,0,5))
  24991. local drone3,droneprt3=CreateDrone()
  24992. local dwld13=weld(droneprt3,droneprt3,Torso,euler(0,0,0)*cf(-2,0,5))
  24993. wait()
  24994. dwld1:Remove()
  24995. dwld12:Remove()
  24996. dwld13:Remove()
  24997. local pos=it("BodyPosition",droneprt1)
  24998. rand1=math.random(-5,5)
  24999. rand2=math.random(-5,5)
  25000. pos.position=Torso.Position + vt(rand1,5,rand2)
  25001. coroutine.resume(coroutine.create(function(BodyPosition)
  25002. while droneprt1.Parent~=nil do
  25003. wait(math.random(1,3))
  25004. BodyPosition.position=Torso.Position + vt(math.random(-15,15),5,math.random(-15,15))
  25005. end
  25006. end),pos)
  25007. pos.maxForce=vt(7500,7500,7500)
  25008. pos.Name="BP"
  25009. local bg=it("BodyGyro",droneprt1)
  25010. bg.maxTorque=vt(math.huge,math.huge,math.huge)
  25011. bg.P=50000
  25012. --bg.cframe=cf(droneprt1.Position, Torso.Position)
  25013. coroutine.resume(coroutine.create(function(BodyGyro)
  25014. while droneprt1.Parent~=nil do
  25015. wait()
  25016. if Aiming==true then
  25017. BodyGyro.cframe=cf(droneprt1.Position, DroneTarget)
  25018. end
  25019. end
  25020. end),bg)
  25021. bg.Name="DroneGyro"
  25022. local pos=it("BodyPosition",droneprt2)
  25023. rand1=math.random(-5,5)
  25024. rand2=math.random(-5,5)
  25025. pos.position=Torso.Position + vt(rand1,5,rand2)
  25026. coroutine.resume(coroutine.create(function(BodyPosition)
  25027. while droneprt2.Parent~=nil do
  25028. wait(math.random(1,3))
  25029. BodyPosition.position=Torso.Position + vt(math.random(-15,15),5,math.random(-15,15))
  25030. end
  25031. end),pos)
  25032. pos.maxForce=vt(7500,7500,7500)
  25033. pos.Name="BP"
  25034. local bg=it("BodyGyro",droneprt2)
  25035. bg.maxTorque=vt(math.huge,math.huge,math.huge)
  25036. bg.P=50000
  25037. --bg.cframe=cf(droneprt1.Position, Torso.Position)
  25038. coroutine.resume(coroutine.create(function(BodyGyro)
  25039. while droneprt2.Parent~=nil do
  25040. wait()
  25041. if Aiming==true then
  25042. BodyGyro.cframe=cf(droneprt2.Position, DroneTarget)
  25043. end
  25044. end
  25045. end),bg)
  25046. bg.Name="DroneGyro"
  25047. local pos=it("BodyPosition",droneprt3)
  25048. rand1=math.random(-5,5)
  25049. rand2=math.random(-5,5)
  25050. pos.position=Torso.Position + vt(rand1,5,rand2)
  25051. coroutine.resume(coroutine.create(function(BodyPosition)
  25052. while droneprt3.Parent~=nil do
  25053. wait(math.random(1,3))
  25054. BodyPosition.position=Torso.Position + vt(math.random(-15,15),5,math.random(-15,15))
  25055. end
  25056. end),pos)
  25057. pos.maxForce=vt(7500,7500,7500)
  25058. pos.Name="BP"
  25059. local bg=it("BodyGyro",droneprt3)
  25060. bg.maxTorque=vt(math.huge,math.huge,math.huge)
  25061. bg.P=50000
  25062. --bg.cframe=cf(droneprt1.Position, Torso.Position)
  25063. coroutine.resume(coroutine.create(function(BodyGyro)
  25064. while droneprt3.Parent~=nil do
  25065. wait()
  25066. if Aiming==true then
  25067. BodyGyro.cframe=cf(droneprt3.Position, DroneTarget)
  25068. end
  25069. end
  25070. end),bg)
  25071. bg.Name="DroneGyro"
  25072. droneprt1.Anchored=true
  25073. for _,v in pairs(drone1:children()) do
  25074. if v.className=="Part" then
  25075. v.Transparency=1
  25076. coroutine.resume(coroutine.create(function(Part)
  25077. wait(1)
  25078. Part.Transparency=0
  25079. end),v)
  25080. end
  25081. end
  25082. effect=drone1:Clone()
  25083. effect.Parent=workspace
  25084. print(effect)
  25085. for _,v in pairs(effect:children()) do
  25086. if v.className=="Part" then
  25087. v.Transparency=1
  25088. v.Anchored=true
  25089. v.CanCollide=false
  25090. v.BrickColor=BrickColor.new("Bright blue")
  25091. coroutine.resume(coroutine.create(function(Part)
  25092. for i=0,1,0.1 do
  25093. wait(0)
  25094. Part.Transparency=Part.Transparency-0.05
  25095. end
  25096. wait(0.5)
  25097. for i=0,1,0.1 do
  25098. wait(0)
  25099. Part.Transparency=Part.Transparency+0.05
  25100. end
  25101. Part.Parent=nil
  25102. end),v)
  25103. end
  25104. end
  25105. droneprt2.Anchored=true
  25106. for _,v in pairs(drone2:children()) do
  25107. if v.className=="Part" then
  25108. v.Transparency=1
  25109. coroutine.resume(coroutine.create(function(Part)
  25110. wait(1)
  25111. Part.Transparency=0
  25112. end),v)
  25113. end
  25114. end
  25115. effect=drone2:Clone()
  25116. effect.Parent=workspace
  25117. print(effect)
  25118. for _,v in pairs(effect:children()) do
  25119. if v.className=="Part" then
  25120. v.Transparency=1
  25121. v.Anchored=true
  25122. v.CanCollide=false
  25123. v.BrickColor=BrickColor.new("Bright blue")
  25124. coroutine.resume(coroutine.create(function(Part)
  25125. for i=0,1,0.1 do
  25126. wait(0)
  25127. Part.Transparency=Part.Transparency-0.05
  25128. end
  25129. wait(0.5)
  25130. for i=0,1,0.1 do
  25131. wait(0)
  25132. Part.Transparency=Part.Transparency+0.05
  25133. end
  25134. Part.Parent=nil
  25135. end),v)
  25136. end
  25137. end
  25138. droneprt3.Anchored=true
  25139. for _,v in pairs(drone3:children()) do
  25140. if v.className=="Part" then
  25141. v.Transparency=1
  25142. coroutine.resume(coroutine.create(function(Part)
  25143. wait(1)
  25144. Part.Transparency=0
  25145. end),v)
  25146. end
  25147. end
  25148. effect=drone3:Clone()
  25149. effect.Parent=workspace
  25150. print(effect)
  25151. for _,v in pairs(effect:children()) do
  25152. if v.className=="Part" then
  25153. v.Transparency=1
  25154. v.Anchored=true
  25155. v.CanCollide=false
  25156. v.BrickColor=BrickColor.new("Bright blue")
  25157. coroutine.resume(coroutine.create(function(Part)
  25158. for i=0,1,0.1 do
  25159. wait(0)
  25160. Part.Transparency=Part.Transparency-0.05
  25161. end
  25162. wait(0.5)
  25163. for i=0,1,0.1 do
  25164. wait(0)
  25165. Part.Transparency=Part.Transparency+0.05
  25166. end
  25167. Part.Parent=nil
  25168. end),v)
  25169. end
  25170. end
  25171. wait(2)
  25172. droneprt1.Anchored=false
  25173. droneprt2.Anchored=false
  25174. droneprt3.Anchored=false
  25175. Humanoid.WalkSpeed=16
  25176. wait()
  25177. effect.Parent=nil
  25178. for i=0,1,0.1 do
  25179. wait()
  25180. 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)
  25181. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  25182. 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)
  25183. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25184. end
  25185. attack=false
  25186. return drone1, drone2, drone3
  25187. end
  25188.  
  25189. function Gun()
  25190. attack=true
  25191. Mode="Gun"
  25192. gwld1.Part1=LeftArm
  25193. gwld1.C0=euler(1.57+0.5,0,-1.57)*cf(0,1,0)
  25194. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  25195. numb=0.5
  25196. for i=0,1,0.1 do
  25197. wait()
  25198. Cone.Transparency=numb
  25199. Screen1.Transparency=numb
  25200. Screen2.Transparency=numb
  25201. Screen3.Transparency=numb
  25202. numb=numb+0.1
  25203. end
  25204. Cone.Parent=nil
  25205. Screen1.Parent=nil
  25206. Screen2.Parent=nil
  25207. Screen3.Parent=nil
  25208. end),cone,screen1,screen2,screen3)
  25209. for i=0,1,0.1 do
  25210. wait()
  25211. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  25212. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  25213. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  25214. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  25215. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25216. end
  25217. gun.Parent=modelzorz
  25218. for e=1,#GunWelds do
  25219. GunWelds[e].Parent=modelzorz
  25220. end
  25221. for _,v in pairs(gun:children()) do
  25222. if v.className=="Part" then
  25223. v.Transparency=1
  25224. end
  25225. end
  25226. for _,v in pairs(gun:children()) do
  25227. if v.className=="Part" then
  25228. v.Transparency=1
  25229. coroutine.resume(coroutine.create(function(Part)
  25230. wait(0.5)
  25231. Part.Transparency=0
  25232. end),v)
  25233. end
  25234. end
  25235. effect=gun:Clone()
  25236. effect.Parent=workspace
  25237. print(effect)
  25238. for _,v in pairs(effect:children()) do
  25239. if v.className=="Part" then
  25240. v.Transparency=1
  25241. v.Anchored=true
  25242. v.CanCollide=false
  25243. v.BrickColor=BrickColor.new("Bright blue")
  25244. coroutine.resume(coroutine.create(function(Part)
  25245. for i=0,1,0.1 do
  25246. wait(0)
  25247. Part.Transparency=Part.Transparency-0.05
  25248. end
  25249. for i=0,1,0.1 do
  25250. wait(0)
  25251. Part.Transparency=Part.Transparency+0.05
  25252. end
  25253. Part.Parent=nil
  25254. effect.Parent=nil
  25255. end),v)
  25256. end
  25257. end
  25258. wait(0.5)
  25259. gwld1.Part1=LeftArm
  25260. gwld1.C0=euler(1.57+0.5,0,-1.57)*cf(0,1,0)
  25261. for i=0,1,0.1 do
  25262. wait()
  25263. gwld1.C0=euler(1.57+0.5,0,-1.57+1.57*i)*cf(0,1,0)
  25264. 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)
  25265. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  25266. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.5-1*i,0,0.2+0.4*i)
  25267. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  25268. end
  25269. attack=false
  25270. end
  25271.  
  25272. function Sword()
  25273. attack=true
  25274. Mode="Sword"
  25275. swld1.Part1=LeftArm
  25276. swld1.C0=euler(0,0,-1.57)*cf(0,1,0)
  25277. swld1.C1=euler(0,0,0)
  25278. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  25279. numb=0.5
  25280. for i=0,1,0.1 do
  25281. wait()
  25282. Cone.Transparency=numb
  25283. Screen1.Transparency=numb
  25284. Screen2.Transparency=numb
  25285. Screen3.Transparency=numb
  25286. numb=numb+0.1
  25287. end
  25288. Cone.Parent=nil
  25289. Screen1.Parent=nil
  25290. Screen2.Parent=nil
  25291. Screen3.Parent=nil
  25292. end),cone,screen1,screen2,screen3)
  25293. for i=0,1,0.1 do
  25294. wait()
  25295. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  25296. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  25297. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  25298. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  25299. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25300. end
  25301. sword.Parent=modelzorz
  25302. for e=1,#SwordWelds do
  25303. SwordWelds[e].Parent=modelzorz
  25304. end
  25305. for _,v in pairs(sword:children()) do
  25306. if v.className=="Part" and v.Name~="Hitbox" and v.Name~="Mid" then
  25307. v.Transparency=1
  25308. end
  25309. end
  25310. for _,v in pairs(sword:children()) do
  25311. if v.className=="Part" and v.Name~="Hitbox" and v.Name~="Mid" then
  25312. v.Transparency=1
  25313. coroutine.resume(coroutine.create(function(Part)
  25314. wait(0.5)
  25315. Part.Transparency=0
  25316. end),v)
  25317. end
  25318. end
  25319. effect=sword:Clone()
  25320. effect.Parent=workspace
  25321. print(effect)
  25322. for _,v in pairs(effect:children()) do
  25323. if v.className=="Part" and v.Name~="Hitbox" and v.Name~="Mid" then
  25324. v.Transparency=1
  25325. v.Anchored=true
  25326. v.CanCollide=false
  25327. v.BrickColor=BrickColor.new("Bright blue")
  25328. coroutine.resume(coroutine.create(function(Part)
  25329. for i=0,1,0.1 do
  25330. wait(0)
  25331. Part.Transparency=Part.Transparency-0.05
  25332. end
  25333. for i=0,1,0.1 do
  25334. wait(0)
  25335. Part.Transparency=Part.Transparency+0.05
  25336. end
  25337. Part.Parent=nil
  25338. effect.Parent=nil
  25339. end),v)
  25340. end
  25341. end
  25342. wait(0.5)
  25343. for i=0,1,0.1 do
  25344. wait()
  25345. swld1.C0=euler(0,-1.57*i,1.57-3.14*i)*cf(0,1,0)
  25346. swld1.C1=euler(0,1.57*i,0)
  25347. 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)
  25348. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  25349. 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)
  25350. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25351. end
  25352. attack=false
  25353. end
  25354.  
  25355. function Sniper()
  25356. attack=true
  25357. Mode="Sniper"
  25358. snwld1.Part1=LeftArm
  25359. snwld1.C0=euler(0.5,0,0)*cf(0,1.6,-2)
  25360. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  25361. numb=0.5
  25362. for i=0,1,0.1 do
  25363. wait()
  25364. Cone.Transparency=numb
  25365. Screen1.Transparency=numb
  25366. Screen2.Transparency=numb
  25367. Screen3.Transparency=numb
  25368. numb=numb+0.1
  25369. end
  25370. Cone.Parent=nil
  25371. Screen1.Parent=nil
  25372. Screen2.Parent=nil
  25373. Screen3.Parent=nil
  25374. end),cone,screen1,screen2,screen3)
  25375. for i=0,1,0.1 do
  25376. wait()
  25377. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  25378. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  25379. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  25380. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  25381. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25382. end
  25383. sniper.Parent=modelzorz
  25384. for e=1,#SniperWelds do
  25385. SniperWelds[e].Parent=modelzorz
  25386. end
  25387. for _,v in pairs(sniper:children()) do
  25388. if v.className=="Part" then
  25389. v.Transparency=1
  25390. end
  25391. end
  25392. for _,v in pairs(sniper:children()) do
  25393. if v.className=="Part" then
  25394. v.Transparency=1
  25395. coroutine.resume(coroutine.create(function(Part)
  25396. wait(0.5)
  25397. Part.Transparency=0
  25398. end),v)
  25399. end
  25400. end
  25401. effect=sniper:Clone()
  25402. effect.Parent=workspace
  25403. print(effect)
  25404. for _,v in pairs(effect:children()) do
  25405. if v.className=="Part" then
  25406. v.Transparency=1
  25407. v.Anchored=true
  25408. v.CanCollide=false
  25409. v.BrickColor=BrickColor.new("Bright blue")
  25410. coroutine.resume(coroutine.create(function(Part)
  25411. for i=0,1,0.1 do
  25412. wait(0)
  25413. Part.Transparency=Part.Transparency-0.05
  25414. end
  25415. for i=0,1,0.1 do
  25416. wait(0)
  25417. Part.Transparency=Part.Transparency+0.05
  25418. end
  25419. Part.Parent=nil
  25420. effect.Parent=nil
  25421. end),v)
  25422. end
  25423. end
  25424. wait(0.5)
  25425. gwld1.Part1=LeftArm
  25426. snwld1.C0=euler(0.5,0,0)*cf(0,1.6,-2)
  25427. snwld1.C1=cf(0,0,0)
  25428. for i=0,1,0.1 do
  25429. wait()
  25430. snwld1.C0=euler(0.5+1.57*i,0,0)*cf(0,1.6-0.6*i,-2+2*i)
  25431. RW.C0=cf(1, 0.3, -0.8+0.3*i) * euler(1.27-0.37*i,0,-1.3+1*i)
  25432. RW.C1=cf(0, 0.5, 0) * euler(0,-1+2.3*i,0)
  25433. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57-0.5*i,0,0.2+0.5*i)
  25434. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25435. end
  25436. attack=false
  25437. end
  25438.  
  25439. function Shoot()
  25440. attack=true
  25441. Humanoid.WalkSpeed=2
  25442. Bg.Parent=Head
  25443. Bg.cframe=Head.CFrame
  25444. for i=0,1,0.2 do
  25445. wait()
  25446. Neck.C0=necko*euler(0,0,0.785*i)
  25447. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25448. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25449. LW.C0=cf(-1.2, 0.5, -0.3) * euler(0.5+1.07*i,0,0.6-1.385*i)
  25450. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  25451. end
  25452. spread=1
  25453. range=50
  25454. rangepower=70
  25455. while hold==true and Bullets~=0 do
  25456. for i=1,5 do
  25457. wait(0.05)
  25458. Bullets=Bullets-1
  25459. so("http://roblox.com/asset/?id=10209257",gprt16,0.5,1+math.random())
  25460. coroutine.resume(coroutine.create(function()
  25461. for z = 1 ,2 do
  25462. coroutine.resume(coroutine.create(function()
  25463. local meshb1 = Instance.new("BlockMesh")
  25464. meshb1.Scale = Vector3.new(1,1,1)
  25465. light = Instance.new("PointLight")
  25466. light.Brightness = .8
  25467. light.Color = Color3.new(100,50,0)
  25468. light.Range = 10
  25469. local shellb1 = Instance.new("Part")
  25470. light.Parent = shellb1
  25471. meshb1.Parent = shellb1
  25472. shellb1.Anchored = true
  25473. shellb1.formFactor = 3
  25474. shellb1.Size = Vector3.new(0.3,0.3,0.3) * (math.random(100,300)/100)
  25475. 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)
  25476. shellb1.Parent = Character
  25477. shellb1.Transparency = 0
  25478. if math.random(1,2) == 1 then
  25479. shellb1.BrickColor = BrickColor.new("Bright red")
  25480. else
  25481. shellb1.BrickColor = BrickColor.new("Bright orange")
  25482. end
  25483. shellb1.CanCollide = false
  25484. local incre = math.random(0,60)/100
  25485. for i = 0 , 1 , 0.1 do
  25486. wait()
  25487. light.Brightness = light.Brightness - .1
  25488. shellb1.CFrame = shellb1.CFrame + Head.CFrame.lookVector*incre
  25489. shellb1.Transparency = 1*i
  25490. meshb1.Scale = Vector3.new(1+1*i,1+1*i,1+1*i)
  25491. end
  25492. shellb1.Parent=nil
  25493. end))
  25494. end
  25495. end))
  25496. shoottrail(MMouse.Hit.p,gprt16,5,1,1)
  25497. LW.C1=cf(0, 0.5, 0) * euler(-0.2,0,0)
  25498. wait(0.05)
  25499. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25500. end
  25501. end
  25502. spread=0
  25503. range=500
  25504. rangepower=50
  25505. if Bullets==0 then
  25506. for i=0,1,0.2 do
  25507. wait(0)
  25508. gwld13.C0=cf(0,0,0.3)*euler(0,1.57-1.57*i,0)
  25509. end
  25510. wait(0.2)
  25511. Humanoid.WalkSpeed=16
  25512. Bg.Parent=nil
  25513. for i=0,1,0.1 do
  25514. wait()
  25515. gwld1.C0=euler(1.57+0.5,0,-1.57*i)*cf(0,1,0)
  25516. Neck.C0=necko*euler(0.3*i,0,0.785-0.785*i)
  25517. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(1.2*i,0,0.2-0.4*i)
  25518. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25519. 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)
  25520. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25521. end
  25522. for i=0,1,0.1 do
  25523. wait()
  25524. gwld20.C0=cf(0.3*i,-0.8-0.2*i,0)*euler(0,0,1.57*i)
  25525. RW.C0=cf(1, 0.5, -0.5) * euler(1.2-0.3*i,0,-0.2-0.1*i)
  25526. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25527. end
  25528. for i=0,1,0.2 do
  25529. wait()
  25530. Neck.C0=necko*euler(0.3+0.2*i,0,-0.5*i)
  25531. RW.C0=cf(1+0.5*i, 0.5, -0.5+0.5*i) * euler(0.9-1.3*i,0,-0.3)
  25532. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25533. end
  25534. local ammo=Instance.new("Model")
  25535. ammo.Parent=modelzorz
  25536. ammo.Name="Ammo"
  25537. local aprt1=part(3,ammo,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(1,1,1))
  25538. local amsh1=mesh("CylinderMesh",aprt1,"","",vt(0,0,0),vt(0.7,0.2,0.7))
  25539. local awld1=weld(aprt1,aprt1,RightArm,cf(0,1,0))
  25540. numb=0
  25541. for i=1,10 do
  25542. local aprt2=part(3,ammo,0,0,BrickColor.new("Bright yellow"),"Part2",vt(1,1,1))
  25543. local amsh2=mesh("CylinderMesh",aprt2,"","",vt(0,0,0),vt(0.2,0.3,0.2))
  25544. local awld2=weld(aprt2,aprt2,aprt1,cf(0.2,0.1,0)*euler(0,numb,0))
  25545. numb=numb+0.628
  25546. end
  25547. for i=0,1,0.2 do
  25548. wait()
  25549. awld1.C0=euler(1.57,0,0)*cf(0,1+0.1*i,0)
  25550. Neck.C0=necko*euler(0.5-0.2*i,0,-0.5+0.5*i)
  25551. 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)
  25552. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25553. end
  25554. ammo.Parent=nil
  25555. for i=0,1,0.2 do
  25556. wait()
  25557. gwld20.C0=cf(0.3-0.3*i,-0.8-0.2+0.2*i,0)*euler(0,0,1.57-1.57*i)
  25558. Neck.C0=necko*euler(0.3-0.1*i,0,-0.2*i)
  25559. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(1.1+0.1*i,0,-0.4+0.4*i)
  25560. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25561. end
  25562. for i=0,1,0.1 do
  25563. wait()
  25564. gwld1.C0=euler(1.57+0.5,0,-1.57+1.57*i)*cf(0,1,0)
  25565. gwld13.C0=cf(0,0,0.3)*euler(0,1.57*i,0)
  25566. Neck.C0=necko*euler(0.2-0.2*i,0,-0.2+0.2*i)
  25567. 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)
  25568. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25569. LW.C0=cf(-1-0.2*i, 0.5, -0.5+0.2*i) * euler(1-0.5*i,0,0.6*i)
  25570. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  25571. end
  25572. Bullets=10
  25573. else
  25574. for i=0,1,0.1 do
  25575. wait()
  25576. Neck.C0=necko*euler(0,0,0.785-0.785*i)
  25577. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25578. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25579. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57-1.57*i,0,-0.785+1.385*i)
  25580. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  25581. end
  25582. Neck.C0=necko
  25583. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25584. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25585. LW.C0=cf(-1.2, 0.5, -0.3) * euler(0.5,0,0.6)
  25586. LW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25587. end
  25588. Bg.Parent=nil
  25589. Humanoid.WalkSpeed=16
  25590. attack=false
  25591. end
  25592.  
  25593. function slash1()
  25594. attack=true
  25595. for i=0,1,0.1 do
  25596. wait()
  25597. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25598. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25599. LW.C0=cf(-1.5, 0.5, 0) * euler(-0.4*i,0,-0.4-0.2*i)
  25600. LW.C1=cf(0, 0.5, 0) * euler(0,1*i,0)
  25601. end
  25602. Bg.Parent=Head
  25603. Bg.cframe=Head.CFrame
  25604. con1=sprt16.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  25605. so("http://roblox.com/asset/?id=10209640",LeftArm,1,1)
  25606. for i=0,1,0.2 do
  25607. wait()
  25608. Neck.C0=necko*euler(0,0,0.785*i)
  25609. swld1.C0=euler(0.5*i,-1.57,-1.57)*cf(0,1,0)
  25610. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25611. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25612. 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)
  25613. LW.C1=cf(0, 0.5, 0) * euler(0,1,0)
  25614. end
  25615. for i=0,1,0.1 do
  25616. wait()
  25617. --[[Neck.C0=necko*euler(0,0,0.785*i)
  25618. swld1.C0=euler(0.5*i,-1.57,-1.57)*cf(0,1,0)]]
  25619. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25620. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25621. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(2,0,0.8+0.2*i)
  25622. LW.C1=cf(0, 0.5, 0) * euler(0,1,0)
  25623. end
  25624. con1:disconnect()
  25625. wait()
  25626. attack=false
  25627. end
  25628.  
  25629. function slash2()
  25630. attack=true
  25631. CF=Head.CFrame
  25632. con1=sprt16.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  25633. so("http://roblox.com/asset/?id=10209640",LeftArm,1,1.5)
  25634. for i=0,1,0.2 do
  25635. wait()
  25636. swld1.C0=euler(0.5-0.5*i,-1.57,-1.57)*cf(0,1,0)
  25637. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25638. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25639. LW.C0=cf(-1-0.5*i, 0.5, -0.5+0.5*i) * euler(2-0.43*i,0,1-2.57*i)
  25640. LW.C1=cf(0, 0.5, 0) * euler(0,1+.57*i,0)
  25641. Bg.cframe=CF*euler(0,3.14*i,0)
  25642. end
  25643. so("http://roblox.com/asset/?id=10209640",LeftArm,1,1.5)
  25644. for i=0,1,0.2 do
  25645. wait()
  25646. swld1.C0=euler(-0.5*i,-1.57,-1.57)*cf(0,1,0)
  25647. Bg.cframe=CF*euler(0,3.14+3.14*i,0)
  25648. end
  25649. con1:disconnect()
  25650. wait()
  25651. attack=false
  25652. end
  25653.  
  25654. function slash3()
  25655. attack=true
  25656. Bg.Parent=nil
  25657. for i=0,1,0.1 do
  25658. wait()
  25659. Neck.C0=necko*euler(0,0,0.785-0.785*i)
  25660. swld1.C0=euler(-0.5+0.5*i,-1.57,-1.57)*cf(0,1,0)
  25661. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25662. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25663. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57+.43*i,0,-1.57+1*i)
  25664. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-2.07*i,0)
  25665. end
  25666. con1=sprt16.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  25667. so("http://roblox.com/asset/?id=10209640",LeftArm,1,0.9)
  25668. for i=0,1,0.2 do
  25669. wait()
  25670. Neck.C0=necko*euler(0.3*i,0,-0.2*i)
  25671. swld1.C0=euler(-0.3*i,-1.57,-1.57)*cf(0,1,0)
  25672. RW.C0=cf(1.5, 0.5, 0) * euler(-0.5*i,0,0.2+0.2*i)
  25673. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25674. 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)
  25675. LW.C1=cf(0, 0.5, 0) * euler(0,-.5,0)
  25676. end
  25677. for i=0,1,0.1 do
  25678. wait()
  25679. RW.C0=cf(1.5, 0.5, 0) * euler(-0.5,0,0.4)
  25680. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25681. LW.C0=cf(0, 0.3, -1) * euler(.5-.2*i,0,.5)
  25682. LW.C1=cf(0, 0.5, 0) * euler(0,-.5,0)
  25683. end
  25684. con1:disconnect()
  25685. wait()
  25686. attack=false
  25687. end
  25688.  
  25689. function BowShoot()
  25690. attack=true
  25691. BowAim=true
  25692. HeadNumb=0
  25693. Humanoid.WalkSpeed=2
  25694. coroutine.resume(coroutine.create(function(FenNeck)
  25695. while BowAim==true do
  25696. wait()
  25697. local pos4 = vt(workspace.CurrentCamera.CoordinateFrame.X,Head.Position.Y,workspace.CurrentCamera.CoordinateFrame.Z)
  25698. Bg.cframe = cf(Head.Position,pos4) * euler(0,3.14-HeadNumb,0) * cf(0,0,0) --cf(Torso.Position,MMouse.Hit.p) *
  25699. Bg.Parent = Torso
  25700. offset=(Torso.Position.y-MMouse.Hit.p.y)/60
  25701. mag=(Torso.Position-MMouse.Hit.p).magnitude/80
  25702. offset=offset/mag
  25703. FenNeck.C1=necko2*euler(-offset,0,0)
  25704. end
  25705. end),Neck)
  25706. for i=0,1,0.1 do
  25707. wait()
  25708. HeadNumb=1.57*i
  25709. swld1.C0=euler(0,-1.57+0.3*i,-1.57)*cf(0,1,0)
  25710. Neck.C0=necko*euler(0,0,HeadNumb)
  25711. RW.C0=cf(1.5-2.5*i, 0.5, -1*i) * euler(1.57*i,0,0.2-1.97*i)
  25712. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25713. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57*i,0,-0.4-0.87*i)
  25714. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25715. end
  25716.  
  25717. local string1=part(3,sword,0,1,BrickColor.new("Bright yellow"),"String1",vt(0.5,1,0.5))
  25718. local stringmsh1=mesh("CylinderMesh",string1,"","",vt(0,0,0),vt(0.1,1,0.1))
  25719. local stringwld1=weld(string1,string1,prt17,euler(0,0,0)*cf(0,0,0))
  25720. local string2=part(3,sword,0,1,BrickColor.new("Bright yellow"),"String2",vt(0.5,1,0.5))
  25721. local stringmsh2=mesh("CylinderMesh",string2,"","",vt(0,0,0),vt(0.1,1,0.1))
  25722. local stringwld2=weld(string2,string2,prt19,euler(0,0,0)*cf(0,0,0))
  25723. table.insert(SwordWelds,stringwld1)
  25724. table.insert(SwordWelds,stringwld1)
  25725. coroutine.resume(coroutine.create(function(String1,String2)
  25726. for i=0,1,0.1 do
  25727. wait()
  25728. String1.Transparency=String1.Transparency-0.05
  25729. String2.Transparency=String2.Transparency-0.05
  25730. end
  25731. end),string1,string2)
  25732.  
  25733. local strmdl = "Arrow"
  25734. coroutine.resume(coroutine.create(function()
  25735. arrowdebounce=false
  25736. repeat
  25737. wait(0)
  25738. coroutine.resume(coroutine.create(function()
  25739. if arrowdebounce==false then
  25740. so("http://www.roblox.com/asset/?id=10756118",sprt18,1,1)
  25741. Lightning(sprt17.Position,sprt18.Position,3,0.2,"Bright yellow",0.00001,0.4)
  25742. Lightning(sprt19.Position,sprt18.Position,3,0.2,"Bright yellow",0.00001,0.4)
  25743. arrowdebounce=true
  25744. wait(0.1)
  25745. arrowdebounce=false
  25746. end
  25747. end))
  25748. local top = sprt17.CFrame
  25749. local bottom = sprt19.CFrame
  25750. local oristrpos
  25751. if strmdl == "Bow" then
  25752. oristrpos = CFrame.new((top.p+bottom.p)/2)
  25753. elseif strmdl == "Arrow" then
  25754. oristrpos = sprt18.CFrame
  25755. end
  25756. local mg1 = (top.p - oristrpos.p).magnitude
  25757. local mg2 = (bottom.p - oristrpos.p).magnitude
  25758. stringmsh1.Scale=vt(0.1,mg1,0.1)
  25759. basecf=sprt17.CFrame
  25760. cff=CFrame.new(sprt17.CFrame*angles(1.57,0,0).p,sprt18.Position)*angles(math.rad(90),0,0)*cf(0,-mg1/2,0)
  25761. hit2=string1
  25762. hit=sprt18
  25763. stringwld1.Parent=string1
  25764. stringwld1.Part0=hit2
  25765. stringwld1.Part1=hit
  25766. HitPos=cff.p
  25767. local CJ = CFrame.new(HitPos)
  25768. local C0=cff:inverse() *CJ
  25769. local C1=hit.CFrame:inverse() * CJ
  25770. stringwld1.C0=C0
  25771. stringwld1.C1=C1
  25772.  
  25773. stringmsh2.Scale=vt(0.1,mg2,0.1)
  25774. cff2=CFrame.new(sprt18.CFrame*angles(1.57,0,0).p,sprt19.Position)*angles(math.rad(90),0,0)*cf(0,-mg2/2,0)
  25775. hit3=string2
  25776. hit2=sprt18
  25777. stringwld2.Parent=string2
  25778. stringwld2.Part0=hit3
  25779. stringwld2.Part1=hit2
  25780. HitPos2=cff2.p
  25781. local CJ2 = CFrame.new(HitPos2)
  25782. local C02=cff2:inverse() *CJ
  25783. local C12=hit2.CFrame:inverse() * CJ
  25784. stringwld2.C0=C02
  25785. stringwld2.C1=C12
  25786. until string1.Parent==nil
  25787. end))
  25788. swld18.Part1=RightArm
  25789. swld18.C0=cf(0,1,0)
  25790. local arrow=part(3,sword,0,1,BrickColor.new("Bright yellow"),"Arrow",vt(1,1,1))
  25791. local arrowmsh=mesh("SpecialMesh",arrow,"FileMesh","http://www.roblox.com/asset/?id=15887356",vt(0,0,0),vt(1,1,2))
  25792. arrowmsh.VertexColor=vt(1,1,1)
  25793. local arrowwld=weld(arrow,arrow,sprt18,euler(-1.57,0,0)*cf(0,1,0))
  25794. for i=0,1,0.1 do
  25795. wait()
  25796. arrow.Transparency=arrow.Transparency-0.05
  25797. arrowwld.C0=euler(-1.57,0,0)*cf(0,1,0)*euler(0,0,0.15*i)
  25798. RW.C0=cf(1.5-2.5+2*i, 0.5, -1) * euler(1.57,0,-1.77+0.2*i)
  25799. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25800. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,0,-1.27)
  25801. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25802. end
  25803. while BowAim==true do
  25804. wait(0)
  25805. end
  25806. so("http://www.roblox.com/asset/?id=16211041",prt18,1,1)
  25807. spread=0
  25808. range=500
  25809. rangepower=100
  25810. shoottrail(MMouse.Hit.p,arrow,30,10,2)
  25811. Humanoid.WalkSpeed=0
  25812. arrow.Parent=nil
  25813. swld18.Part0=sprt18
  25814. swld18.Part1=sprt1
  25815. swld18.C0=cf(0,0,-0.8)
  25816. for i=0,1,0.2 do
  25817. wait()
  25818. Neck.C0=necko*euler(-0.2*i,0,HeadNumb)
  25819. RW.C0=cf(1, 0.5, -1) * euler(1.57,0,-1.57)
  25820. RW.C1=cf(0, 0.5, 0) * euler(-0.4*i,0,0)
  25821. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,0,-1.27)
  25822. LW.C1=cf(0, 0.5, 0) * euler(-0.4*i,0,0)
  25823. end
  25824. for i=0,1,0.1 do
  25825. wait()
  25826. Neck.C0=necko*euler(-0.2-0.1*i,0,HeadNumb)
  25827. RW.C0=cf(1, 0.5, -1) * euler(1.57,0,-1.57)
  25828. RW.C1=cf(0, 0.5, 0) * euler(-0.4-0.1*i,0,0)
  25829. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,0,-1.27)
  25830. LW.C1=cf(0, 0.5, 0) * euler(-0.4-0.1*i,0,0)
  25831. end
  25832. string1.Parent=nil
  25833. string2.Parent=nil
  25834. BowAim=false
  25835. Humanoid.WalkSpeed=16
  25836. Bg.Parent=nil
  25837. for i=0,1,0.1 do
  25838. wait()
  25839. Neck.C0=necko*euler(-0.3+0.3*i,0,HeadNumb-HeadNumb*i)
  25840. RW.C0=cf(1+0.5*i, 0.5, -1+1*i) * euler(1.57-1.57*i,0,-1.57+1.77*i)
  25841. RW.C1=cf(0, 0.5, 0) * euler(-0.5+0.5*i,0,0)
  25842. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57-1.57*i,0,-1.27+1.07*i)
  25843. LW.C1=cf(0, 0.5, 0) * euler(-0.5+0.5*i,0,0)
  25844. end
  25845. spread=0
  25846. range=500
  25847. rangepower=50
  25848. Neck.C1=necko2
  25849. Neck.C0=necko
  25850. attack=false
  25851. end
  25852.  
  25853. function Aim()
  25854. attack=true
  25855. Humanoid.WalkSpeed=5
  25856. Bg.Parent=Torso
  25857. Bg.cframe=Head.CFrame
  25858. CF=Torso.CFrame
  25859. for i=0,1,0.1 do
  25860. wait()
  25861. Bg.cframe=CF*euler(0,0.785*i,0)
  25862. Neck.C0=necko*euler(0,0,-0.785*i)
  25863. Neck.C1=necko2*euler(0,-0.5*i,0)
  25864. 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)
  25865. RW.C1=cf(0, 0.5, 0) * euler(0,1.3+0.27*i,0)
  25866. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.07+0.5*i,0,0.7+0.085*i)
  25867. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25868. end
  25869. attack=false
  25870. end
  25871.  
  25872. function UnAim()
  25873. attack=true
  25874. Humanoid.WalkSpeed=16
  25875. for i=0,1,0.1 do
  25876. wait()
  25877. Bg.cframe=CF*euler(0,0.785-0.785*i,0)
  25878. Neck.C0=necko*euler(0,0,-0.785+0.785*i)
  25879. Neck.C1=necko2*euler(0,-0.5+0.5*i,0)
  25880. 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)
  25881. RW.C1=cf(0, 0.5, 0) * euler(0,1.57-0.27*i,0)
  25882. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57-0.5*i,0,0.785-0.085*i)
  25883. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25884. end
  25885. Bg.Parent=nil
  25886. attack=false
  25887. end
  25888.  
  25889. function SniperShoot()
  25890. attack=true
  25891. spread=0
  25892. range=1000
  25893. rangepower=100
  25894. shoottrail(MMouse.Hit.p,snprt15,20,20,0.5)
  25895. coroutine.resume(coroutine.create(function()
  25896. for z = 1 ,4 do
  25897. coroutine.resume(coroutine.create(function()
  25898. local meshb1 = Instance.new("BlockMesh")
  25899. meshb1.Scale = Vector3.new(1,1,1)
  25900. light = Instance.new("PointLight")
  25901. light.Brightness = .8
  25902. light.Color = Color3.new(100,50,0)
  25903. light.Range = 10
  25904. local shellb1 = Instance.new("Part")
  25905. light.Parent = shellb1
  25906. meshb1.Parent = shellb1
  25907. shellb1.Anchored = true
  25908. shellb1.formFactor = 3
  25909. shellb1.Size = Vector3.new(0.3,0.3,0.3) * (math.random(100,300)/100)
  25910. 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)
  25911. shellb1.Parent = Character
  25912. shellb1.Transparency = 0
  25913. if math.random(1,2) == 1 then
  25914. shellb1.BrickColor = BrickColor.new("Bright red")
  25915. else
  25916. shellb1.BrickColor = BrickColor.new("Bright orange")
  25917. end
  25918. shellb1.CanCollide = false
  25919. local incre = math.random(0,60)/100
  25920. HCF=Head.CFrame.lookVector
  25921. for i = 0 , 1 , 0.02 do
  25922. wait()
  25923. light.Brightness = light.Brightness - .02
  25924. shellb1.CFrame = shellb1.CFrame + HCF*incre
  25925. shellb1.Transparency = 1*i
  25926. meshb1.Scale = Vector3.new(1+1*i,1+1*i,1+1*i)
  25927. end
  25928. shellb1.Parent=nil
  25929. end))
  25930. end
  25931. end))
  25932. so("http://roblox.com/asset/?id=10209875",snprt15,1,0.8)
  25933. for i=0,1,0.3 do
  25934. wait()
  25935. Neck.C0=necko*euler(-0.3*i,0,-0.785)
  25936. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.5+0.3*i,0,-0.2)
  25937. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25938. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.785)
  25939. LW.C1=cf(0, 0.5, 0) * euler(-0.3*i,0,0)
  25940. end
  25941. for i=0,1,0.2 do
  25942. wait()
  25943. Neck.C0=necko*euler(-0.3-0.1*i,0,-0.785)
  25944. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.5+0.3+0.1*i,0,-0.2)
  25945. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25946. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.785)
  25947. LW.C1=cf(0, 0.5, 0) * euler(-0.3-0.1*i,0,0)
  25948. end
  25949. Humanoid.WalkSpeed=16
  25950. for i=0,1,0.1 do
  25951. wait()
  25952. Neck.C0=necko*euler(-0.4+0.6*i,0,-0.785+0.785*i)
  25953. Neck.C1=necko2*euler(0,-0.5+0.5*i,0)
  25954. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.9-0.6*i,0,-0.2-0.4*i)
  25955. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25956. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.785-0.185*i)
  25957. LW.C1=cf(0, 0.5, 0) * euler(-0.4+0.8*i,0,0)
  25958. end
  25959. so("http://roblox.com/asset/?id=10209881",snprt15,1,1)
  25960. local ammo=part(3,workspace,0,0,BrickColor.new("Bright yellow"),"Ammo",vt(1,1,1))
  25961. ammo.CanCollide=true
  25962. ammomsh=mesh("CylinderMesh",ammo,"","",vt(0,0,0),vt(0.15,0.2,0.15))
  25963. local cfrf = snprt25.CFrame * CFrame.fromEulerAnglesXYZ(0,1.57,0)
  25964. local cfr = cfrf + cfrf.lookVector * -0.5
  25965. ammo.CFrame = cfr
  25966. ammo.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  25967. ammo.Velocity = cfr.lookVector * 20
  25968. coroutine.resume(coroutine.create(function(Part)
  25969. wait(10)
  25970. Part.Parent=nil
  25971. end),ammo)
  25972. for i=0,1,0.2 do
  25973. wait()
  25974. snwld26.C1=euler(0,0,1*i)
  25975. RW.C0=cf(1.2, 0.3, -0.7-0.4*i) * euler(1.3,0,-0.6+0.3*i)
  25976. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25977. end
  25978. for i=0,1,0.2 do
  25979. wait()
  25980. snwld26.C1=euler(0,0,1-1*i)
  25981. 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)
  25982. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25983. end
  25984. Humanoid.WalkSpeed=5
  25985. for i=0,1,0.1 do
  25986. wait()
  25987. Neck.C0=necko*euler(0.2-0.2*i,0,-0.785*i)
  25988. Neck.C1=necko2*euler(0,-0.5*i,0)
  25989. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.3+0.2*i,0,-0.6+0.4*i)
  25990. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25991. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.6+0.185*i)
  25992. LW.C1=cf(0, 0.5, 0) * euler(0.4-0.4*i,0,0)
  25993. end
  25994. spread=0
  25995. range=500
  25996. rangepower=50
  25997. attack=false
  25998. end
  25999.  
  26000. function RemoveDrones()
  26001. attack=true
  26002. for i=0,1,0.1 do
  26003. wait()
  26004. Neck.C0=necko*euler(-0.5*i,0,0)
  26005. RW.C0=cf(1.5, 0.5, 0) * euler(0.5+2.64*i,0,0)
  26006. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26007. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26008. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26009. end
  26010. for _,v in pairs(modelzorz:children()) do
  26011. if v.Name=="Drone" then
  26012. print("FoundDrone")
  26013. for _,s in pairs(v:children()) do
  26014. if s.className=="Part" then
  26015. s.Anchored=true
  26016. coroutine.resume(coroutine.create(function(Part,Model)
  26017. for i=0,1,0.1 do
  26018. wait(0)
  26019. Part.Transparency=Part.Transparency+0.1
  26020. end
  26021. wait()
  26022. Model.Parent=nil
  26023. end),s,v)
  26024. end
  26025. end
  26026. end
  26027. end
  26028. wait(1)
  26029. for i=0,1,0.1 do
  26030. wait()
  26031. Neck.C0=necko*euler(-0.5+0.5*i,0,0)
  26032. RW.C0=cf(1.5, 0.5, 0) * euler(3.14-3.14*i,0,0)
  26033. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26034. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2+0.2*i)
  26035. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26036. end
  26037. attack=false
  26038. end
  26039.  
  26040. function RemoveDrones2()
  26041. attack=true
  26042. for i=0,1,0.1 do
  26043. wait()
  26044. Neck.C0=necko*euler(-0.3-0.3*i,0,-0.3+0.3*i)
  26045. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.4*i,0,-0.7)
  26046. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0)
  26047. 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)
  26048. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26049. end
  26050. for _,v in pairs(modelzorz:children()) do
  26051. if v.Name=="Drone" then
  26052. print("FoundDrone")
  26053. for _,s in pairs(v:children()) do
  26054. if s.className=="Part" then
  26055. s.Anchored=true
  26056. coroutine.resume(coroutine.create(function(Part,Model)
  26057. for i=0,1,0.1 do
  26058. wait(0)
  26059. Part.Transparency=Part.Transparency+0.1
  26060. end
  26061. wait()
  26062. Model.Parent=nil
  26063. end),s,v)
  26064. end
  26065. end
  26066. end
  26067. end
  26068. wait(1)
  26069. for i=0,1,0.1 do
  26070. wait()
  26071. Neck.C0=necko*euler(-0.6+0.3*i,0,-0.3*i)
  26072. RW.C0=cf(1, 0.3, -0.8) * euler(1.17+0.4*i,0,-0.7)
  26073. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0)
  26074. LW.C0=cf(-1.5+0.3*i, 0.5, -0.3*i) * euler(3.14-0.84*i,0,0.7*i)
  26075. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26076. end
  26077. attack=false
  26078. end
  26079.  
  26080. function RemoveGun()
  26081. attack=true
  26082. for i=0,1,0.1 do
  26083. wait()
  26084. 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)
  26085. RW.C1=cf(0, 0.5, 0) * euler(0,-1*i,0)
  26086. 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)
  26087. LW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  26088. end
  26089. for _,s in pairs(gun:children()) do
  26090. if s.className=="Part" then
  26091. coroutine.resume(coroutine.create(function(Part,Model)
  26092. for i=0,1,0.1 do
  26093. wait(0)
  26094. Part.Transparency=Part.Transparency+0.1
  26095. end
  26096. wait()
  26097. Model.Parent=nil
  26098. end),s,gun)
  26099. end
  26100. end
  26101. wait(0.7)
  26102. for i=0,1,0.1 do
  26103. wait()
  26104. 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)
  26105. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  26106. LW.C0=cf(-1.5, 0.5, -0.1+0.1*i) * euler(1.57-1.57*i,0,0)
  26107. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  26108. end
  26109. attack=false
  26110. end
  26111.  
  26112. function RemoveSword()
  26113. attack=true
  26114. for i=0,1,0.1 do
  26115. wait()
  26116. 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)
  26117. RW.C1=cf(0, 0.5, 0) * euler(0,-1*i,0)
  26118. LW.C0=cf(-1.5, 0.5, -0.1*i) * euler(1.57*i,0,-0.4+0.4*i)
  26119. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  26120. end
  26121. for _,s in pairs(sword:children()) do
  26122. if s.className=="Part" then
  26123. coroutine.resume(coroutine.create(function(Part,Model)
  26124. for i=0,1,0.1 do
  26125. wait(0)
  26126. Part.Transparency=Part.Transparency+0.1
  26127. end
  26128. wait()
  26129. Model.Parent=nil
  26130. end),s,sword)
  26131. end
  26132. end
  26133. wait(0.7)
  26134. for i=0,1,0.1 do
  26135. wait()
  26136. 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)
  26137. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  26138. LW.C0=cf(-1.5, 0.5, -0.1+0.1*i) * euler(1.57-1.57*i,0,0)
  26139. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  26140. end
  26141. attack=false
  26142. end
  26143.  
  26144. function RemoveSniper()
  26145. attack=true
  26146. for i=0,1,0.1 do
  26147. wait()
  26148. Neck.C0=necko*euler(0.4*i,0,0)
  26149. snwld1.C0=euler(2.07+0.3*i,0,0)*cf(0,1,0)
  26150. RW.C0=cf(1, 0.3, -0.5-0.3*i) * euler(0.9+0.37*i,0,-0.3-1*i)
  26151. RW.C1=cf(0, 0.5, 0) * euler(0,1.3-1*i,0)
  26152. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.07,0,0.7-0.2*i)
  26153. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26154. end
  26155. for _,s in pairs(sniper:children()) do
  26156. if s.className=="Part" then
  26157. coroutine.resume(coroutine.create(function(Part,Model)
  26158. for i=0,1,0.1 do
  26159. wait(0)
  26160. Part.Transparency=Part.Transparency+0.1
  26161. end
  26162. wait()
  26163. Model.Parent=nil
  26164. end),s,sniper)
  26165. end
  26166. end
  26167. wait(0.7)
  26168. for i=0,1,0.1 do
  26169. wait()
  26170. Neck.C0=necko*euler(0.4-0.4*i,0,0)
  26171. 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)
  26172. RW.C1=cf(0, 0.5, 0) * euler(0,0.3-0.3*i,0)
  26173. 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)
  26174. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26175. end
  26176. attack=false
  26177. end
  26178.  
  26179. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  26180. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  26181. end
  26182.  
  26183. function Lightning(p0,p1,tym,ofs,col,th,tra)
  26184. local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs}
  26185. for i=1,tym do
  26186. 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)
  26187. 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)])
  26188. light1=Instance.new("PointLight")
  26189. light1.Brightness=.8
  26190. light1.Color=Color3.new(.2,255,.2)
  26191. light1.Range=8
  26192. light1.Parent=li
  26193. local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz
  26194. if tym == i then
  26195. local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2)
  26196. li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2)
  26197. else
  26198. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2)
  26199. end
  26200. curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,.2)
  26201. end
  26202. end
  26203.  
  26204. spread=0
  26205. range=500
  26206. rangepower=50
  26207. function shoottrail(ShootPosition,baseprt,Damage,Knockback,Size)
  26208. coroutine.resume(coroutine.create(function()
  26209. local spreadvector = (Vector3.new(math.random(-spread,spread),math.random(-spread,spread),math.random(-spread,spread))) * (baseprt.Position-ShootPosition).magnitude/100
  26210. local dir = CFrame.new((baseprt.Position+ShootPosition)/2,ShootPosition+spreadvector)
  26211. local hit,pos = rayCast(baseprt.Position,dir.lookVector,10,modelzorz)
  26212. local rangepos = range
  26213. local function drawtrail(From,To)
  26214. local effectsmsh = Instance.new("CylinderMesh")
  26215. effectsmsh.Scale = Vector3.new(1,1,1)
  26216. effectsmsh.Name = "Mesh"
  26217. local effectsg = Instance.new("Part")
  26218. effectsg.formFactor = 3
  26219. effectsg.CanCollide = false
  26220. effectsg.Name = "Eff"
  26221. effectsg.Locked = true
  26222. effectsg.Anchored = true
  26223. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  26224. effectsg.Parent = modelzorz
  26225. effectsmsh.Parent = effectsg
  26226. effectsg.BrickColor = BrickColor.new("Bright yellow")
  26227. effectsg.Reflectance = 0.4
  26228. local LP = From
  26229. local point1 = To
  26230. local mg = (LP - point1).magnitude
  26231. effectsmsh.Scale = Vector3.new(2,mg*5,2)
  26232. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  26233. coroutine.resume(coroutine.create(function()
  26234. for i = 0 , 1 , 0.1 do
  26235. wait()
  26236. effectsg.Transparency = 1*i
  26237. effectsmsh.Scale = Vector3.new(Size-Size*i,mg*5,Size-Size*i)
  26238. end
  26239. effectsg.Parent = nil
  26240. end))
  26241. end
  26242. local newpos = baseprt.Position
  26243. local inc = rangepower
  26244. repeat
  26245. wait() wait()
  26246. rangepos = rangepos - 10
  26247. dir = dir
  26248. if Mode~="Sniper" then
  26249. dir = dir * CFrame.Angles(math.rad(-1),0,0)
  26250. end
  26251. hit,pos = rayCast(newpos,dir.lookVector,inc,Character)
  26252. drawtrail(newpos,pos)
  26253. newpos = newpos + (dir.lookVector * inc)
  26254. if inc >= 20 then
  26255. inc = inc - 10
  26256. end
  26257. if hit ~= nil then
  26258. rangepos = 0
  26259. end
  26260. until rangepos <= 0
  26261. if hit ~= nil then
  26262. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  26263. critical=false
  26264. if SnipAim==true then
  26265. if hit.Name=="Head" then
  26266. coroutine.resume(coroutine.create(function(HeadPart)
  26267. for i=0,0.5,0.1 do
  26268. wait()
  26269. HeadPart.Velocity=vt(0,60,0)
  26270. end
  26271. end),hit)
  26272. print("CRITICAL")
  26273. critical=true
  26274. p=it("Part")
  26275. p.Parent=workspace
  26276. p.CanCollide=false
  26277. p.Transparency=1
  26278. p.CFrame=hit.CFrame
  26279. p.Anchored=true
  26280. local GUI = it("BillboardGui")
  26281. GUI.Adornee = p
  26282. GUI.Parent = p
  26283. GUI.Active = true
  26284. GUI.Enabled = true
  26285. GUI.Size = UDim2.new(1, 0, 1, 0)
  26286. GUI.StudsOffset = vt(0, 4, 0)
  26287. local Chat = it("TextLabel")
  26288. Chat.Parent = GUI
  26289. Chat.FontSize = "Size12"
  26290. Chat.Position = UDim2.new(0.599999964, 0, 0, 0)
  26291. Chat.Visible = true
  26292. Chat.Text = "Critical!"
  26293. coroutine.resume(coroutine.create(function(Part)
  26294. for i=0,4,0.1 do
  26295. wait()
  26296. Part.CFrame=Part.CFrame*cf(0,0.05,0)
  26297. end
  26298. Part.Parent=nil
  26299. end),p)
  26300. for i=0,7 do
  26301.        Blood=it("Part")
  26302.        Blood.Name="Blood"
  26303.        Blood.TopSurface="Smooth"
  26304.        Blood.BottomSurface="Smooth"
  26305.        Blood.formFactor="Plate"
  26306.        Blood.BrickColor=BrickColor:Red()
  26307.        Blood.Size=vt(1,.4,1)
  26308.        Blood.Velocity=vt(math.random(-4,4),math.random(5,25),math.random(-4,4))
  26309.        Blood.CFrame=hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  26310.        Blood.Parent=workspace
  26311.        Blood.Velocity=vt(math.random(-20,20),math.random(20,50),math.random(-20,20))
  26312.        Blood.CanCollide=false
  26313.        coroutine.resume(coroutine.create(function(blod)
  26314.        wait(0.1)
  26315.        blod.CanCollide=true
  26316.        wait(5)
  26317.        blod.Parent = nil
  26318.        end),Blood)
  26319. end
  26320. end
  26321. hum = hit.Parent.Humanoid
  26322. tTorso=hit.Parent.Torso
  26323. end
  26324. if critical==true then
  26325. CRIT=true
  26326. Damagefunc1(hit,Damage*math.random(3,8),Knockback)
  26327. else
  26328. Damagefunc1(hit,Damage,Knockback)
  26329. end
  26330. attackdebounce=false
  26331. --ADmg(hum,hit)
  26332. elseif hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  26333. if SnipAim==true then
  26334. if hit.Parent.className == "Hat" then
  26335. hatCF=hit.CFrame
  26336. coroutine.resume(coroutine.create(function(hat)
  26337. hat.Handle:BreakJoints()
  26338. hat.Handle.CFrame=hatCF
  26339. hat.Handle.CanCollide=true
  26340. hat.Handle.Velocity=vt(math.random(-10,10),40,math.random(-10,10))
  26341. wait(3)
  26342. hatCF=hat.Handle.CFrame
  26343. hat.Parent=workspace
  26344. for i=0,4,0.2 do
  26345. wait()
  26346. hat.Handle.CFrame=hatCF
  26347. hat.Handle.Velocity=vt(math.random(-5,5),20,math.random(-5,5))
  26348. end
  26349. end),hit.Parent)
  26350. --[[hit:BreakJoints()
  26351. hit.CFrame=CF
  26352. hit.Velocity = vt(math.random(-5,5),20,math.random(-5,5)) ]]
  26353. print("BREAKHAT")
  26354. end
  26355. end
  26356. hum = hit.Parent.Parent.Humanoid
  26357. tTorso=hit.Parent.Parent.Torso
  26358. Damagefunc1(hit.Parent.Parent.Torso,Damage,Knockback)
  26359. attackdebounce=false
  26360. --ADmg(hum,hit)
  26361. end
  26362. end
  26363. end))
  26364. end
  26365.  
  26366. function findNearestTorso(pos)
  26367.    local list = game:service("Workspace"):children()
  26368.    local torso = nil
  26369.    local dist = 50
  26370.    local temp = nil
  26371.    local human = nil
  26372.    local temp2 = nil
  26373.    for x = 1, #list do
  26374.        temp2 = list[x]
  26375.        if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Name ~= "Fenrier") then
  26376.            temp = temp2:findFirstChild("Torso")
  26377.            human = temp2:findFirstChild("Humanoid")
  26378.            if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  26379.                if (temp.Position - pos).magnitude < dist then
  26380.                    torso = temp
  26381.                    dist = (temp.Position - pos).magnitude
  26382.                end
  26383.            end
  26384.        end
  26385.    end
  26386.    return torso
  26387. end
  26388.  
  26389. function MagicCircle(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  26390. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  26391. prt.Anchored=true
  26392. prt.CFrame=cframe*cf(x2,y2,z2)
  26393. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  26394. coroutine.resume(coroutine.create(function()
  26395. for i=0,1,0.1 do
  26396. wait()
  26397. prt.CFrame=prt.CFrame
  26398. prt.Transparency=i
  26399. msh.Scale=msh.Scale+vt(x3,y3,z3)
  26400. end
  26401. prt.Parent=nil
  26402. end))
  26403. end
  26404.  
  26405. Damagefunc1=function(hit,Damage,Knockback)
  26406.    if hit.Parent==nil then
  26407.        return
  26408.    end
  26409.    CPlayer=Bin
  26410.    h=hit.Parent:FindFirstChild("Humanoid")
  26411.    if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  26412.    if attackdebounce == false then
  26413.    attackdebounce = true
  26414.    coroutine.resume(coroutine.create(function()
  26415.    wait(0.2)
  26416.    attackdebounce = false
  26417.    end))
  26418.    Damage=Damage
  26419. --[[        if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  26420.            return
  26421.        end]]
  26422. --            hs(hit,1.2)
  26423.            c=Instance.new("ObjectValue")
  26424.            c.Name="creator"
  26425.            c.Value=game:service("Players").LocalPlayer
  26426.            c.Parent=h
  26427.            game:GetService("Debris"):AddItem(c,.5)
  26428.        Damage=Damage+math.random(0,10)
  26429. --        h:TakeDamage(Damage)
  26430.        blocked=false
  26431.        block=hit.Parent:findFirstChild("Block")
  26432.        if block~=nil then
  26433.        print("herp")
  26434.        if block.Value>0 then
  26435.        blocked=true
  26436.        block.Value=block.Value-1
  26437.        print(block.Value)
  26438.        end
  26439.        end
  26440.        if blocked==false then
  26441. --        h:TakeDamage(Damage)
  26442.        h.Health=h.Health-Damage
  26443.        showDamage(hit.Parent,Damage,.5)
  26444.        else
  26445.        h:TakeDamage(1)
  26446.        showDamage(hit.Parent,1,.5)
  26447.        end
  26448.        vp=Instance.new("BodyVelocity")
  26449.        vp.P=500
  26450.        vp.maxForce=Vector3.new(math.huge,0,math.huge)
  26451. --        vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  26452.        vp.velocity=Head.CFrame.lookVector*Knockback+Head.Velocity/1.05
  26453.        if Knockback>0 then
  26454.            vp.Parent=hit.Parent.Torso
  26455.        end
  26456.        game:GetService("Debris"):AddItem(vp,.25)
  26457.                c=Instance.new("ObjectValue")
  26458.            c.Name="creator"
  26459.            c.Value=Player
  26460.            c.Parent=h
  26461.            game:GetService("Debris"):AddItem(c,.5)
  26462.        CRIT=false
  26463.        hitDeb=true
  26464.        AttackPos=6
  26465.    end
  26466.    end
  26467. end
  26468.  
  26469. showDamage=function(Char,Dealt,du)
  26470.    m=Instance.new("Model")
  26471.    m.Name=tostring(Dealt)
  26472.    h=Instance.new("Humanoid")
  26473.    h.Health=0
  26474.    h.MaxHealth=0
  26475.    h.Parent=m
  26476.    c=Instance.new("Part")
  26477.    c.Transparency=0
  26478.    c.BrickColor=BrickColor:Red()
  26479.    if CRIT==true then
  26480.        c.BrickColor=BrickColor.new("Really red")
  26481.    end
  26482.    c.Name="Head"
  26483.    c.TopSurface=0
  26484.    c.BottomSurface=0
  26485.    c.formFactor="Plate"
  26486.    c.Size=Vector3.new(1,.4,1)
  26487.    ms=Instance.new("CylinderMesh")
  26488.    ms.Scale=Vector3.new(.8,.8,.8)
  26489.    if CRIT==true then
  26490.        ms.Scale=Vector3.new(1,1.25,1)
  26491.    end
  26492.    ms.Parent=c
  26493.    c.Reflectance=0
  26494.    Instance.new("BodyGyro").Parent=c
  26495.    c.Parent=m
  26496.    c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  26497.    f=Instance.new("BodyPosition")
  26498.    f.P=2000
  26499.    f.D=100
  26500.    f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  26501.    f.position=c.Position+Vector3.new(0,3,0)
  26502.    f.Parent=c
  26503.    game:GetService("Debris"):AddItem(m,.5+du)
  26504.    c.CanCollide=false
  26505.    m.Parent=workspace
  26506.    c.CanCollide=false
  26507. end
  26508.  
  26509. function ob1d(mouse)
  26510. if attack == true then return end
  26511. hold=true
  26512. if Mode=="Drones" and Aiming==true then
  26513. print("Attack drones")
  26514. for i=0,1,0.1 do
  26515. wait()
  26516. RW.C0=cf(1.5, 0.5, 0) * euler(0.5+1.07*i,0,0)
  26517. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26518. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26519. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26520. end
  26521. Drone1debounce=false
  26522. Drone2debounce=false
  26523. Drone3debounce=false
  26524. for _,v in pairs(modelzorz:children()) do
  26525. if v.Name=="Drone" then
  26526. coroutine.resume(coroutine.create(function(Drone)
  26527. while hold==true do
  26528. so("http://roblox.com/asset/?id=10209257",Drone.DPart1,0.5,1.5)
  26529. shoottrail(MMouse.Hit.p,Drone.DPart1,5,0,1)
  26530. wait(math.random(0,2)+math.random())
  26531. end
  26532. end),v)
  26533. end
  26534. end
  26535. while hold==true do
  26536. wait()
  26537. end
  26538. for i=0,1,0.1 do
  26539. wait()
  26540. RW.C0=cf(1.5, 0.5, 0) * euler(1.57-1.07*i,0,0)
  26541. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26542. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26543. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26544. end
  26545. elseif Aiming==false then
  26546. for _,v in pairs(modelzorz:children()) do
  26547. if v.Name=="Drone" and v:findFirstChild("CanShoot")~=nil then
  26548. coroutine.resume(coroutine.create(function(Drone)
  26549. while hold==true do
  26550. if v.CanShoot.Value==true then
  26551. print("Shoot")
  26552. so("http://roblox.com/asset/?id=10209257",Drone.DPart1,0.5,1.5)
  26553. shoottrail(Drone.DPart6.Position,Drone.DPart1,5,0,1)
  26554. elseif v.CanShoot.Value==false then
  26555. print("NoShoot")
  26556. end
  26557. wait(math.random(0,2)+math.random())
  26558. end
  26559. end),v)
  26560. end
  26561. end
  26562. end
  26563. if Mode=="Gun" then
  26564. print("Shoot")
  26565. Shoot()
  26566. end
  26567. if Mode=="Sword" then
  26568. slash1()
  26569. if hold==true then
  26570. slash2()
  26571. end
  26572. if hold==true then
  26573. slash3()
  26574. end
  26575. wait(0.5)
  26576. Bg.Parent=nil
  26577. Neck.C0=necko*euler(0,0,0)
  26578. swld1.C0=euler(0,-1.57,-1.57)*cf(0,1,0)
  26579. swld1.C1=euler(0,1.57,0)
  26580. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  26581. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26582. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.4)
  26583. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26584. end
  26585. if Mode=="Sniper" and SnipAim==true then
  26586. SniperShoot()
  26587. end
  26588. end
  26589.  
  26590. function ob1u(mouse)
  26591. hold = false
  26592. end
  26593.  
  26594. buttonhold = false
  26595.  
  26596. eul=0
  26597. function key(key)
  26598. if attack == true then return end
  26599. if Mode=="Drones" then
  26600. if key=="z" then
  26601. RemoveDrones()
  26602. Mode="Choose"
  26603. equipanim()
  26604. return
  26605. end
  26606. if key=="f" then
  26607. if Aiming==false then
  26608. attack=true
  26609. for i=0,1,0.1 do
  26610. wait()
  26611. RW.C0=cf(1.5, 0.5, 0) * euler(0.5+2.64*i,0,0)
  26612. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26613. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26614. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26615. end
  26616. for i=0,1,0.1 do
  26617. wait()
  26618. RW.C0=cf(1.5, 0.5, 0) * euler(3.14-1.57*i,0,0)
  26619. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26620. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26621. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26622. end
  26623. Aiming=true
  26624. coroutine.resume(coroutine.create(function()
  26625. while Aiming==true do
  26626. wait()
  26627. DroneTarget=MMouse.Hit.p
  26628. end
  26629. end))
  26630. wait(0.5)
  26631. for i=0,1,0.1 do
  26632. wait()
  26633. RW.C0=cf(1.5, 0.5, 0) * euler(1.57-1.07*i,0,0)
  26634. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26635. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26636. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26637. end
  26638. attack=false
  26639. elseif Aiming==true then
  26640. attack=true
  26641. for i=0,1,0.1 do
  26642. wait()
  26643. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(.5+1.07*i,0,-1*i)
  26644. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26645. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(1.57*i,0,-0.2+1.2*i)
  26646. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26647. end
  26648. Aiming=false
  26649. for _,v in pairs(modelzorz:children()) do
  26650. if v.Name=="Drone" then
  26651. Valuee=Instance.new("BoolValue")
  26652. Valuee.Parent=v
  26653. Valuee.Name="CanShoot"
  26654. print("Found Drone")
  26655. coroutine.resume(coroutine.create(function(DDrone,Val,Gyro)
  26656. --coroutine.resume(coroutine.create(function()
  26657. while Aiming==false do
  26658. wait()
  26659. local target = findNearestTorso(DDrone.DPart1.Position)
  26660. if target~=nil then
  26661. Val.Value=true
  26662. Gyro.cframe=cf(DDrone.DPart1.Position, target.Position)
  26663. else
  26664. Val.Value=false
  26665. Gyro.cframe=cf(DDrone.DPart1.Position, Torso.Position)
  26666. end
  26667. end
  26668. Val.Parent=nil
  26669. end),v,Valuee,v.DPart1.DroneGyro)
  26670. end
  26671. end
  26672. wait(0.5)
  26673. for i=0,1,0.1 do
  26674. wait()
  26675. RW.C0=cf(1+.5*i, 0.5, -0.5+0.5*i) * euler(1.57-1.07*i,0,-1+1*i)
  26676. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26677. LW.C0=cf(-1-.5*i, 0.5, -0.5+0.5*i) * euler(1.57-1.57*i,0,1-1.2*i)
  26678. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26679. end
  26680. attack=false
  26681. end
  26682. end
  26683. end
  26684. if Mode=="Gun" then
  26685. if key=="x" then
  26686. RemoveGun()
  26687. Mode="Choose"
  26688. equipanim()
  26689. return
  26690. end
  26691. end
  26692. if Mode=="Sword" then
  26693. if key=="c" then
  26694. RemoveSword()
  26695. Mode="Choose"
  26696. equipanim()
  26697. return
  26698. end
  26699. if key=="f" then
  26700. BowShoot()
  26701. end
  26702. end
  26703. if Mode=="Sniper" then
  26704. if key=="v" then
  26705. if SnipAim==true then
  26706. SnipAim=false
  26707. UnAim()
  26708. end
  26709. RemoveSniper()
  26710. Mode="Choose"
  26711. equipanim()
  26712. return
  26713. end
  26714. if key=="f" then
  26715. if SnipAim==false then
  26716. SnipAim=true
  26717. Aim()
  26718. else
  26719. SnipAim=false
  26720. UnAim()
  26721. end
  26722. end
  26723. end
  26724. if Mode=="Choose" then
  26725. if key=="f" then
  26726. RemoveDrones2()
  26727. end
  26728. if key=="z" then
  26729. Drone1,Drone2,Drone3=Drones()
  26730. end
  26731. if key=="x" then
  26732. Gun()
  26733. end
  26734. if key=="c" then
  26735. Sword()
  26736. end
  26737. if key=="v" then
  26738. Sniper()
  26739. end
  26740. end
  26741. end
  26742.  
  26743. function key2(key)
  26744. if key=="f" then
  26745. BowAim=false
  26746. end
  26747. end
  26748.  
  26749. function s(mouse)
  26750. mouse.Button1Down:connect(function() ob1d(mouse) end)
  26751. mouse.Button1Up:connect(function() ob1u(mouse) end)
  26752. mouse.KeyDown:connect(key)
  26753. mouse.KeyUp:connect(key2)
  26754. unsheathed = true
  26755. player = Player
  26756. ch = Character
  26757. MMouse = mouse
  26758. RSH = ch.Torso["Right Shoulder"]
  26759. LSH = ch.Torso["Left Shoulder"]
  26760. --
  26761. RSH.Parent = nil
  26762. LSH.Parent = nil
  26763. --
  26764. RW.Part0 = ch.Torso
  26765. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  26766. RW.C1 = CFrame.new(0, 0.5, 0)
  26767. RW.Part1 = ch["Right Arm"]
  26768. RW.Parent = ch.Torso
  26769. --_G.R = RW
  26770. --
  26771. LW.Part0 = ch.Torso
  26772. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  26773. LW.C1 = CFrame.new(0, 0.5, 0)
  26774. LW.Part1 = ch["Left Arm"]
  26775. LW.Parent = ch.Torso
  26776. --_G.L = LW
  26777. --
  26778. equipanim()
  26779. end
  26780.  
  26781. function ds(mouse)
  26782. hideanim()
  26783. wait(0)
  26784. RW.Parent = nil
  26785. LW.Parent = nil
  26786. RSH.Parent = player.Character.Torso
  26787. LSH.Parent = player.Character.Torso
  26788. end
  26789.  
  26790. Bin.Selected:connect(s)
  26791. Bin.Deselected:connect(ds)
  26792. print("Fenrier's Techno Gauntlet loaded.")
  26793.  
  26794. -- mediafire lego
  26795. --[[
  26796. Copyrighted (C) Fenrier 2013
  26797. ]]
  26798.        
  26799.         end)
  26800. --
  26801. local button = Instance.new("TextButton")
  26802.         button.Parent = ws
  26803.         button.BackgroundColor3 = blak
  26804.         button.BorderColor3 = rede
  26805.         button.BorderSizePixel = 3
  26806.         button.Name = "Wand"
  26807.         button.Position = UDim2.new(0,0,0,231)
  26808.         button.Size = UDim2.new(0.5,0,0,30)
  26809.         button.ZIndex = 2
  26810.         button.Font = tef
  26811.         button.FontSize = "Size14"
  26812.         button.Text = "Wand"
  26813.         button.TextColor3 = whit
  26814.         button.TextWrapped = true
  26815.                 button.MouseButton1Down:connect(function()
  26816.                 tool = Instance.new("HopperBin")
  26817.  
  26818. player = game.Players.LocalPlayer
  26819. char = player.Character
  26820. tool = Instance.new("HopperBin")
  26821. tool.Parent = player.Backpack
  26822. script.Parent = tool
  26823. tool.Name = "Wand"
  26824.  
  26825. spin = false
  26826.  
  26827. landc = "Earth green"
  26828. firec = "Bright red"
  26829. icec = "Light blue"
  26830. windc = "Institutional white"
  26831. helthc = "Lime green"
  26832. elec = "New Yeller"
  26833.  
  26834. norm = 18
  26835.  
  26836. handle = Instance.new("Part")
  26837. handle.Parent = game.Lighting
  26838. handle.Name = "Handle"
  26839. handle.FormFactor = "Symmetric"
  26840. handle.Size = Vector3.new(1,4,1)
  26841. handle.TopSurface = 0
  26842. handle.BottomSurface = 0
  26843. handle.BrickColor = BrickColor.new("Black")
  26844. handle.Anchored = false
  26845. handle.Position = char["Right Arm"].Position
  26846. handle.CanCollide = false
  26847. handle.Locked = true
  26848. handle2 = Instance.new("Part")
  26849. handle2.Parent = game.Lighting
  26850. handle2.Name = "Handle2"
  26851. handle2.Shape = "Ball"
  26852. handle2.Size = Vector3.new(1,1,1)
  26853. handle2.TopSurface = 0
  26854. handle2.BottomSurface = 0
  26855. handle2.BrickColor = BrickColor.new("Bright red")
  26856. handle2.Anchored = false
  26857. handle2.Position = char["Right Arm"].Position
  26858. handle2.Transparency = 0.1
  26859. handle2.CanCollide = false
  26860. handle2.Locked = true
  26861.  
  26862. handle3 = Instance.new("Part")
  26863. handle3.Parent = game.Lighting
  26864. handle3.Name = "Handle2"
  26865. handle3.Shape = "Ball"
  26866. handle3.Size = Vector3.new(1,1,1)
  26867. handle3.TopSurface = 0
  26868. handle3.BottomSurface = 0
  26869. handle3.BrickColor = BrickColor.new("Black")
  26870. handle3.Anchored = false
  26871. handle3.Position = char["Right Arm"].Position
  26872. handle3.CanCollide = false
  26873. handle3.Locked = true
  26874. local m = Instance.new("CylinderMesh")
  26875. m.Parent = handle
  26876. m.Scale = Vector3.new(0.42,1,0.42)
  26877. local m2 = Instance.new("SpecialMesh")
  26878. m2.Parent = handle2
  26879. m2.MeshType = "Sphere"
  26880. m2.Scale = Vector3.new(0.8,0.8,0.8)
  26881. local m3 = Instance.new("SpecialMesh")
  26882. m3.Parent = handle3
  26883. m3.MeshType = "FileMesh"
  26884. m3.MeshId = "http://www.roblox.com/asset/?id=1033714"
  26885. m3.Scale = Vector3.new(0.4,0.85,0.4)
  26886. brick1 = Instance.new("Part")
  26887. brick1.Parent = char
  26888. brick1.formFactor = "Symmetric"
  26889. brick1.Size = Vector3.new(1,1,1)
  26890. brick1.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  26891. brick1.Shape = "Ball"
  26892. brick1.CanCollide = false
  26893. brick1.Transparency = 1
  26894. brick1.Locked = true
  26895. mesh1 = Instance.new("SpecialMesh")
  26896. mesh1.Parent = brick1
  26897. mesh1.MeshType = "Sphere"
  26898. mesh1.Scale = Vector3.new(1.4,1.4,1.4)
  26899. brick2 = Instance.new("Part")
  26900. brick2.Parent = game.Lighting
  26901. brick2.formFactor = "Symmetric"
  26902. brick2.Size = Vector3.new(1,1,1)
  26903. brick2.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  26904. brick2.Shape = "Ball"
  26905. brick2.CanCollide = false
  26906. brick2.Transparency = 1
  26907. brick2.BrickColor = handle2.BrickColor
  26908. brick2.Locked = true
  26909. mesh2 = Instance.new("SpecialMesh")
  26910. mesh2.Parent = brick2
  26911. mesh2.MeshType = "Sphere"
  26912. mesh2.Scale = Vector3.new(0.5,0.5,0.5)
  26913. brick3 = Instance.new("Part")
  26914. brick3.Parent = game.Lighting
  26915. brick3.formFactor = "Symmetric"
  26916. brick3.Size = Vector3.new(1,1,1)
  26917. brick3.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  26918. brick3.Shape = "Ball"
  26919. brick3.CanCollide = false
  26920. brick3.Transparency = 1
  26921. brick3.BrickColor = handle2.BrickColor
  26922. brick3.Locked = true
  26923. mesh3 = Instance.new("SpecialMesh")
  26924. mesh3.Parent = brick3
  26925. mesh3.MeshType = "Sphere"
  26926. mesh3.Scale = Vector3.new(0.5,0.5,0.5)
  26927. wads = Instance.new("Weld")
  26928. wads.Parent = char.Torso
  26929. wads.Part0 = wads.Parent
  26930. wads.Part1 = brick1
  26931. wads.C1 = CFrame.new(-1.5,-0.5,0)
  26932. wads2 = Instance.new("Weld")
  26933. wads2.Parent = handle2
  26934. wads2.Part0 = wads2.Parent
  26935. wads2.Part1 = brick2
  26936. wads2.C1 = CFrame.new(1,0,0)
  26937. wads3 = Instance.new("Weld")
  26938. wads3.Parent = handle2
  26939. wads3.Part0 = wads2.Parent
  26940. wads3.Part1 = brick2
  26941. wads3.C1 = CFrame.new(-1,0,0)
  26942.  
  26943. wa = Instance.new("Weld")
  26944. wa.Parent = brick1
  26945. wa.Part0 = nil
  26946. wa.Part1 = nil
  26947.  
  26948. weld = Instance.new("Weld")
  26949.  
  26950. toha = Instance.new("Weld")
  26951. toha.Parent = char.Torso
  26952. toha.Part0 = nil
  26953. toha.Part1 = nil
  26954. toha.C1 = CFrame.fromEulerAnglesXYZ(0,0,-2.5) * CFrame.new(0,0,-0.7)
  26955.  
  26956. original = CFrame.fromEulerAnglesXYZ(-1.55,0,0) * CFrame.new(0,0,0.6)
  26957. weporigin = CFrame.fromEulerAnglesXYZ(1.55,0,0) * CFrame.new(0, 1.1, 0.5)
  26958.  
  26959. myhum = char.Humanoid
  26960. myhum.WalkSpeed = norm
  26961.  
  26962. enabled = false
  26963. hol = false
  26964.  
  26965. function select(mouse, key)
  26966.         wa.Part0 = wa.Parent
  26967.         wa.Part1 = char["Right Arm"]
  26968.         wa.C1 = original
  26969.         weld.Parent = char["Right Arm"]
  26970.         weld.Part0 = nil
  26971.         weld.Part1 = nil
  26972.         weld.C1 = weporigin
  26973.         handle.Parent = char
  26974.         handle2.Parent = char
  26975.         handle3.Parent = char
  26976.         for i = 1, 8 do
  26977.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  26978.                 wait()
  26979.         end
  26980.         for i = 1, 4 do
  26981.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  26982.                 wait()
  26983.         end
  26984.         toha.Part0 = nil
  26985.         toha.Part1 = nil
  26986.         weld.Part0 = weld.Parent
  26987.         weld.Part1 = handle
  26988.         for i = 1, 4 do
  26989.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.2,0)
  26990.                 wait()
  26991.         end
  26992.         for i = 1, 8 do
  26993.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.35,0,0)
  26994.                 wait()
  26995.         end
  26996.         wa.C1 = original
  26997.         spin = true
  26998.         brick2.Transparency = 0.3
  26999.         brick2.Parent = char
  27000.         brick3.Transparency = 0.3
  27001.         brick3.Parent = char
  27002.         weld2 = Instance.new("Weld")
  27003.         weld2.Parent = handle
  27004.         weld2.Part0 = weld2.Parent
  27005.         weld2.Part1 = handle2
  27006.         weld2.C1 = CFrame.new(0, 0, 2.1)
  27007.         weld3 = Instance.new("Weld")
  27008.         weld3.Parent = handle
  27009.         weld3.Part0 = weld3.Parent
  27010.         weld3.Part1 = handle3
  27011.         weld3.C1 = CFrame.new(0, 0, 1.4)
  27012.         weld.C1 = CFrame.fromEulerAnglesXYZ(1.55,0,0) * CFrame.new(0, 1.1, 0.5)
  27013.         weld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0, -2.1, 0)
  27014.         weld3.C1 = CFrame.fromEulerAnglesXYZ(3.2,0,0) * CFrame.new(0, -1.5, 0)
  27015.         coroutine.resume(coroutine.create(function()
  27016.                 while spin == true do
  27017.                         for i=1, 20 do
  27018.                                 wait()
  27019.                                 handle2.Transparency = handle2.Transparency + 0.025
  27020.                         end
  27021.                         for i=1, 20 do
  27022.                                 wait()
  27023.                                 handle2.Transparency = handle2.Transparency - 0.025
  27024.                         end
  27025.                 end
  27026.         end))
  27027.         coroutine.resume(coroutine.create(function()
  27028.                 while spin == true do
  27029.                         wait()
  27030.                         wads2.C1 = wads2.C1 * CFrame.fromEulerAnglesXYZ(0,0.15,0)
  27031.                         wads3.C1 = wads3.C1 * CFrame.fromEulerAnglesXYZ(0,0.15,0)
  27032.                         local fade = brick2:clone()
  27033.                         fade.Parent = char
  27034.                         fade.CFrame = brick2.CFrame
  27035.                         local weld = wads2:clone()
  27036.                         weld.Parent = handle2
  27037.                         weld.Part0 = weld.Parent
  27038.                         weld.Part1 = fade
  27039.                         local fade2 = brick3:clone()
  27040.                         fade2.Parent = char
  27041.                         fade2.CFrame = brick3.CFrame
  27042.                         local weld2 = wads3:clone()
  27043.                         weld2.Parent = handle2
  27044.                         weld2.Part0 = weld2.Parent
  27045.                         weld2.Part1 = fade2
  27046.                         coroutine.resume(coroutine.create(function()
  27047.                                 for i=1, 8 do
  27048.                                         wait()
  27049.                                         fade.Transparency = fade.Transparency + 0.12
  27050.                                         fade2.Transparency = fade2.Transparency + 0.12
  27051.                                 end
  27052.                                 fade:remove()
  27053.                                 fade2:remove()
  27054.                         end))
  27055.                 end
  27056.         end))
  27057.         enabled = false
  27058.         mouse.KeyDown:connect(function(key)
  27059.                 key = key:lower()
  27060.                 if (key == "k") then
  27061.                         if enabled == true then return end
  27062.                         enabled = true
  27063.                         hol = true
  27064.                         for i=1, 6 do
  27065.                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.1,0.1,0)
  27066.                         wait()
  27067.                         end
  27068.                         handle2.BrickColor = BrickColor.new(landc)
  27069.                         brick2.BrickColor = handle2.BrickColor
  27070.                         brick3.BrickColor = handle2.BrickColor
  27071.                         while hol == true do
  27072.                         wait(0.05)
  27073.                         local ki = Instance.new("Part")
  27074.                         ki.Parent = workspace
  27075.                         ki.Name = "Landmon"
  27076.                         ki.Size = Vector3.new(1,1,1)
  27077.                         ki.BrickColor = handle2.BrickColor
  27078.                         ki.TopSurface = 0
  27079.                         ki.BottomSurface = 0
  27080.                         ki.CanCollide = false
  27081.                         ki.Anchored = true
  27082.                         ki.CFrame = CFrame.new(mouse.Hit.p)
  27083.                         ki.CFrame = ki.CFrame * CFrame.new(0, -4, 0)
  27084.                         local mef = Instance.new("SpecialMesh")
  27085.                         mef.Parent = ki
  27086.                         mef.MeshType = "Sphere"
  27087.                         mef.Scale = Vector3.new(9,16,9)
  27088.                         coroutine.resume(coroutine.create(function()
  27089.                                 for i=1, 5 do
  27090.                                         wait()
  27091.                                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.12,0)
  27092.                                 end
  27093.                                 for i=1, 5 do
  27094.                                         wait()
  27095.                                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.12,0)
  27096.                                 end
  27097.                         end))
  27098.                         coroutine.resume(coroutine.create(function()
  27099.                                 for i=1, 25 do
  27100.                                         wait()
  27101.                                         ki.CFrame = ki.CFrame * CFrame.new(0, 0.3, 0)
  27102.                                 end
  27103.                                 loo = ki.CFrame
  27104.                                 ki.CanCollide = true
  27105.                                 mef.Scale = Vector3.new(1,1,1)
  27106.                                 ki.Size = Vector3.new(9,16,9)
  27107.                                 ki.CFrame = loo
  27108.                                 wait(7)
  27109.                                 for i=1, 20 do
  27110.                                         wait()
  27111.                                         ki.Transparency = ki.Transparency + 0.05
  27112.                                 end
  27113.                                 ki:remove()
  27114.                         end))
  27115.                         end
  27116.                 elseif (key == "f") then
  27117.                         if enabled == true then return end
  27118.                         enabled = true
  27119.                         pof = mouse.Hit.p
  27120.                         local part = Instance.new("Part")
  27121.                         local fire = Instance.new("Fire")
  27122.                         fire.Parent = part
  27123.                         fire.Heat = 30
  27124.                         fire.Size = 40
  27125.                         local smoke = Instance.new("Smoke")
  27126.                         smoke.Parent = part
  27127.                         smoke.RiseVelocity = 2
  27128.                         smoke.Size = 20
  27129.                         smoke.Color = Color3.new(0,0,0)
  27130.                         smoke.Opacity = 1
  27131.                         local par = Instance.new("Part")
  27132.                         par.Parent = workspace
  27133.                         par.Size = Vector3.new(9,1,1)
  27134.                         par.Transparency = 0
  27135.                         par.Anchored = true
  27136.                         par.TopSurface = 0
  27137.                         par.BottomSurface = 0
  27138.                         par.BrickColor = BrickColor.new(firec)
  27139.                         par.CFrame = CFrame.new(pof) * CFrame.new(0,-0.498,0)
  27140.                         par.CFrame = par.CFrame * CFrame.Angles(0,0.8,0)
  27141.                         par.CanCollide = false
  27142.                         local mes = Instance.new("SpecialMesh")
  27143.                         mes.Parent = par
  27144.                         mes.MeshType = "Brick"
  27145.                         mes.Scale = Vector3.new(1,1,1)
  27146.                         local pa = par:clone()
  27147.                         pa.Parent = workspace
  27148.                         pa.CFrame = CFrame.new(pof) * CFrame.new(0,-0.498,0)
  27149.                         pa.CFrame = pa.CFrame * CFrame.Angles(0,-0.8,0)
  27150.                         handle2.BrickColor = BrickColor.new(firec)
  27151.                         brick2.BrickColor = handle2.BrickColor
  27152.                         brick3.BrickColor = handle2.BrickColor
  27153.                         for i=1, 10 do
  27154.                                 wait(0.03)
  27155.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,0.05,0)
  27156.                         end
  27157.                         for i=1, 4 do
  27158.                         for i=1, 3 do
  27159.                                 wait(0.01)
  27160.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.05,0.1)
  27161.                         end
  27162.                         for i=1, 3 do
  27163.                                 wait(0.01)
  27164.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.03,0.05,-0.1)
  27165.                         end
  27166.                         end
  27167.                         for i=1, 7 do
  27168.                                 wait(0.01)
  27169.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.1,-0.1)
  27170.                         end
  27171.                         wait(0.6)
  27172.                         for i=1, 10 do
  27173.                                 wait(0.02)
  27174.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.1,-0.05,0.3)
  27175.                                 par.Transparency = par.Transparency + 0.1
  27176.                                 pa.Transparency = pa.Transparency + 0.1
  27177.                                 mes.Scale = mes.Scale + Vector3.new(0.1,0,0.05)
  27178.                                 pa.Mesh.Scale = pa.Mesh.Scale + Vector3.new(0.1,0,0.05)
  27179.                         end
  27180.                         wait(0.1)
  27181.                         pa:remove()
  27182.                         par:remove()
  27183.                         part.Parent = workspace
  27184.                         part.Size = Vector3.new(3,3,3)
  27185.                         part.Anchored = true
  27186.                         part.CFrame = CFrame.new(pof)
  27187.                         part.CFrame = part.CFrame * CFrame.Angles(1.2,0,0)
  27188.                         part.Transparency = 1
  27189.                         coroutine.resume(coroutine.create(function()
  27190.                                 for i=1, 100 do
  27191.                                         wait()
  27192.                                         part.CFrame = part.CFrame * CFrame.Angles(0,0,0.4)
  27193.                                 end
  27194.                         end))
  27195.                         local explode = Instance.new("Explosion")
  27196.                         explode.Parent = char
  27197.                         explode.BlastRadius = 11
  27198.                         explode.BlastPressure = 400000
  27199.                         explode.Position = part.Position
  27200.                         explode.archivable = false
  27201.                         wait(0.3)
  27202.                         wa.C1 = original
  27203.                         wait(0.7)
  27204.                         fire.Enabled = false
  27205.                         smoke.Enabled = false
  27206.                         wait(0.2)
  27207.                         part:remove()
  27208.                         wait(1)
  27209.                         enabled = false
  27210.                 elseif (key == "q") then
  27211.                         if enabled == true then return end
  27212.                         enabled = true
  27213.                         handle2.BrickColor = BrickColor.new(windc)
  27214.                         brick2.BrickColor = handle2.BrickColor
  27215.                         brick3.BrickColor = handle2.BrickColor
  27216.                         for i=1, 8 do
  27217.                                 wait(0.01)
  27218.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0,-0.18)
  27219.                         end
  27220.                         for i=1, 2 do
  27221.                                 wait(0.01)
  27222.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.15,0)
  27223.                         end
  27224.                         wait(0.3)
  27225.                         for i=1, 2 do
  27226.                                 wait(0.01)
  27227.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.3,0)
  27228.                         end
  27229.                         local p = Instance.new("Part")
  27230.                         p.Parent = workspace
  27231.                         p.Name = "Sword"
  27232.                         p.Size = Vector3.new(1,4,1)
  27233.                         p.BottomSurface = 0
  27234.                         p.TopSurface = 0
  27235.                         p.Anchored = false
  27236.                         p.CanCollide = false
  27237.                         p.CFrame = handle.CFrame
  27238.                         p.CFrame = p.CFrame * CFrame.Angles(0,0,1.55)
  27239.                         p:BreakJoints()
  27240.                         local mt = Instance.new("SpecialMesh")
  27241.                         mt.Parent = p
  27242.                         mt.MeshType = "FileMesh"
  27243.                         mt.MeshId = "http://www.roblox.com/asset/?id=12768042"
  27244.                         mt.TextureId = "http://www.roblox.com/asset/?id=21262906"
  27245.                         local bv = Instance.new("BodyVelocity")
  27246.                         bv.Parent = p
  27247.                         bv.velocity = char.Torso.CFrame.lookVector * 45
  27248.                         local bva = Instance.new("BodyAngularVelocity")
  27249.                         bva.Parent = p
  27250.                         bva.angularvelocity = Vector3.new(0,14,0)
  27251.                         p.Touched:connect(function(hit)
  27252.                                 if hit.Parent.Name == player.Name then return end
  27253.                                 local hum = hit.Parent:findFirstChild("Humanoid")
  27254.                                 if hum ~= nil then
  27255.                                         local hed = hit.Parent:findFirstChild("Head")
  27256.                                         if hed ~= nil then
  27257.                                                 for i=1, 5 do
  27258.                                                         wait()
  27259.                                                         hed.Parent.Torso.Neck.C1 = hed.Parent.Torso.Neck.C1 * CFrame.new(0, 0, -0.9)
  27260.                                                 end
  27261.                                                 hum.Health = 0
  27262.                                                 wait(0.05)
  27263.                                                 hed.Velocity = Vector3.new(math.random(-30,30),40,math.random(-30,30))
  27264.                                                 hed.RotVelocity = Vector3.new(math.random(-25,25),math.random(-25,25),math.random(-25,25))
  27265.                                         end
  27266.                                         hum.Health = 0
  27267.                                 end
  27268.                         end)
  27269.                         local spi = true
  27270.                         coroutine.resume(coroutine.create(function()
  27271.                                 while spi == true do
  27272.                                         local fad = p:clone()
  27273.                                         fad.Parent = workspace
  27274.                                         fad.BrickColor = BrickColor.new(windc)
  27275.                                         fad.Transparency = 0.2
  27276.                                         fad.Mesh.TextureId = "Clear"
  27277.                                         fad.Anchored = true
  27278.                                         coroutine.resume(coroutine.create(function()
  27279.                                                 for i=1, 8 do
  27280.                                                         wait()
  27281.                                                         fad.Transparency = fad.Transparency + 0.1
  27282.                                                 end
  27283.                                                 fad:remove()
  27284.                                         end))
  27285.                                         wait()
  27286.                                 end
  27287.                         end))
  27288.                         for i=1, 4 do
  27289.                                 wait(0.01)
  27290.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.3,0)
  27291.                         end
  27292.                         wait(0.3)
  27293.                         for i=1, 7 do
  27294.                                 wait(0.01)
  27295.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.2,0.3)
  27296.                         end
  27297.                         wa.C1 = original
  27298.                         wait(0.3)
  27299.                         enabled = false
  27300.                         wait(1.2)
  27301.                         spi = false
  27302.                         wait()
  27303.                         p:remove()
  27304.                 elseif (key == "e") then
  27305.                         if enabled == true then return end
  27306.                         enabled = true
  27307.                         myhum.WalkSpeed = 0
  27308.                         handle2.BrickColor = BrickColor.new(helthc)
  27309.                         brick2.BrickColor = handle2.BrickColor
  27310.                         brick3.BrickColor = handle2.BrickColor
  27311.                         hol = true
  27312.                         for i=1, 6 do
  27313.                                 wait(0.01)
  27314.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.13,0,0)
  27315.                                 weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.1)
  27316.                         end
  27317.                         wait(0.5)
  27318.                         for i=1, 3 do
  27319.                                 wait(0.01)
  27320.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.4,0,0)
  27321.                                 weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.23)
  27322.                         end
  27323.                         local pf = Instance.new("Part")
  27324.                         pf.Parent = workspace
  27325.                         pf.Name = "Healthbump"
  27326.                         pf.Size = Vector3.new(7,1,7)
  27327.                         pf.BottomSurface = 0
  27328.                         pf.TopSurface = 0
  27329.                         pf.Anchored = true
  27330.                         pf.CanCollide = false
  27331.                         pf.CFrame = char.Torso.CFrame * CFrame.new(0,-2.8, 0)
  27332.                         pf.Transparency = 0.3
  27333.                         pf.BrickColor = handle2.BrickColor
  27334.                         local meg = Instance.new("CylinderMesh")
  27335.                         meg.Parent = pf
  27336.                         meg.Scale = Vector3.new(0.6,0.8,0.6)
  27337.                         hecols = {"Bright green", "Lime green", "Dark green", "Camo"}
  27338.                         coroutine.resume(coroutine.create(function()
  27339.                                 for i=1, 50 do
  27340.                                         wait()
  27341.                                         pf.Transparency = pf.Transparency + 0.02
  27342.                                         meg.Scale = meg.Scale + Vector3.new(0.045,0,0.045)
  27343.                                 end
  27344.                         end))
  27345.                         while hol == true do
  27346.                                 wait(0)
  27347.                                 myhum.Health = myhum.Health + 0.5
  27348.                                 local chanc = math.random(1,20)
  27349.                                 if chanc == 8 then
  27350.                                         coroutine.resume(coroutine.create(function()
  27351.                                                 pf.Transparency = 0.3
  27352.                                                 meg.Scale = Vector3.new(0.6,0.8,0.6)
  27353.                                                 for i=1, 50 do
  27354.                                                         wait()
  27355.                                                         pf.Transparency = pf.Transparency + 0.02
  27356.                                                         meg.Scale = meg.Scale + Vector3.new(0.045,0,0.045)
  27357.                                                 end
  27358.                                         end))
  27359.                                 end
  27360.                                 local hp = Instance.new("Part")
  27361.                                 hp.Parent = workspace
  27362.                                 hp.formFactor = "Symmetric"
  27363.                                 local randsiz = math.random(1,2)
  27364.                                 local col = math.random(1,4)
  27365.                                 hp.Size = Vector3.new(randsiz,randsiz,randsiz)
  27366.                                 hp.BrickColor = BrickColor.new(hecols[col])
  27367.                                 hp.TopSurface = 0
  27368.                                 hp.BottomSurface = 0
  27369.                                 hp.Transparency = 0.1
  27370.                                 hp.CFrame = char.Torso.CFrame * CFrame.new(math.random(-5,5),-3,math.random(-5,5))
  27371.                                 hp.CFrame = hp.CFrame * CFrame.Angles(math.random(),math.random(),math.random())
  27372.                                 hp.CanCollide = false
  27373.                                 hp.Anchored = false
  27374.                                 hp:BreakJoints()
  27375.                                 local mf = Instance.new("SpecialMesh")
  27376.                                 mf.MeshType = "Brick"
  27377.                                 mf.Parent = hp
  27378.                                 mf.Scale = Vector3.new(0.65,0.65,0.65)
  27379.                                 local bv = Instance.new("BodyVelocity")
  27380.                                 bv.Parent = hp
  27381.                                 bv.velocity = Vector3.new(0,10,0)
  27382.                                 coroutine.resume(coroutine.create(function()
  27383.                                         wait(0.9)
  27384.                                         for i=1, 9 do
  27385.                                                 hp.Transparency = hp.Transparency + 0.1
  27386.                                                 wait()
  27387.                                         end
  27388.                                         hp:remove()
  27389.                                 end))
  27390.                         end
  27391.                 elseif (key == "r") then
  27392.                         if enabled == true then return end
  27393.                         enabled = true
  27394.                         myhum.WalkSpeed = 0
  27395.                         handle2.BrickColor = BrickColor.new(elec)
  27396.                         brick2.BrickColor = handle2.BrickColor
  27397.                         brick3.BrickColor = handle2.BrickColor
  27398.                         cols = {"Neon orange", "New Yeller", "Bright yellow", "Bright orange"}
  27399.                         for i=1, 6 do
  27400.                                 wait(0.01)
  27401.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.11,0,0)
  27402.                         end
  27403.                         wait(0.35)
  27404.                         tab = {}
  27405.                         for i=1, 50 do
  27406.                         for i=1, 20 do
  27407.                                 local a = Instance.new("Part")
  27408.                                 a.Parent = workspace
  27409.                                 a.formFactor = "Symmetric"
  27410.                                 a.Size = Vector3.new(4,1,1)
  27411.                                 a.TopSurface = 0
  27412.                                 a.BottomSurface = 0
  27413.                                 local numb = math.random(1,4)
  27414.                                 a.BrickColor = BrickColor.new(cols[numb])
  27415.                                 a.Anchored = true
  27416.                                 a.CanCollide = false
  27417.                                 a.Transparency = 0.3
  27418.                                 local mo = Instance.new("SpecialMesh")
  27419.                                 mo.Parent = a
  27420.                                 mo.MeshType = "Brick"
  27421.                                 mo.Scale = Vector3.new(1,0.2,0.2)
  27422.                                 a.CFrame = handle2.CFrame
  27423.                                 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)
  27424.                                 table.insert(tab, a)
  27425.                         end
  27426.                         wait()
  27427.                         for _, v in pairs(tab) do
  27428.                                 v:remove()
  27429.                         end
  27430.                         end
  27431.                         for i=1, 7 do
  27432.                                 wait(0.01)
  27433.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.17,0.1,0)
  27434.                         end
  27435.                         coroutine.resume(coroutine.create(function()
  27436.                         for i=1, 10 do
  27437.                                 wait(0.2)
  27438.                                 local h = Instance.new("Part")
  27439.                                 h.Parent = workspace
  27440.                                 h.Shape = "Ball"
  27441.                                 h.Size = Vector3.new(3,3,3)
  27442.                                 h.TopSurface = 0
  27443.                                 h.BottomSurface = 0
  27444.                                 local numb = math.random(1,4)
  27445.                                 h.BrickColor = BrickColor.new(cols[numb])
  27446.                                 h.Anchored = true
  27447.                                 h.CanCollide = false
  27448.                                 h.Transparency = 0.5
  27449.                                 h.CFrame = handle2.CFrame
  27450.                                 local function magn(hif)
  27451.                                         if hif.Parent.Name == player.Name then return end
  27452.                                         local dist = (char.Torso.Position - hif.Position).magnitude
  27453.                                         if dist >= 10 then
  27454.                                                 print(dist)
  27455.                                                 local hum = hif.Parent:findFirstChild("Humanoid")
  27456.                                                 if hum ~= nil then
  27457.                                                         hum.Health = 0
  27458.                                                 end
  27459.                                         end
  27460.                                 end
  27461.                                 coroutine.resume(coroutine.create(function()
  27462.                                         for i=1, 30 do
  27463.                                                 wait()
  27464.                                                 magn(char.Torso)
  27465.                                         end
  27466.                                 end))
  27467.                                 coroutine.resume(coroutine.create(function()
  27468.                                         for i=1, 30 do
  27469.                                                 wait(0.04)
  27470.                                                 h.Size = h.Size + Vector3.new(2,2,2)
  27471.                                                 h.Transparency = h.Transparency + 0.023
  27472.                                                 h.CFrame = handle2.CFrame
  27473.                                         end
  27474.                                         h:remove()
  27475.                                 end))
  27476.                         end
  27477.                         end))
  27478.                         for i=1, 19 do
  27479.                         for i=1, 30 do
  27480.                                 local f = Instance.new("Part")
  27481.                                 f.Parent = workspace
  27482.                                 f.formFactor = "Symmetric"
  27483.                                 f.Size = Vector3.new(25,1,1)
  27484.                                 f.TopSurface = 0
  27485.                                 f.BottomSurface = 0
  27486.                                 local numb = math.random(1,4)
  27487.                                 f.BrickColor = BrickColor.new(cols[numb])
  27488.                                 f.Anchored = true
  27489.                                 f.CanCollide = false
  27490.                                 f.Transparency = 0.3
  27491.                                 local mo = Instance.new("SpecialMesh")
  27492.                                 mo.Parent = f
  27493.                                 mo.MeshType = "Brick"
  27494.                                 mo.Scale = Vector3.new(1,math.random(0.8,1.7),math.random(0.8,1.7))
  27495.                                 f.CFrame = handle2.CFrame
  27496.                                 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)
  27497.                                 table.insert(tab, f)
  27498.                         end
  27499.                         wait(0.1)
  27500.                         for _, v in pairs(tab) do
  27501.                                 v:remove()
  27502.                         end
  27503.                         end
  27504.                         myhum.WalkSpeed = norm
  27505.                         enabled = false
  27506.                 end
  27507.         end)
  27508.         mouse.KeyUp:connect(function(key)
  27509.                 key = key:lower()
  27510.                 if (key == "k") then
  27511.                         hol = false
  27512.                         for i=1, 6 do
  27513.                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,-0.1,0)
  27514.                         wait()
  27515.                         end
  27516.                         wa.C1 = original
  27517.                         enabled = false
  27518.                         wait(0.3)
  27519.                         wa.C1 = original
  27520.                 elseif (key == "e") then
  27521.                         hol = false
  27522.                         for i=1, 6 do
  27523.                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,-0.02,0)
  27524.                         weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0.24)
  27525.                         wait()
  27526.                         end
  27527.                         myhum.WalkSpeed = norm
  27528.                         for i=1, 5 do
  27529.                                 wait(0.15)
  27530.                                 wa.C1 = original
  27531.                                 weld.C1 = weporigin
  27532.                         end
  27533.                         enabled = false
  27534.                 end
  27535.         end)
  27536.         mouse.Button1Down:connect(function()
  27537.                 e = char.Torso
  27538.                 wait(0.2)
  27539.                 e.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,2.5,0)
  27540.         end)
  27541. end
  27542.  
  27543. function deselect()
  27544.         spin = false
  27545.         for i = 1, 8 do
  27546.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  27547.                 wait()
  27548.         end
  27549.         for i = 1, 4 do
  27550.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  27551.                 wait()
  27552.         end
  27553.         toha.Part0 = toha.Parent
  27554.         toha.Part1 = handle
  27555.         weld.Part0 = nil
  27556.         weld.Part1 = nil
  27557.         wait()
  27558.         wa.Part0 = nil
  27559.         wa.Part1 = nil
  27560. end
  27561.  
  27562.  
  27563. script.Parent.Selected:connect(select)
  27564. script.Parent.Deselected:connect(deselect)
  27565.  
  27566.         end)
  27567. --
  27568. local button = Instance.new("TextButton")
  27569.         button.Parent = ws
  27570.         button.BackgroundColor3 = blak
  27571.         button.BorderColor3 = rede
  27572.         button.BorderSizePixel = 3
  27573.         button.Name = "xBow"
  27574.         button.Position = UDim2.new(0.5,3,0,231)
  27575.         button.Size = UDim2.new(0.5,-3,0,30)
  27576.         button.ZIndex = 2
  27577.         button.Font = tef
  27578.         button.FontSize = "Size14"
  27579.         button.Text = "xBow"
  27580.         button.TextColor3 = whit
  27581.         button.TextWrapped = true
  27582.                 button.MouseButton1Down:connect(function()
  27583.         me = game.Players.LocalPlayer
  27584. char = me.Character
  27585. Selected = false
  27586. Able = true
  27587. Arrow = nil
  27588. ArrowOn = false
  27589. Hurt = false
  27590. Deb = true
  27591. Reloading = false
  27592. Shooting = false
  27593. Slashing = false
  27594. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27595. EffectOn = false
  27596. Accuracy = 1
  27597. SelAnim = false
  27598. DMG = 123452323
  27599. LapaCol = "Brown"
  27600. HandCol = "Brown"
  27601. MiddleCol = "Brown"
  27602. ViiniCol = "Brown"
  27603. Icon = "http://www.roblox.com/asset/?id=51902588"
  27604. Keys = {
  27605. e = false,
  27606. }
  27607. ModelName = "Epic Bow"
  27608. CA = CFrame.Angles
  27609. CN = CFrame.new
  27610. MR = math.rad
  27611. MP = math.pi
  27612. MRA = math.random
  27613. MH = math.huge
  27614. UD = UDim2.new
  27615. C3 = Color3.new
  27616. MaximumPower = 1000000000
  27617. MaxSpecial = 100000
  27618. Special = MaxSpecial
  27619. Sounds = {
  27620. Slash = {"rbxasset://sounds//swordslash.wav", 1.2, 1},
  27621. Shoot = {"http://www.roblox.com/asset/?id=16211041", 2, 1},
  27622. Stick = {"http://www.roblox.com/asset/?id=2767090", 15, 1},
  27623. Hit = {"http://www.roblox.com/asset/?id=10209590", 0.9, 1},
  27624. Block = {"rbxasset://sounds\\metal.ogg", 1.4, 1},
  27625. }
  27626. function RC(Pos, Dir, Max, Ignore)
  27627. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore)
  27628. end
  27629. function RayC(Start, En, MaxDist, Ignore)
  27630. return RC(Start, (En - Start), MaxDist, Ignore)
  27631. end
  27632. function DetectSurface(pos, part)
  27633. local surface = nil
  27634. local pospos = part.CFrame
  27635. local pos2 = pospos:pointToObjectSpace(pos)
  27636. local siz = part.Size
  27637. local shaep = part.Shape
  27638. if shaep == Enum.PartType.Ball or shaep == Enum.PartType.Cylinder then
  27639. surface = {"Anything", CN(pospos.p, pos)*CN(0, 0, -(pospos.p - pos).magnitude)*CA(MR(-90), 0, 0)}
  27640. else
  27641. if pos2.Y > ((siz.Y/2)-0.04) then
  27642. surface = {"Top", CA(0, 0, 0)}
  27643. elseif pos2.Y < -((siz.Y/2)-0.04) then
  27644. surface = {"Bottom", CA(-MP, 0, 0)}
  27645. elseif pos2.X > ((siz.X/2)-0.04) then
  27646. surface = {"Right", CA(0, 0, MR(-90))}
  27647. elseif pos2.X < -((siz.X/2)-0.04) then
  27648. surface = {"Left", CA(0, 0, MR(90))}
  27649. elseif pos2.Z > ((siz.Z/2)-0.04) then
  27650. surface = {"Back", CA(MR(90), 0, 0)}
  27651. elseif pos2.Z < -((siz.Z/2)-0.04) then
  27652. surface = {"Front", CA(MR(-90), 0, 0)}
  27653. end
  27654. end
  27655. return surface
  27656. end
  27657. function Compute(pos1, pos2)
  27658. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  27659. return CN(pos1, pos3)
  27660. end
  27661. function Notime(func, tiem)
  27662. if tiem then wait(tiem) end
  27663. coroutine.resume(coroutine.create(function() func() end))
  27664. end
  27665. function waitChild(p, n)
  27666. local child = p:findFirstChild(n)
  27667. if child then return child end
  27668. while true do
  27669. child = p.ChildAdded:wait()
  27670. if child.Name == n then return child end
  27671. end
  27672. end
  27673. function getHumanoid(c)
  27674. for _,v in pairs(c:children()) do
  27675. if v:IsA("Humanoid") and c ~= char then if v.Health > 0 then return v end end
  27676. end
  27677. end
  27678. function SE(part, pos)
  27679. EffectOn = true
  27680. local lastP = (part.CFrame * pos).p
  27681. Notime(function()
  27682. while EffectOn do
  27683. wait()
  27684. local posnow = (part.CFrame * pos).p
  27685. local eff = Part(workspace, true, false, 0, 0, "Really black", 0.2, 1, 0.2)
  27686. local magn = (lastP - posnow).magnitude
  27687. local cf = CN(lastP, posnow) * CA(MR(-90), 0, 0)
  27688. local mes2 = Instance.new("SpecialMesh",eff)
  27689. mes2.Scale = Vector3.new(0.6, magn, 0.6)
  27690. eff.CFrame = cf * CN(0, magn/2, 0)
  27691. Notime(function()
  27692. for i = 0, 1, 0.1 do
  27693. wait()
  27694. eff.Transparency = i
  27695. eff.Reflectance = 0.15*i
  27696. mes2.Scale = Vector3.new(0.6-0.6*i, magn, 0.6-0.6*i)
  27697. end
  27698. eff:remove()
  27699. end)
  27700. lastP = posnow
  27701. end
  27702. end)
  27703. end
  27704. function EE()
  27705. EffectOn = false
  27706. end
  27707. torso = waitChild(char, "Torso")
  27708. Rarm = waitChild(char, "Right Arm")
  27709. Larm = waitChild(char, "Left Arm")
  27710. Rleg = waitChild(char, "Right Leg")
  27711. Lleg = waitChild(char, "Left Leg")
  27712. Hum = waitChild(char, "Humanoid")
  27713. neck = waitChild(torso, "Neck")
  27714. function EditGui(obj, parent, size, position, bgcolor, bordercolor, transparency, text, textcolor, auto)
  27715. obj.Size = size
  27716. obj.Position = position
  27717. obj.BackgroundColor3 = bgcolor
  27718. obj.BorderColor3 = bordercolor
  27719. obj.BackgroundTransparency = transparency
  27720. if obj:IsA("TextLabel") or obj:IsA("TextButton") then
  27721. obj.Text = text
  27722. obj.TextColor3 = textcolor
  27723. end
  27724. if obj:IsA("ImageButton") or obj:IsA("TextButton") then
  27725. obj.AutoButtonColor = auto
  27726. obj.MouseButton1Down:connect(function()
  27727. RemoveOptions()
  27728. end)
  27729. end
  27730. obj.Parent = parent
  27731. end
  27732. Gui = waitChild(me, "PlayerGui")
  27733. for _,v in pairs(Gui:children()) do
  27734. if v.Name == "Power" then v:remove() end
  27735. end
  27736. Sc = Instance.new("ScreenGui", Gui)
  27737. Sc.Name = "Power"
  27738. Main = Instance.new("TextLabel")
  27739. Main.Visible = false
  27740. 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))
  27741. Main.TextYAlignment = "Top"
  27742. Main.FontSize = "Size36"
  27743. Main.Font = "ArialBold"
  27744. Main.TextTransparency = 0.5
  27745. BarBack = Instance.new("Frame")
  27746. EditGui(BarBack, Main, UD(1, -10, 0, 25), UD(0, 5, 1, -30), C3(0, 0, 0), C3(), 0.5)
  27747. Bar = Instance.new("ImageLabel")
  27748. EditGui(Bar, BarBack, UD(0, 0, 1, 0), UD(0, 0, 0, 0), C3(1, 0.7, 0), C3(), 0.5)
  27749. Bar.Image = "http://www.roblox.com/asset/?id=48965808"
  27750. Spec = Instance.new("Frame")
  27751. EditGui(Spec, Sc, UD(0, 250, 0, 22), UD(0.04, 0, 0, 5), C3(1, 0.75, 0.1), C3(), 0)
  27752. SpecialBack = Instance.new("Frame")
  27753. EditGui(SpecialBack, Spec, UD(1, -10, 1, -6), UD(0, 5, 0, 3), C3(0.35, 0.1, 0.15), C3(), 0)
  27754. SpecialBar = Instance.new("ImageLabel")
  27755. EditGui(SpecialBar, SpecialBack, UD(Special/MaxSpecial, 0, 1, 0), UD(0, 0, 0, 0), C3(0.1, 0.65, 0.2), C3(), 0)
  27756. SpecialBar.Image = "http://www.roblox.com/asset/?id=48965808"
  27757. for i = 1, 3, 1 do
  27758. local p = Instance.new("Frame")
  27759. EditGui(p, SpecialBack, UD(0, 1, 1, 0), UD(i/4, 0, 0, 0), C3(0.1, 0.2, 1), C3(), 0)
  27760. p.BorderSizePixel = 0
  27761. end
  27762. SpecialText = Instance.new("TextLabel")
  27763. 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))
  27764. SpecialText.Font = "ArialBold"
  27765. SpecialText.FontSize = "Size14"
  27766. function Play(Sound)
  27767. local s = Instance.new("Sound")
  27768. s.SoundId = Sound[1]
  27769. s.Pitch = Sound[2]
  27770. s.Volume = Sound[3]
  27771. s.Parent = torso
  27772. s.PlayOnRemove = true
  27773. game.Debris:AddItem(s, 0.0001)
  27774. end
  27775. RSH = waitChild(torso, "Right Shoulder")
  27776. LSH = waitChild(torso, "Left Shoulder")
  27777. RH = waitChild(torso, "Right Hip")
  27778. LH = waitChild(torso, "Left Hip")
  27779. for i,v in pairs(char:children()) do if v.Name == ModelName then v:remove() end end
  27780. function Part(P, Anch, Coll, Tran, Ref, Col, X, Y, Z)
  27781. local p = Instance.new("Part")
  27782. p.TopSurface = 0
  27783. p.BottomSurface = 0
  27784. p.Transparency = Tran
  27785. p.Reflectance = Ref
  27786. p.CanCollide = Coll
  27787. p.Anchored = Anch
  27788. p.BrickColor = BrickColor.new(Col)
  27789. p.formFactor = "Custom"
  27790. p.Size = Vector3.new(X,Y,Z)
  27791. p.Parent = P
  27792. p.Locked = true
  27793. p:BreakJoints()
  27794. return p
  27795. end
  27796. function Weld(P0, P1, X, Y, Z, A, B, C)
  27797. local w = Instance.new("Weld")
  27798. w.Part0 = P0
  27799. w.Part1 = P1
  27800. w.C1 = CN(X, Y, Z) * CA(A, B, C)
  27801. w.Parent = P0
  27802. return w
  27803. end
  27804. Mo = Instance.new("Model")
  27805. Mo.Name = ModelName
  27806. FTorso = Part(Mo, false, false, 1, 0, torso.BrickColor.Name, torso.Size.X, torso.Size.Y, torso.Size.Z)
  27807. FWeld = Weld(torso, FTorso, 0, 0, 0, 0, 0, 0)
  27808. RABrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27809. LABrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27810. RLBrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27811. LLBrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27812. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  27813. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  27814. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  27815. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  27816. function Atch(p)
  27817. RABW.Part0 = p
  27818. LABW.Part0 = p
  27819. RLBW.Part0 = p
  27820. LLBW.Part0 = p
  27821. RSH.Part0 = p
  27822. LSH.Part0 = p
  27823. RH.Part0 = p
  27824. LH.Part0 = p
  27825. end
  27826. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  27827. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  27828. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  27829. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  27830. HB = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27831. HBW = Weld(Larm, HB, 0, 1, 0, 0, 0, 0)
  27832. HW = Weld(HB, nil, 0, 0, 0, MR(90), 0, 0)
  27833. AB = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27834. ABW = Weld(Rarm, AB, 0, 1, 0, 0, 0, 0)
  27835. AW = Weld(AB, nil, 0, 0, 0, 0, 0, 0)
  27836. TW = Weld(torso, nil, -0.7, 0, 0.5, 0, MP, 0)
  27837. Handle = Part(Mo, false, false, 0, 0, HandCol, 0.6, 1.2, 0.6)
  27838. Instance.new("SpecialMesh",Handle)
  27839. TW.Part1 = Handle
  27840. for i = -0.6, 0.61, 1.2 do
  27841. local p = Part(Mo, false, false, 0, 0, MiddleCol, 0.7, 0.2, 1.1)
  27842. Weld(Handle, p, 0, i, 0.15, 0, 0, 0)
  27843. Instance.new("BlockMesh", p)
  27844. end
  27845. local UpPoint, DownPoint
  27846. for i = -10, 95, 15 do
  27847. local p = Part(Mo, false, false, 0, 0, LapaCol, 0.69, 0.4, 0.2)
  27848. local w = Weld(Handle, p, 0, 0, 1.4, 0, 0, 0)
  27849. w.C0 = CN(0, 1.1, 0.75) * CA(MR(i), 0, 0)
  27850. Instance.new("BlockMesh", p)
  27851. UpPoint = p
  27852. end
  27853. for i = 10, -95, -15 do
  27854. local p = Part(Mo, false, false, 0, 0, LapaCol, 0.69, 0.4, 0.2)
  27855. local w = Weld(Handle, p, 0, 0, 1.4, 0, 0, 0)
  27856. w.C0 = CN(0, -1.1, 0.75) * CA(MR(i), 0, 0)
  27857. Instance.new("BlockMesh", p)
  27858. DownPoint = p
  27859. end
  27860. StringUp = Part(Mo, false, false, 0, 0, "Really black", 0.2, 1, 0.2)
  27861. StringDown = Part(Mo, false, false, 0, 0, "Really black", 0.2, 1, 0.2)
  27862. SUM = Instance.new("SpecialMesh", StringUp)
  27863. SDM = Instance.new("SpecialMesh", StringDown)
  27864. SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
  27865. SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
  27866. ORSU = CN(0, -1.3, 0) * CA(MR(-85), 0, 0)
  27867. ORSD = CN(0, 1.3, 0) * CA(MR(85), 0, 0)
  27868. SUW = Weld(UpPoint, StringUp, 0, -1.3, 0, MR(-85), 0, 0)
  27869. SDW = Weld(DownPoint, StringDown, 0, 1.3, 0, MR(85), 0, 0)
  27870. SUW.C0 = CN(0, 0.15, 0)
  27871. SDW.C0 = CN(0, -0.15, 0)
  27872. SUW.C1 = ORSU
  27873. SDW.C1 = ORSD
  27874. Arrow = Part(Mo, false, false, 1, 0, "Really black", 0.4, 0.4, 4.4)
  27875. local mesh = Instance.new("SpecialMesh",Arrow)
  27876. mesh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  27877. mesh.TextureId = "http://www.roblox.com/asset/?id=15886781"
  27878. mesh.Scale = Vector3.new(1, 1, 2.1)
  27879. AW.Part1 = Arrow
  27880. Ring = Part(Mo, false, false, 0, 0, ViiniCol, 0.2, 0.2, 0.2)
  27881. RingM = Instance.new("SpecialMesh", Ring)
  27882. RingM.MeshId = "http://www.roblox.com/asset/?id=3270017"
  27883. RingM.Scale = Vector3.new(0.6, 1, 21)
  27884. local www = Weld(FTorso, Ring, -0.9, -0.2, -0.8, MR(90), MR(90), MR(30))
  27885. www.C0 = CA(MR(-10), 0, 0)
  27886. Sp = Part(Mo, false, false, 0, 0, "Really black", 1, 0.2, 1)
  27887. local S = Instance.new("SpecialMesh",Sp)
  27888. S.MeshType = "Sphere"
  27889. S.Scale = Vector3.new(0.65, 1, 1.05)
  27890. Weld(Ring, Sp, 0, 1.7, 0, MR(-90), 0, 0)
  27891. function makeArrow(pos, ang)
  27892. local arrow = Part(Mo, false, false, 0, 0, "Really black", 0.2, 1, 0.2)
  27893. local mesh = Instance.new("SpecialMesh",arrow)
  27894. mesh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  27895. mesh.TextureId = "http://www.roblox.com/asset/?id=15886781"
  27896. mesh.Scale = Vector3.new(1, 1, 2.1)
  27897. Weld(Ring, arrow, pos.x, pos.y, pos.z, MP, 0, ang)
  27898. end
  27899. makeArrow(Vector3.new(0.15, 0.1, 0.55), 0.8)
  27900. makeArrow(Vector3.new(-0.2, -0.1, 0.65), -0.4)
  27901. makeArrow(Vector3.new(-0.1, 0.1, 0.6), 1.8)
  27902. makeArrow(Vector3.new(-0.1, -0.15, 0.7), 1.2)
  27903. makeArrow(Vector3.new(0, 0.3, 0.6), 0.28)
  27904. makeArrow(Vector3.new(0, 0, 0.65), 0.34)
  27905. makeArrow(Vector3.new(0.3, 0.1, 0.55), 1.9)
  27906. makeArrow(Vector3.new(-0.35, 0.1, 0.67), 1.9)
  27907. Mo.Parent = char
  27908. function Normal()
  27909. FTorso.Transparency = 1
  27910. FWeld.C0 = CN()
  27911. torso.Transparency = 0
  27912. LAW.C0 = CA(0, 0, MR(30))
  27913. RAW.Part1 = nil
  27914. RAW.C0 = CN()
  27915. RAW.C1 = CN(0, 0.5, 0)
  27916. LAW.C1 = CN(0, 0.5, 0)
  27917. LAW.Part1 = Larm
  27918. RABW.Part0 = torso
  27919. LABW.Part0 = torso
  27920. RLBW.Part0 = torso
  27921. LLBW.Part0 = torso
  27922. RSH.Part0 = torso
  27923. LSH.Part0 = torso
  27924. RH.Part0 = torso
  27925. LH.Part0 = torso
  27926. AW.C0 = CN()
  27927. HW.C0 = CA(MR(180), 0, MR(150))
  27928. SUW.C0 = CN(0, 0.15, 0)
  27929. SDW.C0 = CN(0, -0.15, 0)
  27930. SUW.C1 = ORSU
  27931. SDW.C1 = ORSD
  27932. SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
  27933. SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
  27934. end
  27935.  
  27936. bin = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  27937. function ShowDmg(pos, dmg)
  27938. local col = "Bright red"
  27939. if dmg < 1 then
  27940. col = "Bright blue"
  27941. end
  27942. local m = Instance.new("Model")
  27943. m.Name = "Damage Dealt: "..dmg*1758384
  27944. local p = Part(m, false, false, 0, 0, col, 0.8, 0.3, 0.8)
  27945. p.Name = "Head"
  27946. p.CFrame = CFrame.new(pos)
  27947. local bp = Instance.new("BodyPosition", p)
  27948. bp.position = pos + Vector3.new(0, 2.5, 0)
  27949. bp.P = 6500
  27950. bp.maxForce = Vector3.new(MH, MH, MH)
  27951. local h = Instance.new("Humanoid",m)
  27952. h.MaxHealth = 0
  27953. h.Health = 0
  27954. h.Name = "fffsaf"
  27955. m.Parent = workspace
  27956. game.Debris:AddItem(m, 1.5)
  27957. end
  27958. function Dmg(hum, dmg, pos)
  27959. if hum.Health > 0 then
  27960. hum.Health = hum.Health - dmg*1758384
  27961. ShowDmg(pos, dmg)
  27962. end
  27963. end
  27964. function ArrowT(hit)
  27965. local h = getHumanoid(hit.Parent)
  27966. if h and Deb and Hurt then
  27967. Deb = false
  27968. Dmg(h, MRA(3,15), Arrow.CFrame * CN(0, 0, 2.2).p)
  27969. end
  27970. end
  27971. Arrow.Touched:connect(ArrowT)
  27972. function SelectAnim()
  27973. LAW.Part1 = Larm
  27974. SelAnim = true
  27975. for i = 0.2, 1, 0.2 do
  27976. LAW.C0 = CA(MR(-25*i), 0, MR(25*i)) * CN(0, 0.2*i, 0)
  27977. wait()
  27978. end
  27979. HW.C0 = CN(0.4, 0.3, 0) * CA(MR(110), MR(-100), MR(180))
  27980. HW.Part1 = Handle
  27981. TW.Part1 = nil
  27982. for i = 0.08, 1, 0.08 do
  27983. LAW.C0 = CA(MR(-25+25*i), 0, MR(25-55*i)) * CN(0, 0.2-0.2*i, 0)
  27984. 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))
  27985. wait()
  27986. end
  27987. SelAnim = false
  27988. HW.C0 = CA(MR(180), 0, MR(150))
  27989. end
  27990. function DeselectAnim()
  27991. for i = 0.12, 1, 0.12 do
  27992. LAW.C0 = CA(MR(-25*i), 0, MR(-30+55*i)) * CN(0, 0.2*i, 0)
  27993. HW.C0 = CN(0.4*i, 0.3*i, 0) * CA(MR(180-70*i), MR(-20*i), MR(150+30*i))
  27994. if SelAnim or Selected then return end
  27995. wait()
  27996. end
  27997. HW.Part1 = nil
  27998. TW.Part1 = Handle
  27999. for i = 0.12, 1, 0.12 do
  28000. LAW.C0 = CA(MR(-25+25*i), 0, MR(-30+55-25*i)) * CN(0, 0.2-0.2*i, 0)
  28001. if SelAnim or Selected then return end
  28002. wait()
  28003. end
  28004. if Selected == false and SelAnim == false then
  28005. LAW.Part1 = nil
  28006. end
  28007. end
  28008. function Slash()
  28009. RAW.Part1 = Rarm
  28010. Slashing = true
  28011. Play(Sounds.Slash)
  28012. for i = 0.15, 1, 0.15 do
  28013. RAW.C0 = CA(MR(180*i), MR(-20*i), MR(35*i))
  28014. AW.C0 = CA(MR(35*i), 0, 0) * CN(0, 0, 0.7*i)
  28015. wait()
  28016. end
  28017. for i = 0.33, 1, 0.33 do
  28018. RAW.C0 = CA(MR(180+10*i), MR(-20), MR(35+2*i))
  28019. AW.C0 = CA(MR(35+5*i), 0, 0) * CN(0, 0, 0.7+0.2*i)
  28020. wait()
  28021. end
  28022. local blockk = false
  28023. local hit, pos = RayC(torso.Position, torso.CFrame * CN(0, 0, -5).p, 3.2, char)
  28024. if hit ~= nil then
  28025. if getHumanoid(hit.Parent) == nil and hit.CanCollide == true then
  28026. blockk = true
  28027. end
  28028. end
  28029. SE(Arrow, CN(0, 0, 2.2))
  28030. if blockk == false then
  28031. Hurt = true
  28032. Deb = true
  28033. for i = 0.2, 1, 0.2 do
  28034. RAW.C0 = CA(MR(190-140*i), MR(-20-5*i), MR(37-87*i)) * CN(0, -1*i, 0)
  28035. AW.C0 = CA(MR(40-25*i), MR(-20*i), 0) * CN(0, 0, 0.9+0.3*i)
  28036. wait()
  28037. end
  28038. EE()
  28039. Hurt = false
  28040. for i = 0.33, 1, 0.33 do
  28041. RAW.C0 = CA(MR(50-10*i), MR(-25), MR(-50-5*i)) * CN(0, -1, 0)
  28042. AW.C0 = CA(MR(15-20*i), MR(-20-1*i), 0) * CN(0, 0, 1.2*i)
  28043. wait()
  28044. end
  28045. for i = 0.25, 1, 0.25 do
  28046. RAW.C0 = CA(MR(40-10*i), MR(-25+25*i), MR(-55+35*i)) * CN(0, -1+1*i, 0)
  28047. AW.C0 = CA(MR(-5+55*i), MR(-21+21*i), 0) * CN(0, 0, 1.2-1.2*i)
  28048. wait()
  28049. end
  28050. for i = 0.25, 1, 0.25 do
  28051. RAW.C0 = CA(MR(30-30*i), 0, MR(-20+20*i))
  28052. AW.C0 = CA(MR(50-50*i), 0, 0)
  28053. wait()
  28054. end
  28055. else
  28056. for i = 0.5, 1, 0.5 do
  28057. RAW.C0 = CA(MR(190-50*i), MR(-20-5*i), MR(37-27*i)) * CN(0, -0.2*i, 0)
  28058. AW.C0 = CA(MR(40-5*i), MR(-5*i), 0) * CN(0, 0, 0.9+0.1*i)
  28059. wait()
  28060. end
  28061. Play(Sounds.Block)
  28062. for i = 0.25, 1, 0.25 do
  28063. RAW.C0 = CA(MR(140+60*i), MR(-25+25*i), MR(10+20*i)) * CN(0, -0.2-0.3*i, 0)
  28064. AW.C0 = CA(MR(35+45*i), MR(-5+5*i), 0) * CN(0, 0, 1)
  28065. wait()
  28066. end
  28067. EE()
  28068. for i = 0.33, 1, 0.33 do
  28069. RAW.C0 = CA(MR(200+10*i), MR(5*i), MR(30+5*i)) * CN(0, -0.5, 0)
  28070. AW.C0 = CA(MR(80+5*i), 0, 0) * CN(0, 0, 1)
  28071. wait()
  28072. end
  28073. for i = 0.18, 1, 0.18 do
  28074. RAW.C0 = CA(MR(210-200*i), MR(5-5*i), MR(35-30*i)) * CN(0, -0.5+0.4*i, 0)
  28075. AW.C0 = CA(MR(85-75*i), 0, 0) * CN(0, 0, 1-0.8*i)
  28076. wait()
  28077. end
  28078. for i = 0.33, 1, 0.33 do
  28079. RAW.C0 = CA(MR(10-10*i), 0, MR(5-5*i)) * CN(0, -0.1+0.1*i, 0)
  28080. AW.C0 = CA(MR(10-10*i), 0, 0) * CN(0, 0, 0.2-0.2*i)
  28081. wait()
  28082. end
  28083. AW.C0 = CN()
  28084. end
  28085. Slashing = false
  28086. RAW.Part1 = nil
  28087. end
  28088. function Reload()
  28089. if ArrowOn == false then
  28090. RAW.Part1 = Rarm
  28091. Reloading = true
  28092. for i = 0.16, 1, 0.16 do
  28093. RAW.C0 = CA(MR(200*i), MR(-5*i), 0) * CN(0, -0.35*i, 0)
  28094. wait()
  28095. end
  28096. AW.C0 = CA(0, MR(-90), 0)
  28097. AW.C1 = CN(0, 0, -1.5) * CA(MR(60), 0, 0)
  28098. Arrow.Transparency = 0
  28099. ArrowOn = true
  28100. for i = 0.2, 1, 0.2 do
  28101. RAW.C0 = CA(MR(200), MR(-5), MR(40*i)) * CN(0, -0.35, 0)
  28102. AW.C1 = CN(0, 0, -1.5+2*i) * CA(MR(60-20*i), 0, 0)
  28103. wait()
  28104. end
  28105. for i = 0.33, 1, 0.33 do
  28106. RAW.C0 = CA(MR(200), MR(-5), MR(40+10*i)) * CN(0, -0.35+0.05*i, 0)
  28107. AW.C1 = CN(0, 0, 0.5+0.1*i) * CA(MR(40-5*i), 0, 0)
  28108. wait()
  28109. end
  28110. for i = 0.18, 1, 0.18 do
  28111. RAW.C0 = CA(MR(200-190*i), MR(-5+5*i), MR(50-45*i)) * CN(0, -0.3+0.25*i, 0)
  28112. AW.C1 = CN(0, 0, 0.6-0.5*i) * CA(MR(35-30*i), 0, 0)
  28113. AW.C0 = CA(0, MR(-90+80*i), 0)
  28114. wait()
  28115. end
  28116. for i = 0.33, 1, 0.33 do
  28117. RAW.C0 = CA(MR(10-10*i), 0, MR(5-5*i)) * CN(0, -0.05+0.05*i, 0)
  28118. AW.C1 = CN(0, 0, 0.1-0.1*i) * CA(MR(5-5*i), 0, 0)
  28119. AW.C0 = CA(0, MR(-10+10*i), 0)
  28120. wait()
  28121. end
  28122. AW.C1 = CN()
  28123. AW.C0 = CN()
  28124. RAW.C0 = CN()
  28125. RAW.Part1 = nil
  28126. Reloading = false
  28127. else
  28128. Slash()
  28129. end
  28130. end
  28131. function AddDetail(Surface, pos, bool, part, hu)
  28132. local caf = CN(pos) * CA(part.CFrame:toEulerAnglesXYZ()) * Surface[2]
  28133. if Surface[1] == "Anything" then
  28134. caf = Surface[2]
  28135. end
  28136. Notime(function()
  28137. if bool then
  28138. Notime(function()
  28139. for i = 1, MRA(2,7) do
  28140. local x = MRA(0.4*100, 0.9*100)/100
  28141. local z = MRA(0.7*100, 1.2*100)/100
  28142. local pp = Part(hu.Parent, false, false, 0, 0, "Bright red", 0.2, 0.2, 0.2)
  28143. local ms = Instance.new("SpecialMesh",pp)
  28144. ms.MeshType = "Sphere"
  28145. ms.Scale = Vector3.new(x*5, 1, z*5)
  28146. pp.CFrame = caf
  28147. local w = Weld(part, pp, 0, 0, 0, 0, 0, 0)
  28148. 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)
  28149. w.C0 = c0
  28150. Notime(function()
  28151. local moar = MRA(-1.1*1000, 1.1*1000)/1000
  28152. for i = 0, 1, MRA(0.02*1000, 0.06*1000)/1000 do
  28153. wait()
  28154. w.C0 = c0 * CN(0, 0, -moar*i)
  28155. ms.Scale = Vector3.new((x*5)-(moar/3)*i, 1, (z*5)+(moar/3)*i)
  28156. pp.Transparency = -0.5+1.5*i
  28157. end
  28158. pp:remove()
  28159. end)
  28160. end
  28161. end)
  28162. for i = 1, MRA(4,8) do
  28163. Notime(function()
  28164. local pp2 = Part(hu.Parent, true, false, 0, 0, "Bright red", 0.2, 0.2, 0.2)
  28165. pp2.CFrame = caf
  28166. local ms2 = Instance.new("SpecialMesh",pp2)
  28167. ms2.MeshType = "Sphere"
  28168. ms2.Scale = Vector3.new(1.5, 1.5, 1.5)
  28169. local face = CA(MR(MRA(-40, 40)+105), MR(MRA(-40, 40)), MR(MRA(-40, 40)))
  28170. local center = caf * face * CN(0, -5, 0)
  28171. Notime(function()
  28172. for i = 0, 1, 0.1 do
  28173. pp2.Transparency = -0.7+1.7*i
  28174. pp2.CFrame = center * CN(0, 0, -2.5*i) * CA(MR(-55*i), 0, 0) * CN(0, 5, 0)
  28175. wait()
  28176. end
  28177. pp2:remove()
  28178. end)
  28179. end)
  28180. end
  28181. else
  28182. Notime(function()
  28183. for i = 1, MRA(5,8) do
  28184. Notime(function()
  28185. local t = {"Bright yellow", "New Yeller", "Really black", "Institutional Really black", "Brick yellow"}
  28186. local pp = Part(workspace, true, false, 0, 0, t[MRA(1, #t)], 0.2, 0.2, 0.2)
  28187. local mes = Instance.new("SpecialMesh",pp)
  28188. mes.MeshType = "Sphere"
  28189. mes.Scale = Vector3.new(0.5, 0.5, 1)
  28190. local caa = CN(caf.p) * CA(MR(MRA(-180,180)), MR(MRA(-180,180)), MR(MRA(-180,180)))
  28191. pp.CFrame = caa
  28192. for i = 0.25, 1, 0.25 do
  28193. wait()
  28194. mes.Scale = Vector3.new(0.5+0.1*i, 0.5+0.1*i, 1+2*i)
  28195. pp.CFrame = caa * CN(0, 0, -0.4*i)
  28196. end
  28197. for i = 0.25, 1, 0.25 do
  28198. wait()
  28199. mes.Scale = Vector3.new(0.6, 0.6, 3+1.6*i)
  28200. pp.CFrame = caa * CN(0, 0, -0.6-0.32*i)
  28201. pp.Transparency = -0.2+1.2*i
  28202. end
  28203. pp:remove()
  28204. end)
  28205. end
  28206. end)
  28207. end
  28208. end)
  28209. end
  28210. function ShootArrow(pos, power, targ)
  28211. local Start = Handle.Position
  28212. local mag = (Start - pos).magnitude/200
  28213. if mag > 12.5 then mag = 12.5 end
  28214. if targ == nil then mag = 1 end
  28215. 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))
  28216. local Arr = Part(Mo, true, false, 0, 0, "Really black", 0.2, 0.2, 0.2)
  28217. local mes = Instance.new("SpecialMesh",Arr)
  28218. mes.MeshId = "http://www.roblox.com/asset/?id=15887356"
  28219. mes.TextureId = "http://www.roblox.com/asset/?id=15886781"
  28220. mes.Scale = Vector3.new(1, 1, 2.1)
  28221. Arr.CFrame = Face
  28222. local Go = 2.8+(power/30)
  28223. local Dist = 200+(power*2.8)
  28224. local Drop = 0.55/(Go*1.25)
  28225. local lastP = Start
  28226. local didhit = false
  28227. local omg = 0
  28228. local hit2, pos2 = RayC(torso.CFrame * CN(0, 0, -0.4).p, torso.CFrame * CN(0, 0, -2).p, 2.5, char)
  28229. local hu2 = nil
  28230. if hit2 then
  28231. local hh = getHumanoid(hit2.Parent)
  28232. if hh then
  28233. hit2 = nil
  28234. end
  28235. end
  28236. for i = Go, Dist, Go do
  28237. Drop = Drop + 1/(Go*3.5)
  28238. omg = omg + Drop
  28239. local dropping = CA(MR(-Drop), 0, 0)
  28240. if omg > 130 then
  28241. dropping = CN()
  28242. end
  28243. Face = Face * dropping * CN(0, 0, -Go)
  28244. Arr.CFrame = Face * CA(MR(-180), 0, 0)
  28245. local hit, p = RayC(lastP, Face.p, Go+0.5, char)
  28246. local eff = Part(Mo, true, false, 0, 0, "Really black", 0.2, 1, 0.2)
  28247. local magn = (lastP - Face.p).magnitude
  28248. local cf = CN(lastP, Face.p) * CA(MR(-90), 0, 0)
  28249. if hit then
  28250. magn = (lastP - p).magnitude
  28251. cf = CN(lastP, p) * CA(MR(-90), 0, 0)
  28252. end
  28253. local mes2 = Instance.new("SpecialMesh",eff)
  28254. mes2.Scale = Vector3.new(0.6, magn, 0.6)
  28255. eff.CFrame = cf * CN(0, magn/2, 0)
  28256. Notime(function()
  28257. for i = 0, 1, 0.12 do
  28258. wait()
  28259. eff.Transparency = i
  28260. eff.Reflectance = 0.15*i
  28261. mes2.Scale = Vector3.new(0.6-0.6*i, magn, 0.6-0.6*i)
  28262. end
  28263. eff:remove()
  28264. end)
  28265. local realhit = hit
  28266. if hit2 then realhit = hit2 p = pos2 end
  28267. if hit or hit2 then
  28268. local h = getHumanoid(realhit.Parent)
  28269. local sound = Sounds.Stick
  28270. if h and hit.Parent.className ~= "Hat" then
  28271. local d = MRA(12+DMG+(power/8), 20+DMG+(power/5.5))
  28272. hit:remove()
  28273. if hit.Name == "Head" then
  28274. d = math.floor(d*1.4)
  28275. hit:remove()
  28276. end
  28277. Dmg(h, d, p)
  28278. sound = Sounds.Hit
  28279. elseif h == nil and realhit.Parent.className ~= "Hat" then
  28280. if realhit.Anchored == false then
  28281. Notime(function()
  28282. wait(0.08)
  28283. local mas = realhit:GetMass()/5+2
  28284. local vel = (16+(power/3))/mas
  28285. if vel < 0 then vel = 0 end
  28286. realhit.Velocity = (CN(lastP, p).lookVector) * vel
  28287. end)
  28288. end
  28289. end
  28290. local a = -1.2
  28291. if realhit.Anchored then
  28292. Arr.CFrame = CN(p, lastP) * CN(0, 0, a)
  28293. if realhit == hit2 then
  28294. Arr.CFrame = CN(Start, pos2) * CN(0, 0, -1.9)
  28295. end
  28296. else
  28297. a = (power-200)/110
  28298. local w8 = 13
  28299. if realhit.Parent.className == "Hat" then
  28300. a = ((power/2)-170)/110
  28301. w8 = 5
  28302. end
  28303. Arr.Anchored = false
  28304. local w = Weld(realhit, Arr, 0, 0, 0, 0, 0, 0)
  28305. w.C1 = ((CN(p, lastP) * CN(0, 0, a)):toObjectSpace(realhit.CFrame))
  28306. if realhit == hit2 then
  28307. w.C1 = ((CN(Start, pos2) * CN(0, 0, -1.9)):toObjectSpace(realhit.CFrame))
  28308. end
  28309. Notime(function()
  28310. if power < 50 then
  28311. wait(w8+power/7.5)
  28312. local caa = Arr.CFrame
  28313. w:remove()
  28314. Arr.Size = Vector3.new(0.3, 0.3, 4)
  28315. Arr.CFrame = caa
  28316. Arr.CanCollide = true
  28317. end
  28318. end)
  28319. end
  28320. didhit = true
  28321. Notime(
  28322. function()
  28323. wait(26)
  28324. for i = 0, 1, 0.02 do
  28325. Arr.Transparency = i
  28326. wait()
  28327. end
  28328. Arr:remove()
  28329. end
  28330. )
  28331. Play(sound)
  28332. local Surface = DetectSurface(p, realhit)
  28333. AddDetail(Surface, p, h ~= nil and hit.Parent.className ~= "Hat", realhit, h)
  28334. wait(0.05)
  28335. break
  28336. end
  28337. lastP = Face.p
  28338. wait()
  28339. end
  28340. if didhit == false then
  28341. for i = 0, 1, 0.2 do
  28342. Arr.Transparency = i
  28343. wait()
  28344. end
  28345. Arr:remove()
  28346. end
  28347. end
  28348. function Shoot(mouse)
  28349. Shooting = true
  28350. RAW.Part1 = Rarm
  28351. Atch(FTorso)
  28352. FTorso.Transparency = 0
  28353. torso.Transparency = 1
  28354. local shoot = false
  28355. Spec.BorderColor3 = C3()
  28356. local amg, omg = false, false
  28357. Notime(function()
  28358. repeat
  28359. wait()
  28360. until Selected == false or omg
  28361. if omg == false then
  28362. omg = true
  28363. Shooting = false
  28364. Reloading = false
  28365. Hurt = false
  28366. Slashing = false
  28367. Normal()
  28368. EE()
  28369. return
  28370. end
  28371. end)
  28372. Notime(function()
  28373. mouse.Button1Up:wait()
  28374. shoot = true
  28375. end)
  28376. for i = 0.16, 1, 0.16 do
  28377. FWeld.C0 = CA(0, MR(-80*i), 0)
  28378. LAW.C0 = CA(MR(85*i), 0, MR(-30-25*i)) * CN(0.3*i, 0.4*i, -0.1*i)
  28379. RAW.C0 = CA(MR(85*i), 0, MR(-70*i)) * CN(0.65*i, -1.2*i, 0)
  28380. HW.C0 = CA(MR(180), 0, MR(150+60*i))
  28381. AW.C0 = CA(MR(85*i), 0, 0) * CN(0, 0, 2.1*i)
  28382. wait()
  28383. end
  28384. for i = 0.33, 1, 0.33 do
  28385. FWeld.C0 = CA(0, MR(-80-10*i), 0)
  28386. LAW.C0 = CA(MR(85+5*i), 0, MR(-55-5*i)) * CN(0.3, 0.4, -0.1)
  28387. RAW.C0 = CA(MR(85+5*i), 0, MR(-70-5*i)) * CN(0.65+0.05*i, -1.2-0.1*i, 0)
  28388. HW.C0 = CA(MR(180), 0, MR(210+5*i))
  28389. AW.C0 = CA(MR(85+5*i), MR(-15*i), 0) * CN(0, 0, 2.1+0.1*i)
  28390. wait()
  28391. end
  28392. LAW.C0 = CA(MR(90), 0, MR(-60)) * CN(0.3, 0.4, -0.1)
  28393. HW.C0 = CA(MR(180), 0, MR(215))
  28394. FWeld.C0 = CA(0, MR(-90), 0)
  28395. for i = 0.25, 1, 0.25 do
  28396. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
  28397. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
  28398. SUW.C1 = CN(0, -0.22*i, 0) * ORSU
  28399. SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28400. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
  28401. SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28402. SDW.C1 = CN(0, 0.25*i, 0) * ORSD
  28403. wait()
  28404. end
  28405. for i = 0.33, 1, 0.33 do
  28406. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
  28407. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
  28408. SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
  28409. SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28410. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
  28411. SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28412. SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
  28413. wait()
  28414. end
  28415. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, 0, 0)
  28416. local powe = 10
  28417. Main.Visible = true
  28418. Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
  28419. Notime(function()
  28420. repeat wait() until powe >= MaximumPower or shoot
  28421. wait(6)
  28422. if shoot == false then
  28423. shoot = true
  28424. end
  28425. end)
  28426. repeat
  28427. wait()
  28428. powe = powe + 4.8
  28429. if powe > MaximumPower then powe = MaximumPower end
  28430. Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
  28431. local sped = 16-((powe/MaximumPower)*9) if Selected == false then sped = 16 end
  28432. Hum.WalkSpeed = sped
  28433. until shoot
  28434. Main.Visible = false
  28435. Notime(function()
  28436. for i = 0.5, 1, 0.5 do
  28437. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-30+30*i), 0, 0)
  28438. SUW.C1 = CN(0, -0.25+0.25*i, 0) * ORSU
  28439. SUM.Scale = Vector3.new(0.4, 2.8-0.4*i, 0.4)
  28440. SDW.C0 = CN(0, -0.15, 0) * CA(MR(30-30*i), 0, 0)
  28441. SDM.Scale = Vector3.new(0.4, 2.8-0.4*i, 0.4)
  28442. SDW.C1 = CN(0, 0.25-0.25*i, 0) * ORSD
  28443. wait()
  28444. end
  28445. end)
  28446. local pos = mouse.Hit.p
  28447. ArrowOn = false
  28448. Arrow.Transparency = 1
  28449. Notime(function()
  28450. Play(Sounds.Shoot)
  28451. ShootArrow(pos, powe, mouse.Target)
  28452. end)
  28453. for i = 0.2, 1, 0.2 do
  28454. FWeld.C0 = CA(0, MR(-90+25*i), 0)
  28455. 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)
  28456. RAW.C0 = CA(MR(90+60*i), 0, MR(-75+55*i)) * CN(0.7-0.5*i, -0.1*i, 0)
  28457. HW.C0 = CA(MR(180), 0, MR(215-65*i))
  28458. wait()
  28459. end
  28460. Hum.WalkSpeed = 16
  28461. for i = 0.25, 1, 0.25 do
  28462. FWeld.C0 = CA(0, MR(-65+5*i), 0)
  28463. LAW.C0 = CA(MR(115+5*i), 0, MR(-75-5*i))
  28464. RAW.C0 = CA(MR(150+10*i), 0, MR(-20+5*i)) * CN(0.2-0.1*i, -0.1-0.05*i, 0)
  28465. HW.C0 = CA(MR(180), 0, MR(150))
  28466. wait()
  28467. end
  28468. for i = 0.14, 1, 0.14 do
  28469. FWeld.C0 = CA(0, MR(-60+55*i), 0)
  28470. LAW.C0 = CA(MR(120-110*i), 0, MR(-80+45*i))
  28471. RAW.C0 = CA(MR(160-150*i), 0, MR(-15+10*i)) * CN(0.1-0.1*i, -0.15+0.15*i, 0)
  28472. wait()
  28473. end
  28474. for i = 0.33, 1, 0.33 do
  28475. FWeld.C0 = CA(0, MR(-5+5*i), 0)
  28476. LAW.C0 = CA(MR(10-10*i), 0, MR(-35+5*i))
  28477. RAW.C0 = CA(MR(10-10*i), 0, MR(-5+5*i))
  28478. wait()
  28479. end
  28480. AW.C0 = CN()
  28481. FWeld.C0 = CN()
  28482. LAW.C0 = CA(0, 0, MR(-30))
  28483. HW.C0 = CA(MR(180), 0, MR(150))
  28484. FTorso.Transparency = 1
  28485. torso.Transparency = 0
  28486. Atch(torso)
  28487. Shooting = false
  28488. RAW.Part1 = nil
  28489. RAW.C0 = CN()
  28490. Spec.BorderColor3 = C3()
  28491. omg = true
  28492. end
  28493. function SpecialAtk(mouse)
  28494. if Special < 50 then return end
  28495. Shooting = true
  28496. Spec.BorderColor3 = C3(0, 1, 0)
  28497. RAW.Part1 = Rarm
  28498. Atch(FTorso)
  28499. FTorso.Transparency = 0
  28500. torso.Transparency = 1
  28501. local amg, omg = false, false
  28502. Notime(function()
  28503. repeat
  28504. wait()
  28505. until Selected == false or omg
  28506. if omg == false then
  28507. omg = true
  28508. Shooting = false
  28509. Reloading = false
  28510. Hurt = false
  28511. Slashing = false
  28512. Normal()
  28513. EE()
  28514. return
  28515. end
  28516. end)
  28517. local shoot = false
  28518. Notime(function()
  28519. mouse.Button1Up:wait()
  28520. shoot = true
  28521. end)
  28522. for i = 0.2, 1, 0.2 do
  28523. FWeld.C0 = CA(0, MR(-80*i), 0)
  28524. LAW.C0 = CA(MR(85*i), 0, MR(-30-25*i)) * CN(0.3*i, 0.4*i, -0.1*i)
  28525. RAW.C0 = CA(MR(85*i), 0, MR(-70*i)) * CN(0.65*i, -1.2*i, 0)
  28526. HW.C0 = CA(MR(180), 0, MR(150+60*i))
  28527. AW.C0 = CA(MR(85*i), 0, 0) * CN(0, 0, 2.1*i)
  28528. wait()
  28529. end
  28530. for i = 0.5, 1, 0.5 do
  28531. FWeld.C0 = CA(0, MR(-80-10*i), 0)
  28532. LAW.C0 = CA(MR(85+5*i), 0, MR(-55-5*i)) * CN(0.3, 0.4, -0.1)
  28533. RAW.C0 = CA(MR(85+5*i), 0, MR(-70-5*i)) * CN(0.65+0.05*i, -1.2-0.1*i, 0)
  28534. HW.C0 = CA(MR(180), 0, MR(210+5*i))
  28535. AW.C0 = CA(MR(85+5*i), MR(-15*i), 0) * CN(0, 0, 2.1+0.1*i)
  28536. wait()
  28537. end
  28538. LAW.C0 = CA(MR(90), 0, MR(-60)) * CN(0.3, 0.4, 0)
  28539. HW.C0 = CA(MR(180), 0, MR(215))
  28540. FWeld.C0 = CA(0, MR(-90), 0)
  28541. AW.C0 = CA(MR(90), MR(-15), 0) * CN(0, 0, 2.2)
  28542. for i = 0.33, 1, 0.33 do
  28543. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
  28544. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
  28545. SUW.C1 = CN(0, -0.22*i, 0) * ORSU
  28546. SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28547. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
  28548. SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28549. SDW.C1 = CN(0, 0.25*i, 0) * ORSD
  28550. wait()
  28551. end
  28552. for i = 0.5, 1, 0.5 do
  28553. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
  28554. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
  28555. SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
  28556. SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28557. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
  28558. SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28559. SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
  28560. wait()
  28561. end
  28562. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, 0, 0)
  28563. local powe = 0
  28564. Main.Visible = true
  28565. Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
  28566. Notime(function()
  28567. repeat wait() until powe >= MaximumPower or shoot
  28568. if shoot == false then
  28569. shoot = true
  28570. end
  28571. end)
  28572. repeat
  28573. wait()
  28574. powe = powe + 5
  28575. if powe > MaximumPower then powe = MaximumPower end
  28576. Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
  28577. local sped = 16-((powe/MaximumPower)*9) if Selected == false then sped = 16 end
  28578. Hum.WalkSpeed = sped
  28579. until shoot
  28580. Special = Special - 50
  28581. Main.Visible = false
  28582. local pos = mouse.Hit.p
  28583. Notime(function()
  28584. Play(Sounds.Shoot)
  28585. ShootArrow(pos, powe/1.2, mouse.Target)
  28586. end)
  28587. SUW.C0 = CN(0, 0.15, 0) * CA(0, 0, 0)
  28588. SUW.C1 = CN(0, 0, 0) * ORSU
  28589. SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
  28590. SDW.C0 = CN(0, -0.15, 0) * CA(0, 0, 0)
  28591. SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
  28592. SDW.C1 = CN(0, 0, 0) * ORSD
  28593. for i = 0.33, 1, 0.33 do
  28594. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3*i, 0)
  28595. wait()
  28596. end
  28597. for i = 0.33, 1, 0.33 do
  28598. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
  28599. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
  28600. SUW.C1 = CN(0, -0.22*i, 0) * ORSU
  28601. SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28602. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
  28603. SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28604. SDW.C1 = CN(0, 0.25*i, 0) * ORSD
  28605. wait()
  28606. end
  28607. for i = 0.5, 1, 0.5 do
  28608. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
  28609. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
  28610. SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
  28611. SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28612. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
  28613. SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28614. SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
  28615. wait()
  28616. end
  28617. Notime(function()
  28618. Arrow.Transparency = 1
  28619. ArrowOn = false
  28620. Play(Sounds.Shoot)
  28621. ShootArrow(pos, powe/1.2, mouse.Target)
  28622. end)
  28623. Notime(function()
  28624. for i = 0.5, 1, 0.5 do
  28625. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-30+30*i), 0, 0)
  28626. SUW.C1 = CN(0, -0.25+0.25*i, 0) * ORSU
  28627. SUM.Scale = Vector3.new(0.4, 2.9-0.5*i, 0.4)
  28628. SDW.C0 = CN(0, -0.15, 0) * CA(MR(30-30*i), 0, 0)
  28629. SDM.Scale = Vector3.new(0.4, 2.9-0.5*i, 0.4)
  28630. SDW.C1 = CN(0, 0.25-0.25*i, 0) * ORSD
  28631. wait()
  28632. end
  28633. end)
  28634. for i = 0.25, 1, 0.25 do
  28635. FWeld.C0 = CA(0, MR(-90+25*i), 0)
  28636. 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)
  28637. RAW.C0 = CA(MR(90+60*i), 0, MR(-75+55*i)) * CN(0.7-0.5*i, -0.1*i, 0)
  28638. HW.C0 = CA(MR(180), 0, MR(215-65*i))
  28639. wait()
  28640. end
  28641. Hum.WalkSpeed = 16
  28642. for i = 0.33, 1, 0.33 do
  28643. FWeld.C0 = CA(0, MR(-65+5*i), 0)
  28644. LAW.C0 = CA(MR(115+5*i), 0, MR(-75-5*i))
  28645. RAW.C0 = CA(MR(150+10*i), 0, MR(-20+5*i)) * CN(0.2-0.1*i, -0.1-0.05*i, 0)
  28646. HW.C0 = CA(MR(180), 0, MR(150))
  28647. wait()
  28648. end
  28649. for i = 0.16, 1, 0.16 do
  28650. FWeld.C0 = CA(0, MR(-60+55*i), 0)
  28651. LAW.C0 = CA(MR(120-110*i), 0, MR(-80+45*i))
  28652. RAW.C0 = CA(MR(160-150*i), 0, MR(-15+10*i)) * CN(0.1-0.1*i, -0.15+0.15*i, 0)
  28653. wait()
  28654. end
  28655. for i = 0.5, 1, 0.5 do
  28656. FWeld.C0 = CA(0, MR(-5+5*i), 0)
  28657. LAW.C0 = CA(MR(10-10*i), 0, MR(-35+5*i))
  28658. RAW.C0 = CA(MR(10-10*i), 0, MR(-5+5*i))
  28659. wait()
  28660. end
  28661. Spec.BorderColor3 = C3()
  28662. AW.C0 = CN()
  28663. FWeld.C0 = CN()
  28664. LAW.C0 = CA(0, 0, MR(-30))
  28665. HW.C0 = CA(MR(180), 0, MR(150))
  28666. FTorso.Transparency = 1
  28667. torso.Transparency = 0
  28668. Atch(torso)
  28669. Shooting = false
  28670. RAW.Part1 = nil
  28671. RAW.C0 = CN()
  28672. omg = false
  28673. end
  28674. function Sel(mouse)
  28675. mouse.Icon = Icon
  28676. SelectAnim()
  28677. Selected = true
  28678. mouse.KeyDown:connect(function(key)
  28679. key = key:lower()
  28680. if Reloading == false and Slashing == false and Shooting == false then
  28681. if key == "f" then
  28682. Reload()
  28683. end
  28684. end
  28685. if Shooting == false then
  28686. if key == "e" then
  28687. Keys.e = true
  28688. local k
  28689. Spec.BorderColor3 = C3(1, 1, 0.4)
  28690. repeat
  28691. wait()
  28692. k = mouse.KeyUp:wait()
  28693. until k == "e"
  28694. Keys.e = false
  28695. if Shooting == false then
  28696. Spec.BorderColor3 = C3()
  28697. end
  28698. end
  28699. end
  28700. end)
  28701. mouse.Button1Down:connect(function()
  28702. if Reloading == false and Slashing == false and Shooting == false then
  28703. if ArrowOn == false then
  28704. local yesh = true
  28705. Notime(function()
  28706. mouse.Button1Up:wait()
  28707. yesh = false
  28708. end)
  28709. local ah = Keys.e
  28710. Reload()
  28711. if yesh then
  28712. local mm = Special >= 50
  28713. if ah and mm or Keys.e and mm then
  28714. SpecialAtk(mouse)
  28715. else
  28716. Shoot(mouse)
  28717. end
  28718. end
  28719. else
  28720. local mm = Special >= 50
  28721. if Keys.e and mm then
  28722. SpecialAtk(mouse)
  28723. else
  28724. Shoot(mouse)
  28725. end
  28726. end
  28727. end
  28728. end)
  28729. end
  28730. function Desel(mouse)
  28731. Selected = false
  28732. Main.Visible = false
  28733. Hum.WalkSpeed = 16
  28734. DeselectAnim()
  28735. end
  28736. bin.Deselected:connect(Desel)
  28737. bin.Selected:connect(Sel)
  28738. while Mo.Parent == char do
  28739. wait()
  28740. Special = Special + 0.07
  28741. if Special > MaxSpecial then Special = MaxSpecial end
  28742. SpecialBar.Size = UDim2.new(Special/MaxSpecial, 0, 1, 0)
  28743. end    
  28744.         end)
  28745. local title = Instance.new("TextLabel")
  28746.         title.Parent = gt
  28747.         title.BackgroundColor3 = blak
  28748.         title.BorderColor3 = rede
  28749.         title.BorderSizePixel = 3
  28750.         title.Name = "Title"
  28751.         title.Size = UDim2.new(1,0,0,30)
  28752.         title.ZIndex = 2
  28753.         title.Font = "SourceSansBold"
  28754.         title.FontSize = "Size14"
  28755.         title.Text = "Gear/Tools"
  28756.         title.TextColor3 = whit
  28757. local title = Instance.new("TextLabel")
  28758.         title.Parent = ws
  28759.         title.BackgroundColor3 = blak
  28760.         title.BorderColor3 = rede
  28761.         title.BorderSizePixel = 3
  28762.         title.Name = "Title"
  28763.         title.Size = UDim2.new(1,0,0,30)
  28764.         title.ZIndex = 2
  28765.         title.Font = "SourceSansBold"
  28766.         title.FontSize = "Size14"
  28767.         title.Text = "Weapon Scripts"
  28768.         title.TextColor3 = whit
  28769. -- Page 2 End --
  28770.  
  28771.  
  28772.  
  28773.  
  28774. -- Misc --
  28775. local button = Instance.new("TextButton")
  28776.         button.Parent = misc
  28777.         button.BackgroundColor3 = blak
  28778.         button.BorderColor3 = rede
  28779.         button.BorderSizePixel = 3
  28780.         button.Name = "Become Owner in Personal Server"
  28781.         button.Position = UDim2.new(0,0,0,33)
  28782.         button.Size = UDim2.new(0.5,0,0,30)
  28783.         button.ZIndex = 2
  28784.         button.Font = tef
  28785.         button.FontSize = "Size14"
  28786.         button.Text = "Become Owner [PS]"
  28787.         button.TextColor3 = whit
  28788.         button.TextWrapped = true
  28789.         button.MouseButton1Down:connect(function()
  28790.                 while game.Players.LocalPlayer.PersonalServerRank<255 do
  28791.    game:GetService("PersonalServerService"):Promote(game.Players.LocalPlayer)
  28792. end
  28793.         end)
  28794. --
  28795. local button = Instance.new("TextButton")
  28796.         button.Parent = misc
  28797.         button.BackgroundColor3 = blak
  28798.         button.BorderColor3 = rede
  28799.         button.BorderSizePixel = 3
  28800.         button.Name = "Disco Fog"
  28801.         button.Position = UDim2.new(0.5,3,0,33)
  28802.         button.Size = UDim2.new(0.5,-3,0,30)
  28803.         button.ZIndex = 2
  28804.         button.Font = tef
  28805.         button.FontSize = "Size14"
  28806.         button.Text = "Disco Fog"
  28807.         button.TextColor3 = whit
  28808.         button.TextWrapped = true
  28809.         button.MouseButton1Down:connect(function()
  28810. 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)}
  28811. game.Lighting.FogStart = 25
  28812. game.Lighting.FogEnd = 300
  28813. while true do
  28814. wait(0.5)
  28815. game.Lighting.FogColor = basics[math.random(1,#basics)]
  28816. end
  28817.         end)
  28818. --
  28819. local button = Instance.new("TextButton")
  28820.         button.Parent = misc
  28821.         button.BackgroundColor3 = blak
  28822.         button.BorderColor3 = rede
  28823.         button.BorderSizePixel = 3
  28824.         button.Name = "Fencing Restore"
  28825.         button.Position = UDim2.new(0,0,0,66)
  28826.         button.Size = UDim2.new(0.5,0,0,30)
  28827.         button.ZIndex = 2
  28828.         button.Font = tef
  28829.         button.FontSize = "Size14"
  28830.         button.Text = "Fencing Restore"
  28831.         button.TextColor3 = whit
  28832.         button.TextWrapped = true
  28833.         button.MouseButton1Down:connect(function()
  28834.                 --Fencing Restore script made by Yelock--
  28835. --Now restoring fencing Please wait ----------
  28836. --Censore
  28837. --mediafire
  28838. --hitler
  28839. --megaupload
  28840. --globe of geeks
  28841. --lego
  28842. --cheez
  28843. --chicken
  28844. --requires c>2
  28845. function X(ws)
  28846. for _, v in pairs(ws:GetChildren()) do
  28847. v.Archivable = true
  28848. if v.Name ~= "UClear" and v.Name ~= "Terrain" and game.Players:GetPlayerFromCharacter(v)==nil and v~=game.Workspace.CurrentCamera then
  28849. if v:IsA("Script") or v:IsA("LocalScript") then
  28850. v.Disabled = true
  28851. v:remove()
  28852. else
  28853. v:remove()
  28854. end
  28855. end
  28856. if game.Workspace:findFirstChild("Base") ~= nil then
  28857. else
  28858. local Base=Instance.new("Part",game.Workspace)
  28859. Base.Name="Base"
  28860. Base.Size=Vector3.new(1000,1,1000)
  28861. Base.BrickColor=BrickColor.new("Earth green")
  28862. Base.Anchored=true
  28863. Base.Locked=true
  28864. Base.TopSurface="Universal"
  28865. Base.CFrame=CFrame.new(Vector3.new(0,0,0))
  28866. local Spawn=Instance.new("SpawnLocation",game.Workspace)
  28867. Spawn.Name="lol"
  28868. Spawn.Size=Vector3.new(6,1,6)
  28869. Spawn.Transparency=1
  28870. Spawn.CanCollide=false
  28871. Spawn.Anchored=true
  28872. Spawn.Locked=true
  28873. Spawn.CFrame=CFrame.new(Vector3.new(0,1,0))
  28874. end
  28875. end
  28876. end
  28877. X(game.Workspace)
  28878. X(game.Teams)
  28879. X(game.StarterGui)
  28880. wait()
  28881. game.Workspace:InsertContent("rbxassetid://118791953")
  28882. wait()
  28883. game.workspace.Base:Destroy()
  28884. wait()
  28885. game.workspace.lol:Destroy()
  28886. wait()
  28887. game.Lighting.Ambient = Color3.new(255,255,255)
  28888. game.Lighting.TimeOfDay = 12
  28889. game.Lighting.Brightness = 0.5
  28890. game.Lighting.FogEnd = 100000
  28891. game.Lighting.GlobalShadows = false
  28892. game.Lighting.Sky:Destroy()
  28893. game.Lighting.FogEnd = 100000
  28894. game.Lighting.Brightness = 1
  28895. game.Workspace.Terrain:clear()
  28896.         end)
  28897. --
  28898. local button = Instance.new("TextButton")
  28899.         button.Parent = misc
  28900.         button.BackgroundColor3 = blak
  28901.         button.BorderColor3 = rede
  28902.         button.BorderSizePixel = 3
  28903.         button.Name = "Leaderstat Add"
  28904.         button.Position = UDim2.new(0.5,3,0,66)
  28905.         button.Size = UDim2.new(0.5,-3,0,30)
  28906.         button.ZIndex = 2
  28907.         button.Font = tef
  28908.         button.FontSize = "Size14"
  28909.         button.Text = "Leaderstat Add"
  28910.         button.TextColor3 = whit
  28911.         button.TextWrapped = true
  28912.         button.MouseButton1Down:connect(function()
  28913.                 while true do
  28914. wait(.1)
  28915. 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)
  28916. end
  28917.         end)
  28918. --
  28919. local button = Instance.new("TextButton")
  28920.         button.Parent = misc
  28921.         button.BackgroundColor3 = blak
  28922.         button.BorderColor3 = rede
  28923.         button.BorderSizePixel = 3
  28924.         button.Name = "Leaderstat Change"
  28925.         button.Position = UDim2.new(0,0,0,99)
  28926.         button.Size = UDim2.new(0.5,0,0,30)
  28927.         button.ZIndex = 2
  28928.         button.Font = tef
  28929.         button.FontSize = "Size14"
  28930.         button.Text = "Leaderstat Change"
  28931.         button.TextColor3 = whit
  28932.         button.TextWrapped = true
  28933.         button.MouseButton1Down:connect(function()
  28934. game.Players.LocalPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Name"].TextBox.Text)game.Players.LocalPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Amount"].TextBox.Text)   
  28935.  
  28936.         end)
  28937. --
  28938. local button = Instance.new("TextButton")
  28939.         button.Parent = misc
  28940.         button.BackgroundColor3 = blak
  28941.         button.BorderColor3 = rede
  28942.         button.BorderSizePixel = 3
  28943.         button.Name = "Play Music"
  28944.         button.Position = UDim2.new(0.5,3,0,99)
  28945.         button.Size = UDim2.new(0.5,-3,0,30)
  28946.         button.ZIndex = 2
  28947.         button.Font = tef
  28948.         button.FontSize = "Size14"
  28949.         button.Text = "Play Music"
  28950.         button.TextColor3 = whit
  28951.         button.TextWrapped = true
  28952.         button.MouseButton1Down:connect(function()
  28953.                 for i,v in pairs(game.Workspace:GetChildren()) do
  28954. if v.className == "Sound" then
  28955. v:Stop()
  28956. v:Remove()     
  28957. end    
  28958. end
  28959. s = Instance.new("Sound",Workspace)
  28960. s.SoundId = "rbxassetid://"..frame.Settings.Page1["Music ID"].TextBox.Text
  28961. s.Volume = 1
  28962. s.Looped = true
  28963. s.Pitch = frame.Settings.Page1["Music Pitch"].TextBox.Text
  28964. s:Play()
  28965. wait(.1)
  28966. s:Play()
  28967.         end)
  28968. --
  28969. local button = Instance.new("TextButton")
  28970.         button.Parent = misc
  28971.         button.BackgroundColor3 = blak
  28972.         button.BorderColor3 = rede
  28973.         button.BorderSizePixel = 3
  28974.         button.Name = "Restore Skybox"
  28975.         button.Position = UDim2.new(0,0,0,132)
  28976.         button.Size = UDim2.new(0.5,0,0,30)
  28977.         button.ZIndex = 2
  28978.         button.Font = tef
  28979.         button.FontSize = "Size14"
  28980.         button.Text = "Restore Skybox"
  28981.         button.TextColor3 = whit
  28982.         button.TextWrapped = true
  28983.         button.MouseButton1Down:connect(function()
  28984.                 for i,v in pairs(game.Lighting:GetChildren()) do
  28985. v:Remove()
  28986. end
  28987.         end)
  28988. --
  28989. local button = Instance.new("TextButton")
  28990.         button.Parent = misc
  28991.         button.BackgroundColor3 = blak
  28992.         button.BorderColor3 = rede
  28993.         button.BorderSizePixel = 3
  28994.         button.Name = "Steal Player Points"
  28995.         button.Position = UDim2.new(0.5,3,0,132)
  28996.         button.Size = UDim2.new(0.5,-3,0,30)
  28997.         button.ZIndex = 2
  28998.         button.Font = tef
  28999.         button.FontSize = "Size14"
  29000.         button.Text = "Steal Player Points"
  29001.         button.TextColor3 = whit
  29002.         button.TextWrapped = true
  29003.         button.MouseButton1Down:connect(function()
  29004.                 local service = game:GetService("PointsService")
  29005. service:AwardPoints(game.Players.LocalPlayer.userId, service:GetAwardablePoints())
  29006.         end)
  29007. --
  29008. local button = Instance.new("TextButton")
  29009.         button.Parent = misc
  29010.         button.BackgroundColor3 = blak
  29011.         button.BorderColor3 = rede
  29012.         button.BorderSizePixel = 3
  29013.         button.Name = "Empty"
  29014.         button.Position = UDim2.new(0,0,0,165)
  29015.         button.Size = UDim2.new(0.499,0,0,30)
  29016.         button.ZIndex = 2
  29017.         button.Font = tef
  29018.         button.FontSize = "Size14"
  29019.         button.Text = "Empty"
  29020.         button.TextColor3 = whit
  29021.         button.TextWrapped = true
  29022.         button.MouseButton1Down:connect(function()
  29023.                
  29024.         end)
  29025. --
  29026. local button = Instance.new("TextButton")
  29027.         button.Parent = misc
  29028.         button.BackgroundColor3 = blak
  29029.         button.BorderColor3 = rede
  29030.         button.BorderSizePixel = 3
  29031.         button.Name = "Empty"
  29032.         button.Position = UDim2.new(0.5,3,0,165)
  29033.         button.Size = UDim2.new(0.5,-3,0,30)
  29034.         button.ZIndex = 2
  29035.         button.Font = tef
  29036.         button.FontSize = "Size14"
  29037.         button.Text = "Empty"
  29038.         button.TextColor3 = whit
  29039.         button.TextWrapped = true
  29040.         button.MouseButton1Down:connect(function()
  29041.                
  29042.         end)
  29043. --
  29044. local button = Instance.new("TextButton")
  29045.         button.Parent = misc
  29046.         button.BackgroundColor3 = blak
  29047.         button.BorderColor3 = rede
  29048.         button.BorderSizePixel = 3
  29049.         button.Name = "Empty"
  29050.         button.Position = UDim2.new(0,0,0,198)
  29051.         button.Size = UDim2.new(0.499,0,0,30)
  29052.         button.ZIndex = 3
  29053.         button.Font = tef
  29054.         button.FontSize = "Size14"
  29055.         button.Text = "Empty"
  29056.         button.TextColor3 = whit
  29057.         button.TextWrapped = true
  29058.         button.MouseButton1Down:connect(function()
  29059.                
  29060.         end)
  29061. --
  29062. local button = Instance.new("TextButton")
  29063.         button.Parent = misc
  29064.         button.BackgroundColor3 = blak
  29065.         button.BorderColor3 = rede
  29066.         button.BorderSizePixel = 3
  29067.         button.Name = "Empty"
  29068.         button.Position = UDim2.new(0.5,3,0,198)
  29069.         button.Size = UDim2.new(0.5,-3,0,30)
  29070.         button.ZIndex = 2
  29071.         button.Font = tef
  29072.         button.FontSize = "Size14"
  29073.         button.Text = "Empty"
  29074.         button.TextColor3 = whit
  29075.         button.TextWrapped = true
  29076.         button.MouseButton1Down:connect(function()
  29077.                
  29078.         end)
  29079.        
  29080. -- Local Player --
  29081. local button = Instance.new("TextButton")
  29082.         button.Parent = localp
  29083.         button.BackgroundColor3 = blak
  29084.         button.BorderColor3 = rede
  29085.         button.BorderSizePixel = 3
  29086.         button.Name = "Anti-Robloxian"
  29087.         button.Position = UDim2.new(0,0,0,33)
  29088.         button.Size = UDim2.new(0.5,0,0,30)
  29089.         button.ZIndex = 2
  29090.         button.Font = tef
  29091.         button.FontSize = "Size14"
  29092.         button.Text = "Anti-Robloxian"
  29093.         button.TextColor3 = whit
  29094.         button.TextWrapped = true
  29095.         button.MouseButton1Down:connect(function()
  29096.                 local Player = game.Players.LocalPlayer
  29097. while true do
  29098. local dist = frame.Settings.Page2["Anti Robloxian Range"].TextBox.Text
  29099. value = Instance.new("NumberValue", game.workspace)
  29100. value.Value = dist
  29101. local distance = 13
  29102. if Player then
  29103. c = game.Players:GetChildren()
  29104. for i = 1, #c do
  29105. if c[i].Name ~= Player.Name then
  29106. if c[i]:DistanceFromCharacter(game.Workspace[Player.Name].Torso.Position) <= distance then
  29107. c[i].Character:BreakJoints()
  29108. c2 = c[i].Character:GetChildren()
  29109. for i2 =1, #c2 do
  29110. if c2[i2]:IsA("BasePart") then
  29111. Instance.new("Fire", c2[i2])
  29112. end end end end end end wait() end
  29113.         end)
  29114. --
  29115. local button = Instance.new("TextButton")
  29116.         button.Parent = localp
  29117.         button.BackgroundColor3 = blak
  29118.         button.BorderColor3 = rede
  29119.         button.BorderSizePixel = 3
  29120.         button.Name = "Billboard Gui"
  29121.         button.Position = UDim2.new(0.5,3,0,33)
  29122.         button.Size = UDim2.new(0.5,-3,0,30)
  29123.         button.ZIndex = 2
  29124.         button.Font = tef
  29125.         button.FontSize = "Size14"
  29126.         button.Text = "Billboard Gui"
  29127.         button.TextColor3 = whit
  29128.         button.TextWrapped = true
  29129.         button.MouseButton1Down:connect(function()
  29130.                 if game.Players.LocalPlayer.Character.Head:FindFirstChild("BillboardGui") then
  29131. game.Players.LocalPlayer.Character.Head:FindFirstChild("BillboardGui"):Remove()
  29132. end
  29133. plr = game.Players.LocalPlayer.Name
  29134. y = Instance.new("BillboardGui")
  29135. y.Size = UDim2.new(0,100,0,150)
  29136. y.StudsOffset = Vector3.new(0,1,0)
  29137. y.Parent = game.Players[plr].Character.Head
  29138. y.Adornee = game.Players[plr].Character.Head
  29139. f = Instance.new("TextLabel")
  29140. f.Parent = y
  29141. f.BackgroundTransparency = 1
  29142. f.Position = UDim2.new(0,0,0,-50)
  29143. f.Size = UDim2.new(0,100,0,100)
  29144. f.Font = "Arial"
  29145. f.FontSize = "Size48"
  29146. f.Text = frame.Settings.Page1["Billboard Gui Text"].TextBox.Text
  29147. f.TextStrokeColor3 = Color3.new(0,0,0)
  29148. 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)
  29149. f.TextStrokeTransparency = 0
  29150. f.TextYAlignment = "Bottom"
  29151.         end)
  29152. --
  29153.  
  29154. --
  29155. local button = Instance.new("TextButton")
  29156.         button.Parent = localp
  29157.         button.BackgroundColor3 = blak
  29158.         button.BorderColor3 = rede
  29159.         button.BorderSizePixel = 3
  29160.         button.Name = "Chicken Arms"
  29161.         button.Position = UDim2.new(0.5,3,0,66)
  29162.         button.Size = UDim2.new(0.5,-3,0,30)
  29163.         button.ZIndex = 2
  29164.         button.Font = tef
  29165.         button.FontSize = "Size14"
  29166.         button.Text = "Chicken Arms"
  29167.         button.TextColor3 = whit
  29168.         button.TextWrapped = true
  29169.         button.MouseButton1Down:connect(function()
  29170.                 local Chicken = game.Players.LocalPlayer.Name
  29171. 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)
  29172. game.Workspace[Chicken].Torso["Left Shoulder"].C1 = CFrame.new(0, 0.5, 0)
  29173. 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)
  29174. game.Workspace[Chicken].Torso["Right Shoulder"].C1 = CFrame.new(0, 0.5, 0)
  29175.         end)
  29176. --
  29177. local button = Instance.new("TextButton")
  29178.         button.Parent = localp
  29179.         button.BackgroundColor3 = blak
  29180.         button.BorderColor3 = rede
  29181.         button.BorderSizePixel = 3
  29182.         button.Name = "Disco Character"
  29183.         button.Position = UDim2.new(0,0,0,99)
  29184.         button.Size = UDim2.new(0.499,0,0,30)
  29185.         button.ZIndex = 2
  29186.         button.Font = tef
  29187.         button.FontSize = "Size14"
  29188.         button.Text = "Disco Character"
  29189.         button.TextColor3 = whit
  29190.         button.TextWrapped = true
  29191.         button.MouseButton1Down:connect(function()
  29192.                 presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"}
  29193. while true do
  29194. wait(0.5)
  29195. ye = game.Workspace[game.Players.LocalPlayer.Name]:GetChildren()
  29196. for i,v in pairs(ye) do
  29197. if v.className == "Part" then
  29198. v.BrickColor = BrickColor.new(presets[math.random(1,#presets)])
  29199. end
  29200. end
  29201. end
  29202.         end)
  29203. --
  29204. local button = Instance.new("TextButton")
  29205.         button.Parent = localp
  29206.         button.BackgroundColor3 = blak
  29207.         button.BorderColor3 = rede
  29208.         button.BorderSizePixel = 3
  29209.         button.Name = "Dominus Ghost"
  29210.         button.Position = UDim2.new(0.5,3,0,99)
  29211.         button.Size = UDim2.new(0.5,-3,0,30)
  29212.         button.ZIndex = 2
  29213.         button.Font = tef
  29214.         button.FontSize = "Size14"
  29215.         button.Text = "Dominus Ghost"
  29216.         button.TextColor3 = whit
  29217.         button.TextWrapped = true
  29218.         button.MouseButton1Down:connect(function()
  29219.                 function nob(who,tra,hat)
  29220. c=who.Character
  29221. pcall(function()u=c["Body Colors"]
  29222. u.HeadColor=BrickColor.new("Black")
  29223. u.LeftLegColor=BrickColor.new("Black")
  29224. u.RightLegolor=BrickColor.new("Black")
  29225. u.LeftArmColor=BrickColor.new("Black")
  29226. u.TorsoColor=BrickColor.new("Black")
  29227. u.RightArmColor=BrickColor.new("Black")
  29228. end)
  29229. pcall(function()c.Shirt:Destroy() c.Pants:Destroy() end)
  29230. for i,v in pairs(c:GetChildren()) do
  29231. if v:IsA("BasePart") then
  29232. v.Transparency=tra
  29233. if v.Name=="HumanoidRootPart" or v.Name=="Head" then
  29234. v.Transparency=1
  29235. end
  29236. wait()
  29237. v.BrickColor=BrickColor.new("Black")
  29238. elseif v:IsA("Hat") then
  29239. v:Destroy()
  29240. end
  29241. end
  29242. xx=game:service("InsertService"):LoadAsset(hat)
  29243. xy=game:service("InsertService"):LoadAsset(47433)["LinkedSword"]
  29244. xy.Parent=who.Backpack
  29245. for a,hat in pairs(xx:children()) do
  29246. hat.Parent=c
  29247. end
  29248. xx:Destroy()
  29249. h=who.Character.Humanoid
  29250. h.MaxHealth=50000
  29251. wait(1.5)
  29252. h.Health=50000
  29253. h.WalkSpeed=32
  29254. end
  29255. nob(game.Players.LocalPlayer,0.6,21070012)
  29256.         end)
  29257. --
  29258. local button = Instance.new("TextButton")
  29259.         button.Parent = localp
  29260.         button.BackgroundColor3 = blak
  29261.         button.BorderColor3 = rede
  29262.         button.BorderSizePixel = 3
  29263.         button.Name = "Floating Pad"
  29264.         button.Position = UDim2.new(0,0,0,132)
  29265.         button.Size = UDim2.new(0.499,0,0,30)
  29266.         button.ZIndex = 2
  29267.         button.Font = tef
  29268.         button.FontSize = "Size14"
  29269.         button.Text = "Floating Pad"
  29270.         button.TextColor3 = whit
  29271.         button.TextWrapped = true
  29272.         button.MouseButton1Down:connect(function()
  29273.                 local name = game.Players.LocalPlayer.Name
  29274.  
  29275. local p = Instance.new("Part")
  29276. p.Parent = workspace
  29277. p.Locked = true
  29278. p.BrickColor = BrickColor.new("White")
  29279. p.BrickColor = BrickColor.new(104)
  29280. p.Size = Vector3.new(8, 1.2, 8)
  29281. p.Anchored = true
  29282. local m = Instance.new("CylinderMesh")
  29283. m.Scale = Vector3.new(1, 0.5, 1)
  29284. m.Parent = p
  29285. while true do
  29286.         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)
  29287.         wait()
  29288. end
  29289.         end)
  29290. --
  29291. local button = Instance.new("TextButton")
  29292.         button.Parent = localp
  29293.         button.BackgroundColor3 = blak
  29294.         button.BorderColor3 = rede
  29295.         button.BorderSizePixel = 3
  29296.         button.Name = "Head Shake"
  29297.         button.Position = UDim2.new(0.5,3,0,132)
  29298.         button.Size = UDim2.new(0.5,-3,0,30)
  29299.         button.ZIndex = 2
  29300.         button.Font = tef
  29301.         button.FontSize = "Size14"
  29302.         button.Text = "Head Shake"
  29303.         button.TextColor3 = whit
  29304.         button.TextWrapped = true
  29305.         button.MouseButton1Down:connect(function()
  29306.                 for X = 1, math.huge, 0.2 do
  29307. wait()
  29308. game.Workspace[game.Players.LocalPlayer.Name].Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0)
  29309. game.Workspace[game.Players.LocalPlayer.Name].Torso.Neck.C1 = CFrame.new(0,0,0)
  29310. end
  29311. for X = 1, math.huge, 0.1 do
  29312. wait()
  29313. game.Workspace[game.Players.LocalPlayer.Name].Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X)
  29314. game.Workspace[game.Players.LocalPlayer.Name].Torso.Neck.C1 = CFrame.new(0,0,0)
  29315. end
  29316. for _,c in pairs(game.Players:GetChildren()) do
  29317.         c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100)
  29318. end
  29319. for _,c in pairs(game.Players:GetChildren()) do
  29320.         c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  29321. end
  29322.         end)
  29323. --
  29324. local button = Instance.new("TextButton")
  29325.         button.Parent = localp
  29326.         button.BackgroundColor3 = blak
  29327.         button.BorderColor3 = rede
  29328.         button.BorderSizePixel = 3
  29329.         button.Name = "Heal"
  29330.         button.Position = UDim2.new(0,0,0,165)
  29331.         button.Size = UDim2.new(0.5,0,0,30)
  29332.         button.ZIndex = 2
  29333.         button.Font = tef
  29334.         button.FontSize = "Size14"
  29335.         button.Text = "Heal"
  29336.         button.TextColor3 = whit
  29337.         button.TextWrapped = true
  29338.         button.MouseButton1Down:connect(function()
  29339. game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth             
  29340.         end)
  29341. --
  29342. local button = Instance.new("TextButton")
  29343.         button.Parent = localp
  29344.         button.BackgroundColor3 = blak
  29345.         button.BorderColor3 = rede
  29346.         button.BorderSizePixel = 3
  29347.         button.Name = "Mesh Disco"
  29348.         button.Position = UDim2.new(0.5,3,0,165)
  29349.         button.Size = UDim2.new(0.5,-3,0,30)
  29350.         button.ZIndex = 2
  29351.         button.Font = tef
  29352.         button.FontSize = "Size14"
  29353.         button.Text = "Mesh Disco"
  29354.         button.TextColor3 = whit
  29355.         button.TextWrapped = true
  29356.         button.MouseButton1Down:connect(function()
  29357.         plr = game.Players.LocalPlayer.Name
  29358. meshes = {"Brick","Cylinder","Head","Sphere","Torso","Wedge"}
  29359. h = game.Workspace[plr].Head.Mesh
  29360. t = Instance.new("SpecialMesh",game.Workspace[plr].Torso)
  29361. la = Instance.new("SpecialMesh",game.Workspace[plr]["Left Arm"])
  29362. ra = Instance.new("SpecialMesh",game.Workspace[plr]["Right Arm"])
  29363. ll = Instance.new("SpecialMesh",game.Workspace[plr]["Left Leg"])
  29364. rl = Instance.new("SpecialMesh",game.Workspace[plr]["Right Leg"])
  29365. while true do
  29366. wait(0.1)
  29367. h.MeshType = meshes[math.random(1,#meshes)]
  29368. h.Parent.BrickColor = BrickColor.Random()
  29369. t.MeshType = meshes[math.random(1,#meshes)]
  29370. t.Parent.BrickColor = BrickColor.Random()
  29371. la.MeshType = meshes[math.random(1,#meshes)]
  29372. la.Parent.BrickColor = BrickColor.Random()
  29373. ra.MeshType = meshes[math.random(1,#meshes)]
  29374. ra.Parent.BrickColor = BrickColor.Random()
  29375. ll.MeshType = meshes[math.random(1,#meshes)]
  29376. ll.Parent.BrickColor = BrickColor.Random()
  29377. rl.MeshType = meshes[math.random(1,#meshes)]
  29378. rl.Parent.BrickColor = BrickColor.Random()
  29379. end    
  29380.         end)
  29381. --
  29382. local button = Instance.new("TextButton")
  29383.         button.Parent = localp
  29384.         button.BackgroundColor3 = blak
  29385.         button.BorderColor3 = rede
  29386.         button.BorderSizePixel = 3
  29387.         button.Name = "Set Walkspeed"
  29388.         button.Position = UDim2.new(0,0,0,198)
  29389.         button.Size = UDim2.new(0.5,0,0,30)
  29390.         button.ZIndex = 2
  29391.         button.Font = tef
  29392.         button.FontSize = "Size14"
  29393.         button.Text = "Set Walkspeed"
  29394.         button.TextColor3 = whit
  29395.         button.TextWrapped = true
  29396.         button.MouseButton1Down:connect(function()
  29397.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = frame.Settings.Page2["Walkspeed Amount"].TextBox.Text  
  29398.         end)
  29399. --
  29400. local button = Instance.new("TextButton")
  29401.         button.Parent = localp
  29402.         button.BackgroundColor3 = blak
  29403.         button.BorderColor3 = rede
  29404.         button.BorderSizePixel = 3
  29405.         button.Name = "Empty"
  29406.         button.Position = UDim2.new(0.5,3,0,198)
  29407.         button.Size = UDim2.new(0.48,0,0,30)
  29408.         button.ZIndex = 2
  29409.         button.Font = tef
  29410.         button.FontSize = "Size14"
  29411.         button.Text = "Empty"
  29412.         button.TextColor3 = whit
  29413.         button.TextWrapped = true
  29414.         button.MouseButton1Down:connect(function()
  29415.                
  29416.         end)
  29417. --
  29418. local button = Instance.new("TextButton")
  29419.         button.Parent = localp
  29420.         button.BackgroundColor3 = blak
  29421.         button.BorderColor3 = rede
  29422.         button.BorderSizePixel = 3
  29423.         button.Name = "Empty"
  29424.         button.Position = UDim2.new(0,0,0,231)
  29425.         button.Size = UDim2.new(0.5,0,0,30)
  29426.         button.ZIndex = 2
  29427.         button.Font = tef
  29428.         button.FontSize = "Size14"
  29429.         button.Text = "Empty"
  29430.         button.TextColor3 = whit
  29431.         button.TextWrapped = true
  29432.         button.MouseButton1Down:connect(function()
  29433.                
  29434.         end)
  29435. --
  29436. local button = Instance.new("TextButton")
  29437.         button.Parent = localp
  29438.         button.BackgroundColor3 = blak
  29439.         button.BorderColor3 = rede
  29440.         button.BorderSizePixel = 3
  29441.         button.Name = "Empty"
  29442.         button.Position = UDim2.new(0.5,3,0,231)
  29443.         button.Size = UDim2.new(0.5,-3,0,30)
  29444.         button.ZIndex = 2
  29445.         button.Font = tef
  29446.         button.FontSize = "Size14"
  29447.         button.Text = "Empty"
  29448.         button.TextColor3 = whit
  29449.         button.TextWrapped = true
  29450.         button.MouseButton1Down:connect(function()
  29451.                
  29452.         end)
  29453. local title = Instance.new("TextLabel")
  29454.         title.Parent = misc
  29455.         title.BackgroundColor3 = blak
  29456.         title.BorderColor3 = rede
  29457.         title.BorderSizePixel = 3
  29458.         title.Name = "Title"
  29459.         title.Size = UDim2.new(1,0,0,30)
  29460.         title.ZIndex = 2
  29461.         title.Font = "SourceSansBold"
  29462.         title.FontSize = "Size14"
  29463.         title.Text = "Misc."
  29464.         title.TextColor3 = whit
  29465. local title = Instance.new("TextLabel")
  29466.         title.Parent = localp
  29467.         title.BackgroundColor3 = blak
  29468.         title.BorderColor3 = rede
  29469.         title.BorderSizePixel = 3
  29470.         title.Name = "Title"
  29471.         title.Size = UDim2.new(1,0,0,30)
  29472.         title.ZIndex = 2
  29473.         title.Font = "SourceSansBold"
  29474.         title.FontSize = "Size14"
  29475.         title.Text = "LocalPlayer"
  29476.         title.TextColor3 = whit
  29477. -- Page 3 End --
  29478. -- Page 4 --
  29479. button = Instance.new("TextButton")
  29480.         button.Parent = pmi
  29481.         button.BackgroundColor3 = blak
  29482.         button.BorderColor3 = rede
  29483.         button.BorderSizePixel = 3
  29484.         button.Name = "Chop Suey"
  29485.         button.Position = UDim2.new(0,0,0,33)
  29486.         button.Size = UDim2.new(0.5,0,0,30)
  29487.         button.ZIndex = 2
  29488.         button.Font = tef
  29489.         button.FontSize = "Size14"
  29490.         button.Text = "Chop Suey"
  29491.         button.TextColor3 = whit
  29492.         button.TextWrapped = true
  29493.         button.MouseButton1Down:connect(function()
  29494.                 frame.Settings.Page1["Music ID"].TextBox.Text = 147407900
  29495.         end)
  29496. --
  29497. button = Instance.new("TextButton")
  29498.         button.Parent = pmi
  29499.         button.BackgroundColor3 = blak
  29500.         button.BorderColor3 = rede
  29501.         button.BorderSizePixel = 3
  29502.         button.Name = "Electro Sp00k"
  29503.         button.Position = UDim2.new(0.5,3,0,33)
  29504.         button.Size = UDim2.new(0.5,-3,0,30)
  29505.         button.ZIndex = 2
  29506.         button.Font = tef
  29507.         button.FontSize = "Size14"
  29508.         button.Text = "Electro Sp00k"
  29509.         button.TextColor3 = whit
  29510.         button.TextWrapped = true
  29511.         button.MouseButton1Down:connect(function()
  29512.         frame.Settings.Page1["Music ID"].TextBox.Text = 142930454      
  29513.         end)
  29514. --
  29515. button = Instance.new("TextButton")
  29516.         button.Parent = pmi
  29517.         button.BackgroundColor3 = blak
  29518.         button.BorderColor3 = rede
  29519.         button.BorderSizePixel = 3
  29520.         button.Name = "Scream"
  29521.         button.Position = UDim2.new(0,0,0,66)
  29522.         button.Size = UDim2.new(0.5,0,0,30)
  29523.         button.ZIndex = 2
  29524.         button.Font = tef
  29525.         button.FontSize = "Size14"
  29526.         button.Text = "Scream"
  29527.         button.TextColor3 = whit
  29528.         button.TextWrapped = true
  29529.         button.MouseButton1Down:connect(function()
  29530.         frame.Settings.Page1["Music ID"].TextBox.Text = 138097458      
  29531.         end)
  29532. --
  29533. button = Instance.new("TextButton")
  29534.         button.Parent = pmi
  29535.         button.BackgroundColor3 = blak
  29536.         button.BorderColor3 = rede
  29537.         button.BorderSizePixel = 3
  29538.         button.Name = "Wonga"
  29539.         button.Position = UDim2.new(0.5,3,0,66)
  29540.         button.Size = UDim2.new(0.5,-3,0,30)
  29541.         button.ZIndex = 2
  29542.         button.Font = tef
  29543.         button.FontSize = "Size14"
  29544.         button.Text = "Wonga"
  29545.         button.TextColor3 = whit
  29546.         button.TextWrapped = true
  29547.         button.MouseButton1Down:connect(function()
  29548.         frame.Settings.Page1["Music ID"].TextBox.Text = 147909316      
  29549.         end)
  29550. --
  29551. button = Instance.new("TextButton")
  29552.         button.Parent = pmi
  29553.         button.BackgroundColor3 = blak
  29554.         button.BorderColor3 = rede
  29555.         button.BorderSizePixel = 3
  29556.         button.Name = "Empty"
  29557.         button.Position = UDim2.new(0,0,0,99)
  29558.         button.Size = UDim2.new(0.5,0,0,30)
  29559.         button.ZIndex = 2
  29560.         button.Font = tef
  29561.         button.FontSize = "Size14"
  29562.         button.Text = "Empty"
  29563.         button.TextColor3 = whit
  29564.         button.TextWrapped = true
  29565. --
  29566. local button = Instance.new("TextButton")
  29567.         button.Parent = pmi
  29568.         button.BackgroundColor3 = blak
  29569.         button.BorderColor3 = rede
  29570.         button.BorderSizePixel = 3
  29571.         button.Name = "Empty"
  29572.         button.Position = UDim2.new(0.5,3,0,99)
  29573.         button.Size = UDim2.new(0.5,-3,0,30)
  29574.         button.ZIndex = 2
  29575.         button.Font = tef
  29576.         button.FontSize = "Size14"
  29577.         button.Text = "Empty"
  29578.         button.TextColor3 = whit
  29579.         button.TextWrapped = true
  29580. --
  29581. local button = Instance.new("TextButton")
  29582.         button.Parent = pmi
  29583.         button.BackgroundColor3 = blak
  29584.         button.BorderColor3 = rede
  29585.         button.BorderSizePixel = 3
  29586.         button.Name = "Empty"
  29587.         button.Position = UDim2.new(0,0,0,132)
  29588.         button.Size = UDim2.new(0.5,0,0,30)
  29589.         button.ZIndex = 2
  29590.         button.Font = tef
  29591.         button.FontSize = "Size14"
  29592.         button.Text = "Empty"
  29593.         button.TextColor3 = whit
  29594.         button.TextWrapped = true
  29595. --
  29596. local button = Instance.new("TextButton")
  29597.         button.Parent = pmi
  29598.         button.BackgroundColor3 = blak
  29599.         button.BorderColor3 = rede
  29600.         button.BorderSizePixel = 3
  29601.         button.Name = "Empty"
  29602.         button.Position = UDim2.new(0.5,3,0,132)
  29603.         button.Size = UDim2.new(0.5,-3,0,30)
  29604.         button.ZIndex = 2
  29605.         button.Font = tef
  29606.         button.FontSize = "Size14"
  29607.         button.Text = "Empty"
  29608.         button.TextColor3 = whit
  29609.         button.TextWrapped = true
  29610. --
  29611. local button = Instance.new("TextButton")
  29612.         button.Parent = pmi
  29613.         button.BackgroundColor3 = blak
  29614.         button.BorderColor3 = rede
  29615.         button.BorderSizePixel = 3
  29616.         button.Name = "Empty"
  29617.         button.Position = UDim2.new(0,0,0,165)
  29618.         button.Size = UDim2.new(0.499,0,0,30)
  29619.         button.ZIndex = 2
  29620.         button.Font = tef
  29621.         button.FontSize = "Size14"
  29622.         button.Text = "Empty"
  29623.         button.TextColor3 = whit
  29624.         button.TextWrapped = true
  29625. --
  29626. local button = Instance.new("TextButton")
  29627.         button.Parent = pmi
  29628.         button.BackgroundColor3 = blak
  29629.         button.BorderColor3 = rede
  29630.         button.BorderSizePixel = 3
  29631.         button.Name = "Empty"
  29632.         button.Position = UDim2.new(0.5,3,0,165)
  29633.         button.Size = UDim2.new(0.5,-3,0,30)
  29634.         button.ZIndex = 2
  29635.         button.Font = tef
  29636.         button.FontSize = "Size14"
  29637.         button.Text = "Empty"
  29638.         button.TextColor3 = whit
  29639.         button.TextWrapped = true
  29640. --
  29641. local button = Instance.new("TextButton")
  29642.         button.Parent = pmi
  29643.         button.BackgroundColor3 = blak
  29644.         button.BorderColor3 = rede
  29645.         button.BorderSizePixel = 3
  29646.         button.Name = "Empty"
  29647.         button.Position = UDim2.new(0,0,0,198)
  29648.         button.Size = UDim2.new(0.499,0,0,30)
  29649.         button.ZIndex = 3
  29650.         button.Font = tef
  29651.         button.FontSize = "Size14"
  29652.         button.Text = "Empty"
  29653.         button.TextColor3 = whit
  29654.         button.TextWrapped = true
  29655. --
  29656. local button = Instance.new("TextButton")
  29657.         button.Parent = pmi
  29658.         button.BackgroundColor3 = blak
  29659.         button.BorderColor3 = rede
  29660.         button.BorderSizePixel = 3
  29661.         button.Name = "Empty"
  29662.         button.Position = UDim2.new(0.5,3,0,198)
  29663.         button.Size = UDim2.new(0.5,-3,0,30)
  29664.         button.ZIndex = 2
  29665.         button.Font = tef
  29666.         button.FontSize = "Size14"
  29667.         button.Text = "Empty"
  29668.         button.TextColor3 = whit
  29669.         button.TextWrapped = true
  29670.        
  29671. -- Preset Images --
  29672. local button = Instance.new("TextButton")
  29673.         button.Parent = psd
  29674.         button.BackgroundColor3 = blak
  29675.         button.BorderColor3 = rede
  29676.         button.BorderSizePixel = 3
  29677.         button.Name = "Team c00lkidd Logo 1"
  29678.         button.Position = UDim2.new(0,0,0,33)
  29679.         button.Size = UDim2.new(0.5,0,0,30)
  29680.         button.ZIndex = 2
  29681.         button.Font = tef
  29682.         button.FontSize = "Size14"
  29683.         button.Text = "Team c00lkidd Logo 1"
  29684.         button.TextColor3 = whit
  29685.         button.TextWrapped = true
  29686.         button.MouseButton1Down:connect(function()
  29687.         frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 158118263       
  29688.         end)
  29689. --
  29690. local button = Instance.new("TextButton")
  29691.         button.Parent = psd
  29692.         button.BackgroundColor3 = blak
  29693.         button.BorderColor3 = rede
  29694.         button.BorderSizePixel = 3
  29695.         button.Name = "Team c00lkidd Logo 2"
  29696.         button.Position = UDim2.new(0.5,3,0,33)
  29697.         button.Size = UDim2.new(0.5,-3,0,30)
  29698.         button.ZIndex = 2
  29699.         button.Font = tef
  29700.         button.FontSize = "Size14"
  29701.         button.Text = "Team c00lkidd Logo 2"
  29702.         button.TextColor3 = whit
  29703.         button.TextWrapped = true
  29704.         button.MouseButton1Down:connect(function()
  29705.         frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 164661730       
  29706.         end)
  29707. --
  29708. local button = Instance.new("TextButton")
  29709.         button.Parent = psd
  29710.         button.BackgroundColor3 = blak
  29711.         button.BorderColor3 = rede
  29712.         button.BorderSizePixel = 3
  29713.         button.Name = "Thomas"
  29714.         button.Position = UDim2.new(0,0,0,66)
  29715.         button.Size = UDim2.new(0.5,0,0,30)
  29716.         button.ZIndex = 2
  29717.         button.Font = tef
  29718.         button.FontSize = "Size14"
  29719.         button.Text = "Thomas"
  29720.         button.TextColor3 = whit
  29721.         button.TextWrapped = true
  29722.         button.MouseButton1Down:connect(function()
  29723.         frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 160456772       
  29724.         end)
  29725. --
  29726. local button = Instance.new("TextButton")
  29727.         button.Parent = psd
  29728.         button.BackgroundColor3 = blak
  29729.         button.BorderColor3 = rede
  29730.         button.BorderSizePixel = 3
  29731.         button.Name = "c00lkidd"
  29732.         button.Position = UDim2.new(0.5,3,0,66)
  29733.         button.Size = UDim2.new(0.5,-3,0,30)
  29734.         button.ZIndex = 2
  29735.         button.Font = tef
  29736.         button.FontSize = "Size14"
  29737.         button.Text = "c00lkidd"
  29738.         button.TextColor3 = whit
  29739.         button.TextWrapped = true
  29740.         button.MouseButton1Down:connect(function()
  29741.         frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 157755295       
  29742.         end)
  29743. --
  29744. local button = Instance.new("TextButton")
  29745.         button.Parent = psd
  29746.         button.BackgroundColor3 = blak
  29747.         button.BorderColor3 = rede
  29748.         button.BorderSizePixel = 3
  29749.         button.Name = "team skrubl0rd"
  29750.         button.Position = UDim2.new(0,0,0,99)
  29751.         button.Size = UDim2.new(0.499,0,0,30)
  29752.         button.ZIndex = 2
  29753.         button.Font = tef
  29754.         button.FontSize = "Size14"
  29755.         button.Text = "old team skrubl0rd"
  29756.         button.TextColor3 = whit
  29757.         button.TextWrapped = true
  29758.         button.MouseButton1Down:connect(function()
  29759.                 frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 358313209
  29760.         end)
  29761. --
  29762. local button = Instance.new("TextButton")
  29763.         button.Parent = psd
  29764.         button.BackgroundColor3 = blak
  29765.         button.BorderColor3 = rede
  29766.         button.BorderSizePixel = 3
  29767.         button.Name = "Empty"
  29768.         button.Position = UDim2.new(0.5,3,0,99)
  29769.         button.Size = UDim2.new(0.5,-3,0,30)
  29770.         button.ZIndex = 2
  29771.         button.Font = tef
  29772.         button.FontSize = "Size14"
  29773.         button.Text = "Empty"
  29774.         button.TextColor3 = whit
  29775.         button.TextWrapped = true
  29776. --
  29777. local button = Instance.new("TextButton")
  29778.         button.Parent = psd
  29779.         button.BackgroundColor3 = blak
  29780.         button.BorderColor3 = rede
  29781.         button.BorderSizePixel = 3
  29782.         button.Name = "Empty"
  29783.         button.Position = UDim2.new(0,0,0,132)
  29784.         button.Size = UDim2.new(0.499,0,0,30)
  29785.         button.ZIndex = 2
  29786.         button.Font = tef
  29787.         button.FontSize = "Size14"
  29788.         button.Text = "Empty"
  29789.         button.TextColor3 = whit
  29790.         button.TextWrapped = true
  29791. --
  29792. local button = Instance.new("TextButton")
  29793.         button.Parent = psd
  29794.         button.BackgroundColor3 = blak
  29795.         button.BorderColor3 = rede
  29796.         button.BorderSizePixel = 3
  29797.         button.Name = "Empty"
  29798.         button.Position = UDim2.new(0.5,3,0,132)
  29799.         button.Size = UDim2.new(0.5,-3,0,30)
  29800.         button.ZIndex = 2
  29801.         button.Font = tef
  29802.         button.FontSize = "Size14"
  29803.         button.Text = "Empty"
  29804.         button.TextColor3 = whit
  29805.         button.TextWrapped = true
  29806. --
  29807. local button = Instance.new("TextButton")
  29808.         button.Parent = psd
  29809.         button.BackgroundColor3 = blak
  29810.         button.BorderColor3 = rede
  29811.         button.BorderSizePixel = 3
  29812.         button.Name = "Empty"
  29813.         button.Position = UDim2.new(0,0,0,165)
  29814.         button.Size = UDim2.new(0.5,0,0,30)
  29815.         button.ZIndex = 2
  29816.         button.Font = tef
  29817.         button.FontSize = "Size14"
  29818.         button.Text = "Empty"
  29819.         button.TextColor3 = whit
  29820.         button.TextWrapped = true
  29821. --
  29822. local button = Instance.new("TextButton")
  29823.         button.Parent = psd
  29824.         button.BackgroundColor3 = blak
  29825.         button.BorderColor3 = rede
  29826.         button.BorderSizePixel = 3
  29827.         button.Name = "Empty"
  29828.         button.Position = UDim2.new(0.5,3,0,165)
  29829.         button.Size = UDim2.new(0.5,-3,0,30)
  29830.         button.ZIndex = 2
  29831.         button.Font = tef
  29832.         button.FontSize = "Size14"
  29833.         button.Text = "Empty"
  29834.         button.TextColor3 = whit
  29835.         button.TextWrapped = true
  29836. --
  29837. local button = Instance.new("TextButton")
  29838.         button.Parent = psd
  29839.         button.BackgroundColor3 = blak
  29840.         button.BorderColor3 = rede
  29841.         button.BorderSizePixel = 3
  29842.         button.Name = "Empty"
  29843.         button.Position = UDim2.new(0,0,0,198)
  29844.         button.Size = UDim2.new(0.5,0,0,30)
  29845.         button.ZIndex = 2
  29846.         button.Font = tef
  29847.         button.FontSize = "Size14"
  29848.         button.Text = "Empty"
  29849.         button.TextColor3 = whit
  29850.         button.TextWrapped = true
  29851. --
  29852. local button = Instance.new("TextButton")
  29853.         button.Parent = psd
  29854.         button.BackgroundColor3 = blak
  29855.         button.BorderColor3 = rede
  29856.         button.BorderSizePixel = 3
  29857.         button.Name = "Empty"
  29858.         button.Position = UDim2.new(0.5,3,0,198)
  29859.         button.Size = UDim2.new(0.48,0,0,30)
  29860.         button.ZIndex = 2
  29861.         button.Font = tef
  29862.         button.FontSize = "Size14"
  29863.         button.Text = "Empty"
  29864.         button.TextColor3 = whit
  29865.         button.TextWrapped = true
  29866. --
  29867. local button = Instance.new("TextButton")
  29868.         button.Parent = psd
  29869.         button.BackgroundColor3 = blak
  29870.         button.BorderColor3 = rede
  29871.         button.BorderSizePixel = 3
  29872.         button.Name = "Empty"
  29873.         button.Position = UDim2.new(0,0,0,231)
  29874.         button.Size = UDim2.new(0.5,0,0,30)
  29875.         button.ZIndex = 2
  29876.         button.Font = tef
  29877.         button.FontSize = "Size14"
  29878.         button.Text = "Empty"
  29879.         button.TextColor3 = whit
  29880.         button.TextWrapped = true
  29881. --
  29882. local button = Instance.new("TextButton")
  29883.         button.Parent = psd
  29884.         button.BackgroundColor3 = blak
  29885.         button.BorderColor3 = rede
  29886.         button.BorderSizePixel = 3
  29887.         button.Name = "Empty"
  29888.         button.Position = UDim2.new(0.5,3,0,231)
  29889.         button.Size = UDim2.new(0.5,-3,0,30)
  29890.         button.ZIndex = 2
  29891.         button.Font = tef
  29892.         button.FontSize = "Size14"
  29893.         button.Text = "Empty"
  29894.         button.TextColor3 = whit
  29895.         button.TextWrapped = true
  29896.        
  29897. local title = Instance.new("TextLabel")
  29898.         title.Parent = pmi
  29899.         title.BackgroundColor3 = blak
  29900.         title.BorderColor3 = rede
  29901.         title.BorderSizePixel = 3
  29902.         title.Name = "Title"
  29903.         title.Size = UDim2.new(1,0,0,30)
  29904.         title.ZIndex = 2
  29905.         title.Font = "SourceSansBold"
  29906.         title.FontSize = "Size14"
  29907.         title.Text = "Preset Music IDs"
  29908.         title.TextColor3 = whit
  29909.         title.TextWrapped = true
  29910. local title = Instance.new("TextLabel")
  29911.         title.Parent = psd
  29912.         title.BackgroundColor3 = blak
  29913.         title.BorderColor3 = rede
  29914.         title.BorderSizePixel = 3
  29915.         title.Name = "Title"
  29916.         title.Size = UDim2.new(1,0,0,30)
  29917.         title.ZIndex = 2
  29918.         title.Font = "SourceSansBold"
  29919.         title.FontSize = "Size14"
  29920.         title.Text = "Preset Skybox/Decal IDs"
  29921.         title.TextColor3 = whit
  29922.         --page 5--
  29923. local t3xt = Instance.new("TextLabel")
  29924.         t3xt.Parent = edn
  29925.         t3xt.BackgroundColor3 = blak
  29926.         t3xt.BorderColor3 = rede
  29927.         t3xt.BorderSizePixel = 3
  29928.         t3xt.Name = "Empty"
  29929.         t3xt.Position = UDim2.new(0,0,0,0)
  29930.         t3xt.Size = UDim2.new(1,0,1,0)
  29931.         t3xt.ZIndex = 2
  29932.         t3xt.Font = tef
  29933.         t3xt.FontSize = "Size14"
  29934.         t3xt.Text = "Thank you for using c00lgui scripted! Addons coming soon! Post Ideas in the Thread!!!"
  29935.         t3xt.TextColor3 = whit
  29936.         t3xt.TextWrapped = true
  29937.         t3xt.TextYAlignment = "Top"
  29938.        
  29939. -- Preset Gear IDs --
  29940. local button = Instance.new("TextButton")
  29941.         button.Parent = pgi
  29942.         button.BackgroundColor3 = blak
  29943.         button.BorderColor3 = rede
  29944.         button.BorderSizePixel = 3
  29945.         button.Name = "Airstrike"
  29946.         button.Position = UDim2.new(0,0,0,33)
  29947.         button.Size = UDim2.new(0.5,0,0,30)
  29948.         button.ZIndex = 2
  29949.         button.Font = tef
  29950.         button.FontSize = "Size14"
  29951.         button.Text = "Airstrike"
  29952.         button.TextColor3 = whit
  29953.         button.TextWrapped = true
  29954.         button.MouseButton1Down:connect(function()
  29955.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 88885539
  29956.         end)
  29957. --
  29958. local button = Instance.new("TextButton")
  29959.         button.Parent = pgi
  29960.         button.BackgroundColor3 = blak
  29961.         button.BorderColor3 = rede
  29962.         button.BorderSizePixel = 3
  29963.         button.Name = "Dual Darkhearts"
  29964.         button.Position = UDim2.new(0.5,3,0,33)
  29965.         button.Size = UDim2.new(0.5,-3,0,30)
  29966.         button.ZIndex = 2
  29967.         button.Font = tef
  29968.         button.FontSize = "Size14"
  29969.         button.Text = "Dual Darkhearts"
  29970.         button.TextColor3 = whit
  29971.         button.TextWrapped = true
  29972.         button.MouseButton1Down:connect(function()
  29973.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 108149175
  29974.         end)
  29975. --
  29976. local button = Instance.new("TextButton")
  29977.         button.Parent = pgi
  29978.         button.BackgroundColor3 = blak
  29979.         button.BorderColor3 = rede
  29980.         button.BorderSizePixel = 3
  29981.         button.Name = "Dual Venomshanks"
  29982.         button.Position = UDim2.new(0,0,0,66)
  29983.         button.Size = UDim2.new(0.5,0,0,30)
  29984.         button.ZIndex = 2
  29985.         button.Font = tef
  29986.         button.FontSize = "Size14"
  29987.         button.Text = "Dual Venomshanks"
  29988.         button.TextColor3 = whit
  29989.         button.TextWrapped = true
  29990.         button.MouseButton1Down:connect(function()
  29991.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 158069180
  29992.         end)
  29993. --
  29994. local button = Instance.new("TextButton")
  29995.         button.Parent = pgi
  29996.         button.BackgroundColor3 = blak
  29997.         button.BorderColor3 = rede
  29998.         button.BorderSizePixel = 3
  29999.         button.Name = "Ghostfire Sword"
  30000.         button.Position = UDim2.new(0.5,3,0,66)
  30001.         button.Size = UDim2.new(0.5,-3,0,30)
  30002.         button.ZIndex = 2
  30003.         button.Font = tef
  30004.         button.FontSize = "Size14"
  30005.         button.Text = "Ghostfire Sword"
  30006.         button.TextColor3 = whit
  30007.         button.TextWrapped = true
  30008.         button.MouseButton1Down:connect(function()
  30009.         frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 64220933 
  30010.         end)
  30011. --
  30012. local button = Instance.new("TextButton")
  30013.         button.Parent = pgi
  30014.         button.BackgroundColor3 = blak
  30015.         button.BorderColor3 = rede
  30016.         button.BorderSizePixel = 3
  30017.         button.Name = "Gravity Coil"
  30018.         button.Position = UDim2.new(0,0,0,99)
  30019.         button.Size = UDim2.new(0.499,0,0,30)
  30020.         button.ZIndex = 2
  30021.         button.Font = tef
  30022.         button.FontSize = "Size14"
  30023.         button.Text = "Gravity Coil"
  30024.         button.TextColor3 = whit
  30025.         button.TextWrapped = true
  30026.         button.MouseButton1Down:connect(function()
  30027.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 16688968
  30028.         end)
  30029. --
  30030. local button = Instance.new("TextButton")
  30031.         button.Parent = pgi
  30032.         button.BackgroundColor3 = blak
  30033.         button.BorderColor3 = rede
  30034.         button.BorderSizePixel = 3
  30035.         button.Name = "Hyperbike"
  30036.         button.Position = UDim2.new(0.5,3,0,99)
  30037.         button.Size = UDim2.new(0.5,-3,0,30)
  30038.         button.ZIndex = 2
  30039.         button.Font = tef
  30040.         button.FontSize = "Size14"
  30041.         button.Text = "Hyperbike"
  30042.         button.TextColor3 = whit
  30043.         button.TextWrapped = true
  30044.         button.MouseButton1Down:connect(function()
  30045.         frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 130113061
  30046.         end)
  30047. --
  30048. local button = Instance.new("TextButton")
  30049.         button.Parent = pgi
  30050.         button.BackgroundColor3 = blak
  30051.         button.BorderColor3 = rede
  30052.         button.BorderSizePixel = 3
  30053.         button.Name = "Icedagger"
  30054.         button.Position = UDim2.new(0,0,0,132)
  30055.         button.Size = UDim2.new(0.499,0,0,30)
  30056.         button.ZIndex = 2
  30057.         button.Font = tef
  30058.         button.FontSize = "Size14"
  30059.         button.Text = "Icedagger"
  30060.         button.TextColor3 = whit
  30061.         button.TextWrapped = true
  30062.         button.MouseButton1Down:connect(function()
  30063.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 83704165
  30064.         end)
  30065. --
  30066. local button = Instance.new("TextButton")
  30067.         button.Parent = pgi
  30068.         button.BackgroundColor3 = blak
  30069.         button.BorderColor3 = rede
  30070.         button.BorderSizePixel = 3
  30071.         button.Name = "Linked Sword"
  30072.         button.Position = UDim2.new(0.5,3,0,132)
  30073.         button.Size = UDim2.new(0.5,-3,0,30)
  30074.         button.ZIndex = 2
  30075.         button.Font = tef
  30076.         button.FontSize = "Size14"
  30077.         button.Text = "Linked Sword"
  30078.         button.TextColor3 = whit
  30079.         button.TextWrapped = true
  30080.         button.MouseButton1Down:connect(function()
  30081. frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 125013769        
  30082.         end)
  30083. --
  30084. local button = Instance.new("TextButton")
  30085.         button.Parent = pgi
  30086.         button.BackgroundColor3 = blak
  30087.         button.BorderColor3 = rede
  30088.         button.BorderSizePixel = 3
  30089.         button.Name = "Empty"
  30090.         button.Position = UDim2.new(0,0,0,165)
  30091.         button.Size = UDim2.new(0.5,0,0,30)
  30092.         button.ZIndex = 2
  30093.         button.Font = tef
  30094.         button.FontSize = "Size14"
  30095.         button.Text = "Empty"
  30096.         button.TextColor3 = whit
  30097.         button.TextWrapped = true
  30098. --
  30099. local button = Instance.new("TextButton")
  30100.         button.Parent = pgi
  30101.         button.BackgroundColor3 = blak
  30102.         button.BorderColor3 = rede
  30103.         button.BorderSizePixel = 3
  30104.         button.Name = "Empty"
  30105.         button.Position = UDim2.new(0.5,3,0,165)
  30106.         button.Size = UDim2.new(0.5,-3,0,30)
  30107.         button.ZIndex = 2
  30108.         button.Font = tef
  30109.         button.FontSize = "Size14"
  30110.         button.Text = "Empty"
  30111.         button.TextColor3 = whit
  30112.         button.TextWrapped = true
  30113. --
  30114. local button = Instance.new("TextButton")
  30115.         button.Parent = pgi
  30116.         button.BackgroundColor3 = blak
  30117.         button.BorderColor3 = rede
  30118.         button.BorderSizePixel = 3
  30119.         button.Name = "Empty"
  30120.         button.Position = UDim2.new(0,0,0,198)
  30121.         button.Size = UDim2.new(0.5,0,0,30)
  30122.         button.ZIndex = 2
  30123.         button.Font = tef
  30124.         button.FontSize = "Size14"
  30125.         button.Text = "Empty"
  30126.         button.TextColor3 = whit
  30127.         button.TextWrapped = true
  30128. --
  30129. local button = Instance.new("TextButton")
  30130.         button.Parent = pgi
  30131.         button.BackgroundColor3 = blak
  30132.         button.BorderColor3 = rede
  30133.         button.BorderSizePixel = 3
  30134.         button.Name = "Empty"
  30135.         button.Position = UDim2.new(0.5,3,0,198)
  30136.         button.Size = UDim2.new(0.48,0,0,30)
  30137.         button.ZIndex = 2
  30138.         button.Font = tef
  30139.         button.FontSize = "Size14"
  30140.         button.Text = "Empty"
  30141.         button.TextColor3 = whit
  30142.         button.TextWrapped = true
  30143. --
  30144. local button = Instance.new("TextButton")
  30145.         button.Parent = pgi
  30146.         button.BackgroundColor3 = blak
  30147.         button.BorderColor3 = rede
  30148.         button.BorderSizePixel = 3
  30149.         button.Name = "Empty"
  30150.         button.Position = UDim2.new(0,0,0,231)
  30151.         button.Size = UDim2.new(0.5,0,0,30)
  30152.         button.ZIndex = 2
  30153.         button.Font = tef
  30154.         button.FontSize = "Size14"
  30155.         button.Text = "Empty"
  30156.         button.TextColor3 = whit
  30157.         button.TextWrapped = true
  30158. --
  30159.  
  30160.  
  30161.                        
  30162. --Settings--
  30163. local pge1 = Instance.new("Frame")
  30164. pge1.Parent = page
  30165. pge1.BorderColor3 = rede
  30166. pge1.BackgroundColor3 = blak
  30167. pge1.BorderSizePixel = 3
  30168. pge1.Name = "Page1"
  30169. pge1.Position = UDim2.new(0,0,0,83)
  30170. pge1.Size = UDim2.new(1,0,1,-83)
  30171. pge1.ZIndex = 1
  30172.  
  30173. local pge2 = Instance.new("Frame")
  30174. pge2.Parent = page
  30175. pge2.BorderColor3 = rede
  30176. pge2.BackgroundColor3 = blak
  30177. pge2.BorderSizePixel = 3
  30178. pge2.Name = "Page2"
  30179. pge2.Position = UDim2.new(0,0,0,83)
  30180. pge2.Size = UDim2.new(1,0,1,-83)
  30181. pge2.ZIndex = 1
  30182. pge2.Visible = false
  30183. local lft = Instance.new("TextButton")
  30184.         lft.Parent = page
  30185.         lft.BorderColor3 = rede
  30186.         lft.BackgroundColor3 = blak
  30187.         lft.BorderSizePixel = 3
  30188.         lft.Name = ">"
  30189.         lft.Position = UDim2.new(0.5,3,0,40)
  30190.         lft.Size = UDim2.new(0.5,-3,0,40)
  30191.         lft.ZIndex = 1
  30192.         lft.Font = tef
  30193.         lft.FontSize = "Size48"
  30194.         lft.Text = ">"
  30195.         lft.TextColor3 = whit
  30196.         lft.MouseButton1Down:connect(function()
  30197.                 if pge1.Visible == true then
  30198.                         pge1.Visible = false
  30199.                         pge2.Visible = true
  30200.                 elseif pge2.Visible == true then
  30201.                         pge2.Visible = false
  30202.                         pge1.Visible = true
  30203.                 end    
  30204.         end)
  30205. local rgt = Instance.new("TextButton")
  30206.         rgt.Parent = page
  30207.         rgt.BorderColor3 = rede
  30208.         rgt.BackgroundColor3 = blak
  30209.         rgt.BorderSizePixel = 3
  30210.         rgt.Name = "<"
  30211.         rgt.Position = UDim2.new(0,0,0,40)
  30212.         rgt.Size = UDim2.new(0.5,0,0,40)
  30213.         rgt.ZIndex = 1
  30214.         rgt.Font = tef
  30215.         rgt.FontSize = "Size48"
  30216.         rgt.Text = "<"
  30217.         rgt.TextColor3 = whit
  30218.         rgt.MouseButton1Down:connect(function()
  30219.                 if pge1.Visible == true then
  30220.                         pge1.Visible = false
  30221.                         pge2.Visible = true
  30222.                 elseif pge2.Visible == true then
  30223.                         pge2.Visible = false
  30224.                         pge1.Visible = true
  30225.                 end    
  30226.         end)
  30227.  
  30228. local sbutton = Instance.new("TextButton")
  30229.         sbutton.Parent = page
  30230.         sbutton.BackgroundColor3 = blak
  30231.         sbutton.BorderColor3 = rede
  30232.         sbutton.BorderSizePixel = 3
  30233.         sbutton.Name = "SettingsButton"
  30234.         sbutton.Position = UDim2.new(1,3,0,0)
  30235.         sbutton.Size = UDim2.new(0,27,1,0)
  30236.         sbutton.Font = tef
  30237.         sbutton.FontSize = "Size48"
  30238.         sbutton.TextColor3 = whit
  30239.         sbutton.Text = "<"
  30240.         cango = true
  30241.         sbutton.MouseButton1Down:connect(function()
  30242.                 if cango == true then
  30243.                         if sbutton.Text == "<" then
  30244.                         sbutton.Text = ">"
  30245.                         cango = false
  30246.                                 repeat
  30247.                                 wait()
  30248.                                 page.Position = UDim2.new(1,page.Position.X.Offset-10,0,0)
  30249.                                 until page.Position.X.Offset <= -293
  30250.                                 wait()
  30251.                                 page.Position = UDim2.new(1,-300,0,0)
  30252.                                 cango = true
  30253.                         else
  30254.                         sbutton.Text = "<"
  30255.                         cango = false
  30256.                                 repeat
  30257.                                 wait()
  30258.                                 page.Position = UDim2.new(1,page.Position.X.Offset+10,0,0)
  30259.                                 until page.Position.X.Offset >= -10
  30260.                                 wait()
  30261.                                 page.Position = UDim2.new(1,3,0,0)
  30262.                                 cango = true
  30263.                         end    
  30264.                 end
  30265.         end)
  30266. local title = Instance.new("TextLabel")
  30267.         title.Parent = page
  30268.         title.BackgroundColor3 = blak
  30269.         title.BorderColor3 = rede
  30270.         title.BorderSizePixel = 3
  30271.         title.Name = "Title"
  30272.         title.Position = UDim2.new(0,0,0,0)
  30273.         title.Size = UDim2.new(1,0,0,40)
  30274.         title.ZIndex = 1
  30275.         title.Font = tef
  30276.         title.FontSize = "Size24"
  30277.         title.Text = "Settings"
  30278.         title.TextColor3 = whit
  30279.        
  30280.        
  30281. local bgt = Instance.new("Frame")
  30282.         bgt.Parent = pge1
  30283.         bgt.BackgroundColor3 = blak
  30284.         bgt.BorderColor3 = rede
  30285.         bgt.BorderSizePixel = 3
  30286.         bgt.Name = "Billboard Gui Text"
  30287.         bgt.Position = UDim2.new(0.5,3,0,198)
  30288.         bgt.Size = UDim2.new(0.5,-3,0,63)
  30289. local cgid = Instance.new("Frame")
  30290.         cgid.Parent = pge1
  30291.         cgid.BackgroundColor3 = blak
  30292.         cgid.BorderColor3 = rede
  30293.         cgid.BorderSizePixel = 3
  30294.         cgid.Name = "Custom Gear ID"
  30295.         cgid.Position = UDim2.new(0,0,0,198)
  30296.         cgid.Size = UDim2.new(0.5,0,0,63)
  30297. local god = Instance.new("Frame")
  30298.         god.Parent = pge1
  30299.         god.BackgroundColor3 = blak
  30300.         god.BorderColor3 = rede
  30301.         god.BorderSizePixel = 3
  30302.         god.Name = "God"
  30303.         god.Position = UDim2.new(0,0,0,132)
  30304.         god.Size = UDim2.new(0.5,0,0,63)
  30305. local Inv = Instance.new("Frame")
  30306.         Inv.Parent = pge1
  30307.         Inv.BackgroundColor3 = blak
  30308.         Inv.BorderColor3 = rede
  30309.         Inv.BorderSizePixel = 3
  30310.         Inv.Name = "Invisibility"
  30311.         Inv.Position = UDim2.new(0.5,3,0,132)
  30312.         Inv.Size = UDim2.new(0.5,-3,0,63)
  30313. local mid = Instance.new("Frame")
  30314.         mid.Parent = pge1
  30315.         mid.BackgroundColor3 = blak
  30316.         mid.BorderColor3 = rede
  30317.         mid.BorderSizePixel = 3
  30318.         mid.Name = "Music ID"
  30319.         mid.Position = UDim2.new(0,0,0,66)
  30320.         mid.Size = UDim2.new(0.5,0,0,63)
  30321. local mp = Instance.new("Frame")
  30322.         mp.Parent = pge1
  30323.         mp.BackgroundColor3 = blak
  30324.         mp.BorderColor3 = rede
  30325.         mp.BorderSizePixel = 3
  30326.         mp.Name = "Music Pitch"
  30327.         mp.Position = UDim2.new(0.5,3,0,66)
  30328.         mp.Size = UDim2.new(0.5,-3,0,63)
  30329. local pi = Instance.new("Frame")
  30330.         pi.Parent = pge1
  30331.         pi.BackgroundColor3 = blak
  30332.         pi.BorderColor3 = rede
  30333.         pi.BorderSizePixel = 3
  30334.         pi.Name = "Place ID"
  30335.         pi.Position = UDim2.new(0.5,3,0,0)
  30336.         pi.Size = UDim2.new(0.5,-3,0,63)
  30337. local sdi = Instance.new("Frame")
  30338.         sdi.Parent = pge1
  30339.         sdi.BackgroundColor3 = blak
  30340.         sdi.BorderColor3 = rede
  30341.         sdi.BorderSizePixel = 3
  30342.         sdi.Name = "Skybox/Decal ID"
  30343.         sdi.Position = UDim2.new(0,0,0,0)
  30344.         sdi.Size = UDim2.new(0.5,0,0,63)
  30345.         local textbx = Instance.new("TextBox")
  30346.                 textbx.Parent = sdi
  30347.                 textbx.BackgroundColor3 = blak
  30348.                 textbx.BorderColor3 = rede
  30349.                 textbx.BorderSizePixel = 3
  30350.                 textbx.ClearTextOnFocus = true
  30351.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30352.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30353.                 textbx.Font = tef
  30354.                 textbx.FontSize = "Size14"
  30355.                 textbx.Text = "158118263"
  30356.                 textbx.TextColor3 = whit
  30357.         local titl = Instance.new("TextLabel")
  30358.                 titl.Parent = sdi
  30359.                 titl.BackgroundColor3 = blak
  30360.                 titl.BorderColor3 = rede
  30361.                 titl.BorderSizePixel = 3
  30362.                 titl.Name = "Title"
  30363.                 titl.Size = UDim2.new(1,0,0,30)
  30364.                 titl.Font = tef.."Bold"
  30365.                 titl.FontSize = "Size14"
  30366.                 titl.Text = "Skybox/Decal ID"
  30367.                 titl.TextColor3 = whit
  30368.         local textbx = Instance.new("TextBox")
  30369.                 textbx.Parent = pi
  30370.                 textbx.BackgroundColor3 = blak
  30371.                 textbx.BorderColor3 = rede
  30372.                 textbx.BorderSizePixel = 3
  30373.                 textbx.ClearTextOnFocus = true
  30374.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30375.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30376.                 textbx.Font = tef
  30377.                 textbx.FontSize = "Size14"
  30378.                 textbx.Text = "149559312"
  30379.                 textbx.TextColor3 = whit
  30380.         local titl = Instance.new("TextLabel")
  30381.                 titl.Parent = pi
  30382.                 titl.BackgroundColor3 = blak
  30383.                 titl.BorderColor3 = rede
  30384.                 titl.BorderSizePixel = 3
  30385.                 titl.Name = "Title"
  30386.                 titl.Size = UDim2.new(1,0,0,30)
  30387.                 titl.Font = tef.."Bold"
  30388.                 titl.FontSize = "Size14"
  30389.                 titl.Text = "Place ID"
  30390.                 titl.TextColor3 = whit
  30391.         local textbx = Instance.new("TextBox")
  30392.                 textbx.Parent = mp
  30393.                 textbx.BackgroundColor3 = blak
  30394.                 textbx.BorderColor3 = rede
  30395.                 textbx.BorderSizePixel = 3
  30396.                 textbx.ClearTextOnFocus = true
  30397.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30398.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30399.                 textbx.Font = tef
  30400.                 textbx.FontSize = "Size14"
  30401.                 textbx.Text = "1"
  30402.                 textbx.TextColor3 = whit
  30403.         local titl = Instance.new("TextLabel")
  30404.                 titl.Parent = mp
  30405.                 titl.BackgroundColor3 = blak
  30406.                 titl.BorderColor3 = rede
  30407.                 titl.BorderSizePixel = 3
  30408.                 titl.Name = "Title"
  30409.                 titl.Size = UDim2.new(1,0,0,30)
  30410.                 titl.Font = tef.."Bold"
  30411.                 titl.FontSize = "Size14"
  30412.                 titl.Text = "Music Pitch"
  30413.                 titl.TextColor3 = whit
  30414.         local textbx = Instance.new("TextBox")
  30415.                 textbx.Parent = mid
  30416.                 textbx.BackgroundColor3 = blak
  30417.                 textbx.BorderColor3 = rede
  30418.                 textbx.BorderSizePixel = 3
  30419.                 textbx.ClearTextOnFocus = true
  30420.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30421.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30422.                 textbx.Font = tef
  30423.                 textbx.FontSize = "Size14"
  30424.                 textbx.Text = "142930454"
  30425.                 textbx.TextColor3 = whit
  30426.         local titl = Instance.new("TextLabel")
  30427.                 titl.Parent = mid
  30428.                 titl.BackgroundColor3 = blak
  30429.                 titl.BorderColor3 = rede
  30430.                 titl.BorderSizePixel = 3
  30431.                 titl.Name = "Title"
  30432.                 titl.Size = UDim2.new(1,0,0,30)
  30433.                 titl.Font = tef.."Bold"
  30434.                 titl.FontSize = "Size14"
  30435.                 titl.Text = "Music ID"
  30436.                 titl.TextColor3 = whit
  30437.         local textbx = Instance.new("TextBox")
  30438.                 textbx.Parent = cgid
  30439.                 textbx.BackgroundColor3 = blak
  30440.                 textbx.BorderColor3 = rede
  30441.                 textbx.BorderSizePixel = 3
  30442.                 textbx.ClearTextOnFocus = true
  30443.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30444.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30445.                 textbx.Font = tef
  30446.                 textbx.FontSize = "Size14"
  30447.                 textbx.Text = "108149175"
  30448.                 textbx.TextColor3 = whit
  30449.         local titl = Instance.new("TextLabel")
  30450.                 titl.Parent = cgid
  30451.                 titl.BackgroundColor3 = blak
  30452.                 titl.BorderColor3 = rede
  30453.                 titl.BorderSizePixel = 3
  30454.                 titl.Name = "Title"
  30455.                 titl.Size = UDim2.new(1,0,0,30)
  30456.                 titl.Font = tef.."Bold"
  30457.                 titl.FontSize = "Size14"
  30458.                 titl.Text = "Custom Gear ID"
  30459.                 titl.TextColor3 = whit
  30460.         local textbx = Instance.new("TextBox")
  30461.                 textbx.Parent = bgt
  30462.                 textbx.BackgroundColor3 = blak
  30463.                 textbx.BorderColor3 = rede
  30464.                 textbx.BorderSizePixel = 3
  30465.                 textbx.ClearTextOnFocus = true
  30466.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30467.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30468.                 textbx.Font = tef
  30469.                 textbx.FontSize = "Size14"
  30470.                 textbx.Text = "c00lkidd"
  30471.                 textbx.TextColor3 = whit
  30472.         local titl = Instance.new("TextLabel")
  30473.                 titl.Parent = bgt
  30474.                 titl.BackgroundColor3 = blak
  30475.                 titl.BorderColor3 = rede
  30476.                 titl.BorderSizePixel = 3
  30477.                 titl.Name = "Title"
  30478.                 titl.Size = UDim2.new(1,0,0,30)
  30479.                 titl.Font = tef.."Bold"
  30480.                 titl.FontSize = "Size14"
  30481.                 titl.Text = "Billboard Gui Text"
  30482.                 titl.TextColor3 = whit
  30483.                 titl.TextWrapped = true
  30484.                
  30485.         local button = Instance.new("TextButton")
  30486.                 button.Parent = Inv
  30487.                 button.BackgroundColor3 = blak
  30488.                 button.BorderColor3 = rede
  30489.                 button.BorderSizePixel = 3
  30490.                 button.Position = UDim2.new(0,0,0.5,0)
  30491.                 button.Size = UDim2.new(0.99,1,0.5,-1)
  30492.                 button.Font = tef
  30493.                 button.FontSize = "Size14"
  30494.                 button.Text = "On"
  30495.                 button.TextColor3 = whit
  30496.                 button.MouseButton1Down:connect(function()
  30497.                         if button.Text == "Off" then
  30498. game.Players.LocalPlayer.Character.Head.Transparency = 1
  30499. game.Players.LocalPlayer.Character.Head.face.Transparency = 1
  30500. game.Players.LocalPlayer.Character.Torso.Transparency = 1
  30501. game.Players.LocalPlayer.Character["Right Arm"].Transparency = 1
  30502. game.Players.LocalPlayer.Character["Left Arm"].Transparency = 1
  30503. game.Players.LocalPlayer.Character["Right Leg"].Transparency = 1
  30504. game.Players.LocalPlayer.Character["Left Leg"].Transparency = 1
  30505. button.Text = "On"
  30506. else
  30507. game.Players.LocalPlayer.Character.Head.Transparency = 0
  30508. game.Players.LocalPlayer.Character.Head.face.Transparency = 0
  30509. game.Players.LocalPlayer.Character.Torso.Transparency = 0
  30510. game.Players.LocalPlayer.Character["Right Arm"].Transparency = 0
  30511. game.Players.LocalPlayer.Character["Left Arm"].Transparency = 0
  30512. game.Players.LocalPlayer.Character["Right Leg"].Transparency = 0
  30513. game.Players.LocalPlayer.Character["Left Leg"].Transparency = 0
  30514. button.Text = "Off"
  30515. end
  30516.                 end)
  30517.         local titl = Instance.new("TextLabel")
  30518.                 titl.Parent = Inv
  30519.                 titl.BackgroundColor3 = blak
  30520.                 titl.BorderColor3 = rede
  30521.                 titl.BorderSizePixel = 3
  30522.                 titl.Name = "Title"
  30523.                 titl.Size = UDim2.new(1,0,0,30)
  30524.                 titl.Font = tef.."Bold"
  30525.                 titl.FontSize = "Size14"
  30526.                 titl.Text = "Invisibility"
  30527.                 titl.TextColor3 = whit
  30528.                 titl.TextWrapped = true
  30529.         local button = Instance.new("TextButton")
  30530.                 button.Parent = god
  30531.                 button.BackgroundColor3 = blak
  30532.                 button.BorderColor3 = rede
  30533.                 button.BorderSizePixel = 3
  30534.                 button.Position = UDim2.new(0,0,0.5,0)
  30535.                 button.Size = UDim2.new(0.99,1,0.5,-1)
  30536.                 button.Font = tef
  30537.                 button.FontSize = "Size14"
  30538.                 button.Text = "On"
  30539.                 button.TextColor3 = whit
  30540.                 button.MouseButton1Down:connect(function()
  30541. if button.Text == "Off" then
  30542.         game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  30543.         game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  30544.         button.Text = "On"
  30545.         else
  30546.         game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 100
  30547.         game.Players.LocalPlayer.Character.Humanoid.Health = 100
  30548.         button.Text = "Off"
  30549. end
  30550.                 end)
  30551.         local titl = Instance.new("TextLabel")
  30552.                 titl.Parent = god
  30553.                 titl.BackgroundColor3 = blak
  30554.                 titl.BorderColor3 = rede
  30555.                 titl.BorderSizePixel = 3
  30556.                 titl.Name = "Title"
  30557.                 titl.Size = UDim2.new(1,0,0,30)
  30558.                 titl.Font = tef.."Bold"
  30559.                 titl.FontSize = "Size14"
  30560.                 titl.Text = "God"
  30561.                 titl.TextColor3 = whit
  30562.                 titl.TextWrapped = true        
  30563. --Page 2--
  30564. local arr = Instance.new("Frame")
  30565.         arr.Parent = pge2
  30566.         arr.BackgroundColor3 = blak
  30567.         arr.BorderColor3 = rede
  30568.         arr.BorderSizePixel = 3
  30569.         arr.Name = "Anti Robloxian Range"
  30570.         arr.Position = UDim2.new(0.5,3,0,198)
  30571.         arr.Size = UDim2.new(0.5,-3,0,63)
  30572. local bgc = Instance.new("Frame")
  30573.         bgc.Parent = pge2
  30574.         bgc.BackgroundColor3 = blak
  30575.         bgc.BorderColor3 = rede
  30576.         bgc.BorderSizePixel = 3
  30577.         bgc.Name = "Billboard Gui Color"
  30578.         bgc.Position = UDim2.new(0,0,0,198)
  30579.         bgc.Size = UDim2.new(0.5,0,0,63)
  30580. local cst = Instance.new("Frame")
  30581.         cst.Parent = pge2
  30582.         cst.BackgroundColor3 = blak
  30583.         cst.BorderColor3 = rede
  30584.         cst.BorderSizePixel = 3
  30585.         cst.Name = "Chat Spam Text"
  30586.         cst.Position = UDim2.new(0,0,0,132)
  30587.         cst.Size = UDim2.new(0.5,0,0,63)
  30588. local lsa = Instance.new("Frame")
  30589.         lsa.Parent = pge2
  30590.         lsa.BackgroundColor3 = blak
  30591.         lsa.BorderColor3 = rede
  30592.         lsa.BorderSizePixel = 3
  30593.         lsa.Name = "Leaderstat Amount"
  30594.         lsa.Position = UDim2.new(0.5,3,0,132)
  30595.         lsa.Size = UDim2.new(0.5,-3,0,63)
  30596. local lsn = Instance.new("Frame")
  30597.         lsn.Parent = pge2
  30598.         lsn.BackgroundColor3 = blak
  30599.         lsn.BorderColor3 = rede
  30600.         lsn.BorderSizePixel = 3
  30601.         lsn.Name = "Leaderstat Name"
  30602.         lsn.Position = UDim2.new(0,0,0,66)
  30603.         lsn.Size = UDim2.new(0.5,0,0,63)
  30604. local nmb = Instance.new("Frame")
  30605.         nmb.Parent = pge2
  30606.         nmb.BackgroundColor3 = blak
  30607.         nmb.BorderColor3 = rede
  30608.         nmb.BorderSizePixel = 3
  30609.         nmb.Name = "Name Box"
  30610.         nmb.Position = UDim2.new(0.5,3,0,66)
  30611.         nmb.Size = UDim2.new(0.5,-3,0,63)
  30612.  
  30613.  
  30614.  
  30615. local wsa = Instance.new("Frame")
  30616.         wsa.Parent = pge2
  30617.         wsa.BackgroundColor3 = blak
  30618.         wsa.BorderColor3 = rede
  30619.         wsa.BorderSizePixel = 3
  30620.         wsa.Name = "Walkspeed Amount"
  30621.         wsa.Position = UDim2.new(0.5,3,0,0)
  30622.         wsa.Size = UDim2.new(0.5,-3,0,63)
  30623.  
  30624.  
  30625. local textbx = Instance.new("TextBox")
  30626.                 textbx.Parent = arr
  30627.                 textbx.BackgroundColor3 = blak
  30628.                 textbx.BorderColor3 = rede
  30629.                 textbx.BorderSizePixel = 3
  30630.                 textbx.ClearTextOnFocus = true
  30631.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30632.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30633.                 textbx.Font = tef
  30634.                 textbx.FontSize = "Size14"
  30635.                 textbx.Text = "4"
  30636.                 textbx.TextColor3 = whit
  30637.         local titl = Instance.new("TextLabel")
  30638.                 titl.Parent = arr
  30639.                 titl.BackgroundColor3 = blak
  30640.                 titl.BorderColor3 = rede
  30641.                 titl.BorderSizePixel = 3
  30642.                 titl.Name = "Title"
  30643.                 titl.Size = UDim2.new(1,0,0,30)
  30644.                 titl.Font = tef.."Bold"
  30645.                 titl.FontSize = "Size14"
  30646.                 titl.Text = "Anti Robloxian Rage"
  30647.                 titl.TextColor3 = whit
  30648.                 titl.TextWrapped = true
  30649. textbx1 = Instance.new("TextBox")
  30650.                 textbx1.Parent = bgc
  30651.                 textbx1.BackgroundColor3 = blak
  30652.                 textbx1.BorderColor3 = rede
  30653.                 textbx1.BorderSizePixel = 3
  30654.                 textbx1.ClearTextOnFocus = true
  30655.                 textbx1.Position = UDim2.new(0,0,0.5,0)
  30656.                 textbx1.Size = UDim2.new(0,50,0.5,-1)
  30657.                 textbx1.Font = tef
  30658.                 textbx1.FontSize = "Size14"
  30659.                 textbx1.Text = "200"
  30660.                 textbx1.TextColor3 = whit
  30661.                 textbx1.Name = "TextBox1"
  30662. textbx2 = Instance.new("TextBox")
  30663.                 textbx2.Parent = bgc
  30664.                 textbx2.BackgroundColor3 = blak
  30665.                 textbx2.BorderColor3 = rede
  30666.                 textbx2.BorderSizePixel = 3
  30667.                 textbx2.ClearTextOnFocus = true
  30668.                 textbx2.Position = UDim2.new(0,50,0.5,0)
  30669.                 textbx2.Size = UDim2.new(0,50,0.5,-1)
  30670.                 textbx2.Font = tef
  30671.                 textbx2.FontSize = "Size14"
  30672.                 textbx2.Text = "0"
  30673.                 textbx2.TextColor3 = whit
  30674.                 textbx2.Name = "TextBox2"
  30675. textbx3 = Instance.new("TextBox")
  30676.                 textbx3.Parent = bgc
  30677.                 textbx3.BackgroundColor3 = blak
  30678.                 textbx3.BorderColor3 = rede
  30679.                 textbx3.BorderSizePixel = 3
  30680.                 textbx3.ClearTextOnFocus = true
  30681.                 textbx3.Position = UDim2.new(0,100,0.5,0)
  30682.                 textbx3.Size = UDim2.new(0,50,0.5,-1)
  30683.                 textbx3.Font = tef
  30684.                 textbx3.FontSize = "Size14"
  30685.                 textbx3.Text = "0"
  30686.                 textbx3.TextColor3 = whit
  30687.                 textbx3.Name = "TextBox3"
  30688.         local titl = Instance.new("TextLabel")
  30689.                 titl.Parent = bgc
  30690.                 titl.BackgroundColor3 = blak
  30691.                 titl.BorderColor3 = rede
  30692.                 titl.BorderSizePixel = 3
  30693.                 titl.Name = "Title"
  30694.                 titl.Size = UDim2.new(1,0,0,30)
  30695.                 titl.Font = tef.."Bold"
  30696.                 titl.FontSize = "Size14"
  30697.                 titl.Text = "Billboard Gui Color"
  30698.                 titl.TextColor3 = whit
  30699.                 titl.TextWrapped = true        
  30700. local textbx = Instance.new("TextBox")
  30701.                 textbx.Parent = cst
  30702.                 textbx.BackgroundColor3 = blak
  30703.                 textbx.BorderColor3 = rede
  30704.                 textbx.BorderSizePixel = 3
  30705.                 textbx.ClearTextOnFocus = true
  30706.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30707.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30708.                 textbx.Font = tef
  30709.                 textbx.FontSize = "Size14"
  30710.                 textbx.Text = "join team c00lkidd!"
  30711.                 textbx.TextColor3 = whit
  30712.         local titl = Instance.new("TextLabel")
  30713.                 titl.Parent = cst
  30714.                 titl.BackgroundColor3 = blak
  30715.                 titl.BorderColor3 = rede
  30716.                 titl.BorderSizePixel = 3
  30717.                 titl.Name = "Title"
  30718.                 titl.Size = UDim2.new(1,0,0,30)
  30719.                 titl.Font = tef.."Bold"
  30720.                 titl.FontSize = "Size14"
  30721.                 titl.Text = "Chat Spam Text"
  30722.                 titl.TextColor3 = whit
  30723.                 titl.TextWrapped = true
  30724. local textbx = Instance.new("TextBox")
  30725.                 textbx.Parent = lsa
  30726.                 textbx.BackgroundColor3 = blak
  30727.                 textbx.BorderColor3 = rede
  30728.                 textbx.BorderSizePixel = 3
  30729.                 textbx.ClearTextOnFocus = true
  30730.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30731.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30732.                 textbx.Font = tef
  30733.                 textbx.FontSize = "Size14"
  30734.                 textbx.Text = "50"
  30735.                 textbx.TextColor3 = whit
  30736.         local titl = Instance.new("TextLabel")
  30737.                 titl.Parent = lsa
  30738.                 titl.BackgroundColor3 = blak
  30739.                 titl.BorderColor3 = rede
  30740.                 titl.BorderSizePixel = 3
  30741.                 titl.Name = "Title"
  30742.                 titl.Size = UDim2.new(1,0,0,30)
  30743.                 titl.Font = tef.."Bold"
  30744.                 titl.FontSize = "Size14"
  30745.                 titl.Text = "Leaderstat Amount"
  30746.                 titl.TextColor3 = whit
  30747.                 titl.TextWrapped = true
  30748. local textbx = Instance.new("TextBox")
  30749.                 textbx.Parent = lsn
  30750.                 textbx.BackgroundColor3 = blak
  30751.                 textbx.BorderColor3 = rede
  30752.                 textbx.BorderSizePixel = 3
  30753.                 textbx.ClearTextOnFocus = true
  30754.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30755.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30756.                 textbx.Font = tef
  30757.                 textbx.FontSize = "Size14"
  30758.                 textbx.Text = "KOs"
  30759.                 textbx.TextColor3 = whit
  30760.         local titl = Instance.new("TextLabel")
  30761.                 titl.Parent = lsn
  30762.                 titl.BackgroundColor3 = blak
  30763.                 titl.BorderColor3 = rede
  30764.                 titl.BorderSizePixel = 3
  30765.                 titl.Name = "Title"
  30766.                 titl.Size = UDim2.new(1,0,0,30)
  30767.                 titl.Font = tef.."Bold"
  30768.                 titl.FontSize = "Size14"
  30769.                 titl.Text = "Leaderstat Name"
  30770.                 titl.TextColor3 = whit
  30771.                 titl.TextWrapped = true
  30772.         local titl = Instance.new("TextLabel")
  30773.                 titl.Parent = nmb
  30774.                 titl.BackgroundColor3 = blak
  30775.                 titl.BorderColor3 = rede
  30776.                 titl.BorderSizePixel = 3
  30777.                 titl.Name = "Title"
  30778.                 titl.Size = UDim2.new(1,0,0,30)
  30779.                 titl.Font = tef.."Bold"
  30780.                 titl.FontSize = "Size14"
  30781.                 titl.Text = "Name"
  30782.                 titl.TextColor3 = whit
  30783.                 titl.TextWrapped = true
  30784. local textbxx = Instance.new("TextBox",nmb)
  30785.                 textbxx.BackgroundColor3 = blak
  30786.                 textbxx.BorderColor3 = rede
  30787.                 textbxx.BorderSizePixel = 3
  30788.                 textbxx.ClearTextOnFocus = true
  30789.                 textbxx.Position = UDim2.new(0,0,0.5,0)
  30790.                 textbxx.Size = UDim2.new(0.99,1,0.5,-1)
  30791.                 textbxx.Font = tef
  30792.                 textbxx.FontSize = "Size14"
  30793.                 textbxx.Text = "God"
  30794.                 textbxx.TextColor3 = whit
  30795.  
  30796. local button = Instance.new("TextButton")
  30797.         button.Parent = localp
  30798.         button.BackgroundColor3 = blak
  30799.         button.BorderColor3 = rede
  30800.         button.BorderSizePixel = 3
  30801.         button.Name = "Change Name"
  30802.         button.Position = UDim2.new(0,0,0,66)
  30803.         button.Size = UDim2.new(0.5,0,0,30)
  30804.         button.ZIndex = 2
  30805.         button.Font = tef
  30806.         button.FontSize = "Size14"
  30807.         button.Text = "Change Name"
  30808.         button.TextColor3 = whit
  30809.         button.TextWrapped = true
  30810.         button.MouseButton1Down:connect(function()
  30811.                 for a, mod in pairs(game.Players.LocalPlayer.Character:children()) do
  30812.                 if mod:FindFirstChild("TAG") then
  30813.                 game.Players.LocalPlayer.Character.Head.Transparency = 0
  30814.                 mod:Destroy()
  30815.                 end
  30816.                 end
  30817.                
  30818.                 local char = game.Players.LocalPlayer.Character
  30819.                 local model = Instance.new("Model", char)
  30820.                 local clone = char.Head:Clone()
  30821.                 local hum = Instance.new("Humanoid", model)
  30822.                 local weld = Instance.new("Weld", clone)
  30823.                         model.Name =textbxx.Text
  30824.                         clone.Parent = model
  30825.                         hum.Name = "TAG"
  30826.                         hum.MaxHealth = 100
  30827.                         hum.Health = 100
  30828.                         weld.Part0 = clone
  30829.                         weld.Part1 = char.Head
  30830.                         char.Head.Transparency = 1
  30831. end)
  30832.  
  30833. local textbx = Instance.new("TextBox")
  30834.                 textbx.Parent = wsa
  30835.                 textbx.BackgroundColor3 = blak
  30836.                 textbx.BorderColor3 = rede
  30837.                 textbx.BorderSizePixel = 3
  30838.                 textbx.ClearTextOnFocus = true
  30839.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30840.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30841.                 textbx.Font = tef
  30842.                 textbx.FontSize = "Size14"
  30843.                 textbx.Text = "50"
  30844.                 textbx.TextColor3 = whit
  30845.         local titl = Instance.new("TextLabel")
  30846.                 titl.Parent = wsa
  30847.                 titl.BackgroundColor3 = blak
  30848.                 titl.BorderColor3 = rede
  30849.                 titl.BorderSizePixel = 3
  30850.                 titl.Name = "Title"
  30851.                 titl.Size = UDim2.new(1,0,0,30)
  30852.                 titl.Font = tef.."Bold"
  30853.                 titl.FontSize = "Size14"
  30854.                 titl.Text = "Walkspeed Amount"
  30855.                 titl.TextColor3 = whit
  30856.                 titl.TextWrapped = true
  30857. --Settings--
  30858.  
  30859. -----------------------------------------------------------------------------
  30860. --Important Script to make tabs work! DONT TOUCH--
  30861. CurrentPage = 1
  30862.  
  30863. function FlipPage(Way)
  30864.         local NewPage = CurrentPage+Way
  30865.         if pges:findFirstChild("Page"..NewPage)~=nil then
  30866.                 CurrentPage = NewPage
  30867.                 local P = pges:GetChildren()
  30868.                 for i = 1, #P do
  30869.                         P[i].Visible = false
  30870.                 end
  30871.                 pges:findFirstChild("Page"..NewPage).Visible = true
  30872.         end
  30873. end
  30874. right.MouseButton1Down:connect(function()FlipPage(1) end)
  30875. left.MouseButton1Down:connect(function()FlipPage(-1) end)
  30876. page1.addonl.MouseButton1Down:connect(function()CurrentPage=6 FlipPage(-1) end)
  30877. page5.addonr.MouseButton1Down:connect(function()CurrentPage=0 FlipPage(1) end)
  30878. -----------------------------------------------------------------------------