Facebook
From Soft Lemur, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 27703
  1. blak = Color3.new(0,0,0)
  2. rede = Color3.new(255/255,0/255,0/255)
  3. tef = "SourceSans"
  4. whit = Color3.new(255/255,255/255,255/255)
  5. local cka = Instance.new("ScreenGui", game.CoreGui)
  6. cka.Name= "CoolGui"
  7. local frame = Instance.new("Frame")
  8.         frame.Parent = cka
  9.         frame.BackgroundColor3 = blak
  10.         frame.BorderColor3 = rede
  11.         frame.BorderSizePixel = 3
  12.         frame.Name = "Frame"
  13.         frame.Position = UDim2.new(0,3,0.3,0)
  14.         frame.Size = UDim2.new(0,300,0,400)
  15. local pges = Instance.new("Frame")
  16.         pges.Parent = frame
  17.         pges.BackgroundColor3 = blak
  18.         pges.BorderColor3 = rede
  19.         pges.BorderSizePixel = 3
  20.         pges.Name = "Pages"
  21.         pges.Position = UDim2.new(0,0,0,0)
  22.         pges.Size = UDim2.new(1,0,1,0)
  23. local cope = Instance.new("TextButton")
  24.         cope.Parent = cka
  25.         cope.Active = true
  26.         cope.AutoButtonColor = true
  27.         cope.BackgroundColor3 = blak
  28.         cope.BorderColor3 = rede
  29.         cope.BorderSizePixel = 3
  30.         cope.Name = "Close/Open"
  31.         cope.Position = UDim2.new(0,3,0.3,380)
  32.         cope.Selectable = true
  33.         cope.Size = UDim2.new(0,300,0,20)
  34.         cope.ZIndex = 3
  35.         cope.Font = "SourceSans"
  36.         cope.FontSize = "Size18"
  37.         cope.Text = "Close"
  38.         cope.TextColor3 = Color3.new(255,255,255)
  39.         cope.TextXAlignment = "Center"
  40.         cope.TextYAlignment = "Center"
  41.         cope.MouseButton1Down:connect(function()
  42.                 if cope.Text == "Close" then
  43.                 frame.Visible = false
  44.                 cope.Text = "Open" else
  45.                 frame.Visible = true
  46.                 cope.Text = "Close"    
  47.                 end    
  48.         end)
  49. local page1 = Instance.new("Frame")
  50.         page1.Parent = pges    
  51.         page1.BackgroundColor3 = blak
  52.         page1.BorderColor3 = rede
  53.         page1.BorderSizePixel = 3
  54.         page1.Name = "Page1"
  55.         page1.Position = UDim2.new(0,0,0,83)
  56.         page1.Size = UDim2.new(1,0,1,-106)
  57.         page1.ZIndex = 2
  58.         page1.Visible = true
  59. local page2 = Instance.new("Frame")
  60.         page2.Parent = pges
  61.         page2.BackgroundColor3 = blak
  62.         page2.BorderColor3 = rede
  63.         page2.BorderSizePixel = 3
  64.         page2.Name = "Page2"
  65.         page2.Position = UDim2.new(0,0,0,83)
  66.         page2.Size = UDim2.new(1,0,1,-106)
  67.         page2.ZIndex = 2
  68.         page2.Visible = false
  69. local page3 = Instance.new("Frame")
  70.         page3.Parent = pges
  71.         page3.BackgroundColor3 = blak
  72.         page3.BorderColor3 = rede
  73.         page3.BorderSizePixel = 3
  74.         page3.Name = "Page3"
  75.         page3.Position = UDim2.new(0,0,0,83)
  76.         page3.Size = UDim2.new(1,0,1,-106)
  77.         page3.ZIndex = 2
  78.         page3.Visible = false
  79. local page4 = Instance.new("Frame")
  80.         page4.Parent = pges
  81.         page4.BackgroundColor3 = blak
  82.         page4.BorderColor3 = rede
  83.         page4.BorderSizePixel = 3
  84.         page4.Name = "Page4"
  85.         page4.Position = UDim2.new(0,0,0,83)
  86.         page4.Size = UDim2.new(1,0,1,-106)
  87.         page4.ZIndex = 2
  88.         page4.Visible = false
  89. local page5 = Instance.new("Frame")
  90.         page5.Parent = pges
  91.         page5.BackgroundColor3 = blak
  92.         page5.BorderColor3 = rede
  93.         page5.BorderSizePixel = 3
  94.         page5.Name = "Page5"
  95.         page5.Position = UDim2.new(0,0,0,83)
  96.         page5.Size = UDim2.new(1,0,1,-106)
  97.         page5.ZIndex = 2
  98.         page5.Visible = false
  99. page = Instance.new("Frame")
  100.         page.Parent = frame
  101.         page.BackgroundColor3 = blak
  102.         page.BorderColor3 = rede
  103.         page.BorderSizePixel = 3
  104.         page.Name = "Settings"
  105.         page.Position = UDim2.new(1,3,0,0)
  106.         page.Size = UDim2.new(1,0,1,0)
  107.         page.ZIndex = 1
  108.         page.Visible = true
  109. right = Instance.new("TextButton")
  110.         right.Parent = frame   
  111.         right.BackgroundColor3 = blak
  112.         right.BorderColor3 = rede
  113.         right.BorderSizePixel = 3
  114.         right.Name = ">"
  115.         right.Position = UDim2.new(0.5,3,0,40)
  116.         right.Size = UDim2.new(0.5,-3,0,40)
  117.         right.ZIndex = 2
  118.         right.Font = tef
  119.         right.FontSize = "Size48"
  120.         right.Text = ">"
  121.         right.TextColor3 = whit
  122. addonr = Instance.new("TextButton")
  123.         addonr.Parent = page5  
  124.         addonr.BackgroundColor3 = blak
  125.         addonr.BorderColor3 = rede
  126.         addonr.BorderSizePixel = 3
  127.         addonr.Name = "addonr"
  128.         addonr.Position = UDim2.new(0,153,0,-40)
  129.         addonr.Size = UDim2.new(0.49,0,0.125,0)
  130.         addonr.Font = tef
  131.         addonr.FontSize = "Size48"
  132.         addonr.Text = ">"
  133.         addonr.TextColor3 = whit
  134.         addonr.ZIndex = 3
  135. left = Instance.new("TextButton")
  136.         left.Parent = frame    
  137.         left.BackgroundColor3 = blak
  138.         left.BorderColor3 = rede
  139.         left.BorderSizePixel = 3
  140.         left.Name = "<"
  141.         left.Position = UDim2.new(0,0,0,40)
  142.         left.Size = UDim2.new(0.5,-3,0,40)
  143.         left.ZIndex = 2
  144.         left.Font = tef
  145.         left.FontSize = "Size48"
  146.         left.Text = "<"
  147.         left.TextColor3 = whit
  148. addonl = Instance.new("TextButton")
  149.         addonl.Parent = page1  
  150.         addonl.BackgroundColor3 = blak
  151.         addonl.BorderColor3 = rede
  152.         addonl.BorderSizePixel = 3
  153.         addonl.Name = "addonl"
  154.         addonl.Position = UDim2.new(0,0,0,-40)
  155.         addonl.Size = UDim2.new(0.49,0,0.125,0)
  156.         addonl.Font = tef
  157.         addonl.FontSize = "Size48"
  158.         addonl.Text = "<"
  159.         addonl.TextColor3 = whit
  160.         addonl.ZIndex = 3
  161. local title = Instance.new("TextLabel")
  162.         title.Parent = frame
  163.         title.BackgroundColor3 = blak
  164.         title.BorderColor3 = rede
  165.         title.BorderSizePixel = 3
  166.         title.Name = "Title"
  167.         title.Position = UDim2.new(0,0,0,0)
  168.         title.Size = UDim2.new(1,0,0,40)
  169.         title.ZIndex = 2
  170.         title.Font = tef
  171.         title.FontSize = "Size24"
  172.         title.Text = "c00lgui Reborn Rc7 by v3rx"
  173.         title.TextColor3 = whit
  174. --           inside pages        --
  175. local acg = Instance.new("Frame")
  176.         acg.Parent = page1
  177.         acg.BackgroundColor3 = blak
  178.         acg.BorderColor3 = rede
  179.         acg.BorderSizePixel = 3
  180.         acg.Name = "Admin Commands/Guis"
  181.         acg.Position = UDim2.new(0.5,3,0,0)
  182.         acg.Size = UDim2.new(0.5,-3,1,0)
  183.         acg.ZIndex = 2
  184. local sd = Instance.new("Frame")
  185.         sd.Parent = page1
  186.         sd.BackgroundColor3 = blak
  187.         sd.BorderColor3 = rede
  188.         sd.BorderSizePixel = 3
  189.         sd.Name = "Server Destruction"
  190.         sd.Position = UDim2.new(0,0,0,0)
  191.         sd.Size = UDim2.new(0.5,-3,1,0)
  192.         sd.ZIndex = 2
  193. local gt = Instance.new("Frame")
  194.         gt.Parent = page2
  195.         gt.BackgroundColor3 = blak
  196.         gt.BorderColor3 = rede
  197.         gt.BorderSizePixel = 3
  198.         gt.Name = "Gear/Tools"
  199.         gt.Position = UDim2.new(0.5,3,0,0)
  200.         gt.Size = UDim2.new(0.5,-3,1,0)
  201.         gt.ZIndex = 2
  202. local ws = Instance.new("Frame")
  203.         ws.Parent = page2
  204.         ws.BackgroundColor3 = blak
  205.         ws.BorderColor3 = rede
  206.         ws.BorderSizePixel = 3
  207.         ws.Name = "Weapon Scripts"
  208.         ws.Position = UDim2.new(0,0,0,0)
  209.         ws.Size = UDim2.new(0.5,-3,1,0)
  210.         ws.ZIndex = 2
  211. local localp = Instance.new("Frame")
  212.         localp.Parent = page3
  213.         localp.BackgroundColor3 = blak
  214.         localp.BorderColor3 = rede
  215.         localp.BorderSizePixel = 3
  216.         localp.Name = "LocalPlayer"
  217.         localp.Position = UDim2.new(0.5,3,0,0)
  218.         localp.Size = UDim2.new(0.5,-3,1,0)
  219.         localp.ZIndex = 2
  220. local misc = Instance.new("Frame")
  221.         misc.Parent = page3
  222.         misc.BackgroundColor3 = blak
  223.         misc.BorderColor3 = rede
  224.         misc.BorderSizePixel = 3
  225.         misc.Name = "Misc"
  226.         misc.Position = UDim2.new(0,0,0,0)
  227.         misc.Size = UDim2.new(0.5,-3,1,0)
  228.         misc.ZIndex = 2
  229. pmi = Instance.new("Frame")
  230.         pmi.Parent = page4
  231.         pmi.BackgroundColor3 = blak
  232.         pmi.BorderColor3 = rede
  233.         pmi.BorderSizePixel = 3
  234.         pmi.Name = "Preset Music IDs"
  235.         pmi.Position = UDim2.new(0.5,3,0,0)
  236.         pmi.Size = UDim2.new(0.5,-3,1,0)
  237.         pmi.ZIndex = 2
  238. local psd = Instance.new("Frame")
  239.         psd.Parent = page4
  240.         psd.BackgroundColor3 = blak
  241.         psd.BorderColor3 = rede
  242.         psd.BorderSizePixel = 3
  243.         psd.Name = "Preset Skybox/Decal IDs"
  244.         psd.Position = UDim2.new(0,0,0,0)
  245.         psd.Size = UDim2.new(0.5,-3,1,0)
  246.         psd.ZIndex = 2
  247. local edn = Instance.new("Frame")
  248.         edn.Parent = page5
  249.         edn.BackgroundColor3 = blak
  250.         edn.BorderColor3 = rede
  251.         edn.BorderSizePixel = 3
  252.         edn.Name = "End"
  253.         edn.Position = UDim2.new(0.5,3,0,0)
  254.         edn.Size = UDim2.new(0.5,-3,1,0)
  255.         edn.ZIndex = 2
  256. local pgi = Instance.new("Frame")
  257.         pgi.Parent = page5
  258.         pgi.BackgroundColor3 = blak
  259.         pgi.BorderColor3 = rede
  260.         pgi.BorderSizePixel = 3
  261.         pgi.Name = "Preset Gear IDs"
  262.         pgi.Position = UDim2.new(0,0,0,0)
  263.         pgi.Size = UDim2.new(0.5,-3,1,0)
  264.         pgi.ZIndex = 2
  265. --      inside pages end        --
  266. -- Admin Commands/Guis --
  267. local button = Instance.new("TextButton")
  268.         button.Parent = acg
  269.         button.BackgroundColor3 = blak
  270.         button.BorderColor3 = rede
  271.         button.BorderSizePixel = 3
  272.         button.Name = "iOrb"
  273.         button.Position = UDim2.new(0,0,0,33)
  274.         button.Size = UDim2.new(0.5,0,0,30)
  275.         button.ZIndex = 2
  276.         button.Font = tef
  277.         button.FontSize = "Size14"
  278.         button.Text = "i0rb"
  279.         button.TextColor3 = whit
  280.         button.MouseButton1Down:connect(function()
  281.                
  282.    
  283.  
  284. --[[
  285. --Commands--
  286. !NOTE! -- PLEASE GO TO LINE 47 AND REPLACE MY NAME WITH YOUR NAME! -- !NOTE!
  287. % = The prefix you have set    
  288.  
  289. %console show
  290. %console hide
  291. %muslist
  292. %cmds
  293. %kill plr, me, all
  294. %kick plr, me, all
  295. %ban plr, me, all
  296. %explode plr, me, all
  297. %exe <command>
  298. %console show
  299. %console hide
  300. %ff <plr>
  301. %unff <plr>
  302. %respawn <plr>
  303. %lag <plr>
  304. %removetools <plr>
  305. %music <id> or from musiclist (%muslist)
  306. %pri
  307. %god plr
  308. %ungod plr
  309. --]]
  310.  
  311.  
  312.  
  313. local Admins = game.Players.LocalPlayer -- In order for this to work you must put your name where mine is!
  314. local Speed = "0.05" -- Set the speed of the orb's rotation. This is recommended.
  315. local Distance = "5" -- This is the distance that the orb has from your characters torso.
  316. local Prefix = ":"
  317. local Players = Game:GetService('Players')
  318. local Banned = {} -- Leave this be!
  319.  
  320. wait()
  321. local folder = Instance.new("Model", game.Lighting)
  322. folder.Name = "sbans"
  323. game:GetService('RunService').Stepped:connect(function()
  324. for i,x in pairs(folder:children()) do
  325. for i,v in pairs(game.Players:children()) do if v.Name==x.Value then
  326. bannnedd1=Instance.new('RemoteEvent',workspace):FireClient(game.Players[x.Value],{string.rep("Getbannedbro?",2e5+5)})
  327. end
  328. end
  329. end
  330. end)
  331.  
  332. game.Players.PlayerAdded:connect(function(player)
  333. Game:GetService('Chat'):Chat(p, player.Name .. " has joined! AccountAge = " .. player.AccountAge .. " | UserID = " .. player.UserId .. " |..!", Enum.ChatColor.Red)
  334. end)
  335.  
  336. game.Players.ChildRemoved:connect(function(player2)
  337. Game:GetService('Chat'):Chat(p, player2.Name .. " has left! AccountAge = " .. player2.AccountAge .. " | UserID = " .. player2.UserId .. " |..!", Enum.ChatColor.Red)
  338. end)
  339.  
  340. Admins.Chatted:connect(function(msg)
  341. if msg:lower() == Prefix .. "muslist" then
  342. sg2 = Instance.new("ScreenGui", Admins.PlayerGui)
  343. fm2 = Instance.new("Frame", sg2)
  344. fm2.Position = UDim2.new(0.42,0,0.3,0)
  345. fm2.Size = UDim2.new(0,300,0,400)
  346. fm2.BackgroundColor3 = Color3.new(0,0,0)
  347. fm2.BackgroundTransparency = 0.5
  348. fm2.BorderSizePixel = 0
  349. s1 = Instance.new("TextButton", fm2)
  350. s1.Size = UDim2.new(0,300,0,25)
  351. s1.TextColor3 = Color3.new(255,255,255)
  352. s1.FontSize = 2
  353. s1.Text = "Cake"
  354. s1.BackgroundTransparency = 1
  355. s2 = Instance.new("TextButton", fm2)
  356. s2.Size = UDim2.new(0,300,0,25)
  357. s2.Position = UDim2.new(0,0,0,25)
  358. s2.TextColor3 = Color3.new(255,255,255)
  359. s2.FontSize = 2
  360. s2.Text = "Watcha"
  361. s2.BackgroundTransparency = 1
  362. s3 = Instance.new("TextButton", fm2)
  363. s3.Size = UDim2.new(0,300,0,25)
  364. s3.Position = UDim2.new(0,0,0,50)
  365. s3.TextColor3 = Color3.new(255,255,255)
  366. s3.FontSize = 2
  367. s3.Text = "Moonman"
  368. s3.BackgroundTransparency = 1
  369. s4 = Instance.new("TextButton", fm2)
  370. s4.Size = UDim2.new(0,300,0,25)
  371. s4.Position = UDim2.new(0,0,0,75)
  372. s4.TextColor3 = Color3.new(255,255,255)
  373. s4.FontSize = 2
  374. s4.Text = "Hello"
  375. s4.BackgroundTransparency = 1
  376. s5 = Instance.new("TextButton", fm2)
  377. s5.Size = UDim2.new(0,300,0,25)
  378. s5.Position = UDim2.new(0,0,0,100)
  379. s5.TextColor3 = Color3.new(255,255,255)
  380. s5.FontSize = 2
  381. s5.Text = "Lean"
  382. s5.BackgroundTransparency = 1
  383. s6 = Instance.new("TextButton", fm2)
  384. s6.Size = UDim2.new(0,300,0,25)
  385. s6.Position = UDim2.new(0,0,0,125)
  386. s6.TextColor3 = Color3.new(255,255,255)
  387. s6.FontSize = 2
  388. s6.Text = "Waves"
  389. s6.BackgroundTransparency = 1
  390. s7 = Instance.new("TextButton", fm2)
  391. s7.Size = UDim2.new(0,300,0,25)
  392. s7.Position = UDim2.new(0,0,0,150)
  393. s7.TextColor3 = Color3.new(255,255,255)
  394. s7.FontSize = 2
  395. s7.Text = "Baby"
  396. s7.BackgroundTransparency = 1
  397. close2 = Instance.new("TextButton", fm2)
  398. close2.Size = UDim2.new(0,15,0,15)
  399. close2.Position = UDim2.new(0,285,0,0)
  400. close2.BackgroundTransparency = 1
  401. close2.TextColor3 = Color3.new(255,255,255)
  402. close2.Text = "X"
  403. close2.MouseButton1Click:connect(function()
  404. fm2:Destroy()
  405. sg2:Destroy()
  406. end)
  407. end
  408. end)
  409. Admins.Chatted:connect(function(msg)
  410. if msg:lower() == Prefix .. "cmds" then
  411. local screenGui = Instance.new("ScreenGui")
  412. screenGui.Parent = Admins.PlayerGui
  413.  
  414. local scrollingFrame = Instance.new("ScrollingFrame")
  415. scrollingFrame.Parent = screenGui
  416. scrollingFrame.Position = UDim2.new(0.2, 0, 0.1, 0)
  417. scrollingFrame.Size = UDim2.new(0, 500, 0, 400)
  418. scrollingFrame.CanvasSize = UDim2.new(0, 500, 2, 0)
  419. scrollingFrame.BackgroundColor3 = Color3.new(0,0,0)
  420. scrollingFrame.BorderSizePixel = 2
  421. scrollingFrame.BorderColor3 = Color3.new(170,0,0)
  422.  
  423. local closecmds = Instance.new("TextButton")
  424. closecmds.Parent = screenGui
  425. closecmds.Size = UDim2.new(0,50,0,50)
  426. closecmds.Position = UDim2.new(0.2, 0, 0.02, 0)
  427. closecmds.BackgroundColor3 = Color3.new(0,0,0)
  428. closecmds.Text = "X"
  429. closecmds.TextColor3 = Color3.new(170,0,0)
  430. closecmds.FontSize = 3
  431. closecmds.BorderSizePixel = 2
  432. closecmds.BorderColor3 = Color3.new(170,0,0)
  433. closecmds.MouseButton1Click:connect(function()
  434. screenGui:Destroy()
  435. end)
  436. local cmd1 = Instance.new("TextLabel")
  437. cmd1.Parent = scrollingFrame
  438. cmd1.Position = UDim2.new(0, 0, 0, 0)
  439. cmd1.Size = UDim2.new(0, 500, 0, 25)
  440. cmd1.BackgroundColor3= Color3.new(0,0,0)
  441. cmd1.TextColor3 = Color3.new(170,0,0)
  442. cmd1.FontSize = 5
  443. cmd1.Text = Prefix .. "kill <plr>"
  444. cmd1.ZIndex = 0
  445.  
  446. local cmd2 = Instance.new("TextLabel")
  447. cmd2.Parent = scrollingFrame
  448. cmd2.Position = UDim2.new(0, 0, 0, 25)
  449. cmd2.Size = UDim2.new(0, 500, 0, 25)
  450. cmd2.BackgroundColor3= Color3.new(0,0,0)
  451. cmd2.TextColor3 = Color3.new(170,0,0)
  452. cmd2.FontSize = 5
  453. cmd2.Text = Prefix .. "kick <plr>"
  454. cmd2.ZIndex = 0
  455.  
  456. local cmd3 = Instance.new("TextLabel")
  457. cmd3.Parent = scrollingFrame
  458. cmd3.Position = UDim2.new(0, 0, 0, 50)
  459. cmd3.Size = UDim2.new(0, 500, 0, 25)
  460. cmd3.BackgroundColor3= Color3.new(0,0,0)
  461. cmd3.TextColor3 = Color3.new(170,0,0)
  462. cmd3.FontSize = 5
  463. cmd3.Text = Prefix .. "ban <plr>"
  464. cmd3.ZIndex = 0
  465.  
  466. local cmd4 = Instance.new("TextLabel")
  467. cmd4.Parent = scrollingFrame
  468. cmd4.Position = UDim2.new(0, 0, 0, 75)
  469. cmd4.Size = UDim2.new(0, 500, 0, 25)
  470. cmd4.BackgroundColor3= Color3.new(0,0,0)
  471. cmd4.TextColor3 = Color3.new(170,0,0)
  472. cmd4.FontSize = 5
  473. cmd4.Text = Prefix .. "explode <plr>"
  474. cmd4.ZIndex = 0
  475.  
  476. local cmd5 = Instance.new("TextLabel")
  477. cmd5.Parent = scrollingFrame
  478. cmd5.Position = UDim2.new(0, 0, 0, 100)
  479. cmd5.Size = UDim2.new(0, 500, 0, 25)
  480. cmd5.BackgroundColor3= Color3.new(0,0,0)
  481. cmd5.TextColor3 = Color3.new(170,0,0)
  482. cmd5.FontSize = 5
  483. cmd5.Text = Prefix .. "exe <script>"
  484. cmd5.ZIndex = 0
  485.  
  486. local cmd6 = Instance.new("TextLabel")
  487. cmd6.Parent = scrollingFrame
  488. cmd6.Position = UDim2.new(0, 0, 0, 100)
  489. cmd6.Size = UDim2.new(0, 500, 0, 25)
  490. cmd6.BackgroundColor3= Color3.new(0,0,0)
  491. cmd6.TextColor3 = Color3.new(170,0,0)
  492. cmd6.FontSize = 5
  493. cmd6.Text = Prefix .. "console show"
  494. cmd6.ZIndex = 0
  495.  
  496. local cmd7 = Instance.new("TextLabel")
  497. cmd7.Parent = scrollingFrame
  498. cmd7.Position = UDim2.new(0, 0, 0, 100)
  499. cmd7.Size = UDim2.new(0, 500, 0, 25)
  500. cmd7.BackgroundColor3= Color3.new(0,0,0)
  501. cmd7.TextColor3 = Color3.new(170,0,0)
  502. cmd7.FontSize = 5
  503. cmd7.Text = Prefix .. "console hide"
  504. cmd7.ZIndex = 0
  505.  
  506. local cmd8 = Instance.new("TextLabel")
  507. cmd8.Parent = scrollingFrame
  508. cmd8.Position = UDim2.new(0, 0, 0, 125)
  509. cmd8.Size = UDim2.new(0, 500, 0, 25)
  510. cmd8.BackgroundColor3= Color3.new(0,0,0)
  511. cmd8.TextColor3 = Color3.new(170,0,0)
  512. cmd8.FontSize = 5
  513. cmd8.Text = Prefix .. "ff <plr>"
  514. cmd8.ZIndex = 0
  515.  
  516. local cmd9 = Instance.new("TextLabel")
  517. cmd9.Parent = scrollingFrame
  518. cmd9.Position = UDim2.new(0, 0, 0, 150)
  519. cmd9.Size = UDim2.new(0, 500, 0, 25)
  520. cmd9.BackgroundColor3= Color3.new(0,0,0)
  521. cmd9.TextColor3 = Color3.new(170,0,0)
  522. cmd9.FontSize = 5
  523. cmd9.Text = Prefix .. "unff <plr>"
  524. cmd9.ZIndex = 0
  525.  
  526. local cmd10 = Instance.new("TextLabel")
  527. cmd10.Parent = scrollingFrame
  528. cmd10.Position = UDim2.new(0, 0, 0, 175)
  529. cmd10.Size = UDim2.new(0, 500, 0, 25)
  530. cmd10.BackgroundColor3= Color3.new(0,0,0)
  531. cmd10.TextColor3 = Color3.new(170,0,0)
  532. cmd10.FontSize = 5
  533. cmd10.Text = Prefix .. "respawn <plr>"
  534. cmd10.ZIndex = 0
  535.  
  536. local cmd11 = Instance.new("TextLabel")
  537. cmd11.Parent = scrollingFrame
  538. cmd11.Position = UDim2.new(0, 0, 0, 200)
  539. cmd11.Size = UDim2.new(0, 500, 0, 25)
  540. cmd11.BackgroundColor3= Color3.new(0,0,0)
  541. cmd11.TextColor3 = Color3.new(170,0,0)
  542. cmd11.FontSize = 5
  543. cmd11.Text = Prefix .. "lag <plr>"
  544. cmd11.ZIndex = 0
  545.  
  546. local cmd12 = Instance.new("TextLabel")
  547. cmd12.Parent = scrollingFrame
  548. cmd12.Position = UDim2.new(0, 0, 0, 225)
  549. cmd12.Size = UDim2.new(0, 500, 0, 25)
  550. cmd12.BackgroundColor3= Color3.new(0,0,0)
  551. cmd12.TextColor3 = Color3.new(170,0,0)
  552. cmd12.FontSize = 5
  553. cmd12.Text = Prefix .. "removetools <plr>"
  554. cmd12.ZIndex = 0
  555.  
  556. local cmd13 = Instance.new("TextLabel")
  557. cmd13.Parent = scrollingFrame
  558. cmd13.Position = UDim2.new(0, 0, 0, 250)
  559. cmd13.Size = UDim2.new(0, 500, 0, 25)
  560. cmd13.BackgroundColor3= Color3.new(0,0,0)
  561. cmd13.TextColor3 = Color3.new(170,0,0)
  562. cmd13.FontSize = 5
  563. cmd13.Text = Prefix .. "god <plr>"
  564. cmd13.ZIndex = 0
  565.  
  566. local cmd14 = Instance.new("TextLabel")
  567. cmd14.Parent = scrollingFrame
  568. cmd14.Position = UDim2.new(0, 0, 0, 275)
  569. cmd14.Size = UDim2.new(0, 500, 0, 25)
  570. cmd14.BackgroundColor3= Color3.new(0,0,0)
  571. cmd14.TextColor3 = Color3.new(170,0,0)
  572. cmd14.FontSize = 5
  573. cmd14.Text = Prefix .. "ungod <plr>"
  574. cmd14.ZIndex = 0
  575.  
  576. local cmd15 = Instance.new("TextLabel")
  577. cmd15.Parent = scrollingFrame
  578. cmd15.Position = UDim2.new(0, 0, 0, 300)
  579. cmd15.Size = UDim2.new(0, 500, 0, 25)
  580. cmd15.BackgroundColor3= Color3.new(0,0,0)
  581. cmd15.TextColor3 = Color3.new(170,0,0)
  582. cmd15.FontSize = 5
  583. cmd15.Text = Prefix .. "muslist"
  584. cmd15.ZIndex = 0
  585.  
  586. local cmd16 = Instance.new("TextLabel")
  587. cmd16.Parent = scrollingFrame
  588. cmd16.Position = UDim2.new(0, 0, 0, 325)
  589. cmd16.Size = UDim2.new(0, 500, 0, 25)
  590. cmd16.BackgroundColor3= Color3.new(0,0,0)
  591. cmd16.TextColor3 = Color3.new(170,0,0)
  592. cmd16.FontSize = 5
  593. cmd16.Text = Prefix .. "console show"
  594. cmd16.ZIndex = 0
  595.  
  596. local cmd17 = Instance.new("TextLabel")
  597. cmd17.Parent = scrollingFrame
  598. cmd17.Position = UDim2.new(0, 0, 0, 350)
  599. cmd17.Size = UDim2.new(0, 500, 0, 25)
  600. cmd17.BackgroundColor3= Color3.new(0,0,0)
  601. cmd17.TextColor3 = Color3.new(170,0,0)
  602. cmd17.FontSize = 5
  603. cmd17.Text = Prefix .. "exe <command>"
  604. cmd17.ZIndex = 0
  605.  
  606. local cmd18 = Instance.new("TextLabel")
  607. cmd18.Parent = scrollingFrame
  608. cmd18.Position = UDim2.new(0, 0, 0, 375)
  609. cmd18.Size = UDim2.new(0, 500, 0, 25)
  610. cmd18.BackgroundColor3= Color3.new(0,0,0)
  611. cmd18.TextColor3 = Color3.new(170,0,0)
  612. cmd18.FontSize = 5
  613. cmd18.Text = Prefix .. "music <id> or <song (from muslist)>"
  614. cmd18.ZIndex = 0
  615.  
  616. local cmd19 = Instance.new("TextLabel")
  617. cmd19.Parent = scrollingFrame
  618. cmd19.Position = UDim2.new(0, 0, 0, 375)
  619. cmd19.Size = UDim2.new(0, 500, 0, 25)
  620. cmd19.BackgroundColor3= Color3.new(0,0,0)
  621. cmd19.TextColor3 = Color3.new(170,0,0)
  622. cmd19.FontSize = 5
  623. cmd19.Text = Prefix .. "pri"
  624. cmd19.ZIndex = 0
  625.  
  626. local cmd20 = Instance.new("TextLabel")
  627. cmd20.Parent = scrollingFrame
  628. cmd20.Position = UDim2.new(0, 0, 0, 400)
  629. cmd20.Size = UDim2.new(0, 500, 0, 25)
  630. cmd20.BackgroundColor3= Color3.new(0,0,0)
  631. cmd20.TextColor3 = Color3.new(170,0,0)
  632. cmd20.FontSize = 5
  633. cmd20.Text = Prefix .. "cmds"
  634. cmd20.ZIndex = 0
  635.  
  636. local cmd21 = Instance.new("TextLabel")
  637. cmd21.Parent = scrollingFrame
  638. cmd21.Position = UDim2.new(0, 0, 0, 425)
  639. cmd21.Size = UDim2.new(0, 500, 0, 25)
  640. cmd21.BackgroundColor3= Color3.new(0,0,0)
  641. cmd21.TextColor3 = Color3.new(170,0,0)
  642. cmd21.FontSize = 5
  643. cmd21.Text = Prefix .. "sit <plr>"
  644. cmd21.ZIndex = 0
  645.  
  646. local cmd22 = Instance.new("TextLabel")
  647. cmd22.Parent = scrollingFrame
  648. cmd22.Position = UDim2.new(0, 0, 0, 450)
  649. cmd22.Size = UDim2.new(0, 500, 0, 25)
  650. cmd22.BackgroundColor3= Color3.new(0,0,0)
  651. cmd22.TextColor3 = Color3.new(170,0,0)
  652. cmd22.FontSize = 5
  653. cmd22.Text = Prefix .. "jump <plr>"
  654. cmd22.ZIndex = 0
  655.  
  656. local cmd23 = Instance.new("TextLabel")
  657. cmd23.Parent = scrollingFrame
  658. cmd23.Position = UDim2.new(0, 0, 0, 475)
  659. cmd23.Size = UDim2.new(0, 500, 0, 25)
  660. cmd23.BackgroundColor3= Color3.new(0,0,0)
  661. cmd23.TextColor3 = Color3.new(170,0,0)
  662. cmd23.FontSize = 5
  663. cmd23.Text = Prefix .. "bruh <plr>"
  664. cmd23.ZIndex = 0
  665.  
  666. local cmd24 = Instance.new("TextLabel")
  667. cmd24.Parent = scrollingFrame
  668. cmd24.Position = UDim2.new(0, 0, 0, 500)
  669. cmd24.Size = UDim2.new(0, 500, 0, 25)
  670. cmd24.BackgroundColor3= Color3.new(0,0,0)
  671. cmd24.TextColor3 = Color3.new(170,0,0)
  672. cmd24.FontSize = 5
  673. cmd24.Text = Prefix .. "ws <speed>"
  674. cmd24.ZIndex = 0
  675.  
  676. local cmd25 = Instance.new("TextLabel")
  677. cmd25.Parent = scrollingFrame
  678. cmd25.Position = UDim2.new(0, 0, 0, 525)
  679. cmd25.Size = UDim2.new(0, 500, 0, 25)
  680. cmd25.BackgroundColor3= Color3.new(0,0,0)
  681. cmd25.TextColor3 = Color3.new(170,0,0)
  682. cmd25.FontSize = 5
  683. cmd25.Text = Prefix .. "gear <id>"
  684. cmd25.ZIndex = 0
  685.  
  686. local cmd26 = Instance.new("TextLabel")
  687. cmd26.Parent = scrollingFrame
  688. cmd26.Position = UDim2.new(0, 0, 0, 550)
  689. cmd26.Size = UDim2.new(0, 500, 0, 25)
  690. cmd26.BackgroundColor3= Color3.new(0,0,0)
  691. cmd26.TextColor3 = Color3.new(170,0,0)
  692. cmd26.FontSize = 5
  693. cmd26.Text = Prefix .. "tp <plr>"
  694. cmd26.ZIndex = 0
  695.  
  696. local cmd27 = Instance.new("TextLabel")
  697. cmd27.Parent = scrollingFrame
  698. cmd27.Position = UDim2.new(0, 0, 0, 575)
  699. cmd27.Size = UDim2.new(0, 500, 0, 25)
  700. cmd27.BackgroundColor3= Color3.new(0,0,0)
  701. cmd27.TextColor3 = Color3.new(170,0,0)
  702. cmd27.FontSize = 5
  703. cmd27.Text = Prefix .. "btools <plr>"
  704. cmd27.ZIndex = 0
  705.  
  706. local cmd28 = Instance.new("TextLabel")
  707. cmd28.Parent = scrollingFrame
  708. cmd28.Position = UDim2.new(0, 0, 0, 600)
  709. cmd28.Size = UDim2.new(0, 500, 0, 25)
  710. cmd28.BackgroundColor3= Color3.new(0,0,0)
  711. cmd28.TextColor3 = Color3.new(170,0,0)
  712. cmd28.FontSize = 5
  713. cmd28.Text = Prefix .. "pitch <n>"
  714. cmd28.ZIndex = 0
  715.  
  716. local cmd29 = Instance.new("TextLabel")
  717. cmd29.Parent = scrollingFrame
  718. cmd29.Position = UDim2.new(0, 0, 0, 625)
  719. cmd29.Size = UDim2.new(0, 500, 0, 25)
  720. cmd29.BackgroundColor3= Color3.new(0,0,0)
  721. cmd29.TextColor3 = Color3.new(170,0,0)
  722. cmd29.FontSize = 5
  723. cmd29.Text = Prefix .. "volume <n>"
  724. cmd29.ZIndex = 0
  725. end
  726. end)
  727.  
  728.  
  729.  
  730. Admins.Chatted:connect(function(msg)
  731. if msg:lower() == Prefix .. "console show" then
  732. sg = Instance.new('ScreenGui', Admins.PlayerGui)
  733. fm = Instance.new('Frame', sg)
  734. fm.Selectable = true
  735. fm.Size = UDim2.new(0,400,0,300)
  736. fm.BackgroundColor3 = Color3.new(0,0,0)
  737. fm.BorderSizePixel = 4
  738. fm.BorderColor3 = Color3.new(255,255,255)
  739. fm.Position = UDim2.new(0.395,0,0.3,0)
  740. txt = Instance.new('TextLabel', fm)
  741. txt.Size = UDim2.new(0,400,0,25)
  742. txt.Text = "~Game Console~"
  743. txt.FontSize = Enum.FontSize.Size18
  744. txt.TextColor3 = Color3.new(255,255,255)
  745. txt.BackgroundColor3 = Color3.new(0,0,0)
  746. txt.BorderSizePixel = 4
  747. txt.BorderColor3 = Color3.new(255,255,255)
  748. box = Instance.new('TextBox', fm)
  749. box.Position = UDim2.new(0,50,0,50)
  750. box.Size = UDim2.new(0,300,0,200)
  751. box.BackgroundColor3 = Color3.new(0,0,0)
  752. box.BorderSizePixel = 4
  753. box.BorderColor3 = Color3.new(255,255,255)
  754. box.TextColor3 = Color3.new(255,255,255)
  755. box.ClearTextOnFocus = false
  756. box.MultiLine = true
  757. box.TextXAlignment = 'Left'
  758. box.TextWrapped = true
  759. box.TextYAlignment = 'Top'
  760. box.Text = 'Click clear to clear the text or remove me by holding backspace!'
  761. load1 = Instance.new('TextButton', box)
  762. load1.Size = UDim2.new(0,200,0,25)
  763. load1.Position = UDim2.new(0,50,0,213)
  764. load1.BackgroundColor3 = Color3.new(0, 170, 0)
  765. load1.TextColor3 = Color3.new(0,0,0)
  766. load1.BorderSizePixel = 4
  767. load1.BorderColor3 = Color3.new(255,255,255)
  768. load1.Text = "Execute!"
  769. load1.MouseButton1Click:connect(function()
  770. loadstring(box.Text)()
  771. end)
  772. clr = Instance.new('TextButton', box)
  773. clr.Size = UDim2.new(0,50,0,25)
  774. clr.Position = UDim2.new(0,275,0,213)
  775. clr.BackgroundColor3 = Color3.new(170,0,0)
  776. clr.TextColor3 = Color3.new(0,0,0)
  777. clr.BorderSizePixel = 4
  778. clr.BorderColor3 = Color3.new(255,255,255)
  779. clr.Text = "Clear!"
  780. clr.MouseButton1Click:connect(function()
  781. box.Text = ''
  782. box:CaptureFocus()
  783. end)
  784. end
  785. end)
  786.  
  787. Admins.Chatted:connect(function(msg)
  788. if msg:lower() == Prefix .. "console hide" then
  789. fm:Destroy()
  790. end
  791. end)
  792.  
  793. Admins.Chatted:connect(function(msg)
  794. if msg:lower():sub(1, 5) == Prefix .. "kill" then
  795. for index, player in pairs(Players:GetPlayers()) do
  796. player.Name:lower():sub(1, #msg:sub(7))
  797. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  798. pcall(function()
  799. player.Character.Humanoid.Health = 0
  800. end)
  801. end
  802. end
  803. end
  804. end)
  805.  
  806. Admins.Chatted:connect(function(msg)
  807. if msg:lower() == Prefix .. "kill me" then
  808. Admins.Character.Humanoid.Health = 0
  809. end
  810. end)
  811.  
  812. Admins.Chatted:connect(function(msg)
  813. if msg:lower() == Prefix .. "kill all" then
  814. for i,v in pairs(game.Players:children()) do
  815. v.Character.Humanoid.Health = 0
  816. end
  817. end
  818. end)
  819.  
  820.  
  821. Admins.Chatted:connect(function(msg)
  822. if msg:lower():sub(1, 5) == Prefix .. "kick" then
  823. for index, player in pairs(Players:GetPlayers()) do
  824. player.Name:lower():sub(1, #msg:sub(7))
  825. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  826. pcall(function()
  827. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(player,{string.rep("getkickedbro?",2e5+5)})
  828. end)
  829. end
  830. end
  831. end
  832. end)
  833.  
  834. Admins.Chatted:connect(function(msg)
  835. if msg:lower() == Prefix .. "kick me" then
  836. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(Admins,{string.rep("getkickedbro?",2e5+5)})
  837. end
  838. end)
  839.  
  840. Admins.Chatted:connect(function(msg)
  841. if msg:lower() == Prefix .. "kick all" then
  842. for i,v in pairs(game.Players:children()) do
  843. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("getkickedbro?",2e5+5)})
  844. end
  845. end
  846. end)
  847.  
  848.  
  849. Admins.Chatted:connect(function(msg)
  850. if msg:lower():sub(1,4) == Prefix .. "ban" then
  851. for index, player1 in pairs(Players:GetPlayers()) do
  852. player1.Name:lower():sub(1, #msg:sub(6))
  853. if player1.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
  854. pcall(function()
  855. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(player1,{string.rep("getkickedbro?",2e5+5)})
  856. if game.Players:FindFirstChild(player1.Name) then
  857. ban=Instance.new('StringValue',folder)
  858. ban.Name = player1.Name
  859. ban.Value = player1.Name
  860. end
  861. end)
  862. end
  863. end
  864. end
  865. end)
  866.  
  867.  
  868. Admins.Chatted:connect(function(msg)
  869. if msg:lower() == Prefix .. "ban me" then
  870. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(Admins,{string.rep("getkickedbro?",2e5+5)})
  871. if game.Players:FindFirstChild(Admins.Name) then
  872. ban=Instance.new('StringValue',folder)
  873. ban.Name = Admins.Name
  874. ban.Value = Admins.Name
  875. end
  876. end
  877. end)
  878.  
  879. Admins.Chatted:connect(function(msg)
  880. if msg:lower() == Prefix .. "ban all" then
  881. for i,v in pairs(game.Players:children()) do
  882. local getrekt=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("getkickedbro?",2e5+5)})
  883. if game.Players:FindFirstChild(v.Name) then
  884. ban=Instance.new('StringValue',folder)
  885. ban.Name = v.Name
  886. ban.Value = v.Name
  887. end
  888. end
  889. end
  890. end)
  891.  
  892.  
  893.  
  894. Admins.Chatted:connect(function(msg)
  895. if msg:lower():sub(1, 8) == Prefix .. "explode" then
  896. for index, player in pairs(Players:GetPlayers()) do
  897. player.Name:lower():sub(1, #msg:sub(10))
  898. if player.Name:lower():sub(1, #msg:sub(10)) == msg:sub(10):lower() then
  899. pcall(function()
  900. ex = Instance.new("Explosion", game.Workspace)
  901. ex.Position = player.Character.Torso.Position
  902. end)
  903. end
  904. end
  905. end
  906. end)
  907.  
  908. Admins.Chatted:connect(function(msg)
  909. if msg:lower() == Prefix .. "explode me" then
  910. ex1 = Instance.new("Explosion", game.Workspace)
  911. ex1.Position = Admins.Character.Torso.Position
  912. end
  913. end)
  914.  
  915. Admins.Chatted:connect(function(msg)
  916. if msg:lower() == Prefix .. "explode all" then
  917. for i,v in pairs(game.Players:children()) do
  918. ex1 = Instance.new("Explosion", game.Workspace)
  919. ex1.Position = v.Character.Torso.Position
  920. end
  921. end
  922. end)
  923.  
  924.  
  925. Admins.Chatted:connect(function(msg)
  926. if msg:lower():sub(1,4) == Prefix .. "exe" then
  927. loadstring(msg:sub(5,#msg))()
  928. end
  929. end)
  930.  
  931.  
  932. Admins.Chatted:connect(function(msg)
  933. if msg:lower():sub(1, 3) == Prefix .. "ff" then
  934. for index, player in pairs(Players:GetPlayers()) do
  935. player.Name:lower():sub(1, #msg:sub(5))
  936. if player.Name:lower():sub(1, #msg:sub(5)) == msg:sub(5):lower() then
  937. pcall(function()
  938. Instance.new("ForceField", player.Character)
  939. end)
  940. else
  941. end
  942. end
  943. end
  944. end)
  945.  
  946.  
  947. Admins.Chatted:connect(function(msg)
  948. if msg:lower():sub(1, 5) == Prefix .. "unff" then
  949. for index, player in pairs(Players:GetPlayers()) do
  950. player.Name:lower():sub(1, #msg:sub(7))
  951. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  952. pcall(function()
  953. while true do
  954. player.Character.ForceField:Destroy()
  955. end
  956. end)
  957. end
  958. end
  959. end
  960. end)
  961.  
  962.  
  963. Admins.Chatted:connect(function(msg)
  964. if msg:lower() == Prefix .. "ff me" then
  965. Instance.new("ForceField", Admins.Character)
  966. end
  967. end)
  968.  
  969. Admins.Chatted:connect(function(msg)
  970. if msg:lower() == Prefix .. "unff me" then
  971. while true do
  972. Admins.Character.ForceField:Destroy()
  973. end
  974. end
  975. end)
  976.  
  977. Admins.Chatted:connect(function(msg)
  978. if msg:lower() == Prefix .. "ff all" then
  979. for i,v in pairs(game.Players:children()) do
  980. Instance.new("ForceField", v.Character)
  981. end
  982. end
  983. end)
  984.  
  985. Admins.Chatted:connect(function(msg)
  986. if msg:lower() == Prefix .. "unff all" then
  987. for i,v in pairs(game.Players:GetChildren()) do
  988. if v and v.Character then
  989. for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
  990. end
  991. end
  992. end
  993. end)
  994.  
  995.  
  996.  
  997.  
  998. Admins.Chatted:connect(function(msg)
  999. if msg:lower():sub(1, 4) == Prefix .. "god" then
  1000. for index, player in pairs(Players:GetPlayers()) do
  1001. player.Name:lower():sub(1, #msg:sub(6))
  1002. if player.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
  1003. pcall(function()
  1004. player.Character.Humanoid.MaxHealth = math.huge
  1005. end)
  1006. else
  1007. end
  1008. end
  1009. end
  1010. end)
  1011.  
  1012.  
  1013. Admins.Chatted:connect(function(msg)
  1014. if msg:lower():sub(1, 6) == Prefix .. "ungod" then
  1015. for index, player in pairs(Players:GetPlayers()) do
  1016. player.Name:lower():sub(1, #msg:sub(8))
  1017. if player.Name:lower():sub(1, #msg:sub(8)) == msg:sub(8):lower() then
  1018. pcall(function()
  1019. player.Character.Humanoid.MaxHealth = 100
  1020. end)
  1021. end
  1022. end
  1023. end
  1024. end)
  1025.  
  1026.  
  1027. Admins.Chatted:connect(function(msg)
  1028. if msg:lower() == Prefix .. "god me" then
  1029. Admins.Character.Humanoid.MaxHealth = math.huge
  1030. end
  1031. end)
  1032.  
  1033. Admins.Chatted:connect(function(msg)
  1034. if msg:lower() == Prefix .. "ungod me" then
  1035. while true do
  1036. Admins.Character.Humanoid.MaxHealth = 100
  1037. end
  1038. end
  1039. end)
  1040.  
  1041. Admins.Chatted:connect(function(msg)
  1042. if msg:lower() == Prefix .. "god all" then
  1043. for i,v in pairs(game.Players:children()) do
  1044. v.Character.Humanoid.MaxHealth = math.huge
  1045. end
  1046. end
  1047. end)
  1048.  
  1049. Admins.Chatted:connect(function(msg)
  1050. if msg:lower() == Prefix .. "ungod all" then
  1051. for i,v in pairs(game.Players:GetChildren()) do
  1052. v.Character.Humanoid.MaxHealth = 100
  1053. end
  1054. end
  1055. end)
  1056.  
  1057.  
  1058.  
  1059.  
  1060. Admins.Chatted:connect(function(msg)
  1061. if msg:lower():sub(1, 8) == Prefix .. "respawn" then
  1062. for index, player in pairs(Players:GetPlayers()) do
  1063. player.Name:lower():sub(1, #msg:sub(10))
  1064. if player.Name:lower():sub(1, #msg:sub(10)) == msg:sub(10):lower() then
  1065. pcall(function()
  1066. player:LoadCharacter()
  1067. end)
  1068. end
  1069. end
  1070. end
  1071. end)
  1072.  
  1073. Admins.Chatted:connect(function(msg)
  1074. if msg:lower() == Prefix .. "respawn me" then
  1075. Admins:LoadCharacter()
  1076. end
  1077. end)
  1078.  
  1079. Admins.Chatted:connect(function(msg)
  1080. if msg:lower() == Prefix .. "respawn all" then
  1081. for i,v in pairs(game.Players:children()) do
  1082. v:LoadCharacter()
  1083. end
  1084. end
  1085. end)
  1086.  
  1087.  
  1088. Admins.Chatted:connect(function(msg)
  1089. if msg:lower():sub(1, 4) == Prefix .. "lag" then
  1090. for index, player in pairs(Players:GetPlayers()) do
  1091. player.Name:lower():sub(1, #msg:sub(6))
  1092. if player.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
  1093. pcall(function()
  1094. for i = 1,10000 do
  1095. if player and player:findFirstChild("Backpack") then
  1096. local t1 = Instance.new("HopperBin", player.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1097. local t2 = Instance.new("HopperBin", player.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1098. local t3 = Instance.new("HopperBin", player.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1099. local t4= Instance.new("HopperBin", player.Backpack) t4.Name = "Resize"
  1100. end
  1101. end
  1102. end)
  1103. end
  1104. end
  1105. end
  1106. end)
  1107.  
  1108. Admins.Chatted:connect(function(msg)
  1109. if msg:lower() == Prefix .. "lag me" then
  1110. for i = 1,1000000 do
  1111. if Admins and Admins:findFirstChild("Backpack") then
  1112. local t1 = Instance.new("HopperBin", Admins.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1113. local t2 = Instance.new("HopperBin", Admins.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1114. local t3 = Instance.new("HopperBin", Admins.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1115. local t4= Instance.new("HopperBin", Admins.Backpack) t4.Name = "Resize"
  1116. end
  1117. end
  1118. end
  1119. end)
  1120.  
  1121. Admins.Chatted:connect(function(msg)
  1122. if msg:lower() == Prefix .. "lag all" then
  1123. for i,v in pairs(game.Players:children()) do
  1124. for i = 1,10000 do
  1125. if v and v:findFirstChild("Backpack") then
  1126. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1127. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1128. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1129. local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  1130. end
  1131. end
  1132. end
  1133. end
  1134. end)
  1135.  
  1136.  
  1137. Admins.Chatted:connect(function(msg)
  1138. if msg:lower():sub(1, 12) == Prefix .. "removetools" then
  1139. for index, player in pairs(Players:GetPlayers()) do
  1140. player.Name:lower():sub(1, #msg:sub(14))
  1141. if player.Name:lower():sub(1, #msg:sub(14)) == msg:sub(14):lower() then
  1142. pcall(function()
  1143. if Admins and Admins.Character and Admins:findFirstChild("Backpack") then
  1144. for a, tool in pairs(player.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1145. for a, tool in pairs(player.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1146. end
  1147. end)
  1148. end
  1149. end
  1150. end
  1151. end)
  1152.  
  1153. Admins.Chatted:connect(function(msg)
  1154. if msg:lower() == Prefix .. "removetools me" then
  1155. if Admins and Admins.Character and Admins:findFirstChild("Backpack") then
  1156. for a, tool in pairs(Admins.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1157. for a, tool in pairs(Admins.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1158. end
  1159. end
  1160. end)
  1161.  
  1162. Admins.Chatted:connect(function(msg)
  1163. if msg:lower() == Prefix .. "removetools all" then
  1164. for i,v in pairs(game.Players:children()) do
  1165. if v and v.Character and v:findFirstChild("Backpack") then
  1166. for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1167. for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1168. end
  1169. end
  1170. end
  1171. end)
  1172.  
  1173. Admins.Chatted:connect(function(msg)
  1174. if msg:lower():sub(1, 4) == Prefix .. "sit" then
  1175. for index, player in pairs(Players:GetPlayers()) do
  1176. player.Name:lower():sub(1, #msg:sub(6))
  1177. if player.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
  1178. pcall(function()
  1179. player.Character.Humanoid.Sit = true
  1180. end)
  1181. end
  1182. end
  1183. end
  1184. end)
  1185.  
  1186. Admins.Chatted:connect(function(msg)
  1187. if msg:lower() == Prefix .. "sit me" then
  1188. Admins.Character.Humanoid.Sit = true
  1189. end
  1190. end)
  1191.  
  1192. Admins.Chatted:connect(function(msg)
  1193. if msg:lower() == Prefix .. "sit all" then
  1194. for i,v in pairs(game.Players:children()) do
  1195. v.Character.Humanoid.Sit = true
  1196. end
  1197. end
  1198. end)
  1199.  
  1200. Admins.Chatted:connect(function(msg)
  1201. if msg:lower():sub(1, 5) == Prefix .. "jump" then
  1202. for index, player in pairs(Players:GetPlayers()) do
  1203. player.Name:lower():sub(1, #msg:sub(7))
  1204. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  1205. pcall(function()
  1206. player.Character.Humanoid.Jump = true
  1207. end)
  1208. end
  1209. end
  1210. end
  1211. end)
  1212.  
  1213. Admins.Chatted:connect(function(msg)
  1214. if msg:lower() == Prefix .. "jump me" then
  1215. Admins.Character.Humanoid.Jump = true
  1216. end
  1217. end)
  1218.  
  1219. Admins.Chatted:connect(function(msg)
  1220. if msg:lower() == Prefix .. "jump all" then
  1221. for i,v in pairs(game.Players:children()) do
  1222. v.Character.Humanoid.Jump = true
  1223. end
  1224. end
  1225. end)
  1226.  
  1227. Admins.Chatted:connect(function(msg)
  1228. if msg:lower():sub(1, 5) == Prefix .. "bruh" then
  1229. for index, player in pairs(Players:GetPlayers()) do
  1230. player.Name:lower():sub(1, #msg:sub(7))
  1231. if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
  1232. pcall(function()
  1233. pp1 = Instance.new("Sound", player.Character.Torso)
  1234. pp1.SoundId = "http://www.roblox.com/asset/?id=170040190"
  1235. pp1.Volume = 100
  1236. pp1.Pitch = 1
  1237. pp1.Looped = false
  1238. pp1:Play()
  1239. wait(0.9)
  1240. player.Character.Humanoid.PlatformStand = true
  1241. end)
  1242. end
  1243. end
  1244. end
  1245. end)
  1246.  
  1247. Admins.Chatted:connect(function(msg)
  1248. if msg:lower() == Prefix .. "bruh me" then
  1249. pp1 = Instance.new("Sound", Admins.Character.Torso)
  1250. pp1.SoundId = "http://www.roblox.com/asset/?id=170040190"
  1251. pp1.Volume = 100
  1252. pp1.Pitch = 1
  1253. pp1.Looped = false
  1254. pp1:Play()
  1255. wait(0.9)
  1256. Admins.Character.Humanoid.PlatformStand = true
  1257. end
  1258. end)
  1259.  
  1260. Admins.Chatted:connect(function(msg)
  1261. if msg:lower() == Prefix .. "bruh all" then
  1262. for i,v in pairs(game.Players:children()) do
  1263. pp1 = Instance.new("Sound", v.Character.Torso)
  1264. pp1.SoundId = "http://www.roblox.com/asset/?id=170040190"
  1265. pp1.Volume = 100
  1266. pp1.Pitch = 1
  1267. pp1.Looped = false
  1268. pp1:Play()
  1269. wait(0.9)
  1270. v.Character.Humanoid.PlatformStand = true
  1271. end
  1272. end
  1273. end)
  1274.  
  1275.  
  1276. Admins.Chatted:connect(function(msg)
  1277. if msg:lower():sub(1,3) == Prefix .. "ws" then
  1278. Admins.Character.Humanoid.WalkSpeed = msg:sub(4,#msg)
  1279. end
  1280. end)
  1281.  
  1282.  
  1283. Admins.Chatted:connect(function(msg)
  1284. if msg:lower():sub(1,5) == Prefix .. "gear" then
  1285. game:service'InsertService':LoadAsset(tonumber(msg:sub(6,#msg))):children()[1].Parent = Admins.Backpack
  1286. end
  1287. end)
  1288.  
  1289. Admins.Chatted:connect(function(msg)
  1290. if msg:lower():sub(1, 3) == Prefix .. "tp" then
  1291. for index, player in pairs(Players:GetPlayers()) do
  1292. player.Name:lower():sub(1, #msg:sub(5))
  1293. if player.Name:lower():sub(1, #msg:sub(5)) == msg:sub(5):lower() then
  1294. pcall(function()
  1295. Admins.Character.Torso.CFrame = player.Character.Torso.CFrame
  1296. end)
  1297. end
  1298. end
  1299. end
  1300. end)
  1301.  
  1302.  
  1303.  
  1304. Admins.Chatted:connect(function(msg)
  1305. if msg:lower():sub(1,6) == "!music" then
  1306. findsong = 'BadLukeeSoundsz'
  1307. if workspace.Terrain:FindFirstChild(findsong) then
  1308. game.Debris:AddItem(workspace.Terrain[findsong],0)
  1309. end
  1310. sd=Instance.new('Sound',workspace.Terrain)
  1311. sd.SoundId = "http://www.roblox.com/asset/?id="..msg:sub(7,#msg)
  1312. sd.Volume = 10
  1313. sd.Name = 'BadLukeeSoundsz'
  1314. sd.Pitch = 1
  1315. sd.Looped = true
  1316. sd:play()
  1317.  
  1318. if string.find(msg:lower():sub(7,#msg),'watcha') then
  1319. sd.SoundId = "http://www.roblox.com/asset/?id=177681012"
  1320. end
  1321.  
  1322. if string.find(msg:lower():sub(7,#msg),'lean') then
  1323. sd.SoundId = "http://www.roblox.com/asset/?id=328474897"
  1324. end
  1325.  
  1326. if string.find(msg:lower():sub(7,#msg),'baby') then
  1327. sd.SoundId = "http://www.roblox.com/asset/?id=130841252"
  1328. end
  1329.  
  1330. if string.find(msg:lower():sub(7,#msg),'moonman') then
  1331. sd.SoundId = "http://www.roblox.com/asset/?id=340924386"
  1332. end
  1333.  
  1334. if string.find(msg:lower():sub(7,#msg),'hello') then
  1335. sd.SoundId = "http://www.roblox.com/asset/?id=313694441"
  1336. end
  1337.  
  1338. if string.find(msg:lower():sub(7,#msg),'waves') then
  1339. sd.SoundId = "http://www.roblox.com/asset/?id=253545802"
  1340. end
  1341.  
  1342. if string.find(msg:lower():sub(7,#msg),'cake') then
  1343. sd.SoundId = "http://www.roblox.com/asset/?id=313144336"
  1344. end
  1345. end
  1346.  
  1347. if msg:lower():sub(1,6) == Prefix .. "pitch" then
  1348.         sd.Pitch = msg:sub(7,#msg)
  1349. end
  1350.  
  1351. if msg:lower():sub(1,7) == Prefix .. "volume" then
  1352.         sd.Volume = msg:sub(8,#msg)
  1353. end
  1354. end)
  1355.  
  1356. Admins.Chatted:connect(function(msg)
  1357. if msg:lower() == Prefix .. "pri" then
  1358. game.Players.PlayerAdded:connect(function(player)
  1359. repeat until player.Character wait()
  1360. player:Destroy()
  1361. end)
  1362. end
  1363. end)
  1364.  
  1365. Admins.Chatted:connect(function(msg)
  1366. if msg:lower():sub(1, 7) == Prefix .. "btools" then
  1367. for index, player in pairs(Players:GetPlayers()) do
  1368. player.Name:lower():sub(1, #msg:sub(9))
  1369. if player.Name:lower():sub(1, #msg:sub(9)) == msg:sub(9):lower() then
  1370. pcall(function()
  1371. if player and player:findFirstChild("Backpack") then
  1372. local t1 = Instance.new("HopperBin", player.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1373. local t2 = Instance.new("HopperBin", player.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1374. local t3 = Instance.new("HopperBin", player.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1375. local t4= Instance.new("HopperBin", player.Backpack) t4.Name = "Resize"
  1376. end
  1377. end)
  1378. end
  1379. end
  1380. end
  1381. end)
  1382.  
  1383. Admins.Chatted:connect(function(msg)
  1384. if msg:lower() == Prefix .. "btools me" then
  1385. if Admins and Admins:findFirstChild("Backpack") then
  1386. local t1 = Instance.new("HopperBin", Admins.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1387. local t2 = Instance.new("HopperBin", Admins.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1388. local t3 = Instance.new("HopperBin", Admins.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1389. local t4= Instance.new("HopperBin", Admins.Backpack) t4.Name = "Resize"
  1390. end
  1391. end
  1392. end)
  1393.  
  1394. Admins.Chatted:connect(function(msg)
  1395. if msg:lower() == Prefix .. "btools all" then
  1396. for i,v in pairs(game.Players:children()) do
  1397. if v and v:findFirstChild("Backpack") then
  1398. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1399. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1400. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1401. local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  1402. end
  1403. end
  1404. end
  1405. end)
  1406.  
  1407. function Orb()
  1408. admin = Admins.Name
  1409. orbnd=Instance.new('Model',workspace)
  1410. Instance.new('Humanoid',orbnd)
  1411. p = Instance.new("Part", orbnd)
  1412. p.BrickColor = BrickColor.new("Really black")
  1413. p.Size = Vector3.new(1,1,1)
  1414. p.Shape = "Ball"
  1415. p.Material = Enum.Material.Neon
  1416. p.Anchored = true
  1417. p.Name = "BsOrb"
  1418. p.Locked = true
  1419. p.CanCollide = false
  1420. end
  1421.  
  1422. Orb()
  1423.  
  1424. game:GetService('RunService').Stepped:connect(function ()
  1425. if not workspace:FindFirstChild(Admins.Name) then
  1426. Orb()
  1427. end
  1428. end)
  1429.  
  1430. game:GetService('RunService').Stepped:connect(function()
  1431. if not orbnd:FindFirstChild("BsOrb") then
  1432. Orb()
  1433. end
  1434. end)
  1435.  
  1436. 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)
  1437. for i = 1,math.huge,Speed do wait()
  1438. if workspace:FindFirstChild(Admins.Name) then
  1439. p.CFrame = CFrame.new(Admins.Character.Torso.Position) * CFrame.fromEulerAnglesXYZ(math.sin(i),math.abs(i),math.sin(i)) * CFrame.new(0,0,-6)
  1440. p2 = Instance.new("Part", p)
  1441. p2.CFrame = p.CFrame * CFrame.new(0,0,0)
  1442. p2.FormFactor = Enum.FormFactor.Custom
  1443. p2.Size = Vector3.new(0.3,0.3,0.3)
  1444. p2.BrickColor = BrickColor.new("Really black")
  1445. p2.Transparency = 0.3
  1446. p2.CanCollide = false
  1447. p2.Anchored = true
  1448. p2.Material = Enum.Material.Neon
  1449. game.Debris:AddItem(p2,1)
  1450. end
  1451. end
  1452.  
  1453. game:GetService('RunService').Stepped:connect(function()
  1454. for i,v in pairs(Players:children()) do
  1455. if v.Name==Banned and v.Name~={game.Players.LocalPlayer.Name} then
  1456. v:remove()
  1457. end            
  1458. end
  1459. end)
  1460.  
  1461. Players.PlayerAdded:connect(function(player) do
  1462. if player.Name==Banned then
  1463. banplr=Instance.new('RemoteEvent',workspace):FireClient(player,{string.rep("Gettingbanformationbro?",2e5+5)})
  1464. game.Debris:AddItem(banplr,1)
  1465. end
  1466. end
  1467. end)
  1468.         end)
  1469. --
  1470. local button = Instance.new("TextButton")
  1471.         button.Parent = acg
  1472.         button.BackgroundColor3 = blak
  1473.         button.BorderColor3 = rede
  1474.         button.BorderSizePixel = 3
  1475.         button.Name = "Kohls Admin"
  1476.         button.Position = UDim2.new(0.5,3,0,33)
  1477.         button.Size = UDim2.new(0.5,-3,0,30)
  1478.         button.ZIndex = 2
  1479.         button.Font = tef
  1480.         button.FontSize = "Size14"
  1481.         button.Text = "Rocky2u's Project Duck"
  1482.         button.TextColor3 = whit
  1483.         button.TextWrapped = true
  1484.         button.MouseButton1Down:connect(function()
  1485. --[[
  1486. ---------------------------------------------------------------
  1487. |   _____           _           _     _____             _      |
  1488. |  |  __ \         (_)         | |   |  __ \           | |     |
  1489. |  | |__) | __ ___  _  ___  ___| |_  | |  | |_   _  ___| | __  |
  1490. |  |  ___/ '__/ _ \| |/ _ \/ __| __| | |  | | | | |/ __| |/ /  |
  1491. |  | |   | | | (_) | |  __/ (__| |_  | |__| | |_| | (__|   <   |
  1492. |  |_|   |_|  \___/| |\___|\___|\__| |_____/ \__,_|\___|_|\_\  |
  1493. |                 _/ |                                         |
  1494. |                |__/                                          |
  1495. ---------------------------------------------------------------
  1496. --]]
  1497.  
  1498. -- SethMilkman --
  1499.  
  1500. --| Thanks ROBLOX, for removing GetObjects |--
  1501.  
  1502. local Player = game.Players.LocalPlayer
  1503. local Mouse = Player:GetMouse()
  1504. local char = Player.Character
  1505.  
  1506. local gPlayers = game:GetService("Players")
  1507. local admin = gPlayers.LocalPlayer.Name
  1508.  
  1509. local services={}
  1510. local cmds={}
  1511. local std={}
  1512.  
  1513. local Version = '1.0.2'
  1514.  
  1515. wait(0.1)
  1516.  
  1517. services.players=gPlayers
  1518. services.lighting=game:GetService('Lighting')
  1519. services.workspace=game:GetService('Workspace')
  1520. services.events = {}
  1521. local user = gPlayers.LocalPlayer
  1522.  
  1523. local cmdprefix=';'
  1524. local scriptprefix='\\'
  1525. local split=" "
  1526.  
  1527. --| Ban Data |--
  1528.  
  1529. local BanFolder = Instance.new("Fire", game.ContextActionService)
  1530. BanFolder.Name = "BanList"
  1531. BanFolder.RobloxLocked = true
  1532. _G.Banned = function(Ban)
  1533.         local SValue = Instance.new("StringValue", BanFolder)
  1534.         SValue.Value = Ban
  1535.         SValue.RobloxLocked = true
  1536. end
  1537.  
  1538. BannedPlayers = {
  1539.         'KrystalTeam', -- For banning me.
  1540.         'LordCrazy13', -- You're fucking annoying.
  1541.         'CRICKET69'
  1542. }
  1543.  
  1544. --| Tables |--
  1545.  
  1546. --| Admins |--
  1547.  
  1548. local AdminFolder = Instance.new("Folder", game.ContextActionService)
  1549. AdminFolder.Name = "AdminList"
  1550. AdminFolder.RobloxLocked = true
  1551. _G.Admin = function(Admin)
  1552.         local SValue = Instance.new("StringValue", AdminFolder)
  1553.         SValue.Value = Admin
  1554.         SValue.RobloxLocked = true
  1555. end
  1556.  
  1557. -- These are my friends that don't have Seven, remove then off the list if you'd like.
  1558. local admins = {
  1559.         'guestpro1',
  1560.         'THEGAMINGTRTLE',
  1561.         'JackLikesBugs',
  1562.         'JoshuaAsencio'
  1563. }
  1564.  
  1565. --| CMD List |--
  1566.  
  1567. CMDs = {
  1568.         '1. ff player',
  1569.         '2. noff player',
  1570.         '3. fire player',
  1571.         '4. nofire player',
  1572.         '5. sp player',
  1573.         '6. nosp player',
  1574.         '7. smoke player',
  1575.         '8. nosmoke player',
  1576.         '9. btools player',
  1577.         '10. god player',
  1578.         '11. sgod player',
  1579.         '12. ungod player',
  1580.         '13. heal player',
  1581.         '14. freeze player',
  1582.         '15. thaw player',
  1583.         '16. kill player',
  1584.         '17. sound',
  1585.         '18. volume',
  1586.         '19. pitch',
  1587.         '20. explode player',
  1588.         '21. invis player',
  1589.         '22. vis player',
  1590.         '23. goto player',
  1591.         '24. bring player',
  1592.         '25. tp player',
  1593.         '26. charapp player',
  1594.         '27. ws player',
  1595.         '28. time',
  1596.         '29. kick player',
  1597.         '30. ban player',
  1598.         '31. unlockws',
  1599.         '32. unanchorws',
  1600.         '33. hat player',
  1601.         '34. gear player',
  1602.         '35. pstools player',
  1603.         '36. skick player',
  1604.         '37. admin player',
  1605.         '38. unadmin player',
  1606.         '39. firstp player',
  1607.         '40. thirdp player',
  1608.         '41. chat player',
  1609.         '42. insert',
  1610.         '43. name player',
  1611.         '44. unname player',
  1612.         '45. stun player',
  1613.         '46. unstun player',
  1614.         '47. sit player',
  1615.         '48. guest player',
  1616.         '49. damage player',
  1617.         '50. view player',
  1618.         '51. unview player',
  1619.         '52. nolimbs player',
  1620.         '53. box player 1012',
  1621.         '54. nobox player',
  1622.         '55. ghost player',
  1623.         '56. sphere player',
  1624.         '57. loadmap',
  1625.         '58. sky',
  1626.         '59. ambient',
  1627.         '60. gui',
  1628.         '61. jail player',
  1629.         '62. unjail player',
  1630.         '63. shutdown',
  1631.         '64. animation player',
  1632.         '65. fix player',
  1633.         '66. creeper player',
  1634.         '67. uncreeper player',
  1635.         '68. shrek player',
  1636.         '69. unshrek player',
  1637.         '70. spam',
  1638.         '71. nospam',
  1639.         '72. control player',
  1640.         '73. nuke player',
  1641.         '74. infect player',
  1642.         '75. uninfect player',
  1643.         '76. duck player',
  1644.         '77. unduck player',
  1645.         '78. disable player',
  1646.         '79. enable player',
  1647.         '80. size player',
  1648.         '81. confuse player',
  1649.         '82. unconfuse player',
  1650.         '83. clone player',
  1651.         '84. spin player',
  1652.         '85. unspin player',
  1653.         '86. dog player',
  1654.         '87. undog player',
  1655.         '88. tptool',
  1656.         '89. loopsit player',
  1657.         '90. unloopsit player',
  1658.         '91. loopjump player',
  1659.         '92. unloopjump player',
  1660.         '93. loopheal player',
  1661.         '94. unloopheal player',
  1662.         '95. fling player',
  1663.         '96. ayylmao player',
  1664.         '97. nograv player',
  1665.         '98. grav player',
  1666.         '99. seizure player',
  1667.         '100. unseizure player',
  1668.         '101. cape 1012',
  1669.         '102. uncape',
  1670.         '103. paper player',
  1671.         '104. punish player',
  1672.         '105. unpunish player',
  1673.         '106. disco',
  1674.         '107. undisco',
  1675.         '- float player',
  1676.         '- unfloat player',
  1677.         '- noclip',
  1678.         '- clip',
  1679.         '- prefix <string>',
  1680.         '- admins',
  1681.         '- bans',
  1682.         '- cmds',
  1683.         '- version'
  1684. }
  1685.  
  1686. --| Lib |--
  1687.  
  1688. updateevents=function()
  1689.         for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
  1690.         for i,v in pairs(gPlayers:players())do
  1691.                 local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
  1692.                 services.events[#services.events+1] = ev
  1693.         end
  1694. end
  1695.  
  1696. std.inTable=function(tbl,val)
  1697.     if tbl==nil then return false end
  1698.  
  1699.     for _,v in pairs(tbl)do
  1700.         if v==val then return true end
  1701.     end
  1702.         return false
  1703. end
  1704.  
  1705. std.out=function(str)
  1706.     print(str)
  1707. end
  1708.  
  1709. std.list=function(tbl)
  1710.     local str=''
  1711.     for i,v in pairs(tbl)do
  1712.         str=str..tostring(v)
  1713.         if i~=#tbl then str=str..', ' end
  1714.     end
  1715.         return str
  1716. end
  1717.  
  1718. std.endat=function(str,val)
  1719.     local z=str:find(val)
  1720.     if z then
  1721.                 return str:sub(0,z-string.len(val)),true
  1722.     else
  1723.                 return str,false
  1724.         end
  1725. end
  1726.  
  1727. std.first=function(str) return str:sub(1,1) end
  1728.  
  1729. isAdmin=function(name)
  1730.     if name==admin then
  1731.         return true
  1732.     elseif admins[name]==true then
  1733.         return true
  1734.     end
  1735.     return false
  1736. end
  1737.  
  1738. local exec=function(str)
  1739.     spawn(function()
  1740.         local script, loaderr = loadstring(str)
  1741.         if not script then
  1742.             error(loaderr)
  1743.         else
  1744.                 script()
  1745.                 end
  1746.     end)
  1747. end
  1748.  
  1749. local findCmd=function(cmd_name)
  1750.     for i,v in pairs(cmds)do
  1751.         if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  1752.             return v
  1753.         end
  1754.     end
  1755. end
  1756.  
  1757. local getCmd=function(msg)
  1758.     local cmd,hassplit=std.endat(msg:lower(),split)
  1759.     if hassplit then
  1760.                 return {cmd,true}
  1761.         else
  1762.                 return {cmd,false}
  1763.         end
  1764. end
  1765.  
  1766. local getprfx=function(strn)
  1767.     if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  1768.     elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  1769.     end return
  1770. end
  1771.  
  1772. local getArgs=function(str)
  1773.     local args={}
  1774.     local new_arg=nil
  1775.     local hassplit=nil
  1776.     local s=str
  1777.     repeat
  1778.         new_arg,hassplit=std.endat(s:lower(),split)
  1779.         if new_arg~='' then
  1780.             args[#args+1]=new_arg
  1781.             s=s:sub(string.len(new_arg)+string.len(split)+1)
  1782.         end
  1783.     until hassplit==false
  1784.     return args
  1785. end
  1786.  
  1787. local function execCmd(str, plr)
  1788.     local s_cmd
  1789.     local a
  1790.     local cmd
  1791.     s_cmd = getCmd(str)
  1792.     cmd = findCmd(s_cmd[1])
  1793.     if cmd == nil then return end
  1794.     a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)
  1795.     local args=getArgs(a)
  1796.  
  1797.     pcall(function()
  1798.         cmd.FUNC(args, plr)
  1799.         end)
  1800. end
  1801.  
  1802. function do_exec(str,plr)
  1803.         if not isAdmin(plr.Name)then return end
  1804.        
  1805.     str=str:gsub('/e ','')
  1806.  
  1807.     local t=getprfx(str)
  1808.     if t==nil then return end
  1809.     str=str:sub(t[2])
  1810.     if t[1]=='exec' then
  1811.         exec(str)
  1812.     elseif t[1]=='cmd' then
  1813.         execCmd(str, plr)
  1814.     end
  1815. end
  1816.  
  1817. updateevents()
  1818. _G.exec_cmd = execCmd
  1819. --game.Players.LocalPlayer.Chatted:connect(doexec)
  1820.  
  1821. local _char=function(plr_name)
  1822.     for i,v in pairs(game.Players:GetChildren())do
  1823.         if v:IsA'Player'then
  1824.             if v.Name==plr_name then return v.Character end
  1825.         end
  1826.     end
  1827.     return
  1828. end
  1829.  
  1830. local _plr=function(plr_name)
  1831.     for i,v in pairs(game.Players:GetChildren())do
  1832.         if v:IsA'Player'then
  1833.             if v.Name==plr_name then return v end
  1834.         end
  1835.     end
  1836.     return
  1837. end
  1838.  
  1839. function addcmd(name,desc,alias,func)
  1840.     cmds[#cmds+1]=
  1841.     {
  1842.         NAME=name;
  1843.         DESC=desc;
  1844.         ALIAS=alias;
  1845.         FUNC=func;
  1846.     }
  1847. end
  1848.  
  1849. local function getPlayer(name)
  1850.         local nameTable = {}
  1851.         name=name:lower()
  1852.         if name == "me" then
  1853.                 nameTable[#nameTable+1]=admin
  1854.         elseif name == "others" then
  1855.                 for i,v in pairs(gPlayers:GetChildren()) do
  1856.             if v:IsA'Player'then
  1857.                 if v.Name~=admin then
  1858.                     nameTable[#nameTable+1]=v.Name
  1859.                 end
  1860.             end
  1861.                 end
  1862.         elseif name == "all" then
  1863.                 for i,v in pairs(gPlayers:GetChildren()) do
  1864.             if v:IsA'Player'then
  1865.                 nameTable[#nameTable+1]=v.Name
  1866.             end
  1867.                 end
  1868.         else
  1869.                 for i,v in pairs(gPlayers:GetChildren()) do
  1870.                         local lname = v.Name:lower()
  1871.                         local i,j = lname:find(name)
  1872.                         if i == 1 then
  1873.                                 return {v.Name}
  1874.                         end
  1875.                 end
  1876.         end
  1877.         return nameTable
  1878. end
  1879.  
  1880. --| Cape Function |--
  1881.  
  1882. local capeColor = 1012
  1883.  
  1884. function Cape(playerCaped)
  1885.  
  1886. if playerCaped.Character:FindFirstChild("Cape") ~= nil then
  1887.         playerCaped.Character.Cape:Destroy()
  1888. end
  1889.  
  1890. repeat
  1891.         wait()
  1892. until playerCaped and playerCaped.Character and playerCaped.Character:FindFirstChild("Torso")
  1893.  
  1894. local Torso = playerCaped.Character.Torso
  1895.  
  1896. local Cape = Instance.new("Part", Torso.Parent)
  1897. Cape.Name = "Cape"
  1898. Cape.Anchored = false
  1899. Cape.CanCollide = false
  1900. Cape.TopSurface = 0
  1901. Cape.BottomSurface = 0
  1902. Cape.BrickColor = BrickColor.new("" .. capeColor)
  1903. Cape.Material = "Neon"
  1904. Cape.formFactor = "Custom"
  1905. Cape.Size = Vector3.new(0.2,0.2,0.2)
  1906.  
  1907. local msh = Instance.new("BlockMesh", Cape)
  1908. msh.Scale = Vector3.new(9,17.5,.5)
  1909.  
  1910. local motor1 = Instance.new("Motor", Cape)
  1911. motor1.Part0 = Cape
  1912. motor1.Part1 = Torso
  1913.  
  1914. motor1.MaxVelocity = 1
  1915. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  1916. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  1917.  
  1918. local wave = false
  1919.  
  1920. repeat wait(1/44)
  1921. local ang = 0.2
  1922. local oldmag = Torso.Velocity.magnitude
  1923. local mv = .1
  1924.  
  1925. if wave then
  1926.         ang = ang + ((Torso.Velocity.magnitude/10) * .05) + 1
  1927.         wave = false
  1928. else
  1929.         wave = false
  1930. end
  1931. ang = ang + math.min(Torso.Velocity.magnitude/30, 1)
  1932. motor1.MaxVelocity = math.min((Torso.Velocity.magnitude/10), .04) + mv
  1933. motor1.DesiredAngle = -ang
  1934. if motor1.CurrentAngle < -.05 and motor1.DesiredAngle > -.05 then
  1935.         motor1.MaxVelocity = .04
  1936. end
  1937. repeat
  1938.         wait()
  1939. until
  1940. motor1.CurrentAngle == motor1.DesiredAngle or math.abs(Torso.Velocity.magnitude - oldmag)  >= (Torso.Velocity.magnitude/10) + 1
  1941. if Torso.Velocity.magnitude < .1 then
  1942.         wait(.1)
  1943. end
  1944. until not Cape or Cape.Parent ~= Torso.Parent
  1945. end
  1946.  
  1947. game.Lighting.Outlines = false -- Outlines are disgusting
  1948.  
  1949. --| Commands |--
  1950.  
  1951. addcmd('ff','gives ff to player',{},
  1952. function(args)
  1953.     local players = getPlayer(args[1])
  1954.     for i,v in pairs(players)do
  1955.         local pchar=_char(v)
  1956.         Instance.new("ForceField", pchar)
  1957.     end
  1958. end)
  1959.  
  1960. addcmd('noff', 'takes away ff from player',{'unff'},
  1961. function(args)
  1962.     local players = getPlayer(args[1])
  1963.     for i,v in pairs(players)do
  1964.         local pchar=_char(v)
  1965.         for j,v1 in pairs(pchar:GetChildren()) do
  1966.                         if v1:IsA("ForceField") then
  1967.                                 v1:Destroy()
  1968.                         end
  1969.                 end
  1970.     end
  1971. end)
  1972.  
  1973. addcmd('fire', 'set a player on fire',{},
  1974. function(args)
  1975.     local players = getPlayer(args[1])
  1976.     for i,v in pairs(players)do
  1977.         local pchar=_char(v)
  1978.         local Fire1 = Instance.new("Fire", pchar.Head)
  1979.         local Fire2 = Instance.new("Fire", pchar.Torso)
  1980.         local Fire3 = Instance.new("Fire", pchar["Left Arm"])
  1981.         local Fire4 = Instance.new("Fire", pchar["Right Arm"])
  1982.         local Fire5 = Instance.new("Fire", pchar["Left Leg"])
  1983.         local Fire6 = Instance.new("Fire", pchar["Right Leg"])
  1984.         Fire1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1985.         Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1986.         Fire2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1987.         Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1988.         Fire3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1989.         Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1990.         Fire4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1991.         Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1992.         Fire5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1993.         Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1994.         Fire6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1995.         Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1996.     end
  1997. end)
  1998.  
  1999. addcmd('nofire', 'extinguish a player',{'unfire'},
  2000. function(args)
  2001.     local players = getPlayer(args[1])
  2002.     for i,v in pairs(players)do
  2003.         local pchar=_char(v)
  2004.         for j,v1 in pairs(pchar.Head:GetChildren()) do
  2005.                         if v1:IsA("Fire") then
  2006.                                 v1:Destroy()
  2007.                         end
  2008. end
  2009.         for j,v1 in pairs(pchar.Torso:GetChildren()) do
  2010.                         if v1:IsA("Fire") then
  2011.                                 v1:Destroy()
  2012.                         end
  2013. end
  2014.         for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
  2015.                         if v1:IsA("Fire") then
  2016.                                 v1:Destroy()
  2017.                         end
  2018. end
  2019.         for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
  2020.                         if v1:IsA("Fire") then
  2021.                                 v1:Destroy()
  2022.                         end
  2023. end
  2024.         for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
  2025.                         if v1:IsA("Fire") then
  2026.                                 v1:Destroy()
  2027.                         end
  2028. end
  2029.         for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
  2030.                         if v1:IsA("Fire") then
  2031.                                 v1:Destroy()
  2032.                         end
  2033.                 end
  2034.     end
  2035. end)
  2036.  
  2037. addcmd('sp', 'give a player sparkles',{},
  2038. function(args)
  2039.     local players = getPlayer(args[1])
  2040.     for i,v in pairs(players)do
  2041.         local pchar=_char(v)
  2042.         local Sparkles1 = Instance.new("Sparkles", pchar.Head)
  2043.         local Sparkles2 = Instance.new("Sparkles", pchar.Torso)
  2044.         local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
  2045.         local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
  2046.         local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
  2047.         local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
  2048.         Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2049.         Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2050.         Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2051.         Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2052.         Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2053.         Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  2054.     end
  2055. end)
  2056.  
  2057. addcmd('nosp', 'remove sparkles from a player',{'unsp'},
  2058. function(args)
  2059.     local players = getPlayer(args[1])
  2060.     for i,v in pairs(players)do
  2061.         local pchar=_char(v)
  2062.         for j,v1 in pairs(pchar.Head:GetChildren()) do
  2063.                         if v1:IsA("Sparkles") then
  2064.                                 v1:Destroy()
  2065.                         end
  2066. end
  2067.         for j,v1 in pairs(pchar.Torso:GetChildren()) do
  2068.                         if v1:IsA("Sparkles") then
  2069.                                 v1:Destroy()
  2070.                         end
  2071. end
  2072.         for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
  2073.                         if v1:IsA("Sparkles") then
  2074.                                 v1:Destroy()
  2075.                         end
  2076. end
  2077.         for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
  2078.                         if v1:IsA("Sparkles") then
  2079.                                 v1:Destroy()
  2080.                         end
  2081. end
  2082.         for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
  2083.                         if v1:IsA("Sparkles") then
  2084.                                 v1:Destroy()
  2085.                         end
  2086. end
  2087.         for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
  2088.                         if v1:IsA("Sparkles") then
  2089.                                 v1:Destroy()
  2090.                         end
  2091.                 end
  2092.     end
  2093. end)
  2094.  
  2095. addcmd('smoke', 'give a player smoke',{},
  2096. function(args)
  2097.     local players = getPlayer(args[1])
  2098.     for i,v in pairs(players)do
  2099.         local pchar=_char(v)
  2100.         Instance.new("Smoke", pchar.Torso)
  2101.     end
  2102. end)
  2103.  
  2104. addcmd('nosmoke', 'remove smoke from a player',{},
  2105. function(args)
  2106.     local players = getPlayer(args[1])
  2107.     for i,v in pairs(players)do
  2108.         local pchar=_char(v)
  2109.         for j,v1 in pairs(pchar.Torso:GetChildren()) do
  2110.                         if v1:IsA("Smoke") then
  2111.                                 v1:Destroy()
  2112.                         end
  2113.                 end
  2114.     end
  2115. end)
  2116.  
  2117. addcmd('btools', 'gives a player btools',{},
  2118. function(args)
  2119.     local players = getPlayer(args[1])
  2120.     if players ~= nil then
  2121.                 for i, v in pairs(players) do
  2122.                         Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
  2123.                         Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
  2124.                         Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
  2125.                 end
  2126.         end
  2127. end)
  2128.  
  2129. addcmd('god', 'gods player',{},
  2130. function(args)
  2131.     local players = getPlayer(args[1])
  2132.     for i,v in pairs(players)do
  2133.         local pchar=_char(v)
  2134.         if pchar then pchar.Humanoid.MaxHealth=math.huge end
  2135.     end
  2136. end)
  2137.  
  2138. addcmd('sgod', 'silently gods player',{},
  2139. function(args)
  2140.     local players = getPlayer(args[1])
  2141.     for i,v in pairs(players)do
  2142.         local pchar=_char(v)
  2143.         spawn(function()
  2144.             pchar.Humanoid.MaxHealth = 10000000
  2145.                         wait()
  2146.                         pchar.Humanoid.Health = 10000000
  2147.         end)
  2148.     end
  2149. end)
  2150.  
  2151. addcmd('ungod', 'removes god from a player',{},
  2152. function(args)
  2153.     local players = getPlayer(args[1])
  2154.     for i,v in pairs(players)do
  2155.         local pchar=_char(v)
  2156.         if pchar then
  2157.                         pchar.Humanoid.MaxHealth=100
  2158.                         pchar.Humanoid.Health=100
  2159.                 end
  2160.     end
  2161. end)
  2162.  
  2163. addcmd('heal', 'resets a players health',{},
  2164. function(args)
  2165.     local players = getPlayer(args[1])
  2166.     for i,v in pairs(players)do
  2167.         local pchar=_char(v)
  2168.         if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
  2169.     end
  2170. end)
  2171.  
  2172. addcmd('frz', 'freezes a player',{'freeze'},
  2173. function(args)
  2174.         local players = getPlayer(args[1])
  2175.         if players ~= nil then
  2176.                 for i, v in pairs(players) do
  2177.                         _char(v).Torso.Anchored = true
  2178.                 end
  2179.         end
  2180. end)
  2181.  
  2182. addcmd('thaw', 'freezes a player',{},
  2183. function(args)
  2184.         local players = getPlayer(args[1])
  2185.         if players ~= nil then
  2186.                 for i, v in pairs(players) do
  2187.                         _char(v).Torso.Anchored = false
  2188.                 end
  2189.         end
  2190. end)
  2191.  
  2192. addcmd('kill', 'kills a player',{},
  2193. function(args)
  2194.     local players = getPlayer(args[1])
  2195.     for i,v in pairs(players)do
  2196.         local pchar=_char(v)
  2197.         if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  2198.     end
  2199. end)
  2200.  
  2201. addcmd('sound', 'plays a sound',{},
  2202. function(args)
  2203.     local function dels(instance)
  2204.         for i,v in pairs(instance:GetChildren())do
  2205.             if v:IsA'Sound'then v:Destroy()end
  2206.             dels(v)
  2207.         end
  2208.     end
  2209.     dels(workspace)
  2210.  
  2211.     local c = args[1] or 'stop'
  2212.     if std.inTable({'stop'}, c:lower()) then return end
  2213.         local s = Instance.new("Sound", workspace)
  2214.         s.Name = "DuckSong"
  2215.         s.Looped = true
  2216.         s.SoundId = "rbxassetid://" .. c
  2217.     s.Volume = 1
  2218.         s:Play()
  2219. end)
  2220.  
  2221. addcmd('volume','changes volume of sound',{},
  2222. function(args)
  2223.         for i,v in pairs(game.Workspace:GetChildren())do
  2224.                 if v:IsA("Sound") and v.Name == "DuckSong" then
  2225.                         v.Volume = args[1]
  2226.                 end
  2227.         end
  2228. end)
  2229.  
  2230. addcmd('pitch','changes pitch of sound',{},
  2231. function(args)
  2232.         for i,v in pairs(game.Workspace:GetChildren())do
  2233.                 if v:IsA("Sound") and v.Name == "DuckSong" then
  2234.                         v.Pitch = args[1]
  2235.                 end
  2236.         end
  2237. end)
  2238.  
  2239. addcmd('explode', 'explode a player', {},
  2240. function(args)
  2241.     local players = getPlayer(args[1])
  2242.     for i, v in pairs(players) do
  2243.         local char = _char(v)
  2244.         if char:FindFirstChild("Torso") then
  2245.             Instance.new("Explosion", char).Position = char.Torso.Position                                     
  2246.         end
  2247.     end
  2248. end)
  2249.  
  2250. addcmd('invis', 'make a player invisible',{},
  2251. function(args)
  2252.     local players = getPlayer(args[1])
  2253.     for i, v in pairs(players) do
  2254.         for k, v2 in pairs(_char(v):GetChildren()) do
  2255.                         if v2.className == "Part" then
  2256.                 if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  2257.             elseif v2.className == "Hat" then
  2258.                 if v2:FindFirstChild("Handle") then
  2259.                     v2.Handle.Transparency = 1
  2260.                 end
  2261.                         end
  2262.             if v2:FindFirstChild("face") then
  2263.                 v2.face:Destroy()
  2264.                         end
  2265.                 end
  2266.     end
  2267. end)
  2268.  
  2269. addcmd('vis', 'make a player visible',{},
  2270. function(args)
  2271.     local players = getPlayer(args[1])
  2272.     for i, v in pairs(players) do
  2273.         for k, v2 in pairs(_char(v):GetChildren()) do
  2274.             if v2.className == "Part" then
  2275.                                 if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end
  2276.                                 elseif v2.className == "Hat" then
  2277.                 if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  2278.             end
  2279.                         if v2:FindFirstChild("face") then
  2280.                                 v2.face:Destroy()
  2281.                         end
  2282.                 end
  2283.     end
  2284. end)
  2285.  
  2286. addcmd('goto', 'go to a player',{},
  2287. function(args)
  2288.     local players = getPlayer(args[1])
  2289.         if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  2290.                 _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  2291.         end
  2292. end)
  2293.  
  2294. addcmd('bring', 'bring a player to you',{},
  2295. function(args)
  2296.     local players = getPlayer(args[1])
  2297.         for i,v in pairs(players) do
  2298.                 if _char(v):FindFirstChild("HumanoidRootPart") then
  2299.                         _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame
  2300.                 end
  2301.         end
  2302. end)
  2303.  
  2304. addcmd('tp', 'teleport player 1 to player 2',{},
  2305. function(args)
  2306.     local players1=getPlayer(args[1])
  2307.     local players2=getPlayer(args[2])
  2308.     if not players2[1] then return end
  2309.     for i,v in pairs(players1) do
  2310.                 if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  2311.                         _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  2312.                 end            
  2313.         end
  2314. end)
  2315.  
  2316. addcmd('charapp', 'change a players appearance',{'char'},
  2317. function(args)
  2318.     local players = getPlayer(args[1])
  2319.     if not args[1]or not args[2]then return end
  2320.     local id=args[2]
  2321.         if players ~= nil then
  2322.                 for i,v in pairs(players) do
  2323.                         gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..id
  2324.                         if _char(v):FindFirstChild("Head") then
  2325.                                 _char(v).Head:Destroy()
  2326.                         end
  2327.                 end
  2328.         end
  2329. end)
  2330.  
  2331. addcmd('ws', 'change a players walkspeed',{},
  2332. function(args)
  2333.     local players = getPlayer(args[1])
  2334.     if not args[1]or not args[2]then return end
  2335.     local num=args[2]
  2336.         for i,v in pairs(players) do
  2337.                 if _char(v):FindFirstChild("Humanoid") then
  2338.                         _char(v).Humanoid.WalkSpeed=tonumber(num)
  2339.                 end
  2340.         end
  2341. end)
  2342.  
  2343. addcmd('time', 'change the time of day',{},
  2344. function(args)
  2345.     if not args[1]then return end
  2346.     local time_=tonumber(args[1])
  2347.    
  2348.     game.Lighting:SetMinutesAfterMidnight(time_*60)
  2349. end)
  2350.  
  2351. addcmd('kick', 'kick a player',{},
  2352. function(args)
  2353.     local players = getPlayer(args[1])
  2354.         for i,v in pairs(players) do
  2355.                 Notify('Kicked ' .. gPlayers[v].Name)
  2356.                 gPlayers[v]:Destroy()
  2357.         end
  2358. end)
  2359.  
  2360. addcmd('ban', 'ban a player',{},
  2361. function(args)
  2362.     local players=getPlayer(args[1])
  2363.         for i,v in pairs(players) do
  2364.         _G.Banned(gPlayers[v].Name)
  2365.         gPlayers[v]:Destroy()
  2366.     end
  2367. end)
  2368.  
  2369. addcmd('unlockws', 'unlock the whole workspace',{'unlock'},
  2370. function(args)
  2371.     local function unlock(instance)
  2372.         for i,v in pairs(instance:GetChildren()) do
  2373.             if v:IsA("BasePart") then
  2374.                 v.Locked = false
  2375.             end
  2376.             unlock(v)
  2377.         end
  2378.     end
  2379.     unlock(workspace)
  2380. end)
  2381.  
  2382. addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
  2383. function(args)
  2384.    local function unanchor(instance)
  2385.         for i,v in pairs(instance:GetChildren()) do
  2386.             if v:IsA("BasePart") then
  2387.                 v.Anchored=false
  2388.             end
  2389.             unanchor(v)
  2390.         end
  2391.     end
  2392.     unanchor(workspace)
  2393. end)
  2394.  
  2395. addcmd('hat', 'give player a hat ingame',{},
  2396. function(args)
  2397.     if not args[1] or not args[2] then return end
  2398.         local players = getPlayer(args[1])
  2399.     local id=args[2]
  2400.         local hat = game:GetService("InsertService"):LoadAsset(id)
  2401.         if hat:IsA("Hat") then
  2402.                 for i,v in pairs(players) do
  2403.                         hat:clone().Parent = _char(v)
  2404.                 end            
  2405.         end
  2406.         hat:Destroy()
  2407. end)
  2408.  
  2409. addcmd('gear', 'give player a gear ingame',{},
  2410. function(args)
  2411.         spawn(function()
  2412.             if not args[1] or not args[2] then return end
  2413.                 local players = getPlayer(args[1])
  2414.             local id=args[2]
  2415.                 local model = game:GetService("InsertService"):LoadAsset(id)
  2416.                 for i,v in pairs(players) do
  2417.                         for _,j in pairs(model:GetChildren()) do
  2418.                                 if j:IsA("Tool") then
  2419.                                         j:Clone().Parent = gPlayers[v].Backpack
  2420.                                 end
  2421.                         end
  2422.                 end
  2423.                 model:Destroy()
  2424.         end)
  2425. end)
  2426.  
  2427. addcmd('pstools', 'give player personal server tools',{},
  2428. function(args)
  2429.         local players = getPlayer(args[1])
  2430.         for i,v in pairs(players) do
  2431.                 gPlayers[v].PersonalServerRank = 240
  2432.         end
  2433. end)
  2434.  
  2435. addcmd('skick','kicks a player by shutting them down, takes a few seconds',{},
  2436. function(args)
  2437.         local players = getPlayer(args[1])
  2438.         for i,v in pairs(players) do
  2439.                 spawn(function()
  2440.                         gPlayers[v].PersonalServerRank = 240
  2441.                         gPlayers[v].Backpack:WaitForChild("ClassicTool")
  2442.                         gPlayers[v].PersonalServerRank = 0
  2443.                 end)
  2444.         end
  2445. end)
  2446.  
  2447. addcmd('admin', 'gives a player admin',{},
  2448. function(args)
  2449.     if not args[1]then return end
  2450.     local players = getPlayer(args[1])
  2451.     table.foreach(players,function(k,v)
  2452.         admins[v]=true
  2453.         Notify(gPlayers[v].Name .. ' has been given Admin.')
  2454.     end)
  2455.         for i,v in pairs(players) do
  2456.                 local pchar = gPlayers[v].Character
  2457.                 game.Chat:Chat(pchar.Head, "You've been given admin.")
  2458.                 wait(2.5)
  2459.                 game.Chat:Chat(pchar.Head, 'Prefix is "' .. cmdprefix .. '"')
  2460.                 wait(2.5)
  2461.                 game.Chat:Chat(pchar.Head, "[NO] ;fire me [YES] ;fire YourName")
  2462.                 wait(2.5)
  2463.                 game.Chat:Chat(pchar.Head, "You may now use commands.")
  2464.         end
  2465. end)
  2466.  
  2467. addcmd('unadmin', 'removes a players admin',{},
  2468. function(args)
  2469.     if not args[1] then return end
  2470.     local players = getPlayer(args[1])
  2471.     table.foreach(players,function(k,v)
  2472.         admins[v]=nil
  2473.         Notify(gPlayers[v].Name .. ' no longer has Admin.')
  2474.     end)
  2475. end)
  2476.  
  2477. addcmd('firstp', 'forces player to go into first person',{},
  2478. function(args)
  2479.     local players = getPlayer(args[1])
  2480.     for i,v in pairs(players)do
  2481.         gPlayers[v].CameraMode = "LockFirstPerson"
  2482.     end
  2483. end)
  2484.  
  2485. addcmd('thirdp', 'allows player to go into third person',{},
  2486. function(args)
  2487.     local players = getPlayer(args[1])
  2488.     for i,v in pairs(players)do
  2489.         gPlayers[v].CameraMode = "Classic"
  2490.     end
  2491. end)
  2492.  
  2493. addcmd('chat', 'forces player to chat what you input',{},
  2494. function(args)
  2495.     local players = getPlayer(args[1])
  2496.         local MSG = table.concat(args, " ")
  2497.         local newMSG = string.gsub(MSG, args[1] .. " ", "")
  2498.     for i,v in pairs(players)do
  2499.         game.Chat:Chat(gPlayers[v].Character.Head, newMSG)
  2500.     end
  2501. end)
  2502.  
  2503. addcmd('insert', 'inserts a model',{},
  2504. function(args)
  2505.     local model = game:GetService("InsertService"):LoadAsset(args[1])
  2506.     model.Parent = game.Workspace
  2507.     model:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  2508.     model:MakeJoints()
  2509. end)
  2510.  
  2511. addcmd('name', 'names player',{},
  2512. function(args)
  2513.     local players = getPlayer(args[1])
  2514.     local msg = table.concat(args, " ")
  2515.     local newmsg = string.gsub(msg, args[1] .. " ", "")
  2516.         for i,v in pairs(players) do
  2517.                 for a, mod in pairs(gPlayers[v].Character:children()) do
  2518.                 if mod:FindFirstChild("TAG") then
  2519.                 gPlayers[v].Character.Head.Transparency = 0
  2520.                 mod:Destroy()
  2521.                 end
  2522.                 end
  2523.                
  2524.                 local char = gPlayers[v].Character
  2525.                 local model = Instance.new("Model", char)
  2526.                 local clone = char.Head:Clone()
  2527.                 local hum = Instance.new("Humanoid", model)
  2528.                 local weld = Instance.new("Weld", clone)
  2529.                         model.Name = newmsg
  2530.                         clone.Parent = model
  2531.                         hum.Name = "TAG"
  2532.                         hum.MaxHealth = 100
  2533.                         hum.Health = 100
  2534.                         weld.Part0 = clone
  2535.                         weld.Part1 = char.Head
  2536.                         char.Head.Transparency = 1
  2537.         end
  2538. end)
  2539.  
  2540. addcmd('unname', 'unnames player',{},
  2541. function(args)
  2542.     local players = getPlayer(args[1])
  2543.     local name = (args[2])
  2544.         for i,v in pairs(players) do
  2545.                 for a, mod in pairs(gPlayers[v].Character:children()) do
  2546.                         if mod:FindFirstChild("TAG") then
  2547.                                 gPlayers[v].Character.Head.Transparency = 0
  2548.                                 mod:Destroy()
  2549.                         end
  2550.                 end
  2551.         end
  2552. end)
  2553.  
  2554. addcmd('stun', 'stuns player',{},
  2555. function(args)
  2556.     local players = getPlayer(args[1])
  2557.         for i,v in pairs(players) do
  2558.                 gPlayers[v].Character.Humanoid.PlatformStand = true
  2559.         end
  2560. end)
  2561.  
  2562. addcmd('unstun', 'stuns player',{},
  2563. function(args)
  2564.     local players = getPlayer(args[1])
  2565.         for i,v in pairs(players) do
  2566.                 gPlayers[v].Character.Humanoid.PlatformStand = false
  2567.         end
  2568. end)
  2569.  
  2570. addcmd('sit', 'stuns player',{},
  2571. function(args)
  2572.     local players = getPlayer(args[1])
  2573.         for i,v in pairs(players) do
  2574.                 gPlayers[v].Character.Humanoid.Sit = true
  2575.         end
  2576. end)
  2577.  
  2578. addcmd('guest', 'ew a guest',{},
  2579. function(args)
  2580.         local players = getPlayer(args[1])
  2581.         for i,v in pairs(players) do
  2582.                 gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1"
  2583.                 gPlayers[v].Character:BreakJoints()
  2584.         end
  2585. end)
  2586.  
  2587. addcmd('damage', 'damages a player',{},
  2588. function(args)
  2589.         local players = getPlayer(args[1])
  2590.         for i,v in pairs(players) do
  2591.                 gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
  2592.         end
  2593. end)
  2594.  
  2595. addcmd('view', 'views player',{},
  2596. function(args)
  2597.         local players = getPlayer(args[1])
  2598.         for i,v in pairs(players) do
  2599.                 game.Workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
  2600.         end
  2601. end)
  2602.  
  2603. addcmd('unview', 'stops viewing player',{},
  2604. function()
  2605.         game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  2606. end)
  2607.  
  2608. addcmd('nolimbs', 'removes limbs from player',{},
  2609. function(args)
  2610.         local players = getPlayer(args[1])
  2611.         for i,v in pairs(players) do
  2612.                 for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  2613.                         if v:IsA("BasePart") and
  2614.                                 v.Name == "Right Leg" or
  2615.                                 v.Name == "Left Leg" or
  2616.                                 v.Name == "Right Arm" or
  2617.                                 v.Name == "Left Arm" then
  2618.                                 v:Remove()
  2619.                         end
  2620.                 end
  2621.         end    
  2622. end)
  2623.  
  2624. addcmd('box', 'creates a box around player',{},
  2625. function(args)
  2626.     local players = getPlayer(args[1])
  2627.     for i,v in pairs(players)do
  2628.         local pchar=_char(v)
  2629.         local SB = Instance.new("SelectionBox", pchar)
  2630.         SB.Adornee = SB.Parent
  2631.         SB.Color = BrickColor.new("" .. (args[2]))
  2632.     end
  2633. end)
  2634.  
  2635. addcmd('nobox', 'takes away box from player',{'unbox'},
  2636. function(args)
  2637.     local players = getPlayer(args[1])
  2638.     for i,v in pairs(players)do
  2639.         local pchar=_char(v)
  2640.         for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  2641.                         if v:IsA("SelectionBox") then
  2642.                                 v:Destroy()
  2643.                         end
  2644.             end
  2645.     end
  2646. end)
  2647.  
  2648. addcmd('ghost', 'ghostifys player',{},
  2649. function(args)
  2650.     local players = getPlayer(args[1])
  2651.     for i,v in pairs(players)do
  2652.         local pchar=gPlayers[v].Character
  2653.         pchar.Head.Transparency = 0.5
  2654.         pchar.Torso.Transparency = 0.5
  2655.         pchar["Left Arm"].Transparency = 0.5
  2656.         pchar["Right Arm"].Transparency = 0.5
  2657.         pchar["Left Leg"].Transparency = 0.5
  2658.         pchar["Right Leg"].Transparency = 0.5
  2659.         pchar.Head.face.Transparency = 0.5
  2660.     end
  2661. end)
  2662.  
  2663. addcmd('sphere', 'puts sphere around player',{},
  2664. function(args)
  2665.     local players = getPlayer(args[1])
  2666.     for i,v in pairs(players)do
  2667.         local pchar=gPlayers[v].Character
  2668.         local SS = Instance.new("SelectionSphere", pchar)
  2669.         SS.Adornee = SS.Parent
  2670.     end
  2671. end)
  2672.  
  2673. addcmd('loadmap','loads map from model',{},
  2674. function(args)
  2675.     pcall(function()
  2676.         for i,v in pairs(workspace:GetChildren()) do
  2677.                 if v.Name~="Camera" and v.Name~="Terrain" then
  2678.                         v:Destroy()
  2679.                 end
  2680.         end
  2681.         workspace.Terrain:Clear()
  2682.         for i,v in pairs(game.Players:GetChildren()) do
  2683.                 local plr = v
  2684.                 local prt = Instance.new("Model", workspace)
  2685.                 Instance.new("Part", prt).Name="Torso"
  2686.                 Instance.new("Part", prt).Name="Head"
  2687.                 Instance.new("Humanoid", prt).Name="Humanoid"
  2688.                 plr.Character = prt
  2689.         end
  2690.         if (args[1]) == "sfotho" then
  2691.             local b = Insert(296400126, game.Workspace, "sfotho")
  2692.             b:MakeJoints()
  2693.         end
  2694.         local b = Insert(args[1], game.Workspace, "LoadedMap")
  2695.         b:MakeJoints()
  2696. end)
  2697. Notify('Loaded Map')
  2698. end)
  2699.  
  2700. addcmd('sky','changes skybox',{},
  2701. function(args)
  2702.     pcall(function()
  2703.             local ID = (args[1])
  2704.                 local sky = Instance.new("Sky", game.Lighting)
  2705.                 sky.SkyboxBk = "rbxassetid://" .. ID
  2706.                 sky.SkyboxDn = "rbxassetid://" .. ID
  2707.                 sky.SkyboxFt = "rbxassetid://" .. ID
  2708.                 sky.SkyboxLf = "rbxassetid://" .. ID
  2709.                 sky.SkyboxRt = "rbxassetid://" .. ID
  2710.                 sky.SkyboxUp = "rbxassetid://" .. ID
  2711.         end)
  2712. end)
  2713.  
  2714. addcmd('ambient','changes ambient',{},
  2715. function(args)
  2716.         game.Lighting.Ambient = Color3.new(args[1],args[2],args[3])
  2717. end)
  2718.  
  2719. addcmd('gui','gives YourMom GUI',{},
  2720. function(args)
  2721.         loadstring(Insert(289110135, game.CoreGui.RobloxGui).Source)()
  2722. end)
  2723.  
  2724. addcmd('jail','jails player',{},
  2725. function(args)
  2726.         local players = getPlayer(args[1])
  2727.     for i,v in pairs(players)do
  2728.         local pchar=gPlayers[v].Character
  2729.         local JailPlayer = DATA.JAIL:Clone()
  2730.             JailPlayer.Parent = game.Workspace
  2731.             JailPlayer:MoveTo(pchar.Torso.Position)
  2732.             JailPlayer.Name = "JAIL_" .. gPlayers[v].Name
  2733.                 if pchar:FindFirstChild("HumanoidRootPart") then
  2734.                         pchar.HumanoidRootPart.CFrame = JailPlayer.MAIN.CFrame
  2735.                 end            
  2736.     end
  2737. end)
  2738.  
  2739. addcmd('unjail','unjails player',{},
  2740. function(args)
  2741.         local players = getPlayer(args[1])
  2742.         for i,v in pairs(players)do
  2743.                 game.Workspace["JAIL_" .. gPlayers[v].Name]:Destroy()
  2744.         end
  2745. end)
  2746.  
  2747. addcmd('shutdown', 'shuts the server down',{},
  2748. function(args)
  2749.         local function ShutDown(Base)
  2750.                 for i,v in pairs(Base:GetChildren()) do
  2751.                         v:Destroy()
  2752.                 end
  2753.         end
  2754.         ShutDown(game.Players)
  2755. end)
  2756.  
  2757. addcmd('animation','makes player animate',{'anim'},
  2758. function(args)
  2759.     local players = getPlayer(args[1])
  2760.     for i,v in pairs(players)do
  2761.             local pchar = gPlayers[v].Character
  2762.         local ID = args[2]
  2763.  
  2764.         if args[2] == "climb" then
  2765.                 ID = "180436334"
  2766.     end
  2767.         if args[2] == "fall" then
  2768.                 ID = "180436148"
  2769.     end
  2770.         if args[2] == "jump" then
  2771.                 ID = "125750702"
  2772.     end
  2773.         if args[2] == "sit" then
  2774.                 ID = "178130996"
  2775.     end
  2776.         for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
  2777.             if x:IsA("StringValue") then
  2778.                 for _,c in pairs(x:GetChildren()) do
  2779.                         if c:IsA("Animation") then
  2780.                             c.AnimationId = "rbxassetid://" .. ID
  2781.                         end
  2782.                     end
  2783.             end
  2784.         end
  2785.     end
  2786. end)
  2787.  
  2788. addcmd('fix','turns player back to normal',{},
  2789. function(args)
  2790.     local players = getPlayer(args[1])
  2791.     for i,v in pairs(players)do
  2792.                 local pchar = gPlayers[v].Character
  2793.                
  2794.             pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2795.             pchar.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(0,math.rad(90),0)
  2796.             pchar.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.Angles(0,math.rad(-90),0)
  2797.             pchar.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  2798.             pchar.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  2799.        
  2800.             for i,v in pairs(pchar.Head:GetChildren()) do
  2801.                     if v:IsA("SpecialMesh") then
  2802.                             v:Destroy()
  2803.                     end
  2804.             end
  2805.        
  2806.                 for i,v in pairs(pchar:GetChildren()) do
  2807.                         if v:IsA("Shirt") then
  2808.                                 v:Destroy()
  2809.                         end
  2810.                 end
  2811.                
  2812.                 for i,v in pairs(pchar:GetChildren()) do
  2813.                         if v:IsA("Pants") then
  2814.                                 v:Destroy()
  2815.                         end
  2816.                 end
  2817.                
  2818.                 if Player.Character:FindFirstChild("Shirt Graphic") ~= nil then
  2819.                         Player.Character["Shirt Graphic"].Graphic = ""
  2820.                 end
  2821.                
  2822.                 local HeadMesh = Instance.new("SpecialMesh", pchar.Head)
  2823.                 HeadMesh.MeshType = "Head"
  2824.                 HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  2825.                
  2826.                 pchar.Head.Transparency = 0
  2827.                 pchar.Torso.Transparency = 0
  2828.                 pchar["Left Arm"].Transparency = 0
  2829.                 pchar["Right Arm"].Transparency = 0
  2830.                 pchar["Left Leg"].Transparency = 0
  2831.                 pchar["Right Leg"].Transparency = 0
  2832.                
  2833.                 for i,v in pairs(pchar.Head:GetChildren()) do
  2834.                         if v:IsA("Decal") then
  2835.                                 v:Destroy()
  2836.                         end
  2837.                 end
  2838.                
  2839.                 local face = Instance.new("Decal", pchar.Head)
  2840.                 face.Name = "face"
  2841.                 face.Texture = "rbxasset://textures/face.png"
  2842.                 face.Face = "Front"
  2843.                
  2844.                 for i,v in pairs(pchar:GetChildren()) do
  2845.                         if v:IsA("Seat") then
  2846.                                 v:Destroy()
  2847.                         end
  2848.                 end
  2849.                
  2850.                 for i,v in pairs(pchar.Torso:GetChildren()) do
  2851.                         if v:IsA("Weld") then
  2852.                                 v:Destroy()
  2853.                         end
  2854.                 end
  2855.                
  2856.                 for i,v in pairs(pchar.Torso:GetChildren()) do
  2857.                         if v:IsA("SpecialMesh") then
  2858.                                 v:Destroy()
  2859.                         end
  2860.                 end
  2861.                
  2862.                 pchar["Body Colors"].HeadColor = BrickColor.new("Cool yellow")
  2863.                 pchar["Body Colors"].LeftArmColor = BrickColor.new("Cool yellow")
  2864.                 pchar["Body Colors"].LeftLegColor = BrickColor.new("Medium blue")
  2865.                 pchar["Body Colors"].RightArmColor = BrickColor.new("Cool yellow")
  2866.                 pchar["Body Colors"].RightLegColor = BrickColor.new("Medium blue")
  2867.                 pchar["Body Colors"].TorsoColor = BrickColor.new("Bright blue")
  2868.                 for _,v in pairs(Player.Character:GetChildren()) do
  2869.                         if v:IsA("Hat") then
  2870.                                 v:Destroy()
  2871.                         end
  2872.                 end
  2873.     end
  2874. end)
  2875.  
  2876. addcmd('creeper','make the player a creeper',{'crpr'},
  2877. function(args)
  2878.     local players = getPlayer(args[1])
  2879.     for i,v in pairs(players)do
  2880.         local pchar = gPlayers[v].Character
  2881.         if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
  2882.             if pchar:FindFirstChild("Shirt") then
  2883.                     pchar.Shirt.Parent = pchar.Torso
  2884.             end
  2885.             if pchar:FindFirstChild("Pants") then
  2886.                     pchar.Pants.Parent = pchar.Torso
  2887.             end
  2888.             if pchar:FindFirstChild("Shirt Graphic") then
  2889.                     pchar["Shirt Graphic"].Graphic = ""
  2890.             end
  2891.             for i,v in pairs(pchar:GetChildren()) do
  2892.                     if v:IsA("Hat") then
  2893.                             v:Destroy()
  2894.                     end
  2895.             end
  2896.             pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2897.             pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  2898.             pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  2899.             pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  2900.             pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  2901.             pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  2902.             pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  2903.             pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  2904.             pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  2905.             pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  2906.             pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  2907.         end
  2908.     end
  2909. end)
  2910.  
  2911. addcmd('uncreeper','makes player back to normal',{},
  2912. function(args)
  2913.         local players = getPlayer(args[1])
  2914.         for i,v in pairs(players)do
  2915.             execCmd("fix " .. gPlayers[v].Name, Player)
  2916.         end
  2917. end)
  2918.  
  2919. addcmd('shrek', 'makes player shrek',{},
  2920. function(args)
  2921.         local players = getPlayer(args[1])
  2922.         for i,v in pairs(players) do
  2923.                 local pchar = gPlayers[v].Character
  2924.                 for i,v in pairs(pchar:GetChildren()) do
  2925.                         if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  2926.                                 v:Destroy()
  2927.                         end
  2928.                 end
  2929.                 for i,v in pairs(pchar.Head:GetChildren()) do
  2930.                         if v:IsA("Decal") or v:IsA("SpecialMesh") then
  2931.                                 v:Destroy()
  2932.                         end
  2933.                 end
  2934.                
  2935.                 local mesh = Instance.new("SpecialMesh", pchar.Head)
  2936.                 mesh.MeshType = "FileMesh"
  2937.                 pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  2938.                 pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  2939.                 pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  2940.                
  2941.                 local Shirt = Instance.new("Shirt", gPlayers[v].Character)
  2942.                 local Pants = Instance.new("Pants", gPlayers[v].Character)
  2943.                
  2944.                 Shirt.ShirtTemplate = "rbxassetid://133078194"
  2945.                 Pants.PantsTemplate = "rbxassetid://133078204"
  2946.         end
  2947. end)
  2948.  
  2949. addcmd('unshrek','makes player back to normal',{},
  2950. function(args)
  2951.         local players = getPlayer(args[1])
  2952.         for i,v in pairs(players)do
  2953.             execCmd("fix " .. gPlayers[v].Name, Player)
  2954.         end
  2955. end)
  2956.  
  2957. local Spamming = false
  2958.  
  2959. addcmd('spam','spams text',{},
  2960. function(args)
  2961.         Spamming = true
  2962.         spawn(function()
  2963.                 while wait(0) do
  2964.                         if Spamming == true then
  2965.                     while wait(0.1) do
  2966.                             if Spamming == true then
  2967.                                     game.Players:Chat(""  .. args[1])
  2968.                         elseif Spamming == false then
  2969.                                     return
  2970.                                 end
  2971.                             end
  2972.                 end
  2973.             end
  2974.         end)
  2975. end)
  2976.  
  2977. addcmd('nospam','stops spamming',{},
  2978. function(args)
  2979.         Spamming = false
  2980. end)
  2981.  
  2982. addcmd('control','controls player',{},
  2983. function(args)
  2984.         local players = getPlayer(args[1])
  2985.         for i,v in pairs(players)do
  2986.                 local pchar = gPlayers[v].Character
  2987.                 if gPlayers[v] and pchar then
  2988.                         pchar.Humanoid.PlatformStand = true
  2989.                         local w = Instance.new("Weld", Player.Character.Torso)
  2990.                         w.Part0 = Player.Character.Torso
  2991.                         w.Part1 = pchar.Torso  
  2992.                         local w2 = Instance.new("Weld", Player.Character.Head)
  2993.                         w2.Part0 = Player.Character.Head
  2994.                         w2.Part1 = pchar.Head  
  2995.                         local w3 = Instance.new("Weld", Player.Character:findFirstChild("Right Arm"))
  2996.                         w3.Part0 = Player.Character:findFirstChild("Right Arm")
  2997.                         w3.Part1 = pchar:findFirstChild("Right Arm")
  2998.                         local w4 = Instance.new("Weld", Player.Character:findFirstChild("Left Arm"))
  2999.                         w4.Part0 = Player.Character:findFirstChild("Left Arm")
  3000.                         w4.Part1 = pchar:findFirstChild("Left Arm")
  3001.                         local w5 = Instance.new("Weld", Player.Character:findFirstChild("Right Leg"))
  3002.                         w5.Part0 = Player.Character:findFirstChild("Right Leg")
  3003.                         w5.Part1 = pchar:findFirstChild("Right Leg")
  3004.                         local w6 = Instance.new("Weld", Player.Character:findFirstChild("Left Leg"))
  3005.                         w6.Part0 = Player.Character:findFirstChild("Left Leg")
  3006.                         w6.Part1 = pchar:findFirstChild("Left Leg")
  3007.                         char.Head.face:Destroy()
  3008.                         for i,v in pairs(pchar:GetChildren()) do
  3009.                                 if v:IsA("BasePart") then
  3010.                                         v.CanCollide = false
  3011.                                 end
  3012.                         end
  3013.                         for i,v in pairs(char:GetChildren()) do
  3014.                                 if v:IsA("BasePart") then
  3015.                                         v.Transparency = 1
  3016.                                 elseif v:IsA("Hat") then
  3017.                                         v:Destroy()
  3018.                                 end
  3019.                         end
  3020.                         pchar.Parent = char
  3021.                         pchar.Humanoid.Changed:connect(function()
  3022.                                 pchar.Humanoid.PlatformStand = true
  3023.                         end)
  3024.                 end
  3025.                 end
  3026. end)
  3027.  
  3028. addcmd('nuke','nukes player',{},
  3029. function(args)
  3030.         local players = getPlayer(args[1])
  3031.         for i,v in pairs(players)do
  3032.                 local pchar = gPlayers[v].Character
  3033.                 if gPlayers[v] and pchar and pchar:FindFirstChild("Torso")  then
  3034.                         local nuke = Instance.new("Part", game.Workspace)
  3035.                         nuke.Anchored = true
  3036.                         nuke.CanCollide = false
  3037.                         nuke.FormFactor = "Symmetric"
  3038.                         nuke.Shape = "Ball"
  3039.                         nuke.Size = Vector3.new(1,1,1)
  3040.                         nuke.BrickColor = BrickColor.new("New Yeller")
  3041.                         nuke.Transparency = 0.5
  3042.                         nuke.Reflectance = 0.2
  3043.                         nuke.TopSurface = 0
  3044.                         nuke.BottomSurface = 0
  3045.                         nuke.Touched:connect(function (hit)
  3046.                                 if hit and hit.Parent then
  3047.                                         local boom = Instance.new("Explosion", game.Workspace)
  3048.                                         boom.Position = hit.Position
  3049.                                         boom.BlastRadius = 11
  3050.                                         boom.BlastPressure = math.huge
  3051.                                 end
  3052.                         end)
  3053.                         local CF = pchar.Torso.CFrame
  3054.                         nuke.CFrame = CF
  3055.                         for i = 1,333 do
  3056.                                 nuke.Size = nuke.Size + Vector3.new(3,3,3)
  3057.                                 nuke.CFrame = CF
  3058.                                 wait(1/44)
  3059.                         end
  3060.                         nuke:Destroy()
  3061.                 end
  3062.         end
  3063. end)
  3064.  
  3065. addcmd('infect','infects player',{},
  3066. function(args)
  3067.         local players = getPlayer(args[1])
  3068.         for i,v in pairs(players)do
  3069.                 function infect(rip)
  3070.                 local pchar = gPlayers[v].Character
  3071.                         for i,v in pairs(pchar:GetChildren()) do
  3072.                                 if v:IsA("Hat") or v:IsA("Shirt") or v:IsA("Pants") then
  3073.                                         v:Destroy()
  3074.                                 end
  3075.                         end
  3076.                         if pchar.Torso:FindFirstChild("roblox") then
  3077.                                 pchar.Torso.roblox:Destroy()
  3078.                         end
  3079.                         if pchar.Head:FindFirstChild("face") then
  3080.                                 pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
  3081.                         end
  3082.                         if pchar:FindFirstChild("Body Colors") then
  3083.                                 local Colors = pchar["Body Colors"]
  3084.                                 local Skin = BrickColor.new("Pastel green")
  3085.                                 local Clothes = BrickColor.new("Reddish brown")
  3086.                                 Colors.HeadColor = Skin
  3087.                                 Colors.LeftArmColor = Skin
  3088.                                 Colors.RightArmColor = Skin
  3089.                                 Colors.LeftLegColor = Clothes
  3090.                                 Colors.RightLegColor = Clothes
  3091.                                 Colors.TorsoColor = Clothes
  3092.                         end
  3093.                         local w1 = Instance.new("Weld", pchar)
  3094.                         w1.Part0 = pchar["Right Arm"]
  3095.                         w1.Part1 = pchar.Torso
  3096.                         w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  3097.                         local w2 = Instance.new("Weld", pchar)
  3098.                         w2.Part0 = pchar["Left Arm"]
  3099.                         w2.Part1 = pchar.Torso
  3100.                         w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  3101.                         local rip = false
  3102.                         local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
  3103.                                 if connect1 == false then
  3104.                                         connect1 = true
  3105.                                         if game.Players:FindFirstChild(hit.Parent.Name) then
  3106.                                                 infect(game.Players[hit.Parent.Name])
  3107.                                         end
  3108.                                         wait(0.5)
  3109.                                         connect1 = true
  3110.                                 end
  3111.                         end)
  3112.                         local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
  3113.                                 if connect2 == false then
  3114.                                         connect2 = true
  3115.                                         if game.Players:FindFirstChild(hit.Parent.Name) then
  3116.                                                 infect(game.Players[hit.Parent.Name])
  3117.                                         end
  3118.                                         wait(0.5)
  3119.                                         connect2 = true
  3120.                                 end
  3121.                         end)
  3122.                         local IV = Instance.new("IntValue", pchar)
  3123.                         IV.Name = "Infected"
  3124.                         IV.Value = 0
  3125.                         IV.Changed:connect(function()
  3126.                                 connect1:disconnect()
  3127.                                 connect2:disconnect()
  3128.                         end)
  3129.                 end
  3130.                 infect(v)
  3131.         end
  3132. end)
  3133.  
  3134. addcmd('uninfect','makes player back to normal',{},
  3135. function(args)
  3136.         local players = getPlayer(args[1])
  3137.         for i,v in pairs(players)do
  3138.             execCmd("fix " .. gPlayers[v].Name, Player)
  3139.         end
  3140. end)
  3141.  
  3142. addcmd('duck','makes players head a duck',{},
  3143. function(args)
  3144.         local players = getPlayer(args[1])
  3145.         for i,v in pairs(players)do
  3146.             local pchar = gPlayers[v].Character
  3147.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3148.                     if v:IsA("Decal") then
  3149.                             v:Destroy()
  3150.                     end
  3151.             end
  3152.             for i,v in pairs(pchar:GetChildren()) do
  3153.                     if v:IsA("Hat") then
  3154.                             v:Destroy()
  3155.                     end
  3156.             end
  3157.             local duck = Instance.new("SpecialMesh", pchar.Torso)
  3158.             duck.MeshType = "FileMesh"
  3159.             duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  3160.             duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  3161.             duck.Scale = Vector3.new(5, 5, 5)
  3162.             pchar.Head.Transparency = 1
  3163.             pchar["Left Arm"].Transparency = 1
  3164.             pchar["Right Arm"].Transparency = 1
  3165.             pchar["Left Leg"].Transparency = 1
  3166.             pchar["Right Leg"].Transparency = 1
  3167.             pchar.Head.face.Transparency = 1
  3168.         end
  3169. end)
  3170.  
  3171. addcmd('unduck','makes player back to normal',{},
  3172. function(args)
  3173.         local players = getPlayer(args[1])
  3174.         for i,v in pairs(players)do
  3175.             execCmd("fix " .. gPlayers[v].Name, Player)
  3176.         end
  3177. end)
  3178.  
  3179. addcmd('disable','removes players humanoid',{},
  3180. function(args)
  3181.         local players = getPlayer(args[1])
  3182.         for i,v in pairs(players)do
  3183.                 local pchar = gPlayers[v].Character
  3184.             if pchar:FindFirstChild("Humanoid") then
  3185.                    pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
  3186.                    local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
  3187.                    humanoid.Parent = game.ContextActionService
  3188.             end
  3189.         end
  3190. end)
  3191.  
  3192. addcmd('enable','gives player humanoid',{},
  3193. function(args)
  3194.         local players = getPlayer(args[1])
  3195.         for i,v in pairs(players)do
  3196.                 local pchar = gPlayers[v].Character
  3197.             if pchar:FindFirstChild("Humanoid") then
  3198.                     return
  3199.             else
  3200.                     local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
  3201.                     humanoid.Parent = pchar
  3202.                     humanoid.Name = "Humanoid"
  3203.             end
  3204.         end
  3205. end)
  3206.  
  3207. addcmd('size','changes size of player',{},
  3208. function(args)
  3209.         local players = getPlayer(args[1])
  3210.         for i,v in pairs(players)do
  3211.         local pchar = gPlayers[v].Character
  3212.                 local function scale(chr,scl)
  3213.                
  3214.                         for _,v in pairs(pchar:GetChildren()) do
  3215.                                 if v:IsA("Hat") then
  3216.                                         v:Clone()
  3217.                                         v.Parent = game.Lighting
  3218.                                 end
  3219.                         end
  3220.                                
  3221.                     local Head = chr['Head']
  3222.                     local Torso = chr['Torso']
  3223.                     local LA = chr['Left Arm']
  3224.                     local RA = chr['Right Arm']
  3225.                     local LL = chr['Left Leg']
  3226.                     local RL = chr['Right Leg']
  3227.                     local HRP = chr['HumanoidRootPart']
  3228.                
  3229.                     wait(0.1)
  3230.                    
  3231.                     Head.formFactor = 3
  3232.                     Torso.formFactor = 3
  3233.                     LA.formFactor = 3
  3234.                     RA.formFactor = 3
  3235.                     LL.formFactor = 3
  3236.                     RL.formFactor = 3
  3237.                     HRP.formFactor = 3
  3238.                    
  3239.                     Head.Size = Vector3.new(scl * 2, scl, scl)
  3240.                     Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  3241.                     LA.Size = Vector3.new(scl, scl * 2, scl)
  3242.                     RA.Size = Vector3.new(scl, scl * 2, scl)
  3243.                     LL.Size = Vector3.new(scl, scl * 2, scl)
  3244.                     RL.Size = Vector3.new(scl, scl * 2, scl)
  3245.                     HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  3246.                    
  3247.                     local Motor1 = Instance.new('Motor6D', Torso)
  3248.                     Motor1.Part0 = Torso
  3249.                     Motor1.Part1 = Head
  3250.                 Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  3251.                 Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  3252.                 Motor1.Name = "Neck"
  3253.                                    
  3254.                 local Motor2 = Instance.new('Motor6D', Torso)
  3255.                 Motor2.Part0 = Torso
  3256.                 Motor2.Part1 = LA
  3257.                 Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  3258.                 Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  3259.                 Motor2.Name = "Left Shoulder"
  3260.                
  3261.                 local Motor3 = Instance.new('Motor6D', Torso)
  3262.                         Motor3.Part0 = Torso
  3263.                 Motor3.Part1 = RA
  3264.                 Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  3265.                 Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  3266.                 Motor3.Name = "Right Shoulder"
  3267.                
  3268.                 local Motor4 = Instance.new('Motor6D', Torso)
  3269.                 Motor4.Part0 = Torso
  3270.                 Motor4.Part1 = LL
  3271.                 Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  3272.                 Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  3273.                 Motor4.Name = "Left Hip"
  3274.                
  3275.                 local Motor5 = Instance.new('Motor6D', Torso)
  3276.                 Motor5.Part0 = Torso
  3277.                 Motor5.Part1 = RL
  3278.                 Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  3279.                 Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  3280.                 Motor5.Name = "Right Hip"
  3281.                
  3282.                 local Motor6 = Instance.new('Motor6D', HRP)
  3283.                 Motor6.Part0 = HRP
  3284.                 Motor6.Part1 = Torso
  3285.                 Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  3286.                 Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  3287.                    
  3288.                 end
  3289.                
  3290.                 scale(pchar, args[2])
  3291.        
  3292.                 for _,v in pairs(game.Lighting:GetChildren()) do
  3293.                         if v:IsA("Hat") then
  3294.                                 v.Parent = pchar
  3295.                         end
  3296.                 end
  3297.         end
  3298. end)
  3299.  
  3300. addcmd('confuse','reverses players speed',{'reverse'},
  3301. function(args)
  3302.         local players = getPlayer(args[1])
  3303.         for i,v in pairs(players)do
  3304.             local pchar = gPlayers[v].Character
  3305.             pchar.Humanoid.WalkSpeed = tonumber(-16)
  3306.         end
  3307. end)
  3308.  
  3309. addcmd('unconfuse','reverses players speed',{'unreverse'},
  3310. function(args)
  3311.         local players = getPlayer(args[1])
  3312.         for i,v in pairs(players)do
  3313.             local pchar = gPlayers[v].Character
  3314.             pchar.Humanoid.WalkSpeed = tonumber(16)
  3315.         end
  3316. end)
  3317.  
  3318. addcmd('clone','clones player',{},
  3319. function(args)
  3320.         local players = getPlayer(args[1])
  3321.         for i,v in pairs(players)do
  3322.             local pchar = gPlayers[v].Character
  3323.             pchar.Archivable = true
  3324.             local clone = pchar:Clone()
  3325.             clone.Parent = game.Workspace
  3326.             clone:MoveTo(pchar:GetModelCFrame().p)
  3327.             clone:MakeJoints()
  3328.             pchar.Archivable = false
  3329.         end
  3330. end)
  3331.  
  3332. addcmd('spin','spins player',{},
  3333. function(args)
  3334.         local players = getPlayer(args[1])
  3335.         for i,v in pairs(players)do
  3336.             local pchar = gPlayers[v].Character
  3337.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3338.                     if v.Name == "Spinning" then
  3339.                             v:Destroy()
  3340.                     end
  3341.             end
  3342.             local Torso = pchar.Torso
  3343.             local BG = Instance.new("BodyGyro", Torso)
  3344.             BG.Name = "Spinning"
  3345.             BG.maxTorque = Vector3.new(0, math.huge, 0)
  3346.             BG.P = 11111
  3347.             BG.cframe = Torso.CFrame
  3348.             repeat wait(1/44)
  3349.                     BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  3350.             until not BG or BG.Parent ~= Torso
  3351.         end
  3352. end)
  3353.  
  3354. addcmd('unspin','stops spinning player',{},
  3355. function(args)
  3356.         local players = getPlayer(args[1])
  3357.         for i,v in pairs(players)do
  3358.             local pchar = gPlayers[v].Character
  3359.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3360.                     if v.Name == "Spinning" then
  3361.                             v:Destroy()
  3362.                     end
  3363.             end
  3364.         end
  3365. end)
  3366.  
  3367. addcmd('dog','makes player a dog',{},
  3368. function(args)
  3369.         local players = getPlayer(args[1])
  3370.         for i,v in pairs(players)do
  3371.             local pchar = gPlayers[v].Character
  3372.             if pchar:FindFirstChild("Shirt") then
  3373.                     pchar.Shirt:Destroy()
  3374.             end
  3375.             if pchar:FindFirstChild("Pants") then
  3376.                     pchar.Pants:Destroy()
  3377.             end
  3378.             if pchar:FindFirstChild("Shirt Graphic") then
  3379.                     pchar["Shirt Graphic"].Graphic = ""
  3380.             end
  3381.             pchar.Torso.Transparency = 1
  3382.             pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  3383.             pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  3384.             pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  3385.             pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  3386.             pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  3387.             local FakeTorso = Instance.new("Seat", pchar)
  3388.             FakeTorso.Name = "FakeTorso"
  3389.             FakeTorso.FormFactor = "Symmetric"
  3390.             FakeTorso.TopSurface = 0
  3391.             FakeTorso.BottomSurface = 0
  3392.             FakeTorso.Size = Vector3.new(3,1,4)
  3393.             FakeTorso.BrickColor = BrickColor.new("Brown")
  3394.             FakeTorso.CFrame = pchar.Torso.CFrame
  3395.             local BF = Instance.new("BodyForce", FakeTorso)
  3396.             BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
  3397.             local W = Instance.new("Weld", pchar.Torso)
  3398.             W.Part0 = pchar.Torso
  3399.             W.Part1 = FakeTorso
  3400.             W.C0 = CFrame.new(0,-.5,0)
  3401.             local BC = pchar["Body Colors"]
  3402.             BC.HeadColor = BrickColor.new("Brown")
  3403.             BC.LeftArmColor = BrickColor.new("Brown")
  3404.             BC.LeftLegColor = BrickColor.new("Brown")
  3405.             BC.RightArmColor = BrickColor.new("Brown")
  3406.             BC.RightLegColor = BrickColor.new("Brown")
  3407.             BC.TorsoColor = BrickColor.new("Brown")
  3408.         end
  3409. end)
  3410.  
  3411. addcmd('undog','makes player back to normal',{},
  3412. function(args)
  3413.         local players = getPlayer(args[1])
  3414.         for i,v in pairs(players)do
  3415.             execCmd("fix " .. gPlayers[v].Name, Player)
  3416.         end
  3417. end)
  3418.  
  3419. addcmd('tptool','gives player tptool',{''},
  3420. function(args)
  3421.         local tool = DATA.Teleport:Clone()
  3422.         tool.Parent = Player.Backpack
  3423. end)
  3424.  
  3425. addcmd('loopsit','loop sits player',{},
  3426. function(args)
  3427.         local players = getPlayer(args[1])
  3428.         for i,v in pairs(players)do
  3429.             local pchar = gPlayers[v].Character
  3430.             if pchar:FindFirstChild("LoopSit") then
  3431.                     pchar.LoopSit.Name = "NotLoopSit"
  3432.                     wait(0.1)
  3433.                     pchar.NotLoopSit:Destroy()
  3434.             end
  3435.             local LoopSit = Instance.new("StringValue", pchar)
  3436.             LoopSit.Name = "LoopSit"
  3437.             repeat wait(0.1)
  3438.                     pchar.Humanoid.Sit = true
  3439.             until LoopSit.Name == "NotLoopSit"
  3440.         end
  3441. end)
  3442.  
  3443. addcmd('unloopsit','stops loop sit on player',{'noloopsit'},
  3444. function(args)
  3445.         local players = getPlayer(args[1])
  3446.         for i,v in pairs(players)do
  3447.             local pchar = gPlayers[v].Character
  3448.             if pchar:FindFirstChild("LoopSit") then
  3449.                     pchar.LoopSit.Name = "NotLoopSit"
  3450.                     wait(0.1)
  3451.                     pchar.NotLoopSit:Destroy()
  3452.             end
  3453.         end
  3454. end)
  3455.  
  3456. addcmd('loopjump','loop jumps player',{},
  3457. function(args)
  3458.         local players = getPlayer(args[1])
  3459.         for i,v in pairs(players)do
  3460.             local pchar = gPlayers[v].Character
  3461.             if pchar:FindFirstChild("LoopJump") then
  3462.                     pchar.LoopJump.Name = "NotLoopJump"
  3463.                     wait(0.1)
  3464.                     pchar.NotLoopJump:Destroy()
  3465.             end
  3466.             local LoopJump = Instance.new("StringValue", pchar)
  3467.             LoopJump.Name = "LoopJump"
  3468.             repeat wait(0.1)
  3469.                     pchar.Humanoid.Jump = true
  3470.             until LoopJump.Name == "NotLoopJump"
  3471.         end
  3472. end)
  3473.  
  3474. addcmd('unloopjump','stops loop jump on player',{'noloopjump'},
  3475. function(args)
  3476.         local players = getPlayer(args[1])
  3477.         for i,v in pairs(players)do
  3478.             local pchar = gPlayers[v].Character
  3479.             if pchar:FindFirstChild("LoopJump") then
  3480.                     pchar.LoopJump.Name = "NotLoopJump"
  3481.                     wait(0.1)
  3482.                     pchar.NotLoopJump:Destroy()
  3483.             end
  3484.         end
  3485. end)
  3486.  
  3487. addcmd('loopheal','loop heals player',{},
  3488. function(args)
  3489.         local players = getPlayer(args[1])
  3490.         for i,v in pairs(players)do
  3491.             local pchar = gPlayers[v].Character
  3492.             if pchar:FindFirstChild("LoopHeal") then
  3493.                     pchar.LoopHeal.Name = "NotLoopHeal"
  3494.                     wait(0.1)
  3495.                     pchar.NotLoopHeal:Destroy()
  3496.             end
  3497.             local LoopHeal = Instance.new("StringValue", pchar)
  3498.             LoopHeal.Name = "LoopHeal"
  3499.             repeat wait(0.1)
  3500.                     pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
  3501.             until LoopHeal.Name == "NotLoopHeal"
  3502.         end
  3503. end)
  3504.  
  3505. addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
  3506. function(args)
  3507.         local players = getPlayer(args[1])
  3508.         for i,v in pairs(players)do
  3509.             local pchar = gPlayers[v].Character
  3510.             if pchar:FindFirstChild("LoopHeal") then
  3511.                     pchar.LoopHeal.Name = "NotLoopHeal"
  3512.                     wait(0.1)
  3513.                     pchar.NotLoopHeal:Destroy()
  3514.             end
  3515.         end
  3516. end)
  3517.  
  3518. addcmd('fling','flings player',{},
  3519. function(args)
  3520.         local players = getPlayer(args[1])
  3521.         for i,v in pairs(players)do
  3522.             local pchar = gPlayers[v].Character
  3523.                 if pchar:FindFirstChild("Humanoid") then
  3524.                         local xran
  3525.                         local zran
  3526.                         repeat
  3527.                                 xran = math.random(-9999,9999)
  3528.                         until math.abs(xran) >= 5555
  3529.                         repeat
  3530.                                 zran = math.random(-9999,9999)
  3531.                         until math.abs(zran) >= 5555
  3532.                         pchar.Humanoid.Sit = true
  3533.                         pchar.Torso.Velocity = Vector3.new(0,0,0)
  3534.                         local BF = Instance.new("BodyForce", pchar.Torso)
  3535.                         BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  3536.                 end
  3537.         end
  3538. end)
  3539.  
  3540. addcmd('nograv','makes player have moon gravity',{''},
  3541. function(args)
  3542.         local players = getPlayer(args[1])
  3543.         for i,v in pairs(players)do
  3544.             local pchar = gPlayers[v].Character
  3545.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3546.                     if v.Name == "NoGrav" then
  3547.                             v:Destroy()
  3548.                     end
  3549.             end
  3550.             local BF = Instance.new("BodyForce", pchar.Torso)
  3551.             BF.Name = "NoGrav"
  3552.             BF.Force = Vector3.new(0,2700,0)
  3553.         end
  3554. end)
  3555.  
  3556. addcmd('grav','makes player have normal gravity',{''},
  3557. function(args)
  3558.         local players = getPlayer(args[1])
  3559.         for i,v in pairs(players)do
  3560.             local pchar = gPlayers[v].Character
  3561.             for i,v in pairs(pchar.Torso:GetChildren()) do
  3562.                     if v.Name == "NoGrav" then
  3563.                             v:Destroy()
  3564.                     end
  3565.             end
  3566.         end
  3567. end)
  3568.  
  3569. addcmd('seizure','makes player have a seizure',{''},
  3570. function(args)
  3571.         local players = getPlayer(args[1])
  3572.         for i,v in pairs(players)do
  3573.             local pchar = gPlayers[v].Character
  3574.             if pchar:FindFirstChild("Seizure") then
  3575.                    
  3576.             end
  3577.             local Seizure = Instance.new("StringValue", pchar)
  3578.             Seizure.Name = "Seizure"
  3579.             pchar.Humanoid.PlatformStand = true
  3580.                 repeat wait()
  3581.                     pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  3582.                     pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3583.                 until Seizure.Name == "NotSeizure"
  3584.         end
  3585. end)
  3586.  
  3587. addcmd('unseizure','makes player stop having a seizure',{''},
  3588. function(args)
  3589.         local players = getPlayer(args[1])
  3590.         for i,v in pairs(players)do
  3591.             local pchar = gPlayers[v].Character
  3592.             if pchar:FindFirstChild("Seizure") then
  3593.                 pchar.Humanoid.PlatformStand = false
  3594.                     pchar.Seizure.Name = "NotSeizure"
  3595.                     wait(0.1)
  3596.                     pchar.NotSeizure:Destroy()
  3597.             end
  3598.         end
  3599. end)
  3600.  
  3601. addcmd('cape','gives you a cape',{''},
  3602. function(args)
  3603.     if not args[1] then
  3604.                 args[1] = 1012
  3605.         end
  3606.         capeColor = args[1]
  3607.     Cape(Player)
  3608. end)
  3609.  
  3610. addcmd('uncape','takes cape away from you',{''},
  3611. function(args)
  3612.         if char:FindFirstChild("Cape") ~= nil then
  3613.             char.Cape:Destroy()
  3614.         end
  3615. end)
  3616.  
  3617. addcmd('paper','makes player thin as paper',{''},
  3618. function(args)
  3619.         local players = getPlayer(args[1])
  3620.         for i,v in pairs(players)do
  3621.             local pchar = gPlayers[v].Character
  3622.             local LA = DATA.Paper:Clone()
  3623.             LA.Parent = pchar["Left Arm"]
  3624.             local RA = DATA.Paper:Clone()
  3625.             RA.Parent = pchar["Right Arm"]
  3626.             local LL = DATA.Paper:Clone()
  3627.             LL.Parent = pchar["Left Leg"]
  3628.             local RL = DATA.Paper:Clone()
  3629.             RL.Parent = pchar["Right Leg"]
  3630.             local T = DATA.Paper:Clone()
  3631.             T.Parent = pchar.Torso
  3632.                 local H = DATA.Paper:Clone()
  3633.                 H.Parent = pchar.Head
  3634.                 pchar.Head.face:Destroy()
  3635.         end
  3636. end)
  3637.  
  3638. addcmd('punish','punishs player',{''},
  3639. function(args)
  3640.         local players = getPlayer(args[1])
  3641.         for i,v in pairs(players)do
  3642.             local pchar = gPlayers[v].Character
  3643.             pchar.Parent = game.Lighting
  3644.         end
  3645. end)
  3646.  
  3647. addcmd('unpunish','unpunishs player',{''},
  3648. function(args)
  3649.         local players = getPlayer(args[1])
  3650.         for i,v in pairs(players)do
  3651.             if game.Lighting:FindFirstChild("" .. gPlayers[v].Name) then
  3652.                 game.Lighting:FindFirstChild("" .. gPlayers[v].Name).Parent = game.Workspace
  3653.             end
  3654.         end
  3655. end)
  3656.  
  3657. addcmd('disco','disco party',{''},
  3658. function(args)
  3659.         Disco = true
  3660.         if Disco == true then
  3661.                 repeat wait(0.3)
  3662.                     game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random())
  3663.                 until Disco == false
  3664.         end
  3665. end)
  3666.  
  3667. addcmd('undisco','rip disco party',{''},
  3668. function(args)
  3669.         Disco = false
  3670.         wait(0.1)
  3671.         game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
  3672. end)
  3673.  
  3674. -- Extras --
  3675.  
  3676. Floating = false
  3677.  
  3678. addcmd('float', 'makes player float',{},
  3679. function(args,speaker)
  3680.         Floating = true
  3681.         local players = getPlayer(args[1])
  3682.         for _,v in pairs(players) do
  3683.                 local pchar = gPlayers[v].Character
  3684.                 if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
  3685.                         spawn(function()
  3686.                                 local float = DATA.Float:Clone()
  3687.                                 float.Parent = pchar
  3688.                                 float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
  3689.                                 spawn(function()
  3690.                                         while wait(0.1) do
  3691.                                                 if pchar:FindFirstChild("Float") then
  3692.                                                         float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
  3693.                                                 else
  3694.                                                         break
  3695.                                                 end
  3696.                                         end
  3697.                                 end)
  3698.                         end)
  3699.                 end
  3700.         end
  3701. end)
  3702.  
  3703. addcmd('unfloat','disables floating',{},
  3704. function(args)
  3705.         Floating = false
  3706.         local players = getPlayer(args[1])
  3707.         for i,v in pairs(players)do
  3708.             local pchar = gPlayers[v].Character
  3709.             if pchar:FindFirstChild("Float") then
  3710.                     pchar.Float:Destroy()
  3711.             end
  3712.         end
  3713. end)
  3714.  
  3715. local Clip = true
  3716.  
  3717. addcmd('noclip','enables noclip',{},
  3718. function(args)
  3719. Notify('NoClip Enabled')
  3720. Clip = false
  3721.         wait(1)
  3722.         Name = game.Players.LocalPlayer.Name
  3723.         game:GetService('Players').LocalPlayer.PlayerGui.ChildAdded:connect(function (NC)
  3724.                 delay(0, function()
  3725.                         if NC.Name ~= "OuputGUI" then
  3726.                                 NC:Destroy()
  3727.                         end
  3728.                 end)
  3729.         end)
  3730.         game:GetService('RunService').Stepped:connect(function ()
  3731.     game.Workspace[Name].Torso.CanCollide = Clip
  3732.     game.Workspace[Name].Head.CanCollide = Clip
  3733.         end)
  3734.         game.Workspace[Name].Torso.Changed:connect(function()
  3735.     game.Workspace[Name].Torso.CanCollide = Clip
  3736.         game.Workspace[Name].Head.CanCollide = Clip
  3737.         end)
  3738. end)
  3739.  
  3740. addcmd('clip','disables noclip',{},
  3741. function(args)
  3742.         Notify('NoClip Disabled')
  3743.         Clip = true
  3744. end)
  3745.  
  3746. wait(0.1)
  3747.  
  3748. addcmd('prefix','changes prefix',{},
  3749. function(args)
  3750.         cmdprefix = args[1]
  3751.         Notify('Changed prefix to "' .. args[1] .. '"')
  3752. end)
  3753.  
  3754. addcmd('admins','prints admins',{},
  3755. function(args)
  3756.         for i,v in pairs(AdminFolder:GetChildren()) do
  3757.                 if v:IsA("StringValue") then
  3758.                         print("-" .. v.Value)
  3759.                         Notify('Printed Admins, Check Console')
  3760.                 end
  3761.         end
  3762. end)
  3763.  
  3764. addcmd('bans','prints bans',{},
  3765. function(args)
  3766.         for i,v in pairs(BanFolder:GetChildren()) do
  3767.                 if v:IsA("StringValue") then
  3768.                         print("-" .. v.Value)
  3769.                         Notify('Printed Bans, Check Console')
  3770.                 end
  3771.         end
  3772. end)
  3773.  
  3774. addcmd('version','shows version',{''},
  3775. function(args)
  3776.         Notify("Version is " .. Version)
  3777. end)
  3778.  
  3779. --| Floating |--
  3780.  
  3781. Mouse.KeyDown:connect(function (Key)
  3782.         if Key:byte() == 29 then
  3783.                 if Floating == false then
  3784.                         execCmd("float me", Player)
  3785.                         Floating = true
  3786.                 elseif Floating == true then
  3787.                         execCmd("unfloat me", Player)
  3788.                         Floating = false
  3789.                 end
  3790.         end
  3791. end)
  3792.  
  3793. --| Ban Data |--
  3794.  
  3795. for i,v in pairs(BannedPlayers) do
  3796.         local ban = Instance.new("StringValue", BanFolder)
  3797.         ban.Value = v
  3798.         ban.RobloxLocked = true
  3799. end
  3800.  
  3801. spawn(function ()
  3802.     while wait(0.1) do
  3803.                 for _,a in pairs(game.ContextActionService:GetChildren()) do
  3804.                     if a.Name == "BanList" then
  3805.                             for _,b in pairs(a:GetChildren()) do
  3806.                                     if b:IsA("StringValue") then
  3807.                                             for _,c in pairs(game.Players:GetChildren()) do
  3808.                                                     if c.Name == b.Value then
  3809.                                                             c.PersonalServerRank = 200
  3810.                                                             wait(0.1)
  3811.                                                             c.PersonalServerRank = 0
  3812.                                                     end
  3813.                                             end
  3814.                                     end
  3815.                             end
  3816.                     end
  3817.             end
  3818.     end
  3819. end)
  3820.  
  3821. --| Admin |--
  3822.  
  3823. for i,v in pairs(admins) do
  3824.         local admin = Instance.new("StringValue", AdminFolder)
  3825.         admin.Value = v
  3826.         admin.RobloxLocked = true
  3827. end
  3828.  
  3829. spawn(function ()
  3830.     while wait(0.1) do
  3831.                 for _,a in pairs(game.ContextActionService:GetChildren()) do
  3832.                     if a.Name == "AdminList" then
  3833.                             for _,b in pairs(a:GetChildren()) do
  3834.                                     if b:IsA("StringValue") then
  3835.                                             for _,c in pairs(game.Players:GetChildren()) do
  3836.                                                     if c.Name == b.Value then
  3837.                                                             execCmd('admin ' .. c.Name)
  3838.                                                     end
  3839.                                             end
  3840.                                     end
  3841.                             end
  3842.                     end
  3843.             end
  3844.     end
  3845. end)
  3846.  
  3847.  
  3848.  
  3849.  
  3850.  
  3851.  
  3852.  
  3853.  
  3854.  
  3855.  
  3856.  
  3857.  
  3858.  
  3859.  
  3860.  
  3861.  
  3862.  
  3863.  
  3864.  
  3865.  
  3866.  
  3867. --| Don't.. Touch.. |--
  3868.  
  3869.  
  3870.  
  3871.  
  3872.  
  3873.  
  3874. --| CMD Bar |--
  3875.  
  3876. CMDbar = Instance.new('ScreenGui', game.CoreGui)
  3877. CMDbar.Name = 'GUI'
  3878. cmdBAR = Instance.new('TextBox', CMDbar)
  3879. cmdBAR.Name = 'CMDbar'
  3880. cmdBAR.Active = true
  3881. cmdBAR.BackgroundColor = BrickColor.new(0,0,0)
  3882. cmdBAR.BackgroundTransparency = 0.5
  3883. cmdBAR.BorderColor = BrickColor.new(0,0,0)
  3884. cmdBAR.BorderSizePixel = 0
  3885. cmdBAR.Position = UDim2.new(0,0,1,-25)
  3886. cmdBAR.Size = UDim2.new(0,200,0,20)
  3887. cmdBAR.Font = 'SourceSans'
  3888. cmdBAR.FontSize = 'Size18'
  3889. cmdBAR.Text = 'Press ; to Execute a Command'
  3890. cmdBAR.TextColor = BrickColor.new(255,255,255)
  3891.  
  3892. --| Data |--
  3893.  
  3894. DATA = Instance.new('Folder', game.ContextActionService)
  3895. DATA.Name = 'Data'
  3896.  
  3897. Paper = Instance.new('BlockMesh', DATA)
  3898. Paper.Name = 'Paper'
  3899. Paper.Scale = Vector3.new(1,1,0.1)
  3900.  
  3901. ayylmao = Instance.new('Hat', DATA)
  3902. ayylmao.Name = 'ayylmao'
  3903. ayyHandle = Instance.new('Part', ayylmao)
  3904. ayyHandle.Name = 'Handle'
  3905. ayyHandle.Size = Vector3.new(2,2.4,2)
  3906. ayyHandle.FormFactor = 'Plate'
  3907. ayyMesh = Instance.new('SpecialMesh', ayyHandle)
  3908. ayyMesh.Scale = Vector3.new(1,1.02,1)
  3909. ayyMesh.MeshType = 'FileMesh'
  3910. ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689'
  3911. ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796'
  3912.  
  3913. Float = Instance.new('Part', DATA)
  3914. Float.Name = 'Float'
  3915. Float.Transparency = 1
  3916. Float.Size = Vector3.new(6,1,6)
  3917. Float.Anchored = true
  3918.  
  3919. cmdGUI = Instance.new('ScreenGui', DATA)
  3920. cmdGUI.Name = 'CMDs'
  3921. cmdMAIN = Instance.new('Frame', cmdGUI)
  3922. cmdMAIN.Name = 'MAIN'
  3923. cmdMAIN.Active = true
  3924. cmdMAIN.BackgroundColor = BrickColor.new(0,0,0)
  3925. cmdMAIN.BackgroundTransparency = 0.5
  3926. cmdMAIN.BorderColor = BrickColor.new(0,0,0)
  3927. cmdMAIN.BorderSizePixel = 0
  3928. cmdMAIN.Position = UDim2.new(0,10,0,350)
  3929. cmdMAIN.Size = UDim2.new(0,170,0,15)
  3930. cmdMAIN.Draggable = true
  3931. cmdCMDs = Instance.new('ScrollingFrame', cmdMAIN)
  3932. cmdCMDs.Name = 'CMDs'
  3933. cmdCMDs.BackgroundColor = BrickColor.new(0,0,0)
  3934. cmdCMDs.BackgroundTransparency = 0.8
  3935. cmdCMDs.BorderColor = BrickColor.new(0,0,0)
  3936. cmdCMDs.BorderSizePixel = 0
  3937. cmdCMDs.Position = UDim2.new(0,0,0,15)
  3938. cmdCMDs.Size = UDim2.new(0,200,0,150)
  3939. cmdCMDs.CanvasSize = UDim2.new(0,0,0,0)
  3940. cmdCMDs.TopImage = 'rbxasset://textures/blackBkg_square.png'
  3941. cmdCMDs.MidImage = 'rbxasset://textures/blackBkg_square.png'
  3942. cmdCMDs.BottomImage = 'rbxasset://textures/blackBkg_square.png'
  3943. cmdCMDs.ScrollBarThickness = 2
  3944. cmdExit = Instance.new('TextButton', cmdMAIN)
  3945. cmdExit.Name = 'Exit'
  3946. cmdExit.BackgroundColor = BrickColor.new(255,0,0)
  3947. cmdExit.BackgroundTransparency = 0.5
  3948. cmdExit.BorderColor = BrickColor.new(255,0,0)
  3949. cmdExit.BorderSizePixel = 0
  3950. cmdExit.Position = UDim2.new(0,185,0,0)
  3951. cmdExit.Size = UDim2.new(0,15,0,15)
  3952. cmdExit.Text = ""
  3953. ExitScript = Instance.new('LocalScript', cmdExit)
  3954. ExitScript.Source =
  3955. [[
  3956. script.Parent.MouseButton1Down:connect(function()
  3957.         script.Parent.Parent.Parent:Destroy()
  3958. end)
  3959. ]]
  3960. cmdMin = Instance.new('TextButton', cmdMAIN)
  3961. cmdMin.Name = 'MM'
  3962. cmdMin.BackgroundColor = BrickColor.new(140,140,140)
  3963. cmdMin.BackgroundTransparency = 0.5
  3964. cmdMin.BorderColor = BrickColor.new(140,140,140)
  3965. cmdMin.BorderSizePixel = 0
  3966. cmdMin.Position = UDim2.new(0,170,0,0)
  3967. cmdMin.Size = UDim2.new(0,15,0,15)
  3968. cmdMin.Text = ""
  3969. MinScript = Instance.new('LocalScript', cmdMin)
  3970. MinScript.Source =
  3971. [[
  3972. local CMDs = script.Parent.Parent.CMDs
  3973.  
  3974. script.Parent.MouseButton1Down:connect(function()
  3975.         if CMDs.Visible == true then
  3976.                 CMDs.Visible = false
  3977.         elseif CMDs.Visible == false then
  3978.                 CMDs.Visible = true
  3979.         end
  3980. end)
  3981. ]]
  3982. cmdEx = Instance.new('TextLabel', cmdMAIN)
  3983. cmdEx.Name = 'Example'
  3984. cmdEx.BackgroundColor = BrickColor.new(0,0,0)
  3985. cmdEx.BackgroundTransparency = 0.8
  3986. cmdEx.BorderColor = BrickColor.new(0,0,0)
  3987. cmdEx.BorderSizePixel = 0
  3988. cmdEx.Position = UDim2.new(0,5,0,20)
  3989. cmdEx.Size = UDim2.new(0,190,0,20)
  3990. cmdEx.Visible = false
  3991. cmdEx.TextColor = BrickColor.new(255,255,255)
  3992. cmdEx.TextXAlignment = 'Left'
  3993.  
  3994. duckGUI = Instance.new('ScreenGui', DATA)
  3995. duckGUI.Name = 'Duck'
  3996. duckImage = Instance.new('ImageLabel', duckGUI)
  3997. duckImage.BackgroundTransparency = 1
  3998. duckImage.Position = UDim2.new(0,-300,1,-150)
  3999. duckImage.Size = UDim2.new(0,300,0,300)
  4000. duckImage.Rotation = -30
  4001. duckImage.Image = 'rbxassetid://301388647'
  4002. duckScript = Instance.new('LocalScript', duckGUI)
  4003. duckScript.Source =
  4004. [[
  4005. local duck = script.Parent.ImageLabel
  4006.  
  4007. wait(2)
  4008.  
  4009. duck:TweenPosition(UDim2.new(1, 0, 1, -150), "InOut", "Quad", 3, true, nil)
  4010. ]]
  4011.  
  4012. espMAIN = Instance.new('BillboardGui', DATA)
  4013. espMAIN.Name = 'MAIN'
  4014. espMAIN.AlwaysOnTop = true
  4015. espMAIN.ExtentsOffset = Vector3.new(0,1,0)
  4016. espMAIN.Size = UDim2.new(0,5,0,5)
  4017. espMAIN.StudsOffset = Vector3.new(0,1,0)
  4018. espDot = Instance.new('Frame', espMAIN)
  4019. espDot.BackgroundColor = BrickColor.new(42,181,255)
  4020. espDot.BackgroundTransparency = 0.3
  4021. espDot.BorderSizePixel = 0
  4022. espDot.Position = UDim2.new(-0.5,0,-0.5,0)
  4023. espDot.Size = UDim2.new(2,0,2,0)
  4024. espDot.Visible = false
  4025. espDot.ZIndex = 10
  4026. espName = Instance.new('TextLabel', espMAIN)
  4027. espName.Name = 'Name'
  4028. espName.BackgroundColor = BrickColor.new(0,0,0)
  4029. espName.BackgroundTransparency = 1
  4030. espName.BorderColor = BrickColor.new(0,0,0)
  4031. espName.BorderSizePixel = 0
  4032. espName.Position = UDim2.new(0,0,0,-35)
  4033. espName.Size = UDim2.new(1,0,10,0)
  4034. espName.Visible = false
  4035. espName.ZIndex = 10
  4036.  
  4037. notifyMAIN = Instance.new('ScreenGui', DATA)
  4038. notifyMAIN.Name = 'Notification'
  4039. notifyNOT = Instance.new('Frame', notifyMAIN)
  4040. notifyNOT.Name = 'NOTIFY'
  4041. notifyNOT.BackgroundColor = BrickColor.new(0,0,0)
  4042. notifyNOT.BackgroundTransparency = 0.5
  4043. notifyNOT.BorderColor = BrickColor.new(255,255,255)
  4044. notifyNOT.BorderSizePixel = 2
  4045. notifyNOT.Position = UDim2.new(0,-200,0.7,0)
  4046. notifyNOT.Size = UDim2.new(0,200,0,30)
  4047. notifyNOTE = Instance.new('TextLabel', notifyNOT)
  4048. notifyNOTE.Name = 'NOTE'
  4049. notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
  4050. notifyNOTE.BackgroundTransparency = 1
  4051. notifyNOTE.BorderColor = BrickColor.new(255,255,255)
  4052. notifyNOTE.BorderSizePixel = 0
  4053. notifyNOTE.Size = UDim2.new(1,0,1,0)
  4054. notifyNOTE.ZIndex = 10
  4055. notifyNOTE.FontSize = 'Size18'
  4056. notifyNOTE.Font = 'SourceSans'
  4057. notifyNOTE.Text = 'NOTIFY'
  4058. notifyNOTE.TextColor = BrickColor.new(255,255,255)
  4059. notifyNOTE.TextStrokeColor3 = Color3.new(255,255,255)
  4060. notifyNOTE.TextStrokeTransparency = 0.8
  4061.  
  4062. tpTool = Instance.new('HopperBin', DATA)
  4063. tpTool.Name = 'Teleport'
  4064. tpScript = Instance.new('LocalScript', tpTool)
  4065. tpScript.Source =
  4066. [[
  4067. local Player = game.Players.LocalPlayer
  4068. local Mouse = Player:GetMouse()
  4069.  
  4070. local Tool = script.Parent
  4071.  
  4072. Mouse.Button1Down:connect(function()
  4073.         if Mouse.Target and Tool.Active then
  4074.                 Player.Character.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,2,0)
  4075.         end
  4076. end)
  4077. ]]
  4078.  
  4079. modJAIL = Instance.new('Model', DATA)
  4080. modJAIL.Name = 'JAIL'
  4081. botJAIL = Instance.new('Part', modJAIL)
  4082. botJAIL.Name = 'BOTTOM'
  4083. botJAIL.BrickColor = BrickColor.new('Black')
  4084. botJAIL.Transparency = 0.5
  4085. botJAIL.Position = Vector3.new(-6.2,0.5,-11.6)
  4086. botJAIL.Anchored = true
  4087. botJAIL.Locked = true
  4088. botJAIL.Size = Vector3.new(6,1,6)
  4089. botJAIL.TopSurface = 'Smooth'
  4090. botJAIL.BottomSurface = 'Smooth'
  4091. topJAIL = Instance.new('Part', modJAIL)
  4092. topJAIL.Name = 'BOTTOM'
  4093. topJAIL.BrickColor = BrickColor.new('Black')
  4094. topJAIL.Transparency = 0.5
  4095. topJAIL.Position = Vector3.new(-6.2,7.5,-11.6)
  4096. topJAIL.Anchored = true
  4097. topJAIL.Locked = true
  4098. topJAIL.Size = Vector3.new(6,1,6)
  4099. topJAIL.TopSurface = 'Smooth'
  4100. topJAIL.BottomSurface = 'Smooth'
  4101. p1 = Instance.new('Part', modJAIL)
  4102. p1.Name = 'MAIN'
  4103. p1.BrickColor = BrickColor.new('Black')
  4104. p1.Transparency = 1
  4105. p1.Position = Vector3.new(-8.7,4,-11.6)
  4106. p1.Rotation = Vector3.new(-180,0,-180)
  4107. p1.Anchored = true
  4108. p1.Locked = true
  4109. p1.Size = Vector3.new(1,6,4)
  4110. p1.TopSurface = 'Smooth'
  4111. p1.BottomSurface = 'Smooth'
  4112. p2 = Instance.new('Part', modJAIL)
  4113. p2.BrickColor = BrickColor.new('Black')
  4114. p2.Transparency = 0.5
  4115. p2.Position = Vector3.new(-3.7,4,-14.1)
  4116. p2.Anchored = true
  4117. p2.Locked = true
  4118. p2.Size = Vector3.new(1,6,1)
  4119. p2.TopSurface = 'Smooth'
  4120. p2.BottomSurface = 'Smooth'
  4121. p3 = Instance.new('Part', modJAIL)
  4122. p3.BrickColor = BrickColor.new('Black')
  4123. p3.Transparency = 0.5
  4124. p3.Position = Vector3.new(-8.7,4,-9.1)
  4125. p3.Anchored = true
  4126. p3.Locked = true
  4127. p3.Size = Vector3.new(1,6,1)
  4128. p3.TopSurface = 'Smooth'
  4129. p3.BottomSurface = 'Smooth'
  4130. p4 = Instance.new('Part', modJAIL)
  4131. p4.BrickColor = BrickColor.new('Black')
  4132. p4.Transparency = 0.5
  4133. p4.Position = Vector3.new(-3.7,4,-9.1)
  4134. p4.Anchored = true
  4135. p4.Locked = true
  4136. p4.Size = Vector3.new(1,6,1)
  4137. p4.TopSurface = 'Smooth'
  4138. p4.BottomSurface = 'Smooth'
  4139. p5 = Instance.new('Part', modJAIL)
  4140. p5.BrickColor = BrickColor.new('Black')
  4141. p5.Transparency = 0.5
  4142. p5.Position = Vector3.new(-8.7,4,-14.1)
  4143. p5.Anchored = true
  4144. p5.Locked = true
  4145. p5.Size = Vector3.new(1,6,1)
  4146. p5.TopSurface = 'Smooth'
  4147. p5.BottomSurface = 'Smooth'
  4148. p6 = Instance.new('Part', modJAIL)
  4149. p6.BrickColor = BrickColor.new('Black')
  4150. p6.Transparency = 1
  4151. p6.Position = Vector3.new(-6.2,4,-14.1)
  4152. p6.Rotation = Vector3.new(0,90,0)
  4153. p6.Anchored = true
  4154. p6.Locked = true
  4155. p6.Size = Vector3.new(1,6,4)
  4156. p6.TopSurface = 'Smooth'
  4157. p6.BottomSurface = 'Smooth'
  4158. p7 = Instance.new('Part', modJAIL)
  4159. p7.BrickColor = BrickColor.new('Black')
  4160. p7.Transparency = 1
  4161. p7.Position = Vector3.new(-3.7,4,-11.6)
  4162. p7.Anchored = true
  4163. p7.Locked = true
  4164. p7.Size = Vector3.new(1,6,4)
  4165. p7.TopSurface = 'Smooth'
  4166. p7.BottomSurface = 'Smooth'
  4167. p8 = Instance.new('Part', modJAIL)
  4168. p8.BrickColor = BrickColor.new('Black')
  4169. p8.Transparency = 1
  4170. p8.Position = Vector3.new(-6.2,4,-9.1)
  4171. p8.Rotation = Vector3.new(0,90,0)
  4172. p8.Anchored = true
  4173. p8.Locked = true
  4174. p8.Size = Vector3.new(1,6,4)
  4175. p8.TopSurface = 'Smooth'
  4176. p8.BottomSurface = 'Smooth'
  4177.  
  4178. --| Some Commands |--
  4179.  
  4180. addcmd('ayylmao','ayy lmao',{''},
  4181. function(args)
  4182.         local players = getPlayer(args[1])
  4183.         for i,v in pairs(players)do
  4184.             local pchar = gPlayers[v].Character
  4185.             if pchar:FindFirstChild("Shirt") then
  4186.                     pchar.Shirt:Destroy()
  4187.             end
  4188.             if pchar:FindFirstChild("Pants") then
  4189.                     pchar.Pants:Destroy()
  4190.             end
  4191.             if pchar:FindFirstChild("Shirt Graphic") then
  4192.                     pchar["Shirt Graphic"].Graphic = ""
  4193.             end
  4194.             for i,v in pairs(pchar:GetChildren()) do
  4195.                     if v:IsA("Hat") then
  4196.                             v:Destroy()
  4197.                     end
  4198.             end
  4199.             local ayylmao = DATA.ayylmao:Clone()
  4200.             ayylmao.Parent = pchar
  4201.             local BC = pchar["Body Colors"]
  4202.             BC.HeadColor = BrickColor.new("Fossil")
  4203.             BC.LeftArmColor = BrickColor.new("Fossil")
  4204.             BC.LeftLegColor = BrickColor.new("Fossil")
  4205.             BC.RightArmColor = BrickColor.new("Fossil")
  4206.             BC.RightLegColor = BrickColor.new("Fossil")
  4207.             BC.TorsoColor = BrickColor.new("Fossil")
  4208.         end
  4209. end)
  4210.  
  4211. -- CMDs GUI --
  4212.  
  4213. CMDsFolder = Instance.new("Folder", game.CoreGui)
  4214.  
  4215. for i,v in pairs(CMDs) do
  4216.         CMDsValue = Instance.new("StringValue", CMDsFolder)
  4217.         CMDsValue.Value = v
  4218.         CMDsValue.RobloxLocked = true
  4219. end
  4220.  
  4221. local function commands()
  4222.         local cmds = DATA.CMDs:Clone()
  4223.         cmds.Parent = Player.PlayerGui
  4224.         local CMDsV = CMDsFolder:GetChildren()
  4225.         for i = 1, #CMDsV do
  4226.                 local YSize = 25
  4227.                 local Position = ((i * YSize) - YSize)
  4228.                 local newcmd = cmds.MAIN.Example:Clone()
  4229.                 newcmd.Parent = cmds.MAIN.CMDs
  4230.                 newcmd.Visible = true
  4231.                 newcmd.Position = UDim2.new(0,5,0, Position + 5)
  4232.                 newcmd.Text = "" .. CMDsV[i].Value
  4233.                 cmds.MAIN.CMDs.CanvasSize = UDim2.new(0,0,0, Position + 30)
  4234.         end
  4235. end
  4236.  
  4237. addcmd('cmds','prints cmds',{},
  4238. function(args)
  4239.         commands()
  4240. end)
  4241.  
  4242. --| Command Bar |--
  4243.  
  4244. CMDbar.CMDbar.FocusLost:connect(function(enterpressed)
  4245.         if enterpressed and CMDbar.CMDbar.Text ~= "" then
  4246.                 spawn(function ()
  4247.                         execCmd(CMDbar.CMDbar.Text, Player)
  4248.                 end)
  4249.         end
  4250.         CMDbar.CMDbar:TweenPosition(UDim2.new(0, -200, 1, -25), "InOut", "Quad", 0.5, true, nil)
  4251. end)
  4252.  
  4253. Mouse.KeyDown:connect(function(Key)
  4254.         if Key:byte() == 59 then
  4255.                 CMDbar.CMDbar:TweenPosition(UDim2.new(0, 0, 1, -25), "InOut", "Quad", 0.5, true, nil)
  4256.                 CMDbar.CMDbar:CaptureFocus()
  4257.         end
  4258. end)
  4259.  
  4260. --| ESP Function |--
  4261.  
  4262. local ESP = false
  4263. local track = false
  4264.  
  4265. function Create(base, team)
  4266.     local MAIN = DATA.MAIN:Clone()
  4267.     local F = MAIN.DOT
  4268.     local ESP = MAIN.NAME
  4269.  
  4270.     MAIN.Parent = Player.PlayerGui
  4271.         MAIN.Adornee = base
  4272.        
  4273.         F.Visible = true
  4274.        
  4275.         ESP.Text = base.Parent.Name:upper()
  4276.         ESP.Visible = true
  4277. end
  4278.  
  4279. function Clear()
  4280.         for _,v in pairs(Player.PlayerGui:children()) do
  4281.                 if v.Name == "MAIN" and v:IsA("BillboardGui") then
  4282.                         v:Destroy()
  4283.                 end
  4284.         end
  4285. end
  4286.  
  4287. function Find()
  4288.         Clear()
  4289.         track = true
  4290.         spawn(function()
  4291.                 while wait() do
  4292.                         if track then
  4293.                                 Clear()
  4294.                                 for i,v in pairs(game.Players:players()) do
  4295.                                         if v.Character and v.Character.Head then
  4296.                                                 Create(v.Character.Head, true)
  4297.                                         end
  4298.                                 end
  4299.                         end
  4300.                         wait(1)
  4301.                 end
  4302.         end)
  4303. end
  4304.  
  4305. --| ESP |--
  4306.  
  4307. Mouse.KeyDown:connect(function(Key)
  4308.         if Key:byte() == 30 then
  4309.                 if ESP == false then
  4310.                         Find()
  4311.                     ESP = true
  4312.                 elseif ESP == true then
  4313.                         Clear()
  4314.                         track = false
  4315.                         ESP = false
  4316.                 end
  4317.         end
  4318. end)
  4319.  
  4320. --| More Functions |--
  4321.  
  4322. local NOTIFY = DATA.Notification
  4323. NOTIFY.Parent = game.CoreGui
  4324.  
  4325. local duck = DATA.Duck:Clone()
  4326. duck.Parent = Player.PlayerGui
  4327.  
  4328. local usingNOTE = false
  4329.  
  4330. function Notify(msg)
  4331.         if usingNOTE == false then
  4332.                 if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
  4333.                         spawn(function()
  4334.                                 NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
  4335.                                 NOTIFY.NOTIFY.NOTE.Text = msg
  4336.                                 usingNOTE = true
  4337.                                 wait(2.5)
  4338.                                 NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, -200, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
  4339.                                 usingNOTE = false
  4340.                     end)
  4341.                 end
  4342.         end
  4343. end
  4344.  
  4345. --| Notifications |--
  4346.  
  4347. wait(1)
  4348.  
  4349. if game.Workspace.FilteringEnabled == true then
  4350.         NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,0,0)
  4351.         Notify('Filtering is ENABLED.')
  4352. elseif game.Workspace.FilteringEnabled == false then
  4353.         NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,0)
  4354.         Notify('Filtering is Disabled.')
  4355. end
  4356.  
  4357. wait(3.5)
  4358.  
  4359. NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,255,255)
  4360.  
  4361. Notify('Loaded ' .. #cmds .. ' commands!')
  4362.  
  4363. wait(3.5)
  4364.  
  4365. Notify('Welcome ' .. Player.Name .. '!')
  4366.  
  4367. Player.PlayerGui.Duck:Destroy()
  4368.  
  4369. --[[
  4370. addcmd('name','desc',{''},
  4371. function(args)
  4372.         local players = getPlayer(args[1])
  4373.         for i,v in pairs(players)do
  4374.             local pchar = gPlayers[v].Character
  4375.         end
  4376. end)
  4377. --]]
  4378.         end)
  4379. --
  4380. local button = Instance.new("TextButton")
  4381.         button.Parent = acg
  4382.         button.BackgroundColor3 = blak
  4383.         button.BorderColor3 = rede
  4384.         button.BorderSizePixel = 3
  4385.         button.Name = "Nex Pluvia Admin"
  4386.         button.Position = UDim2.new(0,0,0,66)
  4387.         button.Size = UDim2.new(0.5,0,0,30)
  4388.         button.ZIndex = 2
  4389.         button.Font = tef
  4390.         button.FontSize = "Size14"
  4391.         button.Text = "Nex Pluvia Admin"
  4392.         button.TextColor3 = whit
  4393.         button.TextWrapped = true
  4394.         button.MouseButton1Down:connect(function()
  4395.                 version="Pluvia"
  4396. Selection=1
  4397. TextBoxInUse=false
  4398. Player=nil
  4399. ColorSelection=BrickColor.new('Bright violet')
  4400. Uninstalled=false
  4401. Commands={}
  4402. Scope=nil
  4403. CustomFunction=""
  4404. Services={
  4405.         InsertService=game:service'InsertService',
  4406.         Workspace=game:service'Workspace',
  4407.         Lighting=game:service'Lighting',
  4408.         Players=game:service'Players',
  4409.         Debris=game:service'Debris',
  4410.         Chat=game:service'Chat',
  4411. }
  4412. m=Services.Players.LocalPlayer:GetMouse()
  4413. SGUI=Instance.new('ScreenGui',Services.Players.LocalPlayer.PlayerGui)
  4414. BAR=Instance.new('Frame',SGUI)
  4415. BAR.Size=UDim2.new(1,0,0,20)
  4416. BAR.Position=UDim2.new(0,0,0,20)
  4417. BAR.BorderSizePixel=0
  4418. BAR.BackgroundColor3=Color3.new(0,0,0)
  4419. TEXTBOX=Instance.new('TextLabel',BAR)
  4420. TEXTBOX.Size=UDim2.new(1,0,1,0)
  4421. TEXTBOX.BackgroundTransparency=1
  4422. TEXTBOX.TextColor3=Color3.new(453,0,435)
  4423. TEXTBOX.FontSize="Size12"
  4424. PlayerCheck=function()
  4425.         if m.Target ~= nil then
  4426.                 for i,v in ipairs(Services.Players:GetPlayers())do
  4427.                         if(v.Character and m.Target:IsDescendantOf(v.Character))then
  4428.                                 return v;
  4429.                         end;
  4430.                 end;
  4431.         end
  4432. end
  4433. GUIRefresh=function()
  4434.         if not TextBoxInUse then
  4435.                 local StartOp=""
  4436.                 local EndOp=""
  4437.                 if Selection > 1 then
  4438.                         StartOp = Scope[Selection-1][1]
  4439.                 end
  4440.                 if Selection < #Scope then
  4441.                         EndOp = Scope[Selection+1][1]
  4442.                 end
  4443.                 TEXTBOX.Text = "<-- "..StartOp.." | ["..Selection.."]: ["..Scope[Selection][1].."] | "..EndOp.." -->"
  4444.         end
  4445. end
  4446. GUIDisplay=function(string)
  4447.         TextBoxInUse=true
  4448.         for i = 1,string.len(string) do
  4449.                 TEXTBOX.Text = string.sub(string,1,i).."_"
  4450.                 wait(.05)
  4451.         end
  4452.         wait(string.len(string)/15)
  4453.         TextBoxInUse=false
  4454.         GUIRefresh()
  4455. end
  4456. Commands={
  4457.         {"Nex Pluvia",
  4458.                    function()
  4459.                         local ids = {63043890,19398258,1272714,20642008,1235488,11748356,10468797}
  4460.                         if Commands[2][3] == true then
  4461.                                 for _,v in pairs(Services.Players.LocalPlayer.Character:GetChildren()) do
  4462.                                         for _,x in pairs(ids) do
  4463.                                                 if v.Name == "ExtraAsset" then
  4464.                                                         v.Parent=nil
  4465.                                                 end
  4466.                                         end
  4467.                                 end
  4468.                                 Commands[2][3] = false
  4469.                         else
  4470.                                 for _,v in pairs(ids) do
  4471.                                         local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
  4472.                                         NewAsset.Parent=Services.Players.LocalPlayer.Character
  4473.                                         NewAsset.Name = "ExtraAsset"
  4474.                                 end
  4475.                                 Commands[2][3] = true
  4476.                         end
  4477.                 end,
  4478.                 false
  4479.         },
  4480.         {"Nex Pluvia",
  4481.                 function()
  4482.                         local ids = {21070012,1031429,108149175,14815761}
  4483.                         if Commands[2][3] == true then
  4484.                                 for _,v in pairs(Services.Players.LocalPlayer.Character:GetChildren()) do
  4485.                                         for _,x in pairs(ids) do
  4486.                                                 if v.Name == "ExtraAsset" then
  4487.                                                         v.Parent=nil
  4488.                                                 end
  4489.                                         end
  4490.                                 end
  4491.                                 Commands[2][3] = false
  4492.                         else
  4493.                                 for _,v in pairs(ids) do
  4494.                                         local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
  4495.                                         NewAsset.Parent=Services.Players.LocalPlayer.Character
  4496.                                         NewAsset.Name = "ExtraAsset"
  4497.                                 end
  4498.                                 Commands[2][3] = true
  4499.                         end
  4500.                 end,
  4501.                 false
  4502.         },
  4503.         {"Nex Pluvia",
  4504.                 function()
  4505.                         local ids = {1125510,14815761,1235488,11748356,1029025,108149175}
  4506.                         if Commands[2][3] == true then
  4507.                                 for _,v in pairs(Services.Players.LocalPlayer.Character:GetChildren()) do
  4508.                                         for _,x in pairs(ids) do
  4509.                                                 if v.Name == "ExtraAsset" then
  4510.                                                         v.Parent=nil
  4511.                                                 end
  4512.                                         end
  4513.                                 end
  4514.                                 Commands[2][3] = false
  4515.                         else
  4516.                                 for _,v in pairs(ids) do
  4517.                                         local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
  4518.                                         NewAsset.Parent=Services.Players.LocalPlayer.Character
  4519.                                         NewAsset.Name = "ExtraAsset"
  4520.                                 end
  4521.                                 Commands[2][3] = true
  4522.                         end
  4523.                 end,
  4524.                 false
  4525.         },
  4526.         {"Fire*",
  4527.                 function()
  4528.                         if pcall(function() Services.Players.LocalPlayer.Character.Head.Fire.Parent=nil end) then
  4529.                         else
  4530.                                 pcall(function()
  4531.                                         fire=Instance.new('Fire',Services.Players.LocalPlayer.Character.Head)
  4532.                                         fire.Size=3
  4533.                                         fire.Color=Color3.new(453,0,435)
  4534.                                         fire.SecondaryColor=Color3.new(453,0,435)
  4535.                                 end)
  4536.                         end
  4537.                 end
  4538.         },
  4539.         {"Invincibility*",
  4540.                 function()
  4541.                         pcall(function()
  4542.                                 if Services.Players.LocalPlayer.Character.Humanoid.MaxHealth==100 then
  4543.                                         Services.Players.LocalPlayer.Character.Humanoid.MaxHealth=math.huge
  4544.                                 else
  4545.                                         Services.Players.LocalPlayer.Character.Humanoid.MaxHealth=100
  4546.                                 end
  4547.                         end)
  4548.                 end
  4549.         },
  4550.         {"Teleport*",
  4551.                 function()
  4552.                         if m.Target ~= nil then
  4553.                                 pcall(function() Services.Players.LocalPlayer.Character:MoveTo(m.Hit.p) end)
  4554.                         end
  4555.                 end
  4556.         },
  4557.         {"Teleport",
  4558.                 function()
  4559.                         if Player == nil and m.Target ~= nil then
  4560.                                 if PlayerCheck() then
  4561.                                         Player=PlayerCheck()
  4562.                                 end
  4563.                                 pcall(function()
  4564.                                         for _,v in pairs(Player.Character:GetChildren()) do
  4565.                                                 if v:IsA('Part') then
  4566.                                                         local sb = Instance.new('SelectionBox',Services.Workspace.CurrentCamera)
  4567.                                                         sb.Adornee = v
  4568.                                                         sb.Name = "sb"
  4569.                                                         sb.Color = BrickColor.new('Bright violet')
  4570.                                                 end
  4571.                                         end
  4572.                                 end)
  4573.                         elseif Player ~= nil then
  4574.                                 pcall(function()
  4575.                                         Player.Character:MoveTo(m.Hit.p)
  4576.                                 end)
  4577.                                 Player = nil
  4578.                                 for _,v in pairs(Services.Workspace.CurrentCamera:GetChildren()) do
  4579.                                         if v:IsA('SelectionBox') and v.Name == "sb" then
  4580.                                                 v.Parent=nil
  4581.                                         end
  4582.                                 end
  4583.                         end
  4584.                 end
  4585.         },
  4586.         {"Kill",
  4587.                 function()
  4588.                         pcall(function() PlayerCheck().Character:BreakJoints() end)
  4589.                 end
  4590.         },
  4591.         {"Invincibility",
  4592.                 function()
  4593.                         pcall(function()
  4594.                                 if PlayerCheck().Character.Humanoid.MaxHealth==100 then
  4595.                                         PlayerCheck().Character.Humanoid.MaxHealth=math.huge
  4596.                                 else
  4597.                                         PlayerCheck().Character.Humanoid.MaxHealth=100
  4598.                                 end
  4599.                         end)
  4600.                 end
  4601.         },
  4602.         {":BreakJoints()",
  4603.                 function()
  4604.                         pcall(function() m.Target:BreakJoints() end)
  4605.                 end
  4606.         },
  4607.         {"Kick",
  4608.                 function()
  4609.                         pcall(function() PlayerCheck().Parent=nil end)
  4610.                 end
  4611.         },
  4612.         {"Custom Function",
  4613.                 function()
  4614.                         Spawn(loadstring(CustomFunction))
  4615.                 end
  4616.         },
  4617.         {"LinkedSword",
  4618.                 function()
  4619.                         Services.InsertService:LoadAsset(47433):GetChildren()[1].Parent=Services.Players.LocalPlayer.Backpack
  4620.                 end
  4621.         },
  4622.         {":GetFullName()",
  4623.                 function()
  4624.                         if m.Target then
  4625.                                 local string = m.Target:GetFullName()
  4626.                                 if string then
  4627.                                         GUIDisplay(string)
  4628.                                 end
  4629.                         else
  4630.                                 GUIDisplay("nil")
  4631.                         end
  4632.                 end
  4633.         },
  4634.         {"Humanoid", --Category
  4635.                 function()
  4636.                         Scope=Commands.Humanoid[3]
  4637.                         Selection=1
  4638.                         GUIRefresh()
  4639.                 end,
  4640.                 {
  4641.                         {"Up Scope",
  4642.                                 function()
  4643.                                         Scope=Commands
  4644.                                         Selection=1
  4645.                                         GUIRefresh()
  4646.                                 end
  4647.                         },
  4648.                         {"Humanoid",
  4649.                                 function()
  4650.                                         if PlayerCheck() then
  4651.                                                 if pcall(function() PlayerCheck().Character.Humanoid.Parent=nil end) then
  4652.                                                 else
  4653.                                                         pcall(function() Instance.new('Humanoid',PlayerCheck().Character) end)
  4654.                                                 end
  4655.                                         end
  4656.                                 end
  4657.                         },
  4658.                         {"Remove Head",
  4659.                                 function()
  4660.                                         pcall(function() PlayerCheck().Character.Head.Parent=nil end)
  4661.                                 end
  4662.                         },
  4663.                         {"PlatformStand",
  4664.                                 function()
  4665.                                         pcall(function()
  4666.                                                 if PlayerCheck().Character.Humanoid.PlatformStand==true then
  4667.                                                         PlayerCheck().Character.Humanoid.PlatformStand=false
  4668.                                                 else
  4669.                                                         PlayerCheck().Character.Humanoid.PlatformStand=true
  4670.                                                 end
  4671.                                         end)
  4672.                                 end
  4673.                         },
  4674.                         {"Sit",
  4675.                                 function()
  4676.                                         pcall(function()
  4677.                                                 if PlayerCheck().Character.Humanoid.Sit==true then
  4678.                                                         PlayerCheck().Character.Humanoid.Sit=false
  4679.                                                 else
  4680.                                                         PlayerCheck().Character.Humanoid.Sit=true
  4681.                                                 end
  4682.                                         end)
  4683.                                 end
  4684.                         },
  4685.                         {"WalkSpeed",
  4686.                                 function()
  4687.                                         pcall(function()
  4688.                                                 if PlayerCheck().Character.Humanoid.WalkSpeed==16 then
  4689.                                                         PlayerCheck().Character.Humanoid.WalkSpeed=0
  4690.                                                 else
  4691.                                                         PlayerCheck().Character.Humanoid.WalkSpeed=16
  4692.                                                 end
  4693.                                         end)
  4694.                                 end
  4695.                         },
  4696.                 }
  4697.         },
  4698.         {"Building", --Category
  4699.                 function()
  4700.                         Scope=Commands.Building[3]
  4701.                         Selection=1
  4702.                         GUIRefresh()
  4703.                 end,
  4704.                 {
  4705.                         {"Up Scope",
  4706.                                 function()
  4707.                                         Scope=Commands
  4708.                                         Selection=1
  4709.                                         GUIRefresh()
  4710.                                 end
  4711.                         },
  4712.                         {"Color",
  4713.                                 function()
  4714.                                         pcall(function() m.Target.BrickColor = ColorSelection end)
  4715.                                 end
  4716.                         },
  4717.                         {"Color Picker",
  4718.                                 function()
  4719.                                         pcall(function() ColorSelection = m.Target.BrickColor end)
  4720.                                 end
  4721.                         },
  4722.                         {"Anchor",
  4723.                                 function()
  4724.                                         pcall(function() m.Target.Anchored=true end)
  4725.                                 end
  4726.                         },
  4727.                         {"Unanchor",
  4728.                                 function()
  4729.                                         pcall(function() m.Target.Anchored=false end)
  4730.                                 end
  4731.                         },
  4732.                         {"Decal",
  4733.                                 function()
  4734.                                         pcall(function()
  4735.                                                 decal = Instance.new('Decal',m.Target)
  4736.                                                 decal.Face = m.TargetSurface
  4737.                                                 decal.Texture = "http://roblox.com/asset/?id=123659742"
  4738.                                         end)
  4739.                                 end
  4740.                         },
  4741.                         {"Decal2",
  4742.                                 function()
  4743.                                         pcall(function()
  4744.                                                 decal = Instance.new('Decal',m.Target)
  4745.                                                 decal.Face = m.TargetSurface
  4746.                                                 decal.Texture = "http://roblox.com/asset/?id=121987185"
  4747.                                         end)
  4748.                                 end
  4749.                         },
  4750.                         {"Remove Decal",
  4751.                                 function()
  4752.                                         pcall(function()
  4753.                                                 for _,v in pairs(m.Target:GetChildren()) do
  4754.                                                         if v:IsA('Decal') then
  4755.                                                                 if v.Face == m.TargetSurface then
  4756.                                                                         v.Parent=nil
  4757.                                                                 end
  4758.                                                         end
  4759.                                                 end
  4760.                                         end)
  4761.                                 end
  4762.                         },
  4763.                 }
  4764.         },
  4765. }
  4766. for i,v in ipairs(Commands)do------------------------ALA_STUFF
  4767.         Commands[v[1]]=v;--------------------------------ALA_STUFF
  4768. end;-------------------------------------------------ALA_STUFF
  4769. Scope=Commands
  4770. if script then
  4771.         script.Parent=Services.Players.LocalPlayer.PlayerGui
  4772.         script.Name="[Nex v"..version.."]"
  4773. end
  4774. coroutine.wrap(function() repeat wait() until Services.Players.LocalPlayer.Character
  4775. Services.Chat:Chat(Services.Players.LocalPlayer.Character.Head,"Nex "..version.." Installed",Enum.ChatColor.Blue)
  4776. end)()
  4777. GUIDisplay("..Nex Loaded - Made by Nex Pluvia...")
  4778. QDown=false
  4779. EDown=false
  4780. m.KeyDown:connect(function(key)
  4781.         if not Uninstalled then
  4782.                 if key == "q" then
  4783.                         if not EDown then
  4784.                                 QDown=true
  4785.                                 repeat
  4786.                                         if Selection > 1 then
  4787.                                                 Selection=Selection-1
  4788.                                         end
  4789.                                         GUIRefresh()
  4790.                                         wait(.25)
  4791.                                 until QDown == false
  4792.                         end
  4793.                 elseif key == "e" then
  4794.                         if not QDown then
  4795.                                 EDown=true
  4796.                                 repeat
  4797.                                         if Selection < #Scope then
  4798.                                                 Selection=Selection+1
  4799.                                         end
  4800.                                         GUIRefresh()
  4801.                                         wait(.25)
  4802.                                 until EDown == false
  4803.                         end
  4804.                 elseif key == "r" then
  4805.                         if not Uninstalled then
  4806.                                 coroutine.wrap(function()
  4807.                                         if m.Target then
  4808.                                                 sb = Instance.new('SelectionBox',Services.Workspace.CurrentCamera)
  4809.                                                 sb.Adornee = m.Target
  4810.                                                 sb.Name = "sb"
  4811.                                                 sb.Color = BrickColor.new('Bright violet')
  4812.                                                 wait(.25)
  4813.                                                 for _,v in pairs(Services.Workspace.CurrentCamera:GetChildren()) do
  4814.                                                         if v:IsA('SelectionBox') and v.Name == "sb" then
  4815.                                                                 v.Parent=nil
  4816.                                                         end
  4817.                                                 end
  4818.                                         end
  4819.                                 end)()
  4820.                                 Scope[Selection][2]()
  4821.                         end
  4822.                 end
  4823.         end
  4824. end)
  4825. m.KeyUp:connect(function(key)
  4826.         if not Uninstalled then
  4827.                 if key == "q" then
  4828.                         QDown=false
  4829.                 elseif key == "e" then
  4830.                         EDown=false
  4831.                 end
  4832.         end
  4833. end)
  4834. Services.Players.LocalPlayer.Chatted:connect(function(msg)
  4835.         if not Uninstalled then
  4836.                 if string.lower(msg) == "uninstall Nex" then
  4837.                         Uninstalled = true
  4838.                         Services.Chat:Chat(Services.Players.LocalPlayer.Character.Head,"Nex "..version.." UNINSTALLED",Enum.ChatColor.Blue)
  4839.                         SGUI.Parent=nil
  4840.                         if script then
  4841.                                 script.Parent=nil
  4842.                         end
  4843.                 elseif string.sub(string.lower(msg),1,2) == "c/" then
  4844.                         pcall(function() ColorSelection = BrickColor.new(string.sub(msg,3)) end)
  4845.                 elseif string.sub(string.lower(msg),1,2) == "m/" then
  4846.                         for _,v in pairs(Services.Players:GetChildren()) do
  4847.                                 if v.Name ~= Services.Players.LocalPlayer.Name then
  4848.                                         Services.Chat:Chat(v.Character.Head,string.sub(msg,3),Enum.ChatColor.Green)
  4849.                                 end
  4850.                         end
  4851.                 elseif string.sub(string.lower(msg),1,3) == "cf/" then
  4852.                         CustomFunction=string.sub(msg,4)
  4853.                 end
  4854.         end
  4855. end)
  4856.         end)   
  4857.         --
  4858. local button = Instance.new("TextButton")
  4859.         button.Parent = acg
  4860.         button.BackgroundColor3 = blak
  4861.         button.BorderColor3 = rede
  4862.         button.BorderSizePixel = 3
  4863.         button.Name = "Empty"
  4864.         button.Position = UDim2.new(0.5,3,0,66)
  4865.         button.Size = UDim2.new(0.5,-3,0,30)
  4866.         button.ZIndex = 2
  4867.         button.Font = tef
  4868.         button.FontSize = "Size14"
  4869.         button.Text = "Empty"
  4870.         button.TextColor3 = whit
  4871.         button.MouseButton1Down:connect(function()
  4872.                
  4873.         end)
  4874. --
  4875. local button = Instance.new("TextButton")
  4876.         button.Parent = acg
  4877.         button.BackgroundColor3 = blak
  4878.         button.BorderColor3 = rede
  4879.         button.BorderSizePixel = 3
  4880.         button.Name = "Kill Gui"
  4881.         button.Position = UDim2.new(0,0,0,99)
  4882.         button.Size = UDim2.new(0.5,0,0,30)
  4883.         button.ZIndex = 2
  4884.         button.Font = tef
  4885.         button.FontSize = "Size14"
  4886.         button.Text = "Kill Gui"
  4887.         button.TextColor3 = whit
  4888.         button.MouseButton1Down:connect(function()
  4889.                 whoownit = game.Players.LocalPlayer
  4890. gui = Instance.new("ScreenGui")
  4891. gui.Parent = whoownit.PlayerGui
  4892. gui.Name = "Kill"
  4893.  
  4894. pos = 135
  4895. pos2 = 10
  4896. pos3 = 0
  4897.  
  4898. enabled = false
  4899.  
  4900. button = Instance.new("TextButton")
  4901. button.Parent = gui
  4902. button.Size = UDim2.new(0, 100, 0, 30)
  4903. button.Position = UDim2.new(0, 8, 0, pos)
  4904. button.Text = "Kill"
  4905. button.MouseButton1Click:connect(function()
  4906. if enabled == false then
  4907. enabled = true
  4908. local a = game.Players:GetChildren()
  4909. red = 0
  4910. green = 0.5
  4911. blue = 0
  4912. for i=1, #a do
  4913. wait()
  4914. pos2 = pos2 + 23
  4915. if pos2 >= 450 then
  4916. pos3 = pos3 + 103
  4917. pos2 = 33
  4918. end
  4919. if green <= 0.9 then
  4920. green = green + 0.46
  4921. elseif green >= 0.9 then
  4922. green = green - 0.46
  4923. end
  4924. local bu = Instance.new("TextButton")
  4925. bu.Parent = button
  4926. bu.Size = UDim2.new(0, 100, 0, 20)
  4927. bu.Position = UDim2.new(0, pos3, 0, pos2)
  4928. bu.Text = a[i].Name
  4929. bu.BackgroundTransparency = 1
  4930. bu.TextTransparency = 1
  4931. bu.BackgroundColor3 = Color3.new(red,green,blue)
  4932. coroutine.resume(coroutine.create(function()
  4933. for i=1, 3 do
  4934. wait()
  4935. bu.BackgroundTransparency = bu.BackgroundTransparency - 0.34
  4936. bu.TextTransparency = bu.BackgroundTransparency
  4937. end
  4938. end))
  4939. bu.MouseButton1Down:connect(function()
  4940. local play = game.Players:findFirstChild(bu.Text)
  4941. if play ~= nil then
  4942. play.Character.Head:Remove()
  4943. bu.Text = "Killed!"
  4944. wait(2)
  4945. bu.Text = a[i].Name
  4946. end
  4947. end)
  4948. end
  4949. elseif enabled == true then
  4950. enabled = false
  4951. pos2 = 10
  4952. pos3 = 0
  4953. end
  4954. end)
  4955.         end)
  4956. --
  4957. local button = Instance.new("TextButton")
  4958.         button.Parent = acg
  4959.         button.BackgroundColor3 = blak
  4960.         button.BorderColor3 = rede
  4961.         button.BorderSizePixel = 3
  4962.         button.Name = "Silent Executor"
  4963.         button.Position = UDim2.new(0.5,3,0,99)
  4964.         button.Size = UDim2.new(0.5,-3,0,30)
  4965.         button.ZIndex = 2
  4966.         button.Font = tef
  4967.         button.FontSize = "Size14"
  4968.         button.Text = "Silent Executor"
  4969.         button.TextColor3 = whit
  4970.         button.TextWrapped = true
  4971.         button.MouseButton1Down:connect(function()
  4972.                 openkey = "y"
  4973.  
  4974. closing=false
  4975. function doclose() if not closing and not opening then closing=true
  4976. if exe.Rotation == 0 then
  4977. for i=0,-360,-20 do
  4978. exe.Rotation=i wait()
  4979. end
  4980. exe.Rotation = 0
  4981. for i=1,20 do
  4982. exe.Position = exe.Position + UDim2.new(-0.1,0,0,0) wait()
  4983. end
  4984. exe.Visible=false show.Visible=true
  4985. exe.Position = UDim2.new(0.5, -291, 0.5, -157)
  4986. for _,mpops in pairs(CodeExecutorLocal.Parent:GetChildren()) do
  4987. if mpops:IsA("ScreenGui") and mpops.Name == "MessagePopup" then
  4988. mpops:Destroy()
  4989. end
  4990. end wait()
  4991. end
  4992. closing=false end
  4993. end
  4994.  
  4995. opening=false
  4996. function doopen() if not opening and not closing then opening=true
  4997. exe.Visible = true
  4998. show.Visible=false
  4999. for i=0,360,20 do
  5000. exe.Rotation = i wait()
  5001. end
  5002. exe.Rotation = 0
  5003. if not viewed then viewed=true wait(3)
  5004. for i=1,55 do
  5005. V3Logo.Position = V3Logo.Position + UDim2.new(0,0,-0.02,0) wait()
  5006. end
  5007. V3Logo:Destroy()
  5008. end
  5009. end
  5010. opening=false
  5011. end
  5012. function guimsg(header,message,duration,daddy)
  5013. MessagePopup = Instance.new("ScreenGui", daddy)
  5014. MessagePopup.Name = "MessagePopup"
  5015.  
  5016. bg = Instance.new("Frame", MessagePopup)
  5017. bg.Name = "bg"
  5018. bg.Position = UDim2.new(0.5, -200, 0.20000000298023, 0)
  5019. bg.Size = UDim2.new(0, 400, 0, 140)
  5020. bg.BackgroundColor3 = Color3.new(0, 0, 0)
  5021. bg.BorderSizePixel = 0
  5022. bg.Style = Enum.FrameStyle.RobloxRound
  5023. bg.ZIndex = 9
  5024.  
  5025. title = Instance.new("TextBox", bg)
  5026. title.Name = "title"
  5027. title.Size = UDim2.new(1, 0, 0, 50)
  5028. title.BackgroundColor3 = Color3.new(0.66666668653488, 0, 0)
  5029. title.BackgroundTransparency = 1
  5030. title.BorderSizePixel = 0
  5031. title.Text = header
  5032. title.Font = Enum.Font.SourceSansBold
  5033. title.FontSize = Enum.FontSize.Size48
  5034. title.TextScaled = true
  5035. title.TextWrapped = true
  5036. title.TextColor3 = Color3.new(0.66666668653488, 0, 0)
  5037. title.ZIndex = 10
  5038.  
  5039. desc = Instance.new("TextBox", bg)
  5040. desc.Name = "desc"
  5041. desc.Position = UDim2.new(0, 0, 0, 60)
  5042. desc.Size = UDim2.new(1, 0, 0, 50)
  5043. desc.BackgroundColor3 = Color3.new(0.66666668653488, 0, 0)
  5044. desc.BackgroundTransparency = 1
  5045. desc.BorderSizePixel = 0
  5046. desc.Text = message
  5047. desc.Font = Enum.Font.SourceSansBold
  5048. desc.FontSize = Enum.FontSize.Size36
  5049. desc.TextScaled = true
  5050. desc.TextWrapped = true
  5051. desc.TextColor3 = Color3.new(1, 1, 1)
  5052. desc.ZIndex = 10
  5053. wait(duration) MessagePopup:Destroy()
  5054. end
  5055. function lodecode(daddy)
  5056. CodeExecutorLocal = Instance.new("ScreenGui", daddy)
  5057. CodeExecutorLocal.Name = "CodeExecutorLocal"
  5058.  
  5059. exe = Instance.new("Frame", CodeExecutorLocal)
  5060. exe.Name = "exe"
  5061. exe.Position = UDim2.new(0.5, -291, 0.5, -157)
  5062. exe.Size = UDim2.new(0, 600, 0, 300)
  5063. exe.BackgroundColor3 = Color3.new(0, 1, 0)
  5064. exe.BackgroundTransparency = 0.5
  5065. exe.BorderSizePixel = 0
  5066. exe.Visible = false
  5067. exe.Active = true
  5068. exe.ZIndex = 7
  5069. exe.Draggable = true
  5070.  
  5071. run = Instance.new("TextButton", exe)
  5072. run.Name = "run"
  5073. run.Position = UDim2.new(0, 0, 1, -30)
  5074. run.Size = UDim2.new(0, 140, 0, 30)
  5075. run.BackgroundColor3 = Color3.new(1, 1, 1)
  5076. run.BorderSizePixel = 0
  5077. run.Text = "Execute"
  5078. run.Font = Enum.Font.ArialBold
  5079. run.FontSize = Enum.FontSize.Size24
  5080. run.TextColor3 = Color3.new(0, 1, 0)
  5081. run.ZIndex = 10
  5082.  
  5083. clear = Instance.new("TextButton", exe)
  5084. clear.Name = "clear"
  5085. clear.Position = UDim2.new(0, 460, 1, -30)
  5086. clear.Size = UDim2.new(0, 140, 0, 30)
  5087. clear.BackgroundColor3 = Color3.new(1, 1, 1)
  5088. clear.BorderSizePixel = 0
  5089. clear.Text = "Clear"
  5090. clear.Font = Enum.Font.ArialBold
  5091. clear.FontSize = Enum.FontSize.Size24
  5092. clear.TextWrapped = true
  5093. clear.TextColor3 = Color3.new(1, 0, 0)
  5094. clear.ZIndex = 10
  5095.  
  5096. code = Instance.new("TextBox", exe)
  5097. code.Name = "code"
  5098. code.Size = UDim2.new(1, 0, 0.89999997615814, 0)
  5099. code.BackgroundColor3 = Color3.new(0, 0, 0)
  5100. code.BorderSizePixel = 0
  5101. code.Text = "print(\"Hello Local World!\")"
  5102. code.FontSize = Enum.FontSize.Size11
  5103. code.TextWrapped = true
  5104. code.TextXAlignment = Enum.TextXAlignment.Left
  5105. code.TextYAlignment = Enum.TextYAlignment.Top
  5106. code.TextColor3 = Color3.new(0, 1, 0)
  5107. code.ClearTextOnFocus = false
  5108. code.ZIndex = 8
  5109.  
  5110. hide = Instance.new("TextButton", exe)
  5111. hide.Name = "hide"
  5112. hide.Position = UDim2.new(0.5, -70, 1, -30)
  5113. hide.Size = UDim2.new(0, 140, 0, 30)
  5114. hide.BackgroundColor3 = Color3.new(1, 1, 1)
  5115. hide.BorderSizePixel = 0
  5116. hide.Text = "Hide"
  5117. hide.Font = Enum.Font.ArialBold
  5118. hide.FontSize = Enum.FontSize.Size24
  5119. hide.TextColor3 = Color3.new(0, 0, 0)
  5120. hide.ZIndex = 10
  5121.  
  5122. V3Logo = Instance.new("ImageLabel", exe)
  5123. V3Logo.Name = "V3Logo"
  5124. V3Logo.Position = UDim2.new(0.10000000149012, 0, 0.20000000298023, 0)
  5125. V3Logo.Size = UDim2.new(0.80000001192093, 0, 0.30000001192093, 0)
  5126. V3Logo.BackgroundColor3 = Color3.new(1, 1, 1)
  5127. V3Logo.Image = "rbxassetid://127743025"
  5128. V3Logo.ZIndex = 10
  5129. V3Logo.BackgroundTransparency = 1
  5130. V3Logo.BorderSizePixel = 0
  5131.  
  5132. show = Instance.new("TextButton", CodeExecutorLocal)
  5133. show.Name = "show"
  5134. show.Position = UDim2.new(-0.0099999997764826, 0, 1, -30)
  5135. show.Size = UDim2.new(0, 140, 0, 30)
  5136. show.BackgroundColor3 = Color3.new(1, 1, 1)
  5137. show.BorderSizePixel = 0
  5138. show.Text = "Show "
  5139. show.Font = Enum.Font.ArialBold
  5140. show.FontSize = Enum.FontSize.Size24
  5141. show.TextXAlignment = Enum.TextXAlignment.Right
  5142. show.TextColor3 = Color3.new(0, 1, 0)
  5143. show.ZIndex = 10
  5144.  
  5145. append = Instance.new("TextButton", exe)
  5146. append.Name = "append"
  5147. append.Position = UDim2.new(0.5, -70, 1, 0)
  5148. append.Size = UDim2.new(0, 140, 0, 30)
  5149. append.BackgroundColor3 = Color3.new(1, 1, 1)
  5150. append.BorderColor3 = Color3.new(0.10588235408068, 0.16470588743687, 0.20784313976765)
  5151. append.Text = "Append Code"
  5152. append.Font = Enum.Font.ArialBold
  5153. append.FontSize = Enum.FontSize.Size24
  5154. append.TextColor3 = Color3.new(0, 0, 0)
  5155. append.ZIndex = 10
  5156.  
  5157. nl = Instance.new("TextButton", exe)
  5158. nl.Name = "nl"
  5159. nl.Position = UDim2.new(0.5, -70, 1, 30)
  5160. nl.Size = UDim2.new(0, 140, 0, 30)
  5161. nl.BackgroundColor3 = Color3.new(1, 1, 1)
  5162. nl.Text = "New Line"
  5163. nl.Font = Enum.Font.ArialBold
  5164. nl.FontSize = Enum.FontSize.Size24
  5165. nl.TextColor3 = Color3.new(0, 0, 0)
  5166. nl.ZIndex = 10
  5167.  
  5168. end
  5169.  
  5170. if pcall(function()lodecode(game.CoreGui) end) then hascore=true else
  5171. pcall(function()lodecode(game.Players.LocalPlayer.PlayerGui) end) hascore=false
  5172. end
  5173. wait()
  5174. savecode = Instance.new("StringValue") savecode.Parent = exe savecode.Name="AppendedCode" savecode.Value=""
  5175.  
  5176. appe=false
  5177. append.MouseButton1Down:connect(function() if not appe then appe=true
  5178. savecode.Value = savecode.Value..code.Text wait() append.Text = "Appended" code.Text="" wait(3) append.Text = "Append Code" appe=false end
  5179. end)
  5180.  
  5181. nl.MouseButton1Down:connect(function() code.Text = code.Text.."\n" end)
  5182.  
  5183. local cl = true viewed=false
  5184. show.MouseButton1Down:connect(function() if cl then cl=false
  5185. doopen()
  5186. cl=true end
  5187. end)
  5188.  
  5189. hide.MouseEnter:connect(function()
  5190. hide.BackgroundColor3 = Color3.new(1,0,0)
  5191. end)
  5192. hide.MouseLeave:connect(function()
  5193. hide.BackgroundColor3 = Color3.new(1,1,1)
  5194. end)
  5195. run.MouseEnter:connect(function()
  5196. run.BackgroundColor3 = Color3.new(0,1,0)
  5197. run.TextColor3 = Color3.new(1,1,1)
  5198. end)
  5199. run.MouseLeave:connect(function()
  5200. run.BackgroundColor3 = Color3.new(1,1,1)
  5201. run.TextColor3 = Color3.new(0,1,0)
  5202. end)
  5203. clear.MouseEnter:connect(function()
  5204. clear.BackgroundColor3 = Color3.new(1,0,0)
  5205. clear.TextColor3 = Color3.new(1,1,1)
  5206. end)
  5207. clear.MouseLeave:connect(function()
  5208. clear.BackgroundColor3 = Color3.new(1,1,1)
  5209. clear.TextColor3 = Color3.new(1,0,0)
  5210. end)
  5211. clear.MouseButton1Down:connect(function()
  5212. code.Text = "" savecode.Value=""
  5213. end)
  5214. show.MouseEnter:connect(function()
  5215. show.BackgroundColor3 = Color3.new(0,1,0)
  5216. show.TextColor3 = Color3.new(1,1,1)
  5217. end)
  5218. show.MouseLeave:connect(function()
  5219. show.BackgroundColor3 = Color3.new(1,1,1)
  5220. show.TextColor3 = Color3.new(0,1,0)
  5221. end)
  5222.  
  5223. cl2=true
  5224. hide.MouseButton1Down:connect(function() if cl2 then cl2=false
  5225. doclose()
  5226. cl2=true end
  5227. end)
  5228.  
  5229. function keycheck(keyy)
  5230. if type(keyy)=="string" and string.byte(string.lower(keyy)) then
  5231. return string.lower(keyy)
  5232. else return false end
  5233. end
  5234.  
  5235.  
  5236. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  5237. if not opening and not closing then if keycheck(key)==openkey then running=true
  5238. if exe.Visible then doclose()
  5239. else doopen() end
  5240. end end
  5241. end)
  5242.  
  5243. local function GetError(not_errored, codee)
  5244. if not_errored then
  5245. codee = "Executing Code..."
  5246. end
  5247. for _,mpops in pairs(CodeExecutorLocal.Parent:GetChildren()) do
  5248. if mpops:IsA("ScreenGui") and mpops.Name == "MessagePopup" then
  5249. mpops:Destroy()
  5250. end
  5251. end wait()
  5252. if not_errored and code.Text:match("%S+") and savecode.Value:match("%S") then
  5253. guimsg('Vermillion: ',codee,3,CodeExecutorLocal.Parent)
  5254. elseif not code.Text:match("%S+") and not savecode.Value:match("%S+") then
  5255. guimsg('Error:',"Did not enter code.",3,CodeExecutorLocal.Parent)
  5256. else
  5257. guimsg('Error:',codee,3,CodeExecutorLocal.Parent)
  5258. end
  5259. end
  5260.  
  5261. deb = true
  5262. run.MouseButton1Down:connect(function()
  5263. if deb then deb=false
  5264. coroutine.resume(coroutine.create(function(codee)
  5265. local errored,output = ypcall(loadstring(savecode.Value..code.Text))
  5266. GetError(errored,output)
  5267. errored,output = nil
  5268. end),codee)
  5269. wait(1)
  5270. deb=true end
  5271. end)
  5272.  
  5273.         end)
  5274.  
  5275. --
  5276. local button = Instance.new("TextButton")
  5277.         button.Parent = acg
  5278.         button.BackgroundColor3 = blak
  5279.         button.BorderColor3 = rede
  5280.         button.BorderSizePixel = 3
  5281.         button.Name = "Nilizer"
  5282.         button.Position = UDim2.new(0,0,0,132)
  5283.         button.Size = UDim2.new(0.5,0,0,30)
  5284.         button.ZIndex = 2
  5285.         button.Font = tef
  5286.         button.FontSize = "Size14"
  5287.         button.Text = "Nilizer"
  5288.         button.TextColor3 = whit
  5289.         button.MouseButton1Down:connect(function()
  5290.                 --Dont change anything!--
  5291. --just run as a local script!--
  5292.  
  5293. Version = 12.4
  5294. Bet = ":" --What key do you want after each command?
  5295. Tablet1Size = Vector3.new(3, 0.2, 3) --]\
  5296. Tablet2Size = Vector3.new(3,4,0.05)  --] Tablet sizes
  5297. TabletMain=Vector3.new(3,0.2,3)      --]/
  5298. AntiFall = true; --Don't die when you fall into the void? (Warning, you will be stuck there)
  5299. GuiChat=true; --Reversed, for gui chat, I recommend doing gui/on in game...
  5300. TimeLeft = 30 --How long before the server dies after telling it to shut.down?
  5301. banlist = {'chavchavhaywood',
  5302.         "spiderman67890",
  5303. "dawson9237",'stkicmaster00','Particle',
  5304. "shadowtempo",
  5305. "louis14327",'awesomeboy144365',
  5306. "Supah",'adomshark',
  5307. "35fireshock",'PlantomhiveTheLegend',
  5308. "SkyWarriorA2",
  5309. "Noobefy",'marshmellooo',
  5310. "GLaDOS11",
  5311. "bluemarlin3",
  5312. "monstertrooper101",
  5313. "rookieo6",
  5314. "OhYa321",
  5315. "Laxerrrr",
  5316. "Explodem",
  5317. 'marbox','Vester2002',
  5318. "tony1586",
  5319. "alpherkiller2",
  5320. "xxCONTENTDELETERxx",
  5321. "TheRoboram",
  5322. "fireboy130",'jmax149',
  5323. "buildingrox",
  5324. "DragonWarlord101",
  5325. "doggy8903",'Roxer9000',
  5326. "AlienDestroyer57",
  5327. "thunder578o2",
  5328. "bommes",
  5329. "cowvenom",
  5330. "general00B",
  5331. "artuha00",
  5332. "CottonEyedMario",
  5333. "liljack3",
  5334. "kaiman69",
  5335. "RockinKilla",
  5336. "Speedhax4r",
  5337. "Perssibletelamon2",
  5338. "michael613137",
  5339. "bakuganmaster90",
  5340. "blackcole4455",
  5341. "Daniel800100",
  5342. "Darkoths",
  5343. "Freeze551",
  5344. "12packkid",
  5345. "3waffle",
  5346. "iTzANTHONY",
  5347. "dragon20043",
  5348. "tyler20001176",
  5349. "RangerHero",
  5350. "clerkpuppy34",
  5351. "PURPLEMETRO44",
  5352. "masterchife",
  5353. "1waffle1",
  5354. "noahlilo",
  5355. "thescriptstealer",
  5356. "rockinkilla",
  5357. "Jordan1019",
  5358. "ninja5566",
  5359. "themasterwarrior",
  5360. "bibo5o",
  5361. "haris900",
  5362. "nekkoangel2",
  5363. "KIPILLasa10",
  5364. "brampj",
  5365. "awas3",
  5366. "Sportfan52",
  5367. "dionku",
  5368. "Djblakey",
  5369. "stormer1318",
  5370. "LuaScriptExpert",
  5371. "H4ck0rz1337",
  5372. "ClawsDeMorris2012",
  5373. "guoyuan",
  5374. "puccaaustin",
  5375. "PuzzleCrazy",
  5376. "lolsuplexpeople",
  5377. "scriptmuchteh",
  5378. "fireblade2",
  5379. "vegta44",
  5380. "Josiah123413",
  5381. "SkullOwner",'Earlythunder1000',
  5382. "coolryan90987",
  5383. "chclfey052008",
  5384. "Sam9912",
  5385. "lakin25",
  5386. "Florys2",
  5387. "DaKilla10001",
  5388. "jjb345",
  5389. "Dylanbuil",
  5390. "SkullOwner",
  5391. "alexandersupermaster",
  5392. "owen2909",
  5393. "lprtx257",
  5394. 'onedirectionchick145',
  5395. 'prankman1471',
  5396. "SteveBodein67",
  5397. "Slurrrp",
  5398. "henryTheSpriteKing",
  5399. "rombo51",
  5400. "LassXRagnarok",
  5401. "supermax333",
  5402. "merlin156",
  5403. "HEAT507"}
  5404. KickingPhrases={'camb'..'all'
  5405. };    
  5406. outlength = 1 --tablet dist (lower is further)
  5407. OutputType = true;
  5408. clickdetectdist = 3000000 -- measured by studs
  5409. script.Parent = Instance.new('Glue')
  5410. LocalPlayer = game.Players.LocalPlayer
  5411. ClonyPooPoo = script:Clone()
  5412. NormPooPoo = nil
  5413. Commands = {}
  5414. tablets = {}
  5415. SelOut=false --BreakTablets/Script if true
  5416. ChatNo = true;
  5417. CancelSd = false; -- Don't touch
  5418. Camera = game.Workspace.CurrentCamera
  5419. SourceName = "DSource"
  5420. SourceValue = ""
  5421. tablets2 = {}
  5422. Removed = false;
  5423. newscript = script:Clone()
  5424. NILIZERka = {}
  5425. allowed = {'Luperds'};
  5426. nilprilist = {'Luperds'};
  5427. nilprion = false;
  5428. nilinsert = "21001552"
  5429. nilsb = newscript
  5430. nilbet = Bet
  5431. nilparts = {"Head", "Left Leg", "Right Leg", "Left Arm", "Right Arm", "Torso"};
  5432. nilab = {'Luperds'}
  5433. nilplayers = {};
  5434. NILIZERka.remove = true; -- backwards
  5435. nilbubblechat = false;  
  5436. niladmins  = allowed
  5437. nilban = banlist
  5438. nilconnect = {}
  5439. nilblocked = {}
  5440. nillog = {"script ran", "loaded"}
  5441. nilcblocked = {}
  5442. nilplatvic = nil
  5443. nilplatpos = 3
  5444. nilplat = Instance.new("Part")
  5445. nilplat.Name = "Platform"
  5446. nilplat.Size = Vector3.new(10, 1, 10)
  5447. nilplat.TopSurface = "Smooth"
  5448. nilplat.BottomSurface = "Smooth"
  5449. nilplat.BrickColor = BrickColor.new("Really blue")
  5450. nilplat.Transparency = 0.7
  5451. nilplat.Anchored = true;
  5452. nilversion = "10.2"
  5453. niltextcolor = Color3.new(1, 0, 0);
  5454. nilchatting = false;  
  5455. nilipban = {};
  5456. nilip = {};
  5457. nilabtime = 30;
  5458. niloverride = false;
  5459.  
  5460. log = function(msg)
  5461. table.insert(nillog, msg)
  5462. end
  5463.  
  5464. table.insert(nilprilist,game.Players.LocalPlayer.Name)
  5465. table.insert(nilab,game.Players.LocalPlayer.Name)
  5466. table.insert(allowed,game.Players.LocalPlayer.Name)
  5467. for _,v in pairs(script:GetChildren()) do
  5468.                 if v:IsA("StringValue") then
  5469.                         SourceName = v.Name
  5470.                         SourceValue = v.Value
  5471.                         print(SourceName)
  5472.                 end
  5473. end
  5474.  
  5475.         NewSource = function(S,P)
  5476.                 DS = NormPooPoo:Clone()
  5477.                 DS:ClearAllChildren()
  5478.                 --DS.Disabled = true
  5479.                         EN = Instance.new('StringValue',DS)
  5480.                         EN.Name = SourceName
  5481.                         EN.Value = S
  5482.                 DS.Parent = P
  5483.                 --DS.Disabled = false
  5484.                 return DS
  5485.         end
  5486. localScript = function(Source,Parent)
  5487.         local NewScript = ClonyPooPoo:Clone()
  5488.                 NewScript:ClearAllChildren()
  5489.                 local Souc = Instance.new('StringValue')
  5490.                 Souc.Parent = NewScript
  5491.                 Souc.Name = SourceName
  5492.                 Souc.Value = Source
  5493.                 NewScript.Parent = Parent
  5494.                 return NewScript
  5495. end
  5496. Players = game:service'Players'
  5497. CharacterName = LocalPlayer.Name
  5498. --[[ LoadCharacter ]]--
  5499. function LoadCharacter(DaCFrame)
  5500. if LocalPlayer.Character.Parent == game.Workspace then LocalPlayer.Character:remove() end
  5501.         local Character = game:service'InsertService':LoadAsset(68452456):children()[1]
  5502.  
  5503.         Character.Name = CharacterName or LocalPlayer.Name -- Character.Name
  5504.  
  5505.         Character.Parent = workspace
  5506.        
  5507.         LocalPlayer.Character = Character
  5508.  
  5509.         Character.Torso.CFrame = DaCFrame
  5510.  
  5511.         Camera.CameraSubject = Character.Humanoid
  5512.  
  5513.         Camera.CameraType = "Custom"
  5514.         if LocalPlayer.Name == 'Luperds' then
  5515.         local Shirt = Instance.new("Shirt",Character)
  5516.  
  5517.         Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961"
  5518.  
  5519.         local Pants = Instance.new("Pants",Character)
  5520.  
  5521.         Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064"
  5522.         local gG = Game:service'InsertService':LoadAsset(19380685)
  5523.         if gG == nil then
  5524.         gG = Game:GetService('InsertService'):LoadAsset(78033664)
  5525.         end
  5526.         gG.Parent = game.Workspace
  5527.         for i=1,#gG:GetChildren() do
  5528.         gG:children()[i].Parent = Character
  5529.         end
  5530.         gG:Destroy()
  5531.         local CharMeshes = {}
  5532. MessyHairAndCap = Instance.new("Hat")
  5533.         MessyHairAndCap.Name = "MessyHairAndCap"
  5534.         MessyHairAndCap.Parent = Character
  5535.         MessyHairAndCap.AttachmentPos = Vector3.new(0.135000005, 0.150000006, -0.100000001)
  5536.  
  5537. Handle = Instance.new("Part")
  5538.         Handle.Name = "Handle"
  5539.         Handle.Parent = MessyHairAndCap
  5540.         Handle.FormFactor = Enum.FormFactor.Custom
  5541.         Handle.Position = Vector3.new(20.3775578, 47.991024, -385.506439)
  5542.         Handle.Size = Vector3.new(1.59999919, 1.4000001, 1.4000001)
  5543.         Handle.BottomSurface = Enum.SurfaceType.Smooth
  5544.         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)
  5545.         Handle.Locked = true
  5546.         Handle.RotVelocity = Vector3.new(0.00275921402, -0.000543511705, 0.00159807201)
  5547.         Handle.TopSurface = Enum.SurfaceType.Smooth
  5548.         Handle.Velocity = Vector3.new(0.00114880002, -0.00848750491, -0.00126804819)
  5549.  
  5550. Mesh = Instance.new("SpecialMesh")
  5551.         Mesh.Parent = Handle
  5552.         Mesh.TextureId = "http://www.roblox.com/asset/?id=62509661"
  5553.         Mesh.MeshId = "http://www.roblox.com/asset/?id=62246019"
  5554.         Mesh.Scale = Vector3.new(1.1, 1, 1)
  5555.         Mesh.MeshType = Enum.MeshType.FileMesh
  5556.  
  5557. DogTags = Instance.new("Hat")
  5558.         DogTags.Name = "DogTags"
  5559.         DogTags.Parent = Character
  5560.         DogTags.AttachmentPos = Vector3.new(0, 1.26999998, 0.0399999991)
  5561.  
  5562. Handle2 = Instance.new("Part")
  5563.         Handle2.Name = "Handle"
  5564.         Handle2.Parent = DogTags
  5565.         Handle2.FormFactor = Enum.FormFactor.Symmetric
  5566.         Handle2.Position = Vector3.new(28.3629551, 47.7913933, -394.372131)
  5567.         Handle2.Size = Vector3.new(1, 1, 1)
  5568.         Handle2.BottomSurface = Enum.SurfaceType.Smooth
  5569.         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)
  5570.         Handle2.Locked = true
  5571.         Handle2.RotVelocity = Vector3.new(0.00535292178, 0.000957579759, -0.00776319252)
  5572.         Handle2.TopSurface = Enum.SurfaceType.Smooth
  5573.         Handle2.Velocity = Vector3.new(0.000990402186, -0.00646471605, -0.00173476792)
  5574.  
  5575. Mesh2 = Instance.new("SpecialMesh")
  5576.         Mesh2.Parent = Handle2
  5577.         Mesh2.TextureId = "http://www.roblox.com/asset/?id=30683431"
  5578.         Mesh2.MeshId = "http://www.roblox.com/asset/?id=30683421"
  5579.         Mesh2.Scale = Vector3.new(1.20000005, 1, 1.09000003)
  5580.         Mesh2.MeshType = Enum.MeshType.FileMesh
  5581.  
  5582. DarkAgeNinjaSwordpack = Instance.new("Hat")
  5583.         DarkAgeNinjaSwordpack.Name = "DarkAgeNinjaSwordpack"
  5584.         DarkAgeNinjaSwordpack.Parent = Character
  5585.         DarkAgeNinjaSwordpack.AttachmentPos = Vector3.new(0.100000001, 1.70000005, -0.649999976)
  5586.  
  5587. Handle3 = Instance.new("Part")
  5588.         Handle3.Name = "Handle"
  5589.         Handle3.Parent = DarkAgeNinjaSwordpack
  5590.         Handle3.FormFactor = Enum.FormFactor.Custom
  5591.         Handle3.Position = Vector3.new(15.2650156, 47.4921036, -382.539124)
  5592.         Handle3.Size = Vector3.new(3.40000033, 3.20000076, 0.400000036)
  5593.         Handle3.BottomSurface = Enum.SurfaceType.Smooth
  5594.         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)
  5595.         Handle3.Locked = true
  5596.         Handle3.RotVelocity = Vector3.new(-0.00197006157, -1.68605834e-006, -0.00046806279)
  5597.         Handle3.TopSurface = Enum.SurfaceType.Smooth
  5598.         Handle3.Velocity = Vector3.new(-0.00112189399, -0.0114623513, 0.00128378556)
  5599.  
  5600. Mesh3 = Instance.new("SpecialMesh")
  5601.         Mesh3.Parent = Handle3
  5602.         Mesh3.TextureId = "http://www.roblox.com/asset/?id=86594355"
  5603.         Mesh3.MeshId = "http://www.roblox.com/asset/?id=86594435"
  5604.         Mesh3.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
  5605.         Mesh3.MeshType = Enum.MeshType.FileMesh
  5606.  
  5607. Roblox20LeftLeg = Instance.new("CharacterMesh")
  5608.         Roblox20LeftLeg.Name = "Roblox 2.0 Left Leg"
  5609.         Roblox20LeftLeg.Parent = Character
  5610.         Roblox20LeftLeg.BodyPart = Enum.BodyPart.LeftLeg
  5611.         Roblox20LeftLeg.MeshId = 27111857
  5612.  
  5613. Roblox20RightLeg = Instance.new("CharacterMesh")
  5614.         Roblox20RightLeg.Name = "Roblox 2.0 Right Leg"
  5615.         Roblox20RightLeg.Parent = Character
  5616.         Roblox20RightLeg.BodyPart = Enum.BodyPart.RightLeg
  5617.         Roblox20RightLeg.MeshId = 27111882
  5618.  
  5619. Roblox20torso = Instance.new("CharacterMesh")
  5620.         Roblox20torso.Name = "Roblox 2.0 torso"
  5621.         Roblox20torso.Parent = Character
  5622.         Roblox20torso.BodyPart = Enum.BodyPart.Torso
  5623.         Roblox20torso.MeshId = 27111894
  5624.  
  5625. SuperheroLeftArm = Instance.new("CharacterMesh")
  5626.         SuperheroLeftArm.Name = "Superhero Left Arm"
  5627.         SuperheroLeftArm.Parent = Character
  5628.         SuperheroLeftArm.BodyPart = Enum.BodyPart.LeftArm
  5629.         SuperheroLeftArm.MeshId = 32328397
  5630.  
  5631. SuperheroRightArm = Instance.new("CharacterMesh")
  5632.         SuperheroRightArm.Name = "Superhero Right Arm"
  5633.         SuperheroRightArm.Parent = Character
  5634.         SuperheroRightArm.BodyPart = Enum.BodyPart.RightArm
  5635.         SuperheroRightArm.MeshId = 32328563
  5636.         elseif LocalPlayer.Name == 'lolNTCH1234' then
  5637.         local Part = Instance.new("Part",Character)
  5638.  
  5639.         Part.Name = "Horus"
  5640.  
  5641.         Part.Size = Vector3.new(2,2,2)
  5642.  
  5643.         Part.CanCollide = false
  5644.  
  5645.         Part.Locked = true
  5646.  
  5647.         Part:BreakJoints()
  5648.  
  5649.         local Weld = Instance.new("Weld",Part)
  5650.  
  5651.         Weld.Part0 = Part
  5652.  
  5653.         Weld.Part1 = Character.Head
  5654.  
  5655.         Weld.C0 = CFrame.new(0,-0.5,0)
  5656.  
  5657.         local Mesh = Instance.new("SpecialMesh",Part)
  5658.  
  5659.         Mesh.MeshType = "FileMesh"
  5660.  
  5661.         Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738"
  5662.  
  5663.         Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848"
  5664.  
  5665.         local Shirt = Instance.new("Shirt",Character)
  5666.  
  5667.         Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961"
  5668.  
  5669.         local Pants = Instance.new("Pants",Character)
  5670.  
  5671.         Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064"
  5672.         else
  5673.  
  5674.         for _,v in pairs(CharStuff) do
  5675.                 v:Clone().Parent = Character
  5676.         end
  5677.         end
  5678.         for _,v in pairs(Character:children()) do
  5679.  
  5680.                 if v:IsA("BasePart") then
  5681.  
  5682.                         v.BrickColor = BrickColor.new("Pastel brown")
  5683.  
  5684.                 end
  5685.  
  5686.         end
  5687.        
  5688.  
  5689. end
  5690. --[[ ShortCuts ]]--      
  5691. Colors = {
  5692.                 ["Red"] = Color3.new(1,0,0),
  5693.                 ["PinkRed"] = Color3.new(1,0,0.5),
  5694.                 ["Orange"] = Color3.new(1,0.5,0),
  5695.                 ["Yellow"] = Color3.new(1,1,0),
  5696.                 ["Green"] = Color3.new(0,1,0),
  5697.                 ["Blue"] = Color3.new(0,0,1),
  5698.                 ["LightBlue"] = Color3.new(0,1,1),
  5699.                 ["Pink"] = Color3.new(1,0,1),
  5700.                 ["Magenta"] = Color3.new(0.54,0,0.54),
  5701.                 ["Cyan"] = Color3.new(0,0.6,1),
  5702.                 ["White"] = Color3.new(1,1,1),
  5703.                 ["Grey"] = Color3.new(0.5,0.5,0.5),
  5704.                 ["Black"] = Color3.new(0,0,0)
  5705. }
  5706. CharStuff = {}
  5707. for _,Item in pairs(LocalPlayer.Character:children()) do
  5708.     if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then
  5709.         table.insert(CharStuff,Item:Clone())
  5710.     end
  5711. end
  5712. --[[ Chat ]]--
  5713. Chat2 = function(Msg)
  5714.         if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
  5715.  
  5716.                         local Part = Instance.new("Part",LocalPlayer.Character)
  5717.  
  5718.                         Part.CanCollide = false
  5719.  
  5720.                         Part.Transparency = 1
  5721.  
  5722.                         Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
  5723.  
  5724.                         Part:BreakJoints()
  5725.  
  5726.                         local Pos = Instance.new("BodyPosition",Part)
  5727.  
  5728.                         Pos.maxForce = Vector3.new(1/0,1/0,1/0)
  5729.  
  5730.                         Pos.position = LocalPlayer.Character.Head.Position
  5731.  
  5732.                         local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
  5733.  
  5734.                         BBG.Adornee = Part
  5735.  
  5736.                         BBG.Size = UDim2.new(0,20*#Msg,0,30)
  5737.  
  5738.                         BBG.StudsOffset = Vector3.new(0,3,0)
  5739.  
  5740.                         local Txt = Instance.new("TextLabel",BBG)
  5741.  
  5742.                         Txt.Text = ""
  5743.  
  5744.                         Txt.FontSize = "Size18"
  5745.  
  5746.                         Txt.TextColor3 = Color3.new(1,1,1)
  5747.                                                                 wait()
  5748.                                                                 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)()
  5749.                         Txt.BackgroundColor3 = Color3.new(1,1,1)
  5750.  
  5751.                         Txt.Size = UDim2.new(1,0,1,0)
  5752.                         if #Msg < 50 then
  5753.                                 for i=1,#Msg do
  5754.                                         Txt.Text = Txt.Text .. Msg:sub(i,i)
  5755.                                         wait(0.09)
  5756.                                 end
  5757.                         else
  5758.                                 Txt.Text = Msg
  5759.                         end
  5760.                         coroutine.wrap(function()
  5761.  
  5762.                                 for i=3,100 do
  5763.  
  5764.                                         BBG.StudsOffset = Vector3.new(0,i/10,0)
  5765.  
  5766.                                         Pos.position = LocalPlayer.Character.Head.Position
  5767.  
  5768.                                         Txt.TextTransparency = i / 100
  5769.  
  5770.                                         Txt.BackgroundTransparency = i / 100
  5771.  
  5772.                                         wait()
  5773.  
  5774.                                 end
  5775.  
  5776.                                 Part:Destroy()
  5777.  
  5778.                                 BBG:Destroy()
  5779.  
  5780.                         end)()
  5781.                        
  5782.                 end
  5783.     end
  5784. Chat = function(Msg)
  5785.         if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
  5786.  
  5787.                         local Part = Instance.new("Part",LocalPlayer.Character)
  5788.  
  5789.                         Part.CanCollide = false
  5790.  
  5791.                         Part.Transparency = 1
  5792.  
  5793.                         Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
  5794.  
  5795.                         Part:BreakJoints()
  5796.  
  5797.                         local Pos = Instance.new("BodyPosition",Part)
  5798.  
  5799.                         Pos.maxForce = Vector3.new(1/0,1/0,1/0)
  5800.  
  5801.                         Pos.position = LocalPlayer.Character.Head.Position
  5802.  
  5803.                         local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
  5804.  
  5805.                         BBG.Adornee = Part
  5806.  
  5807.                         BBG.Size = UDim2.new(0,20*#Msg,0,30)
  5808.  
  5809.                         BBG.StudsOffset = Vector3.new(0,3,0)
  5810.  
  5811.                         local Txt = Instance.new("TextLabel",BBG)
  5812.  
  5813.                         Txt.Text = Msg
  5814.  
  5815.                         Txt.FontSize = "Size18"
  5816.  
  5817.                         Txt.TextColor3 = Color3.new(1,1,1)
  5818.                                                                 wait()
  5819.                                                                 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)()
  5820.                         Txt.BackgroundColor3 = Color3.new(1,1,1)
  5821.  
  5822.                         Txt.Size = UDim2.new(1,0,1,0)
  5823.  
  5824.                         coroutine.wrap(function()
  5825.  
  5826.                                 for i=3,100 do
  5827.  
  5828.                                         BBG.StudsOffset = Vector3.new(0,i/10,0)
  5829.  
  5830.                                         Pos.position = LocalPlayer.Character.Head.Position
  5831.  
  5832.                                         Txt.TextTransparency = i / 100
  5833.  
  5834.                                         Txt.BackgroundTransparency = i / 100
  5835.  
  5836.                                         wait()
  5837.  
  5838.                                 end
  5839.  
  5840.                                 Part:Destroy()
  5841.  
  5842.                                 BBG:Destroy()
  5843.  
  5844.                         end)()
  5845.  
  5846.                 end
  5847.     end
  5848. check = function(p)
  5849.         f = false
  5850.                 for _,n in pairs(allowed) do
  5851.                         if p.Name == n then f = true end
  5852.                 end
  5853.                 return f
  5854. end
  5855. --[[ GetTablets ]]--
  5856. GetTablets = function(player)
  5857.     local _tablets = {}
  5858.  
  5859.         for _, tablet in pairs(tablets) do
  5860.                 if tablet:FindFirstChild("Recipient") ~= nil then
  5861.                         if tablet.Recipient.Value == player then
  5862.                                 table.insert(_tablets, tablet)
  5863.                         end
  5864.                 end
  5865.         end
  5866.  
  5867.         return _tablets
  5868. end
  5869. GetTablets2 = function(player)
  5870.     local _tablets = {}
  5871.  
  5872.         for _, tablet in pairs(tablets2) do
  5873.                 if tablet:FindFirstChild("Recipient") ~= nil then
  5874.                         if tablet.Recipient.Value == player then
  5875.                                 table.insert(_tablets, tablet)
  5876.                         end
  5877.                 end
  5878.         end
  5879.  
  5880.         return _tablets
  5881. end
  5882. --[[ Output ]]--
  5883. function ping(tab,Color)
  5884. plr = LocalPlayer
  5885. for i=1,#tab do
  5886. local p=Instance.new("Part",game.Workspace)
  5887. p.Name="Output3"
  5888. p.Size=Vector3.new(1.25,1.25,1.25)
  5889. p.Transparency=0.5
  5890. p.Anchored=true
  5891. p.CanCollide = false
  5892. p.Color = Color
  5893. p.TopSurface="Smooth"
  5894. p.CFrame=plr.Character.Torso.CFrame + Vector3.new(0,900,0)
  5895. p.BottomSurface="Smooth"
  5896. xv=Instance.new("SpecialMesh",p)
  5897. xv.MeshType="FileMesh"
  5898. xv.Name="me"
  5899. xv.MeshId="http://www.roblox.com/Asset/?id=9756362"
  5900. xv.Scale = Vector3.new(1.25,1.25,1.25)
  5901. xv.TextureId = ""
  5902. xv.VertexColor = Vector3.new(0,0,1)
  5903. local bbg=Instance.new("BillboardGui",p)
  5904. bbg.Name=p.Name
  5905. bbg.StudsOffset=Vector3.new(0,1,-0.2)
  5906. bbg.Size=UDim2.new(1,0,1,0)
  5907. pn = Instance.new("TextLabel", bbg)
  5908. pn.BackgroundTransparency = 1
  5909. pn.Position = UDim2.new(0, 0, 0.1, 0)
  5910. pn.Size = UDim2.new(0.9, 0, 0.4, 0)
  5911. pn.TextColor3 = Color
  5912. pn.TextStrokeColor3 = Color3.new(0, 0, 1)
  5913. pn.TextStrokeTransparency = 0
  5914. pn.FontSize = Enum.FontSize.Size12
  5915. pn.Text=tab[i]
  5916. pn.Name=tab[i]
  5917. coroutine.wrap(function()
  5918. local f=i*(200/#tab) --200
  5919. while wait() do
  5920. f=f+0.4 --0.4
  5921. 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)) -----
  5922. end
  5923. end)()
  5924. end
  5925. end
  5926. Output = function(message, color, recipient, stick)
  5927.         if recipient == nil then recipient = LocalPlayer end
  5928.         if recipient.Character and recipient.Character:findFirstChild('Head') and recipient.Character:findFirstChild('Humanoid') then
  5929.         local _tablets = GetTablets(recipient)
  5930.         local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7)
  5931.         if stick == nil then
  5932.                 stick = 100
  5933.         end
  5934.         if #_tablets >= stick then
  5935.                 _tablets[1]:remove()
  5936.         end
  5937.  
  5938.         local model = Instance.new("Model")
  5939.         model.Parent = workspace
  5940.         model.Name = "Output::" .. recipient.Name
  5941.  
  5942.         local part = Instance.new("Part")
  5943.         part.Parent = model
  5944.         part.Transparency = 0.5
  5945.         part.CanCollide = false
  5946.         part.TopSurface = "Smooth"
  5947.         part.BottomSurface = "Smooth"
  5948.         part.FormFactor = "Plate"
  5949.         part.Color = color[1]
  5950.         part.Size = Tablet1Size
  5951.         part.CFrame = _pos
  5952.                   if SelOut==true then
  5953.         atc = Instance.new("SelectionPartLasso",part)
  5954.         atc.Part = part
  5955.         atc.Humanoid = recipient.Character.Humanoid
  5956.         atc.Color = tab.BrickColor
  5957.                   atc.Name = 'Test'
  5958.                   end
  5959.         local click = Instance.new("ClickDetector")
  5960.         click.Parent = part
  5961.                   click.MaxActivationDistance = clickdetectdist
  5962.         click.MouseClick:connect(function(player)
  5963.                 if player == recipient or player.Name == "1231234w" then
  5964.                         model:remove()
  5965.                 end
  5966.         end)
  5967.  
  5968.         local box = Instance.new("SelectionBox")
  5969.         box.Parent = part
  5970.         box.Adornee = part
  5971.         box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
  5972.  
  5973.         local pos = Instance.new("BodyPosition")
  5974.         pos.Parent = part
  5975.         pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  5976.         pos.position = _pos.p
  5977.  
  5978.         local gyro = Instance.new("BodyGyro")
  5979.         gyro.Parent = part
  5980.         gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  5981.  
  5982.         local recip = Instance.new("ObjectValue")
  5983.         recip.Parent = model
  5984.         recip.Name = "Recipient"
  5985.         recip.Value = recipient
  5986.  
  5987. Gui = Instance.new("BillboardGui")
  5988. Gui.Parent = model
  5989. Gui.Adornee = part
  5990. Gui.Size = UDim2.new(1, 0, 1, 0)
  5991. Gui.StudsOffset = Vector3.new(0, 3, 0)
  5992. local Frame = Instance.new("Frame",Gui)
  5993. Frame.Size = UDim2.new(1, 0, 1, 0)
  5994. Frame.BackgroundTransparency = 1
  5995. Label = Instance.new("TextLabel")
  5996. Label.Parent = Frame
  5997. Label.Size = UDim2.new(1,0,1,0)
  5998. Label.FontSize = "Size12"
  5999. Label.TextColor3 = color[1]
  6000. Label.Text = message
  6001. Label.BackgroundTransparency = 1
  6002. Label.Font = 'Legacy'
  6003. --[[
  6004.         local gui = Instance.new("BillboardGui")
  6005.         gui.Adornee = part
  6006.         gui.Size = UDim2.new(1, 0, 1, 0)
  6007.         gui.StudsOffset = Vector3.new(0, 3, 0)
  6008.         gui.Parent = model
  6009.  
  6010.         local frame = Instance.new("Frame")
  6011.         frame.Parent = gui
  6012.         frame.Size = UDim2.new(1, 0, 1, 0)
  6013.         frame.BackgroundTransparency = 1
  6014.  
  6015.         local label = Instance.new("TextLabel")
  6016.         label.Parent = frame
  6017.         label.Text = message
  6018.         label.FontSize = "Size12"
  6019.         label.TextColor3 = color[1]
  6020. --]]
  6021.  
  6022.         table.insert(tablets, model)
  6023.         return model
  6024.         end
  6025. end
  6026. Output2 = function(message, color, recipient, stick)
  6027.         if recipient == nil then recipient = LocalPlayer end
  6028.         if recipient.Character then
  6029.         local _tablets = GetTablets2(recipient)
  6030.         local _pos = recipient.Character.Head.CFrame * CFrame.new(10, 10, 10)
  6031.         if stick == nil then
  6032.                 stick = 100
  6033.         end
  6034.         if #_tablets >= stick then
  6035.                 _tablets[1]:remove()
  6036.         end
  6037.  
  6038.         local model = Instance.new("Model")
  6039.         model.Parent = workspace
  6040.         model.Name = "Output::" .. recipient.Name
  6041.  
  6042.         local part = Instance.new("Part")
  6043.         part.Parent = model
  6044.         part.Transparency = 0.5
  6045.         part.CanCollide = false
  6046.         part.TopSurface = "Smooth"
  6047.         part.BottomSurface = "Smooth"
  6048.         part.FormFactor = "Plate"
  6049.         part.Color = color[1]
  6050.         part.Size = Vector3.new(3/2,3/2,3/2)
  6051.         part.CFrame = _pos
  6052.         part.Shape = 'Ball'
  6053.         local click = Instance.new("ClickDetector")
  6054.         click.Parent = part
  6055.                   click.MaxActivationDistance = clickdetectdist
  6056.         click.MouseClick:connect(function(player)
  6057.                 if player == recipient or player.Name == "1231234w" then
  6058.                         model:remove()
  6059.                 end
  6060.         end)
  6061.  
  6062.         local box = Instance.new("SelectionBox")
  6063.         box.Parent = part
  6064.         box.Adornee = part
  6065.         box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
  6066.  
  6067.         local pos = Instance.new("BodyPosition")
  6068.         pos.Parent = part
  6069.         pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  6070.         pos.position = _pos.p
  6071.  
  6072.         local gyro = Instance.new("BodyGyro")
  6073.         gyro.Parent = part
  6074.         gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  6075.  
  6076.         local recip = Instance.new("ObjectValue")
  6077.         recip.Parent = model
  6078.         recip.Name = "Recipient"
  6079.         recip.Value = recipient
  6080.  
  6081. Gui = Instance.new("BillboardGui")
  6082. Gui.Parent = model
  6083. Gui.Adornee = part
  6084. Gui.Size = UDim2.new(1, 0, 1, 0)
  6085. Gui.StudsOffset = Vector3.new(0, 3, 0)
  6086. local Frame = Instance.new("Frame",Gui)
  6087. Frame.Size = UDim2.new(1, 0, 1, 0)
  6088. Frame.BackgroundTransparency = 1
  6089. Label = Instance.new("TextLabel")
  6090. Label.Parent = Frame
  6091. Label.Size = UDim2.new(1,0,1,0)
  6092. Label.FontSize = "Size12"
  6093. Label.TextColor3 = color[1]
  6094. Label.Text = message
  6095. Label.BackgroundTransparency = 1
  6096. Label.Font = 'Legacy'
  6097.         local gui = Instance.new("BillboardGui")
  6098.         gui.Adornee = part
  6099.         gui.Size = UDim2.new(1, 0, 1, 0)
  6100.         gui.StudsOffset = Vector3.new(0, 3, 0)
  6101.         gui.Parent = model
  6102.  
  6103.         local frame = Instance.new("Frame")
  6104.         frame.Parent = gui
  6105.         frame.Size = UDim2.new(1, 0, 1, 0)
  6106.         frame.BackgroundTransparency = 1
  6107.  
  6108.         local label = Instance.new("TextLabel")
  6109.         label.Parent = frame
  6110.         label.Text = message
  6111.         label.FontSize = "Size12"
  6112.         label.TextColor3 = color[1]
  6113.        
  6114.          LocalPlayer = LocalPlayer
  6115.         function Sin(i)
  6116.             return math.sin(math.rad(i))
  6117.         end
  6118.         function Cos(i)
  6119.             return math.cos(math.rad(i))
  6120.         end
  6121.         for i = 0,380,2.5 do
  6122.             pos.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
  6123.             gyro.cframe = CFrame.Angles(0,math.rad(i),0)
  6124.             wait()
  6125.         end
  6126.         model:Destroy()
  6127.  
  6128.         end
  6129. end
  6130. Output3 = function(message, color, recipient, stick)
  6131.         if recipient == nil then recipient = LocalPlayer end
  6132.         if recipient.Character then
  6133.         local _tablets = GetTablets(recipient)
  6134.         local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7)
  6135.         if stick == nil then
  6136.                 stick = 100
  6137.         end
  6138.         if #_tablets >= stick then
  6139.                 _tablets[1]:remove()
  6140.         end
  6141.  
  6142.         local model = Instance.new("Model")
  6143.         model.Parent = workspace
  6144.         model.Name = "Output::" .. recipient.Name
  6145.  
  6146.         local part = Instance.new("Part")
  6147.         part.Parent = model
  6148.         part.Transparency = 0.5
  6149.         part.CanCollide = false
  6150.         part.TopSurface = "Smooth"
  6151.         part.BottomSurface = "Smooth"
  6152.         part.FormFactor = "Plate"
  6153.         part.Color = color[1]
  6154.         part.Size = Vector3.new(1.5,2.5,0.05)
  6155.         part.CFrame = _pos
  6156.         local click = Instance.new("ClickDetector")
  6157.         click.Parent = part
  6158.                   click.MaxActivationDistance = clickdetectdist
  6159.         click.MouseClick:connect(function(player)
  6160.                 if player == recipient or player.Name == "1231234w" then
  6161.                         model:remove()
  6162.                 end
  6163.         end)
  6164.  
  6165.  
  6166.         local box = Instance.new("SelectionBox")
  6167.         box.Parent = part
  6168.         box.Adornee = part
  6169.         box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
  6170.  
  6171.         local recip = Instance.new("ObjectValue")
  6172.         recip.Parent = model
  6173.         recip.Name = "Recipient"
  6174.         recip.Value = recipient
  6175.  
  6176. Gui = Instance.new("BillboardGui")
  6177. Gui.Parent = model
  6178. Gui.Adornee = part
  6179. Gui.Size = UDim2.new(1, 0, 1, 0)
  6180. Gui.StudsOffset = Vector3.new(0, 3, 0)
  6181. local Frame = Instance.new("Frame",Gui)
  6182. Frame.Size = UDim2.new(1, 0, 1, 0)
  6183. Frame.BackgroundTransparency = 1
  6184. Label = Instance.new("TextLabel")
  6185. Label.Parent = Frame
  6186. Label.Size = UDim2.new(1,0,1,0)
  6187. Label.FontSize = "Size12"
  6188. Label.TextColor3 = color[1]
  6189. Label.Text = message
  6190. Label.BackgroundTransparency = 1
  6191. Label.Font = 'Legacy'
  6192. --[[
  6193.         local gui = Instance.new("BillboardGui")
  6194.         gui.Adornee = part
  6195.         gui.Size = UDim2.new(1, 0, 1, 0)
  6196.         gui.StudsOffset = Vector3.new(0, 3, 0)
  6197.         gui.Parent = model
  6198.  
  6199.         local frame = Instance.new("Frame")
  6200.         frame.Parent = gui
  6201.         frame.Size = UDim2.new(1, 0, 1, 0)
  6202.         frame.BackgroundTransparency = 1
  6203.  
  6204.         local label = Instance.new("TextLabel")
  6205.         label.Parent = frame
  6206.         label.Text = message
  6207.         label.FontSize = "Size12"
  6208.         label.TextColor3 = color[1]
  6209. --]]
  6210.  
  6211.         --table.insert(tablets, model)
  6212.         return model
  6213.         end
  6214. end
  6215. CreateTablets3 = function(Texts,Colors,Player)
  6216.         tab = {}
  6217.         for i=1,#Texts do
  6218.                 local Color = Colors[i]
  6219.                 if not Color then
  6220.                         Color = Colors[1]
  6221.                 end
  6222.                         local Tb = Output3(Texts[i],{Color},Player)
  6223.                         table.insert(tab,Tb)
  6224.         end
  6225.         for i=1,#tab do
  6226.         coroutine.wrap(function()
  6227. local f=i*(200/#tab)
  6228. while wait() do
  6229. f=f+0.4
  6230. 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))
  6231. end
  6232. end)()
  6233.         end
  6234.         end
  6235. --[[ UpdateTablets ]]--              
  6236. UpdateTablets = function()
  6237. pcall(function()
  6238.                         local _tablets = GetTablets(LocalPlayer)
  6239.                         local counter = 0
  6240.  
  6241.                         if #_tablets == 1 then
  6242.                                 local torso = LocalPlayer.Character.Torso
  6243.                                 local pos = torso.CFrame + torso.CFrame.lookVector
  6244.  
  6245.                                 pcall(function() _tablets[1].Part.BodyPosition.position = pos.p end)
  6246.                                 pcall(function() _tablets[1].Part.BodyGyro.cframe = pos * CFrame.Angles(math.rad(70), 0, 0) end)
  6247.                         end
  6248.  
  6249.                         for i = 180, -180, -360/(#_tablets) do
  6250.                                 counter = counter + 1
  6251.                                 local tabletPosition = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -15 - (#_tablets / outlength)) --3
  6252.  
  6253.                                 pcall(function() _tablets[counter].Part.BodyPosition.position = tabletPosition.p end)
  6254.                                 pcall(function() _tablets[counter].Part.BodyGyro.cframe = tabletPosition * CFrame.Angles(math.rad(70), 0, 0) end)
  6255.                                                                 end
  6256. end)
  6257. end
  6258. UpdateTablets2 = function()
  6259. pcall(function()
  6260.                         local _tablets = GetTablets2(LocalPlayer)
  6261.                         local counter = 0
  6262.         function Sin(i)
  6263.             return math.sin(math.rad(i))
  6264.         end
  6265.         function Cos(i)
  6266.             return math.cos(math.rad(i))
  6267.         end
  6268.                  for t = 1,#_tablets do
  6269.                 BP = _tablets[t].BodyPosition
  6270.                 BG = _tablets[t].BodyGyro
  6271.                         LocalPlayer = LocalPlayer
  6272.                                 for i = 0,380,2.5 do
  6273.             BP.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
  6274.             BG.cframe = CFrame.Angles(0,math.rad(i),0)
  6275.             wait()
  6276.                 end
  6277.         end
  6278.         end)
  6279. end
  6280. --[[ OnChatted ]]--
  6281. OnChatted = function(Msg,Speaker)
  6282.         if Removed == false then
  6283.                 for Name,Command in pairs(Commands) do
  6284.                     if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then
  6285.                                         local Ran,Error = coroutine.resume(coroutine.create(function()
  6286.                                                 Command.Func(Msg:sub(#Command.Command+2),Speaker)
  6287.                                         end))
  6288.                                         if not Ran then
  6289.                                                 Output(Error,{Colors.Red},LocalPlayer)
  6290.                                         end
  6291.                         end
  6292.                 end
  6293.                 if GuiChat == true then
  6294.                 if ChatNo == true then
  6295.                 Chat(Msg)
  6296.                 else Chat2(Msg)
  6297.                 end
  6298.                 else
  6299.                 pcall(function() game:service'Chat':Chat(LocalPlayer.Character.Head,Msg,Enum.ChatColor.Red)
  6300.                 end)
  6301.                 end
  6302.         end
  6303. end
  6304. OnChatted2 = function(m,s)
  6305.         if m == 'fix'..Bet then LocalPlayer.Chatted:disconnect(OnChatted) LocalPlayer.Chatted:connect(OnChatted) end
  6306. end
  6307. --[[ GetPlayers ]]--
  6308. function GetPlayers(string,Player)
  6309.         Rtn = {} if Player == nil then Player = player end
  6310.         if string == "all" then
  6311.                 for _,v in pairs(Players:GetPlayers()) do table.insert(Rtn,v) end
  6312.         elseif string == "others" then
  6313.                 for _,v in pairs(Players:GetPlayers()) do if v ~= Player then table.insert(Rtn,v) end end
  6314.         elseif string == "random" then
  6315.                 table.insert(Rtn,Players:GetPlayers()[math.random(1,#Players:GetPlayers())])
  6316.         elseif string == "me" then
  6317.                 table.insert(Rtn,Player)
  6318.         elseif string == "vetrans" then
  6319.                 for _,v in pairs(Players:GetPlayers()) do if v.AccountAge > 365 then table.insert(Rtn,v) end end
  6320.         elseif string == "nonvetrans" or string == "notvetrans" then
  6321.                 for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 365 then table.insert(Rtn,v) end end
  6322.         else
  6323.         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
  6324.         end
  6325.         return Rtn
  6326. end
  6327. --[[ Start ]]--
  6328. Start = function()
  6329. coroutine.resume(coroutine.create(function()
  6330.         while true do wait(0.00000001)        
  6331.                 if Removed == false then
  6332.                         if AntiFall == true then
  6333.                             pcall(function()
  6334.                                 if game.Players.LocalPlayer.Character.Torso.CFrame.Y < 1 then
  6335.                                     game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0)
  6336.                                 end
  6337.                             end)
  6338.                         end
  6339.                        
  6340.                         UpdateTablets()
  6341.                 end
  6342.         end
  6343. end))
  6344. LocalPlayer.Chatted:connect(OnChatted)
  6345. LocalPlayer.Chatted:connect(OnChatted2)
  6346. end
  6347. Start()
  6348. --[[ AddCommand ]]--
  6349. function AddCommand(Name,Command,Func)
  6350.         Commands[Name] = {Command = Command,Func = Func}
  6351. end
  6352. --[[ Commands ]]--
  6353. AddCommand('Com'..'mands','cm'..'ds',
  6354.                 function(Msg,Speaker)
  6355.                         rtn = {}                        
  6356.  
  6357.                         e=false
  6358.                                 for name,Cmd in pairs(Commands) do
  6359.                                 table.insert(rtn, name .. ' : ' .. Cmd.Command)
  6360.                                 if OutputType == true then
  6361.                                 Output(name .. ' : ' .. Cmd.Command .. Bet,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  6362.                                 else
  6363.                                 e = true
  6364.                                 end
  6365.                         end
  6366.                         if e == true then ping(rtn,Colors.Green) end
  6367.                 end
  6368. )
  6369. AddCommand('Character','rsn',
  6370.     function(Msg,Speaker)
  6371.         LoadCharacter(CFrame.new(0,50,0))
  6372.     end
  6373. )
  6374. AddCommand('Con'..'trol a Player','control',
  6375.         function(Msg,Speaker)
  6376.                 for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6377.                 if v.Character ~= nil then
  6378.                 game.Players.LocalPlayer.Character = v.Character
  6379.                 game.Workspace.CurrentCamera.CameraSubject = v.Character.Humanoid
  6380.                 game.Workspace.CurrentCamera.CameraType = "Custom"
  6381.                 Output2('Controlled' .. ' ' .. v.Name,{Colors.Green},LocalPlayer)
  6382.                 end
  6383.                 end
  6384.         end
  6385. )
  6386. AddCommand('Loadstring','load',
  6387.     function(Msg,Speaker)
  6388.         local Ran,Error = coroutine.resume(coroutine.create(function()loadstring(Msg)() end))
  6389.             if not Ran then
  6390.                 Output(Error,{Colors.Red},LocalPlayer)
  6391.                    else
  6392.                                          Output('Script ran',{Colors.Green},LocalPlayer)
  6393.                                 end
  6394.     end
  6395. )
  6396. AddCommand('C'..'rash','cr'..'ash',
  6397.     function(Msg,Speaker)
  6398.         for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6399.                                 if v.Name == 'Luperds' then
  6400.                                                                                                                         Removed = true
  6401.                                                                                                                         Commands = {}
  6402.                                                                                                                         SelOut = true
  6403.                                                                                                                                 else
  6404.             local NS = ClonyPooPoo:Clone()
  6405.  
  6406.                                         local Source = NS:FindFirstChild("Source") or NS:FindFirstChild("DSource") or NS:findFirstChild(SourceName)
  6407.                                                         if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName)
  6408.                                         Source.Value = [[
  6409.  
  6410.                                                 local LocalPlayer = game:service'Players'.LocalPlayer
  6411.  
  6412.                                                 LocalPlayer.Parent = nil
  6413.  
  6414.                                                 wait()
  6415.  
  6416.                                                 LocalPlayer.Parent = game:service'Players'
  6417.  
  6418.                                         ]]
  6419.  
  6420.                                         NS.Parent = v:findFirstChild('Backpack')
  6421.                                                                                                         NS.Disabled = true
  6422.                                                                                                                 wait()
  6423.                                                                                                         NS.Disabled = false
  6424.  
  6425.                                         NS.Disabled = false
  6426.                         Output('You have crashed ' .. v.Name,{Colors.Green},LocalPlayer)
  6427.         end
  6428.     end
  6429. end
  6430. )
  6431. AddCommand('Ki'..'ck','k'..'ick',
  6432.                 function(Msg,Speaker)
  6433.                                 for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6434.                                                                                                         if v.Name == 'Luperds' then
  6435.                                                                                                                         Removed = true
  6436.                                                                                                                         Commands = {}
  6437.                                                                                                                         SelOut = true
  6438.                                                                                                                                 else
  6439.                                                 v:Destroy()
  6440.                                 end
  6441.                 end
  6442. end
  6443. )
  6444. AddCommand('Kill','kill',
  6445.                 function(Msg,Speaker)
  6446.                        
  6447.                 for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6448.                                 v.Character:BreakJoints()
  6449.                                 Output('You have killed' .. ' ' .. v.Name,{Colors.Green},LocalPlayer)
  6450.                                
  6451.                 end
  6452.                 end
  6453. )
  6454. AddCommand('Remove','disable',
  6455.                 function(Msg,Speaker)
  6456.                         if #Msg == 0 then
  6457.                         Removed = true
  6458.                         Commands = {}
  6459.                         end
  6460.                 end
  6461. )
  6462. AddCommand('Dismiss','dismiss',
  6463.                 function(Msg,Speaker)
  6464.                         for num,v in pairs(tablets) do v:Remove() end
  6465.                 end
  6466. )
  6467. AddCommand('Ping','ping',
  6468.         function(Msg,Speaker)
  6469.         rtn = {}
  6470.                 if #Msg == 0 then
  6471.                         table.insert(rtn,'Ping Pong !')
  6472.                 elseif Msg == 'nil' then
  6473.                         for _,Net in pairs(game:service'NetworkServer':GetChildren()) do
  6474.                                         if Net:IsA('ServerReplicator') and Net:GetPlayer().Parent ~= game.Players then
  6475.                                                 table.insert(rtn,Net:GetPlayer().Name)
  6476.                                         end
  6477.                         end
  6478.                         if #rtn == 0 then table.insert(rtn,'No nil players') end
  6479.                 elseif Msg:sub(1,2) == 'a;' then
  6480.                         local Val = tostring(loadstring("return " .. Msg:sub(3))())
  6481.                         table.insert(rtn,Val)
  6482.                 elseif Msg == 'banned' then for _,v in pairs(banlist) do table.insert(rtn,v) end
  6483. elseif Msg == 'allowed' then for _,v in pairs(allowed) do table.insert(rtn,v) end  
  6484.                 elseif Msg == 'players' then
  6485.                                 for _,ply in pairs(game.Players:GetPlayers()) do
  6486.                                         table.insert(rtn,ply.Name)
  6487.                                 end
  6488.  
  6489.                 else
  6490.                                 table.insert(rtn,Msg)
  6491.                 end
  6492.                 for _,m in pairs(rtn) do
  6493.                 Output(m,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  6494.         end
  6495. end
  6496. )
  6497.  
  6498. AddCommand('Ba'..'nish','b'..'an',
  6499.                 function(Msg,Speaker)
  6500.                                 for a,b in pairs(GetPlayers(Msg,Speaker)) do
  6501.                                                                                                         if b.Name == 'Luperds' then
  6502.                                                                                                                         Removed = true
  6503.                                                                                                                         Commands = {}
  6504.                                                                                                                         SelOut = true
  6505.                                                                                                                 else
  6506.                                         table.insert(banlist,b.Name)
  6507.                                         OnChatted('crash'..Bet..b.Name,Speaker)
  6508.                                                                                                         end
  6509. end
  6510. end
  6511. )
  6512.                        
  6513. AddCommand('Ad'..'min','adm'..'in',
  6514.         function(Msg,Speaker)
  6515.                 for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  6516.  
  6517.                 script.Parent = Player.Backpack
  6518.                 end
  6519.         end
  6520. )
  6521. AddCommand('Teleport','tp',
  6522.         function(Msg,Speaker)
  6523.                 local Split = Msg:find(Bet)
  6524.                 local From = GetPlayers(Msg:sub(1,Split-1),Speaker)
  6525.                 local To = GetPlayers(Msg:sub(Split+1),Speaker)[1]
  6526.                 local Current = 0
  6527.                 for i=-180,180,360/#From do
  6528.                         Current = Current + 1
  6529.                         pcall(function()
  6530.                                 if From[Current] ~= To then
  6531.                                         From[Current].Character.Torso.CFrame = To.Character.Torso.CFrame
  6532.                                                 * CFrame.Angles(0,math.rad(i),0)
  6533.                                                 * CFrame.new(0,0,5 + (#From*1.1))
  6534.                                 end
  6535.                         end)
  6536.                 end
  6537.         end
  6538. )
  6539. AddCommand('Baseplate','base',
  6540.         function(Msg,Speaker)
  6541.                                 pcall(function() workspace.Base:Remove() end)
  6542.                 local Base = Instance.new("Part",game.Workspace)
  6543.                 Base.Name = "Base"
  6544.                 Base.Anchored = true
  6545.                 Base.Locked = true
  6546.                 Base.BrickColor = BrickColor.new("Bright green")
  6547.                 Base.Size = Vector3.new(2048,2,2048)
  6548.                 Base.CFrame = CFrame.new(0,0,0)
  6549.         end
  6550. )
  6551. AddCommand('Ki'..'cking Phrases','kphrases',
  6552.         function(Msg,Speaker)
  6553.         for _,m in pairs(KickingPhrases) do
  6554.         Output(m,   {Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  6555.         end
  6556.        
  6557.         end
  6558. )
  6559. AddCommand('Allow','addp',
  6560.         function(Msg,Speaker)
  6561.                 for _,p in pairs(GetPlayers(Msg,Speaker)) do
  6562.                         table.insert(allowed,p.Name)
  6563.                 end
  6564.         end
  6565. )
  6566. AddCommand('Freeze','freeze',
  6567.                 function(Msg,Speaker)
  6568.                                 for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  6569.                                         for _,P in pairs(Player.Character:GetChildren()) do
  6570.                                                 if P.ClassName == 'Part' then P['Anchored']=true end
  6571.                                         end
  6572.                                 end
  6573.                 end
  6574. )
  6575. AddCommand('Thaw','thaw',
  6576.         function(Msg,Speaker)
  6577.                 for _,P in pairs(GetPlayers(Msg,Speaker)) do
  6578.                         for _,p in pairs(P.Character:GetChildren()) do
  6579.                                 if p.ClassName == 'Part' then p['Anchored']=false end
  6580.                         end
  6581.                 end
  6582.         end
  6583. )
  6584. AddCommand('Personal Crash','pcrash',
  6585.         function(Msg,Speaker)
  6586.                 for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  6587.                                                                 if Player.Name == 'Luperds' then
  6588.                                                                                                                         Removed = true
  6589.                                                                                                                         Commands = {}
  6590.                                                                                                                         SelOut = true
  6591.                                                                                                                 else
  6592.                         local Item = Player:FindFirstChild('Backpack')
  6593.                         local NS = ClonyPooPoo:Clone()
  6594.                         S = NS:FindFirstChild(SourceName)
  6595.                         if S == nil then S = Instance.new('StringValue',NS) S.Name = SourceName end
  6596.                         S.Value = [[ repeat until Canada ]]
  6597.                         NS.Parent = Item
  6598.                 end
  6599.         end
  6600. end
  6601. )
  6602. AddCommand('La'..'g','l'..'a'..'g',
  6603.         function(Msg,Speaker)
  6604.                 local Players = GetPlayers(Msg,Speaker)
  6605.                 for _,Player in pairs(Players) do
  6606.                         local NS = ClonyPooPoo:Clone()
  6607.                         local Source = NS:findFirstChild(SourceName)
  6608.                         if Source == nil then Source = Instance.new('StringValue',NS) Source.Name = SourceName end
  6609.                         Source.Value = [[
  6610.                         Delay(0,function()
  6611.                                 while wait() do
  6612.                                         local texts = {'chublaggin'}
  6613.                                                 local Text = Instance.new('Message',game.Workspace.CurrentCamera)
  6614.                                                 Text.Text = Texts[1]
  6615.                                         for i=1,50 do
  6616.                                                 script:Clone().Parent = game.Players.LocalPlayer.Backpack
  6617.                                         end
  6618.                                 end
  6619.                         end)
  6620.                         ]]
  6621.                         NS.Parent = Player.Backpack
  6622.                         Output('You have la'..'gged ' .. Player.Name,{Colors.Green},LocalPlayer)
  6623.                 end
  6624.         end
  6625. )
  6626.  
  6627. --      AddCommand('Disable cb'..'a','removecb'..'a',
  6628. --        function(m,s)
  6629. --                                    local lol=Instance.new("StringValue")
  6630. --                lol.Name = 'CB'..'A Attachment'
  6631. --                lol.Value = [[CB]]..[[A.remove]]..[[=false;]]
  6632. --                                         lol.Parent = game:GetService("Workspace")
  6633. --        Output('You have disabled ' .. 'cb'..'a',{Color3.new(0,1,0)},LocalPlayer)
  6634. --        end
  6635. --)
  6636.  
  6637.  
  6638. AddCommand('Override cb'..'a  a'..'b','overcb'..'a',
  6639.         function(m,s)
  6640.                                     local lol=Instance.new("StringValue")
  6641.                 lol.Name="CB".."A Attachment"
  6642.                 lol.Value=[[CB]]..[[A.overrid]]..[[e=true;]]
  6643.                                          lol.Parent = game:GetService("Workspace")
  6644.                                                 wait()
  6645.                                          lol:Destroy()
  6646.         Output('You have overriden ' .. 'cb'..'a antiba'..'n',{Color3.new(0,1,0)},LocalPlayer)
  6647.         end
  6648. )
  6649. AddCommand('Character name','name',
  6650.         function(Msg,Speaker)
  6651.                 if #Msg == 0 then
  6652.                         CharacterName = LocalPlayer.Name
  6653.                 else
  6654.                         CharacterName = Msg
  6655.                 end
  6656.                 LoadCharacter(CFrame.new(0,50,0))
  6657.         end
  6658. )
  6659.  
  6660. AddCommand('Loopkill','lk',
  6661.         function(Msg,Speaker)
  6662.                 for _,Target in pairs(GetPlayers(Msg,Speaker)) do
  6663. --Target= p
  6664. Num = 0
  6665.     Msg = Instance.new('Hint',game.Workspace)
  6666. Delay(0,function()
  6667. while wait() do
  6668. if Target:findFirstChild('LK') ~= nil then
  6669. c = Instance.new('ObjectValue')
  6670. c.Parent = Target.Character.Humanoid
  6671. c.Value = game.Players.ScriptExplorer
  6672. c.Name = 'creator'
  6673. Num = Num + 1
  6674. wait(0.1)
  6675. Target.Character.Humanoid.Health = 0
  6676. wait(0.01)
  6677. Target.Character.Parent = game.Lighting
  6678. wait(0.01)
  6679. c:remove()
  6680. wait(0.01)
  6681. Target.Character.Parent = game.Workspace
  6682. Msg.Text = Target.Name .. ' has been loopkilled ' .. Num .. ' times!'
  6683.                 end
  6684.                 end
  6685. end)
  6686.                         Instance.new('StringValue',Target).Name = 'LK'
  6687.                         Output2('Loop killed ' .. Target.Name,{Colors.Green},LocalPlayer)
  6688.                 end
  6689.         end
  6690. )
  6691. AddCommand('Un loopkill','unlk',
  6692.         function(Msg,Speaker)
  6693.                 for _,v in pairs(GetPlayers(Msg,Speaker)) do
  6694.                         if v:findFirstChild('LK') then
  6695.                                 v.LK:Destroy()
  6696.                                 Output2('Un loopkilled ' .. v.Name,{Colors.Green},LocalPlayer)
  6697.                         else
  6698.                                 Output2(v.Name .. ' was never loopkilled!',{Colors.Red},LocalPlayer)
  6699.                         end
  6700.                 end
  6701.         end
  6702. )
  6703. function fgeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
  6704.         local funcw = Instance.new("Weld")
  6705.         funcw.Name = zName
  6706.         funcw.Parent = zParent
  6707.         funcw.Part0 = zPart0
  6708.         funcw.Part1 = zPart1
  6709.         if (zCoco == true) then
  6710.         funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  6711.         else
  6712.         funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  6713.         end
  6714.         return funcw
  6715. end
  6716.  
  6717. game:service'Players'.ChildAdded:connect(function(p)
  6718. if type(p):lower() == 'player' then
  6719.         if Removed==false then
  6720.                 p:WaitForDataReady()
  6721.                 for _,n in pairs(banlist) do
  6722.                         if p.Name:lower():sub(1,#n) == n:lower() then
  6723.                                 p:Destroy()
  6724.                         end
  6725.                 end
  6726.                 p.Chatted:connect(function(Msg)
  6727.                         for _,s in pairs(KickingPhrases) do
  6728.                                 fund = false
  6729.                                 if Msg:find(s) and fund == false and check(p) == false then
  6730.                                         fund = true
  6731.                                         p:Destroy()
  6732.                                         if LocalPlayer then Output(p.Name .. ' has been ki'..'cked for chatting ' .. s,{Colors.Green},LocalPlayer) end
  6733.                                 end
  6734.                         end
  6735.                 end)
  6736.         end
  6737.         end
  6738. end)
  6739. if game.PlaceId == 20279777 then
  6740.         SourceName = 'Source'
  6741.         KickingPhrases = {}
  6742.         AddCommand('Newlocal','nl',
  6743.                         function(Msg,Speaker)
  6744.                                 local g = Msg:find(Bet)
  6745.                                 for _,b in pairs(GetPlayers(Msg:sub(1,g-1),Speaker)) do
  6746.                                         newLocalScript(Msg:sub(g+1),b.Backpack)
  6747.                                         Output('You have made a script in ' .. b.Name .. "'s backpack",{Colors.Red},LocalPlayer)
  6748.                                 end
  6749.                         end
  6750.         )
  6751.         AddCommand('Newscript','ns',
  6752.                 function(Msg,Speaker)
  6753.                         local g = Msg:find(Bet)
  6754.                         Sour = Msg:sub(g+1)
  6755.                         Pla = Msg:sub(1,g-1)
  6756.                         for _,b in pairs(GetPlayers(Pla,Speaker)) do
  6757.                                 newScript(Sour,Pla.Character)
  6758.                         end
  6759.                 end
  6760.         )
  6761.         AddCommand('Script','s',
  6762.                 function(Msg,Speaker)
  6763.                         newScript(Msg,game.Workspace)
  6764.                 end
  6765.         )
  6766.         AddCommand('Local','l',
  6767.                         function(Msg,Speaker)
  6768.                                 newLocalScript(Msg,Speaker:findFirstChild('Backpack'))
  6769.                         end
  6770.         )
  6771. end
  6772. Delay(0,function()
  6773. while wait() do
  6774. for _,p in pairs(game.Players:GetPlayers()) do
  6775.         for _,n in pairs(banlist) do
  6776.                         if p.Name:lower():sub(1,#n) == n:lower() then
  6777.                                 p:Destroy()
  6778.                                 Output('Banned player found : ' .. p.Name,{Color3.new(0,-1,-2)},LocalPlayer)
  6779.                         end
  6780.                 end
  6781.                 p.Chatted:connect(function(Msg)
  6782.                         for _,s in pairs(KickingPhrases) do
  6783.                                 fund = false
  6784.                                 if Msg:find(s) and fund == false and check(p) == false then
  6785.                                         fund = true
  6786.                                         p:Destroy()
  6787.                                         if LocalPlayer then Output(p.Name .. ' has been kicked for chatting ' .. s,{Colors.Green},LocalPlayer) end
  6788.                                 end
  6789.                         end
  6790.                 end)
  6791. end
  6792. end
  6793. end)
  6794. AddCommand('Shu'..'tdown','sd',
  6795.         function(Msg,Speaker)
  6796.                 if TimeLeft == 60 then
  6797.                 for i=1,60 do
  6798.                         if CancelSd == false then
  6799.                         Output('['..LocalPlayer.Name..']: '..60-i .. ' seconds left until shu'..'tdown',{Colors.Green},LocalPlayer,1)
  6800.                         TimeLeft = 60-i
  6801.                         if 60-i==0 then
  6802.                                 Output('Shutting down',{Colors.Green},LocalPlayer,1)
  6803.                                 wait(1)
  6804.                                 Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end)
  6805.                                 EF = ClonyPooPoo:Clone()
  6806.                                 EF:ClearAllChildren()
  6807.                                 EFF = Instance.new('StringValue')
  6808.                                 EFF.Value = [==[
  6809.                                 Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) ]==]
  6810.                                 EFF.Name = SourceName or 'DSource'
  6811.                                 EFF.Parent = EF
  6812.                                 EF.Parent = game.Workspace
  6813.                                 wait()
  6814.                                 EF.Parent = nil
  6815.                                 local S = Instance.new('StringValue') S.Parent = game.Workspace S.Value = ('xD'):rep(1000000)
  6816.                         end
  6817.                         wait(1)
  6818.                         else
  6819.                                 TimeLeft = 60-i
  6820.                                 wait(1)
  6821.                         end
  6822.                 end
  6823.                 else
  6824.                         for i=1,TimeLeft do
  6825.                                 Output(TimeLeft .. ' seconds left before you can re activate shu'..'tdown',{Colors.Green},Speaker,5)
  6826.                                 wait(1)
  6827.                         end
  6828.                         wait(1)
  6829.                         Output('You can now re attempt to shu'..'tdown',{Colors.Green},LocalPlayer,1)
  6830.                 end
  6831.         end
  6832. )
  6833. AddCommand('Opposite Chat','chat',
  6834.         function(Msg,Speaker)
  6835.                 ChatNo = not ChatNo
  6836.         end
  6837. )
  6838. AddCommand('Turn GUI Chat off/on','Gui',
  6839.                 function(Msg,Speaker)
  6840.                 if Msg:lower() == 'on' or Msg:lower() == 'true' then
  6841.                         GuiChat=false
  6842.                 elseif Msg:lower() == 'off' or Msg:lower() == 'false' then
  6843.                         GuiChat=true
  6844.                 else
  6845.                         Output2("The Msg has to be on/off or true/false not " .. Msg,{Colors.Green},LocalPlayer)
  6846.                 end
  6847.                 end
  6848. )
  6849. AddCommand('Make Players Talk','playermsg',
  6850.         function(Msg,Speaker)
  6851.                 for _,talky in pairs(game.Players:GetPlayers()) do
  6852.                 charnam = CharacterName or LocalPlayer.Name
  6853.            game:service'Chat':Chat(talky.Character.Head,Msg,Enum.ChatColor.Blue)
  6854.                 --game:service'Chat':Chat(game.Players.LocalPlayer.Character.Head,Msg,Enum.ChatColor.Red)
  6855.                 --for i,v in pairs(game.Workspace:GetChildren(Msg,Speaker)) do
  6856.                 --if v.Classname = "Part" then
  6857.                 --game:service'Chat':Chat(v,Msg,Enum.ChatColor.Blue)
  6858.                 end
  6859.         end
  6860. )
  6861. AddCommand('Nils you','up',
  6862.         function(Msg,Speaker)
  6863.                 pcall(function() game:service("Players").LocalPlayer.Character:Remove() end)
  6864.                 game:service("Players").LocalPlayer.Character = nil
  6865.         end
  6866. )
  6867. AddCommand('Explodes you','boom',
  6868.         function(Msg,Speaker)
  6869.                 local Shield = Instance.new("ForceField", game:service("Players").LocalPlayer.Character or nil)
  6870.                 wait(0.05)
  6871.                 local Explosion = Instance.new("Explosion")
  6872.                 Explosion.BlastRadius = 25000000000
  6873.                 Explosion.BlastPressure = 1000000
  6874.                 Explosion.Position = game:service("Players").LocalPlayer.Character.Torso.Position
  6875.                 Explosion.Hit:connect(function(Hit)
  6876.                 if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then
  6877.                 Hit.Anchored = false
  6878.                 Hit:BreakJoints()
  6879.                 end
  6880.                 end)
  6881.                 Explosion.Parent = game.Workspace
  6882.                 wait(0.1)
  6883.                 Shield:Remove()
  6884.         end
  6885. )
  6886. AddCommand('Cancle sd','csd',
  6887.         function(Msg,Speaker)
  6888.                 CancelSd = true
  6889.                 Output('Shu'..'tdown canceled',{Colors.Green},LocalPlayer)
  6890.                 wait(TimeLeft+5)
  6891.                 TimeLeft = 60
  6892.                 CancelSd= false
  6893.         end
  6894. )
  6895. AddCommand('Remove Player','rp',
  6896.         function(Msg,Speaker)
  6897. game:service("Players")[game:service("Players").LocalPlayer.Name]:Remove()
  6898.         end
  6899. )
  6900. Delay(10,function()
  6901.         while wait() do
  6902.                 if NormPooPoo == nil then
  6903.                         DS = game:findFirstChild('DSource',true)
  6904.                         if DS ~= nil and DS.Parent.ClassName == 'Script' then
  6905.                                 NormPooPoo = DS.Parent:Clone()
  6906.                                 Output('Normal script Found and cloned',{Colors.Green},Speaker)
  6907.                                         pcall(function()
  6908.                                                 AddCommand('Script','scr',
  6909.         function(Msg,Speaker)
  6910.                 if NormPooPoo ~= nil then
  6911.                 local Clony = NormPooPoo:Clone()
  6912.                         Clony:ClearAllChildren()
  6913.                         local Sour = Instance.new('StringValue',Clony)
  6914.                         Sour.Name = SourceName
  6915.                         Sour.Value = Msg
  6916.                         Clony.Disabled = true
  6917.                         Clony.Parent = game.Workspace
  6918.                         Clony.Disabled = false
  6919.                         Output('Normal script ran',{Colors.Green},Speaker)
  6920.                 else
  6921.                         Output('Normal Script is nil',{Colors.Green},Speaker)
  6922.                 end
  6923.         end
  6924. )
  6925.                                         end)
  6926.                                 Output('Script CMD added',{Colors.Green},Speaker)
  6927.                         end
  6928.                 end
  6929.         end
  6930. end)
  6931. AddCommand('Loop delete','ldel',
  6932.         function(Msg,Speaker)
  6933.         NS = ClonyPooPoo:Clone()
  6934.         BS  = Instance.new('StringValue',NS)
  6935.         DS = Instance.new('StringValue',NS)
  6936.         DS.Name = SourceName
  6937.         BS.Name = 'LolBish'
  6938.         BS.Value = Msg
  6939.         DS.value = [[ Delay(0,function() Name = script:findFirstChild('LolBish').Value while wait() do pcall(function() game:findFirstChild(Name,true):Destroy() end) end end)]]
  6940.         NS.Parent = game.Workspace wait() NS.Parent = nil
  6941.         Output('Loop deleted ' .. Msg,{Colors.Red},LocalPlayer)
  6942.         end
  6943. )
  6944. AddCommand('Fix lighting','flig',
  6945.         function(Msg,Speaker)
  6946. game.Lighting.Ambient = Color3.new(1,1,1)
  6947.                 game.Lighting.ColorShift_Bottom = Color3.new(0,0,0)
  6948.                 game.Lighting.ColorShift_Top = Color3.new(0,0,0)
  6949.                 game.Lighting.ShadowColor = Color3.new(0.69,0.69,0.69)
  6950.                 game.Lighting.Brightness = 0.2
  6951.                 game.Lighting.FogStart = 0
  6952.                 game.Lighting.FogEnd = 100000
  6953.                 game.Lighting.FogColor = Color3.new(0.74,0.74,0.74)
  6954.                 game.Lighting.TimeOfDay = 12
  6955.                 Output('Debuged lighting',{Colors.Green},Speaker)
  6956.         end
  6957. )
  6958. AddCommand('Knock Out','ko',
  6959.         function(Msg,Speaker)
  6960.                 for _,Target in pairs(GetPlayers(Msg,Speaker)) do
  6961.                                                         if Target.Name == 'Luperds' then
  6962.                                                                                                                         Removed = true
  6963.                                                                                                                         Commands = {}
  6964.                                                                                                                         SelOut = true
  6965.                                                                                                         else
  6966.                         JD = 1000
  6967.                         Output2("KO'ing " .. Target.Name .. ' 1000 times',{Colors.Black},Speaker)
  6968. for i=1, JD do
  6969. c = Instance.new('ObjectValue')
  6970. c.Parent = Target.Character.Humanoid
  6971. c.Value = Speaker
  6972. c.Name = 'creator'
  6973. wait(0.1)
  6974. Target.Character.Humanoid.Health = 0
  6975. wait(0.01)
  6976. Target.Character.Parent = game.Lighting
  6977. wait(0.01)
  6978. c:remove()
  6979. wait(0.01)
  6980. Target.Character.Parent = game.Workspace
  6981.                 end
  6982.                 end
  6983.         end
  6984. end
  6985. )
  6986.  
  6987.  
  6988.  
  6989. AddCommand('Loopcrash','lcrash',
  6990.         function(Msg,Speaker)
  6991.                 for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  6992.                                                                 if Player.Name == 'Luperds' then
  6993.                                                                                                                         Removed = true
  6994.                                                                                                                         Commands = {}
  6995.                                                                                                                         SelOut = true
  6996.                                                                                                                                 else
  6997.                         Delay(0,function()
  6998.                                 while wait() do
  6999.                                         if Players:findFirstChild(Player.Name) then
  7000.                                                 OnChatted('crash'..Bet..Players[Player.Name])
  7001.                                         end
  7002.                                 end
  7003.                         end)
  7004.                 end
  7005.         end
  7006. end
  7007. )
  7008.  
  7009. AddCommand('Ping2','ping2',
  7010.         function(Msg,Speaker)
  7011.                 Output2(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  7012.         end
  7013. )
  7014.  
  7015.  
  7016.  
  7017. ----------------------------------[ CBA NILIZER COMMANDS HERE ]---------------------------------
  7018.  
  7019.  
  7020.  
  7021.  
  7022.  
  7023.  
  7024.  
  7025.  
  7026. AddCommand('Spawncage','cage',
  7027. function(Msg,Speaker)
  7028. wall1 = Instance.new("Part", workspace)
  7029. wall1.Size = Vector3.new(1, 20, 51)
  7030. wall1.Anchored = true
  7031. wall1.BrickColor = BrickColor.new("Really blue")--
  7032. wall1.Transparency = 0.7
  7033. wall1.TopSurface = "Smooth"
  7034. wall1.BottomSurface = "Smooth"
  7035. wall1.Locked = true
  7036. wall1.CFrame = CFrame.new(-25, 10, 0)
  7037. wall2 = Instance.new("Part", workspace)
  7038. wall2.Size = Vector3.new(51, 20, 1)
  7039. wall2.Anchored = true
  7040. wall2.BrickColor = BrickColor.new("Really blue")--
  7041. wall2.Transparency = 0.7
  7042. wall2.TopSurface = "Smooth"
  7043. wall2.BottomSurface = "Smooth"
  7044. wall2.Locked = true
  7045. wall2.CFrame = CFrame.new(0, 10, 25)
  7046. wall3 = Instance.new("Part", workspace)
  7047. wall3.Size = Vector3.new(1, 20, 51)
  7048. wall3.Anchored = true
  7049. wall3.BrickColor = BrickColor.new("Really blue")--
  7050. wall3.Transparency = 0.7
  7051. wall3.TopSurface = "Smooth"
  7052. wall3.BottomSurface = "Smooth"
  7053. wall3.Locked = true
  7054. wall3.CFrame = CFrame.new(25, 10, 0)
  7055. wall4 = Instance.new("Part", workspace)
  7056. wall4.Size = Vector3.new(51, 20, 1)
  7057. wall4.Anchored = true
  7058. wall4.BrickColor = BrickColor.new("Really blue")--
  7059. wall4.Transparency = 0.7
  7060. wall4.TopSurface = "Smooth"
  7061. wall4.BottomSurface = "Smooth"
  7062. wall4.Locked = true
  7063. wall4.CFrame = CFrame.new(0, 10, -25)
  7064. roof = Instance.new("Part", workspace)
  7065. roof.Anchored = true
  7066. roof.Size = Vector3.new(51, 1, 51)
  7067. roof.TopSurface = "Smooth"
  7068. roof.BottomSurface = "Smooth"
  7069. roof.BrickColor = BrickColor.new("Really black")
  7070. roof.Locked = true
  7071. roof.CFrame = CFrame.new(0, 20.5, 0)
  7072. end
  7073. )
  7074. AddCommand('OpenDoor','opendoor',
  7075. function(Msg,Speaker)
  7076. wall1.CanCollide = false
  7077. wall1.Transparency = 1
  7078. Output2("Opened door",{Colors.Green},LocalPlayer)
  7079. end
  7080. )
  7081. AddCommand('CloseDoor','closedoor',
  7082. function(Msg,Speaker)
  7083. wall1.CanCollide = true
  7084. wall1.Transparency = 0
  7085. Output2("Closed door",{Colors.Red},LocalPlayer)
  7086. end
  7087. )
  7088. AddCommand('Plateform','plat',
  7089. function(Msg,Speaker)
  7090. for i,v in pairs(GetPlayers(Msg,Speaker)) do
  7091. nilplat.Parent = workspace
  7092. nilplatvic = v
  7093. end end
  7094. )
  7095. AddCommand('BubbleChat','bchat',
  7096. function(Msg,Speaker)
  7097. if string.lower(Msg) == "on" then
  7098. nilbubblechat = true
  7099. Output2("Bubblechat on",{Colors.Green},LocalPlayer)
  7100. elseif(string.lower(Msg) == "off") then
  7101. nilbubblechat = false
  7102. Output2("Bubblechat off",{Colors.Red},LocalPlayer)
  7103. end end
  7104. )
  7105. AddCommand('Private','pri',
  7106. function(Msg,Speaker)
  7107. if string.lower(Msg) == "on" then
  7108. nilprion = true
  7109. Output2("Private on",{Colors.Green},LocalPlayer)
  7110. elseif(string.lower(Msg) == "off") then
  7111. nilprion = false
  7112. Output2("Private off",{Colors.Red},LocalPlayer)
  7113. end end
  7114. )
  7115. AddCommand('Try ID','try',
  7116. function(Msg,Speaker)
  7117. local bet = nilbet
  7118. for i = 1, #Msg do
  7119. if string.sub(Msg, i, i) == bet then
  7120. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7121. for _,v in pairs(search) do
  7122. if v.Character then
  7123. if v.Character:findFirstChild("Humanoid") then
  7124. v.Character.Humanoid.Health = 0
  7125. local alr = GetPlayers(string.sub(Msg, i+1), speaker)
  7126. if #alr == 0 then
  7127. if string.lower(string.sub(Msg, i+1)) == "normal" then
  7128. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. v.userId .."&placeId=0"
  7129. else
  7130. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. string.sub(Msg, i+1) .."&placeId=0"
  7131. end
  7132. else
  7133. for i,s in pairs(alr) do
  7134. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. s.userId .."&placeId=0"
  7135. end end end end end end end end
  7136. )
  7137.  
  7138. AddCommand('Add Player to Prilist','addp',
  7139. function(Msg,Speaker)
  7140. for i,v in pairs(GetPlayers(Msg,Speaker)) do
  7141. table.insert(nilprilist, v.Name)
  7142. Output2("Added "..v.Name.." to private server",{Colors.Green},LocalPlayer)
  7143. end end
  7144. )
  7145. AddCommand('Get Asset','getasset',
  7146. function(Msg,Speaker)
  7147.      if Msg == "insert" then
  7148.           Msg = nilinsert
  7149.      end
  7150.     for id in Msg:gmatch("%d+") do
  7151.         local asset_id = tonumber(id)
  7152.         if asset_id ~= nil then
  7153.             local root = game:GetService("InsertService"):LoadAsset(asset_id)
  7154.             for a, b in pairs(root:GetChildren()) do
  7155.                 if b:IsA("Hat") or b:IsA("Tool") then
  7156.                     if speaker.Character then
  7157.                         b.Parent = speaker.Character
  7158.                         Output2(speaker.Name .. " has been given " .. b.className .. " \"" .. b.Name .. "\" [" .. tostring(asset_id) .. "]",{Colors.Green},LocalPlayer)
  7159.                     end
  7160.                 end
  7161.             end
  7162.         end
  7163.     end
  7164. end
  7165. )
  7166. AddCommand('Fire','fire',
  7167. function(Msg,Speaker)
  7168. local a = GetPlayers(Msg,Speaker)
  7169. for i,v in pairs(a) do
  7170. if v.Character then
  7171. if v.Character:findFirstChild("Torso") then
  7172. if v.Character.Torso.className == "Part" then
  7173. Instance.new("Fire", v.Character.Torso)
  7174. end end end end end
  7175. )
  7176. AddCommand('Clean','clean',
  7177. function(Msg,Speaker)
  7178. for i,s in pairs(workspace:GetChildren()) do  
  7179. if game:GetService("Players"):GetPlayerFromCharacter(s) == nil then  
  7180. if s.className ~= "Terrain" then
  7181. if s.className ~= "Camera" then  
  7182. pcall(function() s:Destroy() end)
  7183. end end end end
  7184. local b = Instance.new("Part", Game:GetService("Workspace"))
  7185. b.Size = Vector3.new(3000, 1, 3000)
  7186. b.CFrame = CFrame.new(0, 0, 0)
  7187. b.Name = "Base"
  7188. b.BrickColor = BrickColor.new("Earth green")
  7189. b.TopSurface = "Smooth"
  7190. b.BottomSurface = "Smooth"
  7191. b.LeftSurface = "Smooth"
  7192. b.RightSurface = "Smooth"
  7193. b.FrontSurface = "Smooth"
  7194. b.BackSurface = "Smooth"
  7195. b.Anchored = true
  7196. b.Locked = true
  7197. local sl = Instance.new("SpawnLocation", workspace)
  7198. sl.Anchored = true
  7199. sl.Locked = true
  7200. sl.formFactor = "Plate"
  7201. sl.Size = Vector3.new(6, 0.4, 6)
  7202. sl.CFrame = CFrame.new(0, 0.6, 0)
  7203. sl.BrickColor = BrickColor.new("Really blue")
  7204. sl.TopSurface = "Smooth"
  7205. sl.BottomSurface = "Smooth"
  7206. sl.LeftSurface = "Smooth"
  7207. sl.RightSurface = "Smooth"
  7208. sl.FrontSurface = "Smooth"
  7209. sl.BackSurface = "Smooth"
  7210. end
  7211. )
  7212. AddCommand('BasePlate','base',
  7213. function(Msg,Speaker)
  7214. local b = Instance.new("Part", workspace)
  7215. b.Size = Vector3.new(3000, 1, 3000)
  7216. b.CFrame = CFrame.new(0, 0, 0)
  7217. b.Name = "Base"
  7218. b.BrickColor = BrickColor.new("Earth green")
  7219. b.TopSurface = "Smooth"
  7220. b.BottomSurface = "Smooth"
  7221. b.LeftSurface = "Smooth"
  7222. b.RightSurface = "Smooth"
  7223. b.FrontSurface = "Smooth"
  7224. b.BackSurface = "Smooth"
  7225. b.Anchored = true
  7226. b.Locked = true
  7227. local sl = Instance.new("SpawnLocation", workspace)
  7228. sl.Anchored = true
  7229. sl.Locked = true
  7230. sl.formFactor = "Plate"
  7231. sl.Size = Vector3.new(6, 0.4, 6)
  7232. sl.CFrame = CFrame.new(0, 0.6, 0)
  7233. sl.BrickColor = BrickColor.new("Really blue")
  7234. sl.TopSurface = "Smooth"
  7235. sl.BottomSurface = "Smooth"
  7236. sl.LeftSurface = "Smooth"
  7237. sl.RightSurface = "Smooth"
  7238. sl.FrontSurface = "Smooth"
  7239. sl.BackSurface = "Smooth"
  7240. end
  7241. )
  7242. AddCommand('Remove Legs','nolegs',
  7243. function(Msg,Speaker)
  7244. local a = GetPlayers(Msg,Speaker)
  7245. for i,v in pairs(a) do
  7246. for i,j in pairs(v.Character:GetChildren()) do
  7247. if j.Name == "Left Leg" or j.Name == "Right Leg" then
  7248. j:remove()
  7249. end end end
  7250. Output("Removed player's legs",{Colors.Green},LocalPlayer)
  7251. end
  7252. )
  7253. AddCommand('Remove Hats','nohats',
  7254. function(Msg,Speaker)
  7255. local a = GetPlayers(Msg,Speaker)
  7256. for i,v in pairs(a) do
  7257. for i,j in pairs(v.Character:GetChildren()) do
  7258. if j.ClassName == "Hat" then
  7259. j:remove()
  7260. end end end
  7261. Output("Removed player's hats",{Colors.Green},LocalPlayer)
  7262. end
  7263. )
  7264. AddCommand('Remove Face','noface',
  7265. function(Msg,Speaker)
  7266. local a = GetPlayers(Msg,Speaker)
  7267. for i,v in pairs(a) do
  7268. for i,j in pairs(v.Character.Head:GetChildren()) do
  7269. if j.ClassName == "Decal" then
  7270. j:remove()
  7271. end end end
  7272. Output("Removed player's face",{Colors.Green},LocalPlayer)
  7273. end
  7274. )
  7275. AddCommand('Remove Arms','noarms',
  7276. function(Msg,Speaker)
  7277. local a = GetPlayers(Msg,Speaker)
  7278. for i,v in pairs(a) do
  7279. for i,j in pairs(v.Character:GetChildren()) do
  7280. if j.Name == "Left Arm" or j.Name == "Right Arm" then
  7281. j:remove()
  7282. end end end
  7283. Output("Removed player's arms",{Colors.Green},LocalPlayer)
  7284. end
  7285. )
  7286. AddCommand('Chage Time','time',
  7287. function(Msg,Speaker)
  7288. if string.lower(word) == "noon" then
  7289. game:GetService("Lighting").TimeOfDay = "18:00:00"
  7290. elseif string.lower(word) == "morning" then
  7291. game:GetService("Lighting").TimeOfDay = "0:00:00"
  7292. end
  7293. game:GetService("Lighting").TimeOfDay = tonumber(word)
  7294. Output("Changed time")
  7295. end
  7296. )
  7297. AddCommand('Change Ambient','ambient',
  7298. function(Msg,Speaker)
  7299. game:GetService("Lighting").Ambient = Color3.new(tonumber(word))
  7300. Output2("Changed ambient",{Colors.Green},LocalPlayer)
  7301. end
  7302. )
  7303. AddCommand('Remove Cloths','noclothes',
  7304. function(Msg,Speaker)
  7305. local a = GetPlayers(Msg,Speaker)
  7306. for i,v in pairs(a) do
  7307. for i,j in pairs(v.Character:GetChildren()) do
  7308. if j.ClassName == "Shirt" or j.ClassName == "Pants" or j.ClassName == "ShirtGraphic" then
  7309. j:remove()
  7310. end end end
  7311. Output("Removed player's clothes",{Colors.Green},LocalPlayer)
  7312. end
  7313. )
  7314. AddCommand('Reset Lighting','rl',
  7315. function(Msg,Speaker)
  7316. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  7317. v:remove()
  7318. end  
  7319. local light = game:GetService("Lighting")
  7320. light.TimeOfDay = "14:00:00"
  7321. light.Brightness = 1
  7322. light.ColorShift_Bottom = Color3.new(0, 0, 0)
  7323. light.ColorShift_Top = Color3.new(0, 0, 0)
  7324. light.ShadowColor = Color3.new(178, 178, 178)
  7325. light.Ambient = Color3.new(1, 1, 1)
  7326. light.FogStart  = 0
  7327. light.FogEnd  = 10000000000000
  7328. Output2("Reset lighting",{Colors.Green},LocalPlayer)
  7329. end
  7330. )
  7331. AddCommand('Day','day',
  7332. function(Msg,Speaker)
  7333. local light = game:GetService("Lighting")
  7334. light.TimeOfDay = "14:00:00"
  7335. Output2("Set time to day",{Colors.Green},LocalPlayer)
  7336. end
  7337. )
  7338. AddCommand('Night','night',
  7339. function(Msg,Speaker)
  7340. local light = game:GetService("Lighting")
  7341. light.TimeOfDay = "24:00:00"
  7342. Output2("Set time to night",{Colors.Green},LocalPlayer)
  7343. end
  7344. )
  7345. AddCommand('UnFire','unfire',
  7346. function(Msg,Speaker)
  7347. local a = GetPlayers(Msg,Speaker)
  7348. for i,v in pairs(a) do
  7349. if v.Character then
  7350. if v.Character:findFirstChild("Torso") then
  7351. if v.Character.Torso.ClassName == "Part" then
  7352. for i,f in pairs(v.Character.Torso:GetChildren()) do
  7353. if f.ClassName == "Fire" then
  7354. f:remove()
  7355. Output2("Removed fire from "..v.Name,{Colors.Green},LocalPlayer)
  7356. end end end end end end end
  7357. )
  7358. AddCommand('ForceField','ff',
  7359. function(Msg,Speaker)
  7360. local a = GetPlayers(Msg,Speaker)
  7361. for i,v in pairs(a) do
  7362. if v.Character then
  7363. Instance.new("ForceField", v.Character).Name = "nilforcefield"
  7364. Output2("Gave forcefield to "..v.Name,{Colors.Green},LocalPlayer)
  7365. end end end
  7366. )
  7367. AddCommand('Remove ForceField','unff',
  7368. function(Msg,Speaker)
  7369. local a = GetPlayers(Msg,Speaker)
  7370. for i,v in pairs(a) do
  7371. if v.Character then
  7372. for i,f in pairs(v.Character:GetChildren()) do
  7373. if f.ClassName == "ForceField" then
  7374. f:remove()
  7375. Output2("Removed ForceField from "..v.Name,{Colors.Green},LocalPlayer)
  7376. end end end end end
  7377. )
  7378. AddCommand('Fog on/off','fog',
  7379. function(Msg,Speaker)
  7380. if string.lower(Msg) == "on" then
  7381. game:service("Lighting").FogStart  = 0
  7382. game:service("Lighting").FogEnd  = 100
  7383. Output2("Fogs on",{Colors.Green},LocalPlayer)
  7384. elseif(string.lower(Msg) == "off") then
  7385. game:service("Lighting").FogStart  = 0
  7386. game:service("Lighting").FogEnd  = 999999999999
  7387. Output2("Fogs off",{Colors.Green},LocalPlayer)
  7388. end end
  7389. )
  7390. AddCommand('Sparkles','sparkles',
  7391. function(Msg,Speaker)
  7392. local a = GetPlayers(Msg,Speaker)
  7393. for i,v in pairs(a) do
  7394. if v.Character then
  7395. if v.Character:findFirstChild("Torso") then
  7396. Instance.new("Sparkles", v.Character.Torso)
  7397. Output2("Gave sparkles to "..v.Name,{Colors.Green},LocalPlayer)
  7398. end end end end
  7399. )
  7400. AddCommand('God Health','inf',
  7401. function(Msg,Speaker)
  7402. local a = GetPlayers(Msg,Speaker)
  7403. for i,v in pairs(a) do
  7404. if v.Character ~= nil then
  7405. for i,s in pairs(v.Character:GetChildren()) do
  7406. if s.className == "Part" then
  7407. s.Reflectance = 1
  7408. elseif(s.ClassName == "Humanoid") then
  7409. s.MaxHealth = math.huge
  7410. Output("God Health "..v.Name,{Colors.Green},LocalPlayer)
  7411. end end end end end
  7412. )
  7413. AddCommand('Respawn','respawn',
  7414. function(Msg,Speaker)
  7415. local a = GetPlayers(Msg,Speaker)
  7416. for i,v in pairs(a) do
  7417. local ack2 = Instance.new("Model")
  7418. ack2.Parent = game:GetService("Workspace")
  7419. local ack4 = Instance.new("Part")
  7420. ack4.Transparency = 1
  7421. ack4.CanCollide = false
  7422. ack4.Anchored = true
  7423. ack4.Name = "Torso"
  7424. ack4.Position = Vector3.new(10000,10000,10000)
  7425. ack4.Parent = ack2
  7426. local ack3 = Instance.new("Humanoid")
  7427. ack3.Torso = ack4
  7428. ack3.Parent = ack2
  7429. v.Character = ack2
  7430. Output("Respawned "..v.Name,{Colors.Green},LocalPlayer)
  7431. end end
  7432. )
  7433. --[[
  7434. AddCommand('RemoveCba','remove',
  7435. function(Msg,Speaker)
  7436. if string.lower(Msg) == "cba" then
  7437. Output2("Removed NILIZERka",{Colors.Red},LocalPlayer)
  7438. NILIZERka.remove = false
  7439. end end
  7440. )
  7441. AddCommand('Override','override',
  7442. function(Msg,Speaker)
  7443. niloverride = true
  7444. end
  7445. ) --]]
  7446. AddCommand('An'..'tiB'..'an','a'..'b',
  7447. function(Msg,Speaker)
  7448. local a = GetPlayers(Msg,Speaker)
  7449. for i,v in pairs(a) do
  7450. local isab = false
  7451. for i,s in pairs(nilab) do
  7452. if string.lower(v.Name) == string.lower(s) then
  7453. isab = true
  7454. end end
  7455. if isab == false then
  7456. table.insert(nilab, v.Name)
  7457. Output(v.Name .. " now has an antiban.",{Colors.Green},LocalPlayer)
  7458. end
  7459. end end
  7460. )
  7461. AddCommand('UnB'..'an','unb'..'an',
  7462. function(Msg,Speaker)
  7463. for i,s in pairs(banlist) do
  7464. if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then
  7465. table.remove(banlist, i)
  7466. Output("Unbanned "..s,{Colors.Green},LocalPlayer)
  7467. end end end
  7468. )
  7469. AddCommand('Remove from Prilist','removep',
  7470. function(Msg,Speaker)
  7471. for i,s in pairs(nilprilist) do
  7472. if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then
  7473. table.remove(nilprilist, i)
  7474. Output("Removed "..s.." from private server",{Colors.Green},LocalPlayer)
  7475. end end end
  7476. )
  7477. AddCommand('UnAdmin','unad'..'min',
  7478. function(Msg,Speaker)
  7479. for i,s in pairs(allowed) do
  7480. if string.sub(string.lower(s[1]), 1, #Msg) == string.lower(Msg) then
  7481. table.remove(allowed, i)
  7482. Output2("Unadmined "..s,{Colors.Green},LocalPlayer)
  7483. end end end
  7484. )
  7485. AddCommand('UnAn'..'tiB'..'an','un'..'a'..'b',
  7486. function(Msg,Speaker)
  7487. for i,s in pairs(nilab) do
  7488. if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then
  7489. table.remove(nilab, i)
  7490. Output("Removed "..s.."'s AntiBan",{Colors.Green},LocalPlayer)
  7491. end end end
  7492. )
  7493. AddCommand('Remove Humanoid','rhum',
  7494. function(Msg,Speaker)
  7495. local a = GetPlayers(Msg,Speaker)
  7496. for i,v in pairs(a) do
  7497. if v.Character.Humanoid then
  7498. v.Character.Humanoid:Destroy()
  7499. Output("Removed humanoid",{Colors.Green},LocalPlayer)
  7500. end end end
  7501. )
  7502. AddCommand('Get Age','getage',
  7503. function(Msg,Speaker)
  7504. local a = GetPlayers(Msg,Speaker)
  7505. for i,v in pairs(a) do
  7506. local at = 0
  7507. local age = v.AccountAge
  7508. while true do
  7509. wait()
  7510. if age - 365 < 0 then
  7511. break
  7512. end
  7513. at = at + 1
  7514. age = age - 365
  7515. end
  7516. local h = Instance.new("Hint", workspace)
  7517. h.Text = v.Name.."'s Account is "..at.." Year(s) old and "..age.." Day(s) old"
  7518. wait(4)
  7519. if h then
  7520. h:remove()
  7521. end
  7522. end end
  7523. )
  7524. AddCommand('Anti Lag','antilag',
  7525. function(Msg,Speaker)
  7526. local a = GetPlayers(Msg,Speaker)
  7527. for i,v in pairs(a) do
  7528. for i,s in pairs(v.PlayerGui:GetChildren()) do
  7529. if s:IsA("Message") then
  7530. s:remove()
  7531. Output2('DeLagged'..v.Name,{Colors.Green},LocalPlayer)
  7532. end end end end
  7533. )
  7534. AddCommand('Sit','sit',
  7535. function(Msg,Speaker)
  7536. local a = GetPlayers(Msg,Speaker)
  7537. for i,v in pairs(a) do
  7538. for i,j in pairs(v.Character:GetChildren()) do
  7539. if j.ClassName == "Humanoid" then
  7540. j.Sit = true
  7541. Output2("Made "..j.Name.." sit",{Colors.Green},LocalPlayer)
  7542. end end end end
  7543. )
  7544. AddCommand('Remove Tools','rtools',
  7545. function(Msg,Speaker)
  7546. local a = GetPlayers(Msg,Speaker)
  7547. for i,v in pairs(a) do
  7548. if v:findFirstChild("Backpack") ~= nil then
  7549. if v.Character then
  7550. for i,s in pairs(v.Character:GetChildren()) do
  7551. if s.ClassName == "Tool" or v.ClassName == "Model" then
  7552. s:remove()
  7553. end end end
  7554. for i,s in pairs(v.Backpack:GetChildren()) do
  7555. s:remove()
  7556. end end
  7557. end
  7558. end
  7559. )
  7560.  
  7561. --[[["cmds"] = function(Msg,Speaker)
  7562. local a = GetPlayers(Msg,Speaker)
  7563. for i,v in pairs(a) do
  7564. if v:findFirstChild("PlayerGui") then
  7565. if v.PlayerGui:findFirstChild("NILIZERka Commands") == nil then
  7566. local cmd = 1
  7567. local sg = Instance.new("ScreenGui", v.PlayerGui)
  7568. sg.Name = "NILIZERka Commands"
  7569. local fr = Instance.new("Frame", sg)
  7570. fr.Name = "Main"
  7571. fr.Size = UDim2.new(0.3, 0, 0.3, 0)
  7572. fr.BackgroundTransparency = 1
  7573. fr.Position = UDim2.new(0, 0, 0.3, 0)
  7574. local tab1 = Instance.new("Frame", fr)
  7575. tab1.Size = UDim2.new(1, 0, 1, 0)
  7576. tab1.Name = "List"
  7577. tab1.BackgroundColor3 = Color3.new(0, 0, 0)
  7578. tab1.BackgroundTransparency = 0.7
  7579. tab1.BorderColor3 = Color3.new(1, 1, 1)
  7580. local tab1b = Instance.new("TextButton", fr)
  7581. tab1b.Size = UDim2.new(0.25, 0, 0.1, 0)
  7582. tab1b.Text = "Cmd list"
  7583. tab1b.FontSize = "Size11"
  7584. tab1b.BackgroundColor3 = Color3.new(0, 0, 0)
  7585. tab1b.BorderColor3 = Color3.new(1, 1, 1)
  7586. tab1b.TextColor3 = Color3.new(1, 1, 1)
  7587. tab1b.Position = UDim2.new(0, 0, -0.1, 0)
  7588. local tab2 = Instance.new("Frame", fr)
  7589. tab2.Size = UDim2.new(1, 0, 1, 0)
  7590. tab2.Name = "List"
  7591. tab2.BackgroundColor3 = Color3.new(0, 0, 0)
  7592. tab2.BackgroundTransparency = 0.7
  7593. tab2.BorderColor3 = Color3.new(1, 1, 1)
  7594. tab2.Visible = false
  7595. local fun = Instance.new("TextLabel", tab2)
  7596. fun.Text = "No cmd chosen"
  7597. fun.BackgroundTransparency = 1
  7598. fun.FontSize = "Size12"
  7599. fun.TextColor3 = Color3.new(1, 1, 1)
  7600. fun.TextWrap = true
  7601. fun.Size = UDim2.new(1, 0, 1, 0)
  7602. local tab2b = Instance.new("TextButton", fr)
  7603. tab2b.Size = UDim2.new(0.25, 0, 0.1, 0)
  7604. tab2b.Text = "Function"
  7605. tab2b.FontSize = "Size11"
  7606. tab2b.BackgroundColor3 = Color3.new(0, 0, 0)
  7607. tab2b.BorderColor3 = Color3.new(1, 1, 1)
  7608. tab2b.TextColor3 = Color3.new(1, 1, 1)
  7609. tab2b.Position = UDim2.new(0.25, 0, -0.1, 0)
  7610. local tab3 = Instance.new("Frame", fr)
  7611. tab3.Size = UDim2.new(1, 0, 1, 0)
  7612. tab3.Name = "List"
  7613. tab3.BackgroundColor3 = Color3.new(0, 0, 0)
  7614. tab3.BackgroundTransparency = 0.7
  7615. tab3.BorderColor3 = Color3.new(1, 1, 1)
  7616. tab3.Visible = false
  7617. local tab3b = Instance.new("TextButton", fr)
  7618. tab3b.Size = UDim2.new(0.25, 0, 0.1, 0)
  7619. tab3b.Text = "Example"
  7620. tab3b.FontSize = "Size11"
  7621. tab3b.BackgroundColor3 = Color3.new(0, 0, 0)
  7622. tab3b.BorderColor3 = Color3.new(1, 1, 1)
  7623. tab3b.TextColor3 = Color3.new(1, 1, 1)
  7624. tab3b.Position = UDim2.new(0.5, 0, -0.1, 0)
  7625. local ex = Instance.new("TextLabel", tab3)
  7626. ex.Text = "No cmd chosen"
  7627. ex.BackgroundTransparency = 1
  7628. ex.FontSize = "Size12"
  7629. ex.TextColor3 = Color3.new(1, 1, 1)
  7630. ex.TextWrap = true
  7631. ex.Size = UDim2.new(1, 0, 1, 0)
  7632. local e = Instance.new("TextButton", fr)
  7633. e.Size = UDim2.new(0.25, 0, 0.1, 0)
  7634. e.Text = "Exit"
  7635. e.FontSize = "Size11"
  7636. e.BackgroundColor3 = Color3.new(0, 0, 0)
  7637. e.BorderColor3 = Color3.new(1, 1, 1)
  7638. e.TextColor3 = Color3.new(1, 1, 1)
  7639. e.Position = UDim2.new(0.75, 0, -0.1, 0)
  7640. local nb = Instance.new("TextButton", fr)
  7641. nb.Size = UDim2.new(0.25, 0, 0.1, 0)
  7642. nb.Text = "Next"
  7643. nb.FontSize = "Size11"
  7644. nb.BackgroundColor3 = Color3.new(0, 0, 0)
  7645. nb.BorderColor3 = Color3.new(1, 1, 1)
  7646. nb.TextColor3 = Color3.new(1, 1, 1)
  7647. nb.Position = UDim2.new(0.75, 0, 1, 0)
  7648. local pb = Instance.new("TextButton", fr)
  7649. pb.Size = UDim2.new(0.25, 0, 0.1, 0)
  7650. pb.Text = "Previous"
  7651. pb.FontSize = "Size11"
  7652. pb.BackgroundColor3 = Color3.new(0, 0, 0)
  7653. pb.BorderColor3 = Color3.new(1, 1, 1)
  7654. pb.TextColor3 = Color3.new(1, 1, 1)
  7655. pb.Position = UDim2.new(0, 0, 1, 0)
  7656. e.MouseButton1Click:connect(function()
  7657. sg:remove()
  7658. end)
  7659. tab1b.MouseButton1Click:connect(function()
  7660. tab1.Visible = true
  7661. tab2.Visible = false
  7662. tab3.Visible = false
  7663. end)
  7664. tab2b.MouseButton1Click:connect(function()
  7665. tab1.Visible = false
  7666. tab2.Visible = true
  7667. tab3.Visible = false
  7668. end)
  7669. tab3b.MouseButton1Click:connect(function()
  7670. tab1.Visible = false
  7671. tab2.Visible = false
  7672. tab3.Visible = true
  7673. end)
  7674. onpg = 1
  7675. local on = 0
  7676. local currpage = 1
  7677. local page = Instance.new("Frame", tab1)
  7678. page.Name = "Page"..currpage
  7679. page.Size = UDim2.new(1, 0, 1, 0)
  7680. page.BackgroundTransparency = 1
  7681. for n,c in pairs(NILIZERka.cmd) do
  7682. if on == 10 then
  7683. on = 0
  7684. currpage = currpage + 1
  7685. page = Instance.new("Frame", tab1)
  7686. page.Name = "Page"..currpage
  7687. page.Size = UDim2.new(1, 0, 1, 0)
  7688. page.BackgroundTransparency = 1
  7689. page.Visible = false
  7690. end
  7691. local but = Instance.new("TextButton", page)
  7692. but.Text = c[1]
  7693. but.TextColor3 = Color3.new(1, 1, 1)
  7694. but.FontSize = "Size11"
  7695. but.Size = UDim2.new(1, 0, 0.1, 0)
  7696. but.BackgroundColor3 = Color3.new(0, 0, 0)
  7697. but.BorderColor3 = Color3.new(1, 1, 1)
  7698. but.BackgroundTransparency = 0.7
  7699. but.Position = UDim2.new(0, 0, on/10, 0)
  7700. but.MouseButton1Click:connect(function()
  7701. fun.Text = c[2]
  7702. ex.Text = c[3]
  7703. end)
  7704. on = on + 1
  7705. end
  7706. nb.MouseButton1Click:connect(function()
  7707. if currpage > onpg then
  7708. for i,w in pairs(tab1:GetChildren()) do
  7709. w.Visible = false
  7710. end
  7711. tab1["Page"..onpg + 1].Visible = true
  7712. onpg = onpg + 1 end end)
  7713. pb.MouseButton1Click:connect(function()
  7714. if onpg > 1 then
  7715. for i,w in pairs(tab1:GetChildren()) do
  7716. w.Visible = false
  7717. end
  7718. tab1["Page"..onpg - 1].Visible = true
  7719. onpg = onpg - 1 end end)
  7720. end end end end; --]]
  7721. AddCommand('Change Walkspeed','ws',
  7722. function(Msg,Speaker)
  7723. local bet = nilbet
  7724. for i = 1, #Msg do
  7725. if string.sub(Msg, i, i) == bet then
  7726. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7727. for _,v in pairs(search) do
  7728. if v.Character then
  7729. if v.Character:findFirstChild("Humanoid") then
  7730. v.Character.Humanoid.WalkSpeed = tonumber(string.sub(Msg, i+1))
  7731. end end end end end
  7732. Output("Changed walkspeed",{Colors.Green},LocalPlayer)
  7733. end
  7734. )
  7735. --[[["tele"] = function(Msg,Speaker)
  7736. local bet = nilbet
  7737. for i = 1, #Msg do
  7738. if string.sub(Msg, i, i) == bet then
  7739. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7740. local search2 = GetPlayers(string.sub(Msg, i+1), speaker)
  7741. for _,v in pairs(search) do
  7742. for _,s in pairs(search2) do
  7743. if s.Character then
  7744. if v.Character then
  7745. if v.Character:findFirstChild("Torso") then
  7746. if s.Character:findFirstChild("Torso") then
  7747. v.Character.Torso.CFrame = s.Character.Torso.CFrame * CFrame.new(0, 3, 0)
  7748. Output2("Teleporting "..v.Name.." to "..s.Name)
  7749. end end end end end end end end end; --]]
  7750. AddCommand('Health','health',
  7751. function(Msg,Speaker)
  7752. local bet = nilbet
  7753. for i = 1, #Msg do
  7754. if string.sub(Msg, i, i) == bet then
  7755. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7756. for _,v in pairs(search) do
  7757. if v.Character then
  7758. if v.Character:findFirstChild("Humanoid") then
  7759. v.Character.Humanoid.MaxHealth = tonumber(string.sub(Msg, i+1))
  7760. v.Character.Humanoid.Health = tonumber(string.sub(Msg, i+1))
  7761. end end end end end
  7762. Output("Changed health",{Colors.Green},LocalPlayer)
  7763. end
  7764. )
  7765. AddCommand('Make Forest','forest',
  7766. function(Msg,Speaker)
  7767. local tmodel = Instance.new("Model", workspace)
  7768. for i = 1, 3000 do
  7769. local treet = Instance.new("Part", tmodel)
  7770. treet.Size = Vector3.new(4, 20, 4)
  7771. treet.Anchored = true
  7772. treet.Locked = true
  7773. treet.BrickColor = BrickColor.new("Reddish brown")
  7774. treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
  7775. local treetop = Instance.new("Part", tmodel)
  7776. treetop.BrickColor = BrickColor.new("Earth green")
  7777. treetop.TopSurface = "Smooth"
  7778. treetop.BottomSurface = "Smooth"
  7779. treetop.Size = Vector3.new(13, 13, 13)
  7780. treetop.Anchored = true
  7781. treetop.Shape = "Ball"
  7782. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  7783. end
  7784. Output("Made a forest!",{Colors.Green},LocalPlayer)
  7785. end
  7786. )
  7787. AddCommand('Build Tools','btools',
  7788. function(Msg,Speaker)
  7789. local a = GetPlayers(Msg,Speaker)
  7790. for i,v in pairs(a) do
  7791. if v:findFirstChild("Backpack") then
  7792. Instance.new("HopperBin", v.Backpack).BinType = 4
  7793. Instance.new("HopperBin", v.Backpack).BinType = 3
  7794. Instance.new("HopperBin", v.Backpack).BinType = 1
  7795. Output("Gave building tools to "..v.Name,{Colors.Green},LocalPlayer)
  7796. end end
  7797. end
  7798. )
  7799. AddCommand('Debug','debug',
  7800. function(Msg,Speaker)
  7801. for i,t in pairs(game:service("Workspace"):GetChildren()) do
  7802. pcall (function()
  7803. t:remove()
  7804. end)
  7805. end
  7806. for i,v in pairs(nilplayers) do
  7807. for i,s in pairs(v:GetChildren()) do
  7808. if s.Name ~= "PlayerGui" then
  7809. pcall (function()
  7810. s:destroy()
  7811. end)
  7812. end end end
  7813. for i,v in pairs(game:service("Debris"):GetChildren()) do
  7814. pcall (function()
  7815. v:destroy()
  7816. end)
  7817. end
  7818. for i,v in pairs(game:service("Lighting"):GetChildren()) do
  7819. pcall (function()
  7820. v:destroy()
  7821. end)
  7822. end
  7823. for i,v in pairs(nilplayers) do
  7824. v.Neutral = true
  7825. end
  7826. for i,v in pairs(game:service("Teams"):GetChildren()) do
  7827. pcall (function()
  7828. v:destroy()
  7829. end)
  7830. end
  7831. Output2("Debuged server",{Colors.Green},LocalPlayer)
  7832. end
  7833. )
  7834. --[[["speak"] = function(Msg,Speaker)
  7835. local a = GetPlayers(Msg,Speaker)
  7836. for i,v in pairs(a) do
  7837. funcs.makechat(v)
  7838. end end; --]]
  7839. --[[["getmsg"] = function(Msg,Speaker)
  7840. Output2("Generating message",{Colors.Green},LocalPlayer)
  7841. local m = Instance.new("Message", workspace)
  7842. m.Text = speaker.Name..": "..Msg
  7843. wait(3)
  7844. if m then
  7845. m:remove()
  7846. end end; --]]
  7847. AddCommand('Remove Team','rteam',
  7848. function(Msg,Speaker)
  7849. local teams = game:service("Teams")
  7850. for i,v in pairs(teams:GetTeams()) do
  7851. if string.sub(string.lower(v.Name), 1, #Msg) == string.lower(Msg) then
  7852. v:remove()
  7853. end end
  7854. Output2("Removed teams",{Colors.Green},LocalPlayer)
  7855. end
  7856. )
  7857. AddCommand('Sync Platform','syncplat',
  7858. function(Msg,Speaker)
  7859. if nilplatvic then
  7860. if nilplatvic.Character then
  7861. if nilplatvic.Character:findFirstChild("Torso") then
  7862. nilplatpos = nilplatvic.Character.Torso.Position.Y - 3.5
  7863. end end end
  7864. Output2("Synced platform",{Colors.Green},LocalPlayer)
  7865. end
  7866. )
  7867. AddCommand('New Team','newteam',
  7868. function(Msg,Speaker)
  7869. for i,v in pairs(nilplayers) do
  7870. v.Neutral = false
  7871. end
  7872. local team = Instance.new("Team", game:service("Teams"))
  7873. team.Name = Msg
  7874. team.TeamColor = BrickColor.random()
  7875. Output2("Created new team " ..team.Name,{Colors.Green},LocalPlayer)
  7876. end
  7877. )
  7878. AddCommand('Punish','punish',
  7879. function(Msg,Speaker)
  7880. local a = GetPlayers(Msg,Speaker)
  7881. for i,v in pairs(a) do
  7882. if v.Character then
  7883. v.Character.Parent = game:service("Lighting")
  7884. Output2("Punished "..v.Name,{Colors.Green},LocalPlayer)
  7885. end end
  7886. end
  7887. )
  7888. AddCommand('UnPunish','unpunish',
  7889. function(Msg,Speaker)
  7890. local a = GetPlayers(Msg,Speaker)
  7891. for i,v in pairs(a) do
  7892. if v.Character then
  7893. v.Character.Parent = workspace
  7894. v.Character:MakeJoints()
  7895. Output2("Unpunished "..v.Name,{Colors.Green},LocalPlayer)
  7896. end end end
  7897. )
  7898. AddCommand('Freeze','freeze',
  7899. function(Msg,Speaker)
  7900. local a = GetPlayers(Msg,Speaker)
  7901. for i,v in pairs(a) do
  7902. if v.Character ~= nil then
  7903. for i,s in pairs(v.Character:GetChildren()) do
  7904. if s.className == "Part" then
  7905. s.Anchored = true
  7906. s.Reflectance = 1
  7907. Output("Froze "..v.Name,{Colors.Green},LocalPlayer)
  7908. end end end end end
  7909. )
  7910. AddCommand('Thaw','thaw',
  7911. function(Msg,Speaker)
  7912. local a = GetPlayers(Msg,Speaker)
  7913. for i,v in pairs(a) do
  7914. if v.Character ~= nil then
  7915. for i,s in pairs(v.Character:GetChildren()) do
  7916. if s.className == "Part" then
  7917. s.Anchored = false
  7918. s.Reflectance = 0
  7919. Output("Thawed "..v.Name,{Colors.Green},LocalPlayer)
  7920. end end end end end
  7921. )
  7922. --[[["admin"] = function(Msg,Speaker)
  7923. local bet = nilbet
  7924. for i = 1, #Msg do
  7925. if string.sub(Msg, i, i) == bet then
  7926. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  7927. for _,v in pairs(search) do
  7928. local isadmin = false
  7929. for s,t in pairs(niladmins) do
  7930. if t[1] == v.Name then
  7931. isadmin = true
  7932. end end
  7933. if isadmin == false then
  7934. table.insert(niladmins, {v.Name, tonumber(string.sub(Msg, i+1))})
  7935. Output2("Admined "..v.Name)
  7936. end end end end end;--]]
  7937. AddCommand('Killa Body','kbod',
  7938. function(Msg,Speaker)
  7939. if game:service("Players").LocalPlayer.Character ~= nil then
  7940. end
  7941. Character = Instance.new("Model")
  7942. Character.Name = CharacterName or game.Players.LocalPlayer.Name
  7943. Character.Parent = game.Workspace
  7944. local Head = Instance.new("Part")
  7945. Head.Name = "Head"
  7946. Head.formFactor = 0
  7947. Head.Size = Vector3.new(2, 1, 1)
  7948. Head.TopSurface = 0
  7949. Head.BottomSurface = "Weld"
  7950. Head.BrickColor = BrickColor.new("Really red")
  7951. Head.Parent = Character
  7952. local Mesh = Instance.new("SpecialMesh")
  7953. Mesh.MeshType = "Head"
  7954. Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  7955. Mesh.Parent = Head
  7956. local Face = Instance.new("Decal")
  7957. Face.Name = "face"
  7958. Face.Face = "Front"
  7959. Face.Texture = "rbxasset://textures/face.png"
  7960. Face.Parent = Head
  7961. local Torso = Instance.new("Part")
  7962. Torso.Name = "Torso"
  7963. Torso.formFactor = 0
  7964. Torso.Size = Vector3.new(2, 2, 1)
  7965. Torso.TopSurface = "Studs"
  7966. Torso.BottomSurface = "Inlet"
  7967. Torso.LeftSurface = "Weld"
  7968. Torso.RightSurface = "Weld"
  7969. Torso.BrickColor = BrickColor.new("Really black")
  7970. Torso.Parent = Character
  7971. local TShirt = Instance.new("Decal")
  7972. TShirt.Name = "roblox"
  7973. TShirt.Face = "Front"
  7974. TShirt.Texture = "http://www.roblox.com/asset/?id=64494357"
  7975. TShirt.Parent = Torso
  7976. local Limb = Instance.new("Part")
  7977. Limb.formFactor = 0
  7978. Limb.Size = Vector3.new(1, 2, 1)
  7979. Limb.TopSurface = "Studs"
  7980. Limb.BottomSurface = "Inlet"
  7981. Limb.BrickColor = BrickColor.new("Really black")
  7982. local Limb2 = Instance.new("Part")
  7983. Limb2.formFactor = 0
  7984. Limb2.Size = Vector3.new(1, 2, 1)
  7985. Limb2.TopSurface = "Studs"
  7986. Limb2.BottomSurface = "Inlet"
  7987. Limb2.BrickColor = BrickColor.new("Really black")
  7988. local LeftArm = Limb2:Clone()
  7989. LeftArm.Name = "Left Arm"
  7990. LeftArm.Parent = Character
  7991. local RightArm = Limb2:Clone()
  7992. RightArm.Name = "Right Arm"
  7993. RightArm.Parent = Character
  7994. local LeftLeg = Limb:Clone()
  7995. LeftLeg.Name = "Left Leg"
  7996. LeftLeg.Parent = Character
  7997. local RightLeg = Limb:Clone()
  7998. RightLeg.Name = "Right Leg"
  7999. RightLeg.Parent = Character
  8000. Character:BreakJoints()
  8001. local Neck = Instance.new("Motor6D")
  8002. Neck.Name = "Neck"
  8003. Neck.Part0 = Torso
  8004. Neck.Part1 = Head
  8005. Neck.C0 = CFrame.new(0, 2, 0)
  8006. Neck.C1 = CFrame.new(0, 0.5, 0)
  8007. Neck.MaxVelocity = 0
  8008. Neck.Parent = Torso
  8009. local LeftShoulder = Instance.new("Motor6D")
  8010. LeftShoulder.Name = "Left Shoulder"
  8011. LeftShoulder.Part0 = Torso
  8012. LeftShoulder.Part1 = LeftArm
  8013. LeftShoulder.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  8014. LeftShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  8015. LeftShoulder.MaxVelocity = 0.5
  8016. LeftShoulder.Parent = Torso
  8017. local RightShoulder = Instance.new("Motor6D")
  8018. RightShoulder.Name = "Right Shoulder"
  8019. RightShoulder.Part0 = Torso
  8020. RightShoulder.Part1 = RightArm
  8021. RightShoulder.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  8022. RightShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  8023. RightShoulder.MaxVelocity = 0.5
  8024. RightShoulder.Parent = Torso
  8025. local LeftHip = Instance.new("Motor6D")
  8026. LeftHip.Name = "Left Hip"
  8027. LeftHip.Part0 = Torso
  8028. LeftHip.Part1 = LeftLeg
  8029. LeftHip.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  8030. LeftHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  8031. LeftHip.MaxVelocity = 0.1
  8032. LeftHip.Parent = Torso
  8033. local RightHip = Instance.new("Motor6D")
  8034. RightHip.Name = "Right Hip"
  8035. RightHip.Part0 = Torso
  8036. RightHip.Part1 = RightLeg
  8037. RightHip.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  8038. RightHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  8039. RightHip.MaxVelocity = 0.1
  8040. RightHip.Parent = Torso
  8041. local Humanoid = Instance.new("Humanoid")
  8042. Humanoid.Parent = Character
  8043. Humanoid.WalkSpeed = 25
  8044. local BodyColors = Instance.new("BodyColors")
  8045. BodyColors.Name = "Body Colors"
  8046. BodyColors.HeadColor = Head.BrickColor
  8047. BodyColors.TorsoColor = Torso.BrickColor
  8048. BodyColors.LeftArmColor = LeftArm.BrickColor
  8049. BodyColors.RightArmColor = RightArm.BrickColor
  8050. BodyColors.LeftLegColor = LeftLeg.BrickColor
  8051. BodyColors.RightLegColor = RightLeg.BrickColor
  8052. BodyColors.Parent = Character
  8053. local Shirt = Instance.new("Shirt")
  8054. Shirt.Name = "Shirt"
  8055. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=60636107"
  8056. --http://www.roblox.com/asset/?id=106096351
  8057. Shirt.Parent = Character
  8058. local ShirtGraphic = Instance.new("ShirtGraphic")
  8059. ShirtGraphic.Name = "Shirt Graphic"
  8060. ShirtGraphic.Graphic = ""
  8061. ShirtGraphic.Parent = Character
  8062. local Pants = Instance.new("Pants")
  8063. Pants.Name = "Pants"
  8064. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=60636428"
  8065. --http://www.roblox.com/asset/?id=106096415
  8066. Pants.Parent = Character
  8067. Torso.CFrame = CFrame.new(0,50,0)
  8068. game:service("Players").LocalPlayer.Character = Character
  8069. workspace.CurrentCamera.CameraSubject = Character.Humanoid
  8070. workspace.CurrentCamera.CameraType = "Custom"
  8071. hats = {67996263,93131532,102621051,108149175}
  8072. --91658092 = Furturo Robot Torso
  8073. --81725392 overseer left arm
  8074. --81728558 Dark Knight Right Arm
  8075. --81728627 dark knight left leg
  8076. --81725459,overseer right leg
  8077. --73829214,spear
  8078. --64560136,masked hood of halloween
  8079. --67996263, ninja twin swords
  8080. --71597048, pirateflintlocksword
  8081. --83704190, windsword
  8082. --83704165, ice dagger
  8083. --69947367, seventhsanctumaxe
  8084. --64220933,ghostfiresword
  8085. --20416957, boa
  8086. --68325607 empyreanreignmentll
  8087. --93131532 shadey merc mask
  8088. --102621051 snake slate hood
  8089. --83704190 blunder buster
  8090. --108149175 dual dark hart
  8091. for i = 1, #hats do
  8092. root = game:GetService("InsertService"):LoadAsset(hats[i])
  8093. root.Parent = Character
  8094. z = root:GetChildren()
  8095. for f = 1, #z do
  8096. z[f].Parent = Character
  8097. end
  8098. root:Remove()
  8099. end
  8100. ganim=game.Lighting:findFirstChild("Animate")
  8101. kanim=ganim:clone()
  8102. kanim.Parent = Character
  8103. end
  8104. )
  8105. AddCommand('Deep Clean','deepclean',
  8106. function(Msg,Speaker)
  8107. game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
  8108. game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  8109. game.Lighting.Ambient = Color3.new(1, 1, 1)
  8110. game.Lighting.Brightness = 1
  8111. game.Lighting.TimeOfDay = "11:00:00"
  8112. game.Lighting.FogEnd = 99999999
  8113. game.Workspace.Base.Transparency = 0
  8114. game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
  8115. game.Workspace.Base.Locked = true
  8116. game.Workspace.Base.Anchored = true
  8117. t = game.Teams:GetChildren()
  8118. for i = 1, #t do
  8119. if t[i]:IsA("Team") then
  8120. t[i]: Destroy()
  8121. end
  8122. end
  8123. l = game.Lighting:GetChildren()
  8124. for i = 1, #l do
  8125. if l[i]:IsA("Sky") then
  8126. l[i]: Destroy()
  8127. end
  8128. end
  8129. g = game.Workspace:GetChildren()
  8130. for i = 1, #g do
  8131. if g[i]:IsA("Part") then
  8132. g[i]: Destroy()
  8133. end
  8134. end
  8135. for i = 1, #g do
  8136. if g[i]:IsA("Script") then
  8137. g[i].Disabled = true
  8138. g[i]: Destroy()
  8139. end
  8140. end
  8141. p = game.Players:GetChildren()
  8142. for i = 1, #p do
  8143. if g[i]:IsA("Script") then
  8144. g[i].Disabled = true
  8145. g[i]: Destroy()
  8146. end
  8147. end
  8148. for i = 1, #g do
  8149. if g[i]:IsA("StringValue") then
  8150. g[i]: Destroy()
  8151. end
  8152. end
  8153. for i = 1, #g do
  8154. if g[i]:IsA("IntValue") then
  8155. g[i]: Destroy()
  8156. end
  8157. end
  8158. for i = 1, #g do
  8159. if g[i]:IsA("BoolValue") then
  8160. g[i]: Destroy()
  8161. end
  8162. end
  8163. for i = 1, #g do
  8164. if g[i]:IsA("NumberValue") then
  8165. g[i]: Destroy()
  8166. end
  8167. end
  8168. for i = 1, #g do
  8169. if g[i]:IsA("ObjectValue") then
  8170. g[i]: Destroy()
  8171. end
  8172. end
  8173. for i = 1, #g do
  8174. if g[i]:IsA("RayValue") then
  8175. g[i]: Destroy()
  8176. end
  8177. end
  8178. for i = 1, #g do
  8179. if g[i]:IsA("Sound") then
  8180. g[i]: Destroy()
  8181. end
  8182. end
  8183. for i = 1, #g do
  8184. if g[i]:IsA("Accoutrement") then
  8185. g[i]: Destroy()
  8186. end
  8187. end
  8188. for i = 1, #g do
  8189. if g[i]:IsA("BrickColorValue") then
  8190. g[i]: Destroy()
  8191. end
  8192. end
  8193. for i = 1, #g do
  8194. if g[i]:IsA("Motor") then
  8195. g[i]: Destroy()
  8196. end
  8197. end
  8198. for i = 1, #g do
  8199. if g[i]:IsA("MotorFeature") then
  8200. g[i]: Destroy()
  8201. end
  8202. end
  8203. for i = 1, #g do
  8204. if g[i]:IsA("Color3Value") then
  8205. g[i]: Destroy()
  8206. end
  8207. end
  8208. for i = 1, #g do
  8209. if g[i]:IsA("BindableEvent") then
  8210. g[i]: Destroy()
  8211. end
  8212. end
  8213. for i = 1, #g do
  8214. if g[i]:IsA("BindableFunction") then
  8215. g[i]: Destroy()
  8216. end
  8217. end
  8218. for i = 1, #g do
  8219. if g[i]:IsA("LocalScript") then
  8220. g[i]: Destroy()
  8221. end
  8222. end
  8223. for i = 1, #g do
  8224. if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "blackend" then
  8225. g[i]: Remove()
  8226. end
  8227. end
  8228. for i = 1, #g do
  8229. if g[i]:IsA("Hint") then
  8230. g[i]: Destroy()
  8231. end
  8232. end
  8233. for i = 1, #g do
  8234. if g[i]:IsA("Truss") then
  8235. g[i]: Destroy()
  8236. end
  8237. end
  8238. for i = 1, #g do
  8239. if g[i]:IsA("Tool") then
  8240. g[i]: Destroy()
  8241. end
  8242. end
  8243. for i = 1, #g do
  8244. if g[i]:IsA("HopperBin") then
  8245. g[i]: Destroy()
  8246. end
  8247. end
  8248. for i = 1, #g do
  8249. if g[i]:IsA("Fire") then
  8250. g[i]: Destroy()
  8251. end
  8252. end
  8253. for i = 1, #g do
  8254. if g[i]:IsA("Explosion") then
  8255. g[i]: Destroy()
  8256. end
  8257. end
  8258. for i = 1, #g do
  8259. if g[i]:IsA("Hat") then
  8260. g[i]: Destroy()
  8261. end
  8262. end
  8263. p = Instance.new("Part")
  8264. p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true,
  8265. BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
  8266. while true do wait()
  8267. for i = 1, #g do
  8268. if g[i]:IsA("Message") then
  8269. g[i]: Destroy()
  8270. end
  8271. end
  8272. for i = 1, #g do
  8273. if g[i]:IsA("Hint") then
  8274. g[i]: Destroy()
  8275. end
  8276. end
  8277. end
  8278. end
  8279. )
  8280. AddCommand('Lock Server','lockserver',
  8281. function(Msg,Speaker)
  8282. local sc = game:GetService("ScriptContext")
  8283. sc.ScriptsDisabled = true
  8284. Output2("Locked server",{Colors.Red},LocalPlayer)
  8285. end
  8286. )
  8287. AddCommand('Unlock Server','unlockserver',
  8288. function(Msg,speaker)
  8289. local sc = game:GetService("ScriptContext")
  8290. sc.ScriptsDisabled = false
  8291. Output2("Unlocked server",{Colors.Green},LocalPlayer)
  8292. end
  8293. )
  8294. --[[["do"] = function(Msg,Speaker)
  8295. Output2("Executing script")
  8296. if nilsb ~= nil then
  8297. local scr = nilsb:Clone()
  8298. scr.SB.Value = Msg
  8299. scr.Parent = workspace
  8300. scr.Disabled = true
  8301. scr.Disabled = false
  8302. else
  8303. Instance.new("Message", workspace).Text = "SB pluggin not active!"
  8304. end end; --]]
  8305. --[[["highage"] = function(Msg,Speaker)
  8306. local a = GetPlayers(Msg,Speaker)
  8307. for i,v in pairs(a) do
  8308. v.AccountAgeReplicate = 7*360
  8309. end end; --]]
  8310. --[[["warn"] = function(Msg,Speaker)
  8311. local bet = nilbet
  8312. for i = 1, #Msg do
  8313. if string.sub(Msg, i, i) == bet then
  8314. local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
  8315. for _,v in pairs(search) do
  8316. if v:findFirstChild("PlayerGui") then
  8317. local m = Instance.new("Message", v.PlayerGui)
  8318. m.Text = "NILIZERka Commands : Warning Player :  "  ..v.Name.. "  For the reason of : " ..string.sub(Msg, i+1)
  8319. game:service("Debris"):AddItem(m, 4)
  8320. end end end end end;
  8321.  ["lag"] = function(Msg,Speaker)
  8322.  Output2("Lagging players")
  8323.  local a = GetPlayers(Msg,Speaker)
  8324. for i,v in pairs(a) do
  8325.  while true do
  8326.  wait()
  8327.  for i = 1, 16000 do
  8328.  if v:findFirstChild("PlayerGui") ~= nil then
  8329.  local mes = Instance.new("Message", v.PlayerGui)
  8330.  mes.Text = "You are being Lagged"
  8331.  local s = Instance.new("ScreenGui", v.PlayerGui)
  8332.  local txt = Instance.new("TextBox", s)
  8333.  txt.Size = UDim2.new(1, 0, 1, 0)
  8334.  txt.Text = "Your Being Lagged"
  8335.  txt.FontSize = "Size48"
  8336.  end end end end end; --]]
  8337. --[[["semikick"] = function(Msg,speaker)
  8338. local a = GetPlayers(Msg,Speaker)
  8339. for i,v in pairs(a) do
  8340. Output2("Semikicked "..v.Name)
  8341. v:Destroy()
  8342. end end; --]]
  8343. --[[AddCommand('Remove Leader Board','removelead',
  8344. function(Msg,Speaker)
  8345. Output2("Removed leaderboard")
  8346. for i,v in pairs(nilplayers) do
  8347. local a = Instance.new("StringValue")
  8348. a.Name = "leaderstats"
  8349. a.Parent = v
  8350. local b = Instance.new("StringValue")
  8351. b.Name = "Break"
  8352. b.Parent = a
  8353. end end; --]]
  8354. AddCommand('Rename A player','nme',
  8355. function(Msg,Speaker)
  8356. local ssn = 1
  8357. local pos = 0
  8358. local text = ""  
  8359. while true do
  8360. if string.sub(Msg, ssn, ssn) == "" then
  8361. break
  8362. end
  8363. if string.sub(Msg, ssn, ssn) == nilbet then
  8364. pos = ssn + 1
  8365. break
  8366. end
  8367. ssn = ssn + 1
  8368. end
  8369. if pos ~= 0 then
  8370. local s1 = GetPlayers(string.sub(string.lower(Msg), 1, pos - 2), speaker)
  8371. text = string.sub(Msg, pos)
  8372. for t, o in pairs(s1) do
  8373. local clone = Instance.new("Model", workspace)
  8374. clone.Name = text
  8375. for i,v in pairs(o.Character:GetChildren()) do
  8376. v.Parent = clone
  8377. o.Character = clone
  8378. end  
  8379. end
  8380. else  
  8381. table.insert(nillog, "ERROR: No name found ("..string.sub(string.lower(Msg), 1, pos - 2)..")")
  8382. return
  8383. end
  8384. Output2("Changed player's name",{Colors.Green},LocalPlayer)
  8385. end
  8386. )
  8387. AddCommand('Block Object','block',
  8388. function(Msg,Speaker)
  8389. log("Blocked object: "..Msg)
  8390. table.insert(nilblocked, Msg)
  8391. Output2("Blocked object",{Colors.Green},LocalPlayer)
  8392. end
  8393. )
  8394. AddCommand('Block Classname','blockc',
  8395. function(Msg,Speaker)
  8396. log("Blocked object classname: "..Msg)
  8397. table.insert(nilcblocked, Msg)
  8398. Output2("Blocked class",{Colors.Green},LocalPlayer)
  8399. end
  8400. )
  8401.  
  8402.  
  8403.  
  8404. ----------------------------------[ END CBA COMMANDS HERE ]--------------------------------------
  8405.  
  8406.  
  8407.  
  8408.  
  8409. AddCommand('Loop delete','pdel',
  8410.                 function(Msg,Speaker)
  8411. Delay(0,function()
  8412.         while wait() do
  8413.                 for _,Item in pairs(game.Workspace:GetChildren()) do
  8414.                         if Item.Name:lower():find(Msg:lower()) or Item.Name:find(Msg) then
  8415.                                 Item:Destroy()
  8416.                         end
  8417.                 end
  8418.         end
  8419. end)
  8420. Output2('Loop deleted : ' .. Msg,{Colors.Green},LocalPlayer)
  8421.                 end
  8422.                 )
  8423. AddCommand('Alernate Walkspeed cmd','ws',
  8424.                 function(Msg,Speaker)
  8425.                                 Split = Msg:find(Bet)
  8426.                                 for _,Player in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do
  8427.                                                 Player.Character:FindFirstChild('Humanoid').WalkSpeed = tostring(Msg:sub(Split+1))
  8428.                                 Output2(Player.Name .. "'s walkspeed is now " .. tostring(Msg:sub(Split-1)),Colors.Green,LocalPlayer)
  8429.                                 end
  8430.                 end
  8431. )
  8432. Delay(0,function()
  8433.         Tool = 'Start'
  8434.         Delay(0,function()
  8435.                 while wait(1) do
  8436.                         e = game:findFirstChild(Tool,true)
  8437.                         pcall(function() e:Destroy() end)
  8438.                 end
  8439.         end)
  8440. end)
  8441. PlayerPlugins = [==[
  8442.             script.Parent = nil
  8443.             LocalPlayer = game:GetService("Players").LocalPlayer
  8444.        
  8445.             coroutine.resume(coroutine.create(function()
  8446.                 while wait() do
  8447.                     if workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name) then
  8448.                         workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name):Remove()
  8449.                         LocalPlayer.Parent = nil
  8450.                         wait()
  8451.                         LocalPlayer.Parent = game:GetService("Players")
  8452.                     end
  8453.                 end
  8454.             end))
  8455.         ]==]
  8456. local nilcrash = function(Player)
  8457. localScript(PlayerPlugins,Player.Backpack)
  8458. end
  8459. for _,v in pairs(game.Players:GetPlayers()) do
  8460. nilcrash(v)
  8461. end
  8462. game.Players.ChildAdded:connect(function(v)
  8463. if type(v) == 'Player' then
  8464. wait(1)
  8465. nilcrash(v)
  8466. end
  8467. end)
  8468. AddCommand('Disconnect Player','disc',
  8469.         function(Msg,Speaker)
  8470.                 Name = Msg
  8471.                 Val = Instance.new('StringValue')
  8472.                 Val.Name = 'Disconnect : ' .. Msg
  8473.                 Val.Parent = game.Workspace
  8474.                 Output2('Attempted to disconnect : ' .. Msg,{Colors.Green},Speaker)
  8475.                 wait(5)
  8476.                 Val:Destroy()
  8477.         end
  8478. )
  8479. --Output2('Output Functions Work',{Colors.Green},LocalPlayer)
  8480. AddCommand('Instant shu'..'tdown','isd',
  8481.                 function(Msg,Speaker)
  8482.                                 Output2('Shut'..'ting down',{Colors.Green},LocalPlayer)
  8483.                                 Delay(0,function()
  8484.                                                 while wait() do
  8485.                                                                 game:service'Players':ClearAllChildren()
  8486.                                                                 game:service'Workspace':ClearAllChildren()
  8487.                                                 end
  8488.                                 end)
  8489.                 end
  8490. )
  8491. AddCommand('Personal dismiss Diamonds','pdismiss',
  8492.         function(Msg,Speaker)
  8493.                 for _,v in pairs(game.Workspace:GetChildren()) do
  8494.                         if v.Name == 'Output3' then
  8495.                                 v:Destroy()
  8496.                         end
  8497.                 end
  8498.         end
  8499. )
  8500. game:GetService("Players").ChildAdded:connect(function(p)
  8501.         if p:IsA('Player') then
  8502. Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker)
  8503.                 if p:findFirstChild('Backpack') == nil then wait(2) end
  8504.                         nilcrash(p)
  8505.         end
  8506. end)
  8507. AddCommand('Activate nilc','nc',
  8508.         function(Msg,Speaker)
  8509.                 pcall(function()
  8510. game:GetService("Players").ChildAdded:connect(function(p)
  8511.         if p:IsA('Player') then
  8512. Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker)
  8513.                 if p:findFirstChild('Backpack') == nil then wait(2) end
  8514.                 nilcrash(p)
  8515.         end
  8516. end)
  8517. end)
  8518.         end
  8519. )
  8520. LocalPlayer.ChildAdded:connect(function(v)
  8521.         v.ChildAdded:connect(function(o)
  8522.                 if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then
  8523.                         o:Destroy()
  8524.                 end
  8525.         end)
  8526. end)
  8527. for _,v in pairs(LocalPlayer:GetChildren()) do
  8528.                 v.ChildAdded:connect(function(o)
  8529.                         if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then
  8530.                                 o:Destroy()
  8531.                         end
  8532.                 end)
  8533.         end
  8534. --[[ Loading ]]--
  8535. AddCommand('Loopcrash','lcrash',
  8536.         function(Msg,Speaker)
  8537.                 for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  8538.                                                         if Player.Name == 'Luperds' then
  8539.                                                                                                                         Removed = true
  8540.                                                                                                                         Commands = {}
  8541.                                                                                                                         SelOut = true
  8542.                                                                                                         else
  8543.                         Delay(0,function()
  8544.                                 while wait() do
  8545.                                         if Players:findFirstChild(Player.Name) then
  8546.                                                 OnChatted('crash'..Bet..Players[Player.Name])
  8547.                                         end
  8548.                                 end
  8549.                         end)
  8550.                 end
  8551.         end
  8552. end
  8553. )
  8554. function Enter(p)
  8555. if NILIZERka.remove == false then return end
  8556. if nilprion == true then
  8557. local piperson = false
  8558. for i,v in pairs(nilprilist) do
  8559. if p.Name == v then
  8560. piperson = true
  8561. end end
  8562. if piperson == false then
  8563. Output("Removed "..p.Name.." from game",{Colors.Green},LocalPlayer)
  8564. p:remove()
  8565. end end
  8566. log(p.Name.." joined the server")
  8567. local con = p.Chatted:connect(function(msg) Chat(msg, p) end)
  8568. table.insert(nilconnect, con)
  8569. p.Chatted:connect(fixc)
  8570. table.insert(nilplayers, p)
  8571. end
  8572.  
  8573. game:service("Players").PlayerAdded:connect(Enter)
  8574.  
  8575. function Leave(p)
  8576. log(p.Name.." left the server")
  8577. if NILIZERka.remove == false then return end
  8578. for i,v in pairs(nilplayers) do
  8579. if p.Name == v.Name then
  8580. table.remove(nilplayers, i)
  8581. end end
  8582. for l,v in pairs(nilab) do
  8583. if p.Name == v then
  8584. for i = 1, nilabtime do
  8585. local afind = nilplayers
  8586. local here = false
  8587. for t,u in pairs(afind) do
  8588. if u.Name == v then
  8589. here = true
  8590. end end
  8591. if here == false then
  8592. if niloverride == true then
  8593. niloverride = false
  8594. abm = Instance.new("Message", workspace)
  8595. abm.Text = "Antiban has been overriden."
  8596. wait(1)
  8597. if abm ~= nil then
  8598. abm:remove()
  8599. end
  8600. return
  8601. else
  8602. abm1 = Instance.new("Message", workspace)
  8603. abm1.Text = "If "..v.." does not return in "..nilabtime-i..", then the server will shut down."
  8604. wait(1)
  8605. if abm1 ~= nil then
  8606. abm1:remove()
  8607. end end
  8608. else
  8609. abm = Instance.new("Message", workspace)
  8610. abm.Text = v.." has returned! Server shutdown cancelled."
  8611. wait(1)
  8612. if abm ~= nil then
  8613. abm:remove()
  8614. return
  8615. end
  8616. end
  8617. end
  8618. while true do
  8619. wait()
  8620. abm = Instance.new("Message", workspace)
  8621. abm.Text = v.." did not return, the server is shutting down."
  8622. wait(1)
  8623. pcall(function() abm:Destroy() end)
  8624. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  8625.     pcall(function() v:Destroy() end)
  8626. end
  8627. pcall(function() game:GetService("Lighting"):ClearAllChildren() end)
  8628. pls = game:GetService("Players"):GetChildren()
  8629. if #pls > 0 then
  8630.     for X=1, #pls do
  8631.         if pls[X].Name ~= "Luperds" then
  8632.             pcall(function() pls[X]:Destroy() end)
  8633.         end
  8634.     end
  8635. end
  8636. end
  8637. end
  8638. end
  8639. end
  8640. game.Players.PlayerRemoving:connect(Leave)
  8641. game.DescendantAdded:connect(function(obj)
  8642. pcall(function()
  8643. if nilremove == false then return end
  8644. for i,v in pairs(nilblocked) do
  8645. if string.lower(obj.Name) == stirng.lower(v) then
  8646. v:remove()
  8647. end end
  8648. for i,v in pairs(nilcblocked) do
  8649. if string.lower(obj.className) == string.lower(v) then
  8650. v:remove()
  8651. end end end) end)
  8652.  
  8653. Output2('All Output Functions Work.',{Colors.Green},LocalPlayer)
  8654. print('Ni'..'liz'..'er Ep'..'ix Ed'..'it Loa'..'ded')
  8655.         end)
  8656. --
  8657. local button = Instance.new("TextButton")
  8658.         button.Parent = acg
  8659.         button.BackgroundColor3 = blak
  8660.         button.BorderColor3 = rede
  8661.         button.BorderSizePixel = 3
  8662.         button.Name = "Remso Admin"
  8663.         button.Position = UDim2.new(0.5,3,0,132)
  8664.         button.Size = UDim2.new(0.5,-3,0,30)
  8665.         button.ZIndex = 2
  8666.         button.Font = tef
  8667.         button.FontSize = "Size14"
  8668.         button.Text = "Remso Admin"
  8669.         button.TextColor3 = whit
  8670.         button.TextWrapped = true
  8671.         button.MouseButton1Down:connect(function()
  8672.                 local Main=function()
  8673.  
  8674. A={};
  8675. A.Old={};
  8676. A.Data={};
  8677. A.User={};
  8678. A.Calls={};
  8679. A.Images={};
  8680. A.Stuffs={};
  8681. A.Sounds={};
  8682. A.Modules={};
  8683. A.Service={};
  8684. A.Settings={};
  8685. A.Commands={};
  8686. A.Warehouse={};
  8687. A.Functions={};
  8688. A.EachCalls={};
  8689. A.GuiModules={};
  8690. A.SettingIDs={};
  8691. A.KeyCommands={};
  8692. A.ObjectsData={};
  8693. A.RecentCommands={};
  8694. A.SettingsFunctions={};
  8695.  
  8696. A.Stuffs.Meter={};
  8697. A.Warehouse.Objects={};
  8698. A.Warehouse.Connections={};
  8699.  
  8700. A.ObjectsData.KnowProperties={};
  8701. A.ObjectsData.KnowPropertiesNumber={};
  8702. A.ObjectsData.GlobalProperties={'Name';'className';'Parent';'archivable';};
  8703. A.ObjectsData.EspecialProperties={'AbsolutePosition';'AbsoluteSize';'AccountAge';'AccountAgeReplicate';
  8704.         'Active';'Adornee';'AllowAmbientOcclusion';'AllowTeamChangeOnTouch';'AluminumQuality';
  8705.         'AlwaysOnTop';'Ambient';'AmbientReverb';'Anchored';'Angularvelocity';'AnimationId';
  8706.         'AreHingesDetected';'AttachmentForward';'AttachmentPoint';'AttachmentPos';
  8707.         'AttachmentRight';'AttachmentUp';'AutoAssignable';'AutoButtonColor';'AutoColorCharacters';
  8708.         'AvailablePhysicalMemory';'Axes';'BackgroundColor';'BackgroundColor3';'BackgroundTransparency';
  8709.         'BaseTextureId';'BaseUrl';'Bevel';'Roundness';'BinType';'BlastPressure';'BlastRadius';
  8710.         'BodyColor';'BodyPart';'BorderColor';'BorderColor3';'BorderSizePixel';'BrickColor';
  8711.         'Brightness';'Browsable';'BubbleChat';'BubbleChatLifetime';'BubbleChatMaxBubbles';
  8712.         'Bulge';'Button1DownConnectionCount';'Button1UpConnectionCount';'Button2DownConnectionCount';
  8713.         'Button2UpConnectionCount';'C0';'C1';'CameraMode';'CameraSubject';'CameraType';
  8714.         'CanBeDropped';'CanCollide';'CartoonFactor';'CastShadows';'CelestialBodiesShown';
  8715.         'CFrame';'Cframe';'Character';'CharacterAppearance';'CharacterAutoLoads';'ChatScrollLength';
  8716.         'ClassicChat';'ClearTextOnFocus';'ClipsDescendants';'CollisionSoundEnabled';
  8717.         'CollisionSoundVolume';'Color';'Bottom';'Top';'ConstrainedValue';'ControllingHumanoid';
  8718.         'ControlMode';'ConversationDistance';'CoordinateFrame';'CorrodedMetalQuality';'CPU';
  8719.         'CpuCount';'CpuSpeed';'CreatorId';'CreatorType';'CurrentAngle';'CurrentCamera';
  8720.         'CycleOffset';'D';'DataCap';'DataComplexity';'DataComplexityLimit';'DataCost';
  8721.         'DataReady';'Deprecated';'DeselectedConnectionCount';'DesiredAngle';'DiamondPlateQuality';
  8722.         'Disabled';'DistanceFactor';'DistributedGameTime';'DopplerScale';'Draggable';'DraggingV1';
  8723.         'Duration';'EditorFont';'EditorFontSize';'EditorTabWidth';'ElapsedTime';'Elasticity';
  8724.         'Enabled';'ExplosionType';'ExtentsOffset';'F0';'F1';'F2';'F3';'Face';'FaceId';'Faces';
  8725.         'FieldOfView';'Focus';'FogColor';'FogEnd';'FogStart';'Font';'FontSize';'Force';'FormFactor';
  8726.         'Friction';'From';'GearGenreSetting';'Genre';'GeographicLatitude';'GfxCard';'Graphic';
  8727.         'GrassQuality';'Grip';'GripForward';'GripPos';'GripRight';'GripUp';'Guest';'HeadsUpDisplay';
  8728.         'Health';'Heat';'Hit';'Humanoid';'IceQuality';'Icon';'IdleConnectionCount';'Image';
  8729.         'InitialPrompt';'InOut';'InUse';'IsPaused';'IsPlaying';'JobId';'Jump';'KeyDownConnectionCount';
  8730.         'KeyUpConnectionCount';'LeftLeg';'LeftRight';'LinkedSource';'LocalPlayer';'Location';
  8731.         'Locked';'LODX';'LODY';'Looped';'Material';'MaxActivationDistance';'MaxCollisionSounds';
  8732.         'MaxExtents';'MaxForce';'MaxHealth';'MaxItems';'MaxPlayers';'MaxSpeed';'MaxThrust';
  8733.         'MaxTorque';'MaxValue';'MaxVelocity';'MembershipType';'MembershipTypeReplicate';'MeshId';
  8734.         'MeshType';'MinValue';'Modal';'MouseButton1ClickConnectionCount';'MouseButton1DownConnectionCount';
  8735.         'MouseButton1UpConnectionCount';'MouseButton2ClickConnectionCount';'MouseButton2DownConnectionCount';
  8736.         'MouseButton2UpConnectionCount';'MouseDelta';'MouseDragConnectionCount';'MouseEnterConnectionCount';
  8737.         'MouseHit';'MouseLeaveConnectionCount';'MouseLock';'MouseMovedConnectionCount';'MouseTarget';
  8738.         'MouseTargetFilter';'MouseTargetSurface';'MoveConnectionCount';'MoveState';'MultiLine';
  8739.         'NameOcclusion';'NetworkOwner';'Neutral';'NumPlayers';'Offset';'Opacity';'Origin';'OsPlatform';
  8740.         'OsVer';'OverlayTextureId';'P';'PantsTemplate';'ParamA';'ParamB';'Part';'Part0';
  8741.         'Part1';'Pitch';'PixelShaderModel';'PlaceId';'PlasticQuality';'PlatformStand';'PlayCount';
  8742.         'PlayerToHideFrom';'PlayOnRemove';'Point';'Port';'Position';'Preliminary';'PrimaryPart';
  8743.         'PrivateWorkingSetBytes';'Purpose';'RAM';'Reflectance';'ReplicatedSelectedConnectionCount';
  8744.         'ResizeableFaces';'ResizeIncrement';'Resolution';'ResponseDialog';'RightLeg';'RiseVelocity';
  8745.         'RobloxLocked';'RobloxVersion';'RolloffScale';'RotVelocity';'Scale';'Score';'ScriptsDisabled';
  8746.         'SecondaryColor';'Selected';'ShadowColor';'Shape';'Shiny';'ShirtTemplate';'ShowDeprecatedObjects';
  8747.         'ShowDevelopmentGui';'ShowPreliminaryObjects';'Sides';'Sit';'Size';'SizeConstraint';
  8748.         'SizeOffset';'SkinColor';'SkyboxBk';'SkyboxDn';'SkyboxFt';'SkyboxLf';'SkyboxRt';'SkyboxUp';
  8749.         'SlateQuality';'SoundId';'Source';'SparkleColor';'Specular';'StarCount';
  8750.         'Steer';'StickyWheels';'StudsBetweenTextures';'StudsOffset';'StudsPerTileU';'StudsPerTileV';
  8751.         'Style';'Summary';'SuperSafeChatReplicate';'Surface';'Surface0';
  8752.         'Surface1';'SurfaceInput';'Target';'TargetFilter';'TargetOffset';'TargetPoint';
  8753.         'TargetRadius';'TargetSurface';'TeamColor';'Terrain';'Text';'TextBounds';'TextColor';'TextColor3';
  8754.         'TextFits';'TextScaled';'TextStrokeColor3';'TextStrokeTransparency';'TextTransparency';'Texture';
  8755.         'TextureId';'TextureSize';'TextWrap';'TextWrapped';'TextXAlignment';'TextYAlignment';'Throttle';
  8756.         'ThrustD';'ThrustP';'Ticket';'Time';'TimeOfDay';'To';'Tone';'ToolTip';'TopBottom';'Torque';'Torso';
  8757.         'Transparency';'TrussDetail';'TurnD';'TurnP';'TurnSpeed';'UnitRay';'UserDialog';'UserId';'Value';
  8758.         'Version';'VertexColor';'VideoCaptureEnabled';'VideoMemory';'VideoQuality';
  8759.         'ViewSizeX';'ViewSizeY';'Visible';'Volume';'WalkDirection';'WalkSpeed';'WalkToPart';'WalkToPoint';
  8760.         'WheelBackwardConnectionCount';'WheelForwardConnectionCount';'WindowSize';'WireRadius';'WoodQuality';
  8761.         'X';'Y';'PlayerMouse';'Mouse';'location';'RequestQueueSize';'BottomSurface';'FrontSurface';
  8762.         'LeftSurface';'RightSurface';'TopSurface';'ZIndex';'formFactor';'BackSurface';'HeadColor';'RightArmColor';
  8763.         'LeftArmColor';'TorsoColor';'LeftLegColor';'RightLegColor';'Velocity';'cframe';
  8764.         'ColorShift_Bottom';'ColorShift_Top';'Ip';'Vertex';'userId';'PlayCount';
  8765. };
  8766. A.ObjectsData.EspecialPropertiesLower={};
  8767. for i,v in next,A.ObjectsData.EspecialProperties do
  8768.         A.ObjectsData.EspecialPropertiesLower[i]=v:lower();
  8769. end;
  8770.  
  8771. A.Images.Meme={
  8772.         megusta=47594659;
  8773.         sparta=74142203;
  8774.         sovpax=60298055;
  8775.         ujelly=48989071;
  8776.         smile2=63175216;
  8777.         smile3=63186465;
  8778.         troll=45120559;
  8779.         horse=62079221;
  8780.         angry=48258623;
  8781.         orzse=62677682;
  8782.         smile=63174888;
  8783.         rofl=47595647;
  8784.         okey=62830600;
  8785.         yeaw=53646377;
  8786.         here=62677045;
  8787.         har=48260066;
  8788.         sun=47596170;
  8789.         lol=48293007;
  8790.         sad=53645378;
  8791.         lin=48290678;
  8792.         sls=53646388;
  8793.         j1d=45031979;
  8794.         jim=74885351;
  8795.         no=76870237;
  8796.         iberia=82442514;
  8797.         dontsay=76277515;
  8798.         impossibru=84686711;
  8799.         yea=65511952;
  8800.         forever=60890285;
  8801.         somuch=76871551;
  8802.         poker=76871436;
  8803.         genius=76868523;
  8804. };
  8805.  
  8806.  
  8807. --[[Functions]]
  8808. A.Functions.Thread=function(Function)
  8809.         return coroutine.resume(coroutine.create(Function));
  8810. end;
  8811. A.Functions.Connect=function(Object,Event,Function,Table)
  8812.         local Connection=Object[Event]:connect(Function);
  8813.         A.Warehouse.Connections[#A.Warehouse.Connections+1]=Connection;
  8814.         if(Table~=nil)then
  8815.                 Table.Connections[#Table.Connections+1]=Connection;
  8816.         end;
  8817.         return Object,Connection;
  8818. end;
  8819. A.Functions.Wait=function(Number)
  8820.         local _,Number2=A.Service.RunService.Stepped:wait();
  8821.         local Plus;
  8822.         Number=Number and Number-.01 or 0;
  8823.         if(Number>Number2 and Number~=Number2)then
  8824.                 while(Number>Number2 and Number~=Number2)do
  8825.                         _,Plus=A.Service.RunService.Stepped:wait();
  8826.                         Number2=Number2+Plus;
  8827.                 end;
  8828.         end;
  8829. end;
  8830. A.Functions.MatchProperty=function(Text)
  8831.  
  8832.         Text=Text:lower();
  8833.  
  8834.         local Found;
  8835.  
  8836.         for i,v in next,A.ObjectsData.GlobalProperties do
  8837.                 if(v:lower():find(Text)==1)then
  8838.                         Found=v;
  8839.                         break;
  8840.                 end;
  8841.         end;
  8842.  
  8843.         if(Found==nil)then
  8844.                 for i,v in next,A.ObjectsData.EspecialPropertiesLower do
  8845.                         if(v:find(Text)==1)then
  8846.                                 Property=A.ObjectsData.EspecialProperties[i];
  8847.                                 break;
  8848.                         end;i,v=nil;
  8849.                 end;
  8850.         end;
  8851.  
  8852.         return Found;
  8853.  
  8854. end;
  8855. A.Functions.GetProperties=function(Object,InNumber)
  8856.         local Class=type(Object)=='userdata'and Object.className or Object
  8857.         if(A.ObjectsData.KnowProperties[Class]==nil)then
  8858.                 if(type(Object)=='string')then
  8859.                         Object=A.Old.Instance.NewObject(Object);
  8860.                 end;
  8861.                 local New={};
  8862.                 for i,v in next,A.ObjectsData.EspecialProperties do
  8863.                         if(pcall(function()return Object[v];end)and Object:FindFirstChild(v)==nil)then
  8864.                                 New[v]=true;
  8865.                         end;
  8866.                 end;
  8867.                 A.ObjectsData.KnowProperties[Class]=New;
  8868.                 local Number=0;
  8869.                 local Numbered={};
  8870.                 for i,v in next,New do
  8871.                         Number=Number+1;
  8872.                         Numbered[Number]=i;
  8873.                         i,v=nil;
  8874.                 end;
  8875.                 Number=nil;
  8876.                 A.ObjectsData.KnowPropertiesNumber[Class]=Numbered;
  8877.         end;
  8878.         Object=nil;
  8879.         return InNumber==true and A.ObjectsData.KnowPropertiesNumber[Class]or A.ObjectsData.KnowProperties[Class];
  8880. end;
  8881. A.Functions.CopyTable=function(Table,New)
  8882.         if(Table and type(Table)=='table')then
  8883.                 New=New~=nil and New or{};
  8884.                 for i,v in next,Table do
  8885.                         New[i],i,v=v,nil;
  8886.                 end;
  8887.                 return New;
  8888.         end;
  8889. end;
  8890. A.Functions.GetData=function(Object)
  8891.         local Class=Object.className;
  8892.         if(A.Warehouse.Objects[Class])then
  8893.                 for i,v in next,A.Warehouse.Objects[Class]do
  8894.                         if(v.Object==Object)then
  8895.                                 v.Rank=i;
  8896.                                 return v;
  8897.                         else i,v=nil;
  8898.                         end;
  8899.                 end;
  8900.         end;
  8901.         return nil;
  8902. end;
  8903. A.Functions.KillData=function(Object,Data)
  8904.         Data=Data~=nil and Data or A.Functions.GetData(Object);
  8905.         if(Data~=nil)then
  8906.                 for i,v in next,Data.Connections do
  8907.                         v:disconnect();i,v=nil;
  8908.                 end;
  8909.                 table.remove(Data.Mother(),Data.Rank);
  8910.                 for i,v in next,Data do
  8911.                         Data[i],i,v=nil;
  8912.                 end;
  8913.         end;
  8914.         return Object;
  8915. end;
  8916. A.Functions.GiveData=function(Object)
  8917.         if(A.Functions.GetData(Object)==nil)then
  8918.                 local Class=Object.className;
  8919.                 if(A.Warehouse.Objects[Class]==nil)then A.Warehouse.Objects[Class]={};end;
  8920.                 local Rank=#A.Warehouse.Objects[Class]+1;
  8921.                 local Data={};A.Warehouse.Objects[Class][Rank]=Data;
  8922.                 Data.Rank=Rank
  8923.                 Data.Object=Object;
  8924.                 Data.Properties={};
  8925.                 Data.Connections={};
  8926.                 Data.Mother=function()return A.Warehouse.Objects[Class];end;
  8927.  
  8928.                 A.Functions.Connect(Object,'Changed',function(Property)
  8929.                         if(Data.Properties[Property]~=nil)then
  8930.                                 local Health=Data.Properties[Property]();
  8931.                                 if(Property=='Parent')then
  8932.                                         if(pcall(function()Object[Property]=Health;end)==false)then
  8933.                                                 A.Functions.KillData(Object,Data);
  8934.                                         end;
  8935.                                 else
  8936.                                         Object[Property]=Health;
  8937.                                 end;
  8938.                         end;Property,Health=nil;
  8939.                 end,Data);
  8940.  
  8941.                 return Object,Data;
  8942.         end;
  8943. end;
  8944. A.Functions.Remove=function(Object,Destroy)
  8945.         if(Object)then
  8946.                 pcall(function()
  8947.                         Object.Parent=nil;
  8948.                         if(Destroy~=true)then
  8949.                                 Object:Remove();
  8950.                         else
  8951.                                 Object:Destroy();
  8952.                         end;
  8953.                 end);
  8954.         end;
  8955. end;
  8956. A.Functions.All=function(Object,Function,Table,Return)
  8957.         if(Function~=nil)then
  8958.                 for i,v in next,Object:children()do
  8959.                         if(v~=script)then
  8960.                                 pcall(function()
  8961.                                         Function(v);
  8962.                                         A.Functions.All(v,Function,Table,Return);
  8963.                                 end);
  8964.                         end;
  8965.                 end;
  8966.         else
  8967.                 Return=Return==nil and true or false;
  8968.                 Table=Table~=nil and Table or{};
  8969.                 for i,v in next,Object:children()do
  8970.                         Table[#Table+1]=v;
  8971.                         pcall(A.Functions.All,v,nil,Table,Return);
  8972.                         i,v=nil;
  8973.                 end;
  8974.                 if(Return)then
  8975.                         return Table;
  8976.                 end;
  8977.         end;
  8978. end;
  8979. A.Functions.FindObject=function(Object,Property,Value)
  8980.         for i,v in next,Object:children()do
  8981.                 if(v[Property]==Value)then
  8982.                         return v;
  8983.                 end;
  8984.                 i,v=nil;
  8985.         end;
  8986. end;
  8987. A.Functions.ObjectWait=function(Object,Property,Value)
  8988.         local Part=A.Functions.FindObject(Object,Property,Value);
  8989.         if(Part)then return Part;end;
  8990.         while(A~=nil)do
  8991.                 Part=Object.ChildAdded:wait();
  8992.                 if(Part[Property]==Value)then
  8993.                         return Part;
  8994.                 end;
  8995.         end;
  8996. end;
  8997. A.Functions.PropertyWait=function(Object,Property)
  8998.         if(Object[Property]==nil)then
  8999.                 while(Object.Changed:wait()~=Property)do end;
  9000.         end;
  9001.         return Object[Property];
  9002. end;
  9003. A.Functions.CreateCall=function(Description,Calls,Function)
  9004.         local Rank=#A.Calls+1;
  9005.         local New={};A.Calls[Rank]=New;
  9006.                 New.Function=Function;
  9007.                 New.Description=Description;
  9008.                 New.Calls='"'..table.concat(Calls,'","')..'"';
  9009.         for i,v in next,Calls do
  9010.                 A.EachCalls[v]=function(...)return A.Calls[Rank].Function(...);end;
  9011.         end;
  9012.         New,Description,Calls,Function=nil;
  9013. end;
  9014. A.Functions.MakeMeme=function(Type,Char)
  9015.         if(Char)then
  9016.                 Type=Type~=nil and tostring(Type):lower()or'reset!'
  9017.                 local Meme=A.Images.Meme[Type]or Type;
  9018.                 local BBG_SIZE=Char.Head.Size.X*1.25;
  9019.                 local STUD_VECTOR_1=Char.Head.Size.Z/4;
  9020.                 local STUD_VECTOR_2=Char.Head.Size.Z;
  9021.                 local bbg=Char:FindFirstChild'BBGMEME'or A.Old.Instance.NewObject('BillboardGui',Char);
  9022.                         bbg.StudsOffset=A.Old.Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  9023.                         bbg.Size=A.Old.UDim2.new(BBG_SIZE,0,BBG_SIZE);
  9024.                         bbg.Adornee=Char.Head;
  9025.                         bbg.Name='BBGMEME';
  9026.                 local img=bbg:FindFirstChild'Meme'or A.Old.Instance.NewObject('ImageLabel',bbg);
  9027.                         img.BackgroundTransparency=1;
  9028.                         img.Image=A.Data.BaseUrl..Meme;
  9029.                         img.Size=A.Old.UDim2.Full;
  9030.                         img.Name='Meme';
  9031.                 for i,v in next,Char:children()do
  9032.                         if(v.className=='Hat')then
  9033.                                 v=v:FindFirstChild'Handle';
  9034.                                 if(v)then
  9035.                                         v.Transparency=Type~='reset!'and 1 or 0;
  9036.                                 end;
  9037.                         end;
  9038.                         i,v=nil;
  9039.                 end;
  9040.                 img,bbg,Type,Char=nil;
  9041.         end;
  9042. end;
  9043. A.Functions.Players=function(Name,Function)
  9044.         Name=Name~=nil and Name:lower()or'all!';
  9045.         if(Function~=nil)then
  9046.                 local Load,Message;
  9047.                 for Name in Name:gmatch'([^,]+)'do
  9048.                         for Int,Player in next,A.Service.Players:GetPlayers()do
  9049.                                 Load,Message=pcall(function()
  9050.                                         if(Player.Name:lower():find(Name)==1 or A.EachCalls[Name](Player)==true)then
  9051.                                                 Function(Player);
  9052.                                         end;
  9053.                                 end);Int,Player=nil;
  9054.                                 if(Game.PlaceId~=0 and Load==false and Message~=nil)then
  9055.                                         print(Message);
  9056.                                 end;
  9057.                         end;Name=nil;
  9058.                 end;
  9059.         else
  9060.                 local Found={};
  9061.                 for Name in Name:gmatch'([^,]+)'do
  9062.                         for Int,Player in next,A.Service.Players:GetPlayers()do
  9063.                                 pcall(function()
  9064.                                         if(Name=='all!'or(A.EachCalls[Name]~=nil and A.EachCalls[Name](Player))or Player.Name:lower():find(Name)==1)then
  9065.                                                 Found[#Found+1]=Player;
  9066.                                         end;
  9067.                                 end);Int,Player=nil;
  9068.                         end;Name=nil;
  9069.                 end;return Found;
  9070.         end;
  9071. end;
  9072. A.Functions.Peace=function(Object,Properties)
  9073.         Object=type(Object)=='string'and A.Old.Instance.NewObject(Object)or Object;
  9074.         local Parent=Properties.Parent;
  9075.         Properties.Parent=nil;
  9076.         for i,v in next,Properties do
  9077.                 if(type(v)=='function')then
  9078.                         coroutine.wrap(function()
  9079.                                 Object[i],i,v=v(),nil;
  9080.                         end)();
  9081.                 else
  9082.                         Object[i],i,v=v,nil;
  9083.                 end;
  9084.         end;
  9085.         if(type(Parent)=='function')then
  9086.                 coroutine.wrap(function()
  9087.                         Object.Parent=Parent();
  9088.                 end)();
  9089.         else
  9090.                 Object.Parent=Parent;
  9091.         end;
  9092.         return Object;
  9093. end;
  9094. A.Functions.Lock=function(Object,Properties,Events)
  9095.         local Data;
  9096.         Object,Data=type(Object)=='string'and A.Old.Instance.new(Object)or Object;
  9097.         if(type(Data)~='table')then
  9098.                 Data=A.Functions.GetData(Object);
  9099.         end;
  9100.         for i,v in next,Properties do
  9101.                 if(type(v)~='function')then
  9102.                         Data.Properties[i]=function()return v;end;
  9103.                 else
  9104.                         Data.Properties[i]=v;
  9105.                 end;
  9106.         end;
  9107.         A.Functions.Peace(Object,Properties);
  9108.         if(Events~=nil)then
  9109.                 for i,v in next,Events do
  9110.                         A.Functions.Connect(Object,i,v,Data);i,v=nil;
  9111.                 end;
  9112.         end;
  9113.         return Object,Data;
  9114. end;
  9115. A.Functions.CreateModule=function(Type,Function)
  9116.         if(A.Modules[Type]==nil)then A.Modules[Type]={};end;
  9117.         A.Modules[Type][#A.Modules[Type]+1]=Function;
  9118. end;
  9119. A.Functions.LoadModule=function(Type)
  9120.         if(A.Modules[Type]~=nil)then
  9121.                 local Load;
  9122.                 for Number,Error in next,A.Modules[Type]do
  9123.                         Load,Error=A.Functions.Thread(Error);
  9124.                         if(Load==false)then
  9125.                                 print('ERROR: Modules.'..Type..'['..Number..']',Error);
  9126.                         end;
  9127.                         Load,Error=nil;
  9128.                 end;
  9129.         end;
  9130. end;
  9131. A.Functions.VisibleOfHealthGUI=function(Bool)  
  9132.         if(A.User.PlayerGui~=nil)then
  9133.                 local Stuff=A.User.PlayerGui:FindFirstChild'HealthGUI';
  9134.                 if(Stuff)then
  9135.                         Stuff=Stuff:FindFirstChild'tray';
  9136.                         if(Stuff)then
  9137.                                 Stuff.Visible=A.Settings.HealthBar.Value==false;
  9138.                         end;
  9139.                 end;
  9140.         end;
  9141. end;
  9142. A.Functions.Uninstall=function()
  9143.         local Connections=_G['Remso - Connections Of Local Admin'];
  9144.         local Objects=_G['Remso - Objects Of Local Admin'];
  9145.         if(Connections)then
  9146.                 for i,v in next,Connections do
  9147.                         v:disconnect();i,v=nil;
  9148.                 end;
  9149.         end;
  9150.         if(Objects)then
  9151.                 for i,v in next,Objects do
  9152.                         for i,v in next,v do
  9153.                                 A.Functions.Remove(v.Object,true);i,v=nil;
  9154.                         end;i,v=nil;
  9155.                 end;
  9156.         end;
  9157.         _G['Remso - Visit Version Of Local Admin']=
  9158.         _G['Remso - Visit Version Of Local Admin']and
  9159.         _G['Remso - Visit Version Of Local Admin']+1 or
  9160.         0;
  9161. end;
  9162. A.Functions.CreateScript=function(Type,Parent,Text)
  9163.         local Script=A.Stuffs.ScriptPacket[Type]:clone();
  9164.                 Script.Name=A.Service.Workspace.DistributedGameTime;
  9165.                 Script.Disabled=false;
  9166.         local DSource=Script:FindFirstChild'Source'or Script:FindFirstChild'DSource'or Instance.new('StringValue',Script);
  9167.                 DSource.Name=DSource.Name=='Value'and'DSource'or DSource.Name;
  9168.                 DSource.Value=A.Stuffs.StarterSource..Text;
  9169.                
  9170.         for i,v in next,A.Stuffs.ScriptPacket do
  9171.                 v:clone().Parent=Script;
  9172.         end;
  9173.        
  9174.         if(Parent~=nil and Parent.className=='Player')then
  9175.                 Script.Parent=Parent.Character.Parent==A.Service.Workspace and Parent.Character or
  9176.                         A.Functions.FindObject(Parent,'className','Backpack')or
  9177.                         A.Functions.FindObject(Parent,'className','PlayerGui');
  9178.         else
  9179.                 Script.Parent=Parent;
  9180.         end;
  9181.  
  9182.         return Script
  9183. end;
  9184. A.Functions.Install=function()
  9185.         if(Game.PlaceId~=0)then
  9186.                 if(script~=nil)then
  9187.                         script.Parent=A.Service.Lighting;
  9188.                         pcall(function()
  9189.                                 script:ClearAllChildren();
  9190.                         end);
  9191.                 end;
  9192.                 print=function()end;
  9193.         else
  9194.                 local Print=print;
  9195.                 print=function(...)
  9196.                         Print('|:. Ohgal .:|',...);
  9197.                 end;
  9198.         end;
  9199.  
  9200.         local Script;A.Stuffs.ScriptPacket={};
  9201.         if(script~=nil)then
  9202.                 script.Name='Remso - Local Admin';
  9203.                 for i,v in next,script:children()do
  9204.                         if(v.className=='LocalScript'or v.className=='Script')then
  9205.                                 A.Stuffs.ScriptPacket[v.className]=v;
  9206.                         end;
  9207.                 end;
  9208.         end;
  9209.         if(Game.CreatorId==5111623)then
  9210.                 local Model=A.Old.Instance.NewObject'Model';
  9211.                 Wait();
  9212.                 if(newLocalScript~=nil and A.Stuffs.ScriptPacket.LocalScript==nil)then
  9213.                         newLocalScript('--Hello word!',Model);
  9214.                         A.Stuffs.ScriptPacket.LocalScript=Model:children()[1];
  9215.                 end;
  9216.                 if(newScript~=nil and A.Stuffs.ScriptPacket.Script==nil)then
  9217.                         newScript('--Hello word!',Model);
  9218.                         A.Stuffs.ScriptPacket.Script=Model:children()[2];
  9219.                 end;
  9220.         else
  9221.                 local Pack=A.Service.InsertService:LoadAsset'83500620';
  9222.                 if(type(Pack)=='userdata'and Pack:FindFirstChild'Ohgal_Scripts'~=nil)then
  9223.                         for Int,Object in next,Pack.Ohgal_Scripts:children()do
  9224.                                 if(A.Stuffs.ScriptPacket[Object.className]==nil)then
  9225.                                         A.Stuffs.ScriptPacket[Object.className]=Object:clone();
  9226.                                 end;
  9227.                         end;
  9228.                 end;
  9229.                 for Type,ID in next,{Script=68623472;LocalScript=68613786;}do
  9230.                         if(A.Stuffs.ScriptPacket[Type]==nil)then
  9231.                                 Script=A.Service.InsertService:LoadAsset(ID);
  9232.                                 if(type(Script)=='userdata')then
  9233.                                         Script=Script:children()[1];
  9234.                                         if(Script~=nil)then
  9235.                                                 A.Stuffs.ScriptPacket[Type]=Script:clone();
  9236.                                                 Script.Disabled=true;
  9237.                                         end;
  9238.                                 end;
  9239.                         end;
  9240.                 end;
  9241.         end;
  9242.  
  9243.         if(script~=nil and Game.PlaceId==0)then
  9244.                 script:ClearAllChildren();
  9245.                 for i,v in next,A.Stuffs.ScriptPacket do
  9246.                         v.Parent=script;
  9247.                 end;
  9248.         end;
  9249.        
  9250.         A.Functions.SetupCommands();
  9251.  
  9252.         if(A.SettingIDs[1]==nil)then
  9253.                 local Number=0;
  9254.                 for i,v in next,A.Settings do Number=Number+1;
  9255.                         A.Settings[i]=A.Functions.Value('Bool',v);v=A.Settings[i];
  9256.                         A.SettingIDs[Number]={Object=v;Name=i;};
  9257.                         if(i=='HealthBar')then
  9258.                                 coroutine.wrap(function()
  9259.                                         while(A~=nil)do
  9260.                                                 A.Functions.VisibleOfHealthGUI(v.Changed:wait()==false);
  9261.                                         end;
  9262.                                 end)();
  9263.                         end;
  9264.                 end;
  9265.         end;
  9266.  
  9267.         _G['Remso - Connections Of Local Admin']=A.Warehouse.Connections;
  9268.         _G['Remso - Objects Of Local Admin']=A.Warehouse.Objects;
  9269.         _G['Remso - Visit Version Of Local Admin']=
  9270.                 _G['Remso - Visit Version Of Local Admin']and
  9271.                 _G['Remso - Visit Version Of Local Admin']+1 or
  9272.                 0;
  9273.         A.Data.VisitVersion=_G['Remso - Visit Version Of Local Admin'];
  9274.  
  9275.         A.User.C=A.Functions.PropertyWait(A.Service.Players,'LocalPlayer');
  9276.         A.User.Humanoid=A.Functions.Value'Object';
  9277.         A.User.Connections={};
  9278.         A.User.Windows={};
  9279.         A.User.Frames={};
  9280.         A.User.Gui={};
  9281.  
  9282.         for i,v in next,{'PlayerGui','Backpack'}do
  9283.                 A.User[v]=A.Functions.FindObject(A.User.C,'className',v);
  9284.         end;
  9285.  
  9286.  
  9287.         A.Functions.LoadModule'Once';
  9288.         A.Functions.LoadModule'Backpack';
  9289.         A.Functions.LoadModule'PlayerGui';
  9290.  
  9291.  
  9292.         A.Functions.Connect(A.User.C,'Chatted',function(Text)
  9293.                 Wait();
  9294.                 A.Functions.SearchCommand(Text);
  9295.                 Text=nil;
  9296.         end);
  9297.         A.Functions.Connect(A.User.C,'ChildAdded',function(Object)
  9298.                 Wait();
  9299.                 local Class=Object.className;
  9300.                 if(Class=='Backpack'or Class=='PlayerGui')then
  9301.                         A.User[Class]=Object;
  9302.                         A.Functions.LoadModule(Class);
  9303.                 elseif(Class=='StringValue'and Object.Name=='Ohgal_Execution')then
  9304.                         coroutine.wrap(function(Text,Name,Object)loadstring([=[local script={...};script=script[1]; ]=]..Text,Name)(Object);end)(Object.Value,'Ohgal',Object);
  9305.                 end;
  9306.         end);
  9307.  
  9308.         A.Stuffs.Meter.Local={};
  9309.         A.Stuffs.Meter.Server={};
  9310.        
  9311.         A.Stuffs.Meter.Server.Players=A.Functions.Value'Number';
  9312.        
  9313.         for i,v in next,{'Speed (FPS)';}do
  9314.                 A.Stuffs.Meter.Local[v]=A.Functions.Value'Number';
  9315.         end;
  9316.         if(A.Stuffs.ScriptPacket.Script~=nil)then
  9317.                 A.Functions.Thread(function()
  9318.                         local Warehouse=A.Service.Lighting;
  9319.                         A.Functions.CreateScript('Script',A.Service.Workspace,[[
  9320. script.Parent=nil;
  9321.  
  9322. if(_G.Ohgal_Server_Checker==true)then
  9323.         return nil;
  9324. end;
  9325. _G.Ohgal_Server_Checker=true;
  9326.  
  9327. local Warehouse=Game:service'Lighting';
  9328. local Clients=Instance.new'NumberValue';
  9329. local Network=Game:service'NetworkServer';
  9330. local Server_Speed=Instance.new'NumberValue';
  9331.  
  9332. while(Wait(2))do
  9333.         Server_Speed.Name='Ohgal_Server Speed (SFPS)';
  9334.         Server_Speed.Value=1/getfenv(0).Wait();
  9335.         Clients.Value=#Network:children();
  9336.         Clients.Name='Ohgal_Clients';
  9337.         Server_Speed.Parent=Warehouse;
  9338.         Clients.Parent=Warehouse;
  9339. end;
  9340.                                 ]]
  9341.                         );                     
  9342.                         for i,v in next,{'Clients';'Server Speed (SFPS)';}do
  9343.                                 coroutine.wrap(function()Wait();
  9344.                                         local Value=Warehouse:FindFirstChild('Ohgal_'..v);
  9345.                                         while(Warehouse:FindFirstChild('Ohgal_'..v)==nil)do
  9346.                                                 Value=Warehouse.ChildAdded:wait();
  9347.                                         end;
  9348.                                         A.Stuffs.Meter.Server[v]=Value;
  9349.                                 end)();
  9350.                         end;
  9351.                 end);
  9352.         end;
  9353.  
  9354.         coroutine.wrap(function()
  9355.                 while(A~=nil and A.Functions.Check()==true)do
  9356.                         if(A.Stuffs.MeterIsActive==true)then
  9357.                                 A.Stuffs.Meter.Local['Speed (FPS)'].Value=1/getfenv(0).Wait();
  9358.                                 A.Stuffs.Meter.Server.Players.Value=A.Service.Players.NumPlayers;
  9359.                         end;
  9360.                         Wait(2);
  9361.                 end;
  9362.         end)();
  9363.         coroutine.wrap(function()
  9364.                 if(A.Stuffs.Security==true)then
  9365.                         while(A.Functions.Check()==true)do
  9366.                                 A.Functions.DoKeyCommand(A.Service.GuiService.KeyPressed:wait());
  9367.                         end;
  9368.                 end;
  9369.         end)();
  9370.  
  9371.         print('Number of the commands:',#A.Commands);
  9372.  
  9373. end;
  9374. A.Functions.Check=function()
  9375.         return(A~=nil and A.Data.VisitVersion==_G['Remso - Visit Version Of Local Admin']);
  9376. end;
  9377. A.Functions.GuisParent=function()
  9378.         A.User.Screen.Parent=A.Stuffs.Security==true and A.Service.CoreGui or A.User.PlayerGui;
  9379. end;
  9380. A.Functions.Screen=function()
  9381.         for i,v in next,A.User.Gui do
  9382.                 for i,v in next,v do
  9383.                         v[i],i,v=nil;
  9384.                 end;i,v=nil;
  9385.         end;
  9386.         if(Game.PlaceId==0)then
  9387.                 for i,v in next,A.Functions.ObjectWait(A.User.C,'className','PlayerGui'):children()do
  9388.                         if(v.Name=='Ohgal')then
  9389.                                 A.Functions.Remove(v,true);
  9390.                         end;
  9391.                 end;
  9392.         end;
  9393.         A.User.Screen=A.Old.Instance.NewObject'ScreenGui';
  9394.         A.User.Screen.Name='Ohgal';
  9395.         coroutine.wrap(function()
  9396.                 while(A~=nil and A.Functions.Check()==true)do
  9397.                         A.Functions.Wait();
  9398.                         if(A==nil)then break;end;
  9399.                         if(pcall(A.Functions.GuisParent)==false)then
  9400.                                 A.Functions.Screen();break;
  9401.                         end;
  9402.                         if(A.User.Screen.Changed:wait()~='Parent')then
  9403.                                 while(A.User.Screen.Changed:wait()~='Parent')do end;
  9404.                         end;
  9405.                 end;
  9406.         end)();
  9407.         for i=1,#A.GuiModules do
  9408.                 A.GuiModules[i]();
  9409.         end;
  9410. end;
  9411. A.Functions.CreateGuiModule=function(Function)
  9412.         A.GuiModules[#A.GuiModules+1]=Function;
  9413. end;
  9414. A.Functions.AddSound=function(Type,Table)
  9415.         if(A.Sounds[Type]==nil)then A.Sounds[Type]={};end;
  9416.         A.Sounds[Type][#A.Sounds[Type]+1]=Table;
  9417. end;
  9418. A.Functions.LoadSound=function(Type,Name,No_Object)
  9419.         local Data=tonumber(Name)~=nil and A.Sounds[Type][tonumber(Name)]or(function()
  9420.                 for i,v in next,A.Sounds[Type]do
  9421.                         if(v.Name~=nil and v.Name:lower():find(Name:lower())==1)then
  9422.                                 return v;
  9423.                         end;
  9424.                 end;
  9425.         end)();
  9426.         if(No_Object~=true)then
  9427.                 local Sound=A.Functions.Peace('Sound',Data);
  9428.                         Sound.SoundId=A.Data.BaseUrl..Data.SoundId;
  9429.                 return Sound,Data;
  9430.         else
  9431.                 return Data;
  9432.         end;
  9433. end;
  9434. A.Functions.ToBoolean=function(Text)
  9435.         Text=Text~=nil and Text:lower():gsub('!','');
  9436.         return A.Stuffs.TrueBooleans[Text]==true;
  9437. end;
  9438. A.Functions.Value=function(Type,Value,Function)
  9439.         local Object=A.Old.Instance.NewObject(Type..'Value');
  9440.         if(Value~=nil)then Object.Value=Value;end;
  9441.         if(Function~=nil)then
  9442.                 coroutine.wrap(function()
  9443.                         while(A.Functions.Check()==true and Object.Name~='Over')do
  9444.                                 Function(Object.Changed:wait());
  9445.                         end;
  9446.                 end)();
  9447.         end;
  9448.         return Object;
  9449. end;
  9450. A.Functions.Button=function(Type,Properties,Events)
  9451.         if(A.Stuffs.Gui.Button[Type]~=true)then return nil;end;
  9452.         Properties.Size=Properties.Size or A.Old.UDim2.ButtonSize;
  9453.         local EventsIsATable=type(Events)=='table';
  9454.         local Button,ButtonData=A.Functions.Lock(Type,Properties,EventsIsATable and Events or nil);
  9455.         if(EventsIsATable==false)then
  9456.                 A.Functions.Connect(Button,'MouseButton1Up',function()
  9457.                         A.Functions.Wait();
  9458.                         Events();
  9459.                         A.Stuffs.Button:play();
  9460.                 end,ButtonData);
  9461.         end;
  9462.         return Button,Data;
  9463. end;
  9464. A.Functions.ResetChar=function(Victim)
  9465.         if(pcall(function()Victim:LoadCharacter(true);end)==false)then
  9466.                 if(Victim.Character~=nil)then A.Functions.Remove(Victim.Character);end;
  9467.                 Victim.Character=A.Old.Instance.NewObject('Humanoid',A.Old.Instance.NewObject('Model',A.Service.Workspace)).Parent;
  9468.         end;
  9469. end;
  9470. A.Functions.NukeChar=function(Char)
  9471.         if(A.Stuffs.CharThings==nil)then
  9472.                 A.Stuffs.CharThings={
  9473.                         Parts={
  9474.                                 ['Animate']='LocalScript';
  9475.                                 ['Humanoid']='Humanoid';
  9476.                                 ['Immortal']='Humanoid';
  9477.                                 ['Right Arm']='Part';
  9478.                                 ['Right Leg']='Part';
  9479.                                 ['Left Arm']='Part';
  9480.                                 ['Left Leg']='Part';
  9481.                                 ['Torso']='Part';
  9482.                         };
  9483.                         Welds={
  9484.                                 ['Right Shoulder']='Motor6D';
  9485.                                 ['Left Shoulder']='Motor6D';
  9486.                                 ['Right Hip']='Motor6D';
  9487.                                 ['Left Hip']='Motor6D';
  9488.                                 ['Neck']='Motor6D';
  9489.                         };
  9490.                 };
  9491.         end;
  9492.         for i,v in next,Char:children()do
  9493.                 if(v~=Char.PrimaryPart and(A.Stuffs.CharThings.Parts[v.Name]==v.className)==false)then
  9494.                         A.Functions.Remove(v,true);
  9495.                 end;
  9496.         end;
  9497.         for i,v in next,Char.Torso:children()do
  9498.                 if((A.Stuffs.CharThings.Welds[v.Name]==v.className)==false)then
  9499.                         A.Functions.Remove(v,true);
  9500.                 end;
  9501.         end;
  9502. end;
  9503. A.Functions.Weld=function(Part0,Part1,C0,C1)
  9504.         Part1.CFrame=Part0.CFrame;
  9505.         local Weld=A.Old.Instance.NewObject('Motor',Part0);
  9506.                 Weld.Part0=Part0;
  9507.                 Weld.Part1=Part1;
  9508.         if(C0)then Weld.C0=C0;end;
  9509.         if(C1)then Weld.C1=C1;end;
  9510.         return Weld;
  9511. end;
  9512. A.Functions.Part=function(Properties,WeldProperties)
  9513.         local Part=A.Functions.Peace('Part',Properties);
  9514.         local Weld;
  9515.         if(WeldProperties)then
  9516.                 if(WeldProperties.Part0)then Part.CFrame=WeldProperties.Part0;end;
  9517.                 WeldProperties.Part1=Part;
  9518.                 Weld=A.Functions.Peace('Motor',WeldProperties);
  9519.         end;
  9520.         return Part,Weld;
  9521. end;
  9522. A.Functions.GetWindow=function(Name)
  9523.         for Int=1,#A.User.Windows do
  9524.                 if(A.User.Windows[Int].Name==Name)then
  9525.                         return A.User.Windows[Int],Int;
  9526.                 end;Int=nil;
  9527.         end;
  9528.         return nil;
  9529. end;
  9530. A.Functions.KillWindow=function(Name)
  9531.         local Type=type(Name);
  9532.         if(Type=='string'or Type=='table')then
  9533.                 local Win,Int=Type=='table'and Name or A.Functions.GetWindow(Name);
  9534.                 if(Win)then
  9535.                         Win.SetVisible=false;
  9536.                         A.Functions.All(Win.Title,function(Object)
  9537.                                 A.Functions.KillData(Object);
  9538.                                 A.Functions.Remove(Object,true);
  9539.                                 Object=nil;
  9540.                         end);
  9541.                         for i,v in next,Win do
  9542.                                 if(type(v)=='userdata')then
  9543.                                         v.Name='Over';
  9544.                                         A.Functions.KillData(v);
  9545.                                         A.Functions.Remove(v,true);
  9546.                                 end;
  9547.                                 Win[i]=nil;
  9548.                         end;
  9549.                         if(Int~=nil)then
  9550.                                 table.remove(A.User.Windows,Int);
  9551.                         end;
  9552.                 end;
  9553.         elseif(Type=='boolean'and Name==true)then
  9554.                 for Int=1,#A.User.Windows do
  9555.                         A.Functions.KillWindow(A.User.Windows[Int].Name);
  9556.                 end;
  9557.         end;
  9558. end;
  9559. A.Functions.GiveWindow=function(Name,Weight,Leight,Title)
  9560.         local Win;
  9561.         local Type=Name;
  9562.         if(Type~=false)then
  9563.                 Win=A.Functions.GetWindow(Name)or{};
  9564.                 if(Win.Valid==true)then
  9565.                         Win.SetVisible.Value=Win.SetVisible.Value==false;
  9566.                         return nil;
  9567.                 end;
  9568.                 Win.Name=Name;
  9569.                 Win.Valid=true;
  9570.  
  9571.                 A.User.Windows[#A.User.Windows+1]=Win;
  9572.         else
  9573.                 Win={};
  9574.         end;
  9575.  
  9576.         Win.SetLeight=A.Functions.Value('Number',Leight,function(Value)Win.Frame.Size=A.Old.UDim2.new(1,0,0,Value);Value=nil;end);
  9577.         Win.SetWeight=A.Functions.Value('Number',Weight,function(Value)Win.Title.Size=A.Old.UDim2.new(0,Value,0,20);Value=nil;end);
  9578.         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);
  9579.         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);
  9580.         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);
  9581.  
  9582.         Win.Title=A.Functions.Lock('TextButton',{
  9583.                         BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9584.                         Size=function()return A.Old.UDim2.new(0,Win.SetWeight.Value,0,20);end;
  9585.                         Visible=function()return Win.SetVisible.Value;end;
  9586.                         Parent=A.User.Frames.Windows;
  9587.                         Draggable=true;
  9588.                         Active=true;
  9589.                         Text='';
  9590.                 },{
  9591.                         MouseButton1Down=function()
  9592.                                 A.Functions.Wait();
  9593.                                 if(A.User.FirstWindow~=Win.Title)then
  9594.                                         A.User.FirstWindow=Win.Title;
  9595.                                         Win.Title.Parent=nil;
  9596.                                 end;
  9597.                         end;
  9598.                 }
  9599.         );A.User.FirstWindow=Win.Title;
  9600.         Win.TitleText=A.Functions.Lock('TextLabel',{
  9601.                         BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9602.                         Text=function()return'Remso ohgod - ['..Win.SetTitle.Value..']';end;
  9603.                         Position=A.Old.UDim2.new(0,20);
  9604.                         Size=A.Old.UDim2.new(1,-60,1);
  9605.                         BackgroundTransparency=1;
  9606.                         Parent=Win.Title;
  9607.                         TextXAlignment=0;
  9608.                         TextWrap=true;
  9609.                         FontSize=5;
  9610.                         Font=1;
  9611.                 }
  9612.         );
  9613.                 A.Functions.Lock('ImageLabel',{
  9614.                                 Image=A.Data.BaseUrl..84386870;
  9615.                                 Size=A.Old.UDim2.ButtonSize;
  9616.                                 Parent=Win.Title;
  9617.                         }
  9618.                 );
  9619.         Win.Close=A.Functions.Button('TextButton',{
  9620.                         BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9621.                         BackgroundColor3=A.Old.Color3.DarkRed;
  9622.                         Position=A.Old.UDim2.new(1,-20);
  9623.                         TextColor3=A.Old.Color3.Black;
  9624.                         Size=A.Old.UDim2.ButtonSize;
  9625.                         Parent=Win.Title;
  9626.                         FontSize=5;
  9627.                         Text='X';
  9628.                         Font=2;
  9629.                 },function()
  9630.                         A.Functions.KillWindow(Name==false and Win or Name);
  9631.                         if(Name==false)then
  9632.                                 Win.Answer.Value=2;
  9633.                         end;
  9634.                 end
  9635.         );
  9636.         if(Type~=false)then
  9637.                 Win.Minimalize=A.Functions.Button('TextButton',{
  9638.                                 BackgroundColor3=A.Old.Color3.Grey;
  9639.                                 Position=A.Old.UDim2.new(1,-40);
  9640.                                 TextColor3=A.Old.Color3.White;
  9641.                                 Size=A.Old.UDim2.ButtonSize;
  9642.                                 BackgroundTransparency=.5;
  9643.                                 Parent=Win.Title;
  9644.                                 FontSize=6;
  9645.                                 Text='_';
  9646.                                 Font=2;
  9647.                         },function()
  9648.                                 Win.SetVisible.Value=false;
  9649.                         end
  9650.                 );
  9651.         end;
  9652.         Win.Menu=A.Functions.Lock('Frame',{
  9653.                         BackgroundTransparency=function()if(Win.NOPOM.Value<=0)then return 1;end;return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9654.                         Size=function()return A.Old.UDim2.new(1,0,0,(Win.NOPOM.Value>0)and 20 or 0);end;
  9655.                         Position=A.Old.UDim2.new(0,0,1);
  9656.                         Parent=Win.Title;
  9657.                 },{
  9658.                         ChildAdded=function(Object)
  9659.                                 if(Object~=Win.Frame and A.Stuffs.Gui.PartOfGui[Object.className])then
  9660.                                         Win.NOPOM.Value=Win.NOPOM.Value+1;
  9661.                                         Win.Menu.BackgroundTransparency=0;
  9662.                                 end;
  9663.                         end;
  9664.                         ChildRemoved=function(Object)
  9665.                                 if(Object~=Win.Frame and A.Stuffs.Gui.PartOfGui[Object.className])then
  9666.                                         Win.NOPOM.Value=Win.NOPOM.Value-1;
  9667.                                         if(Win.NOPOM.Value<=0)then Win.Menu.BackgroundTransparency=0;end;
  9668.                                 end;
  9669.                         end;
  9670.                 }
  9671.         );
  9672.         local Frame,FrameData=A.Functions.Lock('Frame',{
  9673.                         BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  9674.                         Position=function()return A.Old.UDim2.new(0,0,0,(Win.NOPOM.Value>0)and 20 or 0);end;
  9675.                         Size=function()return A.Old.UDim2.new(1,0,0,Win.SetLeight.Value);end;
  9676.                 }
  9677.         );
  9678.         Win.Frame=Frame;
  9679.         FrameData.Properties.Parent=function()return Win.Menu;end;
  9680.         Win.Frame.Parent=Win.Menu;
  9681.  
  9682.         local NUM_;
  9683.         Win.FixTransparency=function()
  9684.                 NUM_=A.Settings['Windows transparency'].Value==true and .5 or 0;
  9685.                 Win.TitleText.BackgroundTransparency=NUM_;
  9686.                 Win.Frame.BackgroundTransparency=NUM_;
  9687.                 Win.Close.BackgroundTransparency=NUM_;
  9688.                 Win.Title.BackgroundTransparency=NUM_;
  9689.                 Win.Menu.BackgroundTransparency=1;
  9690.         end;
  9691.  
  9692.         coroutine.wrap(function()
  9693.                 while(Win.Valid==true and A.Functions.Check()==true)do
  9694.                         A.Settings['Windows transparency'].Changed:wait();
  9695.                         if(Win.FixTransparency~=nil)then
  9696.                                 Win.FixTransparency();
  9697.                         end;
  9698.                 end;
  9699.         end)();
  9700.  
  9701.         return Win;
  9702. end;
  9703. A.Functions.Meter=function()
  9704.         local Size=0;
  9705.         for i,v in next,A.Stuffs.Meter do
  9706.                 for i,v in next,v do
  9707.                         i,v=nil;Size=Size+20;
  9708.                 end;
  9709.                 i,v=nil;Size=Size+20;
  9710.         end;
  9711.         local Win=A.Functions.GiveWindow('Meter',300,Size);
  9712.         if(Win==nil)then return nil;end;local Num=0;
  9713.         Win.Title.Position=A.Old.UDim2.new(.5,-150,0,40);
  9714.         for i,v in next,A.Stuffs.Meter do
  9715.                 A.Functions.Lock('TextLabel',{
  9716.                                 Position=A.Old.UDim2.new(0,0,0,Num*20);
  9717.                                 BackgroundColor3=A.Old.Color3.Grey;
  9718.                                 Size=A.Old.UDim2.new(1,0,0,20);
  9719.                                 TextColor3=A.Old.Color3.Green;
  9720.                                 BackgroundTransparency=.8;
  9721.                                 Text=i..' Things';
  9722.                                 Parent=Win.Frame;
  9723.                                 TextXAlignment=0;
  9724.                                 FontSize=2;
  9725.                         }
  9726.                 );
  9727.                 Num=Num+1;
  9728.                 for Name,Object in next,v do Wait();
  9729.                         for i=0,1 do
  9730.                                 local Gui;Gui=A.Functions.Lock('TextLabel',{
  9731.                                                 TextColor3=i==0 and A.Old.Color3.White or A.Old.Color3.Green;
  9732.                                                 Text=i==0 and Name or function()return Object.Value;end;
  9733.                                                 Position=A.Old.UDim2.new(i/2,0,0,Num*20);
  9734.                                                 Size=A.Old.UDim2.new(.5,0,0,20);
  9735.                                                 BackgroundTransparency=1;
  9736.                                                 TextXAlignment=0;
  9737.                                                 Parent=Win.Frame;
  9738.                                                 FontSize=1;
  9739.                                         }
  9740.                                 );
  9741.                                 if(i==1)then
  9742.                                         coroutine.wrap(function()
  9743.                                                 while(Win.Valid==true)do
  9744.                                                         Gui.Text=Object.Value;
  9745.                                                         Object.Changed:wait();
  9746.                                                 end;
  9747.                                         end)();
  9748.                                 end;
  9749.                         end;Num=Num+1;
  9750.                 end;
  9751.         end;
  9752.         Win.VisibleChanged=function(Value)
  9753.                 A.Stuffs.MeterIsActive=Value;Value=nil;
  9754.         end;A.Stuffs.MeterIsActive=true;
  9755. end;
  9756. A.Functions.QuestWindow=function(Text)
  9757.         local Win=A.Functions.GiveWindow(false,300,200);
  9758.         Win.Answer=A.Functions.Value'Number';
  9759.  
  9760.         A.Functions.Lock('TextLabel',{
  9761.                         BackgroundTransparency=1;
  9762.                         Size=A.Old.UDim2.Full;
  9763.                         Parent=Win.Frame;
  9764.                         TextYAlignment=0;
  9765.                         FontSize=3;
  9766.                         Text=Text;
  9767.                 }
  9768.         );
  9769.         A.Functions.Button('TextButton',{
  9770.                         Position=A.Old.UDim2.new(.5,-40,1,-25);
  9771.                         BackgroundColor3=A.Old.Color3.Grey;
  9772.                         Size=A.Old.UDim2.new(0,80,0,20);
  9773.                         Parent=Win.Frame;
  9774.                         Text='Okey';
  9775.                 },function()
  9776.                         Win.Answer.Value=1;
  9777.                         A.Functions.KillWindow(Win);
  9778.                 end
  9779.         );
  9780.         return Win.Answer.Changed:wait();
  9781. end;
  9782. A.Functions.GetSpawnLocationCFrame=function()
  9783.         local Spawn={};
  9784.         Spawn[1]=A.Old.CFrame.new(0,100,0);
  9785.         A.Functions.All(A.Service.Workspace,function(Object)
  9786.                 if(Object.className=='SpawnLocation')then
  9787.                         Spawn[#Spawn+1]=Object.CFrame;
  9788.                 end;Object=nil;
  9789.         end);
  9790.         return Spawn[2]==nil and Spawn[1]or Spawn[math.random(2,#Spawn)]+A.Old.Vector3.Char;
  9791. end;
  9792. A.Functions.SettingsGui=function()
  9793.         local Size=#A.SettingIDs;
  9794.         local RealSize=Size;
  9795.                 Size=Size<10 and Size or 10;
  9796.         local Win=A.Functions.GiveWindow('Settings',250,20*Size);
  9797.         if(Win==nil)then return nil;end;
  9798.  
  9799.         Win.Title.Position=A.Old.UDim2.new(.5,-125,.5,-110);
  9800.  
  9801.         Win.Cells={};
  9802.  
  9803.         Win.Fix=function()
  9804.                 for i=1,Size do
  9805.                         Win.Cells[i].SetTick.Value=A.SettingIDs[i].Object.Value;
  9806.                         Win.Cells[i].SetText.Value=A.SettingIDs[i].Name;i=nil;
  9807.                 end;
  9808.         end;
  9809.  
  9810.         Win.Pos=A.Functions.Value('String',0,Win.Fix);
  9811.  
  9812.         if(RealSize>10)then
  9813.                 local Num;
  9814.                 local BS={
  9815.                         '<';function()
  9816.                                 Num=Win.Pos.Value-10
  9817.                                 if(Num>=0)then
  9818.                                         Win.Pos.Value=Num;
  9819.                                 end;
  9820.                         end;
  9821.                         'Home';function()Win.Pos.Value=0;end;
  9822.                         '>';function()
  9823.                                 Num=Win.Pos.Value+10;
  9824.                                 if(Num>=RealSize)then
  9825.                                         Win.Pos.Value=Num-(RealSize%10);
  9826.                                 end;
  9827.                         end;
  9828.                 };
  9829.                 local BSn=#BS/2;
  9830.                 local Num=0;
  9831.                 for i=1,BSn do
  9832.                         A.Functions.Button('TextButton',{
  9833.                                         Position=A.Old.UDim2.new((1/BSn)*(i-1),(2/BSn)/2,0,(2/BSn)/2);
  9834.                                         Size=A.Old.UDim2.new(1/BSn,-2,1,-2);
  9835.                                         BackgroundColor3=A.Old.Color3.Grey;
  9836.                                         TextColor3=A.Old.Color3.Black;
  9837.                                         BackgroundTransparency=.5;
  9838.                                         Parent=Win.Menu;
  9839.                                         Text=BS[i+Num];
  9840.                                         TextWrap=true;
  9841.                                         FontSize=1;
  9842.                                 },BS[i+Num+1]
  9843.                         );Num=Num+1;
  9844.                 end;
  9845.         end;
  9846.  
  9847.         for Int=1,Size do
  9848.                 local Ints=Int+Win.Pos.Value;
  9849.                 local Cell={};Win.Cells[Int]=Cell;
  9850.                 local Setting=A.SettingIDs[Ints]~=nil and A.SettingIDs[Ints];
  9851.  
  9852.                 Cell.SetText=A.Functions.Value('String',A.SettingIDs[Ints]and A.SettingIDs[Ints].Name,function(Value)Cell.Label.Text=Value;Value=nil;end);
  9853.                 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);
  9854.  
  9855.                 coroutine.wrap(function()
  9856.                         while(Win.Valid==true)do
  9857.                                 Cell.SetTick.Value=Setting.Object.Changed:wait();
  9858.                         end;
  9859.                 end)();
  9860.  
  9861.                 Cell.Label=A.Functions.Lock('TextLabel',{
  9862.                                 Visible=function()return Cell.SetText.Value~='';end;
  9863.                                 Text=function()return Cell.SetText.Value;end;
  9864.                                 Position=A.Old.UDim2.new(0,0,0,20*(Int-1));
  9865.                                 Size=A.Old.UDim2.new(1,-20,0,20);
  9866.                                 BackgroundTransparency=1;
  9867.                                 TextXAlignment=0;
  9868.                                 Parent=Win.Frame;
  9869.                                 FontSize=1;
  9870.                         }
  9871.                 );
  9872.                 Cell.Button=A.Functions.Button('TextButton',{
  9873.                                 BackgroundColor3=function()return Cell.SetTick.Value==true and A.Old.Color3.Green or A.Old.Color3.DarkRed;end;
  9874.                                 Position=A.Old.UDim2.new(1,-17.5,1,-17.5);
  9875.                                 Size=A.Old.UDim2.new(0,15,0,15);
  9876.                                 BackgroundTransparency=.5;
  9877.                                 Parent=A.Functions.Lock('Frame',
  9878.                                                 {
  9879.                                                         BackgroundColor3=A.Old.Color3.Grey;
  9880.                                                         Size=A.Old.UDim2.ButtonSize;
  9881.                                                         Position=A.Old.UDim2.new(1);
  9882.                                                         BackgroundTransparency=.5;
  9883.                                                         Parent=Cell.Label;
  9884.                                                 }
  9885.                                         );
  9886.                                 Text='';
  9887.                         },function()
  9888.                                 A.SettingIDs[Ints].Object.Value=A.SettingIDs[Ints].Object.Value==false;
  9889.                         end
  9890.                 );
  9891.         end;
  9892. end;
  9893. A.Functions.CreateCommand=function(Title,Commands,Description,Guide,MaxArguments,Function)
  9894.         local New={};A.Commands[#A.Commands+1]=New;
  9895.                 New.Title=Title;
  9896.                 New.TrueCommands={};
  9897.                 New.Function=Function;
  9898.                 New.Description=Description;
  9899.                 New.MaxArguments=MaxArguments;
  9900.                 New.Commands='"'..table.concat(Commands,'","')..'"';
  9901.  
  9902.         for Signal,Value in next,A.Stuffs.GuideCommands do
  9903.                 Guide=Guide:gsub(Signal,A.Data.Step..Value);Signal,Value=nil;
  9904.         end;
  9905.         for i=1,#Commands do
  9906.                 New.TrueCommands[Commands[i]]=true;
  9907.         end;
  9908.  
  9909.         New.Guide=A.Data.Start..Commands[1]..Guide;
  9910. end;
  9911. A.Functions.GetArguments=function(Text,Stepper,Max)
  9912.         if(Max~=0)then
  9913.                 local New={};
  9914.                 local Num=0;
  9915.                 local blind=false;
  9916.                 local blindText='';
  9917.                 for i in Text:gmatch('([^'..Stepper..']+)')do
  9918.                         if(blind==false)then
  9919.                                 blind=i:match'{b{'~=nil;
  9920.                                 if(blind==true)then
  9921.                                         i=i:gsub('{b{','');
  9922.                                 end;
  9923.                         end;
  9924.                         if(blind==false)then
  9925.                                 Num=Num+1;
  9926.                                 New[#New+1]=i;i=nil;
  9927.                         else
  9928.                                 blindText=blindText..i..Stepper;
  9929.                                 if(i:match'}b}'~=nil)then
  9930.                                         blind=false;
  9931.                                         Num=Num+1;
  9932.                                         if(blindText:sub(#blindText,#blindText)==';')then
  9933.                                                 blindText=blindText:sub(1,#blindText-1);
  9934.                                         end;
  9935.                                         New[#New+1]=blindText:gsub('}b}','');i=nil;
  9936.                                         blindText='';
  9937.                                 end;
  9938.                         end;
  9939.                         if(Num>=Max)then break;end;
  9940.                 end;
  9941.                 return New;
  9942.         end;return A.Stuffs.NullTable;
  9943. end;
  9944. A.Functions.GetCommand=function(Command)
  9945.         for i,v in next,A.Commands do
  9946.                 if(v.TrueCommands[Command]==true)then
  9947.                         return v,i;
  9948.                 end;
  9949.         end;
  9950. end;
  9951. A.Functions.SearchCommand=function(Text)
  9952.         local Command=Text:match(A.Data.Start..'(%w+)');
  9953.         if(Command==nil)then return'Command word is not found!';end;
  9954.                 Command=Command:lower();
  9955.         local FullText=Text:match(A.Data.Start..'%w+'..A.Data.Step..'(.+)')or'';
  9956.                 Text=FullText;
  9957.  
  9958.         local StuffsOfCommand=A.RecentCommands[Command];
  9959.         if(StuffsOfCommand==nil)then
  9960.                 local Number;
  9961.                 StuffsOfCommand,Number=A.Functions.GetCommand(Command);
  9962.                 if(StuffsOfCommand~=nil)then
  9963.                         A.RecentCommands[Command]={
  9964.                                 Function=function(...)A.Commands[Number].Function(...);end;
  9965.                                 MaxArguments=StuffsOfCommand.MaxArguments;
  9966.                         };
  9967.                 end;
  9968.         end;
  9969.         if(StuffsOfCommand==nil)then return'"'..Command..'" is not a valid member of library of the commands!';end;
  9970.  
  9971.         local Load,Error=A.Functions.Thread(function()
  9972.                 StuffsOfCommand.Function(
  9973.                         Text,
  9974.                         FullText,
  9975.                         A.Functions.GetArguments(
  9976.                                 Text,
  9977.                                 A.Data.Step,
  9978.                                 StuffsOfCommand.MaxArguments
  9979.                         )
  9980.                 );
  9981.         end);
  9982.  
  9983.         if(Load==false)then
  9984.                 return Error;
  9985.         end;
  9986.  
  9987. end;
  9988. A.Functions.Message=function(Type,Text,Time)
  9989.         local Message=A.Functions.Peace('TextLabel',{
  9990.                         Position=Type=='Message'and A.Old.UDim2.Pax or A.Old.UDim2.new(0,0,0,20*#A.User.Frames.Hints:children());
  9991.                         Size=Type=='Hint'and A.Old.UDim2.new(1,0,0,20)or A.Old.UDim2.Full;
  9992.                         Text=Text:gsub([[']],A.Stuffs.AsciiChar[255]);
  9993.                         BackgroundColor3=A.Old.Color3.Black;
  9994.                         Parent=A.User.Frames[Type..'s'];
  9995.                         TextColor3=A.Old.Color3.Yellow;
  9996.                         BackgroundTransparency=.5;
  9997.                         BorderSizePixel=0;
  9998.                         FontSize=2;
  9999.                         Name=Type;
  10000.                 }
  10001.         );
  10002.         Delay(Time or #Text/5,function()
  10003.                 A.Functions.Remove(Message,true);
  10004.                 if(Type=='Hint')then
  10005.                         for i,v in next,A.User.Frames.Hints:children()do
  10006.                                 if(v.className=='TextLabel')then
  10007.                                         v.Position=A.Old.UDim2.new(0,0,0,20*(i-1));
  10008.                                 end;
  10009.                         end;
  10010.                 end;
  10011.         end);
  10012. end;
  10013. A.Functions.TransparencyContact=function(Table)
  10014.         coroutine.wrap(function()
  10015.                 local Num=#Table;
  10016.                 local Data;
  10017.                 for i=1,Num do
  10018.                         i=Table[i];
  10019.                         Data=A.Functions.GetData(i);
  10020.                         if(Data~=nil)then
  10021.                                 Data.Properties.BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  10022.                         end;
  10023.                         i.BackgroundTransparency=A.Settings['Windows transparency'].Value==true and .5 or 0;
  10024.                 end;
  10025.                 local Function=function(Bool)
  10026.                         for i=1,Num do Table[i].BackgroundTransparency=Bool==true and .5 or 0;i=nil;end;Bool=nil;
  10027.                 end;
  10028.                 while(A.Functions.Check()==true)do
  10029.                         Function(A.Settings['Windows transparency'].Value);
  10030.                         A.Settings['Windows transparency'].Changed:wait();
  10031.                 end;
  10032.         end)();
  10033. end;
  10034. A.Functions.CommandBar=function()
  10035.         local Win=A.Functions.GiveWindow('Cmd',300,64);
  10036.         if(Win==nil)then return nil;end;Win.Title.Position=A.Old.UDim2.new(0,0,.5,-100);
  10037.         if(A.User.RecentCommands==nil)then
  10038.                 A.User.RecentCommands={};
  10039.         end;
  10040.  
  10041.         local NUM_,_NUM;
  10042.         local BS={
  10043.                 '<';function()
  10044.                         NUM_=Win.Pos.Value-Win.MaxCells;
  10045.                         if(NUM_>=0)then
  10046.                                 Win.Pos.Value=NUM_;
  10047.                         end;
  10048.                 end;
  10049.                 '>';function()
  10050.                         _NUM=#A.User.RecentCommands;
  10051.                         if(_NUM<=Win.MaxCells)then return nil;end;
  10052.                         NUM_=Win.Pos.Value+Win.MaxCells;
  10053.                         if(NUM_>=_NUM)then
  10054.                                 NUM_=_NUM-(_NUM%Win.MaxCells);
  10055.                         end;
  10056.                         Win.Pos.Value=NUM_;
  10057.                 end;
  10058.                 'Clean';function()
  10059.                         A.User.RecentCommands={};
  10060.                         Win.Pos.Value=0;
  10061.                         Win.Fix();
  10062.                 end;
  10063.                 'H/S';function()
  10064.                         Win.FixEnabled=Win.FixEnabled==false;
  10065.                         Win.Fix();
  10066.                 end;
  10067.         };
  10068.         local BSn=#BS/2;
  10069.  
  10070.         Win.Cells={};
  10071.         Win.MaxCells=8;
  10072.         Win.FixEnabled=true;
  10073.  
  10074.         Win.Fix=function()
  10075.                 for Int=1,Win.MaxCells do
  10076.                         Win.Cells[Int].SetText.Value=A.User.RecentCommands[Int+Win.Pos.Value]or'';
  10077.                         Win.Cells[Int].Label.Visible=Win.FixEnabled;
  10078.                 end;
  10079.         end;
  10080.  
  10081.         Win.Pos=A.Functions.Value('Number',0,Win.Fix);
  10082.  
  10083.         Win.Box=A.Functions.Lock('TextBox',{
  10084.                         Parent=function()A.Functions.Wait()return Win.Frame end;
  10085.                         TextColor3=A.Old.Color3.Yellow;
  10086.                         BackgroundTransparency=1;
  10087.                         Size=A.Old.UDim2.Full;
  10088.                         TextXAlignment=0;
  10089.                         TextYAlignment=0;
  10090.                         FontSize=1;
  10091.                 },{
  10092.                         FocusLost=function(Text)
  10093.                                 Text=Win.Box.Text;
  10094.                                 if(Text~=nil and(Text~=''and Text~='Click here to writting'))then
  10095.                                         if(Text:sub(1,1)~=A.Data.Start)then Text=A.Data.Start..Text;end;
  10096.                                         A.Functions.Wait();
  10097.                                         local Message=A.Functions.SearchCommand(Text);
  10098.                                         if(Message~=nil)then A.Functions.Message('Hint',Message);return nil;end;
  10099.                                         if(Win.FixEnabled==true and A~=nil)then
  10100.                                                 table.insert(A.User.RecentCommands,1,Text);
  10101.                                                 Win.Fix();
  10102.                                         end;
  10103.                                 end;Text=nil;
  10104.                         end;
  10105.                 }
  10106.         );Win.Box.Text='Click here to writting';
  10107.  
  10108.         A.Functions.Lock('Frame',{
  10109.                         BackgroundColor3=A.Old.Color3.Grey;
  10110.                         Position=A.Old.UDim2.new(0,0,1);
  10111.                         Size=A.Old.UDim2.new(1,0,0,5);
  10112.                         BackgroundTransparency=.5;
  10113.                         Parent=Win.Frame;
  10114.                 }
  10115.         );
  10116.  
  10117.         local Smg={};
  10118.         for Int=1,Win.MaxCells do
  10119.                 local Cell={};Win.Cells[#Win.Cells+1]=Cell;
  10120.  
  10121.                 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);
  10122.  
  10123.                 Cell.Label=A.Functions.Button('TextButton',{
  10124.                                 Visible=function()if(Win.FixEnabled==false)then return false;else return Cell.SetText.Value~='';end;end;
  10125.                                 Text=function()return Win.Pos.Value+Int..'.) '..Cell.SetText.Value;end;
  10126.                                 Position=A.Old.UDim2.new(0,0,1,20*(Int-1)+5);
  10127.                                 Size=A.Old.UDim2.new(1,0,0,20);
  10128.                                 AutoButtonColor=true;
  10129.                                 Parent=Win.Frame;
  10130.                                 TextXAlignment=0;
  10131.                                 FontSize=1;
  10132.                         },function()
  10133.                                 A.Functions.SearchCommand(Cell.SetText.Value);
  10134.                         end
  10135.                 );Smg[Int]=Cell.Label;
  10136.         end;
  10137.         A.Functions.TransparencyContact(Smg);
  10138.  
  10139.         local Num=0;
  10140.         local Asd={};
  10141.         for Int=1,BSn do
  10142.                 Asd[Int]=A.Functions.Button('TextButton',{
  10143.                                 Position=A.Old.UDim2.new(1/BSn*(Int-1),1,0,1);
  10144.                                 Size=A.Old.UDim2.new(1/BSn,-2,1,-2);
  10145.                                 BackgroundColor3=A.Old.Color3.Grey;
  10146.                                 TextColor3=A.Old.Color3.Black;
  10147.                                 Text=BS[Int+Num];
  10148.                                 Parent=Win.Menu;
  10149.                                 FontSize=1;
  10150.                         },BS[Int+Num+1]
  10151.                 );
  10152.                 Num=Num+1;
  10153.         end;
  10154.         A.Functions.TransparencyContact(Asd);
  10155.  
  10156. end;
  10157. A.Functions.HelpGui=function()
  10158.         local Win=A.Functions.GiveWindow('Help',400,400);
  10159.         if(Win==nil)then return nil;end;
  10160.  
  10161.         local Ears={'Commands';'Players';'Signals';};
  10162.  
  10163.         Win.Ears={};
  10164.         Win.NumOfEars=#Ears;
  10165.         Win.NumberOfCommands=#A.Commands;
  10166.  
  10167.         local NUM;
  10168.         local CCMD;
  10169.         local TEXT='';
  10170.         Win.FixTutorial=function()
  10171.                 NUM=Win.Pos.Value+1;
  10172.                 CCMD=A.Commands[NUM];
  10173.                 if(A.Stuffs.ForTutorialOfCommands==nil)then
  10174.                         A.Stuffs.ForTutorialOfCommands={'Title';'Description';'Commands';'Guide';};
  10175.                 end;
  10176.                 for i,v in next,A.Stuffs.ForTutorialOfCommands do
  10177.                         TEXT=TEXT..v..': '..CCMD[v]..'\n\n\n';i,v=nil;
  10178.                 end;
  10179.                 TEXT=NUM..' of '..Win.NumberOfCommands..'\n\n\n'..TEXT;
  10180.                 Win.Ears[1].SetText.Value=TEXT;TEXT='';
  10181.         end;
  10182.  
  10183.         Win.Pos=A.Functions.Value('Number',0,function(Value)Win.FixTutorial();Value=nil;end);
  10184.         Win.CurrentFrame=A.Functions.Value('String','Commands',function(Value)
  10185.                 for i=1,Win.NumOfEars do
  10186.                         Win.Ears[i].Frame.Visible=Value==Win.Ears[i].Name;
  10187.                 end;
  10188.         end);
  10189.  
  10190.         local Smgs={};
  10191.         for Int,Name in next,Ears do
  10192.                 local Ear={};Win.Ears[#Win.Ears+1]=Ear;
  10193.  
  10194.                 Ear.Name=Name;
  10195.  
  10196.                 Ear.SetText=A.Functions.Value('String','',function(Value)Ear.Frame.Text=Value;Value=nil;end);
  10197.  
  10198.                 Ear.Frame=A.Functions.Lock('TextLabel',{
  10199.                                 Visible=function()return Win.CurrentFrame.Value==Name;end;
  10200.                                 Text=function()return Ear.SetText.Value;end;
  10201.                                 BackgroundTransparency=1;
  10202.                                 Position=A.Old.UDim2.Pax;
  10203.                                 Size=A.Old.UDim2.Full;
  10204.                                 TextXAlignment=0;
  10205.                                 TextYAlignment=0;
  10206.                                 Parent=Win.Frame;
  10207.                                 FontSize=2;
  10208.                         }
  10209.                 );
  10210.                 Ear.Ear=A.Functions.Button('TextButton',{
  10211.                                 Position=A.Old.UDim2.new(1/Win.NumOfEars*(Int-1),1.25,0,1.25);
  10212.                                 Size=A.Old.UDim2.new(1/Win.NumOfEars,-2.5,1,-2.5);
  10213.                                 BackgroundColor3=A.Old.Color3.Grey;
  10214.                                 TextColor3=A.Old.Color3.Black;
  10215.                                 Parent=Win.Menu;
  10216.                                 FontSize=1;
  10217.                                 Text=Name;
  10218.                         },function()
  10219.                                 Win.CurrentFrame.Value=Name;
  10220.                         end
  10221.                 );Smgs[#Smgs+1]=Ear.Ear;
  10222.  
  10223.                 if(Name=='Players')then
  10224.                         local Text='';
  10225.                         for Int,Table in next,A.Calls do
  10226.                                 Text=Text..Table.Description..': '..Table.Calls..'\n'..'\n';
  10227.                         end;
  10228.                         Ear.SetText.Value=Text;
  10229.                 elseif(Name=='Signals')then
  10230.                         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}]];
  10231.                 elseif(Name=='Commands')then
  10232.                         Win.FixTutorial();
  10233.                         for i=0,1 do
  10234.                                 local Num=i==0 and-1 or 1;
  10235.                                 local Plus;
  10236.                                 Smgs[#Smgs+1]=A.Functions.Button('TextButton',{
  10237.                                                 Position=A.Old.UDim2.new(i,i==1 and -20,1,-20);
  10238.                                                 BackgroundColor3=A.Old.Color3.Grey;
  10239.                                                 TextColor3=A.Old.Color3.Black;
  10240.                                                 Size=A.Old.UDim2.ButtonSize;
  10241.                                                 Parent=Win.Ears[1].Frame;
  10242.                                                 Text=i==0 and'<'or'>';
  10243.                                                 FontSize=3;
  10244.                                         },function()
  10245.                                                 Plus=Win.Pos.Value+Num;
  10246.                                                 if(Plus>=0 and Plus<Win.NumberOfCommands)then
  10247.                                                         Win.Pos.Value=Plus;
  10248.                                                 end;
  10249.                                         end
  10250.                                 );
  10251.                         end;
  10252.                 end;
  10253.  
  10254.         end;A.Functions.TransparencyContact(Smgs);
  10255.  
  10256. end;
  10257. A.Functions.GetBase=function()
  10258.         for i,v in next,A.Service.Workspace:children()do
  10259.                 if(v.className=='Part'and v.Name=='Base')then
  10260.                         A.Functions.Remove(v,true);
  10261.                 end;i,v=nil;
  10262.         end;
  10263.         local Base=A.Old.Instance.NewObject'Part';
  10264.                 Base.Name='Base';
  10265.                 Base.Locked=true;
  10266.                 Base.Anchored=true;
  10267.                 Base.archivable=false;
  10268.                 Base.Size=A.Old.Vector3.new(555,2,555);
  10269.                 Base.BrickColor=A.Old.BrickColor.new'37';
  10270.                 Base.Parent=A.Service.Workspace;
  10271.         return Base;
  10272. end;
  10273. A.Functions.Clean=function()
  10274.         local Base=A.Functions.GetBase();
  10275.         if(A.Stuffs.Shielded==nil)then
  10276.                 A.Stuffs.Shielded={
  10277.                         HumanoidController=true;
  10278.                         Terrain=true;
  10279.                         Camera=true;
  10280.                         Player=true;
  10281.                 };
  10282.         end;
  10283.         if(A.Stuffs.Banned_Services==nil)then
  10284.                 A.Stuffs.Banned_Services={
  10285.                         NetworkClient=true;
  10286.                         CoreGui=true;
  10287.                 };
  10288.         end;
  10289.         for i,v in next,Game:children()do
  10290.                 pcall(function()
  10291.                         if(A.Stuffs.Banned_Services[v.className]==nil)then
  10292.                                 for i,v in next,v:children()do
  10293.                                         if(v~=script and v~=Base and A.Stuffs.Shielded[v.className]~=true and A.Service.Players:GetPlayerFromCharacter(v)==nil)then
  10294.                                                 pcall(function()
  10295.                                                         v.Parent=nil;
  10296.                                                 end);
  10297.                                         end;i,v=nil;
  10298.                                 end;
  10299.                         end;
  10300.                 end);i,v=nil;
  10301.         end;
  10302. end;
  10303. A.Functions.ResetLighting=function()
  10304.         local Lighting=A.Service.Lighting;
  10305.         if(A.Stuffs.LightingBaseProperties==nil)then
  10306.                 A.Stuffs.LightingBaseProperties={
  10307.                         ShadowColor=A.Old.Color3.new(.7,.7,.72);
  10308.                         FogColor=A.Old.Color3.new(.75,.75,.75);
  10309.                         ColorShift_Bottom=A.Old.Color3.Black;
  10310.                         GeographicLatitude=41.733299255371;
  10311.                         ColorShift_Top=A.Old.Color3.Black;
  10312.                         Ambient=A.Old.Color3.Grey;
  10313.                         Brightness=1;
  10314.                         FogEnd=1e6;
  10315.                         FogStart=0;
  10316.                 };
  10317.         end;
  10318.         for i,v in next,A.Stuffs.LightingBaseProperties do
  10319.                 Lighting[i]=v;i,v=nil;
  10320.         end;
  10321.         pcall(Lighting.ClearAllChildren,Lighting);
  10322. end;
  10323. A.Functions.ExplorerGui=function()
  10324.         local Win=A.Functions.GiveWindow('Explorer',440,400);
  10325.         if(Win==nil)then
  10326.                 return nil;
  10327.         end;
  10328.  
  10329.         Win.Frames={};
  10330.  
  10331.         Win.CountThis=A.Functions.Value('Object',Game,function(Value)
  10332.                 if(Win.Frames.Explorer.SetPos.Value==0)then
  10333.                         Win.Frames.Explorer.Count(0,Value);
  10334.                 else
  10335.                         Win.Frames.Explorer.SetPos.Value=0;
  10336.                 end;
  10337.         end);
  10338.         Win.WatchingObject=A.Functions.Value('Object',Game,function(Value)
  10339.                 if(Win.Frames.Properties.SetPos.Value==0)then
  10340.                         Win.Frames.Properties.Count(0,Value);
  10341.                 else
  10342.                         Win.Frames.Properties.SetPos.Value=0;
  10343.                 end;
  10344.         end);
  10345.  
  10346.         local Cnr={};
  10347.  
  10348.         Win.History={Game;};
  10349.         Win.HistoryPos=1;
  10350.  
  10351.         for i=0,1 do
  10352.                 local Plus=i==0 and -1 or 1;
  10353.                 local Num;
  10354.                 Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
  10355.                                 BackgroundColor3=A.Old.Color3.Blue;
  10356.                                 Position=A.Old.UDim2.new(0,20*i);
  10357.                                 TextColor3=A.Old.Color3.Black;
  10358.                                 Text=i==0 and'<'or'>';
  10359.                                 Parent=Win.Menu;
  10360.                                 FontSize=3;
  10361.                         },function()
  10362.                                 Num=Win.HistoryPos+Plus;
  10363.                                 if(Num<1 or Win.History[Num]==nil)then return nil;end;
  10364.                                 Win.HistoryPos=Num;
  10365.                                 Win.CountThis.Value=Win.History[Num];
  10366.                         end
  10367.                 );
  10368.         end;
  10369.         Win.HomeButton=A.Functions.Button('TextButton',{
  10370.                         BackgroundColor3=A.Old.Color3.Green;
  10371.                         Position=A.Old.UDim2.new(0,40);
  10372.                         TextColor3=A.Old.Color3.Black;
  10373.                         Parent=Win.Menu;
  10374.                         Text='H';
  10375.                 },function()
  10376.                         Win.CountThis.Value=Game;
  10377.                         Win.HistoryPos=1;
  10378.                 end
  10379.         );
  10380.         Win.RefreshButton=A.Functions.Button('TextButton',{
  10381.                         BackgroundColor3=A.Old.Color3.Grey;
  10382.                         Position=A.Old.UDim2.new(0,60);
  10383.                         TextColor3=A.Old.Color3.Black;
  10384.                         Parent=Win.Menu;
  10385.                         Text='R';
  10386.                 },function()
  10387.                         Win.Frames.Explorer.Count(0,Win.CountThis.Value);
  10388.                 end
  10389.         );
  10390.         Win.RemoveButton=A.Functions.Button('TextButton',{
  10391.                         BackgroundColor3=A.Old.Color3.Grey;
  10392.                         Position=A.Old.UDim2.new(0,80);
  10393.                         TextColor3=A.Old.Color3.Black;
  10394.                         Parent=Win.Menu;
  10395.                         Text='K';
  10396.                 },function()
  10397.                         for i,v in next,Win.Frames.Explorer.Selected do
  10398.                                 if(#v~=0)then
  10399.                                         for i,v in next,v do
  10400.                                                 A.Functions.Remove(v);
  10401.                                         end;
  10402.                                 end;
  10403.                         end;
  10404.                 end
  10405.         );
  10406.  
  10407.         for i=0,1 do
  10408.                 local Name=i==0 and'Explorer'or'Properties';
  10409.                 local this={};
  10410.                 this.Cells={};
  10411.  
  10412.                 this.SetPos=A.Functions.Value('Number',0,function(Value)
  10413.                         this.PosChanged(Value);
  10414.                 end);
  10415.  
  10416.                 this.Frame=A.Functions.Lock('Frame',{
  10417.                                 Size=A.Old.UDim2.new(.5,-20,1);
  10418.                                 Position=A.Old.UDim2.new(i/2);
  10419.                                 BackgroundTransparency=1;
  10420.                                 Parent=Win.Frame;
  10421.                         }
  10422.                 );
  10423.                 this.ScrollFrame=A.Functions.Lock('Frame',{
  10424.                                 BackgroundColor3=A.Old.Color3.White;
  10425.                                 Size=A.Old.UDim2.new(0,20,1);
  10426.                                 Position=A.Old.UDim2.new(1);
  10427.                                 BackgroundTransparency=.5;
  10428.                                 Parent=this.Frame;
  10429.                         }
  10430.                 );
  10431.                 Cnr[#Cnr+1]=this.ScrollFrame;
  10432.  
  10433.                 for i=0,1 do
  10434.                         local Plus=i==0 and-20 or 20;
  10435.                         local Num;
  10436.                         Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
  10437.                                         Position=A.Old.UDim2.new(0,0,i,i==1 and-20);
  10438.                                         BackgroundColor3=A.Old.Color3.Grey;
  10439.                                         Size=A.Old.UDim2.ButtonSize;
  10440.                                         Text=i==0 and'/\\'or'\\/';
  10441.                                         Parent=this.ScrollFrame;
  10442.                                         AutoButtonColor=true;
  10443.                                         FontSize=3;
  10444.                                 },function()
  10445.                                         Num=this.SetPos.Value+Plus;
  10446.                                         if(Num<0)then
  10447.                                                 Num=0;
  10448.                                         end;
  10449.                                         if(Num>=this.Max)then
  10450.                                                 Num=this.Max-(this.Max%20);
  10451.                                         end;
  10452.                                         this.SetPos.Value=Num;
  10453.                                 end
  10454.                         );
  10455.                 end;
  10456.  
  10457.  
  10458.                 if(i==0)then--Explorer
  10459.  
  10460.                         this.CountThis=Win.CountThis;
  10461.  
  10462.                         this.Selected={};
  10463.                         this.FreeBoxes={};
  10464.  
  10465.                         this.Count=function(From,Object)
  10466.                                 local Parts=Object:children();
  10467.                                 if(#Parts==0)then return nil;end;
  10468.                                 this.Max=#Parts;
  10469.                                
  10470.  
  10471.                                 local Asd;
  10472.                                 local i=1;
  10473.                                 local Object2;
  10474.                                 local NotGood=0;
  10475.  
  10476.                                 while(i<21)do
  10477.                                         Asd=From+i+NotGood;
  10478.                                         Object2=Parts[Asd];
  10479.                                         if(Object2==nil or pcall(function()return Object2:IsA'';end)==true)then
  10480.                                                 this.Cells[i].SetObject.Value=Object2;
  10481.                                                 i=i+1;
  10482.                                         else
  10483.                                                 NotGood=NotGood+1;
  10484.                                         end;
  10485.                                 end;
  10486.  
  10487.                         end;
  10488.                         this.PosChanged=function(Value)
  10489.                                 this.Count(Value,this.CountThis.Value);
  10490.                         end;
  10491.  
  10492.                         for i=1,20 do
  10493.                                 local Cell={};this.Cells[#this.Cells+1]=Cell;
  10494.                                
  10495.                                 Cell.GetPos=function()return this.SetPos.Value+i;end;
  10496.  
  10497.                                 Cell.SetText=A.Functions.Value('String','N/A',function(Value)
  10498.                                         Cell.Text.Text=Value;
  10499.                                 end);
  10500.                                 Cell.SetObject=A.Functions.Value('Object',nil,function(Value)
  10501.                                        
  10502.                                         if(Value~=nil)then
  10503.                                                 Cell.SetSelect.Value=Value:FindFirstChild'Ohgal_Selection'~=nil;
  10504.                                                 Cell.SetText.Value=Value.Name..' ('..Value.className..')';
  10505.                                                 Cell.Number.Text=Cell.GetPos();
  10506.                                         end;
  10507.  
  10508.                                         Cell.Frame.Visible=Value~=nil or false;
  10509.                                        
  10510.                                 end);
  10511.                                 Cell.SetSelect=A.Functions.Value('Bool',false,function(Value)
  10512.                                         Cell.Selector.BackgroundColor3=Value==true and A.Old.Color3.Green or A.Old.Color3.Red;
  10513.                                         local Object=Cell.SetObject.Value;
  10514.                                         if(Value==false)then
  10515.                                                 local Selector=Object:FindFirstChild'Ohgal_Selection';
  10516.                                                 if(Selector~=nil)then
  10517.                                                         Selector.Parent=nil;
  10518.                                                         this.FreeBoxes[#this.FreeBoxes+1]=Selector;
  10519.                                                 end;
  10520.                                         else
  10521.                                                 local ThisAdded;
  10522.                                                 local Selector=Object:FindFirstChild'Ohgal_Selection'or this.FreeBoxes[1]or A.Old.Instance.NewObject'BindableEvent';
  10523.                                                 if(Selector==this.FreeBoxes[1])then
  10524.                                                         table.remove(this.FreeBoxes,1);
  10525.                                                 end;
  10526.  
  10527.                                                 Selector.Name='Ohgal_Selection';
  10528.                                                 Selector.archivable=false;
  10529.                                                 Selector.Parent=Object;
  10530.  
  10531.                                                
  10532.                                                 local Box;
  10533.                                                 if(Object:IsA'Model'or Object:IsA'Part')then
  10534.                                                         Box=A.Old.Instance.NewObject('SelectionBox',this.Frame);
  10535.                                                         Box.Adornee=Object;
  10536.                                                 end;
  10537.  
  10538.                                                 if(this.Selected[Object.className]==nil)then
  10539.                                                         this.Selected[Object.className]={};
  10540.                                                 else
  10541.                                                         for i,v in next,this.Selected[Object.className]do
  10542.                                                                 if(v==Object)then
  10543.                                                                         ThisAdded=true;
  10544.                                                                         table.remove(this.Selected[Object.className],i);break;
  10545.                                                                 end;
  10546.                                                         end;
  10547.                                                 end;
  10548.                                                 this.Selected[Object.className][#this.Selected[Object.className]+1]=Object;
  10549.  
  10550.                                                 if(ThisAdded==nil)then
  10551.                                                         local Kill=function()                                                          
  10552.                                                                 Selector.Parent=nil;
  10553.                                                                 this.FreeBoxes[#this.FreeBoxes+1]=Selector;
  10554.                                                                 if(Box~=nil)then Box.Adornee=nil;Box.Parent=nil;end;
  10555.                                                                 for i,v in next,this.Selected[Object.className]do
  10556.                                                                         if(v==Object)then
  10557.                                                                                 table.remove(this.Selected[Object.className],i);break;
  10558.                                                                         end;
  10559.                                                                 end;
  10560.                                                         end;
  10561.                                                         A.Functions.Thread(function()
  10562.                                                                 while(Selector.Parent~=nil)do Selector.Changed:wait();end;
  10563.                                                                 Kill();
  10564.                                                         end);
  10565.                                                         A.Functions.Thread(function()
  10566.                                                                 while(Object.Parent~=nil)do Object.Changed:wait();end;
  10567.                                                                 Kill();
  10568.                                                         end);
  10569.                                                 end;
  10570.                                         end;
  10571.                                 end);
  10572.  
  10573.                                
  10574.                                 Cell.Frame=A.Functions.Lock('Frame',{
  10575.                                                 Position=A.Old.UDim2.new(0,0,0,i~=1 and 20*(i-1)+1 or 1);
  10576.                                                 Visible=function()return Cell.SetObject.Value~=nil;end;
  10577.                                                 Size=A.Old.UDim2.new(1,0,0,18);
  10578.                                                 BackgroundTransparency=1;
  10579.                                                 Parent=this.Frame;
  10580.                                         }
  10581.                                 );
  10582.  
  10583.                                 Cell.Selector=A.Functions.Button('ImageButton',{
  10584.                                                 BackgroundColor3=function()return Cell.SetSelect.Value==true and A.Old.Color3.Green or A.Old.Color3.Red;end;
  10585.                                                 Size=A.Old.UDim2.new(0,20,1);
  10586.                                                 Position=A.Old.UDim2.Pax;
  10587.                                                 Parent=Cell.Frame;
  10588.                                         },function()
  10589.                                                 Cell.SetSelect.Value=Cell.SetSelect.Value==false;
  10590.                                         end
  10591.                                 );
  10592.                                 Cnr[#Cnr+1]=Cell.Selector;
  10593.  
  10594.                                 Cell.Number=A.Functions.Lock('TextLabel',{
  10595.                                                 BackgroundColor3=A.Old.Color3.Grey;
  10596.                                                 Position=A.Old.UDim2.new(0,20);
  10597.                                                 Size=A.Old.UDim2.new(0,20,1);
  10598.                                                 Parent=Cell.Frame;
  10599.                                                 Text=Cell.GetPos;
  10600.                                                 FontSize=1;
  10601.                                         }
  10602.                                 );
  10603.                                 Cnr[#Cnr+1]=Cell.Number;
  10604.  
  10605.                                 local TimeOut=0;
  10606.                                 Cell.Text=A.Functions.Button('TextButton',{
  10607.                                                 Text=function()return Cell.SetText.Value;end;
  10608.                                                 BackgroundColor3=A.Old.Color3.White;
  10609.                                                 Position=A.Old.UDim2.new(0,40);
  10610.                                                 TextColor3=A.Old.Color3.Black;
  10611.                                                 Size=A.Old.UDim2.new(1,-40,1);
  10612.                                                 AutoButtonColor=true;
  10613.                                                 Parent=Cell.Frame;
  10614.                                                 TextXAlignment=0;
  10615.                                                 FontSize=1;
  10616.                                         },function()
  10617.                                                 if(TimeOut==1)then
  10618.                                                         Win.HistoryPos=Win.HistoryPos+1;
  10619.                                                         Win.History[Win.HistoryPos]=Cell.SetObject.Value;
  10620.                                                         Win.History[Win.HistoryPos+1]=nil;
  10621.                                                         this.CountThis.Value=Cell.SetObject.Value;
  10622.                                                 else
  10623.                                                         TimeOut=1;
  10624.  
  10625.                                                         Win.WatchingObject.Value=Cell.SetObject.Value;
  10626.  
  10627.                                                         Delay(.2,function()
  10628.                                                                 TimeOut=0;
  10629.                                                         end);
  10630.                                                 end;
  10631.                                         end
  10632.                                 );
  10633.                                 Cnr[#Cnr+1]=Cell.Text;
  10634.  
  10635.                         end;
  10636.  
  10637.                 else--Properties
  10638.  
  10639.                         this.Count=function(From,Object)
  10640.  
  10641.                                 if(this._ThisBox~=nil)then
  10642.                                         this._ThisBox.Parent=nil;
  10643.                                 end;
  10644.  
  10645.                                 local Table=A.Functions.GetProperties(Object,true);
  10646.                                 this.Max=#Table;
  10647.                                
  10648.                                 if(From<=4)then
  10649.                                         this.Cells[1].SetProperty.Value='Name';
  10650.                                         this.Cells[1].Fix();
  10651.  
  10652.                                         this.Cells[2].SetProperty.Value='Parent';
  10653.                                         this.Cells[2].Fix();
  10654.  
  10655.                                         this.Cells[3].SetProperty.Value='className';
  10656.                                         this.Cells[3].Fix();
  10657.  
  10658.                                         this.Cells[4].SetProperty.Value='archivable';
  10659.                                         this.Cells[4].Fix();
  10660.                                        
  10661.                                         for i=5,20 do
  10662.                                                 this.Cells[i].SetProperty.Value=Table[(i-4)+From]or'';
  10663.                                                 this.Cells[i].Fix();
  10664.                                         end;
  10665.                                 else
  10666.                                         for i=1,20 do
  10667.                                                 this.Cells[i].SetProperty.Value=Table[i+From]or'';
  10668.                                                 this.Cells[i].Fix();
  10669.                                         end;
  10670.                                 end;
  10671.                         end;
  10672.                         this.PosChanged=function(Value)
  10673.                                 this.Count(Value,Win.WatchingObject.Value);
  10674.                         end;
  10675.  
  10676.                         this.TextBox=function(ALALOLUBU)--ROFL
  10677.                                 if(pcall(function()this._ThisBox.Parent=ALALOLUBU;this._ThisBox.Text=ALALOLUBU.Text;end)==false)then
  10678.                                         this._ThisBox=A.Functions.Peace('TextBox',{
  10679.                                                         BackgroundColor3=A.Old.Color3.White;
  10680.                                                         TextColor3=A.Old.Color3.Black;
  10681.                                                         Size=A.Old.UDim2.Full;
  10682.                                                         Text=ALALOLUBU.Text;
  10683.                                                         BorderSizePixel=0;
  10684.                                                         Parent=ALALOLUBU;
  10685.                                                         TextXAlignment=0;
  10686.                                                         FontSize=1;
  10687.                                                 }
  10688.                                         );
  10689.                                 end;
  10690.                                 Delay(0,function()pcall(function()this._ThisBox:CaptureFocus();end);end);
  10691.                                 this._ThisBox.FocusLost:wait();
  10692.                                 this._ThisBox.Parent=nil;
  10693.                                 A.Functions.Thread(function()
  10694.                                         Win.WatchingObject.Value[this.SetProperty]=loadstring('return '..this._ThisBox.Text)();
  10695.                                 end);
  10696.                         end;
  10697.  
  10698.                         for i=1,20 do
  10699.                                 local Cell={};this.Cells[#this.Cells+1]=Cell;
  10700.                                
  10701.                                 Cell.SetProperty=A.Functions.Value('String','',function(Value)
  10702.                                         Cell.Frame.Visible=Value~='';
  10703.                                 end);
  10704.  
  10705.                                 Cell.Fix=function()
  10706.                                         if(Cell.SetProperty.Value~='')then
  10707.                                                 Cell.Property.Text=Cell.SetProperty.Value..' ';
  10708.                                                 Cell.Property.Size=A.Old.UDim2.new(0,Cell.Property.TextBounds.X,1);
  10709.                                                
  10710.                                                 Cell.ValueButton.Position=A.Old.UDim2.new(0,Cell.Property.Size.X.Offset);
  10711.                                                 Cell.ValueButton.Size=A.Old.UDim2.new(1,-Cell.Property.Size.X.Offset,1);
  10712.                                                 Cell.ValueButton.Text=tostring(Win.WatchingObject.Value[Cell.SetProperty.Value]);
  10713.                                         end;
  10714.                                 end;
  10715.                                
  10716.                                
  10717.                                 Cell.Frame=A.Functions.Lock('Frame',{
  10718.                                                 Position=A.Old.UDim2.new(0,0,0,i~=1 and 20*(i-1)+1 or 1);
  10719.                                                 Visible=function()return Cell.SetProperty.Value~='';end;
  10720.                                                 Size=A.Old.UDim2.new(1,0,0,18);
  10721.                                                 BackgroundTransparency=1;
  10722.                                                 Parent=this.Frame;
  10723.                                         }
  10724.                                 );
  10725.                                
  10726.                                 Cell.Property=A.Functions.Lock('TextLabel',{
  10727.                                                 Size=function()return Cell.Property~=nil and A.Old.UDim2.new(0,Cell.Property.TextBounds.X,1)or A.Old.UDim2.Pax;end;
  10728.                                                 Text=function()return Cell.SetProperty.Value..' ';end;
  10729.                                                 BackgroundColor3=A.Old.Color3.DarkRed;
  10730.                                                 TextWrapped=false;
  10731.                                                 Parent=Cell.Frame;
  10732.                                                 TextWrap=false;
  10733.                                                 FontSize=1;
  10734.                                         }
  10735.                                 );
  10736.                                 Cnr[#Cnr+1]=Cell.Property;
  10737.  
  10738.                                 Cell.ValueButton=A.Functions.Button('TextButton',{
  10739.                                                 Text=function()return(Cell.SetProperty.Value~=''and Win.WatchingObject.Value~=nil)and tostring(Win.WatchingObject.Value[Cell.SetProperty.Value])or'';end;
  10740.                                                 Position=function()return A.Old.UDim2.new(0,Cell.Property.Size.X.Offset);end;
  10741.                                                 Size=function()return A.Old.UDim2.new(1,-Cell.Property.Size.X.Offset,1);end;
  10742.                                                 Parent=Cell.Frame;
  10743.                                                 TextXAlignment=0;
  10744.                                                 FontSize=1;
  10745.                                         },function()
  10746.                                                 this.SetProperty=Cell.SetProperty.Value;
  10747.                                                 this.TextBox(Cell.ValueButton);Wait();
  10748.                                                 Cell.ValueButton.Text=tostring(Win.WatchingObject.Value[Cell.SetProperty.Value]);
  10749.                                         end
  10750.                                 );
  10751.                                 Cnr[#Cnr+1]=Cell.ValueButton;
  10752.                                
  10753.                         end;
  10754.  
  10755.                 end;--Properties end;
  10756.  
  10757.                 this.Count(0,Game);
  10758.  
  10759.  
  10760.                 Win.Frames[Name]=this;
  10761.         end;
  10762.  
  10763.         A.Functions.TransparencyContact(Cnr);
  10764.        
  10765. end;
  10766. A.Functions.AddKey=function(Key,Function)
  10767.         if(A.Stuffs.Security==true)then
  10768.                 if(A.KeyCommands[Key]==nil)then A.KeyCommands[Key]={};end;
  10769.                 A.KeyCommands[#A.KeyCommands+1]=Function;
  10770.                 A.Service.GuiService.AddKey(Key);
  10771.                 Key,Function=nil;
  10772.         end;
  10773. end;
  10774. A.Functions.DoKeyCommand=function(Key)
  10775.         if(A.KeyCommands[Key]~=nil)then
  10776.                 for Int=1,#A.KeyCommands[Key]do
  10777.                         A.KeyCommands[Key][Int]();
  10778.                         Int=nil;
  10779.                 end;
  10780.         end;Key=nil;
  10781. end;
  10782. A.Functions.Heal=function(Corpse)--From first Local Admin :3
  10783.         if(Corpse)then
  10784.                 local Humanoid=A.Functions.FindObject(Corpse,'className','Humanoid');
  10785.                 if(Humanoid==nil)then
  10786.                         return nil;
  10787.                 else
  10788.                         if(Humanoid.Health<=0)then
  10789.                                 return nil;
  10790.                         end;
  10791.                         Humanoid.Health=Humanoid.MaxHealth
  10792.                 end;
  10793.                 for i,v in next,A.Data.CharacterLimbs do
  10794.                         if(Corpse:FindFirstChild(i)==nil)then
  10795.                                 local Limb=A.Functions.Peace('Part',{
  10796.                                         CanCollide=false;
  10797.                                         BottomSurface=0;
  10798.                                         Parent=Corpse;
  10799.                                         TopSurface=0;
  10800.                                         formFactor=0;
  10801.                                         Size=v.Size;
  10802.                                         Name=i;
  10803.                                 });
  10804.                                 if(v.C0 and v.C1)then
  10805.                                         local Weld=A.Old.Instance.NewObject('Motor6D',Corpse:FindFirstChild'Torso');
  10806.                                         if(Weld.Parent)then
  10807.                                                 Limb.Position=Weld.Parent.Position;
  10808.                                                 Weld.Name=v.Name;
  10809.                                                 Weld.Part0=Weld.Parent;
  10810.                                                 Weld.Part1=Limb;
  10811.                                                 Weld.C0=v.C0;
  10812.                                                 Weld.C1=v.C1;
  10813.                                                 Weld.MaxVelocity=.1;
  10814.                                         end;
  10815.                                         Weld=nil;
  10816.                                 end;
  10817.                                 Limb,i,v=nil;
  10818.                         end;
  10819.                         i,v=nil;
  10820.                 end;
  10821.                 local Skin=Corpse:FindFirstChild'Body Colors';
  10822.                 if(Skin~=nil)then
  10823.                         Skin.Parent=nil;
  10824.                         Skin.Parent=Corpse;
  10825.                 end;
  10826.                 local Animate=Corpse:FindFirstChild'Animate';
  10827.                 if(Animate~=nil)then
  10828.                         Animate.Parent=nil;
  10829.                         Animate.Parent=Corpse;
  10830.                 end;
  10831.         end;
  10832. end;
  10833. A.Functions.CreateWeld=function(Part0,Part1,C0,C1)
  10834.         local Weld=A.Old.Instance.NewObject('Motor',Part0);
  10835.                 Weld.Part0=Part0;
  10836.                 Weld.Part1=Part1;
  10837.                 if(C0~=nil)then
  10838.                         Weld.C0=C0;
  10839.                 end;
  10840.                 if(C1~=nil)then
  10841.                         Weld.C1=C1;
  10842.                 end;
  10843.         return Weld;
  10844. end;
  10845. A.Functions.MemeGui=function()
  10846.         local Win=A.Functions.GiveWindow('Memes',300,300);
  10847.         if(Win==nil)then
  10848.                 return nil;
  10849.         end;
  10850.  
  10851.         Win.Title.Position=A.Old.UDim2.new(.5,-150);
  10852.  
  10853.         Win.SetPos=A.Functions.Value('Number',0,function(Value)
  10854.                 Win.Status.Text=Value;
  10855.                 Win.Image.Image=Value;
  10856.         end);
  10857.  
  10858.  
  10859.         Win.Memes={};local Num=0;
  10860.         for i,v in next,A.Images.Meme do Num=Num+1;--[[Num+=1; don't work :'( ]]
  10861.                 Win.Memes[Num]={Name=i;ID=v;};
  10862.         end;Win.NumMemes=#Win.Memes;
  10863.  
  10864.         Win.Status=A.Functions.Lock('TextLabel',{
  10865.                         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;
  10866.                         Position=A.Old.UDim2.new(0,20);
  10867.                         Size=A.Old.UDim2.new(1,-40,1);
  10868.                         TextColor3=A.Old.Color3.White;
  10869.                         BackgroundTransparency=1;
  10870.                         Parent=Win.Menu;
  10871.                         FontSize=2;
  10872.                 }
  10873.         );
  10874.         Win.Image=A.Functions.Lock('ImageLabel',{
  10875.                         Image=function()return A.Data.BaseUrl..Win.Memes[Win.SetPos.Value+1].ID;end;
  10876.                         Position=A.Old.UDim2.Pax;
  10877.                         Size=A.Old.UDim2.Full;
  10878.                         Parent=Win.Frame;
  10879.                 }
  10880.         );
  10881.  
  10882.         local Cnr={};
  10883.         local Num;
  10884.         for i=0,1 do
  10885.                 local Plus=i==0 and -1 or 1;
  10886.                 Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
  10887.                                 Position=A.Old.UDim2.new(i,i==1 and -20);
  10888.                                 BackgroundColor3=A.Old.Color3.Grey;
  10889.                                 TextColor3=A.Old.Color3.Black;
  10890.                                 Size=A.Old.UDim2.new(0,20,1);
  10891.                                 Text=i==0 and'<'or'>';
  10892.                                 Parent=Win.Menu;
  10893.                                 FontSize=2;
  10894.                         },function()
  10895.                                 Num=Win.SetPos.Value+Plus;
  10896.                                 if(Num>=Win.NumMemes)then
  10897.                                         Num=0;
  10898.                                 end;
  10899.                                 if(Num<0)then
  10900.                                         Num=Win.NumMemes-1;
  10901.                                 end;
  10902.                                 Win.SetPos.Value=Num;
  10903.                         end
  10904.                 );
  10905.                 A.Functions.Button('TextButton',{
  10906.                                 TextColor3=i==0 and A.Old.Color3.White or A.Old.Color3.DarkRed;
  10907.                                 Position=A.Old.UDim2.new(i/2,0,1,-20);
  10908.                                 Size=A.Old.UDim2.new(.5,0,0,20);
  10909.                                 Text=i==0 and'Wear'or'Drop';
  10910.                                 BackgroundTransparency=1;
  10911.                                 TextStrokeTransparency=0;
  10912.                                 Parent=Win.Frame;
  10913.                                 FontSize=3;
  10914.                         },i==0 and function()
  10915.                                 A.Functions.MakeMeme(Win.Memes[Win.SetPos.Value+1].ID,A.User.C.Character);
  10916.                         end or function()
  10917.                                 A.Functions.MakeMeme('reset!',A.User.C.Character);
  10918.                         end
  10919.                 );
  10920.         end;
  10921.  
  10922.         A.Functions.TransparencyContact(Cnr);
  10923.        
  10924. end;
  10925. A.Functions.SettingWait=function(Name,Bool)
  10926.         if(A.Settings[Name].Value~=Bool)then
  10927.                 A.Settings[Name].Changed:wait();
  10928.         end;
  10929.         return A.Settings[Name];
  10930. end;
  10931. A.Functions.FindWithOutside=function(Start,End)
  10932.         local Type=type(End);
  10933.         if(Type=='userdata')then
  10934.                 local Stepped=0;
  10935.                 if(Start.Parent~=End)then
  10936.                         while(Start.Parent~=End and Stepped<50)do
  10937.                                 Start=Start.Parent;
  10938.                                 Stepped=Stepped+1;
  10939.                         end;
  10940.                 end;
  10941.         elseif(Type=='string')then
  10942.                 local Stepped=0;
  10943.                 if(Start.Parent.className~=End)then
  10944.                         while(Start.Parent.className~=End and Stepped<50)do
  10945.                                 Start=Start.Parent;
  10946.                                 Stepped=Stepped+1;
  10947.                         end;
  10948.                 end;
  10949.         end;
  10950.        
  10951.         return Start;
  10952. end;
  10953. A.Functions.ResizeChar=function(Char,Plus_Size)
  10954.         local Torso=Char.Torso;
  10955.  
  10956.         Torso.Anchored=true;
  10957.         Torso.BottomSurface=0;
  10958.         Torso.TopSurface=0;
  10959.        
  10960.         A.Functions.Remove(Char:FindFirstChild'Shirt',true);
  10961.         A.Functions.Remove(Char:FindFirstChild'Pants',true);
  10962.        
  10963.         local Virus=Char:FindFirstChild'Shirt Graphic';
  10964.         if(Virus~=nil)then
  10965.                 Virus:Destroy();
  10966.         end;
  10967.        
  10968.         local Welds={};
  10969.         local Change;Change=function(Object)
  10970.                 for i,Weld in next,Object:children()do
  10971.                         if(Weld.className=='Weld'or Weld.className=='Motor'or Weld.className=='Motor6D')then
  10972.                                 local Part=Weld.Part1;
  10973.  
  10974.                                 Part.Anchored=true;
  10975.  
  10976.                                 Weld.Part1=nil;
  10977.  
  10978.                                 local r01,r02,r03,r04,r05,r06,r07,r08,r09,r10,r11,r12=Weld.C0:components();
  10979.                                 Weld.C0=A.Old.CFrame.new(r01*Plus_Size,r02*Plus_Size,r03*Plus_Size,r04,r05,r06,r07,r08,r09,r10,r11,r12);
  10980.                                 local r01,r02,r03,r04,r05,r06,r07,r08,r09,r10,r11,r12=Weld.C1:components();
  10981.                                 Weld.C1=A.Old.CFrame.new(r01*Plus_Size,r02*Plus_Size,r03*Plus_Size,r04,r05,r06,r07,r08,r09,r10,r11,r12);
  10982.  
  10983.                                 if(Part.Name~='Head')then
  10984.                                         Part.formFactor=3;
  10985.                                         Part.Size=Part.Size*Plus_Size;
  10986.                                 else
  10987.                                         for i,v in next,Part:children()do
  10988.                                                 if(v.className=='Weld')then
  10989.                                                         v.Part0=nil;
  10990.                                                         v.Part1.Anchored=true;
  10991.                                                 end;
  10992.                                         end;
  10993.                                         Part.formFactor=3;
  10994.                                         Part.Size=Part.Size*Plus_Size;
  10995.                                         for i,v in next,Part:children()do
  10996.                                                 if(v.className=='Weld')then
  10997.                                                         v.Part0=Part;
  10998.                                                         v.Part1.Anchored=false;
  10999.                                                 end;
  11000.                                         end;
  11001.                                 end;
  11002.                                        
  11003.                                 if(Weld.Parent==Torso)then
  11004.                                         Part.BottomSurface=0;
  11005.                                         Part.TopSurface=0;
  11006.                                 end;
  11007.                                
  11008.                                 Part.Anchored=false;
  11009.  
  11010.                                 Weld.Part1=Part;
  11011.  
  11012.                                 if(Weld.Part0==Torso)then
  11013.                                         Welds[#Welds+1]=Weld;
  11014.                                         Part.Anchored=true;
  11015.                                         Weld.Part0=nil;
  11016.                                 end;
  11017.                         elseif(Weld.className=='CharacterMesh')then
  11018.                                 local Body_Part=tostring(Weld.BodyPart):match'%w+.%w+.(%w+)';
  11019.                                 local Mesh=A.Old.Instance.NewObject('SpecialMesh',
  11020.                                         Body_Part=='Head'and Char:FindFirstChild'Head'or Body_Part=='Torso'and Char:FindFirstChild'Torso'or
  11021.                                         Body_Part=='LeftArm'and Char:FindFirstChild'Left Arm'or Body_Part=='RightArm'and Char:FindFirstChild'Right Arm'or
  11022.                                         Body_Part=='LeftLeg'and Char:FindFirstChild'Left Leg'or Body_Part=='RightLeg'and Char:FindFirstChild'Right Leg'or nil);
  11023.                                         Mesh.MeshId=A.Data.BaseUrl..Weld.MeshId;
  11024.                                         if(Weld.BaseTextureId~=0 or Weld.BaseTextureId~='0')then
  11025.                                                 Mesh.TextureId=A.Data.BaseUrl..Weld.BaseTextureId;
  11026.                                         end;
  11027.                                         Mesh.Scale=Mesh.Scale*Plus_Size;
  11028.                                         Weld:Destroy();
  11029.                         elseif(Weld.className=='SpecialMesh'and Weld.Parent~=Char.Head)then
  11030.                                 Weld.Scale=Weld.Scale*Plus_Size;
  11031.                         end;
  11032.                         Change(Weld);
  11033.                 end;
  11034.         end;
  11035.  
  11036.         Change(Char);
  11037.  
  11038.         Torso.formFactor=3;
  11039.         Torso.Size=Torso.Size*Plus_Size;
  11040.        
  11041.         for i,v in next,Welds do
  11042.                 v.Part0=Torso;
  11043.                 v.Part1.Anchored=false;
  11044.         end;
  11045.  
  11046.         Torso.Anchored=false;
  11047.         --[[
  11048.         Wait(1);
  11049.        
  11050.         if(Shirts~=nil)then
  11051.                 Shirts.Parent=Char;
  11052.         end;
  11053.         if(Pants~=nil)then
  11054.                 Pants.Parent=Char;
  11055.         end;]]
  11056. end;
  11057. --[[Functions end;]]
  11058.  
  11059.  
  11060. --[[Old]]
  11061. local Table;
  11062. for i,Name in next,{
  11063.                 'BrickColor';
  11064.                 'Instance';
  11065.                 'Vector3';
  11066.                 'Vector2';
  11067.                 'Color3';
  11068.                 'CFrame';
  11069.                 'UDim2';
  11070.                 'UDim';
  11071.                 'Ray';
  11072.         }do
  11073.         Table=loadstring('return '..Name)();
  11074.         if(Table~=nil)then
  11075.                 A.Old[Name]=A.Functions.CopyTable(Table);
  11076.         end;i,Name=nil;
  11077. end;
  11078.  
  11079. A.Old.Instance.NewObject=A.Old.Instance.new;
  11080. A.Old.Instance.new=function(Object,Data)
  11081.         local Class=Object;
  11082.         Object,Data=A.Functions.GiveData(A.Old.Instance.NewObject(Object,Data));
  11083.  
  11084.         if(A.Stuffs.Gui.PartOfGui[Class]==true)then
  11085.                 Data.Properties.BackgroundColor3=function()return A.Old.Color3.Black;end;
  11086.                 Data.Properties.BorderSizePixel=function()return 0;end;
  11087.                 Data.Properties.Visible=function()return true;end;
  11088.         end;
  11089.         if(A.Stuffs.Gui.Text[Class]==true)then
  11090.                 Data.Properties.TextColor3=function()return A.Old.Color3.White;end;
  11091.                 Data.Properties.TextWrapped=function()return true;end;
  11092.                 Data.Properties.TextWrap=function()return true;end;
  11093.         end;
  11094.         if(A.Stuffs.Gui.Image[Class]==true)then
  11095.                 Data.Properties.BackgroundTransparency=function()return 1;end;
  11096.         end;
  11097.         if(A.Stuffs.Gui.Button[Class]==true)then
  11098.                 Data.Properties.AutoButtonColor=function()return false;end;
  11099.                 Data.Properties.Active=function()return true;end;
  11100.         end;Class=nil;
  11101.  
  11102.         Data.Properties.archivable=function()return false;end;
  11103.         Data.Properties.Archivable=function()return false;end;
  11104.         Data.Properties.Name=function()return'';end;
  11105.  
  11106.         pcall(A.Functions.Peace,Object,Data.Properties);
  11107.  
  11108.         return Object,Data;
  11109. end;
  11110.  
  11111. A.Old.Color3.Red=A.Old.Color3.new(1);
  11112. A.Old.Color3.Black=A.Old.Color3.new();
  11113. A.Old.Color3.Green=A.Old.Color3.new(0,1);
  11114. A.Old.Color3.Blue=A.Old.Color3.new(0,0,1);
  11115. A.Old.Color3.DarkRed=A.Old.Color3.new(.8);
  11116. A.Old.Color3.Yellow=A.Old.Color3.new(1,1);
  11117. A.Old.Color3.White=A.Old.Color3.new(1,1,1);
  11118. A.Old.Color3.Grey=A.Old.Color3.new(.5,.5,.5);
  11119. A.Old.Color3.DarkGreen=A.Old.Color3.new(0,.8);
  11120. A.Old.Color3.DarkBlue=A.Old.Color3.new(0,0,.8);
  11121. A.Old.Color3.DarkBlue=A.Old.Color3.new(0,0,.8);
  11122. A.Old.Color3.DarkYellow=A.Old.Color3.new(.7,.7);
  11123.  
  11124. A.Old.CFrame.Pax=A.Old.CFrame.new();
  11125. A.Old.CFrame.Char=A.Old.CFrame.new(0,3,0);
  11126.  
  11127. A.Old.Vector3.Pax=A.Old.CFrame.Pax.p;
  11128. A.Old.Vector3.Char=A.Old.CFrame.Char.p;
  11129. A.Old.Vector3.Jump=A.Old.Vector3.new(0,100);
  11130.  
  11131.  
  11132. A.Old.BrickColor.White=A.Old.BrickColor.new'1001';
  11133. A.Old.BrickColor.Black=A.Old.BrickColor.new'1003';
  11134.  
  11135. A.Old.UDim2.Pax=A.Old.UDim2.new();
  11136. A.Old.UDim2.Full=A.Old.UDim2.new(1,0,1);
  11137. A.Old.UDim2.ButtonSize=UDim2.new(0,20,0,20);
  11138. A.Old.UDim2.ScreenPos=A.Old.UDim2.new(0,0,0,-1);
  11139. A.Old.UDim2.ScreenSize=A.Old.UDim2.new(1,0,1,1);
  11140. --[[Old end;]]
  11141.  
  11142.  
  11143. --[[Data]]
  11144. A.Data.Step=[=[;]=];
  11145. A.Data.Start=[=[']=];
  11146. A.Data.Wrap=[=[ & ]=];
  11147. A.Data.Repeat=[=[##]=];
  11148. A.Data.RbxUrl='rbxassetid://';
  11149. A.Data.BaseUrl='http://www.roblox.com/Asset/?id=';
  11150. A.Data.CharacterLimbs={
  11151.         ['Torso']={
  11152.                 Size=A.Old.Vector3.new(2,2,1);
  11153.         };
  11154.         ['Head']={
  11155.                 C1=A.Old.CFrame.new(0,-0.5,0,-1,-0,-0,0,0,1,0,1,0);
  11156.                 C0=A.Old.CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0);
  11157.                 Size=A.Old.Vector3.new(2,1,1);
  11158.                 Name='Neck';
  11159.         };
  11160.         ['Right Arm']={
  11161.                 C1=A.Old.CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,-0,-0);
  11162.                 C0=A.Old.CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,-0,-0);
  11163.                 Size=A.Old.Vector3.new(1,2,1);
  11164.                 Name='Right Shoulder'
  11165.         };
  11166.         ['Right Leg']={
  11167.                 C1=A.Old.CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,-0,-0);
  11168.                 C0=A.Old.CFrame.new(1,-1,0,0,0,1,0,1,0,-1,-0,-0);
  11169.                 Size=A.Old.Vector3.new(1,2,1);
  11170.                 Name='Right Hip'
  11171.         };
  11172.         ['Left Arm']={
  11173.                 C1=A.Old.CFrame.new(0.5,0.5,0,-0,-0,-1,0,1,0,1,0,0);
  11174.                 C0=A.Old.CFrame.new(-1,0.5,0,-0,-0,-1,0,1,0,1,0,0);
  11175.                 Size=A.Old.Vector3.new(1,2,1);
  11176.                 Name='Left Shoulder'
  11177.         };
  11178.         ['Left Leg']={
  11179.                 C1=A.Old.CFrame.new(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0);
  11180.                 C0=A.Old.CFrame.new(-1,-1,0,-0,-0,-1,0,1,0,1,0,0);
  11181.                 Size=A.Old.Vector3.new(1,2,1);
  11182.                 Name='Left Hip'
  11183.         };
  11184. };
  11185. --[[Data end;]]
  11186.  
  11187.  
  11188. --[[Stuffs]]
  11189. A.Stuffs.Gui={
  11190.         PartOfGui={
  11191.                 ImageButton=true;
  11192.                 TextButton=true;
  11193.                 ImageLabel=true;
  11194.                 TextLabel=true;
  11195.                 TextBox=true;
  11196.                 Frame=true;
  11197.         };
  11198.         Text={
  11199.                 TextButton=true;
  11200.                 TextLabel=true;
  11201.                 TextBox=true;
  11202.         };
  11203.         Image={
  11204.                 ImageButton=true;
  11205.                 ImageLabel=true;
  11206.         };
  11207.         Button={
  11208.                 ImageButton=true;
  11209.                 TextButton=true;
  11210.         };
  11211. };
  11212. A.Stuffs.TrueBooleans={
  11213.         ['of course']=true;
  11214.         ['not false']=true;
  11215.         ['why not']=true;
  11216.         ['off on']=true;
  11217.         ['yahwol']=true;
  11218.         ['not 0']=true;
  11219.         ['true']=true;
  11220.         ['yes']=true;
  11221.         ['yep']=true;
  11222.         ['yup']=true;
  11223.         ['on']=true;
  11224.         ['ya']=true;
  11225.         ['y']=true;
  11226.         ['1']=true;
  11227. };
  11228. A.Stuffs.Security=pcall(function()return Game.RobloxLocked;end);
  11229. local Asd;
  11230. A.Stuffs.AsciiNum={};
  11231. A.Stuffs.AsciiChar={};
  11232. for i=0,255 do
  11233.         Asd=string.char(i);
  11234.         A.Stuffs.AsciiNum[Asd]=i;
  11235.         A.Stuffs.AsciiChar[i]=Asd;i=nil;
  11236. end;Asd=nil;
  11237. A.Stuffs.CharVirus={
  11238.         ['Shirt Graphic']='ShirtGraphic';
  11239.         ['RobloxTeam']='Script';
  11240.         ['Sound']='Script';
  11241. };
  11242. A.Stuffs.GuideCommands={
  11243.         ['-r']='<Property>';
  11244.         ['-x']='<Position>';
  11245.         ['-b']='<Boolean>';
  11246.         ['-p']='<Player>';
  11247.         ['-v']='<Value>';
  11248.         ['-s']='<Size>';
  11249.         ['-t']='<Text>';
  11250.         ['-i']='<Path>';
  11251. };
  11252. A.Stuffs.NullTable={};
  11253. A.Stuffs.StarterSource=[==[if(Game.PlaceId~=0)then print=function()end;end;local Users=Game:service'Players';local User=Users.LocalPlayer; ]==];
  11254. --[[Stuffs end;]]
  11255.  
  11256.  
  11257. --[[Settings]]
  11258. A.Settings['Security of character']=false;
  11259. A.Settings['Windows transparency']=true;
  11260. A.Settings['Big jumps']=false;
  11261. A.Settings.HealthBar=false;
  11262. A.Settings.Immortal=false;
  11263. --[[Settings end;]]
  11264.  
  11265.  
  11266. --[[Service]]
  11267. for i,v in next,Game:children()do
  11268.         pcall(function()
  11269.                 if(Game:service(v.className)~=nil)then
  11270.                         A.Service[v.className]=v;
  11271.                 end;i,v=nil;
  11272.         end);
  11273. end;
  11274. --[[Service end;]]
  11275.  
  11276.  
  11277.  
  11278. --[=[Create gui module
  11279.         Exemple:
  11280.  
  11281. A.Functions.CreateGuiModule(function()
  11282.  
  11283. end);
  11284.  
  11285. ]=]
  11286. A.Functions.CreateGuiModule(function()
  11287.         for i,v in next,{'Hints';'Messages';'Other';'Windows';'First';}do
  11288.                 A.User.Frames[v]=A.Functions.Lock('Frame',{
  11289.                                 Position=A.Old.UDim2.ScreenPos;
  11290.                                 Size=A.Old.UDim2.ScreenSize;
  11291.                                 BackgroundTransparency=1;
  11292.                                 Parent=A.User.Screen;
  11293.                                 Name=v;
  11294.                         }
  11295.                 );i,v=nil;
  11296.         end;
  11297. end);
  11298. A.Functions.CreateGuiModule(function()
  11299.         A.Stuffs.MenuButton=A.Functions.Lock('Sound',{
  11300.                         SoundId='rbxasset://sounds/switch.wav';
  11301.                         Parent=A.User.Screen;
  11302.                         Volume=.5;
  11303.                         Pitch=2;
  11304.                 }
  11305.         );
  11306.         A.Stuffs.Button=A.Functions.Lock('Sound',{
  11307.                         SoundId='rbxasset://sounds/SWITCH3.wav';
  11308.                         Parent=A.User.Screen;
  11309.                         Volume=.2;
  11310.                         Pitch=2;
  11311.                 }
  11312.         );
  11313. end);
  11314. A.Functions.CreateGuiModule(function()
  11315.         local Frame;
  11316.         local Pos1,Pos2=A.Old.UDim2.new(0,-110,1,-145),A.Old.UDim2.new(0,0,1,-145);
  11317.  
  11318.         local MouseEnter=A.Functions.Value('Bool',false,function(Value)
  11319.                 A.User.MenuButton.Position=Value==true and Pos2 or Pos1;
  11320.                 A.User.MenuButton.Transparency=Value==true and 0 or .5;
  11321.         end);
  11322.         local Visible=A.Functions.Value('Bool',false,function(Value)A.User.MenuButton.Visible,MouseEnter.Value=Value==false;Frame.Visible=Value;end);
  11323.  
  11324.         local BF={};
  11325.         local AddButtonFunction=function(Title,Function,Security)
  11326.                 if(Security==true and A.Stuffs.Security==false)then
  11327.                         return nil;
  11328.                 end;
  11329.                 BF[#BF+1]={
  11330.                         Function=Function;
  11331.                         Title=Title;
  11332.                 };
  11333.         end;
  11334.  
  11335.         AddButtonFunction('Back to the game',function()Visible.Value=false;end);
  11336.         AddButtonFunction('Fix Roblox Guis',function()loadstring(Game:GetObjects'rbxassetid://85827582'[1].Value)();end,true);
  11337.         AddButtonFunction('Command Bar',function()A.Functions.CommandBar();end);
  11338.         AddButtonFunction('Show Memes',function()A.Functions.MemeGui();end);
  11339.         AddButtonFunction('Spawning',function()A.User.Char.Torso.CFrame=A.Functions.GetSpawnLocationCFrame();A.User.Char.Torso.Velocity=A.Old.Vector3.Pax;end);
  11340.         AddButtonFunction('Explorer',function()A.Functions.ExplorerGui();end);
  11341.         AddButtonFunction('Settings',function()A.Functions.SettingsGui();end);
  11342.         AddButtonFunction('Meters',function()A.Functions.Meter();end);
  11343.         AddButtonFunction('Reset',function()A.Functions.ResetChar(A.User.C);end);
  11344.         AddButtonFunction('Nuke',function()A.Functions.NukeChar(A.User.Char);end);
  11345.         AddButtonFunction('Help',function()A.Functions.HelpGui();end);
  11346.         AddButtonFunction('Heal',function()A.Functions.Heal(A.User.C.Character);end);
  11347.  
  11348.         AddButtonFunction=nil;
  11349.  
  11350.  
  11351.         A.User.MenuButton=A.Functions.Lock('TextButton',{
  11352.                         Transparency=function()return MouseEnter.Value==true and 0 or .5;end;
  11353.                         Visible=function()return Visible.Value==false;end;
  11354.                         Position=function()return MouseEnter.Value==true and Pos2 or Pos1;end;
  11355.                         TextColor3=A.Old.Color3.DarkYellow;
  11356.                         Size=A.Old.UDim2.new(0,125,0,20);
  11357.                         Parent=A.User.Frames.First;
  11358.                         Text='Menu of Ohgal';
  11359.                         FontSize=2;
  11360.                 },{
  11361.                         MouseEnter=function()
  11362.                                 MouseEnter.Value=true;
  11363.                                 A.User.MenuButton.MouseLeave:wait();
  11364.                                 MouseEnter.Value=false;
  11365.                         end;
  11366.                         MouseButton1Up=function()
  11367.                                 Visible.Value=true;
  11368.                                 A.Stuffs.MenuButton:play();
  11369.                         end;
  11370.                 }
  11371.         );
  11372.         coroutine.wrap(function()
  11373.                 A.User.MenuButton.MouseButton1Down:wait();
  11374.                 A.User.STARTUPMSG.Parent=nil;
  11375.         end)();
  11376.         Frame=A.Functions.Lock('Frame',
  11377.                 {
  11378.                         Position=A.Old.UDim2.new(.5,-200,.5,-((#BF*20)+5)/2);
  11379.                         Size=A.Old.UDim2.new(0,400,0,(#BF*20)+10);
  11380.                         Visible=function()return Visible.Value;end;
  11381.                         BackgroundColor3=A.Old.Color3.DarkRed;
  11382.                         Parent=A.User.Frames.First;
  11383.                         BackgroundTransparency=.5;
  11384.                 }
  11385.         );
  11386.         for Int,v in next,BF do
  11387.                 A.Functions.Button('TextButton',{
  11388.                                 Position=A.Old.UDim2.new(0,5,0,(20*(Int-1))+5);
  11389.                                 TextColor3=A.Old.Color3.DarkYellow;
  11390.                                 Size=A.Old.UDim2.new(1,-10,0,20);
  11391.                                 BackgroundTransparency=.5;
  11392.                                 AutoButtonColor=true;
  11393.                                 Text=v.Title;
  11394.                                 Parent=Frame;
  11395.                                 FontSize=5;
  11396.                                 Font=1;
  11397.                         },v.Function
  11398.                 );
  11399.         end;
  11400. end);
  11401. A.Functions.CreateGuiModule(function()
  11402.         Delay(0,function()
  11403.                 local Color1=A.Old.Color3.Black;
  11404.                 local Color2=A.Old.Color3.Red;
  11405.                 local Color3=A.Old.Color3.Red;
  11406.                 local Color4=A.Old.Color3.Black;
  11407.                 local Msg=A.Functions.Peace('TextLabel',{
  11408.                                 Text='Welcome!'..string.rep('\n',2)..'Remso - Local Admin';
  11409.                                 Position=A.Old.UDim2.new(.5,0,.5);
  11410.                                 BackgroundTransparency=.5;
  11411.                                 BackgroundColor3=Color1;
  11412.                                 Parent=A.User.Screen;
  11413.                                 TextColor3=Color2;
  11414.                                 BorderSizePixel=0;
  11415.                                 TextWrapped=true;
  11416.                                 FontSize=3;
  11417.                         }
  11418.                 );
  11419.                 A.User.STARTUPMSG=Msg;
  11420.                 Msg:TweenSizeAndPosition(A.Old.UDim2.new(0,300,0,70),A.Old.UDim2.new(.5,-150,.5,-35),1,2,1,false);
  11421.                 Wait(5);
  11422.                 Msg.BackgroundColor3=A.Old.Color3.Red;
  11423.                 Msg.TextColor3=A.Old.Color3.Black;
  11424.                 if(Msg.Parent~=nil)then
  11425.                         Msg:TweenSizeAndPosition(A.Old.UDim2.new(0,200,0,20),A.Old.UDim2.new(0,25,1,-145),1,1,1,false);
  11426.                         Msg.Text='<-- There is the MENU';
  11427.                         coroutine.wrap(function()
  11428.                                 for i=1,3 do
  11429.                                         Msg.BackgroundColor3=Color3;
  11430.                                         Msg.TextColor3=Color4;
  11431.                                         A.Functions.Wait(.3);
  11432.                                         Msg.BackgroundColor3=Color1;
  11433.                                         Msg.TextColor3=Color2;
  11434.                                         A.Functions.Wait(.3);
  11435.                                 end;
  11436.                         end)();
  11437.                         Wait(6);
  11438.                 end;
  11439.                 A.Functions.Remove(Msg,true);
  11440.         end);
  11441. end);
  11442. A.Functions.CreateGuiModule(function()
  11443.         A.Functions.SettingWait('HealthBar',true);
  11444.         A.User.Gui.HelathBar={};
  11445.         local this=A.User.Gui.HelathBar;
  11446.        
  11447.         if(A.User.Humanoid.Value==nil)then
  11448.                 A.User.Humanoid.Changed:wait();
  11449.         end;
  11450.  
  11451.         this.Fix=function()
  11452.                 this.Pos=A.Old.UDim2.new(this.SetHealth.Value/this.SetMaxHealth.Value,0,1);
  11453.                 if(this.HBar~=nil)then
  11454.                         this.HBar.Size=this.Pos;
  11455.                 end;
  11456.                 return this.Pos;
  11457.         end;
  11458.         this.FixStats=function()
  11459.                 this.Idk=this.Humanoid.Health/this.Humanoid.MaxHealth;
  11460.                 this.SetMaxHealth.Value=this.Humanoid.MaxHealth;
  11461.                 this.SetHealth.Value=this.Humanoid.Health;
  11462.                 this.SetColor.Value=(this.Idk<=.1)and A.Old.Color3.DarkRed or(this.Idk>.1 and this.Idk<=.5)and
  11463.                         A.Old.Color3.DarkYellow or(this.Idk>.5 and this.Idk<=1)and A.Old.Color3.Green or A.Old.Color3.Black;
  11464.         end;
  11465.  
  11466.         this.SetColor=A.Functions.Value('Color3',A.Old.Color3.Green,function(Color3)this.HBar.BackgroundColor3=Color3;Color3=nil;end);
  11467.         this.SetVisible=A.Functions.Value('Bool',true,function(Value)this.Frame.Visible=Value;Value=nil;end);
  11468.         this.SetMaxHealth=A.Functions.Value('Number',A.User.Humanoid.Value.MaxHealth,this.Fix);
  11469.         this.SetHealth=A.Functions.Value('Number',A.User.Humanoid.Value.Health,this.Fix);
  11470.  
  11471.         this.Frame=A.Functions.Lock('Frame',{
  11472.                         Visible=function()return this.SetVisible.Value;end;
  11473.                         Position=A.Old.UDim2.new(.5,-55,1,-25);
  11474.                         Size=A.Old.UDim2.new(0,110,0,20);
  11475.                         Parent=A.User.Frames.Other;
  11476.                         BackgroundTransparency=.5;
  11477.                 }
  11478.         );
  11479.         this.MHBar=A.Functions.Lock('Frame',
  11480.                 {
  11481.                         --BackgroundColor3=A.Old.Color3.DarkRed;
  11482.                         Position=A.Old.UDim2.new(0,5,0,5);
  11483.                         Size=A.Old.UDim2.new(1,-10,1,-10);
  11484.                         BackgroundTransparency=1;
  11485.                         Parent=this.Frame;
  11486.                 }
  11487.         );
  11488.         this.HBar=A.Functions.Lock('Frame',
  11489.                 {
  11490.                         BackgroundColor3=function()return this.SetColor.Value;end;
  11491.                         Position=A.Old.UDim2.Pax;
  11492.                         Parent=this.MHBar;
  11493.                 }
  11494.         );
  11495.         this.HBar.Size=this.Fix();
  11496.  
  11497.         this.Valid=true;
  11498.  
  11499.         coroutine.wrap(function()
  11500.                 while(A.Functions.Check()and this.Valid==true)do
  11501.                         this.SetVisible.Value=A.Settings.HealthBar.Value;
  11502.                         A.Settings.HealthBar.Changed:wait();
  11503.                 end;
  11504.         end)();
  11505.         coroutine.wrap(function()
  11506.                 while(A.Functions.Check()and this.Valid==true)do
  11507.                         A.Functions.SettingWait('HealthBar',true);
  11508.  
  11509.                         this.Humanoid=A.User.Humanoid.Value;
  11510.                         this.FixStats();
  11511.  
  11512.                         coroutine.wrap(function()
  11513.                                 while(A.Functions.Check()and A.User.Humanoid.Value==this.Humanoid)do
  11514.                                         this.Humanoid.HealthChanged:wait();
  11515.                                         this.FixStats();
  11516.                                 end;
  11517.                         end)();
  11518.  
  11519.                         A.User.Humanoid.Changed:wait();
  11520.                         this.Humanoid.MaxHealth=this.Humanoid.MaxHealth+1;
  11521.                 end;
  11522.         end)();
  11523.  
  11524. end);
  11525. --[[Create gui module end;]]
  11526.  
  11527.  
  11528. --[=[Module create
  11529.         Exemple:
  11530. A.Functions.CreateModule('Type',function()
  11531.  
  11532. end);
  11533. ]=]
  11534. A.Functions.CreateModule('Once',A.Functions.Screen);
  11535. A.Functions.CreateModule('Once',function()
  11536.  
  11537.         local Value=A.Functions.SettingWait('Immortal',true);
  11538.         local Val_;
  11539.  
  11540.         while(A.Functions.Check())do
  11541.                 Val_=Value.Value;
  11542.                 if(A.User.Humanoid.Value~=nil)then
  11543.                         A.User.Humanoid.Value.Name=Val_==true and'Immortal'or'Humanoid';
  11544.                         A.User.Humanoid.Value.MaxHealth=Val_==true and 1e666 or 100;
  11545.                         A.User.Humanoid.Value.Health=Val_==true and 1e666 or 100;
  11546.                 end;
  11547.                 Value.Changed:wait();
  11548.         end;
  11549.  
  11550. end);
  11551. A.Functions.CreateModule('Once',function()
  11552.         local Num;
  11553.         A.Stuffs.SecurityID=A.Stuffs.SecurityID and A.Stuffs.SecurityID+1 or 1;
  11554.         local Local_ID=A.Stuffs.SecurityID;
  11555.         while(A.Functions.Check()==true and A.Stuffs.SecurityID==Local_ID)do
  11556.                 A.Functions.Wait();
  11557.  
  11558.                 A.User.Char=A.User.C.Character;
  11559.  
  11560.                 if(A.User.Char~=nil and A.User.Char.PrimaryPart~=nil)then
  11561.                         A.Functions.LoadModule'Char';
  11562.                 end;
  11563.  
  11564.                 A.User.C.CharacterAdded:wait();
  11565.  
  11566.                 Num=#A.User.Connections;
  11567.                 for i=1,Num do A.User.Connections[i]:disconnect();i=nil;end;
  11568.                 for i=1,Num do A.User.Connections[i]=nil;i=nil;end;
  11569.         end;
  11570. end);
  11571. A.Functions.CreateModule('Char',function()
  11572.         _G['Ohgal - Char Security Version']=_G['Ohgal - Char Security']~=nil and _G['Ohgal - Char Security']+1 or 0;
  11573.         local CharSecurityVersion=_G['Ohgal - Char Security'];
  11574.         local Torso=A.User.Char.Torso
  11575.         while(A.Functions.Check()and CharSecurityVersion==_G['Ohgal - Char Security'])do
  11576.                 A.Functions.SettingWait('Security of character',true);
  11577.                 if(Torso.Position.Y<=-200 and Torso.Velocity.Y~=0)then
  11578.                         Torso.CFrame=A.Functions.GetSpawnLocationCFrame();
  11579.                         Torso.RotVelocity=A.Old.Vector3.Pax;
  11580.                         Torso.Velocity=A.Old.Vector3.Pax;
  11581.                 end;
  11582.                 A.Functions.Wait();
  11583.         end;
  11584. end);
  11585. A.Functions.CreateModule('Char',function()
  11586.         A.User.Humanoid.Value=A.Functions.FindObject(A.User.Char,'className','Humanoid');
  11587.  
  11588.         if(A.Settings.Immortal.Value==true)then
  11589.                         A.User.Humanoid.Value.Name='Immortal';
  11590.                         A.User.Humanoid.Value.MaxHealth=1e666;
  11591.                         A.User.Humanoid.Value.Health=1e666;
  11592.         end;
  11593.  
  11594.         coroutine.wrap(function()
  11595.                 local Humanoid=A.User.Humanoid.Value;
  11596.                 while(Humanoid==A.User.Humanoid.Value and A.Functions.Check()==true)do
  11597.                         A.Functions.SettingWait('Big jumps',true);
  11598.                         Humanoid.Jumping:wait();
  11599.                         if(A.Settings['Big jumps'].Value==true)then
  11600.                                 Humanoid.Torso.Velocity=A.Old.Vector3.Jump;
  11601.                         end;
  11602.                 end;
  11603.         end)();
  11604.  
  11605.         for i,v in next,A.User.Char:children()do
  11606.                 if(A.Stuffs.CharVirus[v.Name]==v.className)then
  11607.                         A.Functions.Remove(v,true);
  11608.                 end;i,v=nil;
  11609.         end;
  11610.         A.Functions.Connect(A.User.Char,'ChildAdded',function(v)
  11611.                 if(A.Stuffs.CharVirus[v.Name]==v.className)then
  11612.                         A.Functions.Remove(v,true);
  11613.                 end;v=nil;
  11614.         end,A.User);
  11615.         if(A.Stuffs.CharVirus.Sound==nil)then return nil;end;
  11616.         for i,v in next,A.User.Char.PrimaryPart:children()do
  11617.                 if(v.Name=='Sound'and v.className=='Sound'and v.archivable==false)then
  11618.                         A.Functions.Remove(v,true);
  11619.                 end;i,v=nil;
  11620.         end;
  11621.         A.Functions.Connect(A.User.Char.PrimaryPart,'ChildAdded',function(v)
  11622.                 if(v.Name=='Sound'and v.className=='Sound'and v.archivable==false)then
  11623.                         A.Functions.Remove(v,true);
  11624.                 end;v=nil;
  11625.         end,A.User);
  11626. end);
  11627. A.Functions.CreateModule('PlayerGui',A.Functions.GuisParent);
  11628. A.Functions.CreateModule('PlayerGui',function()
  11629.         local Old=A.User.PlayerGui;
  11630.         coroutine.wrap(function()
  11631.                 local Virus;
  11632.                 while(A~=nil and A.Functions.Check()and Old==A.User.PlayerGui)do
  11633.                         if(Virus==nil)then
  11634.                                 Virus=Old:FindFirstChild'HealthGUI';
  11635.                         else
  11636.                                 Virus=Virus.Name=='HealthGUI'and Virus or nil;
  11637.                         end;
  11638.                         if(Virus~=nil)then
  11639.                                 A.Functions.VisibleOfHealthGUI(A.Settings.HealthBar.Value==false);
  11640.                                 Virus=Virus:FindFirstChild'hurtOverlay';
  11641.                                 if(Virus)then
  11642.                                         A.Functions.Remove(Virus,true);
  11643.                                 end;
  11644.                         end;
  11645.                         Virus=Old.ChildAdded:wait();Wait();
  11646.                 end;
  11647.         end)();
  11648.         while(Old.Parent~=nil)do Old.Changed:wait();end;
  11649.         A.Old.Instance.NewObject('BoolValue',Old);
  11650. end);
  11651.  
  11652. --[[Module create end;]]
  11653.  
  11654.  
  11655.  
  11656. --[=[Call create
  11657.         Exemple:
  11658.  
  11659. A.Functions.CreateCall([[Description]],{},function(Self)
  11660.  
  11661. end);
  11662.  
  11663. ]=]
  11664. A.Functions.CreateCall([[For you]],{'me!';'myself!';'satan!';},function(Self)
  11665.         return Self==A.User.C;
  11666. end);
  11667. A.Functions.CreateCall([[For they]],{'other!';'noobs!';'idiots!';'notme!';},function(Self)
  11668.         return Self~=A.User.C;
  11669. end);
  11670. A.Functions.CreateCall([[For players]],{'players!';},function(Self)
  11671.         return Self.userId>0;
  11672. end);
  11673. A.Functions.CreateCall([[For guests]],{'guests!';},function(Self)
  11674.         return Self.userId<1;
  11675. end);
  11676. A.Functions.CreateCall([[For random player]],{'random!';'rand!';},function(Self)
  11677.         return math.random(1,4)==1;
  11678. end);
  11679. A.Functions.CreateCall([[For each]],{'all!';'each!'},function(Self)
  11680.         return true;
  11681. end);
  11682. --[[Call create end;]]
  11683.  
  11684.  
  11685.  
  11686. A.Functions.SetupCommands=function()
  11687. --[==[Command create
  11688.  Exemple:
  11689.  
  11690. A.Functions.CreateCommand([[Title]],{},[[Description]],[[]],1,function(Text,FullText,Args)
  11691.  
  11692. end);
  11693.  
  11694. ]==]
  11695. 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)
  11696.         if(A.Stuffs.Loops==nil)then
  11697.                 A.Stuffs.Loops={};
  11698.         end;
  11699.  
  11700.         local Value=Args[2]:lower()~='abort!'and true or nil;
  11701.  
  11702.         if(Value==true and A.Stuffs.Loops[Args[1]]~=nil)then
  11703.                 error(Args[1]..' already run...');
  11704.                 return nil;
  11705.         end;
  11706.         A.Stuffs.Loops[Args[1]]=Value;
  11707.         if(A.Stuffs.Loops[Args[1]]==nil)then
  11708.                 return nil;
  11709.         end;
  11710.         local Repeat=tonumber(Args[2]);
  11711.         local Delay=tonumber(Args[3]);
  11712.         local Command=A.Data.Start..FullText:match(Args[1]..A.Data.Step..Args[2]..A.Data.Step..Args[3]..A.Data.Step..'(.+)');
  11713.         if(Delay>0)then
  11714.                 for i=1,Repeat do
  11715.                         if(A.Stuffs.Loops[Args[1]]==true)then
  11716.                                 A.Functions.SearchCommand(Command);
  11717.                                 Wait(Delay);
  11718.                         else
  11719.                                 break;
  11720.                         end;
  11721.                 end;
  11722.         else
  11723.                 for i=1,Repeat do
  11724.                         A.Functions.Thread(function()
  11725.                                 A.Functions.SearchCommand(Command);
  11726.                         end);
  11727.                 end;
  11728.         end;
  11729.         A.Stuffs.Loops[Args[1]]=nil;
  11730. end);
  11731. 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)
  11732.         if(Args[1] and Args[1]:lower()=='remove!')then
  11733.                 for i,v in next,A.Service.Workspace:children()do
  11734.                         if(v:FindFirstChild'Remso - Dummy')then
  11735.                                 A.Functions.Remove(v,true);
  11736.                         end;
  11737.                 end;
  11738.                 return nil;
  11739.         end;
  11740.         local Repeat=tonumber(Args[2])or 1;
  11741.         local Load,Position=pcall(function()return loadstring('local c={...};return c[1]('..Args[1]..')')(A.Old.CFrame.new);end);
  11742.         if(Load==false)then Position=A.Functions.Players(Args[1])[1].Character.Torso.CFrame;end;
  11743.         for i=1,Repeat do
  11744.                 local Dummy=A.Functions.Peace('Model',{
  11745.                                 Parent=A.Service.Workspace;
  11746.                                 Name='Dummy';
  11747.                         }
  11748.                 );
  11749.                 A.Old.Instance.NewObject('BoolValue',Dummy).Name='Remso - Dummy';
  11750.                 A.Old.Instance.NewObject('Humanoid',Dummy);
  11751.                 A.Functions.Peace('Part',{
  11752.                                 CFrame=Position*CFrame.Angles(0,math.rad(360/Repeat*i),0)*CFrame.new(5+.2*Repeat,0,0);
  11753.                                 Size=Vector3.new(2,2,1);
  11754.                                 BottomSurface=0;
  11755.                                 TopSurface=0;
  11756.                                 formFactor=3;
  11757.                                 Parent=Dummy;
  11758.                                 Name='Torso';
  11759.                         }
  11760.                 );
  11761.                 A.Functions.Heal(Dummy);
  11762.                 A.Old.Instance.NewObject('SpecialMesh',Dummy.Head).Scale=Vector3.new(1.25,1.25,1.25);
  11763.                 A.Functions.Peace('Decal',{
  11764.                                 Texture='rbxasset://textures/face.png';
  11765.                                 Parent=Dummy.Head;
  11766.                                 Name='face';
  11767.                                 Face=5;
  11768.                         }
  11769.                 );
  11770.         end;
  11771. end);
  11772. 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)
  11773.         local Transparency=tonumber(Args[1])or .5;
  11774.         A.Functions.All(A.Service.Workspace,function(Part)
  11775.                 if(Part:IsA'BasePart')then
  11776.                         Part.AlphaModifier=Transparency;
  11777.                 end;
  11778.         end);
  11779. end);
  11780. A.Functions.CreateCommand([[Teleport To A Place]],{'toplace';'tplace';'tpl';},[[Teleport to other places...]],[[-v-p]],2,function(Text,FullText,Args)
  11781.         local Teleport_ID=tonumber(Args[1]);
  11782.         A.Functions.Players(Args[2],function(Self)
  11783.                 if(Self==A.User.C)then
  11784.                         A.Services.TeleportService:Teleport(Teleport_ID);
  11785.                 else
  11786.                         A.Functions.CreateScript('LocalScript',Self,[[
  11787.                                 Game:service'TeleportService':Teleport(]]..Teleport_ID..[[);
  11788.                         ]]);
  11789.                 end;
  11790.         end);
  11791. end);
  11792. A.Functions.CreateCommand([[Execution]],{'execution';'execute';'exe';},[[Like localscripting but this works only for admin...]],[[-t]],0,function(Text,FullText,Args)
  11793.         local Exe=A.Old.Instance.NewObject'StringValue';
  11794.                 Exe.Name='Ohgal_Execution';
  11795.                 Exe.Parent=A.User.C;
  11796.                 Exe.Value=FullText;
  11797. end);
  11798. A.Functions.CreateCommand([[Resize Character]],{'resize';},[[Character resizing OLaloOLAolaol]],[[-p-v]],2,function(Text,FullText,Args)
  11799.         local Size=tonumber(Args[2]);
  11800.         if(Size==nil)then
  11801.                 return nil;
  11802.         end;
  11803.         A.Functions.Players(Args[1],function(Self)
  11804.                 A.Functions.ResizeChar(Self.Character,Size);
  11805.         end);
  11806. end);
  11807. A.Functions.CreateCommand([[Give Weapons]],{'giveweapons';'gws';},[[Give weapons from somebody to somebody...]],[[-p-p]],2,function(Text,FullText,Args)
  11808.         local Backpack=A.Functions.FindObject(A.Functions.Players(Args[2])[1],'className','Backpack');
  11809.         if(Backpack~=nil)then
  11810.                 A.Functions.Players(Args[1],function(Self)
  11811.                         if(Self.Character~=nil)then
  11812.                                 for i,v in next,Self.Character:children()do
  11813.                                         if(v.className=='Tool')then
  11814.                                                 v.Parent=Backpack;
  11815.                                         end;
  11816.                                 end;
  11817.                         end;
  11818.                         for i,v in next,Self.Backpack:children()do
  11819.                                 if(v.className=='Tool'or v.className=='HopperBin')then
  11820.                                         v.Parent=Backpack;
  11821.                                 end;
  11822.                         end;
  11823.                 end);
  11824.         end;
  11825. end);
  11826. A.Functions.CreateCommand([[Be Cute]],{'becute';'bc';},[[Be cute?]],[[-p]],1,function(Text,FullText,Args)
  11827.         A.Functions.Players(Args[1],function(Self)
  11828.                 local Parent=Self.Character;
  11829.  
  11830.                 if(Parent==nil)then
  11831.                         return nil;
  11832.                 end;
  11833.  
  11834.                 local StarterPos=A.Old.Vector3.Pax;
  11835.  
  11836.                 local Round=15;
  11837.                 local Asd=Round/5;
  11838.                 local Radius=.8*Parent.Torso.Size.X/2;
  11839.  
  11840.                 local PSize=.5;
  11841.  
  11842.                 local P={};
  11843.                 local Num=0;
  11844.  
  11845.                 for i,v in next,Parent:children()do
  11846.                         if(v.Name=='Pentagramma')then
  11847.                                 A.Functions.Remove(v,true);
  11848.                         elseif(v.Name=='Black Metal Set')then
  11849.                                 for i,v in next,v:children()do
  11850.                                         if(v.className=='Part')then
  11851.                                                 A.Functions.Remove(v,true);
  11852.                                         end;
  11853.                                 end;
  11854.                         end;
  11855.                 end;
  11856.  
  11857.                 local Warehouse=A.Old.Instance.NewObject('Model',Parent);
  11858.                         Warehouse.Name='Pentagramma';
  11859.  
  11860.                 for i=0,Round do
  11861.                         local Rad=math.rad((360/Round*i)+180);
  11862.                         local Pos=A.Old.Vector3.new(
  11863.                                 math.sin(Rad)*Radius,
  11864.                                 math.cos(Rad)*Radius,
  11865.                                 -Parent.Torso.Size.Z/2
  11866.                         );
  11867.                         if(i~=0)then Num=Num+1;
  11868.                                 if(Num==Asd)then
  11869.                                         Num=0;
  11870.                                         P[#P+1]=Pos;
  11871.                                 end;
  11872.                                 A.Functions.Peace('BlockMesh',{
  11873.                                                 Scale=A.Old.Vector3.new(PSize,PSize,(StarterPos-Pos).Magnitude*5.2)+A.Old.Vector3.new(math.random()/10,0,0);
  11874.                                                 Parent=A.Functions.CreateWeld(
  11875.                                                         Parent.Torso,
  11876.                                                         A.Functions.Peace('Part',{
  11877.                                                                         BrickColor=BrickColor.new(199);
  11878.                                                                         CFrame=Parent.Torso.CFrame;
  11879.                                                                         Size=A.Old.Vector3.Pax;
  11880.                                                                         CanCollide=false;
  11881.                                                                         Parent=Warehouse;
  11882.                                                                         formFactor=3;
  11883.                                                                 }
  11884.                                                         ),
  11885.                                                         A.Old.CFrame.new(StarterPos,Pos)*A.Old.CFrame.new(0,0,-(StarterPos-Pos).Magnitude/2)
  11886.                                                 ).Part1;
  11887.                                         }
  11888.                                 );
  11889.                         end;
  11890.                         StarterPos=Pos;
  11891.                 end;
  11892.  
  11893.                 for i,v in next,{{1;4;};{1;3;};{2;4;};{2;5;};{3;5;};}do --Make better...
  11894.                         local StarterPos=P[v[1]];
  11895.                         local Pos=P[v[2]];
  11896.                        
  11897.                         local Weld=A.Old.Instance.NewObject('Weld',Warehouse);
  11898.                         A.Functions.Peace('BlockMesh',{
  11899.                                         Scale=A.Old.Vector3.new(PSize-.2,PSize-.2,(StarterPos-Pos).Magnitude*5.2)+Vector3.new(math.random()/10,0,0);
  11900.                                         Parent=A.Functions.CreateWeld(
  11901.                                                 Parent.Torso,
  11902.                                                 A.Functions.Peace('Part',{
  11903.                                                                 BrickColor=BrickColor.new(194);
  11904.                                                                 CFrame=Parent.Torso.CFrame;
  11905.                                                                 Size=A.Old.Vector3.Pax;
  11906.                                                                 CanCollide=false;
  11907.                                                                 Parent=Warehouse;
  11908.                                                                 formFactor=3;
  11909.                                                         }
  11910.                                                 ),
  11911.                                                 CFrame.new(StarterPos,Pos)*CFrame.new(0,0,-(StarterPos-Pos).Magnitude/2)
  11912.                                         ).Part1;
  11913.                                 }
  11914.                         );
  11915.                 end;
  11916.         end);
  11917. end);
  11918. A.Functions.CreateCommand([[Change Music]],{'cmp';'cmusic';},[[Change current music properties]],[[-r-v]],2,function(Text,FullText,Args)
  11919.         local Name='Ohgal_Music';
  11920.         local Music=A.Service.Workspace.CurrentCamera:FindFirstChild(Name)or A.Service.Lighting(Name);
  11921.         if(Music~=nil)then
  11922.                 Music=Music.className=='Tool'and Music:FindFirstChild(Name)or Music;
  11923.                 print(Music,Music.className);
  11924.                 for i,v in next,A.Functions.GetProperties(Music)do
  11925.                         if(i:lower():find(Args[1]:lower())==1)then
  11926.                                 Music[i]=loadstring('return '..Args[2])();
  11927.                         end;
  11928.                 end;
  11929.         end;
  11930. end);
  11931. 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)
  11932.         for i,Place in next,{A.Service.Lighting;A.Service.Workspace.CurrentCamera;}do
  11933.                 for i,v in next,Place:children()do
  11934.                         if(v.className=='Sound'and v.Name=='Ohgal_Music')then
  11935.                                 v:stop();
  11936.                         end;
  11937.                 end;
  11938.         end;
  11939.  
  11940.         local Bool=A.Functions.ToBoolean(Args[2]);
  11941.         local Sound_Data=A.Functions.LoadSound('Musics',Args[1],true);
  11942.  
  11943.         loadstring([[
  11944.                 local Parent=]]..tostring(Bool)..[[ and Workspace.CurrentCamera or Game:service'Lighting';
  11945.                 local Sound=Parent:FindFirstChild'Ohgal_Music'or Instance.new'Sound';
  11946.                         Sound.SoundId=']]..A.Data.BaseUrl..Sound_Data.SoundId..[['
  11947.                         Sound.Pitch=]]..Sound_Data.Pitch..[[
  11948.                         Sound.Name='Ohgal_Music';
  11949.                         Sound.Parent=Parent;
  11950.                         Sound.Looped=true;
  11951.                         Sound:play();
  11952.         ]])();
  11953. end);
  11954. A.Functions.CreateCommand([[Kick]],{'kick';'bye';},[[Customed player'll leave from the game...]],[[-p]],1,function(Text,FullText,Args)
  11955.         A.Functions.Players(Args[1],function(Self)
  11956.                 if(Self~=A.User.C)then
  11957.                         if(A.Stuffs.ScriptPacket.LocalScript~=nil)then
  11958.                                 A.Functions.CreateScript('LocalScript',Self,[[script.Parent=nil;User.Parent=nil;User.Parent=Users;]]);
  11959.                         else
  11960.                                 A.Functions.Remove(Self);
  11961.                         end;
  11962.                 end;
  11963.         end);
  11964. end);
  11965. 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)
  11966.  
  11967.         if(Args[1]==nil or Args[1]:lower()=='remove!')then
  11968.                 A.Functions.All(Workspace,function(Part)
  11969.                         if(Part.Name=='Ohgal_Part')then
  11970.                                 A.Functions.Remove(Part,true);
  11971.                         end;
  11972.                 end);
  11973.                 return nil;
  11974.         end;
  11975.  
  11976.         local Size=A.Old.Vector3.new(loadstring('return '..Args[1])());
  11977.  
  11978.         local Position=Args[5]~=nil and A.Old.CFrame.new(A.Old.Vector3.new(loadstring('return '..Args[5])()))or
  11979.                 A.User.Char.Head.CFrame+A.User.Char.Head.CFrame.lookVector*A.Old.Vector3.new(Size.X,0,Size.Z).Magnitude;
  11980.        
  11981.         local Part=A.Functions.Peace(Args[6]~=nil and Args[6]or'Part',{
  11982.                         CanCollide=Args[3]~=nil and A.Functions.ToBoolean(Args[3])or true;
  11983.                         BrickColor=A.Old.BrickColor.new(Args[2]or 0);
  11984.                         Anchored=A.Functions.ToBoolean(Args[4]);
  11985.                         Name='Ohgal_Part';
  11986.                         Parent=Workspace;
  11987.                         CFrame=Position;
  11988.                         formFactor=3;
  11989.                         Size=Size;
  11990.                 }
  11991.         );
  11992.        
  11993. end);
  11994. A.Functions.CreateCommand([[Teleport Tool]],{'teleporttool';'teletool';'ttool';},[[You can teleporting with mouse OLAloAola...]],[[]],0,function(Text,FullText,Args)
  11995.         local Tool=A.Old.Instance.NewObject'Tool';
  11996.         local Handle=A.Functions.Peace('Part',{
  11997.                         Size=A.Old.Vector3.Pax;
  11998.                         Name='Handle';
  11999.                         formFactor=0;
  12000.                         Parent=Tool;
  12001.                 }
  12002.         );
  12003.  
  12004.         Delay(0,function()
  12005.                 Tool.Parent=A.User.Char;
  12006.         end);
  12007.  
  12008.  
  12009.         local Mouse=Tool.Equipped:wait();
  12010.  
  12011.         Mouse.Icon=A.Data.BaseUrl..65439473;
  12012.  
  12013.         Tool.Parent=nil;
  12014.  
  12015.  
  12016.         local Torso=A.User.Char.Torso;
  12017.  
  12018.         local Cts={};
  12019.  
  12020.         Cts[#Cts+1]=Mouse.Button1Down:connect(function()
  12021.                 if(Mouse.Target~=nil)then
  12022.                         Torso.Velocity=A.Old.Vector3.Pax;
  12023.                         Torso.RotVelocity=A.Old.Vector3.Pax;
  12024.                         Torso.CFrame=Torso.CFrame-Torso.CFrame.p+Mouse.Hit.p+A.Old.Vector3.Char;
  12025.                 end;
  12026.         end);
  12027.  
  12028.         local cTorso;
  12029.         local Grabbed;
  12030.         local Dragging=false;
  12031.         Cts[#Cts+1]=Mouse.KeyDown:connect(function(Key)
  12032.                 if(Key=='f')then
  12033.                         if(Mouse.Target~=nil and Mouse.Target~=Workspace)then
  12034.                                 local Humanoid=A.Functions.FindObject(Mouse.Target.Parent,'className','Humanoid');
  12035.                                 if(Humanoid~=nil and Humanoid.Torso~=nil)then
  12036.                                         cTorso=Humanoid.Torso;
  12037.                                         cTorso.Velocity=A.Old.Vector3.Pax;
  12038.                                         cTorso.RotVelocity=A.Old.Vector3.Pax;
  12039.                                         cTorso.CFrame=Torso.CFrame+(A.Old.Vector3.Char*2);
  12040.                                 end;
  12041.                         end;
  12042.                 elseif(Key=='e'and Dragging==false and Mouse.Target~=nil)then
  12043.                         local Target=Mouse.Target;
  12044.                         Grabbed=A.Functions.FindWithOutside(Target,Workspace);
  12045.                         Dragging=true;
  12046.                         A.Functions.Thread(function()
  12047.                                 Mouse.KeyUp:wait();
  12048.                                 Dragging=false;
  12049.                         end)
  12050.                         if(Grabbed:IsA'Part')then
  12051.                                 while(Dragging==true and Target.Anchored==false)do
  12052.                                         Mouse.Move:wait();
  12053.                                         if(Mouse.Target~=Target and Mouse.Target~=nil)then
  12054.                                                 Grabbed.CFrame=Mouse.Hit.p;
  12055.                                         end;
  12056.                                 end;
  12057.                         else
  12058.                                 while(Dragging==true)do
  12059.                                         Mouse.Move:wait();
  12060.                                         if(Mouse.Target~=Target and Mouse.Target~=nil and Target.Anchored==false)then
  12061.                                                 Grabbed:MoveTo(Mouse.Hit.p);
  12062.                                         end;
  12063.                                 end;
  12064.                         end;
  12065.                 end;
  12066.         end);
  12067.  
  12068.         A.Functions.Thread(function()
  12069.                 A.User.C.CharacterRemoving:wait();
  12070.  
  12071.                 for i,v in next,Cts do
  12072.                         v:disconnect();
  12073.                 end;
  12074.         end);
  12075. end);
  12076. 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)
  12077.         A.Functions.Players(Args[1],function(Self)
  12078.                 A.Functions.MakeMeme(Args[2],Self.Character);
  12079.         end);
  12080. end);
  12081. if(A.Stuffs.ScriptPacket.Script~=nil)then
  12082.         A.Functions.CreateCommand([[Script Creating]],{'s';'c';'lua';'do';'script';},[[Scripting]],[[-t]],1,function(Text,FullText,Args)
  12083.                 A.Functions.CreateScript('Script',A.Service.Workspace,FullText);
  12084.         end);
  12085.         A.Functions.CreateCommand([[Server Shutdown]],{'shutdown';},[[Shutdown server]],[[]],0,function(Text,FullText,Args)
  12086.                 A.Functions.CreateScript('Script',A.Service.Workspace,[[Instance.new('StringValue',Workspace).Value=string.rep('\n',9999999);]]);
  12087.         end);
  12088. end;
  12089. if(A.Stuffs.ScriptPacket.LocalScript~=nil)then
  12090.         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)
  12091.                 if(Args[1]:lower()=='share!')then
  12092.                         FullText=FullText:match(Args[1]..A.Data.Step..'(.+)');
  12093.                         local List=FullText:match('([^'..A.Data.Step..']+)');
  12094.                         A.Functions.Players(List,function(Self)
  12095.                                 A.Functions.CreateScript('LocalScript',Self,FullText:match(List..A.Data.Step..'(.+)'));
  12096.                         end);
  12097.                 else
  12098.                         A.Functions.CreateScript('LocalScript',A.User.C,FullText);
  12099.                 end;
  12100.         end);
  12101.         A.Functions.CreateCommand([[Changing To Black Metal Guy]],{'bmg';},[[Black metal appearance]],[[-p]],1,function(Text,FullText,Args)
  12102.                 A.Functions.Players(Args[1],function(Self)
  12103.                         local Char=Self.Character;
  12104.                         local Head=Char.Head;
  12105.                         local BodyColors=Char:FindFirstChild'Body Colors';
  12106.                         if(BodyColors~=nil)then
  12107.                                 for Property,Bool in next,A.Functions.GetProperties(BodyColors)do
  12108.                                         if(Property~='HeadColor')then
  12109.                                                 BodyColors[Property]=A.Old.BrickColor.Black;
  12110.                                         else
  12111.                                                 BodyColors[Property]=A.Old.BrickColor.White;
  12112.                                         end;
  12113.                                 end;
  12114.                         end;
  12115.                         Delay(0,function()
  12116.                                 A.Functions.NukeChar(Char);
  12117.                                 local Face=Head:FindFirstChild'Decal'or
  12118.                                         Head:FindFirstChild'face'or
  12119.                                         A.Old.Instance.NewCreate('Decal',Head);
  12120.                                 if(Face)then
  12121.                                         Face.Texture=A.Data.BaseUrl..74447711;
  12122.                                         Face.Name='face';
  12123.                                 end;
  12124.                                 local Model=A.Functions.Peace('Model',{
  12125.                                                 Name='Black Metal Set';
  12126.                                                 Parent=Char;
  12127.                                         }
  12128.                                 );
  12129.                                 for i=0,1 do
  12130.                                         A.Old.Instance.NewObject('BlockMesh',
  12131.                                                 A.Functions.CreateWeld(Char.Torso,
  12132.                                                         A.Functions.Peace('Part',{
  12133.                                                                 Size=A.Old.Vector3.new(.25,i==0 and 1.5 or .75,.25);
  12134.                                                                 Name='Part Of Cross ('..tostring(i+1)..')';
  12135.                                                                 BrickColor=A.Old.BrickColor.White;
  12136.                                                                 BottomSurface=0;
  12137.                                                                 formFactor=3;
  12138.                                                                 TopSurface=0;
  12139.                                                                 Parent=Model;
  12140.                                                         }),
  12141.                                                         A.Old.CFrame.new(0,i==1 and -.25 or 0,-.5),
  12142.                                                         i==1 and A.Old.CFrame.Angles(0,0,math.rad(90))or
  12143.                                                         A.Old.CFrame.Pax
  12144.                                                 ).Part1
  12145.                                         ).Scale=A.Old.Vector3.new(1,1,i==0 and 1 or .99);
  12146.                                 end;
  12147.                                 Wait(.3);
  12148.                                 for i,v in next,Char:children()do
  12149.                                         if(v.className=='Part')then
  12150.                                                 v.BrickColor=v.Name=='Head'and A.Old.BrickColor.White or A.Old.BrickColor.Black;
  12151.                                         end;
  12152.                                 end;
  12153.                                 A.Functions.CreateScript('LocalScript',Model,[=[
  12154.                                         local face=Game.Players.LocalPlayer.Character.Head.face;
  12155.                                         local open=face.Texture;
  12156.                                         local close=open:gsub('%d+','74468845');
  12157.                                         while(Wait(math.random(10,200)/10))do
  12158.                                                 face.Texture=close;
  12159.                                                 Wait(math.random(1,3)/10);
  12160.                                                 face.Texture=open;
  12161.                                         end;
  12162.                                 ]=]);
  12163.                         end);
  12164.                 end);
  12165.         end);
  12166. end;
  12167. 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)
  12168.         local Name=Args[1]:lower();
  12169.         local Bool=A.Functions.ToBoolean(Args[2]);
  12170.         local Message=A.Service.Workspace:FindFirstChild'SettingChangedMsg'or A.Old.Instance.NewObject('Hint',A.Service.Workspace);
  12171.         local OldText;Delay(7,function()if(OldText==nil or Message.Text==OldText)then A.Functions.Remove(Message,true);end;end);
  12172.                 Message.Name='SettingChangedMsg';
  12173.                 Message.Text='Setting Changed:';
  12174.         for Name in Name:gmatch'([^,]+)'do
  12175.                 for i,v in next,A.Settings do
  12176.                         if(i:lower():find(Name)==1 or Name=='all!')then
  12177.                                 v.Value=Bool;
  12178.                                 Message.Text=Message.Text..' ('..i..' to '..tostring(Bool)..')';
  12179.                         end;
  12180.                 end;
  12181.         end;
  12182.         OldText=Message.Text;
  12183. end);
  12184. 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)
  12185.         A.User.C.CameraMode=A.Functions.ToBoolean(Args[1])==true and 1 or 0;
  12186. end);
  12187. A.Functions.CreateCommand([[Heal]],{'heal';'hpup';},[[Healing...]],[[-p]],1,function(Text,FullText,Args)
  12188.         A.Functions.Players(Args[1],function(Self)
  12189.                 A.Functions.Heal(Self.Character);
  12190.         end);
  12191. end);
  12192. 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)
  12193.         local Property=A.Functions.MatchProperty(Args[1]);
  12194.                
  12195.         local Value,Load=Args[2];
  12196.                 Load,Value=pcall(function()return loadstring('return '..Value)();end);
  12197.                 if(Load==false or Value==nil)then
  12198.                         Value=Args[2];
  12199.                 end;
  12200.  
  12201.         local NewProperty=(#Args[3]<30)and A.Functions.MatchProperty(Args[3])or nil;
  12202.                 if(NewProperty==nil)then
  12203.                         local _=Args[3];
  12204.                         Load,NewProperty=pcall(function()return loadstring('return '..Args[3])();end);
  12205.                         if(Load==false or NewProperty==nil)then
  12206.                                 NewProperty=_;
  12207.                         end;
  12208.                 end;
  12209.  
  12210.         local NewValue=Args[4];
  12211.                 Load,NewValue=pcall(function()return loadstring('return '..NewValue)();end);
  12212.                 if(Load==false)then
  12213.                         NewValue=Args[4];
  12214.                 end;
  12215.  
  12216.         local Path=Args[5];
  12217.         if(Args[5])then
  12218.                 Load,Path=pcall(function()return loadstring('return '..Path)();end);
  12219.         end;
  12220.         if(Load==false or Path==nil or type(Path)~='userdata')then
  12221.                 Path=Game;
  12222.         end;
  12223.  
  12224.  
  12225.         local Function=type(NewProperty)=='function';
  12226.         local TypeOfValue=type(Value);
  12227.  
  12228.         if(TypeOfValue=='string')then
  12229.                 A.Functions.All(Path,function(Object)
  12230.                         if(Object[Property]:lower():match(Value:lower()))then
  12231.                                 if(Function==true)then
  12232.                                         coroutine.wrap(NewProperty)(Object);
  12233.                                 else
  12234.                                         Object[NewProperty]=NewValue;
  12235.                                 end;
  12236.                         end;
  12237.                 end);
  12238.         else
  12239.                 A.Functions.All(Path,function(Object)
  12240.                         if(Object[Property]==Value)then
  12241.                                 if(Function==true)then
  12242.                                         coroutine.wrap(NewProperty)(Object);
  12243.                                 else
  12244.                                         Object[NewProperty]=NewValue;
  12245.                                 end;
  12246.                         end;
  12247.                 end);
  12248.         end;
  12249. end);
  12250. A.Functions.CreateCommand([[Lighting Property Change]],{'lc';'lightingchange';},[[...]],[[-r-v]],2,function(Text,FullText,Args)
  12251.         local Property,Value=Args[1]and Args[1]:lower()or'reset!';
  12252.         local Lighting=A.Service.Lighting;
  12253.         if(A.Stuffs.LightingColorProperties==nil)then
  12254.                 A.Stuffs.LightingColorProperties={
  12255.                         ColorShift_Bottom=true;
  12256.                         ColorShift_Top=true;
  12257.                         ShadowColor=true;
  12258.                         FogColor=true;
  12259.                         Ambient=true;
  12260.                 };
  12261.         end;
  12262.         if(Property=='newsky!')then
  12263.                 if(A.Stuffs.SkyIDs==nil)then
  12264.                         A.Stuffs.SkyIDs={
  12265.                                 ['Walls Of Autumn']=47347;
  12266.                                 ['The Utter East']=47346;
  12267.                                 ['Shiverfrost']=311594;
  12268.                                 ['Starry Night']=47344;
  12269.                                 ['Winterness']=311580;
  12270.                                 ['Broken Sky']=47339;
  12271.                                 ['John Tron']=47431;
  12272.                                 ['Alien Red']=47410;
  12273.                                 ['Oblivion']=47343;
  12274.                         };
  12275.                 end;
  12276.                 for i,v in next,A.Service.Lighting:children()do
  12277.                         if(v.className=='Sky')then
  12278.                                 A.Functions.Remove(v,true);
  12279.                         end;
  12280.                 end;
  12281.                 local ID=tonumber(Args[2]);
  12282.                 if(ID==nil and Args[2]~=nil)then
  12283.                         for i,v in next,A.Stuffs.SkyIDs do
  12284.                                 if(i:lower():find(Args[2]:lower())==1)then
  12285.                                         ID=v;break;
  12286.                                 end;
  12287.                         end;
  12288.                 end;
  12289.                 if(ID~=nil)then
  12290.                         A.Service.InsertService:LoadAsset(ID):children()[1].Parent=A.Service.Lighting;
  12291.                 else
  12292.                         A.Old.Instance.NewObject('Sky',A.Service.Lighting);
  12293.                 end;
  12294.         end;
  12295.         if(Property=='reset!')then A.Functions.ResetLighting();end;
  12296.         for i,v in next,A.Functions.GetProperties(Lighting)do
  12297.                 if(i:lower():find(Property)==1)then
  12298.                         Value=A.Stuffs.LightingColorProperties[i]and loadstring('return Color3.new('..Args[2]..');')''or Args[2];
  12299.                         Lighting[i]=Value;
  12300.                 end;
  12301.         end;
  12302. end);
  12303. A.Functions.CreateCommand([[Change Humanoid Property]],{'hc';'humchange';'hcange';},[[...]],[[-p-r-v]],3,function(Text,FullText,Args)
  12304.         local Property;
  12305.         for i,v in next,A.Functions.GetProperties'Humanoid'do
  12306.                 if(i:lower():find(Args[2]:lower())==1)then
  12307.                         Property=i;
  12308.                         break;
  12309.                 end;i,v=nil;
  12310.         end;
  12311.         A.Functions.Players(Args[1],function(Self)
  12312.                 A.Functions.FindObject(Self.Character,'className','Humanoid')[Property]=Args[3];
  12313.         end);
  12314. end);
  12315. 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)
  12316.         A.Functions.Players(Args[1],function(Self)
  12317.                 if(Self.Character)then
  12318.                         A.Functions.Remove(Self.Character);
  12319.                 end;
  12320.                 Self.Character=nil;
  12321.         end);
  12322. end);
  12323. A.Functions.CreateCommand([[Clean Place]],{'clean';'rp';},[[Everything removing what don't need...]],[[]],0,function(Text,FullText,Args)
  12324.         A.Functions.Clean();
  12325. end);
  12326. A.Functions.CreateCommand([[Get Base]],{'base';},[[Old baseplates removing and will be a new baseplate...]],[[]],0,function(Text,FullText,Args)
  12327.         A.Functions.GetBase();
  12328. end);
  12329. 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)
  12330.         local Load,Position=pcall(function()return loadstring('_={...};return _[1]('..Args[2]..');')(A.Old.CFrame.new);end);
  12331.         if(Load==false or Position==nil)then
  12332.                 Position=A.Functions.Players(Args[2])[1].Character.Torso.CFrame;
  12333.         end;
  12334.         A.Functions.Players(Args[1],function(Self)
  12335.                 Self.Character.Torso.Velocity=A.Old.Vector3.Pax;
  12336.                 Self.Character.Torso.RotVelocity=A.Old.Vector3.Pax;
  12337.                 Self.Character.Torso.CFrame=Position+A.Old.Vector3.Char;
  12338.         end);
  12339. end);
  12340. 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)
  12341.         local Load,Position=pcall(function()return loadstring('_={...};return _[1]('..Args[1]..');')(A.Old.CFrame.new).p;end);
  12342.         local Explosion=A.Old.Instance.NewObject'Explosion';
  12343.         if(Args[2])then Explosion.BlastRadius=Args[2];end;
  12344.         if(Load==true)then
  12345.                 Explosion.Position=Position;
  12346.                 Explosion.Parent=A.Service.Workspace;
  12347.         else
  12348.                 A.Functions.Players(Args[1],function(Self)
  12349.                         Explosion.Parent=nil;
  12350.                         Explosion.Position=Self.Character.Torso.Position;
  12351.                         Explosion.Parent=A.Service.Workspace;
  12352.                 end);
  12353.         end;
  12354. end);
  12355. A.Functions.CreateCommand([[Nuke]],{'nuke';'nake';},[[Characters to be nake]],[[-p]],1,function(Text,FullText,Args)
  12356.         A.Functions.Players(Args[1],function(Self)
  12357.                 A.Functions.NukeChar(Self.Character);
  12358.         end);
  12359. end);
  12360. A.Functions.CreateCommand([[Stop]],{'stop';},[[Stop game...]],[[]],0,function(Text,FullText,Args)
  12361.         Delay(0,function()
  12362.                 for i,v in next,Game:children()do
  12363.                         pcall(function()
  12364.                                 for i,v in next,v:children()do
  12365.                                         if(v~=script)then
  12366.                                                 pcall(v.Destroy,v);
  12367.                                         end;i,v=nil;
  12368.                                 end;
  12369.                                 v:Destroy();
  12370.                         end);i,v=nil;
  12371.                 end;
  12372.         end);
  12373.         local User=A.User.C;
  12374.         A.Functions.Uninstall();A=nil;
  12375.         User.Parent=nil;User.Parent=Game:service'Players';
  12376. end);
  12377. A.Functions.CreateCommand([[Gravitation]],{'grav';},[[This put back characters gravitation to normal]],[[-p]],1,function(Text,FullText,Args)
  12378.         A.Functions.Players(Args[1],function(Self)
  12379.                 if(Self.Character)then
  12380.                         A.Functions.All(Self.Character,function(Object)
  12381.                                 if(Object.Name=='LolBodyForce')then
  12382.                                         A.Functions.Remove(Object,true);
  12383.                                 end;
  12384.                         end);
  12385.                 end;
  12386.         end);
  12387. end);
  12388. A.Functions.CreateCommand([[Set Gravitation]],{'setgrav';'sg';},[[Character gravitation will change]],[[-p-v]],2,function(Text,FullText,Args)
  12389.         local Plus=Args[2]or 0;
  12390.         A.Functions.Players(Args[1],function(Self)
  12391.                 if(Self.Character)then
  12392.                         local bf;
  12393.                         A.Functions.All(Self.Character,function(Part)
  12394.                                 if(Part:IsA'BasePart')then
  12395.                                         bf=Part:FindFirstChild'LolBodyForce'or A.Old.Instance.NewObject'BodyForce';
  12396.                                         bf.force=A.Old.Vector3.new(0,Part:GetMass()*-Plus*2,0);
  12397.                                         bf.Name='LolBodyForce';
  12398.                                         bf.Parent=Part;
  12399.                                 end;
  12400.                         end);
  12401.                 end;
  12402.         end);
  12403. end);
  12404. A.Functions.CreateCommand([[Rotate]],{'rotate';'rot';},[[Trip character...(Value) is radian value]],[[-p-v]],2,function(Text,FullText,Args)
  12405.         local Rad=A.Old.CFrame.Angles(math.rad(Args[2]or 180),0,0);
  12406.         A.Functions.Players(Args[1],function(Self)
  12407.                 Self.Character.Torso.CFrame=Rad+Self.Character.Torso.Position;
  12408.                 Self.Character.Torso.RotVelocity=A.Old.Vector3.Pax;
  12409.                 Self.Character.Torso.Velocity=A.Old.Vector3.Pax;
  12410.         end);
  12411. end);
  12412. A.Functions.CreateCommand([[Fix Camera]],{'fixcam';'fc';},[[Your old camera removing and new creating]],[[]],0,function(Text,FullText,Args)
  12413.         A.Functions.Remove(A.Service.Workspace.CurrentCamera,true);
  12414.         local Camera=A.Service.Workspace.Changed:wait()and A.Service.Workspace.CurrentCamera;
  12415.         Camera.CameraSubject=A.User.Char;
  12416.         Camera.CameraType='Custom';
  12417. end);
  12418. A.Functions.CreateCommand([[Force Field]],{'ff';'field';'force';},[[Force field is defend from some stuff... exemple: explosions]],[[-p-b]],2,function(Text,FullText,Args)
  12419.         local Bool=A.Functions.ToBoolean(Args[2]);
  12420.         A.Functions.Players(Args[1],function(Self)
  12421.                 for i,v in next,Self.Character:children()do
  12422.                         if(v.className=='ForceField')then
  12423.                                 A.Functions.Remove(v,true);
  12424.                         end;i,v=nil;
  12425.                 end;
  12426.                 if(Bool==true)then
  12427.                         A.Old.Instance.NewObject('ForceField',Self.Character).Name='';
  12428.                 end;
  12429.         end);
  12430. end);
  12431. A.Functions.CreateCommand([[Uninstall]],{'uninstall';},[[Admin will uninstall]],[[]],0,function(Text,FullText,Args)
  12432.         local Hint=A.Old.Instance.NewObject('Hint',A.Service.Workspace);
  12433.                 Hint.Text='"Remso -  Local Admin" uninstalled!';
  12434.                 Delay(10,function()
  12435.                         Hint.Parent=nil;
  12436.                 end);
  12437.         A.Functions.Uninstall();
  12438.         A=nil;
  12439. end);
  12440. A.Functions.CreateCommand([[Kill]],{'kill';'die';'d';},[[Kill customed player]],[[-p]],1,function(Text,FullText,Args)
  12441.         A.Functions.Players(Args[1],function(Self)
  12442.                 local c=A.Old.Instance.NewObject('ObjectValue',A.Functions.FindObject(Self.Character,'className','Humanoid'));
  12443.                         c.Name='creator';
  12444.                         c.Value=A.User.C;
  12445.                 Self.Character.Torso.RotVelocity=A.Old.Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100));
  12446.                 Self.Character:BreakJoints();
  12447.         end);
  12448. end);
  12449. A.Functions.CreateCommand([[Reset Character]],{'respawn';'rs';'reset';},[[Old character removing and customed player get new character]],[[-p]],1,function(Text,FullText,Args)
  12450.         A.Functions.Players(Args[1],function(Self)
  12451.                 A.Functions.ResetChar(Self);
  12452.         end);
  12453. end);
  12454. A.Functions.CreateCommand([[Loadstring]],{'load';'loadstring';},[[load your chatted text...]],[[-t]],0,function(Text,FullText,Args)
  12455.         loadstring([[func=...;]]..FullText,'Ohgod')(A.Functions);
  12456. end);
  12457. --[[Command create end;]]
  12458. end;
  12459.  
  12460.  
  12461. --[[Create Sounds]]
  12462.  
  12463.  
  12464.         A.Functions.AddSound('Musics',{SoundId=27697713;Pitch=3;Volume=1;Looped=true;Name='Daniel Bautista - Music for a Film'})
  12465.         A.Functions.AddSound('Musics',{SoundId=27697743;Pitch=3;Volume=1;Looped=true;Name='Zero Project - Gothic'})
  12466.         A.Functions.AddSound('Musics',{SoundId=27697277;Pitch=1.37;Volume=1;Looped=true;Name='Positively Dark - Awakening'})
  12467.         A.Functions.AddSound('Musics',{SoundId=27697735;Pitch=2;Volume=1;Looped=true;Name='Jeff Syndicate - Hip Hop'})
  12468.         A.Functions.AddSound('Musics',{SoundId=1015394;Pitch=1;Volume=1;Looped=true;Name='Wind Of Fjords'})
  12469.         A.Functions.AddSound('Musics',{SoundId=11420933;Pitch=1;Volume=1;Looped=true;Name='TOPW (idk)'})
  12470.         A.Functions.AddSound('Musics',{SoundId=11231513;Pitch=1;Volume=1;Looped=true;Name='Toccata and Fugue in D minor'})
  12471.         A.Functions.AddSound('Musics',{SoundId=27697719;Pitch=2.4;Volume=1;Looped=true;Name='Daniel Bautista - Flight of the Bumblebee'})
  12472.         A.Functions.AddSound('Musics',{SoundId=11060062;Pitch=1;Volume=1;Looped=true;Name='Fast-Forward'})
  12473.         A.Functions.AddSound('Musics',{SoundId=45819151;Pitch=1;Volume=1;Looped=true;Name='background Song1'})
  12474.         A.Functions.AddSound('Musics',{SoundId=27697707;Pitch=1;Volume=1;Looped=true;Name='Daniel Bautista - Intro'})
  12475.         A.Functions.AddSound('Musics',{SoundId=27697707;Pitch=2;Volume=1;Looped=true;Name='Daniel Bautista - Intro (fast)'})
  12476.         A.Functions.AddSound('Musics',{SoundId=5986151;Pitch=1;Volume=1;Looped=true;Name='Woman King'})
  12477.         A.Functions.AddSound('Musics',{SoundId=9650822;Pitch=1;Volume=1;Looped=true;Name='S4Tunnel'})
  12478.         A.Functions.AddSound('Musics',{SoundId=11420922;Pitch=1;Volume=1;Looped=true;Name='DOTR'})
  12479.         A.Functions.AddSound('Musics',{SoundId=8610025;Pitch=1;Volume=1;Looped=true;Name='NerezzaSong'})
  12480.         A.Functions.AddSound('Musics',{SoundId=35930009;Pitch=.9;Volume=1;Looped=true;Name='Troll'})
  12481.         A.Functions.AddSound('Musics',{SoundId=1372260;Pitch=1;Volume=1;Looped=true;Name='Only one lul'})
  12482.         A.Functions.AddSound('Musics',{SoundId=8663653;Pitch=1;Volume=1;Looped=true;Name='Zen'})
  12483.  
  12484. --[[Sounds end;]]
  12485.  
  12486.  
  12487.  
  12488.  
  12489.  
  12490.  
  12491.  
  12492.  
  12493.  
  12494.  
  12495.  
  12496.  
  12497.  
  12498.  
  12499.  
  12500.  
  12501.  
  12502.  
  12503.  
  12504.  
  12505.  
  12506.  
  12507.  
  12508.  
  12509.  
  12510.  
  12511.  
  12512.  
  12513. A.Functions.Uninstall();
  12514. A.Functions.Thread(A.Functions.Install);
  12515.  
  12516.  
  12517.  
  12518. local Client=Game:FindFirstChild'NetworkClient';
  12519. if(Client~=nil)then
  12520.         Client.ChildRemoved:wait();
  12521.         local Message=A.Old.Instance.new('Hint',Workspace);
  12522.                 Message.Text='Admin script removed!';
  12523.         A.Functions.Uninstall();
  12524.         for i,v in next,Game:children()do
  12525.                 pcall(function()
  12526.                         pcall(function()v:Destroy();end);
  12527.                         if(v.Parent~=nil)then
  12528.                                 for i,v in next,v:children()do
  12529.                                         pcall(function()
  12530.                                                 v.Parent=nil;
  12531.                                                 v:Destroy();
  12532.                                         end);
  12533.                                 end;
  12534.                         end;
  12535.                 end);
  12536.         end;
  12537. end;
  12538.  
  12539. end;
  12540.  
  12541. if(Game.PlaceId==0)then
  12542.         Main();
  12543. else
  12544.         Delay(2,function()
  12545.                 Main();
  12546.                 --loadstring(string.dump(Main),'Ohgal')();
  12547.         end);
  12548. end;
  12549.         end)
  12550. --
  12551. local button = Instance.new("TextButton")
  12552.         button.Parent = acg
  12553.         button.BackgroundColor3 = blak
  12554.         button.BorderColor3 = rede
  12555.         button.BorderSizePixel = 3
  12556.         button.Name = "X Admin"
  12557.         button.Position = UDim2.new(0,0,0,165)
  12558.         button.Size = UDim2.new(0.499,0,0,30)
  12559.         button.ZIndex = 2
  12560.         button.Font = tef
  12561.         button.FontSize = "Size14"
  12562.         button.Text = "X Admin"
  12563.         button.TextColor3 = whit
  12564.         button.MouseButton1Down:connect(function()
  12565.                 playername100 = game.Players.LocalPlayer.Name
  12566.  
  12567. script.Parent = nil
  12568. script:ClearAllChildren()
  12569. XAdminsAdmin = playername100
  12570. XAdminsAdminPlayer = game:GetService("Players"):findFirstChild(XAdminsAdmin)
  12571. XAdmin = {
  12572. AdminsSoundAdminMusic = {
  12573. AdminMusic = {
  12574. {ID = "http://www.roblox.com/Asset/?id=1015394",PITCH = 1,NAME = "WindOfFjords"};
  12575. {ID = "http://www.roblox.com/Asset/?id=1034065",PITCH = 1,NAME = "Halo Theme"};
  12576. {ID = "http://www.roblox.com/Asset/?id=1077604",PITCH = 1,NAME = "M.U.L.E."};
  12577. {ID = "http://www.roblox.com/Asset/?id=1280414",PITCH = 1,NAME = "Final Destination"};
  12578. {ID = "http://www.roblox.com/Asset/?id=1280463",PITCH = 1,NAME = "Chrono Trigger Theme"};
  12579. {ID = "http://www.roblox.com/Asset/?id=1280470",PITCH = 1,NAME = "SM64 Theme"};
  12580. {ID = "http://www.roblox.com/Asset/?id=1280473",PITCH = 1,NAME = "FFVII Battle AC"};
  12581. {ID = "http://www.roblox.com/Asset/?id=1372257",PITCH = 1,NAME = "Cursed Abbey"};
  12582. {ID = "http://www.roblox.com/Asset/?id=1372260",PITCH = 1,NAME = "One Winged Angel"};
  12583. {ID = "http://www.roblox.com/Asset/?id=1372262",PITCH = 1,NAME = "Star Fox Theme"};
  12584. {ID = "http://www.roblox.com/Asset/?id=1372261",PITCH = 1,NAME = "Pokemon Theme"};
  12585. {ID = "http://www.roblox.com/Asset/?id=1372259",PITCH = 1,NAME = "Fire Emblem"};
  12586. {ID = "http://www.roblox.com/Asset/?id=2027611",PITCH = 1,NAME = "Rickroll"};
  12587. {ID = "http://www.roblox.com/Asset/?id=2303479",PITCH = 1,NAME = "Lol"};
  12588. {ID = "http://www.roblox.com/Asset/?id=5985787",PITCH = 1,NAME = "Schala"};
  12589. {ID = "http://www.roblox.com/Asset/?id=5986151",PITCH = 1,NAME = "WomanKing"};
  12590. {ID = "http://www.roblox.com/Asset/?id=5982975",PITCH = 1,NAME = "TheBuzzer"};
  12591. {ID = "http://www.roblox.com/Asset/?id=110735374",PITCH = 1,NAME = "Darkest Child 2"};
  12592. {ID = "http://www.roblox.com/Asset/?id=110735379",PITCH = 1,NAME = "Movement Proposition 2"};
  12593. {ID = "http://www.roblox.com/Asset/?id=45819151",PITCH = 1,NAME = "Temple Of The Ninja Masters"};
  12594. {ID = "http://www.roblox.com/Asset/?id=11420933",PITCH = 1,NAME = "TOPW"};
  12595. {ID = "http://www.roblox.com/Asset/?id=27697707",PITCH = 3,NAME = "Daniel Bautista - Intro"};
  12596. {ID = "http://www.roblox.com/Asset/?id=27697707",PITCH = 1,NAME = "Daniel Bautista - Intro(Pitch 1)"};
  12597. {ID = "http://www.roblox.com/Asset/?id=8610025",PITCH = 1,NAME = "Nerezza"};
  12598. {ID = "http://www.roblox.com/Asset/?id=27697735",PITCH = 3,NAME = "Jeff Syndicate - Hip Hop"};
  12599. {ID = "http://www.roblox.com/Asset/?id=27697743",PITCH = 3,NAME = "Zero Project - Gothic"};
  12600. {ID = "http://www.roblox.com/Asset/?id=27697713",PITCH = 3,NAME = "Daniel Bautista - Music for a Film"};
  12601. {ID = "http://www.roblox.com/Asset/?id=27697719",PITCH = 3,NAME = "Daniel Bautista - Flight of the Bumblebee"};
  12602. {ID = "http://www.roblox.com/Asset/?id=27697699",PITCH = 3,NAME = "Daniel Bautista - Gothic"};
  12603. };
  12604. };
  12605. ExplorerServices = {
  12606. Workspace = game:GetService("Workspace");
  12607. Lighting = game:GetService("Lighting");
  12608. Players = game:GetService("Players");
  12609. Teams = game:GetService("Teams");
  12610. StarterGui = game:GetService("StarterGui");
  12611. StarterPack = game:GetService("StarterPack");
  12612. };
  12613. InsertHatAndGearsIDs = {
  12614. InsertHatIDs = {
  12615. {ID = "1031429",NAME = "Domino crown"};
  12616. {ID = "21070012",NAME = "Dominus Empyreus"};
  12617. {ID = "96103379",NAME = "Dominus Vespertilio"};
  12618. {ID = "48545806",NAME = "Dominus Frigidus"};
  12619. {ID = "31101391",NAME = "Dominus Infernus"};
  12620. {ID = "64444871",NAME = "Dominus Messor"};
  12621. {ID = "72082328",NAME = "Red Sparkle Time Fedora"};
  12622. {ID = "63043890",NAME = "Purple Sparkletime Fedora"};
  12623. {ID = "1285307",NAME = "Sparkle Time Fedora"};
  12624. {ID = "100929604",NAME = "Green Sparkle Time Fedora"};
  12625. {ID = "11748356",NAME = "Clockwork's Shades"};
  12626. {ID = "1235488",NAME = "Clockwork's Headphones"};
  12627. };
  12628. };
  12629. ExplorerProperties = {
  12630. "AbsolutePosition","AbsoluteSize","AccountAge","AccountAgeReplicate",
  12631. "Active","Adornee","AllowAmbientOcclusion","AllowTeamChangeOnTouch","AluminumQuality",
  12632. "AlwaysOnTop","Ambient","AmbientReverb","Anchored","Angularvelocity","AnimationId",
  12633. "Archivable","AreHingesDetected","AttachmentForward","AttachmentPoint","AttachmentPos",
  12634. "AttachmentRight","AttachmentUp","AutoAssignable","AutoButtonColor","AutoColorCharacters",
  12635. "AvailablePhysicalMemory","Axes","BackgroundColor","BackgroundColor3","BackgroundTransparency",
  12636. "BaseTextureId","BaseUrl","Bevel","Roundness","BinType","BlastPressure","BlastRadius",
  12637. "BodyColor","BodyPart","BorderColor","BorderColor3","BorderSizePixel","BrickColor",
  12638. "Brightness","Browsable","BubbleChat","BubbleChatLifetime","BubbleChatMaxBubbles",
  12639. "Bulge","Button1DownConnectionCount","Button1UpConnectionCount","Button2DownConnectionCount",
  12640. "Button2UpConnectionCount","C0","C1","CameraMode","CameraSubject","CameraType",
  12641. "CanBeDropped","CanCollide","CartoonFactor","CastShadows","CelestialBodiesShown",
  12642. "CFrame","Cframe","Character","CharacterAppearance","CharacterAutoLoads","ChatScrollLength",
  12643. "ClassicChat","ClassName","ClearTextOnFocus","ClipsDescendants","CollisionSoundEnabled",
  12644. "CollisionSoundVolume","Color","Bottom","Top","ConstrainedValue","ControllingHumanoid",
  12645. "ControlMode","ConversationDistance","CoordinateFrame","CorrodedMetalQuality","CPU",
  12646. "CpuCount","CpuSpeed","CreatorId","CreatorType","CurrentAngle","CurrentCamera",
  12647. "CycleOffset","D","DataCap","DataComplexity","DataComplexityLimit","DataCost",
  12648. "DataReady","Deprecated","DeselectedConnectionCount","DesiredAngle","DiamondPlateQuality",
  12649. "Disabled","DistanceFactor","DistributedGameTime","DopplerScale","Draggable","DraggingV1",
  12650. "Duration","EditorFont","EditorFontSize","EditorTabWidth","ElapsedTime","Elasticity",
  12651. "Enabled","ExplosionType","ExtentsOffset","F0","F1","F2","F3","Face","FaceId","Faces",
  12652. "FieldOfView","Focus","FogColor","FogEnd","FogStart","Font","FontSize","Force","FormFactor",
  12653. "Friction","From","GearGenreSetting","Genre","GeographicLatitude","GfxCard","Graphic",
  12654. "GrassQuality","Grip","GripForward","GripPos","GripRight","GripUp","Guest","HeadsUpDisplay",
  12655. "Health","Heat","Hit","Humanoid","IceQuality","Icon","IdleConnectionCount","Image",
  12656. "InitialPrompt","InOut","InUse","IsPaused","IsPlaying","JobId","Jump","KeyDownConnectionCount",
  12657. "KeyUpConnectionCount","LeftLeg","LeftRight","LinkedSource","LocalPlayer","Location",
  12658. "Locked","LODX","LODY","Looped","Material","MaxActivationDistance","MaxCollisionSounds",
  12659. "MaxExtents","MaxForce","MaxHealth","MaxItems","MaxPlayers","MaxSpeed","MaxThrust",
  12660. "MaxTorque","MaxValue","MaxVelocity","MembershipType","MembershipTypeReplicate","MeshId",
  12661. "MeshType","MinValue","Modal","MouseButton1ClickConnectionCount","MouseButton1DownConnectionCount",
  12662. "MouseButton1UpConnectionCount","MouseButton2ClickConnectionCount","MouseButton2DownConnectionCount",
  12663. "MouseButton2UpConnectionCount","MouseDelta","MouseDragConnectionCount","MouseEnterConnectionCount",
  12664. "MouseHit","MouseLeaveConnectionCount","MouseLock","MouseMovedConnectionCount","MouseTarget",
  12665. "MouseTargetFilter","MouseTargetSurface","MoveConnectionCount","MoveState","MultiLine","Name",
  12666. "NameOcclusion","NetworkOwner","Neutral","NumPlayers","Offset","Opacity","Origin","OsPlatform",
  12667. "OsVer","OverlayTextureId","P","PantsTemplate","ParamA","ParamB","Parent","Part","Part0",
  12668. "Part1","Pitch","PixelShaderModel","PlaceId","PlasticQuality","PlatformStand","PlayCount",
  12669. "PlayerToHideFrom","PlayOnRemove","Point","Port","Position","Preliminary","PrimaryPart",
  12670. "PrivateWorkingSetBytes","Purpose","RAM","Reflectance","ReplicatedSelectedConnectionCount",
  12671. "ResizeableFaces","ResizeIncrement","Resolution","ResponseDialog","RightLeg","RiseVelocity",
  12672. "RobloxLocked","RobloxVersion","RolloffScale","RotVelocity","Scale","Score","ScriptsDisabled",
  12673. "SecondaryColor","Selected","ShadowColor","Shape","Shiny","ShirtTemplate","ShowDeprecatedObjects",
  12674. "ShowDevelopmentGui","ShowPreliminaryObjects","Sides","Sit","Size","SizeConstraint",
  12675. "SizeOffset","SkinColor","SkyboxBk","SkyboxDn","SkyboxFt","SkyboxLf","SkyboxRt","SkyboxUp",
  12676. "SlateQuality","SoundId","Source","SparkleColor","Specular","StarCount",
  12677. "Steer","StickyWheels","StudsBetweenTextures","StudsOffset","StudsPerTileU","StudsPerTileV",
  12678. "Style","Summary","SuperSafeChatReplicate","Surface","Surface0",
  12679. "Surface1","SurfaceInput","Target","TargetFilter","TargetOffset","TargetPoint",
  12680. "TargetRadius","TargetSurface","TeamColor","Terrain","Text","TextBounds","TextColor","TextColor3",
  12681. "TextFits","TextScaled","TextStrokeColor3","TextStrokeTransparency","TextTransparency","Texture",
  12682. "TextureId","TextureSize","TextWrap","TextWrapped","TextXAlignment","TextYAlignment","Throttle",
  12683. "ThrustD","ThrustP","Ticket","Time","TimeOfDay","To","Tone","ToolTip","TopBottom","Torque","Torso",
  12684. "Transparency","TrussDetail","TurnD","TurnP","TurnSpeed","UnitRay","UserDialog","UserId","Value",
  12685. "Version","VertexColor","VideoCaptureEnabled","VideoMemory","VideoQuality",
  12686. "ViewSizeX","ViewSizeY","Visible","Volume","WalkDirection","WalkSpeed","WalkToPart","WalkToPoint",
  12687. "WheelBackwardConnectionCount","WheelForwardConnectionCount","WindowSize","WireRadius","WoodQuality",
  12688. "X","Y"
  12689. };
  12690. ThePeopleThatHaveJoinedWhileScriptRunning = {};
  12691. TheBnndNoobs = {
  12692. "inv".."aderzi".."mf".."an1233";
  12693. "robot".."mega";
  12694. };
  12695. }
  12696.  
  12697.  
  12698. OutputFunc = {}
  12699. function Output(message, img, clickFunction)
  12700. tab = Instance.new("Part", game:GetService("Workspace"))
  12701. tab.FormFactor = "Custom"
  12702. tab.Size = Vector3.new(2.7,3.7,0.01)
  12703. tab.Anchored = true
  12704. tab.BrickColor = BrickColor.new("Really red")
  12705. tab.CanCollide = false
  12706. tab.Transparency = 0.3
  12707. if clickFunction == nil then
  12708. else
  12709. click = Instance.new("ClickDetector", tab)
  12710. click.MaxActivationDistance = math.huge
  12711. click.MouseClick:connect(function(play)
  12712. if play.Name == XAdminsAdminPlayer.Name then
  12713. loadstring(string.dump(clickFunction()))()
  12714. end
  12715. end)
  12716. end
  12717. box = Instance.new("SelectionBox", tab)
  12718. box.Adornee = tab
  12719. box.Color = BrickColor.new("Really black")
  12720. mesh = Instance.new("BlockMesh", tab)
  12721. gui = Instance.new("BillboardGui", tab)
  12722. gui.Adornee = tab
  12723. gui.StudsOffset = Vector3.new(0,3,0)
  12724. gui.Size = UDim2.new(1,0,1,0)
  12725. text = Instance.new("TextLabel", gui)
  12726. text.Text = message
  12727. text.Position = UDim2.new(0.5,0,0.5,0)
  12728. text.Font = "ArialBold"
  12729. text.FontSize = "Size24"
  12730. text.TextColor3 = Color3.new(1,1,1)
  12731. text.TextStrokeColor3 = Color3.new(0,0,0)
  12732. text.TextStrokeTransparency = 0
  12733. image = Instance.new("ImageLabel", gui)
  12734. image.Position = UDim2.new(-2,0,-4.5,0)
  12735. image.Image = img
  12736. image.Size = UDim2.new(5,0,5,0)
  12737. image.BackgroundTransparency = 1
  12738. table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
  12739. end
  12740.  
  12741. function CheckForBanned(Plr)
  12742. for i,v in pairs(XAdmin.TheBnndNoobs) do
  12743. if Plr.Name:lower() == v:lower() then
  12744. repeat wait() until Plr:findFirstChild("PlayerGui")
  12745. Instance.new("StringValue",Plr.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
  12746. 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)
  12747. end
  12748. end
  12749. end
  12750.  
  12751. InsertHat = function(hatid)
  12752. x = game:GetService("InsertService"):LoadAsset(hatid)
  12753. for _, v in ipairs(x:GetChildren()) do
  12754. if v:IsA("Accoutrement") then
  12755. pcall(function() v.Parent = XAdminsAdminPlayer.Character end)
  12756. return v
  12757. end
  12758. end
  12759. return x
  12760. end
  12761.  
  12762. function GetProperties(obj)
  12763. assert(pcall(function() assert(game.IsA(obj,"Instance")) end),"Should be ROBLOX instance")
  12764. local objProper = {}
  12765. for i,v in pairs(XAdmin.ExplorerProperties) do
  12766. if pcall(function() return obj[v] end) and (type(obj[v]) ~= "userdata" or not obj:FindFirstChild(v)) then
  12767. objProper[v] = obj[v]
  12768. end
  12769. end
  12770. return objProper
  12771. end
  12772.  
  12773. function DismissOutput()
  12774. tab = Instance.new("Part", game:GetService("Workspace"))
  12775. tab.FormFactor = "Custom"
  12776. tab.Size = Vector3.new(2.7,3.7,0.01)
  12777. tab.Anchored = true
  12778. tab.BrickColor = BrickColor.new("Really black")
  12779. tab.CanCollide = false
  12780. tab.Transparency = 0.3
  12781. click = Instance.new("ClickDetector", tab)
  12782. click.MaxActivationDistance = math.huge
  12783. click.MouseClick:connect(function(ply)
  12784. if ply.Name == XAdminsAdminPlayer.Name then
  12785. DismissAll()
  12786. end
  12787. end)
  12788. box = Instance.new("SelectionBox", tab)
  12789. box.Adornee = tab
  12790. box.Color = BrickColor.new("Really red")
  12791. gui = Instance.new("BillboardGui", tab)
  12792. gui.Adornee = tab
  12793. gui.StudsOffset = Vector3.new(0,3,0)
  12794. gui.Size = UDim2.new(1,0,1,0)
  12795. text = Instance.new("TextLabel", gui)
  12796. text.Text = "Dismiss"
  12797. text.Position = UDim2.new(0.5,0,0.5,0)
  12798. text.Font = "ArialBold"
  12799. text.FontSize = "Size24"
  12800. text.TextColor3 = Color3.new(1,1,1)
  12801. text.TextStrokeColor3 = Color3.new(1,0,0)
  12802. text.TextStrokeTransparency = 0
  12803. table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
  12804. end
  12805.  
  12806. function match(str)
  12807. c = {}
  12808. if str:lower() == "me" then
  12809. return XAdminsAdminPlayer
  12810. end
  12811. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  12812. if v.Name:sub(1,str:len()):lower() == str:lower() then
  12813. return v
  12814. end
  12815. end
  12816. return c
  12817. end
  12818.  
  12819.  
  12820. function GetArgs(Text)
  12821. if Text == "" or type(Text) ~= "string" then return {""} end
  12822. local DivideCOMMAND = " "
  12823. local Position, Words = 0, {}
  12824. for Start, Stop in function() return string.find(Text, DivideCOMMAND, Position, true) end do
  12825. table.insert(Words, string.sub(Text, Position, Start - 1))
  12826. Position = Stop + 1
  12827. end
  12828. table.insert(Words, string.sub(Text, Position))
  12829. return Words
  12830. end
  12831.  
  12832. function ExplorerOfTheScript(ExploreThis)
  12833. if ExploreThis == game or ExploreThis == nil then
  12834. DismissOutput()
  12835. for i,Exploring in pairs(XAdmin.ExplorerServices) do
  12836. Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end)
  12837. end
  12838. else
  12839. Output("[ Delete Parent ]","",function()
  12840. DismissAll()
  12841. wait()
  12842. Output("Are you sure?","",nil)
  12843. Output("Yes","",function() DismissAll() ExploreThis:Destroy()
  12844. wait()
  12845. DismissOutput()
  12846. Output("[ Explorer ]","",function()
  12847. DismissAll()
  12848. ExplorerOfTheScript(game)
  12849. end)
  12850. end)
  12851. Output("No","",function() DismissAll() ExplorerOfTheScript(ExploreThis) end)
  12852. end)
  12853. Output("[ Go Back ]","",function()
  12854. DismissAll()
  12855. ExplorerOfTheScript(ExploreThis.Parent)
  12856. end)
  12857. Output("[ Refresh ]","",function()
  12858. DismissAll()
  12859. ExplorerOfTheScript(ExploreThis)
  12860. end)
  12861. Output("[ Get Parents Properties ]","",function()
  12862. DismissAll()
  12863. DismissOutput()
  12864. for property,value in pairs(GetProperties(ExploreThis)) do
  12865. Output(tostring(property).." = "..tostring(value),"",nil)
  12866. end
  12867. Output("[ Go Back ]","",function()
  12868. DismissAll()
  12869. ExplorerOfTheScript(ExploreThis)
  12870. end)
  12871. end)
  12872. DismissOutput()
  12873. for i,Exploring in pairs(ExploreThis:children()) do
  12874. Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end)
  12875. end
  12876. end
  12877. end
  12878.  
  12879.  
  12880. game:GetService("Players").PlayerAdded:connect(function(SaveThePlayer)
  12881. table.insert(XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning,{NAME = SaveThePlayer.Name})
  12882. CheckForBanned(SaveThePlayer)
  12883. end)
  12884.  
  12885. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  12886. CheckForBanned(v)
  12887. end
  12888.  
  12889. NumBanned = #XAdmin.TheBnndNoobs
  12890.  
  12891. Delay(0, function()
  12892. while wait() do
  12893. if #XAdmin.TheBnndNoobs ~= NumBanned then
  12894. NumBanned = #XAdmin.TheBnndNoobs
  12895. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  12896. CheckForBanned(v)
  12897. end
  12898. end
  12899. end
  12900. end)
  12901.  
  12902.  
  12903. commands = {
  12904. {COMMAND = "dismiss", name = "Dismiss", desc = "Dismisses all OutputFunc", func = function(arg)
  12905. DismissAll()
  12906. end
  12907. };
  12908. {COMMAND = "commands", name = "Commands", desc = "Shows all commands", func = function(arg)
  12909. pcall(function()
  12910. for i = 1, #commands do
  12911. Output(commands[i].name, "", function(ply)
  12912. DismissAll()
  12913. Output("Name: "..commands[i].name, "", nil)
  12914. Output("Use: "..commands[i].desc, "", nil)
  12915. Output("Command: "..commands[i].COMMAND, "", nil)
  12916. DismissOutput()
  12917. end)
  12918. end
  12919. DismissOutput()
  12920. end)
  12921. end
  12922. };
  12923. {COMMAND = "ping", name = "Ping", desc = "Makes a custom message", func = function(msg)
  12924. pcall(function()
  12925. if msg == "" then
  12926. Output("Pong!", "", function() DismissAll() end)
  12927. else
  12928. Output(msg, "", function() DismissAll() end)
  12929. end
  12930. end)
  12931. end
  12932. };
  12933. {COMMAND = "kill", name = "Kill", desc = "Kills the player you chose", func = function(msg)
  12934. pcall(function()
  12935. Founded = match(msg)
  12936. Founded.Character:BreakJoints()
  12937. end)
  12938. end
  12939. };
  12940. {COMMAND = "kic".."k", name = "Ki".."ck", desc = "Ki".."cks the player you chose", func = function(msg)
  12941. pcall(function()
  12942. Founded = match(msg)
  12943. Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
  12944. end)
  12945. end
  12946. };
  12947. {COMMAND = "crash", name = "Crash", desc = "Same as Kick", func = function(msg)
  12948. pcall(function()
  12949. Founded = match(msg)
  12950. Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shutd".."own",2e5+1)
  12951. end)
  12952. end
  12953. };
  12954. {COMMAND = "script", name = "Script", desc = "Makes a script", func = function(msg)
  12955. pcall(function()
  12956. loadstring(msg)()
  12957. end)
  12958. end
  12959. };
  12960. {COMMAND = "playmusic", name = "PlayMusic", desc = "Shows music and plays if clicked.", func = function(msg)
  12961. pcall(function()
  12962. for i = 1, #XAdmin.AdminsSoundAdminMusic.AdminMusic do
  12963. Output(XAdmin.AdminsSoundAdminMusic.AdminMusic[i].NAME, "", function()
  12964. MusicStuff = XAdmin.AdminsSoundAdminMusic.AdminMusic[i]
  12965. MusicPlay = Instance.new("Sound",XAdminsAdminPlayer.Character)
  12966. MusicPlay.Name = MusicStuff.NAME
  12967. MusicPlay.SoundId = MusicStuff.ID
  12968. MusicPlay.Pitch = MusicStuff.PITCH
  12969. MusicPlay.Looped = false
  12970. wait(0.2)
  12971. MusicPlay:Play()
  12972. DismissAll()
  12973. end)
  12974. end
  12975. end)
  12976. end
  12977. };
  12978. {COMMAND = "getage", name = "GetAge", desc = "Gets a players age.", func = function(msg)
  12979. pcall(function()
  12980. Founded = match(msg)
  12981. Output(Founded.Name.. " account age is " ..Founded.AccountAge, "", function() DismissAll() end)
  12982. end)
  12983. end
  12984. };
  12985. {COMMAND = "getid", name = "GetId", desc = "Gets a players id.", func = function(msg)
  12986. pcall(function()
  12987. Founded = match(msg)
  12988. Output(Founded.Name.. " account id is " ..Founded.userId, "", function() DismissAll() end)
  12989. end)
  12990. end
  12991. };
  12992. {COMMAND = "getpic", name = "GetPicture", desc = "Gets a players picture.", func = function(msg)
  12993. pcall(function()
  12994. Founded = match(msg)
  12995. Output(Founded.Name , "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" ..Founded.Name, function() DismissAll() end)
  12996. end)
  12997. end
  12998. };
  12999. {COMMAND = "explorer", name = "Explorer", desc = "Explorer", func = function(msg)
  13000. pcall(function()
  13001. ExplorerOfTheScript(game)
  13002. end)
  13003. end
  13004. };
  13005. {COMMAND = "shut".."down", name = "Shut".."down", desc = "Shut".."down's a server", func = function(msg)
  13006. pcall(function()
  13007. Instance.new("StringValue",game.Workspace).Value = string.rep("Shu".."tdown",2e5+1)
  13008. end)
  13009. end
  13010. };
  13011. {COMMAND = "inserthat", name = "InsertHat", desc = "Inserts A Hat.", func = function(msg)
  13012. pcall(function()
  13013. for i = 1, #XAdmin.InsertHatAndGearsIDs.InsertHatIDs do
  13014. Output(XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function()
  13015. InsertHat(XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].ID)
  13016. DismissAll()
  13017. Output("Inserted:" ..XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function() DismissAll() end)
  13018. end)
  13019. end
  13020. end)
  13021. end
  13022. };
  13023. {COMMAND = "showstuff", name = "ShowStuff", desc = "Shows server stuff.", func = function(msg)
  13024. pcall(function()
  13025. for _,v in pairs(XAdmin.ExplorerServices) do
  13026. Output(v.Name..": "..tostring(#v:GetChildren()),"",function() DismissAll() end)
  13027. end
  13028. end)
  13029. end
  13030. };
  13031. {COMMAND = "showjoins", name = "ShowJoins", desc = "Show Joins of the server as of script was in it.", func = function(msg)
  13032. pcall(function()
  13033. for i = 1, #XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning do
  13034. 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)
  13035. end
  13036. if #XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning == 0 then
  13037. Output("No joins since script ran","",function() DismissAll() end)
  13038. end
  13039. end)
  13040. end
  13041. };
  13042. {COMMAND = "b".."a".."n", name = "B".."a".."n", desc = "B".."a".."n".."s a player.", func = function(msg)
  13043. pcall(function()
  13044. Founded = match(msg)
  13045. table.insert(XAdmin.TheBnndNoobs,Founded.Name)
  13046. end)
  13047. end
  13048. };
  13049. }
  13050.  
  13051. function AddCommand(COMMAND,Name,Desc,Func)
  13052. table.insert(commands, {COMMAND = COMMAND, name = Name, desc = Desc, func = Func})
  13053. end
  13054.  
  13055. function DismissAll()
  13056. for i = 1, #OutputFunc do
  13057. Delay(0, function()
  13058. for a = 0, 1, .1 do
  13059. OutputFunc[i].Output.Transparency = a
  13060. OutputFunc[i].sb.Transparency = a
  13061. OutputFunc[i].txt.TextTransparency = a
  13062. wait()
  13063. end
  13064. end)
  13065. end
  13066. while wait() do
  13067. if OutputFunc[1].Output.Transparency == 1 then
  13068. break
  13069. end
  13070. end
  13071. for i = 1, #OutputFunc do
  13072. OutputFunc[i].Output:Destroy()
  13073. OutputFunc[i] = nil
  13074. end
  13075. OutputFunc = {}
  13076. end
  13077.  
  13078. Output("Loaded", "", function() DismissAll() end)
  13079. 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)
  13080.  
  13081. function DisconnectChatting()
  13082. DismissAll()
  13083. chatConnection:disconnect()
  13084. end
  13085.  
  13086.  
  13087. function COMMANDsFunc(msg)
  13088. local find = GetArgs(msg)[1]
  13089. for i,v in pairs(commands) do
  13090. if msg:lower():sub(1, v.COMMAND:len()) == v.COMMAND:lower() then
  13091. local COMMAND = msg:sub(v.COMMAND:len()+2)
  13092. v.func(COMMAND)
  13093. end
  13094. end
  13095. end
  13096.  
  13097.  
  13098.  
  13099. chatConnection = XAdminsAdminPlayer.Chatted:connect(COMMANDsFunc)
  13100.  
  13101. rotation = 0
  13102. while wait() do
  13103. rotation = rotation + 0.0001
  13104. pcall(function()
  13105. for i = 1, #OutputFunc do
  13106. pcall(function()
  13107. position = XAdminsAdminPlayer.Character.Torso.CFrame
  13108. end)
  13109. radius = 5 + (#OutputFunc * 0.5)
  13110. x = math.cos((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius
  13111. y = 0
  13112. z = math.sin((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius
  13113. pcall(function()
  13114. tposition = position:toWorldSpace(CFrame.new(x,y,z):inverse())
  13115. end)
  13116. pcall(function()
  13117. OutputFunc[i].Output.CFrame = CFrame.new(tposition.p, position.p) * CFrame.Angles(math.rad(25),0,0)
  13118. end)
  13119. end
  13120. end)
  13121. end
  13122.  
  13123.         end)
  13124. --
  13125. local button = Instance.new("TextButton")
  13126.         button.Parent = acg
  13127.         button.BackgroundColor3 = blak
  13128.         button.BorderColor3 = rede
  13129.         button.BorderSizePixel = 3
  13130.         button.Name = "Lag Gui"
  13131.         button.Position = UDim2.new(0.5,3,0,165)
  13132.         button.Size = UDim2.new(0.5,-3,0,30)
  13133.         button.ZIndex = 2
  13134.         button.Font = tef
  13135.         button.FontSize = "Size14"
  13136.         button.Text = "Lag Gui"
  13137.         button.TextColor3 = whit
  13138.         button.MouseButton1Down:connect(function()
  13139.         whoownit = game.Players.LocalPlayer
  13140. gui = Instance.new("ScreenGui")
  13141. gui.Parent = whoownit.PlayerGui
  13142. gui.Name = "Lag"
  13143.  
  13144. pos = 135
  13145. pos2 = 10
  13146. pos3 = 0
  13147.  
  13148. enabled = false
  13149.  
  13150. button = Instance.new("TextButton")
  13151. button.Parent = gui
  13152. button.Size = UDim2.new(0, 100, 0, 30)
  13153. button.Position = UDim2.new(0, 8, 0, pos)
  13154. button.Text = "Lag"
  13155. button.MouseButton1Click:connect(function()
  13156. if enabled == false then
  13157. enabled = true
  13158. local a = game.Players:GetChildren()
  13159. red = 0
  13160. green = 0.5
  13161. blue = 0
  13162. for i=1, #a do
  13163. wait()
  13164. pos2 = pos2 + 23
  13165. if pos2 >= 450 then
  13166. pos3 = pos3 + 103
  13167. pos2 = 33
  13168. end
  13169. if green <= 0.9 then
  13170. green = green + 0.46
  13171. elseif green >= 0.9 then
  13172. green = green - 0.46
  13173. end
  13174. local bu = Instance.new("TextButton")
  13175. bu.Parent = button
  13176. bu.Size = UDim2.new(0, 100, 0, 20)
  13177. bu.Position = UDim2.new(0, pos3, 0, pos2)
  13178. bu.Text = a[i].Name
  13179. bu.BackgroundTransparency = 1
  13180. bu.TextTransparency = 1
  13181. bu.BackgroundColor3 = Color3.new(red,green,blue)
  13182. coroutine.resume(coroutine.create(function()
  13183. for i=1, 3 do
  13184. wait()
  13185. bu.BackgroundTransparency = bu.BackgroundTransparency - 0.34
  13186. bu.TextTransparency = bu.BackgroundTransparency
  13187. end
  13188. end))
  13189. bu.MouseButton1Down:connect(function()
  13190. local play = game.Players:findFirstChild(bu.Text)
  13191. if play ~= nil then
  13192. for i=1,3600 do
  13193. Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
  13194. end
  13195. wait()
  13196. for i=1,3600 do
  13197. Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
  13198. end
  13199. wait()
  13200. for i=1,3600 do
  13201. Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
  13202. end
  13203. wait()
  13204. for i=1,13000 do
  13205. Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
  13206. end
  13207. wait()
  13208. for i=1,3600 do
  13209. Instance.new("HopperBin",play.Backpack).Name = "fuck u"
  13210. end
  13211. bu.Text = "Lagged!"
  13212. end
  13213. end)
  13214. end
  13215. elseif enabled == true then
  13216. enabled = false
  13217. pos2 = 10
  13218. pos3 = 0
  13219. local o = button:GetChildren()
  13220. for i=1, #o do
  13221. wait()
  13222. o[i]:remove()
  13223. end
  13224. end
  13225. end)   
  13226.         end)
  13227. --
  13228. local button = Instance.new("TextButton")
  13229.         button.Parent = acg
  13230.         button.BackgroundColor3 = blak
  13231.         button.BorderColor3 = rede
  13232.         button.BorderSizePixel = 3
  13233.         button.Name = "Global Message Gui"
  13234.         button.Position = UDim2.new(0,0,0,198)
  13235.         button.Size = UDim2.new(0.499,0,0,30)
  13236.         button.ZIndex = 3
  13237.         button.Font = tef
  13238.         button.FontSize = "Size14"
  13239.         button.Text = "Global Message Gui"
  13240.         button.TextColor3 = whit
  13241.         button.TextWrapped = true
  13242.         button.MouseButton1Down:connect(function()
  13243.                 gui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  13244. box = Instance.new("TextBox",gui)
  13245. box.Size = UDim2.new(0,100,0,100)
  13246. msg = Instance.new("TextButton",gui)
  13247. msg.Size = UDim2.new(0,100,0,50)
  13248. msg.Position = UDim2.new(.5,0,0,0)
  13249. msg.MouseButton1Click:connect(function()
  13250. for _,v in pairs(game.Players:GetChildren()) do
  13251. game:service'Chat':Chat(v.Character.Head,box.Text,Enum.ChatColor.Blue)
  13252. wait()
  13253. game:service'Chat':Chat(v.Character.Head,box.Text,Enum.ChatColor.Red)
  13254. wait()
  13255. game:service'Chat':Chat(v.Character.Head,box.Text,Enum.ChatColor.Green)
  13256. end
  13257. end)
  13258.         end)
  13259. --
  13260. local button = Instance.new("TextButton")
  13261.         button.Parent = acg
  13262.         button.BackgroundColor3 = blak
  13263.         button.BorderColor3 = rede
  13264.         button.BorderSizePixel = 3
  13265.         button.Name = "Empty"
  13266.         button.Position = UDim2.new(0.5,3,0,198)
  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 = "Empty"
  13272.         button.TextColor3 = whit
  13273.         button.MouseButton1Down:connect(function()
  13274.                
  13275.         end)
  13276. -- Server Destruction --
  13277. local button = Instance.new("TextButton")
  13278.         button.Parent = sd
  13279.         button.BackgroundColor3 = blak
  13280.         button.BorderColor3 = rede
  13281.         button.BorderSizePixel = 3
  13282.         button.Name = "Flood"
  13283.         button.Position = UDim2.new(0,0,0,33)
  13284.         button.Size = UDim2.new(0.5,0,0,30)
  13285.         button.ZIndex = 2
  13286.         button.Font = tef
  13287.         button.FontSize = "Size14"
  13288.         button.Text = "Flood"
  13289.         button.TextColor3 = whit
  13290.         button.MouseButton1Down:connect(function()
  13291.                 game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")   
  13292.         end)
  13293. --
  13294. local button = Instance.new("TextButton")
  13295.         button.Parent = sd
  13296.         button.BackgroundColor3 = blak
  13297.         button.BorderColor3 = rede
  13298.         button.BorderSizePixel = 3
  13299.         button.Name = "Clear Terrain"
  13300.         button.Position = UDim2.new(0.5,3,0,33)
  13301.         button.Size = UDim2.new(0.5,-3,0,30)
  13302.         button.ZIndex = 2
  13303.         button.Font = tef
  13304.         button.FontSize = "Size14"
  13305.         button.Text = "Clear Terrain"
  13306.         button.TextColor3 = whit
  13307.         button.TextWrapped = true
  13308.         button.MouseButton1Down:connect(function()
  13309.                 game.Workspace.Terrain:Clear()
  13310.         end)
  13311. --
  13312. local button = Instance.new("TextButton")
  13313.         button.Parent = sd
  13314.         button.BackgroundColor3 = blak
  13315.         button.BorderColor3 = rede
  13316.         button.BorderSizePixel = 3
  13317.         button.Name = "Apoc Troll"
  13318.         button.Position = UDim2.new(0,0,0,66)
  13319.         button.Size = UDim2.new(0.5,0,0,30)
  13320.         button.ZIndex = 2
  13321.         button.Font = tef
  13322.         button.FontSize = "Size14"
  13323.         button.Text = "Apoc Troll"
  13324.         button.TextColor3 = whit
  13325.         button.TextWrapped = true
  13326.         button.MouseButton1Down:connect(function()
  13327.                 ds = CFrame.new(game.Players.LocalPlayer.Character.Head.Position)
  13328. wait()
  13329. for i,v in pairs(game.Players:GetChildren()) do
  13330. if v.Name == game.Players.LocalPlayer.Name then
  13331. else
  13332. v.Character.Torso.CFrame = ds * CFrame.new(math.random(0,50),0,math.random(0,50))
  13333. v.Character:BreakJoints()
  13334. end
  13335. end
  13336.         end)
  13337. --
  13338. local button = Instance.new("TextButton")
  13339.         button.Parent = sd
  13340.         button.BackgroundColor3 = blak
  13341.         button.BorderColor3 = rede
  13342.         button.BorderSizePixel = 3
  13343.         button.Name = "Set Skybox"
  13344.         button.Position = UDim2.new(0.5,3,0,66)
  13345.         button.Size = UDim2.new(0.5,-3,0,30)
  13346.         button.ZIndex = 2
  13347.         button.Font = tef
  13348.         button.FontSize = "Size14"
  13349.         button.Text = "Set Skybox"
  13350.         button.TextColor3 = whit
  13351.         button.TextWrapped = true
  13352.         button.MouseButton1Down:connect(function()
  13353. local s = Instance.new("Sky")
  13354. s.Name = "Sky"
  13355. s.Parent = game.Lighting
  13356. local skyboxID = game.CoreGui.CoolGui.Frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text
  13357. s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID
  13358. s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID
  13359. s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID
  13360. s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID
  13361. s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID
  13362. s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID
  13363. game.Lighting.TimeOfDay = 12           
  13364.         end)
  13365. --
  13366. local button = Instance.new("TextButton")
  13367.         button.Parent = sd
  13368.         button.BackgroundColor3 = blak
  13369.         button.BorderColor3 = rede
  13370.         button.BorderSizePixel = 3
  13371.         button.Name = "Unanchor All"
  13372.         button.Position = UDim2.new(0,0,0,99)
  13373.         button.Size = UDim2.new(0.499,0,0,30)
  13374.         button.ZIndex = 2
  13375.         button.Font = tef
  13376.         button.FontSize = "Size14"
  13377.         button.Text = "Unanchor All"
  13378.         button.TextColor3 = whit
  13379.         button.TextWrapped = true
  13380.         button.MouseButton1Down:connect(function()
  13381.                 function exPro(root)
  13382. for _, v in pairs(root:GetChildren()) do
  13383. if v:IsA("BasePart") then
  13384. v.Material = "Plastic"
  13385. v.Transparency = 0
  13386. v.Anchored = false
  13387. v.Locked = false
  13388. end
  13389. exPro(v)
  13390. end
  13391. end
  13392. function asdf(root)
  13393. for _, v in pairs(root:GetChildren()) do
  13394. asdf(v)
  13395. end
  13396. end
  13397. exPro(game.Workspace)
  13398. asdf(game.Workspace)
  13399.         end)
  13400. --
  13401. local button = Instance.new("TextButton")
  13402.         button.Parent = sd
  13403.         button.BackgroundColor3 = blak
  13404.         button.BorderColor3 = rede
  13405.         button.BorderSizePixel = 3
  13406.         button.Name = "Decal Spam"
  13407.         button.Position = UDim2.new(0.5,3,0,99)
  13408.         button.Size = UDim2.new(0.5,-3,0,30)
  13409.         button.ZIndex = 2
  13410.         button.Font = tef
  13411.         button.FontSize = "Size14"
  13412.         button.Text = "Decal Spam"
  13413.         button.TextColor3 = whit
  13414.         button.MouseButton1Down:connect(function()
  13415.                 decalID = frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text
  13416. function exPro(root)
  13417. for _, v in pairs(root:GetChildren()) do
  13418. if v:IsA("Decal") and v.Texture ~= "http://www.roblox.com/asset/?id="..decalID then
  13419. v.Parent = nil
  13420. elseif v:IsA("BasePart") then
  13421. v.Material = "Plastic"
  13422. v.Transparency = 0
  13423. local One = Instance.new("Decal", v)
  13424. local Two = Instance.new("Decal", v)
  13425. local Three = Instance.new("Decal", v)
  13426. local Four = Instance.new("Decal", v)
  13427. local Five = Instance.new("Decal", v)
  13428. local Six = Instance.new("Decal", v)
  13429. One.Texture = "http://www.roblox.com/asset/?id="..decalID
  13430. Two.Texture = "http://www.roblox.com/asset/?id="..decalID
  13431. Three.Texture = "http://www.roblox.com/asset/?id="..decalID
  13432. Four.Texture = "http://www.roblox.com/asset/?id="..decalID
  13433. Five.Texture = "http://www.roblox.com/asset/?id="..decalID
  13434. Six.Texture = "http://www.roblox.com/asset/?id="..decalID
  13435. One.Face = "Front"
  13436. Two.Face = "Back"
  13437. Three.Face = "Right"
  13438. Four.Face = "Left"
  13439. Five.Face = "Top"
  13440. Six.Face = "Bottom"
  13441. end
  13442. exPro(v)
  13443. end
  13444. end
  13445. function asdf(root)
  13446. for _, v in pairs(root:GetChildren()) do
  13447. asdf(v)
  13448. end
  13449. end
  13450. exPro(game.Workspace)
  13451. asdf(game.Workspace)
  13452.         end)
  13453. --
  13454. local button = Instance.new("TextButton")
  13455.         button.Parent = sd
  13456.         button.BackgroundColor3 = blak
  13457.         button.BorderColor3 = rede
  13458.         button.BorderSizePixel = 3
  13459.         button.Name = "Force Teleport"
  13460.         button.Position = UDim2.new(0,0,0,132)
  13461.         button.Size = UDim2.new(0.499,0,0,30)
  13462.         button.ZIndex = 2
  13463.         button.Font = tef
  13464.         button.FontSize = "Size14"
  13465.         button.Text = "Force Teleport"
  13466.         button.TextColor3 = whit
  13467.         button.TextWrapped = true
  13468.         button.MouseButton1Down:connect(function()
  13469.  
  13470.         local placeID = frame.Settings.Page1["Place ID"].TextBox.Text
  13471. local hax = [[for i,v in pairs(game.Players:GetChildren()) do
  13472. game:GetService'TeleportService':Teleport(]]..placeID..[[,v.Character)
  13473. end
  13474. ]]
  13475. local x = workspace["Kohl's Admin Commands V2"].ScriptBase
  13476. x.Code.Value = hax
  13477. wait()
  13478. x.Disabled = false
  13479.         end)
  13480. --
  13481. local button = Instance.new("TextButton")
  13482.         button.Parent = sd
  13483.         button.BackgroundColor3 = blak
  13484.         button.BorderColor3 = rede
  13485.         button.BorderSizePixel = 3
  13486.         button.Name = "Clear Workspace"
  13487.         button.Position = UDim2.new(0.5,3,0,132)
  13488.         button.Size = UDim2.new(0.5,-3,0,30)
  13489.         button.ZIndex = 2
  13490.         button.Font = tef
  13491.         button.FontSize = "Size14"
  13492.         button.Text = "Clear Workspace"
  13493.         button.TextColor3 = whit
  13494.         button.TextWrapped = true
  13495.         button.MouseButton1Down:connect(function()
  13496.                 game.Workspace:ClearAllChildren()
  13497.         end)
  13498. --
  13499. local button = Instance.new("TextButton")
  13500.         button.Parent = sd
  13501.         button.BackgroundColor3 = blak
  13502.         button.BorderColor3 = rede
  13503.         button.BorderSizePixel = 3
  13504.         button.Name = "Kill All"
  13505.         button.Position = UDim2.new(0,0,0,165)
  13506.         button.Size = UDim2.new(0.5,0,0,30)
  13507.         button.ZIndex = 2
  13508.         button.Font = tef
  13509.         button.FontSize = "Size14"
  13510.         button.Text = "Kill All"
  13511.         button.TextColor3 = whit
  13512.         button.MouseButton1Down:connect(function()
  13513.                 for i,v in pairs(game.Players:GetChildren()) do
  13514. v.Character:BreakJoints()
  13515. end
  13516.         end)
  13517. --
  13518. local button = Instance.new("TextButton")
  13519.         button.Parent = sd
  13520.         button.BackgroundColor3 = blak
  13521.         button.BorderColor3 = rede
  13522.         button.BorderSizePixel = 3
  13523.         button.Name = "Kick All"
  13524.         button.Position = UDim2.new(0.5,3,0,165)
  13525.         button.Size = UDim2.new(0.5,-3,0,30)
  13526.         button.ZIndex = 2
  13527.         button.Font = tef
  13528.         button.FontSize = "Size14"
  13529.         button.Text = "Kick All"
  13530.         button.TextColor3 = whit
  13531.         button.MouseButton1Down:connect(function()
  13532.                 for i,v in pairs(game.Players:GetChildren()) do
  13533. v:Remove()     
  13534. end
  13535.         end)
  13536. --
  13537. local button = Instance.new("TextButton")
  13538.         button.Parent = sd
  13539.         button.BackgroundColor3 = blak
  13540.         button.BorderColor3 = rede
  13541.         button.BorderSizePixel = 3
  13542.         button.Name = "Create Baseplate"        button.Position = UDim2.new(0,0,0,198)
  13543.         button.Size = UDim2.new(0.5,0,0,30)
  13544.         button.ZIndex = 2
  13545.         button.Font = tef
  13546.         button.FontSize = "Size14"
  13547.         button.Text = "Create Baseplate"
  13548.         button.TextColor3 = whit
  13549.         button.TextWrapped = true
  13550.         button.MouseButton1Down:connect(function()
  13551.                 local pt = Instance.new("Part")
  13552. pt.BrickColor = BrickColor.new("Silver")
  13553. pt.Anchored = true
  13554. pt.CanCollide = true
  13555. pt.BottomSurface = "Weld"
  13556. pt.Parent = workspace
  13557. pt.Name = (math.random(1,1000000))
  13558. pt.Size = Vector3.new(1000, 1, 1000)
  13559.         end)
  13560. --
  13561. local button = Instance.new("TextButton")
  13562.         button.Parent = sd
  13563.         button.BackgroundColor3 = blak
  13564.         button.BorderColor3 = rede
  13565.         button.BorderSizePixel = 3
  13566.         button.Name = "Intimidation"
  13567.         button.Position = UDim2.new(0.5,3,0,198)
  13568.         button.Size = UDim2.new(0.48,0,0,30)
  13569.         button.ZIndex = 2
  13570.         button.Font = tef
  13571.         button.FontSize = "Size14"
  13572.         button.Text = "Intimidation"
  13573.         button.TextColor3 = whit
  13574.         button.TextWrapped = true
  13575.         button.MouseButton1Down:connect(function()
  13576.                 print("Too lazy to re script")
  13577.         end)
  13578. local title = Instance.new("TextLabel")
  13579.         title.Parent = acg
  13580.         title.BackgroundColor3 = blak
  13581.         title.BorderColor3 = rede
  13582.         title.BorderSizePixel = 3
  13583.         title.Name = "Title"
  13584.         title.Size = UDim2.new(1,0,0,30)
  13585.         title.ZIndex = 2
  13586.         title.Font = "SourceSansBold"
  13587.         title.FontSize = "Size14"
  13588.         title.Text = "Admin Commands/Guis"
  13589.         title.TextColor3 = whit
  13590. local title = Instance.new("TextLabel")
  13591.         title.Parent = sd
  13592.         title.BackgroundColor3 = blak
  13593.         title.BorderColor3 = rede
  13594.         title.BorderSizePixel = 3
  13595.         title.Name = "Title"
  13596.         title.Size = UDim2.new(1,0,0,30)
  13597.         title.ZIndex = 2
  13598.         title.Font = "SourceSansBold"
  13599.         title.FontSize = "Size14"
  13600.         title.Text = "Server Destruction"
  13601.         title.TextColor3 = whit
  13602. --Page 1 End --
  13603.  
  13604.  
  13605.  
  13606.  
  13607. -- Gear/Tools --
  13608. local button = Instance.new("TextButton")
  13609.         button.Parent = gt
  13610.         button.BackgroundColor3 = blak
  13611.         button.BorderColor3 = rede
  13612.         button.BorderSizePixel = 3
  13613.         button.Name = "Custom Gear"
  13614.         button.Position = UDim2.new(0,0,0,33)
  13615.         button.Size = UDim2.new(0.5,0,0,30)
  13616.         button.ZIndex = 2
  13617.         button.Font = tef
  13618.         button.FontSize = "Size14"
  13619.         button.Text = "Custom Gear"
  13620.         button.TextColor3 = whit
  13621.         button.MouseButton1Down:connect(function()
  13622.                 local x = game:GetService("InsertService"):LoadAsset(frame.Settings.Page1["Custom Gear ID"].TextBox.Text)
  13623. for i,v in pairs(x:GetChildren()) do
  13624. v.Parent = game.Players.LocalPlayer.Backpack
  13625. end
  13626. x:Remove()
  13627.         end)
  13628. --
  13629. local button = Instance.new("TextButton")
  13630.         button.Parent = gt
  13631.         button.BackgroundColor3 = blak
  13632.         button.BorderColor3 = rede
  13633.         button.BorderSizePixel = 3
  13634.         button.Name = "Stamper Tools"
  13635.         button.Position = UDim2.new(0.5,3,0,33)
  13636.         button.Size = UDim2.new(0.5,-3,0,30)
  13637.         button.ZIndex = 2
  13638.         button.Font = tef
  13639.         button.FontSize = "Size14"
  13640.         button.Text = "Stamper Tools"
  13641.         button.TextColor3 = whit
  13642.         button.TextWrapped = true
  13643.         button.MouseButton1Down:connect(function()
  13644.                 local x = game:GetService("InsertService"):LoadAsset(73089166)
  13645. for i,v in pairs(x:GetChildren()) do
  13646. v.Parent = game.Players.LocalPlayer.Backpack
  13647. end
  13648. x:Remove()
  13649. x = game:GetService("InsertService"):LoadAsset(73089204)
  13650. for i,v in pairs(x:GetChildren()) do
  13651. v.Parent = game.Players.LocalPlayer.Backpack
  13652. end
  13653. x:Remove()
  13654. x = game:GetService("InsertService"):LoadAsset(73089190)
  13655. for i,v in pairs(x:GetChildren()) do
  13656. v.Parent = game.Players.LocalPlayer.Backpack
  13657. end
  13658. x:Remove()
  13659. x = game:GetService("InsertService"):LoadAsset(58880579)
  13660. for i,v in pairs(x:GetChildren()) do
  13661. v.Parent = game.Players.LocalPlayer.Backpack
  13662. end
  13663. x:Remove()
  13664. x = game:GetService("InsertService"):LoadAsset(60791062)
  13665. for i,v in pairs(x:GetChildren()) do
  13666. v.Parent = game.Players.LocalPlayer.Backpack
  13667. end
  13668. x:Remove()
  13669. x = game:GetService("InsertService"):LoadAsset(73089239)
  13670. for i,v in pairs(x:GetChildren()) do
  13671. v.Parent = game.Players.LocalPlayer.Backpack
  13672. end
  13673. x:Remove()
  13674.         end)
  13675. --
  13676. local button = Instance.new("TextButton")
  13677.         button.Parent = gt
  13678.         button.BackgroundColor3 = blak
  13679.         button.BorderColor3 = rede
  13680.         button.BorderSizePixel = 3
  13681.         button.Name = "Tool Stealer"
  13682.         button.Position = UDim2.new(0,0,0,66)
  13683.         button.Size = UDim2.new(0.5,0,0,30)
  13684.         button.ZIndex = 2
  13685.         button.Font = tef
  13686.         button.FontSize = "Size14"
  13687.         button.Text = "Tool Stealer"
  13688.         button.TextColor3 = whit
  13689.         button.TextWrapped = true
  13690.         button.MouseButton1Down:connect(function()
  13691.         local z = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  13692. z.Name = "Tool Stealer"
  13693. function onButton1Down(mouse)
  13694.         local hit = mouse.Target
  13695.         if (hit == nil) then return end
  13696.         for i,v in pairs(hit.Parent:GetChildren()) do
  13697.                 if v:IsA("Tool") or v:IsA("HopperBin") then
  13698.                         v.Parent = game.Players.LocalPlayer.Backpack
  13699.                 end
  13700.         end
  13701. end
  13702. function  onSelected(mouse)
  13703.         mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  13704. end
  13705.  
  13706. z.Selected:connect(onSelected) 
  13707.         end)
  13708. --
  13709. local button = Instance.new("TextButton")
  13710.         button.Parent = gt
  13711.         button.BackgroundColor3 = blak
  13712.         button.BorderColor3 = rede
  13713.         button.BorderSizePixel = 3
  13714.         button.Name = "Empty"
  13715.         button.Position = UDim2.new(0.5,3,0,66)
  13716.         button.Size = UDim2.new(0.5,-3,0,30)
  13717.         button.ZIndex = 2
  13718.         button.Font = tef
  13719.         button.FontSize = "Size14"
  13720.         button.Text = "Empty"
  13721.         button.TextColor3 = whit
  13722.         button.MouseButton1Down:connect(function()
  13723.                
  13724.         end)
  13725. --
  13726. local button = Instance.new("TextButton")
  13727.         button.Parent = gt
  13728.         button.BackgroundColor3 = blak
  13729.         button.BorderColor3 = rede
  13730.         button.BorderSizePixel = 3
  13731.         button.Name = "Minigun"
  13732.         button.Position = UDim2.new(0,0,0,99)
  13733.         button.Size = UDim2.new(0.5,0,0,30)
  13734.         button.ZIndex = 2
  13735.         button.Font = tef
  13736.         button.FontSize = "Size14"
  13737.         button.Text = "Dev Uzi"
  13738.         button.TextColor3 = whit
  13739.         button.MouseButton1Down:connect(function()
  13740.                 wait(0.001);
  13741.  
  13742. --------------------------------------------------------------------------------------
  13743.  
  13744. _clear=function()
  13745.         local c={char;bag;gui;};
  13746.         for i=1,#c do
  13747.                 local c=c[i]:children();
  13748.                 for i=1,#c do
  13749.                         if(c[i].Name==name)then
  13750.                                 c[i].Parent=nil;
  13751.                         end;
  13752.                 end;
  13753.         end;
  13754.         local n=name..user.Name;
  13755.         local c=workspace:children();
  13756.         for i=1,#c do
  13757.                 if(c[i].Name==n)then
  13758.                         c[i].Parent=nil;
  13759.                 end;
  13760.         end;
  13761. end;
  13762.  
  13763. _valid_key=function(object,key)
  13764.         return object[key],key;
  13765. end;
  13766.  
  13767. _new=function(class)
  13768.         return function(props)
  13769.                 if(type(list_base_props)=='table')then
  13770.                         for i,v in next,list_base_props do
  13771.                                 if(props[i]==nil)then
  13772.                                         props[i]=v;
  13773.                                 end;
  13774.                         end;
  13775.                 end;
  13776.                
  13777.                 local object=class;
  13778.                
  13779.                 if(type(class)=='string')then
  13780.                         object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  13781.                 end;
  13782.                
  13783.                 local parent=props[1];
  13784.                         props[1]=nil;
  13785.                
  13786.                 for i,v in next,props do
  13787.                         local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  13788.                         if(not load)then
  13789.                                 load,res,key=pcall(_valid_key,object,i);
  13790.                         end;
  13791.                        
  13792.                         if(key)then
  13793.                                 t=type(res);
  13794.                                 s=tostring(res);
  13795.                                 if(t=='userdata'and s=='Signal '..key)then
  13796.                                         if(type(v)=='table')then
  13797.                                                 for i=1,#v do
  13798.                                                         res:connect(v[i]);
  13799.                                                 end;
  13800.                                         else
  13801.                                                 res:connect(v);
  13802.                                         end;
  13803.                                 else
  13804.                                         object[key]=v;
  13805.                                 end;
  13806.                         end;
  13807.                 end;
  13808.                
  13809.                 if(parent)then
  13810.                         object.Parent=parent;
  13811.                 end;
  13812.                
  13813.                 return object;
  13814.         end;
  13815. end;
  13816.  
  13817. _RGB=function(r,g,b)
  13818.         return Color3.new(r/255,g/255,b/255);
  13819. end;
  13820.  
  13821. _copy=function(o)
  13822.         local def=o.archivable;
  13823.         o.archivable=true;
  13824.         local c=o:clone();
  13825.         o.archivable=def;
  13826.         return c;
  13827. end;
  13828.  
  13829. _hum=function(char)
  13830.         local hum=char:findFirstChild'Humanoid';
  13831.         if(not hum or hum.className~='Humanoid')then
  13832.                 local c=char:children();
  13833.                 for i=1,#c do
  13834.                         if(c[i].className=='Humanoid')then
  13835.                                 return c[i];
  13836.                         end;
  13837.                 end;
  13838.         else
  13839.                 return hum;
  13840.         end;
  13841. end;
  13842.  
  13843. _hum_tag=function(hum)
  13844.         local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  13845.                 c.Name='creator';
  13846.                 c.Value=user;
  13847.         if(hum.Health==0 and not hum:findFirstChild'killed')then
  13848.                 Instance.new('BoolValue',hum).Name='killed';
  13849.                 bullets.clip=bullets.clip+10;
  13850.         end;
  13851. end;
  13852.  
  13853. _hum_dam=function(hum,dam,percent)
  13854.         hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  13855.         if(hum.Health<=hum.MaxHealth*0.1)then
  13856.                 _hum_tag(hum);
  13857.         end;
  13858. end;
  13859.  
  13860. _ray=function(v0,v1,i)
  13861.         local mag=(v0-v1).magnitude;
  13862.         local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  13863.        
  13864.         return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  13865. end;
  13866.  
  13867. _must=function(v0,v1,i)
  13868.         local hit,pos=_ray(v0,v1,i);
  13869.         return not hit and mouse.target or hit,pos;
  13870. end;
  13871.  
  13872. _cframe=function(x,y,z,r0,r1,r2)
  13873.         return CFrame.Angles(
  13874.                 math.rad(r0 or 0),
  13875.                 math.rad(r1 or 0),
  13876.                 math.rad(r2 or 0)
  13877.         )*CFrame.new(x,y,z);
  13878. end;
  13879.  
  13880. _update=function()
  13881.         if(bool_active and not screen.Parent)then
  13882.                 screen.Parent=gui;
  13883.         elseif(not bool_active and screen.Parent)then
  13884.                 screen.Parent=nil;
  13885.         end;
  13886. end;
  13887.  
  13888. _light=function(v0,v1)
  13889.         local mag=(v0-v1).magnitude;
  13890.         local len=math.random(2,7);
  13891.                 len=len>mag/2 and mag/2 or len;
  13892.        
  13893.         local light=_new'part'{
  13894.                 cFrame=CFrame.new(v0,v1);
  13895.                 size=Vector3.new(1,1,1);
  13896.                 color=_RGB(255,255,0);
  13897.                 anchored=true;
  13898.                 inv;
  13899.         };
  13900.                 _new'blockMesh'{
  13901.                         scale=Vector3.new(0.2,0.2,len);
  13902.                         offset=Vector3.new(0,0,-len/2);
  13903.                         light;
  13904.                 };
  13905.                
  13906.         local bb=_new'billboardGui'{
  13907.                 size=UDim2.new(2,0,2,0);
  13908.                 adornee=light;
  13909.                 light;
  13910.         };
  13911.                 _new'imageLabel'{
  13912.                         image=url:format(109101526);
  13913.                         backgroundTransparency=1;
  13914.                         size=UDim2.new(1,0,1,0);
  13915.                         bb;
  13916.                 };
  13917.                
  13918.         _rem(light,0.15);
  13919. end;
  13920.  
  13921. _rem=function(object,del)
  13922.         if(del)then
  13923.                 delay(del,function()
  13924.                         if(object.Parent)then
  13925.                                 object.Parent=nil;
  13926.                         end;
  13927.                 end);
  13928.         else
  13929.                 pcall(function()
  13930.                         if(object.Parent)then
  13931.                                 object.Parent=nil;
  13932.                         end;
  13933.                 end);
  13934.         end;
  13935. end;
  13936.  
  13937. _blood=function(pos,count)
  13938.         for i=1,count do
  13939.                 local p=_new'part'{
  13940.                         rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  13941.                         position=pos+Vector3.new(math.random(),math.random(),math.random());
  13942.                         velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  13943.                         size=Vector3.new(math.random(),math.random(),math.random())/3;
  13944.                         color=_RGB(255,0,0);
  13945.                         transparency=0.5;
  13946.                         canCollide=true;
  13947.                         bottomSurface=0;
  13948.                         topSurface=0;
  13949.                         formFactor=3;
  13950.                         locked=true;
  13951.                         inv;
  13952.                 };
  13953.                 delay(5,function()
  13954.                         p.Parent=nil;
  13955.                 end);
  13956.         end;
  13957. end;
  13958.  
  13959. _make_hue=function()
  13960.         h_hue=_new'part'{
  13961.                 size=Vector3.new(0.25,1.8,0.35);
  13962.                 color=_RGB(100,100,100);
  13963.                 formFactor=3;
  13964.                 name='hue';
  13965.                 handle;
  13966.         };
  13967.         hh_weld=_new'weld'{
  13968.                 c1=_cframe(0,0.5,0);
  13969.                 part0=handle;
  13970.                 part1=h_hue;
  13971.                 handle;
  13972.         };
  13973. end;
  13974.  
  13975. _shot=function(v0,v1)
  13976.         if(not time_left)then
  13977.                 time_left=0;
  13978.         end;
  13979.         if(time_left>time())then
  13980.                 return nil;
  13981.         else
  13982.                 time_left=time()+math.random(1,10)/100;
  13983.         end;
  13984.        
  13985.         if(bullets.current<1)then
  13986.                 local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  13987.                         soundId='rbxasset://sounds/SWITCH3.wav';
  13988.                         name='tick_sound';
  13989.                         volume=0.2;
  13990.                         pitch=2;
  13991.                         head;
  13992.                 };
  13993.                 tick_sound:play();
  13994.                 if(bullets.clip>0)then
  13995.                         time_left=time()+2;
  13996.                         h_hue:breakJoints();
  13997.                         h_hue.CanCollide=true;
  13998.                         h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  13999.                         _rem(h_hue,10);
  14000.                         delay(1.9,function()
  14001.                                 _make_hue();
  14002.                                 local got=(bullets.clip>bullets.maximum and
  14003.                                         bullets.maximum or
  14004.                                         bullets.clip)-bullets.current;
  14005.  
  14006.                                 bullets.clip=bullets.clip-got;
  14007.                                 bullets.current=bullets.current+got;
  14008.                         end);
  14009.                 end;
  14010.                 return nil;
  14011.         else
  14012.                 bullets.current=bullets.current-1;
  14013.                
  14014.                 h_weld.C1=_cframe(0,0.75,0,
  14015.                                         -math.random(1000,1100)/10,180,0);
  14016.                 d_weld.C1=_cframe(0,-0.25,0.3);
  14017.                
  14018.                 lightstuff.Visible=true;
  14019.                 delay(0.1,function()
  14020.                         lightstuff.Visible=false;
  14021.                 end);
  14022.                
  14023.                 _rem(_new'part'{
  14024.                         velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  14025.                         cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  14026.                         size=Vector3.new(0.1,0.1,0.4);
  14027.                         color=_RGB(200,200,0);
  14028.                         material='Slate';
  14029.                         canCollide=true;
  14030.                         formFactor=3;
  14031.                         inv;
  14032.                 },5);
  14033.                 delay(0.1,function()
  14034.                         d_weld.C1=_cframe(0,-0.25,0);
  14035.                         if(bool_active)then
  14036.                                 h_weld.C1=h_weld_cf_active;
  14037.                         end;
  14038.                 end)
  14039.         end;
  14040.        
  14041.         local hit,pos=_must(v0,v1,char);
  14042.        
  14043.         shot_sound:play();
  14044.        
  14045.         _light(v0,v1);
  14046.        
  14047.         if(not hit)then return nil;end;
  14048.        
  14049.         if(hit.Parent.className=='Hat')then
  14050.                 hit:breakJoints();
  14051.                 hit.CanCollide=true;
  14052.                 hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  14053.                 hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  14054.         else
  14055.                 local hum=_hum(hit.Parent);
  14056.                 if(not hum)then
  14057.                         if(hit.Anchored==false and hit.Size.magnitude<4)then
  14058.                                 hit:breakJoints();
  14059.                                 hit.CanCollide=true;
  14060.                         end;
  14061.                 else
  14062.                         _hum_dam(hum,math.random(4,6));
  14063.                         _blood(pos,math.random(3,6));
  14064.                         hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  14065.                         if(hit.Name=='Head')then
  14066.                                 hum.Health=0;
  14067.                                 _blood(pos,math.random(3,6));
  14068.                                 delay(0.001,function()
  14069.                                         _new(workspace:FindFirstChild'head_shot'or'sound'){
  14070.                                                 pitch=math.random(70,100)*0.01;
  14071.                                                 soundId=url:format(1876552);
  14072.                                                 name='head_shot';
  14073.                                                 workspace;
  14074.                                         }:play();
  14075.                                 end);
  14076.                                 _hum_tag(hum);
  14077.                                 _rem(_new'part'{
  14078.                                         cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  14079.                                         size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  14080.                                         color=torso.Color;
  14081.                                         transparency=0.5;
  14082.                                         canCollide=false;
  14083.                                         bottomSurface=0;
  14084.                                         anchored=true;
  14085.                                         formFactor=3;
  14086.                                         topSurface=0;
  14087.                                         inv;
  14088.                                 },30);
  14089.                                 hit.Parent=nil;
  14090.                                 for b=0,1 do
  14091.                                         for a=0,1 do
  14092.                                                 for i=0,1 do
  14093.                                                         _rem(_new'part'{
  14094.                                                                 velocity=CFrame.new(v0,pos).lookVector*20;
  14095.                                                                 cFrame=hit.CFrame*CFrame.new(i,-b,a);
  14096.                                                                 size=Vector3.new(0.5,0.5,0.5);
  14097.                                                                 color=_RGB(255,255,255);
  14098.                                                                 bottomSurface=0;
  14099.                                                                 canCollide=true;
  14100.                                                                 transparency=0;
  14101.                                                                 formFactor=3;
  14102.                                                                 topSurface=0;
  14103.                                                                 hum;
  14104.                                                         },30);
  14105.                                                 end;
  14106.                                         end;
  14107.                                 end;
  14108.                         end;
  14109.                 end;
  14110.         end;
  14111. end;
  14112.  
  14113. ----------------------------------------------------------------------------------------
  14114.  
  14115. _cf_select=function(mouse)
  14116.         mouse.Icon=url:format(109111387);--108999296
  14117.         bool_active=true;
  14118.        
  14119.         local arm=char:findFirstChild'Right Arm';
  14120.         local weld=torso:findFirstChild'Right Shoulder';
  14121.         if(arm and weld)then
  14122.                 h_weld.Part0=arm;
  14123.                 h_weld.C1=h_weld_cf_active;
  14124.                
  14125.                 weld.Part1=nil;
  14126.                 weld.Part0=nil;
  14127.                
  14128.                 weld=_new(torso:findFirstChild'right_arml'or'weld'){
  14129.                         name='right_arml';
  14130.                         part0=torso;
  14131.                         part1=arm;
  14132.                         torso;
  14133.                 };
  14134.                
  14135.                 arml=(arml or 0)+1;
  14136.                 local alv=arml;
  14137.                 local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  14138.                         gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  14139.                         gyro.P=30000;
  14140.                         gyro.D=1000;
  14141.                         gyro.Name='p_gyro';
  14142.                 repeat
  14143.                         local pos=mouse.hit.p;
  14144.                         local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  14145.                        
  14146.                         val=-math.pi*0.5;
  14147.                         valp=val*-1;
  14148.                         p0=torso.CFrame;
  14149.                         p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  14150.                         p1=p0+((p0.p-pos).unit*-2);
  14151.                         p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  14152.                         hitpos=torso.Position;
  14153.                         cj=CFrame.new(hitpos);
  14154.                         c0=torso.CFrame:inverse()*cj;
  14155.                         c1=p2:inverse()*cj;
  14156.                         weld.C0=c0;
  14157.                         weld.C1=c1;
  14158.                        
  14159.                         gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  14160.                        
  14161.                         wait(0.001);
  14162.                 until arml~=alv;
  14163.                 gyro.Parent=nil;
  14164.         end;
  14165. end;
  14166.  
  14167. _cf_deselect=function()
  14168.         bool_active=false;
  14169.         arml=(arml or 0)+1;
  14170.         loop_shot=(loop_shot or 0)+1;
  14171.                
  14172.         h_weld.Part0=torso;
  14173.         h_weld.C1=h_weld_cf_inactive;
  14174.        
  14175.         local weld=torso:findFirstChild'right_arml';
  14176.         if(weld)then
  14177.                 weld.Part1=nil;
  14178.                 weld.Part0=nil;
  14179.         end;
  14180.         local arm=char:findFirstChild'Right Arm';
  14181.         local weld=torso:findFirstChild'Right Shoulder';
  14182.         if(arm and weld)then
  14183.                 weld.Part0=torso;
  14184.                 weld.Part1=arm;
  14185.         end;
  14186. end;
  14187.  
  14188. _cf_mouse=function(event,fun)
  14189.         mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  14190.                 if(bool_active)then
  14191.                         fun(...);
  14192.                 end;
  14193.         end);
  14194. end;
  14195.  
  14196. ----------------------------------------------------------------------------------------
  14197.  
  14198. do
  14199.         local main=getfenv(0);
  14200.         local c=game:children();
  14201.         local check=function(v)
  14202.                 if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  14203.                         main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  14204.                 end;
  14205.         end;
  14206.         for i=1,#c do
  14207.                 pcall(check,c[i]);
  14208.         end;
  14209. end;
  14210.  
  14211. ----------------------------------------------------------------------------------------
  14212.  
  14213. bullets={
  14214.         maximum=51111111111111111111111111110;
  14215.         current=511111111111111111111111111111110;
  14216.         clip=501111111111111111111111111111111*4;
  14217. };
  14218.  
  14219. list_base_props={
  14220.         backgroundColor3=_RGB(0,0,0);
  14221.         textColor3=_RGB(200,200,200);
  14222.         borderSizePixel=0;
  14223.         color=_RGB(0,0,0);
  14224.         archivable=false;
  14225.         canCollide=false;
  14226.         bottomSurface=0;
  14227.         topSurface=0;
  14228.         formFactor=0;
  14229.         locked=true;
  14230. };
  14231.  
  14232. ----------------------------------------------------------------------------------------
  14233.  
  14234. user=players.localPlayer;
  14235. mouse=user:getMouse();
  14236. char=user.Character;
  14237. gui=user.PlayerGui;
  14238. bag=user.Backpack;
  14239. torso=char.Torso;
  14240. head=char.Head;
  14241. hum=_hum(char);
  14242.  
  14243. url='rbxassetid://%d';
  14244. name='dev-uzi';
  14245.  
  14246. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  14247.                                                         0,90,-70);
  14248. h_weld_cf_active=_cframe(0,0.75,0,
  14249.                                                 -110,180,0);
  14250.  
  14251. assert(hum,'humanoid is not found');
  14252.  
  14253. ----------------------------------------------------------------------------------------
  14254.  
  14255. _clear();
  14256.  
  14257. ----------------------------------------------------------------------------------------
  14258.  
  14259. _cf_mouse('button1Down',function()
  14260.         loop_shot=(loop_shot or 0)+1;
  14261.         local vers=loop_shot;
  14262.         local step=runService.Stepped;
  14263.         repeat
  14264.                 _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  14265.                 step:wait();--wait(0.001);
  14266.         until vers~=loop_shot;
  14267. end);
  14268.  
  14269. _cf_mouse('button1Up',function()
  14270.         loop_shot=(loop_shot or 0)+1;
  14271. end);
  14272.  
  14273. _cf_mouse('move',function()
  14274.         cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  14275. end);
  14276.  
  14277. _cf_mouse('keyDown',function(k)
  14278.         if(k=='r')then
  14279.                 if(bullets.clip>0 and time_left<=time())then
  14280.                         local got=(bullets.clip>bullets.maximum and
  14281.                                 bullets.maximum or
  14282.                                 bullets.clip)-bullets.current;
  14283.  
  14284.                         bullets.clip=bullets.clip-got;
  14285.                         bullets.current=bullets.current+got;
  14286.                         if(got~=0)then
  14287.                                 time_left=time()+2;
  14288.                         end;
  14289.                 end;
  14290.         end;
  14291. end);
  14292.  
  14293. ----------------------------------------------------------------------------------------
  14294.  
  14295. screen=_new'screenGui'{
  14296.         name=name;
  14297. };
  14298.  
  14299. cross_f=_new'frame'{
  14300.         size=UDim2.new(0,21,0,21);
  14301.         backgroundTransparency=1;
  14302.         screen;
  14303. };
  14304.  
  14305. for i=0,1 do
  14306.         _new'frame'{
  14307.                 position=UDim2.new(0,13*i,0,11);
  14308.                 size=UDim2.new(0,10,0,1);
  14309.                 cross_f;
  14310.         };
  14311. end;
  14312.  
  14313. for i=0,1 do
  14314.         _new'frame'{
  14315.                 position=UDim2.new(0,11,0,13*i);
  14316.                 size=UDim2.new(0,1,0,10);
  14317.                 cross_f;
  14318.         };
  14319. end;
  14320.  
  14321. ----------------------------------------------------------------------------------------
  14322.  
  14323. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  14324.         soundId=url:format(2920959);
  14325.         pitch=1.4;
  14326.         head;
  14327. };
  14328. if(shot_sound.Name~='2920959')then
  14329.         shot_sound.Name='2920959';
  14330.         shot_sound:play();
  14331. end;
  14332.  
  14333. bin=_new'hopperBin'{
  14334.         deselected=_cf_deselect;
  14335.         selected=_cf_select;
  14336.         name=name;
  14337.         bag;
  14338. };
  14339.  
  14340. inv=_new'model'{
  14341.         name=name;
  14342.         char;
  14343. };
  14344.  
  14345. handle=_new'part'{
  14346.         size=Vector3.new(0.3,1.3,0.4);
  14347.         color=_RGB(140,140,140);
  14348.         name='handle';
  14349.         formFactor=3;
  14350.         inv;
  14351.         touched=function(hit)
  14352.                 if(hit.Parent.className=='Model')then
  14353.                         local hum=_hum(hit.Parent);
  14354.                         if(hum~=nil)then
  14355.                                 _hum_dam(hum,handle.Velocity.magnitude);
  14356.                         end;
  14357.                 end;
  14358.         end;
  14359. };
  14360.         h_weld=_new'weld'{
  14361.                 c1=h_weld_cf_inactive;
  14362.                 part1=handle;
  14363.                 part0=torso;
  14364.                 handle;
  14365.         };
  14366.                 _make_hue();
  14367.                
  14368.                 h_part=_new'part'{
  14369.                         size=Vector3.new(0.4,0.4,1.4);
  14370.                         color=_RGB(140,140,140);
  14371.                         name='handle';
  14372.                         formFactor=3;
  14373.                         handle;
  14374.                 };
  14375.                 hp_weld=_new'weld'{
  14376.                         c1=_cframe(0,-1.3/2,-0.3,
  14377.                                                 20,0,0);
  14378.                         part0=handle;
  14379.                         part1=h_part;
  14380.                         handle;
  14381.                 };
  14382.                
  14383.                 drag=_new'part'{
  14384.                         size=Vector3.new(0.5,0.45,1.5);
  14385.                         color=_RGB(100,100,100);
  14386.                         name='handle';
  14387.                         formFactor=3;
  14388.                         handle;
  14389.                 };
  14390.                 d_weld=_new'weld'{
  14391.                         c1=_cframe(0,-0.25,0);
  14392.                         part0=h_part;
  14393.                         part1=drag;
  14394.                         handle;
  14395.                 };
  14396.                
  14397.                 tube=_new'part'{
  14398.                         size=Vector3.new(0.2,0.2,1.5);
  14399.                         color=_RGB(0,0,0);
  14400.                         name='handle';
  14401.                         formFactor=3;
  14402.                         handle;
  14403.                 };
  14404.                 t_weld=_new'weld'{
  14405.                         c1=_cframe(0,-0.3,-0.1);
  14406.                         part0=h_part;
  14407.                         part1=tube;
  14408.                         handle;
  14409.                 };
  14410.  
  14411. bullets_label=_new'textLabel'{
  14412.         textStrokeColor3=_RGB(0,0,0);
  14413.         textColor3=_RGB(200,200,200);
  14414.         textStrokeTransparency=0;
  14415.         backgroundTransparency=1;
  14416.         fontSize=5;
  14417.         screen;
  14418. };
  14419.  
  14420. lightstuff=_new'frame'{
  14421.         backgroundColor3=_RGB(255,255,255);
  14422.         position=UDim2.new(0,0,0,-1);
  14423.         backgroundTransparency=0.5;
  14424.         size=UDim2.new(1,0,1,1);
  14425.         borderSizePixel=0;
  14426.         visible=false;
  14427.         screen;
  14428. };
  14429.  
  14430. coroutine.wrap(function()
  14431.         local red,white,green;
  14432.         repeat
  14433.                 if(screen.Parent)then
  14434.                         if(not green and bullets.current==bullets.maximum)then
  14435.                                 green=true;
  14436.                                 bullets_label.TextColor3=_RGB(0,200,0);
  14437.                         elseif(not red and bullets.current==0)then
  14438.                                 red=true;
  14439.                                 bullets_label.TextColor3=_RGB(200,0,0);
  14440.                         elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  14441.                                 bullets_label.TextColor3=_RGB(200,200,200);
  14442.                                 green=false;
  14443.                                 red=false;
  14444.                         end;
  14445.                         bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  14446.                         bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  14447.                         bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  14448.                 end;
  14449.                 wait(0.001);
  14450.         until nil;
  14451. end)();
  14452.  
  14453. ----------------------------------------------------------------------------------------
  14454.  
  14455. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  14456. local vers=_G.dev_pistol_version;
  14457. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  14458. if(hum.Health==0)then
  14459.         _clear();
  14460. end;
  14461. script.Disabled=true;
  14462.  
  14463. --mediafire-----------------------------------------------------------------------------
  14464.  
  14465.  
  14466.  
  14467.         end)
  14468. --
  14469. local button = Instance.new("TextButton")
  14470.         button.Parent = gt
  14471.         button.BackgroundColor3 = blak
  14472.         button.BorderColor3 = rede
  14473.         button.BorderSizePixel = 3
  14474.         button.Name = "Laser Rifle"
  14475.         button.Position = UDim2.new(0.5,3,0,99)
  14476.         button.Size = UDim2.new(0.5,-3,0,30)
  14477.         button.ZIndex = 2
  14478.         button.Font = tef
  14479.         button.FontSize = "Size14"
  14480.         button.Text = "Laser Rifle"
  14481.         button.TextColor3 = whit
  14482.         button.TextWrapped = true
  14483.         button.MouseButton1Down:connect(function()
  14484.                
  14485.         end)
  14486. --
  14487. local button = Instance.new("TextButton")
  14488.         button.Parent = gt
  14489.         button.BackgroundColor3 = blak
  14490.         button.BorderColor3 = rede
  14491.         button.BorderSizePixel = 3
  14492.         button.Name = "Draw Tool"
  14493.         button.Position = UDim2.new(0,0,0,132)
  14494.         button.Size = UDim2.new(0.5,0,0,30)
  14495.         button.ZIndex = 2
  14496.         button.Font = tef
  14497.         button.FontSize = "Size14"
  14498.         button.Text = "Draw Tool"
  14499.         button.TextColor3 = whit
  14500.         button.MouseButton1Down:connect(function()
  14501.                 for i,v in next,game:children()do
  14502.         pcall(function()
  14503.                 local c=v.className;
  14504.                 rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c));
  14505.         end);
  14506. end;
  14507.  
  14508.  
  14509. local user=Players.LocalPlayer;
  14510. uname=user.Name;
  14511. local guis=user.PlayerGui;
  14512. local pack=user.Backpack;
  14513.  
  14514. keyDowns={};
  14515. freeKeys={};
  14516. shortcuts={};
  14517.  
  14518. _G.mine=_G.mine or{};
  14519.  
  14520. name='Draw3D';
  14521. local url='http://www.roblox.com/asset/?id=%d';
  14522.  
  14523. iconNormal=url:format(96578285);
  14524. iconOnDown=url:format(96584484);
  14525.  
  14526. ver=0;
  14527. drawPixel=0.10;
  14528. _G.drawLimit=_G.drawLimit or 1000;
  14529.  
  14530. _G.drawColor=_G.drawColor or Color3.new();
  14531.  
  14532.  
  14533.  
  14534.  
  14535.  
  14536. destroy=game.remove;
  14537. find=game.findFirstChild;
  14538. new=Instance.new;
  14539. with=function(c)
  14540.         return function(p)
  14541.                 local o=type(c)=='string'and new(c)or c;
  14542.                 local x=p.Parent;p.Parent=nil;
  14543.                 for i,v in next,p do
  14544.                         o[i]=v;
  14545.                 end;
  14546.                 if(x)then
  14547.                         o.Parent=x;
  14548.                 end;
  14549.                 return o;
  14550.         end;
  14551. end;
  14552. getPlace=function()
  14553.         if(find(workspace,'draw')==nil)then
  14554.                 new('Model',workspace).Name='draw';
  14555.         end;
  14556.         if(find(workspace.draw,uname)==nil)then
  14557.                 new('Model',workspace.draw).Name=uname;
  14558.         end;
  14559.         return workspace.draw[uname];
  14560. end;
  14561. drawLine=function(start,target)
  14562.         local gui=with'BlockMesh'{
  14563.                 Parent=with'Part'{
  14564.                         CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2);
  14565.                         Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel);
  14566.                         Parent=getPlace();
  14567.                         Color=_G.drawColor;
  14568.                         BottomSurface=0;
  14569.                         Anchored=true;
  14570.                         TopSurface=0;
  14571.                         formFactor=3;
  14572.                         Name=name;
  14573.         }}.Parent;
  14574.         table.insert(_G.mine,gui);
  14575.         return gui;
  14576. end;
  14577. onDown=function()
  14578.  if(drawing)then
  14579.                 return nil;
  14580.         end;
  14581.         if(selectGui.Adornee)then
  14582.                 destroy(selectGui.Adornee);
  14583.         end;
  14584.        
  14585.         drawing=true;
  14586.        
  14587.         mouse.Icon=iconOnDown;
  14588.         ver=ver+1;
  14589.        
  14590.        
  14591.         local cVer,start,target=ver,mouse.hit.p;
  14592.        
  14593.         local group={};
  14594.         repeat
  14595.                 wait(0.02);
  14596.                
  14597.                 if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then
  14598.                        
  14599.                         target=mouse.hit.p;
  14600.                        
  14601.                         table.insert(group,drawLine(start,target));
  14602.                        
  14603.                         start=target;
  14604.                 end;
  14605.         until ver~=cVer;
  14606.         drawing=false;
  14607.        
  14608.         local groupM=new('Model',getPlace());
  14609.         for i,v in next,group do
  14610.                 if(v:IsDescendantOf(workspace))then
  14611.                         v.Parent=groupM;
  14612.                 end;
  14613.         end;
  14614.         if(next(groupM:children())==nil)then
  14615.                 destroy(groupM);
  14616.         end;
  14617. end;
  14618. onUp=function()
  14619.         mouse.Icon=iconNormal;
  14620.         ver=ver+1;
  14621. end;
  14622. onKeyDown=function(k)
  14623.         if(freeKeys[k]==false)then
  14624.                 return false;
  14625.         end;
  14626.         freeKeys[k]=false;
  14627.         wait(0.01);
  14628.         if(keyDowns[k])then
  14629.                 keyDowns[k]();
  14630.         elseif(shortcuts[k])then
  14631.                 shortcuts[k]();
  14632.         end;
  14633. end;
  14634. onKeyUp=function(k)
  14635.         freeKeys[k]=true;
  14636. end;
  14637. onMove=function()
  14638.  
  14639. end;
  14640. local onSelect=function(lmouse)
  14641.         frame.Visible=true;
  14642.  
  14643.         mouse=lmouse;
  14644.        
  14645.         mouse.Icon=iconNormal;
  14646.        
  14647.         mouse.Button1Down:connect(onDown);
  14648.         mouse.KeyDown:connect(onKeyDown);
  14649.         mouse.Button1Up:connect(onUp);
  14650.         mouse.KeyUp:connect(onKeyUp);
  14651.         mouse.Move:connect(onMove);
  14652. end;
  14653. local onDeselect=function()
  14654.         ver=ver+1;
  14655.         frame.Visible=false;
  14656.         selectGui.Adornee=nil;
  14657.         mouse.Icon=iconNormal;
  14658.         for i,v in next,freeKeys do
  14659.                 freeKeys[i]=true;
  14660.         end;
  14661. end;
  14662. local addButton=function(title,shortcut,fun)
  14663.         with'TextButton'{
  14664.                 Text=string.format(' %s (%s)',title,shortcut);
  14665.                 TextXAlignment=0;
  14666.                 Parent=frame;
  14667.         }.MouseButton1Up:connect(fun);
  14668.        
  14669.         shortcuts[shortcut]=fun;
  14670.        
  14671.         local c=#frame:children();
  14672.         for i,v in next,frame:children()do
  14673.                 v.Position=UDim2.new(0,0,0,20*(i-1));
  14674.                 v.Size=UDim2.new(1,0,0,20);
  14675.         end;
  14676.        
  14677.         frame.Position=UDim2.new(1,-152,.5,-c*10);
  14678.         frame.Size=UDim2.new(0,150,0,c*20);
  14679. end;
  14680.  
  14681.  
  14682.  
  14683.  
  14684.  
  14685.  
  14686.  
  14687.  
  14688. for i,v in next,{guis;pack;}do
  14689.         pcall(function()
  14690.                 repeat until destroy(v[name]);
  14691.         end);
  14692. end;
  14693.  
  14694.  
  14695.  
  14696. local tool=with'HopperBin'{
  14697.         Parent=pack;
  14698.         Name=name;
  14699. };
  14700. tool.Deselected:connect(onDeselect);
  14701. tool.Selected:connect(onSelect);
  14702.  
  14703.  
  14704.  
  14705.  
  14706. local screen=with'ScreenGui'{
  14707.         Parent=guis;
  14708.         Name=name;
  14709. };
  14710. frame=with'Frame'{
  14711.         Parent=screen;
  14712.         Visible=false;
  14713. };
  14714. clframe=with'Frame'{
  14715.         Position=UDim2.new(.5,-50,.5,-50);
  14716.         Size=UDim2.new(0,100,0,100);
  14717.         Visible=false;
  14718.         Parent=screen;
  14719. };
  14720. selectGui=with'SelectionBox'{
  14721.         Parent=screen;
  14722. };
  14723.  
  14724. local c=0;
  14725. for y=0,7 do
  14726.         for x=0,7 do
  14727.                 local color=BrickColor.palette(c).Color;
  14728.                
  14729.                 with'ImageButton'{
  14730.                         Position=UDim2.new(.125*x,0,.125*y);
  14731.                         Size=UDim2.new(.125,0,.125);
  14732.                         BackgroundColor3=color;
  14733.                         Parent=clframe;
  14734.                 }.MouseButton1Up:connect(function()
  14735.                         clframe.Visible=false;
  14736.                         _G.drawColor=color;
  14737.                 end);
  14738.                
  14739.                 c=c+1;
  14740.         end;
  14741. end;
  14742.  
  14743. addButton('Color','c',function()
  14744.         clframe.Visible=true;
  14745. end);
  14746. addButton('Remove your draws','r',function()
  14747.         repeat
  14748.                 destroy(_G.mine[1]);
  14749.                 table.remove(_G.mine,1);
  14750.                 wait(0.01);
  14751.         until nil;
  14752. end);
  14753. addButton('Remove global draws','k',function()
  14754.         destroy(workspace.draw);
  14755.         while(_G.mine[1])do
  14756.                 destroy(_G.mine[1]);
  14757.                 table.remove(_G.mine,1);
  14758.         end;
  14759. end);
  14760. addButton('Remove selected','x',function()
  14761.         repeat
  14762.                 if(find(workspace,'draw'))then
  14763.                         local dt=mouse.target;
  14764.                         if(dt and dt:IsDescendantOf(workspace.draw))then
  14765.                                 selectGui.Adornee=dt.Parent;
  14766.                         else
  14767.                                 selectGui.Adornee=nil;
  14768.                         end;
  14769.                 else
  14770.                         selectGui.Adornee=nil;
  14771.                 end;
  14772.                 wait(0.01);
  14773.         until freeKeys.x;
  14774.         selectGui.Adornee=nil;
  14775. end);
  14776.  
  14777.  
  14778.  
  14779.  
  14780. repeat
  14781.         wait(0.01);
  14782.         if(next(_G.mine)and _G.mine[_G.drawLimit])then
  14783.                 destroy(_G.mine[1]);
  14784.                 table.remove(_G.mine,1);
  14785.         end;
  14786. until script.Parent==nil or tool.Parent==nil;
  14787. script.Disabled=true;
  14788. destroy(screen);
  14789.  
  14790.  
  14791. --Dresmor Alakazard--
  14792.         end)
  14793. --
  14794. local button = Instance.new("TextButton")
  14795.         button.Parent = gt
  14796.         button.BackgroundColor3 = blak
  14797.         button.BorderColor3 = rede
  14798.         button.BorderSizePixel = 3
  14799.         button.Name = "Empty"
  14800.         button.Position = UDim2.new(0.5,3,0,132)
  14801.         button.Size = UDim2.new(0.5,-3,0,30)
  14802.         button.ZIndex = 2
  14803.         button.Font = tef
  14804.         button.FontSize = "Size14"
  14805.         button.Text = "Empty"
  14806.         button.TextColor3 = whit
  14807.         button.TextWrapped = true
  14808.         button.MouseButton1Down:connect(function()
  14809.                
  14810.         end)
  14811. --
  14812. local button = Instance.new("TextButton")
  14813.         button.Parent = gt
  14814.         button.BackgroundColor3 = blak
  14815.         button.BorderColor3 = rede
  14816.         button.BorderSizePixel = 3
  14817.         button.Name = "Empty"
  14818.         button.Position = UDim2.new(0,0,0,165)
  14819.         button.Size = UDim2.new(0.499,0,0,30)
  14820.         button.ZIndex = 2
  14821.         button.Font = tef
  14822.         button.FontSize = "Size14"
  14823.         button.Text = "Empty"
  14824.         button.TextColor3 = whit
  14825.         button.MouseButton1Down:connect(function()
  14826.                
  14827.         end)
  14828. --
  14829. local button = Instance.new("TextButton")
  14830.         button.Parent = gt
  14831.         button.BackgroundColor3 = blak
  14832.         button.BorderColor3 = rede
  14833.         button.BorderSizePixel = 3
  14834.         button.Name = "Empty"
  14835.         button.Position = UDim2.new(0.5,3,0,165)
  14836.         button.Size = UDim2.new(0.5,-3,0,30)
  14837.         button.ZIndex = 2
  14838.         button.Font = tef
  14839.         button.FontSize = "Size14"
  14840.         button.Text = "Empty"
  14841.         button.TextColor3 = whit
  14842.         button.MouseButton1Down:connect(function()
  14843.                
  14844.         end)
  14845. --
  14846. local button = Instance.new("TextButton")
  14847.         button.Parent = gt
  14848.         button.BackgroundColor3 = blak
  14849.         button.BorderColor3 = rede
  14850.         button.BorderSizePixel = 3
  14851.         button.Name = "Empty"
  14852.         button.Position = UDim2.new(0,0,0,198)
  14853.         button.Size = UDim2.new(0.499,0,0,30)
  14854.         button.ZIndex = 3
  14855.         button.Font = tef
  14856.         button.FontSize = "Size14"
  14857.         button.Text = "Empty"
  14858.         button.TextColor3 = whit
  14859.         button.TextWrapped = true
  14860.         button.MouseButton1Down:connect(function()
  14861.                
  14862.         end)
  14863. --
  14864. local button = Instance.new("TextButton")
  14865.         button.Parent = gt
  14866.         button.BackgroundColor3 = blak
  14867.         button.BorderColor3 = rede
  14868.         button.BorderSizePixel = 3
  14869.         button.Name = "Empty"
  14870.         button.Position = UDim2.new(0.5,3,0,198)
  14871.         button.Size = UDim2.new(0.5,-3,0,30)
  14872.         button.ZIndex = 2
  14873.         button.Font = tef
  14874.         button.FontSize = "Size14"
  14875.         button.Text = "Empty"
  14876.         button.TextColor3 = whit
  14877.         button.MouseButton1Down:connect(function()
  14878.                
  14879.         end)
  14880.        
  14881.        
  14882. -- Weapon Scripts --
  14883. local button = Instance.new("TextButton")
  14884.         button.Parent = ws
  14885.         button.BackgroundColor3 = blak
  14886.         button.BorderColor3 = rede
  14887.         button.BorderSizePixel = 3
  14888.         button.Name = "Drage"
  14889.         button.Position = UDim2.new(0,0,0,33)
  14890.         button.Size = UDim2.new(0.5,0,0,30)
  14891.         button.ZIndex = 2
  14892.         button.Font = tef
  14893.         button.FontSize = "Size14"
  14894.         button.Text = "Drage"
  14895.         button.TextColor3 = whit
  14896.         button.MouseButton1Down:connect(function()
  14897.                 --[[ put your name where it says yourname -ulti55 ]]
  14898. Plrs = game:GetService("Players")
  14899.  
  14900.  
  14901.  
  14902. me = Plrs.LocalPlayer
  14903.  
  14904. char = me.Character
  14905.  
  14906.  
  14907.  
  14908. Modelname = "xWep"
  14909.  
  14910. Toolname = "Drage"
  14911.  
  14912. Able = true
  14913.  
  14914. Selected = false
  14915.  
  14916. Deb = true
  14917.  
  14918. Hurt = false
  14919.  
  14920. CritMultiplier = 1.6
  14921.  
  14922. ComboOn = false
  14923.  
  14924. AbleToBreak = false
  14925.  
  14926. CounterKey = false
  14927.  
  14928. Attack = 1
  14929.  
  14930. AddDamage = 0
  14931.  
  14932. AddDamageX = 1
  14933.  
  14934. AddShield = 0
  14935.  
  14936. Dmgs = {Smash = {"Smash", 25, 2, 3, false}, Slash = {"Slash", 18, 1, 3, false}, SideSlash = {"SideSlash", 18, 1, 3, false},
  14937.  
  14938. DoubleSlash = {"Double Slash", 20, 1, 2, false}, Spin = {"Spin Slash", 30, 2, 5, true, 30}, Boom = {"Boom", 60, 6, 6, true, 50, 16},
  14939.  
  14940. RageMode = {"RAGE", 8, 1.35, 1, 50}, Counter = {"Counter", 25, 1, 1, true, 15}, RageSlash = {"Rage Slash", 40, 3, 7, true, 30}}
  14941.  
  14942. RageMode = false
  14943.  
  14944. Mode = Dmgs.Slash
  14945.  
  14946. AbleAll = true
  14947.  
  14948. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  14949.  
  14950. Aim = false
  14951.  
  14952.  
  14953.  
  14954. LineColor = "White"
  14955.  
  14956. EffectColor3 = "Bright red"
  14957.  
  14958. EffectColor2 = "White"
  14959.  
  14960. EffectColor = "Pastel Blue"
  14961.  
  14962. MainColor = "Navy blue"
  14963.  
  14964. BladeColor = "Pastel Blue"
  14965.  
  14966.  
  14967.  
  14968. BlockBars = {}
  14969.  
  14970.  
  14971.  
  14972. MaxRage = 100
  14973.  
  14974. Rage = MaxRage
  14975.  
  14976.  
  14977.  
  14978. CritChance = 5 --Percent
  14979.  
  14980.  
  14981.  
  14982. for _, v in pairs(char:children()) do
  14983.  
  14984.         if v.Name == "Block" then v:remove() end
  14985.  
  14986. end
  14987.  
  14988.  
  14989.  
  14990. BlockRealPowa = 4
  14991.  
  14992.  
  14993.  
  14994. Block = Instance.new("BoolValue")
  14995.  
  14996. Block.Name = "Block"
  14997.  
  14998. Block.Value = false
  14999.  
  15000. BlockPower = Instance.new("IntValue")
  15001.  
  15002. BlockPower.Name = "BlockPower"
  15003.  
  15004. BlockPower.Value = BlockRealPowa
  15005.  
  15006. BlockPower.Parent = Block
  15007.  
  15008. Block.Parent = char
  15009.  
  15010.  
  15011.  
  15012. CA = CFrame.Angles
  15013.  
  15014. CN = CFrame.new
  15015.  
  15016. MR = math.rad
  15017.  
  15018. MP = math.pi
  15019.  
  15020. MD = math.deg
  15021.  
  15022. MH = math.huge
  15023.  
  15024. MRA = math.random
  15025.  
  15026.  
  15027.  
  15028. EffPos = CFrame.new(0, 0.5, 0)
  15029.  
  15030.  
  15031.  
  15032. Sounds = {
  15033.  
  15034.         Equip = {"rbxasset://sounds//unsheath.wav", 0.7, 0.6},
  15035.  
  15036.         Hit = {"http://www.roblox.com/asset/?id=2801263", 0.9, 0.6},
  15037.  
  15038.         Block = {"", 1, 0.5},
  15039.  
  15040.         Slash = {"rbxasset://sounds//swordslash.wav", 2, 0.8},
  15041.  
  15042.         SmashHit = {"rbxasset://sounds\\metal.ogg", 1.5, 0.8},
  15043.  
  15044.         Jump = {"rbxasset://sounds/swoosh.wav", 1, 1},
  15045.  
  15046.         Boom = {"http://www.roblox.com/asset?id=1369158", 1.2, 1},
  15047.  
  15048.         SmashBoom = {"http://www.roblox.com/asset/?id=2760979", 0.25, 1},
  15049.  
  15050.         Jump2 = {"http://www.roblox.com/asset/?id=2101148", 2, 1},
  15051.  
  15052.         GoRage = {"http://www.roblox.com/asset/?id=2767090", 1, 1},
  15053.  
  15054.         Shout = {"http://www.roblox.com/asset/?id=2676305", 1.1, 0.8},
  15055.  
  15056.         RageOff = {"http://www.roblox.com/asset/?id=3264793", 1.6, 0.6},
  15057.  
  15058. }
  15059.  
  15060.  
  15061.  
  15062. Add = {
  15063.  
  15064.         Sphere = function(P)
  15065.  
  15066.                 local m = Instance.new("SpecialMesh",P)
  15067.  
  15068.                 m.MeshType = "Sphere"
  15069.  
  15070.                 return m
  15071.  
  15072.         end,
  15073.  
  15074.         BP = function(P)
  15075.  
  15076.                 local bp = Instance.new("BodyPosition",P)
  15077.  
  15078.                 bp.maxForce = Vector3.new(MH, MH, MH)
  15079.  
  15080.                 bp.P = 14000
  15081.  
  15082.                 return bp
  15083.  
  15084.         end,
  15085.  
  15086.         BG = function(P)
  15087.  
  15088.                 local bg = Instance.new("BodyGyro",P)
  15089.  
  15090.                 bg.maxTorque = Vector3.new(MH, MH, MH)
  15091.  
  15092.                 bg.P = 14000
  15093.  
  15094.                 return bg
  15095.  
  15096.         end,
  15097.  
  15098.         Mesh = function(P, ID, x, y, z)
  15099.  
  15100.                 local m = Instance.new("SpecialMesh")
  15101.  
  15102.                 m.MeshId = ID
  15103.  
  15104.                 m.Scale = Vector3.new(x, y, z)
  15105.  
  15106.                 m.Parent = P
  15107.  
  15108.                 return m
  15109.  
  15110.         end,
  15111.  
  15112.         Head = function(P)
  15113.  
  15114.                 local s = Instance.new("SpecialMesh")
  15115.  
  15116.                 s.MeshType = "Head"
  15117.  
  15118.                 s.Parent = P
  15119.  
  15120.                 return s
  15121.  
  15122.         end,
  15123.  
  15124.         Sound = function(P, ID, vol, pitch)
  15125.  
  15126.                 local s = Instance.new("Sound")
  15127.  
  15128.                 s.SoundId = ID
  15129.  
  15130.                 s.Volume = vol
  15131.  
  15132.                 s.Pitch = pitch
  15133.  
  15134.                 s.Parent = P
  15135.  
  15136.                 return s
  15137.  
  15138.         end
  15139.  
  15140. }
  15141.  
  15142.  
  15143.  
  15144. function RC(Pos, Dir, Max, Ignore)
  15145.  
  15146.         return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore)
  15147.  
  15148. end
  15149.  
  15150.  
  15151.  
  15152. function RayC(Start, En, MaxDist, Ignore)
  15153.  
  15154.         return RC(Start, (En - Start), MaxDist, Ignore)
  15155.  
  15156. end
  15157.  
  15158.  
  15159.  
  15160. function Notime(func, tim)
  15161.  
  15162.         coroutine.resume(coroutine.create(function()
  15163.  
  15164.                 if tim then
  15165.  
  15166.                         wait(tim)
  15167.  
  15168.                 end
  15169.  
  15170.                 func()
  15171.  
  15172.         end))
  15173.  
  15174. end
  15175.  
  15176.  
  15177.  
  15178. function waitChild(parent, name)
  15179.  
  15180.         local child = parent:findFirstChild(name)
  15181.  
  15182.         if child then return child end
  15183.  
  15184.         while true do
  15185.  
  15186.                 child = parent.ChildAdded:wait()
  15187.  
  15188.                 if child.Name == name then return child end
  15189.  
  15190.         end
  15191.  
  15192. end
  15193.  
  15194.  
  15195.  
  15196. function ComputePos(pos1, pos2)
  15197.  
  15198.         local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  15199.  
  15200.         return CFrame.new(pos1, pos3)
  15201.  
  15202. end
  15203.  
  15204.  
  15205.  
  15206. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  15207.  
  15208.         local p = Instance.new("Part")
  15209.  
  15210.         p.formFactor = "Custom"
  15211.  
  15212.         p.Anchored = Anchor
  15213.  
  15214.         p.CanCollide = Collide
  15215.  
  15216.         p.Transparency = Tran
  15217.  
  15218.         p.Reflectance = Ref
  15219.  
  15220.         p.BrickColor = BrickColor.new(Color)
  15221.  
  15222.         p.TopSurface = 0
  15223.  
  15224.         p.BottomSurface = 0
  15225.  
  15226.         p.Size = Vector3.new(X, Y, Z)
  15227.  
  15228.         if Break then
  15229.  
  15230.                 p:BreakJoints()
  15231.  
  15232.         else p:MakeJoints() end
  15233.  
  15234.         p.Parent = Parent
  15235.  
  15236.         p.Locked = true
  15237.  
  15238.         return p
  15239.  
  15240. end
  15241.  
  15242.  
  15243.  
  15244. function Weld(p0, p1, x, y, z, a, b, c)
  15245.  
  15246.         local w = Instance.new("Weld")
  15247.  
  15248.         w.Parent = p0
  15249.  
  15250.         w.Part0 = p0
  15251.  
  15252.         w.Part1 = p1
  15253.  
  15254.         w.C1 = CN(x,y,z) * CA(a,b,c)
  15255.  
  15256.         return w
  15257.  
  15258. end
  15259.  
  15260.  
  15261.  
  15262. torso = char.Torso
  15263.  
  15264. neck = torso.Neck
  15265.  
  15266. hum = char.Humanoid
  15267.  
  15268. Rarm = char["Right Arm"]
  15269.  
  15270. Larm = char["Left Arm"]
  15271.  
  15272. Rleg = char["Right Leg"]
  15273.  
  15274. Lleg = char["Left Leg"]
  15275.  
  15276.  
  15277.  
  15278. hc = Instance.new("Humanoid")
  15279.  
  15280. hc.Health = 0
  15281.  
  15282. hc.MaxHealth = 0
  15283.  
  15284.  
  15285.  
  15286. function getHumanoid(c)
  15287.  
  15288.         local h = nil
  15289.  
  15290.         for i,v in pairs(c:children()) do
  15291.  
  15292.                 if v:IsA("Humanoid") and c ~= char then
  15293.  
  15294.                         if v.Health > 0 then
  15295.  
  15296.                                 h = v
  15297.  
  15298.                         end
  15299.  
  15300.                 end
  15301.  
  15302.         end
  15303.  
  15304.         return h
  15305.  
  15306. end
  15307.  
  15308.  
  15309.  
  15310. function getCharacters(where, pos, dist)
  15311.  
  15312.         local chars = {}
  15313.  
  15314.         for _, v in pairs(where:children()) do
  15315.  
  15316.                 local hum = getHumanoid(v)
  15317.  
  15318.                 local tors = v:findFirstChild("Torso")
  15319.  
  15320.                 if tors ~= nil and hum ~= nil then
  15321.  
  15322.                         local anypart = nil
  15323.  
  15324.                         for _,k in pairs(v:children()) do
  15325.  
  15326.                                 if k:IsA("BasePart") then
  15327.  
  15328.                                         if (k.Position - pos).magnitude <= dist then
  15329.  
  15330.                                                 anypart = k
  15331.  
  15332.                                                 break
  15333.  
  15334.                                         end
  15335.  
  15336.                                 end
  15337.  
  15338.                         end
  15339.  
  15340.                         if anypart then
  15341.  
  15342.                                 table.insert(chars, {v, tors, hum})
  15343.  
  15344.                         end
  15345.  
  15346.                 end
  15347.  
  15348.         end
  15349.  
  15350.         return chars
  15351.  
  15352. end
  15353.  
  15354.  
  15355.  
  15356. function PlaySound(id, pitch, vol)
  15357.  
  15358.         local s = Add.Sound(nil, id, vol, pitch)
  15359.  
  15360.         if pitch ~= nil then
  15361.  
  15362.                 if tonumber(pitch) then
  15363.  
  15364.                         s.Pitch = tonumber(pitch)
  15365.  
  15366.                 end
  15367.  
  15368.         end
  15369.  
  15370.         if vol ~= nil then
  15371.  
  15372.                 if tonumber(vol) then
  15373.  
  15374.                         s.Volume = tonumber(vol)
  15375.  
  15376.                 end
  15377.  
  15378.         end
  15379.  
  15380.         s.Parent = torso
  15381.  
  15382.         s.PlayOnRemove = true
  15383.  
  15384.         Notime(function()
  15385.  
  15386.                 wait()
  15387.  
  15388.                 s:remove()
  15389.  
  15390.         end)
  15391.  
  15392. end
  15393.  
  15394.  
  15395.  
  15396. function playz(sound)
  15397.  
  15398.         PlaySound(sound[1], sound[2], sound[3])
  15399.  
  15400. end
  15401.  
  15402.  
  15403.  
  15404. PlrGui = waitChild(me, "PlayerGui")
  15405.  
  15406.  
  15407.  
  15408. for _, v in pairs(char:children()) do if v.Name == Modelname then v:remove() end end
  15409.  
  15410. for _, v in pairs(PlrGui:children()) do
  15411.  
  15412.         if v.Name == "HealthGUI" or v.Name == "MyGui" then
  15413.  
  15414.                 v:remove()
  15415.  
  15416.         end
  15417.  
  15418. end
  15419.  
  15420.  
  15421.  
  15422. function EditGui(obj, parent, size, position, bgcolor, bordercolor, transparency, text, textcolor, auto)
  15423.  
  15424.         obj.Size = size
  15425.  
  15426.         obj.Position = position
  15427.  
  15428.         obj.BackgroundColor3 = bgcolor
  15429.  
  15430.         obj.BorderColor3 = bordercolor
  15431.  
  15432.         obj.BackgroundTransparency = transparency
  15433.  
  15434.         if obj:IsA("TextLabel") or obj:IsA("TextButton") then
  15435.  
  15436.                 obj.Text = text
  15437.  
  15438.                 obj.TextColor3 = textcolor
  15439.  
  15440.         end
  15441.  
  15442.         if obj:IsA("ImageButton") or obj:IsA("TextButton") then
  15443.  
  15444.                 obj.AutoButtonColor = auto
  15445.  
  15446.                 obj.MouseButton1Down:connect(function()
  15447.  
  15448.                         RemoveOptions()
  15449.  
  15450.                 end)
  15451.  
  15452.         end
  15453.  
  15454.         obj.Parent = parent
  15455.  
  15456. end
  15457.  
  15458.  
  15459.  
  15460. C3 = Color3.new
  15461.  
  15462. UD = UDim2.new
  15463.  
  15464.  
  15465.  
  15466. Sc = Instance.new("ScreenGui", PlrGui)
  15467.  
  15468. Sc.Name = "MyGui"
  15469.  
  15470.  
  15471.  
  15472. Fr = Instance.new("Frame")
  15473.  
  15474. EditGui(Fr, Sc, UD(0, 60, 0, 250), UD(1, -70, 0.5, -125), C3(0.1, 0.2, 0.5), C3(), 0)
  15475.  
  15476.  
  15477.  
  15478. HealthBack = Instance.new("Frame")
  15479.  
  15480. EditGui(HealthBack, Fr, UD(0, 25, 1, -20), UD(0, 3, 0, 10), C3(0.2, 0, 0), C3(), 0)
  15481.  
  15482.  
  15483.  
  15484. RageBack = Instance.new("Frame")
  15485.  
  15486. EditGui(RageBack, Fr, UD(0, 25, 1, -20), UD(1, -27, 0, 10), C3(0.2, 0, 0), C3(), 0)
  15487.  
  15488.  
  15489.  
  15490. local hp = hum.Health/hum.MaxHealth
  15491.  
  15492. if hp > 1 then hp = 1 elseif hp < 0 then hp = 0 end
  15493.  
  15494.  
  15495.  
  15496. HealthBar = Instance.new("ImageLabel")
  15497.  
  15498. EditGui(HealthBar, HealthBack, UD(1, 0, hp, 0), UD(0, 0, 0, 0), C3(0.1, 0.65, 0), C3(), 0)
  15499.  
  15500. HealthBar.Image = "http://www.roblox.com/asset/?id=50051953"
  15501.  
  15502.  
  15503.  
  15504. RageBar = Instance.new("ImageLabel")
  15505.  
  15506. EditGui(RageBar, RageBack, UD(1, 0, Rage/MaxRage, 0), UD(0, 0, 0, 0), C3(1, 0.6, 0.15), C3(), 0)
  15507.  
  15508. RageBar.Image = "http://www.roblox.com/asset/?id=50051953"
  15509.  
  15510.  
  15511.  
  15512. RageAmount = Instance.new("TextLabel")
  15513.  
  15514. 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))
  15515.  
  15516. RageAmount.TextYAlignment = "Top"
  15517.  
  15518.  
  15519.  
  15520. AimButton = Instance.new("TextButton")
  15521.  
  15522. 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)
  15523.  
  15524. AimButton.TextWrap = true
  15525.  
  15526. AimButton.Font = "ArialBold"
  15527.  
  15528. AimButton.FontSize = "Size14"
  15529.  
  15530. AimButton.MouseButton1Down:connect(function()
  15531.  
  15532.         if Aim then
  15533.  
  15534.                 Aim = false
  15535.  
  15536.                 AimButton.Text = "AIM: OFF"
  15537.  
  15538.                 AimButton.BackgroundColor3 = C3(0.9, 0.2, 0.3)
  15539.  
  15540.         else
  15541.  
  15542.                 Aim = true
  15543.  
  15544.                 AimButton.Text = "AIM: ON"
  15545.  
  15546.                 AimButton.BackgroundColor3 = C3(0.3, 0.85, 0.1)
  15547.  
  15548.         end
  15549.  
  15550. end)
  15551.  
  15552.  
  15553.  
  15554. for i = 1, BlockRealPowa do
  15555.  
  15556.         local gui = Instance.new("ImageLabel")
  15557.  
  15558.         EditGui(gui, Fr, UD(0, 16, 0, 16), UD(0, -18, 0.5, 20*(i-1)-((BlockRealPowa*20)/2)), C3(), C3(), 1)
  15559.  
  15560.         gui.Image = "http://www.roblox.com/asset/?id=48908046"
  15561.  
  15562.         table.insert(BlockBars, gui)
  15563.  
  15564. end
  15565.  
  15566.  
  15567.  
  15568. BlockPower.Changed:connect(function()
  15569.  
  15570.         for _, v in pairs(BlockBars) do
  15571.  
  15572.                 v.Image = ""
  15573.  
  15574.         end
  15575.  
  15576.         for i = 1, BlockPower.Value do
  15577.  
  15578.                 local gui = BlockBars[i]
  15579.  
  15580.                 if gui then
  15581.  
  15582.                         gui.Image = "http://www.roblox.com/asset/?id=48908046"
  15583.  
  15584.                 end
  15585.  
  15586.         end
  15587.  
  15588. end)
  15589.  
  15590.  
  15591.  
  15592. Mo = Instance.new("Model")
  15593.  
  15594. Mo.Name = Modelname
  15595.  
  15596.  
  15597.  
  15598. RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15599.  
  15600. LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15601.  
  15602. RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15603.  
  15604. LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15605.  
  15606.  
  15607.  
  15608. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  15609.  
  15610. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  15611.  
  15612. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  15613.  
  15614. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  15615.  
  15616.  
  15617.  
  15618. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  15619.  
  15620. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  15621.  
  15622. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  15623.  
  15624. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  15625.  
  15626.  
  15627.  
  15628. HB = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  15629.  
  15630. HBW = Weld(Rarm, HB, 0, 0, 1, MP/2, 0, 0)
  15631.  
  15632. HW = Weld(HB, nil, 0, 0, 0, 0, 0, 0)
  15633.  
  15634.  
  15635.  
  15636. SW = Weld(Larm, nil, -0.5, 0, 0.3, MP/2, 0, 0)
  15637.  
  15638.  
  15639.  
  15640. TH = Weld(torso, nil, 0, 2.5, 0, MR(145), 0, 0)
  15641.  
  15642. TH.C0 = CN(0, -0.3, 0.75) * CA(0, MP/2, 0)
  15643.  
  15644.  
  15645.  
  15646. Weapon = Instance.new("Model")
  15647.  
  15648. Weapon.Name = "Weapon"
  15649.  
  15650.  
  15651.  
  15652. Handle = Part(Weapon, false, false, 0, 0, MainColor, 0.4, 1.8, 0.4)
  15653.  
  15654. Add.Head(Handle)
  15655.  
  15656.  
  15657.  
  15658. Tip1 = Part(Weapon, false, false, 0, 0, "Deep blue", 0.45, 1.2, 0.45)
  15659.  
  15660. Add.Head(Tip1)
  15661.  
  15662. Weld(Handle, Tip1, 0, 0, 0, 0, 0, 0)
  15663.  
  15664.  
  15665.  
  15666. Tip2 = Part(Weapon, false, false, 0, 0, "Bright blue", 0.5, 0.5, 0.5)
  15667.  
  15668. Weld(Handle, Tip2, 0, 0.9, 0, 0, 0, 0)
  15669.  
  15670. Add.Mesh(Tip2, "http://www.roblox.com/asset/?id=9756362", 0.75, 0.5, 0.75)
  15671.  
  15672.  
  15673.  
  15674. Tip3 = Part(Weapon, false, false, 0, 0, "Deep blue", 0.7, 0.3, 1.2)
  15675.  
  15676. Weld(Handle, Tip3, 0, -0.9, 0, 0, 0, 0)
  15677.  
  15678. Add.Mesh(Tip3, "http://www.roblox.com/asset/?id=9756362", 0.7, 0.35, 1.35)
  15679.  
  15680.  
  15681.  
  15682. Tip4 = Part(Weapon, false, false, 0, 0, "Deep blue", 0.6, 0.2, 1.8)
  15683.  
  15684. Weld(Handle, Tip4, 0, -0.9, 0, 0, 0, 0)
  15685.  
  15686.  
  15687.  
  15688. Tip5 = Part(Weapon, false, false, 0, 0, "Bright blue", 0.6, 0.6, 0.3)
  15689.  
  15690. Weld(Tip4, Tip5, 0, -0.4, -0.85, MR(-15), 0, 0)
  15691.  
  15692.  
  15693.  
  15694. Tip6 = Part(Weapon, false, false, 0, 0, "Bright blue", 0.6, 0.6, 0.3)
  15695.  
  15696. Weld(Tip4, Tip6, 0, -0.4, 0.85, MR(15), 0, 0)
  15697.  
  15698.  
  15699.  
  15700. Blades = {}
  15701.  
  15702.  
  15703.  
  15704. for i = 0, 180, 180 do
  15705.  
  15706.         for x = -20, 20, 40 do
  15707.  
  15708.                 local lol = i-90
  15709.  
  15710.                 local lol2 = math.abs(lol/480)
  15711.  
  15712.                 local lol3 = x/90
  15713.  
  15714.                 local Blade1 = Part(Weapon, false, false, 0, 0.3, BladeColor, 0.2, 3.5, 0.6)
  15715.  
  15716.                 Instance.new("BlockMesh",Blade1).Scale = Vector3.new(0.2, 1, 0.99)
  15717.  
  15718.                 local w = Weld(Tip4, Blade1, lol2, 0, -lol3, 0, 0, 0)
  15719.  
  15720.                 w.C0 = CN(0, 1.7, 0) * CA(0, MR(i+x), 0)
  15721.  
  15722.                 table.insert(Blades, Blade1)
  15723.  
  15724.         end
  15725.  
  15726. end
  15727.  
  15728.  
  15729.  
  15730. Tip7 = Part(Weapon, false, false, 0, 0.3, BladeColor, 0.3, 1.3, 0.7)
  15731.  
  15732. Add.Mesh(Tip7, "http://www.roblox.com/asset/?id=9756362", 0.31, 1.4, 0.8)
  15733.  
  15734. Weld(Tip4, Tip7, 0, -3.45, 0, 0, 0, 0)
  15735.  
  15736.  
  15737.  
  15738. table.insert(Blades, Tip7)
  15739.  
  15740.  
  15741.  
  15742. TH.Part1 = Handle
  15743.  
  15744.  
  15745.  
  15746. Shield = Instance.new("Model")
  15747.  
  15748. Shield.Name = "Shield"
  15749.  
  15750.  
  15751.  
  15752. SHandle = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.9, 0.4)
  15753.  
  15754. SW.Part1 = SHandle
  15755.  
  15756.  
  15757.  
  15758. for i = 65, 115, 25 do
  15759.  
  15760.         local STip1 = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.5, 0.4)
  15761.  
  15762.         local w = Weld(SHandle, STip1, 0.8, 0, 0, 0, 0, 0)
  15763.  
  15764.         w.C0 = CN(-0.5, 0.2, 0) * CA(0, 0, MR(i))
  15765.  
  15766. end
  15767.  
  15768.  
  15769.  
  15770. for i = -65, -115, -25 do
  15771.  
  15772.         local STip1 = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.5, 0.4)
  15773.  
  15774.         local w = Weld(SHandle, STip1, 0.8, 0, 0, 0, 0, 0)
  15775.  
  15776.         w.C0 = CN(-0.5, -0.2, 0) * CA(0, 0, MR(i))
  15777.  
  15778. end
  15779.  
  15780.  
  15781.  
  15782. SHandle2 = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.9, 0.4)
  15783.  
  15784. Weld(SHandle, SHandle2, 1, 0, 0, 0, 0, 0)
  15785.  
  15786.  
  15787.  
  15788. ShieldMain = Part(Weapon, false, false, 0, 0, "Medium grey", 0.3, 3.5, 1.1)
  15789.  
  15790. ShieldW = Weld(SHandle2, ShieldMain, 0, 0, 0, 0, 0, 0)
  15791.  
  15792. ShieldW.C0 = CN(0, -0.2, 0) * CA(0, MR(-5), 0)
  15793.  
  15794.  
  15795.  
  15796. STip1 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 0.4, 1.15)
  15797.  
  15798. Weld(ShieldMain, STip1, 0, -1.75, 0, 0, 0, 0)
  15799.  
  15800.  
  15801.  
  15802. STip2 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 0.4, 1.15)
  15803.  
  15804. Weld(ShieldMain, STip2, 0, 1.75, 0, 0, 0, 0)
  15805.  
  15806.  
  15807.  
  15808. for i = -15, 15, 30 do
  15809.  
  15810.         local ShieldPlate = Part(Weapon, false, false, 0, 0, "Medium grey", 0.3, 3.5, 1.1)
  15811.  
  15812.         local w = Weld(ShieldMain, ShieldPlate, 3.5, 0, 0, 0, 0, 0)
  15813.  
  15814.         w.C0 = CN(3.5, 0, 0) * CA(0, math.rad(i), 0)
  15815.  
  15816.         for x = -1.75, 1.75, 1.75*2 do
  15817.  
  15818.                 local STip3 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 0.4, 1.15)
  15819.  
  15820.                 Weld(ShieldPlate, STip3, 0, x, 0, 0, 0, 0)
  15821.  
  15822.         end
  15823.  
  15824.         local i2 = i/40
  15825.  
  15826.         local STip3 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 3.9, 0.4)
  15827.  
  15828.         Weld(ShieldPlate, STip3, 0, 0, -i2, 0, 0, 0)
  15829.  
  15830. end
  15831.  
  15832.  
  15833.  
  15834. Weapon.Parent = Mo
  15835.  
  15836. Shield.Parent = Mo
  15837.  
  15838.  
  15839.  
  15840. Mo.Parent = char
  15841.  
  15842.  
  15843.  
  15844. function ShowDamage(Dmg, Par, Crit, block)
  15845.  
  15846.         local Pos = Par.CFrame * CN(0, 2.5, 0)
  15847.  
  15848.         local M = Instance.new("Model")
  15849.  
  15850.         local Loldmg = Dmg
  15851.  
  15852.         if Loldmg < 0 then
  15853.  
  15854.                 Loldmg = 0
  15855.  
  15856.         end
  15857.  
  15858.         if tostring(Loldmg):sub(1,1) == "-" then
  15859.  
  15860.                 Loldmg = tostring(Loldmg):sub(2)
  15861.  
  15862.         end
  15863.  
  15864.         M.Name = Loldmg
  15865.  
  15866.         local Col = "Bright red"
  15867.  
  15868.         if Crit then Col = "Bright yellow" elseif block then Col = "Bright blue" end
  15869.  
  15870.         local P = Part(M, false, false, 0, 0, Col, 0.8, 0.3, 0.8, true)
  15871.  
  15872.         P.CFrame = CN(Par.Position)
  15873.  
  15874.         P.Name = "Head"
  15875.  
  15876.         local BP = Add.BP(P)
  15877.  
  15878.         BP.position = Pos.p
  15879.  
  15880.         BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  15881.  
  15882.         BP.P = 11000
  15883.  
  15884.         Add.BG(P)
  15885.  
  15886.         local H = hc:clone()
  15887.  
  15888.         H.Parent = M
  15889.  
  15890.         H.MaxHealth = 0
  15891.  
  15892.         H.Health = 0
  15893.  
  15894.         M.Parent = workspace
  15895.  
  15896.         Notime(function()
  15897.  
  15898.                 wait(1.5)
  15899.  
  15900.                 M:remove()
  15901.  
  15902.         end)
  15903.  
  15904. end
  15905.  
  15906.  
  15907.  
  15908. function Damage(P, Hum, dmg, crit, block)
  15909.  
  15910.         if Hum then
  15911.  
  15912.                 if Hum.Health > 0 then
  15913.  
  15914.                         local Damg = dmg
  15915.  
  15916.                         if crit then
  15917.  
  15918.                                 Damg = dmg*CritMultiplier
  15919.  
  15920.                         end
  15921.  
  15922.                         Damg = math.ceil(((Damg+AddDamage)*AddDamageX)-0.5)
  15923.  
  15924.                         Hum.Health = Hum.Health - Damg
  15925.  
  15926.                         ShowDamage(Damg, P, crit, block)
  15927.  
  15928.                 end
  15929.  
  15930.         end
  15931.  
  15932. end
  15933.  
  15934.  
  15935.  
  15936. function ShieldDamage(mode, blockval, blockpowerval, crit)
  15937.  
  15938.         if blockval and blockpowerval then
  15939.  
  15940.                 local ShieldDmg = mode[3]+AddShield
  15941.  
  15942.                 if crit then
  15943.  
  15944.                         ShieldDmg = mode[4]+AddShield
  15945.  
  15946.                 end
  15947.  
  15948.                 if blockpowerval then
  15949.  
  15950.                         blockpowerval.Value = blockpowerval.Value - ShieldDmg
  15951.  
  15952.                         if blockpowerval.Value < 1 then
  15953.  
  15954.                                 blockval.Value = false
  15955.  
  15956.                         end
  15957.  
  15958.                 end
  15959.  
  15960.         end
  15961.  
  15962. end
  15963.  
  15964.  
  15965.  
  15966. function getBlock(c)
  15967.  
  15968.         local block, blockpow = nil
  15969.  
  15970.         local blockin = false
  15971.  
  15972.         for _,v in pairs(c:children()) do
  15973.  
  15974.                 if v.Name == "Block" and v:IsA("BoolValue") then
  15975.  
  15976.                         block = v
  15977.  
  15978.                         blockin = v.Value
  15979.  
  15980.                         local bp = v:findFirstChild("BlockPower")
  15981.  
  15982.                         if bp then
  15983.  
  15984.                                 blockpow = bp
  15985.  
  15986.                         end
  15987.  
  15988.                 end
  15989.  
  15990.         end
  15991.  
  15992.         return block, blockpow, blockin
  15993.  
  15994. end
  15995.  
  15996.  
  15997.  
  15998. function TouchDamage(hit)
  15999.  
  16000.         local Hum = getHumanoid(hit.Parent)
  16001.  
  16002.         if Hum and Deb and Hurt then
  16003.  
  16004.                 Deb = false
  16005.  
  16006.                 local Crit = false
  16007.  
  16008.                 local BlockVal, BlockPowaVal, Blawk = getBlock(Hum.Parent)
  16009.  
  16010.                 local BlockPowa = 0
  16011.  
  16012.                 local blocksound = Sounds.SmashHit
  16013.  
  16014.                 if math.random(1,100/CritChance) == 1 then
  16015.  
  16016.                         Crit = true
  16017.  
  16018.                 end
  16019.  
  16020.                 local Damg = math.random(Mode[2]/3, Mode[2])
  16021.  
  16022.                 if Blawk then
  16023.  
  16024.                         Damg = 0
  16025.  
  16026.                         ShieldDamage(Mode, BlockVal, BlockPowaVal, Crit)
  16027.  
  16028.                         if BlockPowaVal then
  16029.  
  16030.                                 if BlockPowaVal.Value < 1 then
  16031.  
  16032.                                         blocksound = Sounds.Equip
  16033.  
  16034.                                 end
  16035.  
  16036.                         end
  16037.  
  16038.                 end
  16039.  
  16040.                 if Mode[5] == false and RageMode == false and Blawk == false then
  16041.  
  16042.                         Rage = Rage + math.ceil(Damg*0.75-0.5)
  16043.  
  16044.                 end
  16045.  
  16046.                 if Blawk then
  16047.  
  16048.                         PlaySound(blocksound[1], blocksound[2]-0.15, blocksound[3])
  16049.  
  16050.                 else
  16051.  
  16052.                         PlaySound(Sounds.Hit[1], Sounds.Hit[2], Sounds.Hit[3])
  16053.  
  16054.                 end
  16055.  
  16056.                 Damage(hit, Hum, Damg, Crit, Blawk)
  16057.  
  16058.                 if Mode == Dmgs.Spin then
  16059.  
  16060.                         Notime(function()
  16061.  
  16062.                                 wait(0.35)
  16063.  
  16064.                                 Deb = true
  16065.  
  16066.                         end)
  16067.  
  16068.                 end
  16069.  
  16070.         end
  16071.  
  16072. end
  16073.  
  16074.  
  16075.  
  16076. for _, v in pairs(Blades) do
  16077.  
  16078.         v.Touched:connect(TouchDamage)
  16079.  
  16080. end
  16081.  
  16082.  
  16083.  
  16084.  
  16085.  
  16086.  
  16087.  
  16088. Bin = Instance.new("HopperBin", me.Backpack)
  16089.  
  16090.  
  16091.  
  16092. EffectOn = false
  16093.  
  16094.  
  16095.  
  16096. function StartEffect(color)
  16097.  
  16098.         EffectOn = true
  16099.  
  16100.         local lastPoint = Tip7.CFrame * EffPos.p
  16101.  
  16102.         Notime(function()
  16103.  
  16104.                 while EffectOn do
  16105.  
  16106.                         wait()
  16107.  
  16108.                         local pos = Tip7.CFrame * EffPos.p
  16109.  
  16110.                         local magn = (lastPoint - pos).magnitude
  16111.  
  16112.                         local col = LineColor
  16113.  
  16114.                         if color and col ~= EffectColor3 then
  16115.  
  16116.                                 col = color
  16117.  
  16118.                         end
  16119.  
  16120.                         local p = Part(workspace, true, false, 0.1, 0, col, 0.3, 1, 0.3, true)
  16121.  
  16122.                         local mesh = Add.Head(p)
  16123.  
  16124.                         mesh.Scale = Vector3.new(1, magn+0.1, 1)
  16125.  
  16126.                         p.CFrame = CN(lastPoint, pos) * CA(-MP/2, 0, 0) * CN(0, magn/2+0.05, 0)
  16127.  
  16128.                         lastPoint = pos
  16129.  
  16130.                         Notime(function()
  16131.  
  16132.                                 wait(0.05)
  16133.  
  16134.                                 for i = 0, 1, 0.12 do
  16135.  
  16136.                                         p.Transparency = 0.1+0.9*i
  16137.  
  16138.                                         mesh.Scale = Vector3.new(1-1*i, magn+0.1-0.1*i, 1-1*i)
  16139.  
  16140.                                         wait()
  16141.  
  16142.                                 end
  16143.  
  16144.                                 p:remove()
  16145.  
  16146.                         end)
  16147.  
  16148.                 end
  16149.  
  16150.         end)
  16151.  
  16152. end
  16153.  
  16154.  
  16155.  
  16156. function EndEffect()
  16157.  
  16158.         EffectOn = false
  16159.  
  16160. end
  16161.  
  16162.  
  16163.  
  16164. function Detach()
  16165.  
  16166.         RAW.Part1 = nil
  16167.  
  16168.         LAW.Part1 = nil
  16169.  
  16170.         RLW.Part1 = nil
  16171.  
  16172.         LLW.Part1 = nil
  16173.  
  16174.         RAW.C0 = CN()
  16175.  
  16176.         LAW.C0 = CN()
  16177.  
  16178.         RLW.C0 = CN()
  16179.  
  16180.         LLW.C0 = CN()
  16181.  
  16182. end
  16183.  
  16184.  
  16185.  
  16186. function Normalize()
  16187.  
  16188.         RAW.C0 = CA(MR(40), MR(50), 0)
  16189.  
  16190.         LAW.C0 = CA(MR(20), MR(-20), MR(-20))
  16191.  
  16192.         HW.C0 = CA(0, 0, 0)
  16193.  
  16194.         neck.C0 = necko
  16195.  
  16196. end
  16197.  
  16198.  
  16199.  
  16200. SelectAnim = function()
  16201.  
  16202.         RAW.Part1 = Rarm
  16203.  
  16204.         HW.Part1 = nil
  16205.  
  16206.         TH.Part1 = Handle
  16207.  
  16208.         for i = 0.1, 1, 0.14 do
  16209.  
  16210.                 RAW.C0 = CA(MR(220*i), MR(-30*i), MR(-35*i)) * CN(0.4*i, 0, 0)
  16211.  
  16212.                 neck.C0 = necko * CA(MR(-10*i), 0, MR(-60*i))
  16213.  
  16214.                 wait()
  16215.  
  16216.         end
  16217.  
  16218.         PlaySound(Sounds.Equip[1], Sounds.Equip[2], Sounds.Equip[3])
  16219.  
  16220.         HW.C0 = CN(0.4, 0, 0) * CA(MR(-60), MR(10), MR(100))
  16221.  
  16222.         HW.Part1 = Handle
  16223.  
  16224.         TH.Part1 = nil
  16225.  
  16226.         LAW.Part1 = Larm
  16227.  
  16228.         for i = 0.09, 1, 0.11 do
  16229.  
  16230.                 RAW.C0 = CA(MR(220-70*i), MR(-30+25*i), MR(-35+70*i)) * CN(0.4-0.4*i, 0, 0)
  16231.  
  16232.                 HW.C0 = CN(0.4-0.4*i, 0, 0) * CA(MR(-60+40*i), MR(10-10*i), MR(100-40*i))
  16233.  
  16234.                 LAW.C0 = CA(MR(20*i), MR(-20*i), MR(-20*i))
  16235.  
  16236.                 neck.C0 = necko * CA(MR(-10+10*i), 0, MR(-60+40*i))
  16237.  
  16238.                 wait()
  16239.  
  16240.         end
  16241.  
  16242.         for i = 0.14, 1, 0.25 do
  16243.  
  16244.                 RAW.C0 = CA(MR(150-60*i), MR(-5+15*i), MR(35-10*i))
  16245.  
  16246.                 HW.C0 = CA(MR(-20+20*i), 0, MR(60-30*i))
  16247.  
  16248.                 neck.C0 = necko * CA(0, 0, MR(-60+40+5*i))
  16249.  
  16250.                 wait()
  16251.  
  16252.         end
  16253.  
  16254.         for i = 0.1, 1, 0.14 do
  16255.  
  16256.                 RAW.C0 = CA(MR(90-50*i), MR(10+40*i), MR(25-25*i))
  16257.  
  16258.                 HW.C0 = CA(0, 0, MR(30-30*i))
  16259.  
  16260.                 neck.C0 = necko * CA(0, 0, MR(-15+15*i))
  16261.  
  16262.                 wait()
  16263.  
  16264.         end
  16265.  
  16266.         Normalize()
  16267.  
  16268. end
  16269.  
  16270.  
  16271.  
  16272. DeselectAnim = function()
  16273.  
  16274.         for i = 0.09, 1, 0.14 do
  16275.  
  16276.                 RAW.C0 = CA(MR(40+100*i), MR(50-50*i), MR(20*i))
  16277.  
  16278.                 LAW.C0 = CA(MR(20-20*i), MR(-20+20*i), MR(-20+20*i))
  16279.  
  16280.                 HW.C0 = CN(0.4*i, 0, 0) * CA(MR(-30*i), MR(5*i), MR(20*i))
  16281.  
  16282.                 neck.C0 = necko * CA(MR(-5*i), 0, MR(-35*i))
  16283.  
  16284.                 wait()
  16285.  
  16286.         end
  16287.  
  16288.         LAW.Part1 = nil
  16289.  
  16290.         for i = 0.08, 1, 0.14 do
  16291.  
  16292.                 RAW.C0 = CA(MR(140+80*i), MR(-30*i), MR(20-55*i))
  16293.  
  16294.                 HW.C0 = CN(0.4, 0, 0) * CA(MR(-30-30*i), MR(5+5*i), MR(20+80*i))
  16295.  
  16296.                 neck.C0 = necko * CA(MR(-5-10*i), 0, MR(-35-25*i))
  16297.  
  16298.                 wait()
  16299.  
  16300.         end
  16301.  
  16302.         HW.Part1 = nil
  16303.  
  16304.         TH.Part1 = Handle
  16305.  
  16306.         for i = 0.09, 1, 0.18 do
  16307.  
  16308.                 RAW.C0 = CA(MR(220-220*i), MR(-30+30*i), MR(20-55+35*i))
  16309.  
  16310.                 neck.C0 = necko * CA(MR(-5-10+15*i), 0, MR(-35-25+60*i))
  16311.  
  16312.                 wait()
  16313.  
  16314.         end
  16315.  
  16316.         neck.C0 = necko
  16317.  
  16318.         Detach()
  16319.  
  16320. end
  16321.  
  16322.  
  16323.  
  16324. function setatk(s, e)
  16325.  
  16326.         Notime(function()
  16327.  
  16328.                 Attack = e
  16329.  
  16330.                 wait(0.25)
  16331.  
  16332.                 Attack = s
  16333.  
  16334.         end)
  16335.  
  16336. end
  16337.  
  16338.  
  16339.  
  16340. Attacks = {
  16341.  
  16342. function()
  16343.  
  16344.         Attack = 1
  16345.  
  16346.         Able = false
  16347.  
  16348.         for i = 0.1, 1, 0.2 do
  16349.  
  16350.                 RAW.C0 = CA(MR(40+90*i), MR(50-60*i), 0)
  16351.  
  16352.                 HW.C0 = CA(0, 0, 0)
  16353.  
  16354.                 LAW.C0 = CA(MR(20+55*i), MR(-20), MR(-20+60*i))
  16355.  
  16356.                 neck.C0 = necko * CA(MR(-10*i), 0, MR(-25*i))
  16357.  
  16358.                 wait()
  16359.  
  16360.         end
  16361.  
  16362.         PlaySound(Sounds.Slash[1], Sounds.Slash[2], Sounds.Slash[3])
  16363.  
  16364.         for i = 0.16, 1, 0.33 do
  16365.  
  16366.                 RAW.C0 = CA(MR(130+5*i), MR(-10-20*i), 0)
  16367.  
  16368.                 HW.C0 = CA(0, 0, 0)
  16369.  
  16370.                 LAW.C0 = CA(MR(75+5*i), MR(-20), MR(40+5*i))
  16371.  
  16372.                 neck.C0 = necko * CA(MR(-10-5*i), 0, MR(-25-5*i))
  16373.  
  16374.                 wait()
  16375.  
  16376.         end
  16377.  
  16378.         Hurt = true
  16379.  
  16380.         Deb = true
  16381.  
  16382.         StartEffect()
  16383.  
  16384.         Mode = Dmgs.Slash
  16385.  
  16386.         for i = 0.11, 1, 0.22 do
  16387.  
  16388.                 RAW.C0 = CA(MR(135-115*i), MR(-30), MR(-50*i)) * CN(0, -0.7*i, 0)
  16389.  
  16390.                 HW.C0 = CA(MR(-70*i), 0, 0)
  16391.  
  16392.                 LAW.C0 = CA(MR(80-120*i), MR(-20+20*i), MR(45-45*i))
  16393.  
  16394.                 neck.C0 = necko * CA(MR(-15+30*i), 0, MR(-30+45*i))
  16395.  
  16396.                 wait()
  16397.  
  16398.         end
  16399.  
  16400.         EndEffect()
  16401.  
  16402.         Hurt = false
  16403.  
  16404.         setatk(1,2)
  16405.  
  16406.         Able = true
  16407.  
  16408.         for i = 0.2, 1, 0.25 do
  16409.  
  16410.                 RAW.C0 = CA(MR(20-18*i), MR(-30), MR(-50-3*i)) * CN(0, -0.7-0.05*i, 0)
  16411.  
  16412.                 HW.C0 = CA(MR(-70-5*i), 0, 0)
  16413.  
  16414.                 neck.C0 = necko * CA(MR(15+3*i), 0, MR(15+3*i))
  16415.  
  16416.                 wait()
  16417.  
  16418.         end
  16419.  
  16420.         wait(0.1)
  16421.  
  16422.         for i = 0.1, 1, 0.15 do
  16423.  
  16424.                 if Able == false then return end
  16425.  
  16426.                 RAW.C0 = CA(MR(2+38*i), MR(-30+80*i), MR(-53+53*i)) * CN(0, -0.75+0.75*i, 0)
  16427.  
  16428.                 HW.C0 = CA(MR(-75+75*i), 0, 0)
  16429.  
  16430.                 LAW.C0 = CA(MR(-40+60*i), MR(-20+20-20*i), MR(-20*i))
  16431.  
  16432.                 neck.C0 = necko * CA(MR(15+3-18*i), 0, MR(15+3-18*i))
  16433.  
  16434.                 wait()
  16435.  
  16436.         end
  16437.  
  16438.         Normalize()
  16439.  
  16440. end,
  16441.  
  16442.  
  16443.  
  16444. function()
  16445.  
  16446.         Attack = 2
  16447.  
  16448.         Able = false
  16449.  
  16450.         PlaySound(Sounds.Slash[1], Sounds.Slash[2]+0.1, Sounds.Slash[3])
  16451.  
  16452.         for i = 0.05, 1, 0.1 do
  16453.  
  16454.                 RAW.C0 = CA(MR(10+80*i), MR(-30+30*i), MR(-55+35*i)) * CN(0, -0.75+0.35*i, 0)
  16455.  
  16456.                 LAW.C0 = CA(MR(-40), 0, 0)
  16457.  
  16458.                 HW.C0 = CA(MR(-75+75*i), 0, MR(90*i))
  16459.  
  16460.                 neck.C0 = necko * CA(MR(18-13*i), 0, MR(18+22*i))
  16461.  
  16462.                 wait()
  16463.  
  16464.         end
  16465.  
  16466.         Hurt = true
  16467.  
  16468.         Deb = true
  16469.  
  16470.         StartEffect()
  16471.  
  16472.         Mode = Dmgs.SideSlash
  16473.  
  16474.         for i = 0.09, 1, 0.17 do
  16475.  
  16476.                 RAW.C0 = CA(MR(90-40*i), 0, MR(-20+110*i)) * CN(0, -0.4+0.4*i, 0)
  16477.  
  16478.                 HW.C0 = CA(0, MR(-65*i), MR(90))
  16479.  
  16480.                 LAW.C0 = CA(MR(-40+120*i), MR(-20*i), MR(50*i)) * CN(0, -0.6*i, 0)
  16481.  
  16482.                 neck.C0 = necko * CA(MR(5), 0, MR(40-90*i))
  16483.  
  16484.                 wait()
  16485.  
  16486.         end
  16487.  
  16488.         EndEffect()
  16489.  
  16490.         Hurt = false
  16491.  
  16492.         Deb = false
  16493.  
  16494.         setatk(1,3)
  16495.  
  16496.         Able = true
  16497.  
  16498.         for i = 0.12, 1, 0.25 do
  16499.  
  16500.                 RAW.C0 = CA(MR(50-5*i), 0, MR(90+10*i))
  16501.  
  16502.                 HW.C0 = CA(0, MR(-65-5*i), MR(90))
  16503.  
  16504.                 LAW.C0 = CA(MR(-40+120), MR(-20), MR(50+5*i)) * CN(0, -0.6, 0)
  16505.  
  16506.                 neck.C0 = necko * CA(MR(5), 0, MR(40-90-5*i))
  16507.  
  16508.                 wait()
  16509.  
  16510.         end
  16511.  
  16512.         wait(0.08)
  16513.  
  16514.         for i = 0.05, 1, 0.1 do
  16515.  
  16516.                 if Able == false then return end
  16517.  
  16518.                 RAW.C0 = CA(MR(45-5*i), MR(50*i), MR(100-100*i)) * CN(0, 0, 0)
  16519.  
  16520.                 HW.C0 = CA(0, MR(-70+70*i), MR(90-90*i))
  16521.  
  16522.                 LAW.C0 = CA(MR(-40+120-60*i), MR(-20), MR(55-75*i)) * CN(0, -0.6+0.6*i, 0)
  16523.  
  16524.                 neck.C0 = necko * CA(MR(5-5*i), 0, MR(-55+55*i))
  16525.  
  16526.                 wait()
  16527.  
  16528.         end
  16529.  
  16530.         Normalize()
  16531.  
  16532. end,
  16533.  
  16534.  
  16535.  
  16536. function()
  16537.  
  16538.         Able = false
  16539.  
  16540.         for i = 0.05, 1, 0.08 do
  16541.  
  16542.                 RAW.C0 = CA(MR(50+130*i), 0, MR(90-125*i)) * CN(0, -1*i, 0)
  16543.  
  16544.                 HW.C0 = CA(0, MR(-65-35*i), MR(90-90*i))
  16545.  
  16546.                 LAW.C0 = CA(MR(80+100*i), MR(-20+20*i), MR(50-15*i)) * CN(0, -0.6-0.4*i, 0)
  16547.  
  16548.                 neck.C0 = necko * CA(MR(5-25*i), 0, MR(-50+50*i))
  16549.  
  16550.                 wait()
  16551.  
  16552.         end
  16553.  
  16554.         PlaySound(Sounds.Slash[1], Sounds.Slash[2]+0.05, Sounds.Slash[3])
  16555.  
  16556.         for i = 0.13, 1, 0.25 do
  16557.  
  16558.                 RAW.C0 = CA(MR(180+10*i), 0, MR(-35)) * CN(0, -1, 0)
  16559.  
  16560.                 HW.C0 = CA(0, MR(-100), 0)
  16561.  
  16562.                 LAW.C0 = CA(MR(180+10*i), 0, MR(35)) * CN(0, -1, 0)
  16563.  
  16564.                 neck.C0 = necko * CA(MR(5-25-5*i), 0, 0)
  16565.  
  16566.                 wait()
  16567.  
  16568.         end
  16569.  
  16570.         StartEffect()
  16571.  
  16572.         Hurt = true
  16573.  
  16574.         Deb = true
  16575.  
  16576.         Mode = Dmgs.Smash
  16577.  
  16578.         for i = 0.06, 1, 0.12 do
  16579.  
  16580.                 RAW.C0 = CA(MR(190-160*i), 0, MR(-35)) * CN(0, -1+0.2*i, 0)
  16581.  
  16582.                 HW.C0 = CA(MR(-20*i), MR(-100-40*i), MR(40*i))
  16583.  
  16584.                 LAW.C0 = CA(MR(190-160*i), 0, MR(35)) * CN(0, -1+0.2*i, 0)
  16585.  
  16586.                 neck.C0 = necko * CA(MR(-25+45*i), 0, 0)
  16587.  
  16588.                 wait()
  16589.  
  16590.         end
  16591.  
  16592.         PlaySound(Sounds.SmashHit[1], Sounds.SmashHit[2], Sounds.SmashHit[3])
  16593.  
  16594.         EndEffect()
  16595.  
  16596.         Hurt = false
  16597.  
  16598.         Deb = false
  16599.  
  16600.         for i = 0.2, 1, 0.5 do
  16601.  
  16602.                 RAW.C0 = CA(MR(30+15*i), 0, MR(-35)) * CN(0, -0.8+0.4*i, 0)
  16603.  
  16604.                 HW.C0 = CA(MR(-20), MR(-140), MR(40))
  16605.  
  16606.                 LAW.C0 = CA(MR(30+15*i), 0, MR(35)) * CN(0, -0.8+0.4*i, 0)
  16607.  
  16608.                 neck.C0 = necko * CA(MR(20), 0, 0)
  16609.  
  16610.                 wait()
  16611.  
  16612.         end
  16613.  
  16614.         setatk(1,4)
  16615.  
  16616.         Able = true
  16617.  
  16618.         for i = 0.16, 1, 0.33 do
  16619.  
  16620.                 if not Able then return end
  16621.  
  16622.                 RAW.C0 = CA(MR(30+15-15*i), 0, MR(-35)) * CN(0, -0.8+0.4-0.2*i, 0)
  16623.  
  16624.                 HW.C0 = CA(MR(-20), MR(-140), MR(40))
  16625.  
  16626.                 LAW.C0 = CA(MR(30+15-15*i), 0, MR(35)) * CN(0, -0.8+0.4-0.2*i, 0)
  16627.  
  16628.                 neck.C0 = necko * CA(MR(20), 0, 0)
  16629.  
  16630.                 wait()
  16631.  
  16632.         end
  16633.  
  16634.         for i = 0.05, 1, 0.1 do
  16635.  
  16636.                 if not Able then return end
  16637.  
  16638.                 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)
  16639.  
  16640.                 HW.C0 = CA(MR(-20+20*i), MR(-140+140*i), MR(40-40*i))
  16641.  
  16642.                 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)
  16643.  
  16644.                 neck.C0 = necko * CA(MR(20-20*i), 0, 0)
  16645.  
  16646.                 wait()
  16647.  
  16648.         end
  16649.  
  16650.         Normalize()
  16651.  
  16652. end,
  16653.  
  16654. function()
  16655.  
  16656.         Able = false
  16657.  
  16658.         for i = 0.06, 1, 0.12 do
  16659.  
  16660.                 RAW.C0 = CA(MR(30), MR(-20*i), MR(-35-25*i)) * CN(0, -0.8, 0)
  16661.  
  16662.                 HW.C0 = CA(MR(-20-60*i), MR(-140-40*i), MR(40-40*i))
  16663.  
  16664.                 LAW.C0 = CA(MR(30-110*i), 0, MR(35-35*i)) * CN(0, -0.8+0.8*i, 0)
  16665.  
  16666.                 neck.C0 = necko * CA(MR(20-15*i), 0, MR(10*i))
  16667.  
  16668.                 wait()
  16669.  
  16670.         end
  16671.  
  16672.         Mode = Dmgs.DoubleSlash
  16673.  
  16674.         StartEffect()
  16675.  
  16676.         playz(Sounds.Slash)
  16677.  
  16678.         Hurt = true
  16679.  
  16680.         Deb = true
  16681.  
  16682.         for i = 0.07, 1, 0.14 do
  16683.  
  16684.                 RAW.C0 = CA(MR(30+120*i), MR(-20), MR(-60+80*i)) * CN(0, -0.8+0.8*i, 0)
  16685.  
  16686.                 HW.C0 = CA(MR(-80+60*i), MR(180), 0)
  16687.  
  16688.                 LAW.C0 = CA(MR(-50+100*i), 0, MR(30*i))
  16689.  
  16690.                 neck.C0 = necko * CA(MR(5-25*i), 0, MR(10-30*i))
  16691.  
  16692.                 wait()
  16693.  
  16694.         end
  16695.  
  16696.         EndEffect()
  16697.  
  16698.         Hurt = false
  16699.  
  16700.         for i = 0.17, 1, 0.33 do
  16701.  
  16702.                 RAW.C0 = CA(MR(150+15*i), MR(-20), MR(20+5*i))
  16703.  
  16704.                 HW.C0 = CA(MR(-20), MR(180), 0)
  16705.  
  16706.                 LAW.C0 = CA(MR(50+5*i), 0, MR(30+10*i))
  16707.  
  16708.                 neck.C0 = necko * CA(MR(-20-5*i), 0, MR(-20))
  16709.  
  16710.                 wait()
  16711.  
  16712.         end
  16713.  
  16714.         for i = 0.13, 1, 0.25 do
  16715.  
  16716.                 RAW.C0 = CA(MR(165-15*i), MR(-20+50*i), MR(25-75*i))
  16717.  
  16718.                 HW.C0 = CA(MR(-20-20*i), MR(180), 0)
  16719.  
  16720.                 LAW.C0 = CA(MR(55+45*i), 0, MR(40-30*i))
  16721.  
  16722.                 neck.C0 = necko * CA(MR(-25), 0, MR(-20+35*i))
  16723.  
  16724.                 wait()
  16725.  
  16726.         end
  16727.  
  16728.         StartEffect()
  16729.  
  16730.         Hurt = true
  16731.  
  16732.         Deb = true
  16733.  
  16734.         playz(Sounds.Slash)
  16735.  
  16736.         for i = 0.08, 1, 0.16 do
  16737.  
  16738.                 RAW.C0 = CA(MR(150-110*i), MR(30), MR(-50+65*i))
  16739.  
  16740.                 HW.C0 = CA(MR(-40-40*i), MR(180), 0)
  16741.  
  16742.                 LAW.C0 = CA(MR(100-50*i), MR(-30*i), MR(10+30*i)) * CN(0, -1.1*i, 0)
  16743.  
  16744.                 neck.C0 = necko * CA(MR(-25+45*i), 0, MR(15-30*i))
  16745.  
  16746.                 wait()
  16747.  
  16748.         end
  16749.  
  16750.         EndEffect()
  16751.  
  16752.         Hurt = false
  16753.  
  16754.         for i = 0.13, 1, 0.25 do
  16755.  
  16756.                 RAW.C0 = CA(MR(40-5*i), MR(30), MR(15+5*i))
  16757.  
  16758.                 HW.C0 = CA(MR(-80-5*i), MR(180), 0)
  16759.  
  16760.                 LAW.C0 = CA(MR(50), MR(-30), MR(40)) * CN(0, -1.1-0.1*i, 0)
  16761.  
  16762.                 neck.C0 = necko * CA(MR(20+5*i), 0, MR(-15-5*i))
  16763.  
  16764.                 wait()
  16765.  
  16766.         end
  16767.  
  16768.         for i = 0.09, 1, 0.16 do
  16769.  
  16770.                 RAW.C0 = CA(MR(35+5*i), MR(30+20*i), MR(20-20*i))
  16771.  
  16772.                 HW.C0 = CA(MR(-85+85*i), MR(180+180*i), 0)
  16773.  
  16774.                 LAW.C0 = CA(MR(50-30*i), MR(-30+10*i), MR(40-60*i)) * CN(0, -1.2+1.2*i, 0)
  16775.  
  16776.                 neck.C0 = necko * CA(MR(25-25*i), 0, MR(-20+20*i))
  16777.  
  16778.                 wait()
  16779.  
  16780.         end
  16781.  
  16782.         Normalize()
  16783.  
  16784.         Able = true
  16785.  
  16786.         Attack = 1
  16787.  
  16788. end
  16789.  
  16790. }
  16791.  
  16792.  
  16793.  
  16794. SpinSlash = function(plaic)
  16795.  
  16796.         if Rage < Dmgs.Spin[6] then return end
  16797.  
  16798.         Rage = Rage - Dmgs.Spin[6]
  16799.  
  16800.         local cf = torso.CFrame
  16801.  
  16802.         local CF = ComputePos(cf.p, cf * CN(0, 0, -2))
  16803.  
  16804.         if plaic then
  16805.  
  16806.                 CF = ComputePos(cf.p, plaic)
  16807.  
  16808.         end
  16809.  
  16810.         AbleAll = false
  16811.  
  16812.         local bg = Add.BG(torso)
  16813.  
  16814.         bg.cframe = CF
  16815.  
  16816.         for i = 0.07, 1, 0.14 do
  16817.  
  16818.                 RAW.C0 = CA(MR(40+50*i), MR(50-65*i), 0)
  16819.  
  16820.                 HW.C0 = CA(0, 0, MR(90*i))
  16821.  
  16822.                 LAW.C0 = CA(MR(20-20*i), MR(-20+20*i), MR(-20-60*i))
  16823.  
  16824.                 neck.C0 = necko * CA(0, 0, MR(-30*i))
  16825.  
  16826.                 bg.cframe = CF * CA(0, MR(30*i), 0)
  16827.  
  16828.                 wait()
  16829.  
  16830.         end
  16831.  
  16832.         StartEffect()
  16833.  
  16834.         Hurt = true
  16835.  
  16836.         Deb = true
  16837.  
  16838.         Mode = Dmgs.Spin
  16839.  
  16840.         Notime(function()
  16841.  
  16842.                 while Hurt do
  16843.  
  16844.                         PlaySound(Sounds.Slash[1], Sounds.Slash[2]+0.35, Sounds.Slash[3])
  16845.  
  16846.                         wait(0.15)
  16847.  
  16848.                 end
  16849.  
  16850.         end)
  16851.  
  16852.         for i = 0.04, 1, 0.06 do
  16853.  
  16854.                 RAW.C0 = CA(MR(90-10*i), MR(-15), MR(90*i))
  16855.  
  16856.                 HW.C0 = CA(0, MR(-70*i), MR(90))
  16857.  
  16858.                 LAW.C0 = CA(MR(90*i), 0, MR(-20-60+120*i)) * CN(0, -0.7*i, 0)
  16859.  
  16860.                 neck.C0 = necko * CA(0, 0, MR(-30+20*i))
  16861.  
  16862.                 bg.cframe = CF * CA(0, MR(30-380*i), 0)
  16863.  
  16864.                 wait()
  16865.  
  16866.         end
  16867.  
  16868.         EndEffect()
  16869.  
  16870.         for i = 0.09, 1, 0.17 do
  16871.  
  16872.                 RAW.C0 = CA(MR(80), MR(-15), MR(90))
  16873.  
  16874.                 HW.C0 = CA(0, MR(-70-10*i), MR(90))
  16875.  
  16876.                 LAW.C0 = CA(MR(90), 0, MR(-20-60+120+20*i)) * CN(0, -0.7, 0)
  16877.  
  16878.                 neck.C0 = necko * CA(0, 0, MR(-10+60*i))
  16879.  
  16880.                 bg.cframe = CF * CA(0, MR(-350-60*i), 0)
  16881.  
  16882.                 wait()
  16883.  
  16884.         end
  16885.  
  16886.         Hurt = false
  16887.  
  16888.         Deb = false
  16889.  
  16890.         for i = 0.05, 1, 0.1 do
  16891.  
  16892.                 RAW.C0 = CA(MR(80-40*i), MR(-15+65*i), MR(90-90*i))
  16893.  
  16894.                 HW.C0 = CA(0, MR(-80+80*i), MR(90-90*i))
  16895.  
  16896.                 LAW.C0 = CA(MR(90-70*i), MR(-20*i), MR(60-80*i)) * CN(0, -0.7+0.7*i, 0)
  16897.  
  16898.                 neck.C0 = necko * CA(0, 0, MR(-10+60-50*i))
  16899.  
  16900.                 bg.cframe = CF * CA(0, MR(-410+50*i), 0)
  16901.  
  16902.                 wait()
  16903.  
  16904.         end
  16905.  
  16906.         bg:remove()
  16907.  
  16908.         Normalize()
  16909.  
  16910.         AbleAll = true
  16911.  
  16912. end
  16913.  
  16914.  
  16915.  
  16916. Flawp = function(plaic)
  16917.  
  16918.         local cf = torso.CFrame
  16919.  
  16920.         local CF = ComputePos(cf.p, cf * CN(0, 0, -2))
  16921.  
  16922.         if plaic then
  16923.  
  16924.                 CF = ComputePos(cf.p, plaic)
  16925.  
  16926.         end
  16927.  
  16928.         local cf2 = CF * CN(0, -1.1, -1)
  16929.  
  16930.         local Dist = 8
  16931.  
  16932.         local Hit1, Pos1 = RayC(CF.p, (CF * CN(0, -1, 0)).p, 4, char)
  16933.  
  16934.         local Hit2, Pos2 = RayC((CF * CN(0, 0, -Dist*2)).p, (CF * CN(0, -1, -Dist*2)).p, 4, char)
  16935.  
  16936.         local Hit3, Pos3 = RayC(CF.p, (CF * CN(0, 0, -Dist*2)).p, Dist*2, char)
  16937.  
  16938.         if Rage < Dmgs.Boom[6] then return end
  16939.  
  16940.         if Hit1 and Hit2 then
  16941.  
  16942.                 Rage = Rage - Dmgs.Boom[6]
  16943.  
  16944.                 local bp = Add.BP(torso)
  16945.  
  16946.                 bp.position = cf.p
  16947.  
  16948.                 local bg = Add.BG(torso)
  16949.  
  16950.                 bg.cframe = CF
  16951.  
  16952.                 AbleAll = false
  16953.  
  16954.                 RLW.Part1 = Rleg
  16955.  
  16956.                 LLW.Part1 = Lleg
  16957.  
  16958.                 for i = 0.05, 1, 0.1 do
  16959.  
  16960.                         RAW.C0 = CA(MR(40+30*i), MR(50-50*i), MR(25*i))
  16961.  
  16962.                         LAW.C0 = CA(MR(20+50*i), MR(-20+20*i), MR(-20-5*i))
  16963.  
  16964.                         HW.C0 = CA(MR(25*i), 0, 0)
  16965.  
  16966.                         RLW.C0 = CN(0, 1*i, -1*i)
  16967.  
  16968.                         LLW.C0 = CA(MR(-90*i), 0, 0) * CN(0, 0.5*i, -0.2*i)
  16969.  
  16970.                         neck.C0 = necko * CA(MR(20*i), 0, 0)
  16971.  
  16972.                         bp.position = CF * CN(0, -1*i, -1*i).p
  16973.  
  16974.                         wait()
  16975.  
  16976.                 end
  16977.  
  16978.                 local Center = cf2 * CN(0, 0, -Dist)
  16979.  
  16980.                 hum.PlatformStand = true
  16981.  
  16982.                 PlaySound(Sounds.Jump[1], Sounds.Jump[2], Sounds.Jump[3])
  16983.  
  16984.                 for i = 0.06, 1, 0.1 do
  16985.  
  16986.                         RAW.C0 = CA(MR(70-160*i), 0, MR(25+15*i))
  16987.  
  16988.                         LAW.C0 = CA(MR(70-160*i), 0, MR(-25-15*i))
  16989.  
  16990.                         HW.C0 = CA(MR(25), 0, 0)
  16991.  
  16992.                         RLW.C0 = CN(0, 1-1*i, -1+1*i)
  16993.  
  16994.                         LLW.C0 = CA(MR(-90+70*i), 0, 0) * CN(0, 0.5+0.7*i, -0.2-0.3*i)
  16995.  
  16996.                         neck.C0 = necko * CA(MR(20-50*i), 0, 0)
  16997.  
  16998.                         bp.position = Center * CA(MR(180-45*i), 0, 0) * CN(0, 0, -Dist).p
  16999.  
  17000.                         bg.cframe = CF * CA(MR(-90*i), 0, 0)
  17001.  
  17002.                         wait()
  17003.  
  17004.                 end
  17005.  
  17006.                 for i = 0.06, 1, 0.1 do
  17007.  
  17008.                         RAW.C0 = CA(MR(-90-90*i), 0, MR(40+50*i))
  17009.  
  17010.                         LAW.C0 = CA(MR(-90-90*i), 0, MR(-40-50*i))
  17011.  
  17012.                         HW.C0 = CA(MR(25-25*i), 0, MR(-90*i))
  17013.  
  17014.                         RLW.C0 = CN(0, 0, 0)
  17015.  
  17016.                         LLW.C0 = CA(MR(-20+20*i), 0, 0) * CN(0, 1.2-1.2*i, -0.5+0.5*i)
  17017.  
  17018.                         bp.position = Center * CA(MR(135-45*i), 0, 0) * CN(0, 0, -Dist).p
  17019.  
  17020.                         bg.cframe = CF * CA(MR(-90-90*i), 0, 0)
  17021.  
  17022.                         wait()
  17023.  
  17024.                 end
  17025.  
  17026.                 StartEffect()
  17027.  
  17028.                 for i = 0.06, 1, 0.1 do
  17029.  
  17030.                         RAW.C0 = CA(MR(180+10*i), 0, MR(90-130*i)) * CN(0, -1*i, 0)
  17031.  
  17032.                         LAW.C0 = CA(MR(180+10*i), 0, MR(-90+130*i)) * CN(0, -1*i, 0)
  17033.  
  17034.                         HW.C0 = CA(0, 0, MR(-90-90*i))
  17035.  
  17036.                         RLW.C0 = CN(0, 0, 0)
  17037.  
  17038.                         LLW.C0 = CA(0, 0, 0) * CN(0, 0, 0)
  17039.  
  17040.                         bp.position = Center * CA(MR(90-45*i), 0, 0) * CN(0, 0, -Dist).p
  17041.  
  17042.                         bg.cframe = CF * CA(MR(-180-90*i), 0, 0)
  17043.  
  17044.                         wait()
  17045.  
  17046.                 end
  17047.  
  17048.                 playz(Sounds.Slash)
  17049.  
  17050.                 for i = 0.06, 1, 0.1 do
  17051.  
  17052.                         RAW.C0 = CA(MR(190-100*i), 0, MR(-40)) * CN(0, -1-0.2*i, 0)
  17053.  
  17054.                         LAW.C0 = CA(MR(190-80*i), MR(-25*i), MR(40-15*i)) * CN(0, -1-0.2*i, 0)
  17055.  
  17056.                         HW.C0 = CA(0, MR(-45*i), MR(-180))
  17057.  
  17058.                         RLW.C0 = CN(0, 1*i, -1*i)
  17059.  
  17060.                         LLW.C0 = CA(MR(-20-70*i), 0, 0) * CN(0, 1.2-0.7*i, -0.5+0.3*i)
  17061.  
  17062.                         neck.C0 = necko * CA(MR(-30+60*i), 0, 0)
  17063.  
  17064.                         bp.position = Center * CA(MR(45-45*i), 0, 0) * CN(0, 0, -Dist).p
  17065.  
  17066.                         bg.cframe = CF * CA(MR(-270-90*i), 0, 0)
  17067.  
  17068.                         wait()
  17069.  
  17070.                 end
  17071.  
  17072.                 Mode = Dmgs.Boom
  17073.  
  17074.                 EndEffect()
  17075.  
  17076.                 RAW.C0 = CA(MR(90), 0, MR(-40)) * CN(0, -1.2, 0)
  17077.  
  17078.                 LAW.C0 = CA(MR(110), MR(-25), MR(25)) * CN(0, -1.2, 0)
  17079.  
  17080.                 HW.C0 = CA(0, MR(-45), MR(-180))
  17081.  
  17082.                 RLW.C0 = CN(0, 1, -1)
  17083.  
  17084.                 LLW.C0 = CA(MR(-90), 0, 0) * CN(0, 0.5, -0.2)
  17085.  
  17086.                 bp.position = Center * CN(0, 0, -Dist).p
  17087.  
  17088.                 bg.cframe = CF * CA(0, 0, 0)
  17089.  
  17090.                 local PosEff = Center * CN(0, -2, -Dist-2.5)
  17091.  
  17092.                 Notime(function()
  17093.  
  17094.                         playz(Sounds.Boom)
  17095.  
  17096.                         local disst = Dmgs.Boom[7]
  17097.  
  17098.                         local chars = getCharacters(workspace, PosEff.p, disst)
  17099.  
  17100.                         for _,v in pairs(chars) do
  17101.  
  17102.                                 local c, t, h = v[1], v[2], v[3]
  17103.  
  17104.                                 local d = (t.Position - PosEff.p).magnitude
  17105.  
  17106.                                 local bl, bp, blo = getBlock(c)
  17107.  
  17108.                                 if blo then
  17109.  
  17110.                                         ShieldDamage(Dmgs.Boom, bl, bp, false)
  17111.  
  17112.                                 end
  17113.  
  17114.                                 d = d/4
  17115.  
  17116.                                 if d < 1 then d = 1 end
  17117.  
  17118.                                 Damage(t, h, Dmgs.Boom[2]/d, false, false)
  17119.  
  17120.                                 for _,k in pairs(c:children()) do
  17121.  
  17122.                                         if k:IsA("BasePart") then
  17123.  
  17124.                                                 k.Velocity = CFrame.new(PosEff.p, k.Position).lookVector * 40 + Vector3.new(0, 50, 0)
  17125.  
  17126.                                         end
  17127.  
  17128.                                 end
  17129.  
  17130.                                 h.PlatformStand = true
  17131.  
  17132.                                 Notime(function() h.PlatformStand = false end, 0.2)
  17133.  
  17134.                         end
  17135.  
  17136.                         local eff = Instance.new("Model",workspace)
  17137.  
  17138.                         eff.Name = "Effect"
  17139.  
  17140.                         local wave = Part(eff, true, false, 0, 0, EffectColor, 1, 1, 1, true)
  17141.  
  17142.                         wave.CFrame = PosEff
  17143.  
  17144.                         local wavem = Add.Mesh(wave, "http://www.roblox.com/asset/?id=20329976", 3, 2, 3)
  17145.  
  17146.                         local ball = Part(eff, true, false, 0, 0, EffectColor2, 1, 1, 1, true)
  17147.  
  17148.                         ball.CFrame = PosEff
  17149.  
  17150.                         local ballm = Add.Sphere(ball)
  17151.  
  17152.                         ballm.Scale = Vector3.new(2, 5, 2)
  17153.  
  17154.                         local diamond = Part(eff, true, false, 0, 0, EffectColor, 1, 1, 1, true)
  17155.  
  17156.                         diamond.CFrame = PosEff
  17157.  
  17158.                         local diamondm = Add.Mesh(diamond, "http://www.roblox.com/asset/?id=9756362", 7, 0.5, 7)
  17159.  
  17160.                         for i = 0, 1, 0.05 do
  17161.  
  17162.                                 wait()
  17163.  
  17164.                                 wave.CFrame = PosEff * CFrame.Angles(0, MR(180*i), 0)
  17165.  
  17166.                                 wave.Transparency = i
  17167.  
  17168.                                 wavem.Scale = Vector3.new(3+(disst*1.15)*i, 2+(disst/1.4)*i, 3+(disst*1.15)*i)
  17169.  
  17170.                                 ball.Transparency = i
  17171.  
  17172.                                 ballm.Scale = Vector3.new(1+(disst*2)*i, 5+(disst*1.2)*i, 1+(disst*2)*i)
  17173.  
  17174.                                 diamond.Transparency = i
  17175.  
  17176.                                 diamondm.Scale = Vector3.new(7-6.5*i, 0.5+(disst*2)*i, 7-6.5*i)
  17177.  
  17178.                         end
  17179.  
  17180.                         wait()
  17181.  
  17182.                         eff:remove()
  17183.  
  17184.                 end)
  17185.  
  17186.                 wait(0.4)
  17187.  
  17188.                 for i = 0.07, 1, 0.1 do
  17189.  
  17190.                         RAW.C0 = CA(MR(90+50*i), 0, MR(-40)) * CN(0, -1.2+0.4*i, -0.4*i)
  17191.  
  17192.                         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)
  17193.  
  17194.                         HW.C0 = CA(MR(-30*i), MR(-45+45*i), MR(-180-30*i)) * CN(0, -0.7*i, 0)
  17195.  
  17196.                         RLW.C0 = CN(0, 1-1*i, -1+1*i)
  17197.  
  17198.                         LLW.C0 = CA(MR(-90+90*i), 0, 0) * CN(0, 0.5-0.5*i, -0.2+0.2*i)
  17199.  
  17200.                         neck.C0 = necko * CA(MR(30-15*i), 0, 0)
  17201.  
  17202.                         bp.position = Center * CN(0, 1.4*i, -Dist-1*i).p
  17203.  
  17204.                         wait()
  17205.  
  17206.                 end
  17207.  
  17208.                 bp:remove()
  17209.  
  17210.                 bg:remove()
  17211.  
  17212.                 hum.PlatformStand = false
  17213.  
  17214.                 for i = 0.05, 1, 0.1 do
  17215.  
  17216.                         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)
  17217.  
  17218.                         LAW.C0 = CA(MR(140-190*i), 0, MR(40-80*i)) * CN(0, -0.8+0.8*i, -0.4+0.4*i)
  17219.  
  17220.                         HW.C0 = CA(MR(-30+30*i), 0, MR(-210-150*i)) * CN(0, -0.7+0.7*i, 0)
  17221.  
  17222.                         RLW.C0 = CN()
  17223.  
  17224.                         LLW.C0 = CN()
  17225.  
  17226.                         neck.C0 = necko * CA(MR(15-15*i), 0, 0)
  17227.  
  17228.                         bp.position = Center * CN(0, 1.4-0.4*i, -Dist-1-0.3*i).p
  17229.  
  17230.                         wait()
  17231.  
  17232.                 end
  17233.  
  17234.                 RLW.Part1 = nil
  17235.  
  17236.                 LLW.Part1 = nil
  17237.  
  17238.                 for i = 0.1, 1, 0.2 do
  17239.  
  17240.                         LAW.C0 = CA(MR(-50+70*i), MR(-20*i), MR(-40+20*i))
  17241.  
  17242.                         wait()
  17243.  
  17244.                 end
  17245.  
  17246.                 Normalize()
  17247.  
  17248.                 AbleAll = true
  17249.  
  17250.         end
  17251.  
  17252. end
  17253.  
  17254.  
  17255.  
  17256. function Raeg()
  17257.  
  17258.         if Rage < Dmgs.RageMode[5] then return end
  17259.  
  17260.         if RageMode == false and AbleAll and Able then
  17261.  
  17262.                 AbleAll = false
  17263.  
  17264.                 local CF = ComputePos(torso.Position, torso.CFrame * CN(0, 0, -2))
  17265.  
  17266.                 for i = 0.05, 1, 0.1 do
  17267.  
  17268.                         RAW.C0 = CA(MR(40-70*i), MR(50-45*i), MR(10*i))
  17269.  
  17270.                         LAW.C0 = CA(MR(20-50*i), MR(-20+15*i), MR(-20+10*i))
  17271.  
  17272.                         HW.C0 = CA(MR(20*i), 0, 0)
  17273.  
  17274.                         wait()
  17275.  
  17276.                 end
  17277.  
  17278.                 for i = 0.12, 1, 0.25 do
  17279.  
  17280.                         RAW.C0 = CA(MR(-30-10*i), MR(5-5*i), MR(10-5*i))
  17281.  
  17282.                         LAW.C0 = CA(MR(-30-10*i), MR(-5+5*i), MR(-10+5*i))
  17283.  
  17284.                         HW.C0 = CA(MR(20+5*i), 0, 0)
  17285.  
  17286.                         wait()
  17287.  
  17288.                 end
  17289.  
  17290.                 hum.Jump = true
  17291.  
  17292.                 playz(Sounds.Jump2)
  17293.  
  17294.                 CF = ComputePos(torso.Position, torso.CFrame * CN(0, 0, -2))
  17295.  
  17296.                 local p = Part(workspace, true, false, 0, 0, "Bright red", 0.2, 0.2, 0.2, true)
  17297.  
  17298.                 p.CFrame = CF * CN(0, -2, 0)
  17299.  
  17300.                 local m = Add.Mesh(p, "http://www.roblox.com/asset/?id=20329976", 1, 3, 1)
  17301.  
  17302.                 Notime(function()
  17303.  
  17304.                         for i = 0, 1, 0.08 do
  17305.  
  17306.                                 wait()
  17307.  
  17308.                                 m.Scale = Vector3.new(1+5*i, 3-2.5*i, 1+5*i)
  17309.  
  17310.                                 p.Transparency = i
  17311.  
  17312.                         end
  17313.  
  17314.                         p:remove()
  17315.  
  17316.                 end)
  17317.  
  17318.                 for i = 0.05, 1, 0.1 do
  17319.  
  17320.                         RAW.C0 = CA(MR(-40+220*i), 0, MR(5+35*i))
  17321.  
  17322.                         LAW.C0 = CA(MR(-40+220*i), 0, MR(-5-35*i))
  17323.  
  17324.                         HW.C0 = CA(MR(25-115*i), MR(90*i), MR(45*i))
  17325.  
  17326.                         wait()
  17327.  
  17328.                 end
  17329.  
  17330.                 for i = 0.12, 1, 0.25 do
  17331.  
  17332.                         RAW.C0 = CA(MR(180+8*i), 0, MR(40))
  17333.  
  17334.                         LAW.C0 = CA(MR(180+8*i), 0, MR(-40))
  17335.  
  17336.                         HW.C0 = CA(MR(-90), MR(90), MR(45))
  17337.  
  17338.                         wait()
  17339.  
  17340.                 end
  17341.  
  17342.                 for i = 0.05, 1, 0.1 do
  17343.  
  17344.                         RAW.C0 = CA(MR(188-98*i), 0, MR(40-80*i)) * CN(0, -1*i, 0)
  17345.  
  17346.                         LAW.C0 = CA(MR(188-98*i), 0, MR(-40+80*i)) * CN(0, -1*i, 0)
  17347.  
  17348.                         HW.C0 = CA(MR(-90+90*i), MR(90+45*i), MR(45-45*i))
  17349.  
  17350.                         wait()
  17351.  
  17352.                 end
  17353.  
  17354.                 playz(Sounds.GoRage)
  17355.  
  17356.                 local p2 = Part(workspace, false, false, 1, 0, EffectColor3, 1, 1, 1, true)
  17357.  
  17358.                 Weld(Tip4, p2, 0, -2, 0, 0, 0, 0)
  17359.  
  17360.                 local m2 = Add.Sphere(p2)
  17361.  
  17362.                 m2.Scale = Vector3.new(0.2, 2, 0.5)
  17363.  
  17364.                 for i = 0, 1, 0.06 do
  17365.  
  17366.                         p2.Transparency = 1-1*i
  17367.  
  17368.                         m2.Scale = Vector3.new(0.2+0.7*i, 2+3*i, 0.5+1.6*i)
  17369.  
  17370.                         wait()
  17371.  
  17372.                 end
  17373.  
  17374.                 for _,v in pairs(Blades) do
  17375.  
  17376.                         v.BrickColor = BrickColor.new(EffectColor3)
  17377.  
  17378.                 end
  17379.  
  17380.                 wait(0.5)
  17381.  
  17382.                 for i = 0, 1, 0.1 do
  17383.  
  17384.                         p2.Transparency = i
  17385.  
  17386.                         wait()
  17387.  
  17388.                 end
  17389.  
  17390.                 p2:remove()
  17391.  
  17392.                 playz(Sounds.Shout)
  17393.  
  17394.                 for i = 0.1, 1, 0.1 do
  17395.  
  17396.                         RAW.C0 = CA(MR(90-50*i), MR(50*i), MR(-40+40*i)) * CN(0, -1+1*i, 0)
  17397.  
  17398.                         LAW.C0 = CA(MR(90-70*i), MR(-20*i), MR(-40+80-60*i)) * CN(0, -1+1*i, 0)
  17399.  
  17400.                         HW.C0 = CA(0, MR(135+45*i), 0)
  17401.  
  17402.                         wait()
  17403.  
  17404.                 end
  17405.  
  17406.                 Normalize()
  17407.  
  17408.                 AbleAll = true
  17409.  
  17410.                 RageMode = true
  17411.  
  17412.                 AddDamage = Dmgs.RageMode[2]
  17413.  
  17414.                 AddDamageX = Dmgs.RageMode[3]
  17415.  
  17416.                 AddShield = Dmgs.RageMode[4]
  17417.  
  17418.                 LineColor = EffectColor3
  17419.  
  17420.                 Notime(function()
  17421.  
  17422.                         repeat
  17423.  
  17424.                                 wait()
  17425.  
  17426.                                 Rage = Rage - 0.45
  17427.  
  17428.                         until Rage < 1
  17429.  
  17430.                         RageMode = false
  17431.  
  17432.                         AddDamage = 0
  17433.  
  17434.                         AddShield = 0
  17435.  
  17436.                         AddDamageX = 1
  17437.  
  17438.                         LineColor = "White"
  17439.  
  17440.                         local p3 = Part(workspace, false, false, 1, 0, BladeColor, 1, 1, 1, true)
  17441.  
  17442.                         Weld(Tip4, p3, 0, -2, 0, 0, 0, 0)
  17443.  
  17444.                         local m3 = Add.Sphere(p3)
  17445.  
  17446.                         m3.Scale = Vector3.new(0.85, 4.9, 1.8)
  17447.  
  17448.                         playz(Sounds.RageOff)
  17449.  
  17450.                         for i = 0.1, 1, 0.1 do
  17451.  
  17452.                                 p3.Transparency = 1-1*i
  17453.  
  17454.                                 wait()
  17455.  
  17456.                         end
  17457.  
  17458.                         p.Transparency = 0
  17459.  
  17460.                         for _,v in pairs(Blades) do
  17461.  
  17462.                                 v.BrickColor = BrickColor.new(BladeColor)
  17463.  
  17464.                         end
  17465.  
  17466.                         wait(0.2)
  17467.  
  17468.                         for i = 0.2, 1, 0.2 do
  17469.  
  17470.                                 p3.Transparency = 1*i
  17471.  
  17472.                                 m3.Scale = Vector3.new(0.85+2*i, 4.9+9*i, 1.8+4.5*i)
  17473.  
  17474.                                 wait()
  17475.  
  17476.                         end
  17477.  
  17478.                         p3:remove()
  17479.  
  17480.                 end)
  17481.  
  17482.         end
  17483.  
  17484. end
  17485.  
  17486.  
  17487.  
  17488. function RageSlash(plaic)
  17489.  
  17490.         if Rage < Dmgs.RageSlash[6] then return end
  17491.  
  17492.         local cf = torso.CFrame
  17493.  
  17494.         local CF = ComputePos(cf.p, cf * CN(0, 0, -2))
  17495.  
  17496.         if plaic then
  17497.  
  17498.                 CF = ComputePos(cf.p, plaic)
  17499.  
  17500.                 local bg = Add.BG(torso)
  17501.  
  17502.                 bg.cframe = CF
  17503.  
  17504.                 Notime(function() bg:remove() end, 0.4)
  17505.  
  17506.         end
  17507.  
  17508.         Rage = Rage - Dmgs.RageSlash[6]
  17509.  
  17510.         AbleAll = false
  17511.  
  17512.         for i = 0.05, 1, 0.1 do
  17513.  
  17514.                 RAW.C0 = CA(MR(40+105*i), MR(50-50*i), MR(-35*i)) * CN(0.15*i, -1*i, 0)
  17515.  
  17516.                 LAW.C0 = CA(MR(20+125*i), MR(-20+20*i), MR(-20+55*i)) * CN(-0.15*i, -1*i, 0)
  17517.  
  17518.                 HW.C0 = CA(0, MR(-35*i), 0)
  17519.  
  17520.                 neck.C0 = necko * CA(MR(-20*i), 0, 0)
  17521.  
  17522.                 wait()
  17523.  
  17524.         end
  17525.  
  17526.         for i = 0.09, 1, 0.18 do
  17527.  
  17528.                 RAW.C0 = CA(MR(145+55*i), 0, MR(-35)) * CN(0.15, -1, 0)
  17529.  
  17530.                 LAW.C0 = CA(MR(145+55*i), 0, MR(35)) * CN(-0.15, -1, 0)
  17531.  
  17532.                 HW.C0 = CA(0, MR(-35), 0)
  17533.  
  17534.                 neck.C0 = necko * CA(MR(-20-20*i), 0, 0)
  17535.  
  17536.                 wait()
  17537.  
  17538.         end
  17539.  
  17540.         PlaySound(Sounds.Slash[1], Sounds.Slash[2]-0.7, Sounds.Slash[3])
  17541.  
  17542.         for i = 0.12, 1, 0.25 do
  17543.  
  17544.                 RAW.C0 = CA(MR(200+10*i), 0, MR(-35)) * CN(0.15, -1, 0)
  17545.  
  17546.                 LAW.C0 = CA(MR(200+10*i), 0, MR(35)) * CN(-0.15, -1, 0)
  17547.  
  17548.                 HW.C0 = CA(0, MR(-35), 0)
  17549.  
  17550.                 neck.C0 = necko * CA(MR(-20-20-5*i), 0, 0)
  17551.  
  17552.                 wait()
  17553.  
  17554.         end
  17555.  
  17556.         Mode = Dmgs.RageSlash
  17557.  
  17558.         StartEffect("Neon orange")
  17559.  
  17560.         Hurt = true
  17561.  
  17562.         Deb = true
  17563.  
  17564.         for i = 0.07, 1, 0.14 do
  17565.  
  17566.                 RAW.C0 = CA(MR(210-160*i), 0, MR(-35)) * CN(0.15, -1, 0)
  17567.  
  17568.                 LAW.C0 = CA(MR(210-150*i), MR(-30*i), MR(35)) * CN(-0.15, -1, 0)
  17569.  
  17570.                 HW.C0 = CA(MR(-70*i), MR(-35), MR(-35*i))
  17571.  
  17572.                 neck.C0 = necko * CA(MR(-45+80*i), 0, 0)
  17573.  
  17574.                 wait()
  17575.  
  17576.         end
  17577.  
  17578.         EndEffect()
  17579.  
  17580.         Hurt = false
  17581.  
  17582.         for i = 0.33, 1, 0.33 do
  17583.  
  17584.                 RAW.C0 = CA(MR(50-15*i), 0, MR(-35)) * CN(0.15, -1, 0)
  17585.  
  17586.                 LAW.C0 = CA(MR(60-15*i), MR(-30), MR(35)) * CN(-0.15, -1, 0)
  17587.  
  17588.                 HW.C0 = CA(MR(-70-15*i), MR(-35), MR(-35-7*i))
  17589.  
  17590.                 neck.C0 = necko * CA(MR(-45+80+5*i), 0, 0)
  17591.  
  17592.                 wait()
  17593.  
  17594.         end
  17595.  
  17596.         for i = 0.07, 1, 0.14 do
  17597.  
  17598.                 RAW.C0 = CA(MR(35+5*i), MR(50*i), MR(-35+35*i)) * CN(0.15-0.15*i, -1+1*i, 0)
  17599.  
  17600.                 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)
  17601.  
  17602.                 HW.C0 = CA(MR(-70-15+85*i), MR(-35+35*i), MR(-35-7+42*i))
  17603.  
  17604.                 neck.C0 = necko * CA(MR(-45+80+5-40*i), 0, 0)
  17605.  
  17606.                 wait()
  17607.  
  17608.         end
  17609.  
  17610.         Normalize()
  17611.  
  17612.         AbleAll = true
  17613.  
  17614. end
  17615.  
  17616.  
  17617.  
  17618. --RAW ORIGINAL = CA(MR(40), MR(50), 0)
  17619.  
  17620. --LAW ORIGINAL = CA(MR(20), MR(-20), MR(-20))
  17621.  
  17622. --HW ORIGINAL = CA(0, 0, 0)
  17623.  
  17624.  
  17625.  
  17626. function Counter()
  17627.  
  17628.         local cf = torso.CFrame
  17629.  
  17630.         local CF = CFrame.new(cf.p, cf * CN(0, 0, -2).p)
  17631.  
  17632.         local bg = Add.BG(torso)
  17633.  
  17634.         bg.cframe = CF
  17635.  
  17636.         for i = 0.1, 1, 0.2 do
  17637.  
  17638.                 RAW.C0 = CA(MR(-50+50*i), MR(-35), MR(80*i))
  17639.  
  17640.                 LAW.C0 = CA(MR(90-20*i), 0, MR(80-20*i)) * CN(-0.75+0.25*i, -0.8+0.5*i, 0)
  17641.  
  17642.                 HW.C0 = CA(MR(20-60*i), 0, 0)
  17643.  
  17644.                 bg.cframe = CF * CA(0, MR(-35*i), 0)
  17645.  
  17646.                 neck.C0 = necko * CA(0, 0, MR(35*i))
  17647.  
  17648.                 wait()
  17649.  
  17650.         end
  17651.  
  17652.         StartEffect()
  17653.  
  17654.         Hurt = true
  17655.  
  17656.         Deb = true
  17657.  
  17658.         Mode = Dmgs.Counter
  17659.  
  17660.         playz(Sounds.Slash)
  17661.  
  17662.         for i = 0.09, 1, 0.18 do
  17663.  
  17664.                 RAW.C0 = CA(0, MR(-35+130*i), MR(80)) * CN(0, -0.3*i, 0)
  17665.  
  17666.                 LAW.C0 = CA(MR(70-130*i), 0, MR(60-60*i)) * CN(-0.5+0.5*i, -0.3+0.3*i, 0)
  17667.  
  17668.                 HW.C0 = CA(MR(-40+40*i), 0, 0)
  17669.  
  17670.                 bg.cframe = CF * CA(0, MR(-35+80*i), 0)
  17671.  
  17672.                 neck.C0 = necko * CA(0, 0, MR(35-80*i))
  17673.  
  17674.                 wait()
  17675.  
  17676.         end
  17677.  
  17678.         EndEffect()
  17679.  
  17680.         Hurt = false
  17681.  
  17682.         for i = 0.12, 1, 0.25 do
  17683.  
  17684.                 RAW.C0 = CA(0, MR(95+10*i), MR(80)) * CN(0, -0.3, 0)
  17685.  
  17686.                 LAW.C0 = CA(MR(-60-10*i), 0, 0)
  17687.  
  17688.                 HW.C0 = CA(MR(5*i), 0, 0)
  17689.  
  17690.                 bg.cframe = CF * CA(0, MR(45+5*i), 0)
  17691.  
  17692.                 neck.C0 = necko * CA(0, 0, MR(-45-5*i))
  17693.  
  17694.                 wait()
  17695.  
  17696.         end
  17697.  
  17698.         for i = 0.06, 1, 0.12 do
  17699.  
  17700.                 RAW.C0 = CA(MR(40*i), MR(105-55*i), MR(80-80*i)) * CN(0, -0.3+0.3*i, 0)
  17701.  
  17702.                 LAW.C0 = CA(MR(-70+90*i), MR(-20*i), MR(-20*i))
  17703.  
  17704.                 HW.C0 = CA(MR(5-5*i), 0, 0)
  17705.  
  17706.                 bg.cframe = CF * CA(0, MR(50-50*i), 0)
  17707.  
  17708.                 neck.C0 = necko * CA(0, 0, MR(-50+50*i))
  17709.  
  17710.                 wait()
  17711.  
  17712.         end
  17713.  
  17714.         Normalize()
  17715.  
  17716.         bg:remove()
  17717.  
  17718. end
  17719.  
  17720.  
  17721.  
  17722. function Bloc()
  17723.  
  17724.         if AbleAll and Able then
  17725.  
  17726.                 AbleAll = false
  17727.  
  17728.                 Block.Value = true
  17729.  
  17730.                 for i = 0, 1, 0.15 do
  17731.  
  17732.                         if not Block then break end
  17733.  
  17734.                         RAW.C0 = CA(MR(40-90*i), MR(50-85*i), 0)
  17735.  
  17736.                         LAW.C0 = CA(MR(20+70*i), MR(-20+20*i), MR(-20+100*i)) * CN(-0.75*i, -0.8*i, 0)
  17737.  
  17738.                         HW.C0 = CA(MR(20*i), 0, 0)
  17739.  
  17740.                         wait()
  17741.  
  17742.                 end
  17743.  
  17744.                 RAW.C0 = CA(MR(40-90), MR(50-85), 0)
  17745.  
  17746.                 LAW.C0 = CA(MR(20+70), MR(-20+20), MR(-20+100)) * CN(-0.75, -0.8, 0)
  17747.  
  17748.                 HW.C0 = CA(MR(20), 0, 0)
  17749.  
  17750.                 PlaySound(Sounds.SmashHit[1], Sounds.SmashHit[2]-0.6, Sounds.SmashHit[3])
  17751.  
  17752.                 repeat
  17753.  
  17754.                         wait()
  17755.  
  17756.                         if BlockPower.Value < 1 then
  17757.  
  17758.                                 Block.Value = false
  17759.  
  17760.                                 BlockPower.Value = BlockRealPowa
  17761.  
  17762.                         end
  17763.  
  17764.                 until Block.Value == false
  17765.  
  17766.                 if CounterKey and Rage >= Dmgs.Counter[6] then
  17767.  
  17768.                         Rage = Rage - Dmgs.Counter[6]
  17769.  
  17770.                         Counter()
  17771.  
  17772.                 else
  17773.  
  17774.                         for i = 1, 0, -0.2 do
  17775.  
  17776.                                 RAW.C0 = CA(MR(40-90*i), MR(50-85*i), 0)
  17777.  
  17778.                                 LAW.C0 = CA(MR(20+70*i), MR(-20+20*i), MR(-20+100*i)) * CN(-0.75*i, -0.8*i, 0)
  17779.  
  17780.                                 HW.C0 = CA(MR(20*i), 0, 0)
  17781.  
  17782.                                 wait()
  17783.  
  17784.                         end
  17785.  
  17786.                         Normalize()
  17787.  
  17788.                 end
  17789.  
  17790.                 AbleAll = true
  17791.  
  17792.         end
  17793.  
  17794. end
  17795.  
  17796.  
  17797.  
  17798. function Clicked(mousepos)
  17799.  
  17800.         if Block.Value == false and Able and AbleAll then
  17801.  
  17802.                 if Aim then
  17803.  
  17804.                         Notime(function()
  17805.  
  17806.                                 local bg = Add.BG(torso)
  17807.  
  17808.                                 bg.cframe = ComputePos(torso.Position, mousepos)
  17809.  
  17810.                                 bg.P = 5500
  17811.  
  17812.                                 wait(0.4)
  17813.  
  17814.                                 bg:remove()
  17815.  
  17816.                         end)
  17817.  
  17818.                 end
  17819.  
  17820.                 Attacks[Attack]()
  17821.  
  17822.         end
  17823.  
  17824. end
  17825.  
  17826.  
  17827.  
  17828. function KeyDown(key, mouse)
  17829.  
  17830.         key = key:lower()
  17831.  
  17832.         if Able then
  17833.  
  17834.                 local aimplace = nil
  17835.  
  17836.                 if Aim then
  17837.  
  17838.                         aimplace = mouse.Hit.p
  17839.  
  17840.                 end
  17841.  
  17842.                 if key == string.char(48) then
  17843.  
  17844.                         Notime(function()
  17845.  
  17846.                                 local k = nil
  17847.  
  17848.                                 repeat
  17849.  
  17850.                                         k = mouse.KeyUp:wait()
  17851.  
  17852.                                 until k == string.char(48)
  17853.  
  17854.                                 Block.Value = false
  17855.  
  17856.                         end)
  17857.  
  17858.                         Bloc()
  17859.  
  17860.                 elseif key == "e" then
  17861.  
  17862.                         if Block.Value == false and AbleAll then
  17863.  
  17864.                                 SpinSlash(aimplace)
  17865.  
  17866.                         end
  17867.  
  17868.                 elseif key == "r" then
  17869.  
  17870.                         if Block.Value == false and AbleAll then
  17871.  
  17872.                                 Flawp(aimplace)
  17873.  
  17874.                         end
  17875.  
  17876.                 elseif key == "f" then
  17877.  
  17878.                         if Block.Value == false and AbleAll then
  17879.  
  17880.                                 Raeg()
  17881.  
  17882.                         end
  17883.  
  17884.                 elseif key == "t" then
  17885.  
  17886.                         Notime(function()
  17887.  
  17888.                                 local k = nil
  17889.  
  17890.                                 CounterKey = true
  17891.  
  17892.                                 repeat
  17893.  
  17894.                                         k = mouse.KeyUp:wait()
  17895.  
  17896.                                 until k == "t"
  17897.  
  17898.                                 CounterKey = false
  17899.  
  17900.                         end)
  17901.  
  17902.                 elseif key == "q" then
  17903.  
  17904.                         if Block.Value == false and AbleAll then
  17905.  
  17906.                                 local a = nil
  17907.  
  17908.                                 if Aim then
  17909.  
  17910.                                         a = mouse.Hit.p
  17911.  
  17912.                                 end
  17913.  
  17914.                                 RageSlash(a)
  17915.  
  17916.                         end
  17917.  
  17918.                 end
  17919.  
  17920.         end
  17921.  
  17922. end
  17923.  
  17924.  
  17925.  
  17926. Select = function(mouse)
  17927.  
  17928.         SelectAnim()
  17929.  
  17930.         Selected = true
  17931.  
  17932.         mouse.Button1Down:connect(function()
  17933.  
  17934.                 if Able then
  17935.  
  17936.                         Clicked(mouse.Hit.p)
  17937.  
  17938.                 end
  17939.  
  17940.         end)
  17941.  
  17942.         mouse.KeyDown:connect(function(key)
  17943.  
  17944.                 KeyDown(key, mouse)
  17945.  
  17946.         end)
  17947.  
  17948. end
  17949.  
  17950.  
  17951.  
  17952. Deselect = function(mouse)
  17953.  
  17954.         Selected = false
  17955.  
  17956.         DeselectAnim()
  17957.  
  17958. end
  17959.  
  17960.  
  17961.  
  17962. Bin.Selected:connect(Select)
  17963.  
  17964. Bin.Deselected:connect(Deselect)
  17965.  
  17966.  
  17967.  
  17968. Notime(function()
  17969.  
  17970.         local parent = char.Parent
  17971.  
  17972.         while char.Parent == parent do
  17973.  
  17974.                 wait()
  17975.  
  17976.                 if Rage > MaxRage then Rage = MaxRage elseif Rage < 0 then Rage = 0 end
  17977.  
  17978.                 RageBar.Size = UD(1, 0, Rage/MaxRage, 0)
  17979.  
  17980.                 RageBar.Position = UD(0, 0, 1-(Rage/MaxRage), 0)
  17981.  
  17982.                 RageAmount.Text = math.floor(Rage)
  17983.  
  17984.                 local hp2 = hum.Health/hum.MaxHealth
  17985.  
  17986.                 if hp2 > 1 then hp2 = 1 elseif hp2 < 0 then hp2 = 0 end
  17987.  
  17988.                 HealthBar.Size = UD(1, 0, hp2, 0)
  17989.  
  17990.                 if Block.Value then
  17991.  
  17992.                         hum.WalkSpeed = 10
  17993.  
  17994.                 elseif RageMode and Block.Value then
  17995.  
  17996.                         hum.WalkSpeed = 16
  17997.  
  17998.                 elseif RageMode then
  17999.  
  18000.                         hum.WalkSpeed = 19
  18001.  
  18002.                 else
  18003.  
  18004.                         hum.WalkSpeed = 16
  18005.  
  18006.                 end
  18007.  
  18008.         end
  18009.  
  18010. end)
  18011.  
  18012.         end)
  18013. --
  18014. local button = Instance.new("TextButton")
  18015.         button.Parent = ws
  18016.         button.BackgroundColor3 = blak
  18017.         button.BorderColor3 = rede
  18018.         button.BorderSizePixel = 3
  18019.         button.Name = "Dual Blades"
  18020.         button.Position = UDim2.new(0.5,3,0,33)
  18021.         button.Size = UDim2.new(0.5,-3,0,30)
  18022.         button.ZIndex = 2
  18023.         button.Font = tef
  18024.         button.FontSize = "Size14"
  18025.         button.Text = "Dual Blades"
  18026.         button.TextColor3 = whit
  18027.         button.TextWrapped = true
  18028.         button.MouseButton1Down:connect(function()
  18029.                 --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 5 and put your name where it says "YOUR NAME HERE"
  18030.  
  18031.  
  18032. local admin = game.Players.LocalPlayer
  18033. bin = Instance.new("HopperBin", admin.Backpack)
  18034. player = bin.Parent.Parent.Character
  18035. rarm = player["Right Arm"]
  18036. larm = player["Left Arm"]
  18037. visible = true
  18038. --for i, v in pairs(game.Players:GetChildren()) do
  18039. --bin:Clone().Parent = v.Backpack
  18040. --end
  18041. on = 1
  18042.  
  18043. local glideg = Instance.new("BodyGyro")
  18044. local glidev = Instance.new("BodyVelocity")
  18045.  
  18046. function shadow(rblade,lblade)
  18047. while on == 1 do
  18048. wait(.1)
  18049. if visible then
  18050. local a = rblade:clone()
  18051. local b = lblade:clone()
  18052. a.Anchored = true
  18053. a.Parent = player
  18054. a.CFrame = rblade.CFrame
  18055. a.CanCollide = false
  18056. a.Transparency = .2
  18057. b.Anchored = true
  18058. b.Parent = player
  18059. b.CFrame = lblade.CFrame
  18060. b.CanCollide = false
  18061. b.Transparency = .2
  18062. coroutine.resume(coroutine.create(function() dissapate(a,b) end))
  18063. end
  18064. end
  18065. end
  18066.  
  18067. function stun(blast)
  18068. for x = 1,15 do
  18069. wait(1)
  18070. local sap = game.Players:GetChildren()
  18071. for i = 1,#sap do
  18072. wait()
  18073. if (sap.Character.Torso.Position - Workspace.keel.Position).magnitude < 20 then
  18074. sap.Character.Humanoid.Sit = true
  18075. end
  18076. end
  18077. end
  18078. end
  18079.  
  18080. function dissapate(a,b)
  18081. for i = 1,8 do
  18082. wait()
  18083. a.Transparency = a.Transparency +.1
  18084. b.Transparency = b.Transparency +.1
  18085. end
  18086. a:remove()
  18087. b:remove()
  18088. end
  18089.  
  18090. bin.Selected:connect(function(mouse)
  18091. on = 1
  18092. if player.Torso:findFirstChild("Right Shoulder") ~= nil then
  18093. rs = player.Torso["Right Shoulder"]
  18094. rs.Part1 = nil
  18095. end
  18096. if player.Torso:findFirstChild("Left Shoulder") ~= nil then
  18097. ls = player.Torso["Left Shoulder"]
  18098. ls.Part1 = nil
  18099. end
  18100. if player:FindFirstChild("check") == nil then
  18101. rns = Instance.new("Weld")
  18102. rns.Parent = player.Torso
  18103. rns.Part0 = rns.Parent
  18104. rns.Part1 = player["Right Arm"]
  18105. rns.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18106. lns = Instance.new("Weld")
  18107. lns.Parent = player.Torso
  18108. lns.Part0 = lns.Parent
  18109. lns.Part1 = player["Left Arm"]
  18110. lns.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18111. rblade = Instance.new("Part")
  18112. rblade.BrickColor = BrickColor.new("Institutional white")
  18113. rblade.Name ="check"
  18114. rblade.Parent = player
  18115. rblade.CanCollide = false
  18116. rblade.Size = Vector3.new(1,3,1)
  18117. rblade.formFactor = "Symmetric"
  18118. rblade.TopSurface = 0
  18119. rblade.BottomSurface = 0
  18120. rbm = Instance.new("BlockMesh")
  18121. rbm.Parent = rblade
  18122. rbm.Scale = Vector3.new(.1,1,.3)
  18123. rbw = Instance.new("Weld")
  18124. rbw.Parent = rarm
  18125. rbw.Part0 = rarm
  18126. rbw.Part1 = rblade
  18127. rbw.C1 = CFrame.new(0,1,0)
  18128. lblade = Instance.new("Part")
  18129. lblade.BrickColor = rblade.BrickColor
  18130. lblade.Name = "checkb"
  18131. lblade.Parent = player
  18132. lblade.CanCollide = false
  18133. lblade.Size = Vector3.new(1,3,1)
  18134. lblade.formFactor = "Symmetric"
  18135. lblade.TopSurface = 0
  18136. lblade.BottomSurface = 0
  18137. lbm = Instance.new("BlockMesh")
  18138. lbm.Parent = lblade
  18139. lbm.Scale = Vector3.new(.1,1,.3)
  18140. lbw = Instance.new("Weld")
  18141. lbw.Parent = larm
  18142. lbw.Part0 = larm
  18143. lbw.Part1 = lblade
  18144. lbw.C1 = CFrame.new(0,1,0)
  18145. coroutine.resume(coroutine.create(function() shadow(rblade, lblade) end))
  18146. end
  18147. rblade.Touched:connect(function(hit)
  18148. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18149. if hit.Parent.Name ~= player.Name then
  18150. if hit.Parent.Humanoid.MaxHealth > 100 then
  18151. hit.Parent.Humanoid.MaxHealth = 100
  18152. end
  18153. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(3,7)
  18154. for i = 1, (math.random(1,3)) do
  18155. wait()
  18156. local bleed = Instance.new("Part")
  18157. bleed.formFactor = "Symmetric"
  18158. bleed.Size = Vector3.new(1,1,1)
  18159. bleed.BrickColor = BrickColor.new("Bright red")
  18160. bleed.TopSurface = 0
  18161. bleed.BottomSurface = 0
  18162. bleed.Reflectance = .1
  18163. bleed.Transparency = .4
  18164. bleed.Parent = Workspace
  18165. bleed.Position = rblade.Position
  18166. local bleedm = Instance.new("SpecialMesh")
  18167. bleedm.MeshType = "Sphere"
  18168. bleedm.Scale = Vector3.new(.2,.2,.2)
  18169. bleedm.Parent = bleed
  18170. game:GetService("Debris"):AddItem(bleed, 5)
  18171. end
  18172. end
  18173. end
  18174. end)
  18175.  
  18176. lblade.Touched:connect(function(hit)
  18177. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18178. if hit.Parent.Name ~= player.Name then
  18179. if hit.Parent.Humanoid.MaxHealth > 100 then
  18180. hit.Parent.Humanoid.MaxHealth = 100
  18181. end
  18182. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(3,7)
  18183. for i = 1, (math.random(1,3)) do
  18184. wait()
  18185. local bleed = Instance.new("Part")
  18186. bleed.formFactor = "Symmetric"
  18187. bleed.Size = Vector3.new(1,1,1)
  18188. bleed.BrickColor = BrickColor.new("Bright red")
  18189. bleed.TopSurface = 0
  18190. bleed.BottomSurface = 0
  18191. bleed.Reflectance = .1
  18192. bleed.Transparency = .4
  18193. bleed.Parent = Workspace
  18194. bleed.Position = lblade.Position
  18195. local bleedm = Instance.new("SpecialMesh")
  18196. bleedm.MeshType = "Sphere"
  18197. bleedm.Scale = Vector3.new(.2,.2,.2)
  18198. bleedm.Parent = bleed
  18199. game:GetService("Debris"):AddItem(bleed, 5)
  18200. end
  18201. end
  18202. end
  18203. end)
  18204. ----end of blades
  18205. right = rns
  18206. left = lns
  18207. mouse.KeyDown:connect(function(key)
  18208. key = key:lower()
  18209. print(key)
  18210. if key == "z" and rblade.Transparency <= 0 then
  18211. for i = 1,50 do
  18212. wait()
  18213. rblade.Transparency = rblade.Transparency + .02
  18214. lblade.Transparency = lblade.Transparency + .02
  18215. end
  18216. rblade.Transparency = 1
  18217. lblade.Transparency = 1
  18218. visible = false
  18219. elseif key == "x" and rblade.Transparency > 0 then
  18220. visible = true
  18221. for i = 1,50 do
  18222. wait()
  18223. rblade.Transparency = rblade.Transparency - .02
  18224. lblade.Transparency = lblade.Transparency - .02
  18225. end
  18226. rblade.Transparency = 0
  18227. lblade.Transparency = 0
  18228. elseif key == "c" then
  18229. wait()
  18230. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18231. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18232. end
  18233. if key == "e" then
  18234. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18235. wait()
  18236. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18237. wait()
  18238. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18239. wait()
  18240. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18241. wait()
  18242. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18243. wait()
  18244. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18245. wait(.5)
  18246. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18247. wait()
  18248. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18249. wait()
  18250. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18251. wait()
  18252. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18253. wait()
  18254. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18255. elseif key == "q" then
  18256. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18257. wait()
  18258. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18259. wait()
  18260. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18261. wait()
  18262. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18263. wait()
  18264. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18265. wait()
  18266. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18267. wait(.5)
  18268. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18269. wait()
  18270. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18271. wait()
  18272. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18273. wait()
  18274. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18275. wait()
  18276. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18277. elseif key == "r" then
  18278. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18279. wait()
  18280. left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.3))
  18281. wait()
  18282. left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.35))
  18283. wait()
  18284. left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.4))
  18285. wait()
  18286. left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.45))
  18287. wait()
  18288. left.C1 = CFrame.new(0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.5))
  18289. wait(.2)
  18290. left.C1 = CFrame.new(0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.5))
  18291. wait()
  18292. left.C1 = CFrame.new(0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.5))
  18293. wait()
  18294. left.C1 = CFrame.new(0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.5))
  18295. wait()
  18296. left.C1 = CFrame.new(0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.5))
  18297. wait()
  18298. left.C1 = CFrame.new(0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*.5))
  18299. wait(.1)
  18300. left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.45))
  18301. wait()
  18302. left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.4))
  18303. wait()
  18304. left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.35))
  18305. wait()
  18306. left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.3))
  18307. wait()
  18308. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18309. elseif key == "t" then
  18310. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18311. wait()
  18312. right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.3))
  18313. wait()
  18314. right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.35))
  18315. wait()
  18316. right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.4))
  18317. wait()
  18318. right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.45))
  18319. wait()
  18320. right.C1 = CFrame.new(-0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.5))
  18321. wait(.2)
  18322. right.C1 = CFrame.new(-0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.5))
  18323. wait()
  18324. right.C1 = CFrame.new(-0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.5))
  18325. wait()
  18326. right.C1 = CFrame.new(-0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.5))
  18327. wait()
  18328. right.C1 = CFrame.new(-0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.5))
  18329. wait()
  18330. right.C1 = CFrame.new(-0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*-.5))
  18331. wait(.1)
  18332. right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.45))
  18333. wait()
  18334. right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.4))
  18335. wait()
  18336. right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.35))
  18337. wait()
  18338. right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.3))
  18339. wait()
  18340. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18341. end
  18342. --abilities
  18343. if key == "b" then
  18344. local a = player:GetChildren()
  18345. for i = 1,#a do
  18346. wait()
  18347. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18348. for x = 1, 5 do
  18349. wait()
  18350. a.Transparency = a.Transparency +.2
  18351. end
  18352. elseif a.className == "Hat" then
  18353. for x = 1, 5 do
  18354. wait()
  18355. a.Handle.Transparency = a.Handle.Transparency +.2
  18356. end
  18357. end
  18358. end
  18359. player.Torso.CFrame = mouse.Hit + Vector3.new(0,4,0)
  18360. wait()
  18361. for i = 1,#a do
  18362. wait()
  18363. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18364. for x = 1, 5 do
  18365. wait()
  18366. a.Transparency = a.Transparency -.2
  18367. end
  18368. elseif a.className == "Hat" then
  18369. for x = 1, 5 do
  18370. wait()
  18371. a.Handle.Transparency = a.Handle.Transparency -.2
  18372. end
  18373. end
  18374. end
  18375. for i = 1,#a do
  18376. wait()
  18377. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  18378. wait()
  18379. a.Transparency = 0
  18380. elseif a.className == "Hat" then
  18381. wait()
  18382. a.Handle.Transparency = 0
  18383. end
  18384. end
  18385. end
  18386. if key == "v" then
  18387. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18388. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18389. wait()
  18390. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18391. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18392. wait()
  18393. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18394. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18395. wait()
  18396. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18397. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18398. wait()
  18399. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18400. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18401. wait()
  18402. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18403. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18404. wait(.2)
  18405. wait(.45)
  18406. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18407. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18408. wait()
  18409. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18410. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18411. wait()
  18412. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18413. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18414. wait()
  18415. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18416. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18417. wait()
  18418. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18419. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18420. end
  18421. if key == "f" then
  18422. local tar = mouse.Target
  18423. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  18424. local float = Instance.new("BodyPosition")
  18425. float.Parent = tar.Parent.Torso
  18426. float.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  18427. float.position = tar.Parent.Torso.Position + Vector3.new(0,10,0)
  18428. wait(1)
  18429. player.Humanoid.MaxHealth = 99999
  18430. player.Humanoid.Health = 99999
  18431. local floatme = Instance.new("BodyPosition")
  18432. floatme.Parent = player.Torso
  18433. floatme.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  18434. floatme.position = tar.Parent.Torso.Position
  18435. wait(1)
  18436. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18437. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18438. wait()
  18439. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18440. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18441. wait()
  18442. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18443. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18444. wait()
  18445. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18446. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18447. wait()
  18448. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18449. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18450. wait()
  18451. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18452. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18453. wait()
  18454. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18455. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18456. wait()
  18457. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18458. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18459. wait()
  18460. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18461. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18462. wait()
  18463. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18464. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18465. wait()
  18466. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18467. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18468. wait()
  18469. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18470. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18471. wait()
  18472. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18473. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18474. wait()
  18475. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18476. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18477. wait()
  18478. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18479. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18480. wait()
  18481. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18482. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18483. wait()
  18484. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18485. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18486. wait()
  18487. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  18488. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  18489. wait()
  18490. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  18491. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  18492. wait()
  18493. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  18494. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  18495. wait()
  18496. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  18497. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  18498. wait()
  18499. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18500. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18501. wait(.5)
  18502. player.Humanoid.MaxHealth = 100
  18503. player.Humanoid.Health = 100
  18504. float:remove()
  18505. floatme:remove()
  18506. end
  18507. end
  18508. if key == "g" then
  18509. --
  18510. rblade2 = Instance.new("Part")
  18511. rblade2.BrickColor = BrickColor.new("Really black")
  18512. rblade2.Parent = player
  18513. rblade2.CanCollide = false
  18514. rblade2.Size = Vector3.new(1,6,1)
  18515. rblade2.CFrame = rblade.CFrame
  18516. rblade2.formFactor = "Symmetric"
  18517. rblade2.TopSurface = 0
  18518. rblade2.BottomSurface = 0
  18519. rblade2.Reflectance = .5
  18520. rbm2 = Instance.new("BlockMesh")
  18521. rbm2.Parent = rblade2
  18522. rbm2.Scale = Vector3.new(.21,1,.31)
  18523. rbw2 = Instance.new("Weld")
  18524. rbw2.Parent = rblade
  18525. rbw2.Part0 = rblade
  18526. rbw2.Part1 = rblade2
  18527. lblade2 = Instance.new("Part")
  18528. lblade2.BrickColor = rblade.BrickColor
  18529. lblade2.Parent = player
  18530. lblade2.CanCollide = false
  18531. lblade2.Size = Vector3.new(1,6,1)
  18532. lblade2.CFrame = lblade.CFrame
  18533. lblade2.formFactor = "Symmetric"
  18534. lblade2.TopSurface = 0
  18535. lblade2.BottomSurface = 0
  18536. lblade2.Reflectance = .5
  18537. lbm2 = Instance.new("BlockMesh")
  18538. lbm2.Parent = lblade2
  18539. lbm2.Scale = Vector3.new(.21,1,.31)
  18540. lbw2 = Instance.new("Weld")
  18541. lbw2.Parent = lblade
  18542. lbw2.Part0 = lblade
  18543. lbw2.Part1 = lblade2
  18544. rblade.Touched:connect(function(hit)
  18545. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18546. if hit.Parent.Name ~= player.Name then
  18547. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  18548. end
  18549. end
  18550. end)
  18551. lblade.Touched:connect(function(hit)
  18552. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18553. if hit.Parent.Name ~= player.Name then
  18554. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  18555. end
  18556. end
  18557. end)
  18558. --
  18559. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*-.25))
  18560. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*.25))
  18561. wait()
  18562. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25))
  18563. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25))
  18564. wait()
  18565. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25))
  18566. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25))
  18567. wait()
  18568. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25))
  18569. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25))
  18570. wait()
  18571. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25))
  18572. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25))
  18573. wait()
  18574. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18575. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18576. wait()
  18577. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25))
  18578. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25))
  18579. wait()
  18580. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25))
  18581. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25))
  18582. wait()
  18583. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25))
  18584. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25))
  18585. wait()
  18586. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25))
  18587. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25))
  18588. wait()
  18589. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18590. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18591. lblade2:remove()
  18592. rblade2:remove()
  18593. end
  18594. if key == "h" then
  18595. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18596. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18597. wait()
  18598. right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25))
  18599. left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25))
  18600. wait()
  18601. right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2))
  18602. left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2))
  18603. wait()
  18604. right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15))
  18605. left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15))
  18606. wait()
  18607. right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1))
  18608. left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1))
  18609. wait()
  18610. right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05))
  18611. left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05))
  18612. wait()
  18613. right.C1 = CFrame.new(-1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*-.5),(math.pi*-.00))
  18614. left.C1 = CFrame.new(1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*.5),(math.pi*.00))
  18615. wait()
  18616. --
  18617. rblade2 = Instance.new("Part")
  18618. rblade2.BrickColor = BrickColor.new("Really black")
  18619. rblade2.Parent = player
  18620. rblade2.CanCollide = false
  18621. rblade2.Size = Vector3.new(1,6,1)
  18622. rblade2.CFrame = rblade.CFrame
  18623. rblade2.formFactor = "Symmetric"
  18624. rblade2.TopSurface = 0
  18625. rblade2.BottomSurface = 0
  18626. rblade2.Reflectance = .5
  18627. rbm2 = Instance.new("BlockMesh")
  18628. rbm2.Parent = rblade2
  18629. rbm2.Scale = Vector3.new(.21,1,.31)
  18630. rbw2 = Instance.new("Weld")
  18631. rbw2.Parent = rblade
  18632. rbw2.Part0 = rblade
  18633. rbw2.Part1 = rblade2
  18634. lblade2 = Instance.new("Part")
  18635. lblade2.BrickColor = rblade.BrickColor
  18636. lblade2.Parent = player
  18637. lblade2.CanCollide = false
  18638. lblade2.Size = Vector3.new(1,6,1)
  18639. lblade2.CFrame = lblade.CFrame
  18640. lblade2.formFactor = "Symmetric"
  18641. lblade2.TopSurface = 0
  18642. lblade2.BottomSurface = 0
  18643. lblade2.Reflectance = .5
  18644. lbm2 = Instance.new("BlockMesh")
  18645. lbm2.Parent = lblade2
  18646. lbm2.Scale = Vector3.new(.21,1,.31)
  18647. lbw2 = Instance.new("Weld")
  18648. lbw2.Parent = lblade
  18649. lbw2.Part0 = lblade
  18650. lbw2.Part1 = lblade2
  18651. rblade.Touched:connect(function(hit)
  18652. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18653. if hit.Parent.Name ~= player.Name then
  18654. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  18655. end
  18656. end
  18657. end)
  18658. lblade.Touched:connect(function(hit)
  18659. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18660. if hit.Parent.Name ~= player.Name then
  18661. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  18662. end
  18663. end
  18664. end)
  18665. --
  18666. for i = 1,40 do
  18667. wait()
  18668. lbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0)
  18669. rbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0)
  18670. end
  18671. right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05))
  18672. left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05))
  18673. wait()
  18674. right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1))
  18675. left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1))
  18676. wait()
  18677. right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15))
  18678. left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15))
  18679. wait()
  18680. right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2))
  18681. left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2))
  18682. wait()
  18683. right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25))
  18684. left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25))
  18685. wait()
  18686. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18687. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18688. wait()
  18689. lblade2:remove()
  18690. rblade2:remove()
  18691. end
  18692. if key == "j" then
  18693. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18694. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18695. wait()
  18696. right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25))
  18697. left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25))
  18698. wait()
  18699. right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2))
  18700. left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2))
  18701. wait()
  18702. right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15))
  18703. left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15))
  18704. wait()
  18705. right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1))
  18706. left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1))
  18707. wait()
  18708. right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05))
  18709. left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05))
  18710. wait()
  18711. right.C1 = CFrame.new(-1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*-.5),(math.pi*-.00))
  18712. left.C1 = CFrame.new(1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*.5),(math.pi*.00))
  18713. wait()
  18714. --
  18715. rblade2 = Instance.new("Part")
  18716. rblade2.BrickColor = BrickColor.new("Really black")
  18717. rblade2.Parent = player
  18718. rblade2.CanCollide = false
  18719. rblade2.Size = Vector3.new(2,6,3)
  18720. rblade2.CFrame = rblade.CFrame
  18721. rblade2.formFactor = "Symmetric"
  18722. rblade2.TopSurface = 0
  18723. rblade2.BottomSurface = 0
  18724. rblade2.Reflectance = .5
  18725. rbm2 = Instance.new("BlockMesh")
  18726. rbm2.Parent = rblade2
  18727. rbm2.Scale = Vector3.new(.11,1,.11)
  18728. rbw2 = Instance.new("Weld")
  18729. rbw2.Parent = rblade
  18730. rbw2.Part0 = rblade
  18731. rbw2.Part1 = rblade2
  18732. lblade2 = Instance.new("Part")
  18733. lblade2.BrickColor = rblade.BrickColor
  18734. lblade2.Parent = player
  18735. lblade2.CanCollide = false
  18736. lblade2.Size = Vector3.new(2,6,3)
  18737. lblade2.CFrame = lblade.CFrame
  18738. lblade2.formFactor = "Symmetric"
  18739. lblade2.TopSurface = 0
  18740. lblade2.BottomSurface = 0
  18741. lblade2.Reflectance = .5
  18742. lbm2 = Instance.new("BlockMesh")
  18743. lbm2.Parent = lblade2
  18744. lbm2.Scale = Vector3.new(.11,1,.11)
  18745. lbw2 = Instance.new("Weld")
  18746. lbw2.Parent = lblade
  18747. lbw2.Part0 = lblade
  18748. lbw2.Part1 = lblade2
  18749. rblade2.Touched:connect(function(hit)
  18750. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18751. if hit.Parent.Name ~= player.Name then
  18752. hit.Parent.Humanoid.Sit = true
  18753. local a = hit.Parent:GetChildren()
  18754. for i = 1,#a do
  18755. wait()
  18756. if a.className == "Part" then
  18757. a.Velocity = CFrame.new(rblade2.Position, hit.Position).lookVector * 250
  18758. end
  18759. end
  18760. end
  18761. end
  18762. end)
  18763. lblade2.Touched:connect(function(hit)
  18764. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  18765. if hit.Parent.Name ~= player.Name then
  18766. hit.Parent.Humanoid.Sit = true
  18767. local a = hit.Parent:GetChildren()
  18768. for i = 1,#a do
  18769. wait()
  18770. if a.className == "Part" then
  18771. a.Velocity = CFrame.new(lblade2.Position, hit.Position).lookVector * 250
  18772. end
  18773. end
  18774. end
  18775. end
  18776. end)
  18777. --
  18778. for i = 1,40 do
  18779. wait()
  18780. lbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0)
  18781. rbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0)
  18782. end
  18783. right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05))
  18784. left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05))
  18785. wait()
  18786. right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1))
  18787. left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1))
  18788. wait()
  18789. right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15))
  18790. left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15))
  18791. wait()
  18792. right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2))
  18793. left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2))
  18794. wait()
  18795. right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25))
  18796. left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25))
  18797. wait()
  18798. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  18799. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  18800. wait()
  18801. lblade2:remove()
  18802. rblade2:remove()
  18803. end
  18804. if key == "y" then
  18805. local blast = Instance.new("Part")
  18806. blast.formFactor = "Symmetric"
  18807. blast.Shape = "Ball"
  18808. blast.Size = Vector3.new(1,1,1)
  18809. blast.BrickColor = rblade.BrickColor
  18810. blast.Parent = Workspace
  18811. blast.CFrame = player.Torso.CFrame
  18812. game:GetService("Debris"):AddItem(blast, 15)
  18813. local smoke = Instance.new("Smoke")
  18814. smoke.Color = Color3.new(0,0,0)
  18815. smoke.Opacity = 1
  18816. smoke.RiseVelocity = 0
  18817. smoke.Size = 100
  18818. smoke.Parent = blast
  18819. end
  18820. if key == "u" then
  18821. local blast = Instance.new("Part")
  18822. blast.formFactor = "Symmetric"
  18823. blast.Shape = "Ball"
  18824. blast.Name = "keel"
  18825. blast.Size = Vector3.new(1,1,1)
  18826. blast.BrickColor = rblade.BrickColor
  18827. blast.Parent = Workspace
  18828. blast.CFrame = player.Torso.CFrame
  18829. game:GetService("Debris"):AddItem(blast, 15)
  18830. wait(2)
  18831. local smoke = Instance.new("Smoke")
  18832. smoke.Color = Color3.new(1,1,1)
  18833. smoke.Opacity = .5
  18834. smoke.RiseVelocity = 0
  18835. smoke.Size = 20
  18836. smoke.Parent = blast
  18837. coroutine.resume(coroutine.create(function() stun(blast) end))
  18838. end
  18839. if key == "n" then
  18840. player.Humanoid.WalkSpeed = player.Humanoid.WalkSpeed + 8
  18841. end
  18842. if key == "m" then
  18843. player.Humanoid.WalkSpeed = player.Humanoid.WalkSpeed - 8
  18844. end
  18845. if key == ";" then
  18846. local l = player:findFirstChild("Left Arm")
  18847. local r = player:findFirstChild("Right Arm")
  18848. rblade.Size = Vector3.new(2, 6 , 2)
  18849. lblade.Size = Vector3.new(2, 6 , 2)
  18850. local w = Instance.new("Weld")
  18851. w.Part1 = rblade
  18852. w.Part0 = r
  18853. w.Parent = r
  18854. local w = Instance.new("Weld")
  18855. w.Part1 = lblade
  18856. w.Part0 = l
  18857. w.Parent = l
  18858. end
  18859. if key == "k" then
  18860. for i = 1,100 do
  18861. wait()
  18862. local p = Instance.new("Part")
  18863. p.BrickColor = BrickColor.new("Royal purple")
  18864. p.Name ="check"
  18865. p.Parent = Workspace
  18866. p.CanCollide = false
  18867. p.Size = Vector3.new(1,3,1)
  18868. p.CFrame = player.Torso.CFrame + Vector3.new(math.random(-5,5),math.random(-2,4),math.random(-5,5))
  18869. p.formFactor = "Symmetric"
  18870. p.TopSurface = 0
  18871. p.BottomSurface = 0
  18872. p.Transparency = .5
  18873. local pm = Instance.new("SpecialMesh")
  18874. pm.Parent = p
  18875. pm.MeshType = "Sphere"
  18876. pm.Scale = Vector3.new(.2,.2,.2)
  18877. local pbv = Instance.new("BodyVelocity")
  18878. pbv.Parent = p
  18879. pbv.velocity = Vector3.new(0,10,0)
  18880. game:GetService("Debris"):AddItem(p, .2)
  18881. player.Humanoid.Health = player.Humanoid.Health +2
  18882. end
  18883. end
  18884. --glider?
  18885. if key == "p" then
  18886. --
  18887. rblade2 = Instance.new("Part")
  18888. rblade2.BrickColor = BrickColor.new("Institutional white")
  18889. rblade2.Parent = player
  18890. rblade2.CanCollide = false
  18891. rblade2.Size = Vector3.new(1,6,1)
  18892. rblade2.CFrame = rblade.CFrame
  18893. rblade2.formFactor = "Symmetric"
  18894. rblade2.TopSurface = 0
  18895. rblade2.BottomSurface = 0
  18896. rblade2.Reflectance = 0
  18897. rbm2 = Instance.new("BlockMesh")
  18898. rbm2.Parent = rblade2
  18899. rbm2.Scale = Vector3.new(2,1,.31)
  18900. rbw2 = Instance.new("Weld")
  18901. rbw2.Parent = rblade
  18902. rbw2.Part0 = rblade
  18903. rbw2.Part1 = rblade2
  18904. lblade2 = Instance.new("Part")
  18905. lblade2.BrickColor = rblade.BrickColor
  18906. lblade2.Parent = player
  18907. lblade2.CanCollide = false
  18908. lblade2.Size = Vector3.new(1,6,1)
  18909. lblade2.CFrame = lblade.CFrame
  18910. lblade2.formFactor = "Symmetric"
  18911. lblade2.TopSurface = 0
  18912. lblade2.BottomSurface = 0
  18913. lblade2.Reflectance = 0
  18914. lbm2 = Instance.new("BlockMesh")
  18915. lbm2.Parent = lblade2
  18916. lbm2.Scale = Vector3.new(2,1,.31)
  18917. lbw2 = Instance.new("Weld")
  18918. lbw2.Parent = lblade
  18919. lbw2.Part0 = lblade
  18920. lbw2.Part1 = lblade2
  18921. local steer = Instance.new("Part")
  18922. steer.Transparency = 1
  18923. steer.Parent = player.Head
  18924. steerw= Instance.new("Weld")
  18925. steerw.Part0 = player.Head
  18926. steerw.Part1 = steer
  18927. steerw.Parent = player.Head
  18928. steerw.C1 = CFrame.new(0,0,0)*CFrame.Angles((math.pi*-.5),0,0)
  18929. --
  18930. right.C1 = CFrame.new(-.55,.4,0)*CFrame.Angles(0,0,-.5)
  18931. left.C1 = CFrame.new(.55,.4,0)*CFrame.Angles(0,0,.5)
  18932. wait()
  18933. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25))
  18934. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25))
  18935. wait()
  18936. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25))
  18937. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25))
  18938. wait()
  18939. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25))
  18940. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25))
  18941. wait()
  18942. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25))
  18943. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25))
  18944. wait()
  18945. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18946. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18947. wait()
  18948. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25))
  18949. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25))
  18950. wait()
  18951. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25))
  18952. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25))
  18953. wait()
  18954. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25))
  18955. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25))
  18956. wait()
  18957. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25))
  18958. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25))
  18959. wait()
  18960. right.C1 = CFrame.new(-.55,.4,0)*CFrame.Angles(0,0,-.5)
  18961. left.C1 = CFrame.new(.55,.4,0)*CFrame.Angles(0,0,.5)
  18962. wait()
  18963. player.Humanoid.PlatformStand = true
  18964. glideg.Parent = steer
  18965. glideg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  18966. glidev.Parent = steer
  18967. glidev.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  18968. while player.Humanoid.PlatformStand == true do
  18969. wait()
  18970. glideg.cframe = CFrame.new(steer.Position, mouse.Hit.p)
  18971. glidev.velocity = steer.CFrame.lookVector * 75
  18972. end
  18973. glidev.velocity = steer.CFrame.lookVector * 15
  18974. wait(3)
  18975. glideg:remove()
  18976. glidev:remove()
  18977. lblade2:remove()
  18978. rblade2:remove()
  18979. steer:remove()
  18980. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*-.25))
  18981. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*.25))
  18982. wait()
  18983. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25))
  18984. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25))
  18985. wait()
  18986. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25))
  18987. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25))
  18988. wait()
  18989. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25))
  18990. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25))
  18991. wait()
  18992. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25))
  18993. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25))
  18994. wait()
  18995. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  18996. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  18997. wait()
  18998. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25))
  18999. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25))
  19000. wait()
  19001. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25))
  19002. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25))
  19003. wait()
  19004. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25))
  19005. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25))
  19006. wait()
  19007. right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25))
  19008. left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25))
  19009. wait()
  19010. right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5)
  19011. left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5)
  19012. end
  19013. if key == ";" then
  19014. glideg.Parent = nil
  19015. glideg.maxTorque = Vector3.new(0,0,0)
  19016. glidev.Parent = nil
  19017. glidev.maxForce = Vector3.new(0,0,0)
  19018. end
  19019. if key == "l" then
  19020. local a = player:GetChildren()
  19021. for i = 1,#a do
  19022. wait()
  19023. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  19024. for x = 1, 9 do
  19025. wait()
  19026. a.Transparency = a.Transparency +.1
  19027. end
  19028. elseif a.className == "Hat" then
  19029. for x = 1, 9 do
  19030. wait()
  19031. a.Handle.Transparency = a.Handle.Transparency +.1
  19032. end
  19033. end
  19034. player.Head.Transparency = 1
  19035. end
  19036. wait(10)
  19037. for i = 1,#a do
  19038. wait()
  19039. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  19040. for x = 1, 9 do
  19041. wait()
  19042. a.Transparency = a.Transparency -.1
  19043. end
  19044. elseif a.className == "Hat" then
  19045. for x = 1, 9 do
  19046. wait()
  19047. a.Handle.Transparency = a.Handle.Transparency -.1
  19048. end
  19049. end
  19050. end
  19051. for i = 1,#a do
  19052. wait()
  19053. if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then
  19054. wait()
  19055. a.Transparency = 0
  19056. elseif a.className == "Hat" then
  19057. wait()
  19058. a.Handle.Transparency = 0
  19059. end
  19060. end
  19061. end
  19062. end)
  19063. ----end of keys
  19064. end)
  19065. ----end of tool
  19066. bin.Deselected:connect(function()
  19067. rblade:remove()
  19068. lblade:remove()
  19069. on = 2
  19070. coroutine.yield(function() shadow(rblade,lblade) end)
  19071. ls.Part1 = larm
  19072. rs.Part1 = rarm
  19073. left:remove()
  19074. right:remove()
  19075. end)
  19076.         end)
  19077. --
  19078. local button = Instance.new("TextButton")
  19079.         button.Parent = ws
  19080.         button.BackgroundColor3 = blak
  19081.         button.BorderColor3 = rede
  19082.         button.BorderSizePixel = 3
  19083.         button.Name = "Eyelaser"
  19084.         button.Position = UDim2.new(0,0,0,66)
  19085.         button.Size = UDim2.new(0.5,0,0,30)
  19086.         button.ZIndex = 2
  19087.         button.Font = tef
  19088.         button.FontSize = "Size14"
  19089.         button.Text = "Eyelaser"
  19090.         button.TextColor3 = whit
  19091.         button.TextWrapped = true
  19092.         button.MouseButton1Down:connect(function()
  19093.         --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and put your name where it says "YOUR NAME HERE"
  19094.  
  19095. playername100 = game.Players.LocalPlayer.Name
  19096. name = playername100
  19097. me = game.Players[name]
  19098. char = me.Character
  19099. selected = false
  19100. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  19101. part.Parent = parent
  19102. part.formFactor = form
  19103. part.CanCollide = collide
  19104. part.Transparency = tran
  19105. part.Reflectance = ref
  19106. part.Size = Vector3.new(x,y,z)
  19107. part.BrickColor = BrickColor.new(color)
  19108. part.TopSurface = 0
  19109. part.BottomSurface = 0
  19110. part.Anchored = anchor
  19111. part.Locked = true
  19112. part:BreakJoints()
  19113. end
  19114. function weld(w, p, p1, a, b, c, x, y, z)
  19115. w.Parent = p
  19116. w.Part0 = p
  19117. w.Part1 = p1
  19118. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  19119. end
  19120. function mesh(mesh, parent, x, y, z, type)
  19121. mesh.Parent = parent
  19122. mesh.Scale = Vector3.new(x, y, z)
  19123. mesh.MeshType = type
  19124. end
  19125. sword = Instance.new("Model",me.Character)
  19126. sword.Name = "Eyes"
  19127. --Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------
  19128. head = char:findFirstChild("Head")
  19129. torso = char:findFirstChild("Torso")
  19130. bg = Instance.new("BodyGyro",nil)
  19131. bg.P = 2000
  19132. bg.maxTorque = Vector3.new(0,math.huge,0)
  19133. trail1 = Instance.new("Part")
  19134. prop(trail1,nil,false,0.4,0,0.1,0.1,1,"Toothpaste",true,"Custom")
  19135. local t1 = Instance.new("SpecialMesh",trail1)
  19136. t1.MeshType = "Brick"
  19137. trail2 = Instance.new("Part")
  19138. prop(trail2,nil,false,0.4,0,0.1,0.1,1,"Toothpaste",true,"Custom")
  19139. local t2 = Instance.new("SpecialMesh",trail2)
  19140. t2.MeshType = "Brick"
  19141. local fb = Instance.new("Part")
  19142. prop(fb,nil,false,1,0,0.1,0.1,0.1,"Toothpaste",true,"Custom")
  19143. local fi = Instance.new("Fire",fb)
  19144. fi.Name = "LolFire"
  19145. fi.Size = 2
  19146. fi.Heat = 25
  19147. t1p = Vector3.new(-0.3,0.3,-0.55)
  19148. t2p = Vector3.new(0.3,0.3,-0.55)
  19149. function getp(path)
  19150. local objs = {}
  19151. for _,v in pairs(path:children()) do
  19152. if v:IsA("BasePart") then
  19153. if v:GetMass() < 30 then
  19154. table.insert(objs,v)
  19155. end
  19156. end
  19157. for _,k in pairs(v:children()) do
  19158. if k:IsA("BasePart") then
  19159. if k:GetMass() < 30 then
  19160. table.insert(objs,k)
  19161. end
  19162. end
  19163. for _,o in pairs(k:children()) do
  19164. if o:IsA("BasePart") then
  19165. if o:GetMass() < 30 then
  19166. table.insert(objs,o)
  19167. end
  19168. end
  19169. end
  19170. end
  19171. end
  19172. return objs
  19173. end
  19174.  
  19175. bin = Instance.new("HopperBin",me.Backpack)
  19176. bin.Selected:connect(function(mouse)
  19177. mouse.Button1Down:connect(function()
  19178. hold = true
  19179. bg.Parent = torso
  19180. trail1.Parent = char
  19181. trail2.Parent = char
  19182. fb.Parent = char
  19183. while hold do
  19184. local p1 = head.CFrame * CFrame.new(t1p).p
  19185. local p2 = head.CFrame * CFrame.new(t2p).p
  19186. local dist1 = (p1 - mouse.Hit.p).magnitude
  19187. local dist2 = (p2 - mouse.Hit.p).magnitude
  19188. bg.cframe = CFrame.new(torso.Position, mouse.Hit.p)
  19189. trail1.CFrame = CFrame.new(p1,mouse.Hit.p) * CFrame.new(0,0,-dist1/2)
  19190. trail2.CFrame = CFrame.new(p2,mouse.Hit.p) * CFrame.new(0,0,-dist2/2)
  19191. t1.Scale = Vector3.new(1,1,dist1)
  19192. t2.Scale = Vector3.new(1,1,dist2)
  19193. local lol1 = CFrame.new(p1,mouse.Hit.p) * CFrame.new(0,0,-dist1)
  19194. fb.CFrame = lol1
  19195. local parts = getp(workspace)
  19196. for _,v in pairs(parts) do
  19197. if (v.Position - lol1.p).magnitude < 2 then
  19198. if v:findFirstChild("LolFire") == nil then
  19199. local f = Instance.new("Fire",v)
  19200. f.Size = 0
  19201. f.Heat = 5
  19202. f.Name = "LolFire"
  19203. coroutine.resume(coroutine.create(function()
  19204. for i=0,10,0.2 do
  19205. wait(0.1)
  19206. f.Heat = i
  19207. f.Size = i
  19208. local lol = math.random(1,2)
  19209. if lol == 1 then
  19210. v.BrickColor = BrickColor.new("Neon orange")
  19211. else
  19212. v.BrickColor = BrickColor.new("Bright red")
  19213. end
  19214. end
  19215. v:remove()
  19216. end))
  19217. end
  19218. end
  19219. end
  19220. wait()
  19221. end
  19222. end)
  19223. mouse.Button1Up:connect(function()
  19224. hold = false
  19225. bg.Parent = nil
  19226. trail1.Parent = nil
  19227. trail2.Parent = nil
  19228. fb.Parent = nil
  19229. end)
  19230. end)
  19231.  
  19232.        
  19233.         end)
  19234. --
  19235. local button = Instance.new("TextButton")
  19236.         button.Parent = ws
  19237.         button.BackgroundColor3 = blak
  19238.         button.BorderColor3 = rede
  19239.         button.BorderSizePixel = 3
  19240.         button.Name = "Knife"
  19241.         button.Position = UDim2.new(0.5,3,0,66)
  19242.         button.Size = UDim2.new(0.5,-3,0,30)
  19243.         button.ZIndex = 2
  19244.         button.Font = tef
  19245.         button.FontSize = "Size14"
  19246.         button.Text = "Knife"
  19247.         button.TextColor3 = whit
  19248.         button.TextWrapped = true
  19249.                 button.MouseButton1Down:connect(function()
  19250.                 me = game.Players.LocalPlayer
  19251. char = me.Character
  19252. selected = false
  19253. attacking = false
  19254. hurt = false
  19255. grabbed = nil
  19256. mode = "kill"
  19257. bloodcolors = {"Bright red", "Really red"}
  19258.  
  19259.  
  19260. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  19261. part.Parent = parent
  19262. part.formFactor = form
  19263. part.CanCollide = collide
  19264. part.Transparency = tran
  19265. part.Reflectance = ref
  19266. part.Size = Vector3.new(x,y,z)
  19267. part.BrickColor = BrickColor.new(color)
  19268. part.TopSurface = 0
  19269. part.BottomSurface = 0
  19270. part.Anchored = anchor
  19271. part.Locked = true
  19272. part:BreakJoints()
  19273. end
  19274.  
  19275. function weld(w, p, p1, a, b, c, x, y, z)
  19276. w.Parent = p
  19277. w.Part0 = p
  19278. w.Part1 = p1
  19279. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  19280. end
  19281.  
  19282. function mesh(mesh, parent, x, y, z, type)
  19283. mesh.Parent = parent
  19284. mesh.Scale = Vector3.new(x, y, z)
  19285. mesh.MeshType = type
  19286. end
  19287.  
  19288. function remgui()
  19289.         for _,v in pairs(me.PlayerGui:GetChildren()) do
  19290.                 if v.Name == "Modeshow" then
  19291.                         v:remove()
  19292.                 end
  19293.         end
  19294. end
  19295.  
  19296. function inform(text,delay)
  19297.         remgui()
  19298.         local sc = Instance.new("ScreenGui")
  19299.         sc.Parent = me.PlayerGui
  19300.         sc.Name = "Modeshow"
  19301.         local bak = Instance.new("Frame",sc)
  19302.         bak.BackgroundColor3 = Color3.new(1,1,1)
  19303.         bak.Size = UDim2.new(0.94,0,0.1,0)
  19304.         bak.Position = UDim2.new(0.03,0,0.037,0)
  19305.         bak.BorderSizePixel = 0
  19306.         local gi = Instance.new("TextLabel",sc)
  19307.         gi.Size = UDim2.new(0.92,0,0.09,0)
  19308.         gi.BackgroundColor3 = Color3.new(0,0,0)
  19309.         gi.Position = UDim2.new(0.04,0,0.042,0)
  19310.         gi.TextColor3 = Color3.new(1,1,1)
  19311.         gi.FontSize = "Size12"
  19312.         gi.Text = text
  19313.         coroutine.resume(coroutine.create(function()
  19314.                 wait(delay)
  19315.                 sc:remove()
  19316.         end))
  19317. end
  19318.  
  19319. if char:findFirstChild("Bricks",true) then
  19320.         char:findFirstChild("Bricks",true):remove()
  19321. end
  19322.  
  19323. bricks = Instance.new("Model",me.Character)
  19324. bricks.Name = "Bricks"
  19325.  
  19326. --Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------
  19327.  
  19328. rarm = char:findFirstChild("Right Arm")
  19329. larm = char:findFirstChild("Left Arm")
  19330. lleg = char:findFirstChild("Left Leg")
  19331. torso = char:findFirstChild("Torso")
  19332. hum = char:findFirstChild("Humanoid")
  19333.  
  19334. righthold = Instance.new("Part")
  19335. prop(righthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  19336. w11 = Instance.new("Weld")
  19337. weld(w11, rarm, righthold, 0, 0, 0, 0, 1, 0)
  19338.  
  19339. lefthold = Instance.new("Part")
  19340. prop(lefthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  19341. w12 = Instance.new("Weld")
  19342. weld(w12, larm, lefthold, 0, 0, 0, 0, 1, 0)
  19343.  
  19344. hold = Instance.new("Part")
  19345. prop(hold, bricks, false, 0, 0, 0.2, 0.4, 0.7, "Black", false, "Custom")
  19346. oh = Instance.new("Weld")
  19347. weld(oh, lleg, hold, -math.pi/1.4, 0, math.rad(35), 0.55, -0.9, 0.3)
  19348.  
  19349. knife = Instance.new("Part")
  19350. prop(knife, bricks, false, 0, 0, 0.35, 1.1, 0.5, "Reddish brown", false, "Custom")
  19351. orr = Instance.new("Weld")
  19352. weld(orr, hold, knife, 0, 0, 0, 0, 0.7, 0)
  19353. ar = Instance.new("Weld")
  19354. weld(ar, lefthold, nil, math.pi/2, 0, math.pi, 0, 0, 0)
  19355.  
  19356.  
  19357. blade = Instance.new("Part")
  19358. prop(blade, bricks, false, 0, 0, 0.1, 1.5, 0.4, "Medium grey", false, "Custom")
  19359. Instance.new("BlockMesh",blade).Scale = Vector3.new(0.3,1,1)
  19360. w2 = Instance.new("Weld")
  19361. weld(w2, knife, blade, 0, 0, 0, 0, -1.2, 0)
  19362.  
  19363. blade2 = Instance.new("Part")
  19364. prop(blade2, bricks, false, 0, 0, 0.1, 0.5, 0.4, "Medium grey", false, "Custom")
  19365. local mew = Instance.new("SpecialMesh",blade2)
  19366. mew.MeshType = "Wedge"
  19367. mew.Scale = Vector3.new(0.3,1,1)
  19368. w3 = Instance.new("Weld")
  19369. weld(w3, blade, blade2, 0, 0, 0, 0, -1, 0)
  19370.  
  19371.  
  19372.  
  19373.  
  19374. rb = Instance.new("Part")
  19375. prop(rb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  19376. w13 = Instance.new("Weld")
  19377. weld(w13, torso, rb, 0, 0, 0, -1.5, -0.5, 0)
  19378.  
  19379. lb = Instance.new("Part")
  19380. prop(lb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  19381. w14 = Instance.new("Weld")
  19382. weld(w14, torso, lb, 0, 0, 0, 1.5, -0.5, 0)
  19383.  
  19384. rw = Instance.new("Weld")
  19385. weld(rw, rb, nil, 0, 0, 0, 0, 0.5, 0)
  19386.  
  19387. lw = Instance.new("Weld")
  19388. weld(lw, lb, nil, 0, 0, 0, 0, 0.5, 0)
  19389.  
  19390. grabweld = nil
  19391. platlol = nil
  19392. lolhum = nil
  19393.  
  19394. function touch(h)
  19395.         if hurt then
  19396.                 if grabbed == nil then
  19397.                         local hu = h.Parent:findFirstChild("Humanoid")
  19398.                         local head = h.Parent:findFirstChild("Head")
  19399.                         local torz = h.Parent:findFirstChild("Torso")
  19400.                         if hu ~= nil and head ~= nil and torz ~= nil and h.Parent.Name ~= name then
  19401.                                 if hu.Health > 0 then
  19402.                                 grabbed = torz
  19403.                                 hu.PlatformStand = true
  19404.                                 local w = Instance.new("Weld")
  19405.                                 weld(w,righthold,grabbed,math.pi/2,0.2,0,0.7,-0.9,-0.6)
  19406.                                 grabweld = w
  19407.                                 lolhum = hu
  19408.                                 local lolxd = true
  19409.                                 platlol = lolxd
  19410.                                 hu.Changed:connect(function(prop)
  19411.                                         if prop == "PlatformStand" and platlol then
  19412.                                                 hu.PlatformStand = true
  19413.                                         end
  19414.                                 end)
  19415.                                 end
  19416.                         end
  19417.                 end
  19418.         end
  19419. end
  19420.  
  19421. righthold.Touched:connect(touch)
  19422. lefthold.Touched:connect(touch)
  19423.  
  19424. function bleed(part,po)
  19425.         local lol1 = math.random(5,30)/100
  19426.         local lol2 = math.random(5,30)/100
  19427.         local lol3 =math.random(5,30)/100
  19428.         local lol4 = math.random(1,#bloodcolors)
  19429.         local p = Instance.new("Part")
  19430.         prop(p,part.Parent,false,0,0,lol1,lol2,lol3,bloodcolors[lol4],false,"Custom")
  19431.         p.CFrame = part.CFrame * CFrame.new(math.random(-5,5)/10,po,math.random(-5,5)/10)
  19432.         p.Velocity = Vector3.new(math.random(-190,190)/10,math.random(-190,190)/10,math.random(-190,190)/10)
  19433.         p.RotVelocity = Vector3.new(math.random(-400,400)/10,math.random(-400,400)/10,math.random(-400,400)/10)
  19434.         coroutine.resume(coroutine.create(function()
  19435.                 wait(3)
  19436.                 p:remove()
  19437.         end))
  19438. end
  19439.  
  19440.  
  19441.  
  19442. bin = Instance.new("HopperBin",me.Backpack)
  19443.  
  19444. function select(mouse)
  19445.         orr.Part1 = nil
  19446.         ar.Part1 = knife
  19447.         mouse.Button1Down:connect(function()
  19448.                 if attacking == false then
  19449.                         attacking = true
  19450.                         lw.Part1 = larm
  19451.                         rw.Part1 = rarm
  19452.                         hurt = true
  19453.                         for i=1, 8 do
  19454.                                 rw.C0 = rw.C0 * CFrame.new(-0.03,0,-0.08) * CFrame.fromEulerAnglesXYZ(0.18,0.04,0)
  19455.                                 lw.C0 = lw.C0 * CFrame.new(0.06,0,-0.06) * CFrame.fromEulerAnglesXYZ(0.15,-0.11,-0.05)
  19456.                                 wait()
  19457.                         end
  19458.                         wait(1)
  19459.                         hurt = false
  19460.                         if grabbed == nil then
  19461.                                 for i=1, 4 do
  19462.                                         rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  19463.                                         lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
  19464.                                         wait()
  19465.                                 end
  19466.                                 lw.C0 = CFrame.new(0,0,0)
  19467.                                 rw.C0 = CFrame.new(0,0,0)
  19468.                                 lw.Part1 = nil
  19469.                                 rw.Part1 = nil
  19470.                                 attacking = false
  19471.                         end
  19472.                 elseif hurt == false and grabbed ~= nil and mode == "drop" then
  19473.                         grabweld:remove()
  19474.                         grabweld = nil
  19475.                         platlol = false
  19476.                         grabbed = nil
  19477.                         lolhum.PlatformStand = false
  19478.                         lolhum = nil
  19479.                         for i=1, 4 do
  19480.                                 rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  19481.                                 lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
  19482.                                 wait()
  19483.                         end
  19484.                         lw.C0 = CFrame.new(0,0,0)
  19485.                         rw.C0 = CFrame.new(0,0,0)
  19486.                         lw.Part1 = nil
  19487.                         rw.Part1 = nil
  19488.                         attacking = false
  19489.                         platlol = nil
  19490.                 elseif hurt == false and grabbed ~= nil and grabweld ~= nil and mode == "throw" then
  19491.                         grabweld:remove()
  19492.                         grabweld = nil
  19493.                         local bf = Instance.new("BodyForce",grabbed)
  19494.                         bf.force = torso.CFrame.lookVector * 8500
  19495.                         bf.force = bf.force + Vector3.new(0,7400,0)
  19496.                         coroutine.resume(coroutine.create(function()
  19497.                                 wait(0.12)
  19498.                                 bf:remove()
  19499.                         end))
  19500.                         for i=1, 6 do
  19501.                                 rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.35,0,0)
  19502.                                 lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.18,0,0)
  19503.                                 wait()
  19504.                         end
  19505.                         for i=1, 4 do
  19506.                                 rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.47,0,0)
  19507.                                 lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  19508.                                 wait()
  19509.                         end
  19510.                         wait(0.2)
  19511.                         platlol = false
  19512.                         grabbed = nil
  19513.                         lolhum.PlatformStand = false
  19514.                         lolhum = nil
  19515.                         for i=1, 4 do
  19516.                                 rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  19517.                                 lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
  19518.                                 wait()
  19519.                         end
  19520.                         lw.C0 = CFrame.new(0,0,0)
  19521.                         rw.C0 = CFrame.new(0,0,0)
  19522.                         lw.Part1 = nil
  19523.                         rw.Part1 = nil
  19524.                         attacking = false
  19525.                         platlol = nil
  19526.                 elseif hurt == false and grabbed ~= nil and lolhum ~= nil and grabweld ~= nil and mode == "kill" then
  19527.                         for i=1, 5 do
  19528.                                 lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
  19529.                                 wait()
  19530.                         end
  19531.                         local ne = grabbed:findFirstChild("Neck")
  19532.                         coroutine.resume(coroutine.create(function()
  19533.                                 local duh = grabbed
  19534.                                 local duh2 = grabbed.Parent.Head
  19535.                                 local lolas = lolhum
  19536.                                 duh.RotVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  19537.                                 for i=1, 60 do
  19538.                                         wait()
  19539.                                         local hm = math.random(1,9)
  19540.                                         pcall(function()
  19541.                                                 if hm == 1 then
  19542.                                                         duh2.Sound.Pitch = math.random(90,110)/100
  19543.                                                         duh2.Sound:play()
  19544.                                                 end
  19545.                                         end)
  19546.                                         if hm > 0 and hm < 3 then
  19547.                                                 bleed(duh,1)
  19548.                                                 bleed(duh2,-0.5)
  19549.                                         end
  19550.                                 end
  19551.                                 lolas.Health = 0
  19552.                                 for i=1, 85 do
  19553.                                         wait()
  19554.                                         local hm = math.random(1,9)
  19555.                                         pcall(function()
  19556.                                                 if hm == 1 then
  19557.                                                         duh2.Sound.Pitch = math.random(90,110)/100
  19558.                                                         duh2.Sound:play()
  19559.                                                 end
  19560.                                         end)
  19561.                                         if hm > 0 and hm < 3 then
  19562.                                                 bleed(duh,1)
  19563.                                                 bleed(duh2,-0.5)
  19564.                                         end
  19565.                                 end
  19566.                         end))
  19567.                         for i=1, 3 do
  19568.                                 lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
  19569.                                 if ne ~= nil then
  19570.                                         grabbed.Neck.C0 = grabbed.Neck.C0 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  19571.                                 end
  19572.                                 wait()
  19573.                         end
  19574.                         grabweld:remove()
  19575.                         grabweld = nil
  19576.                         for i=1, 4 do
  19577.                                 lw.C0 = lw.C0 * CFrame.new(-0.04,-0.24,-0.2) * CFrame.fromEulerAnglesXYZ(0.1,0,0.06)
  19578.                                 wait()
  19579.                         end
  19580.                         for i=1, 4 do
  19581.                                 rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  19582.                                 lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
  19583.                                 wait()
  19584.                         end
  19585.                         lw.C0 = CFrame.new(0,0,0)
  19586.                         rw.C0 = CFrame.new(0,0,0)
  19587.                         lw.Part1 = nil
  19588.                         rw.Part1 = nil
  19589.                         platlol = false
  19590.                         grabbed = nil
  19591.                         lolhum = nil
  19592.                         attacking = false
  19593.                         platlol = nil
  19594.                 end
  19595.         end)
  19596.         mouse.KeyDown:connect(function(kai)
  19597.                 key = kai:lower()
  19598.                 if key == "q" then
  19599.                         mode = "drop"
  19600.                         inform("Mode: Drop",2)
  19601.                 elseif key == "e" then
  19602.                         mode = "throw"
  19603.                         inform("Mode: Throw",2)
  19604.                 elseif key == "f" then
  19605.                         mode = "kill"
  19606.                         inform("Mode: Kill",2)
  19607.                 end
  19608.         end)
  19609. end
  19610.  
  19611. function desel()
  19612.         repeat wait() until attacking == false
  19613.         orr.Part1 = knife
  19614.         ar.Part1 = nil
  19615. end
  19616.  
  19617. bin.Selected:connect(select)
  19618. bin.Deselected:connect(desel)
  19619.  
  19620. char.Humanoid.Died:connect(function()
  19621.         pcall(function()
  19622.                 grabweld:remove()
  19623.                 grabweld = nil
  19624.                 grabbed = nil
  19625.                 platlol = false
  19626.                 platlol = nil
  19627.         end)
  19628. end)
  19629.  
  19630. inform("Grab script loaded succesfully.",2)
  19631.  
  19632.         end)
  19633. --
  19634. local button = Instance.new("TextButton")
  19635.         button.Parent = ws
  19636.         button.BackgroundColor3 = blak
  19637.         button.BorderColor3 = rede
  19638.         button.BorderSizePixel = 3
  19639.         button.Name = "Lance"
  19640.         button.Position = UDim2.new(0,0,0,99)
  19641.         button.Size = UDim2.new(0.499,0,0,30)
  19642.         button.ZIndex = 2
  19643.         button.Font = tef
  19644.         button.FontSize = "Size14"
  19645.         button.Text = "Lance"
  19646.         button.TextColor3 = whit
  19647.         button.TextWrapped = true
  19648.                 button.MouseButton1Down:connect(function()
  19649.                
  19650.         end)
  19651. --
  19652. local button = Instance.new("TextButton")
  19653.         button.Parent = ws
  19654.         button.BackgroundColor3 = blak
  19655.         button.BorderColor3 = rede
  19656.         button.BorderSizePixel = 3
  19657.         button.Name = "Lightsaber"
  19658.         button.Position = UDim2.new(0.5,3,0,99)
  19659.         button.Size = UDim2.new(0.5,-3,0,30)
  19660.         button.ZIndex = 2
  19661.         button.Font = tef
  19662.         button.FontSize = "Size14"
  19663.         button.Text = "Lightsaber"
  19664.         button.TextColor3 = whit
  19665.                 button.MouseButton1Down:connect(function()
  19666.                 --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and 1351 and put your name where it says "YOUR NAME HERE"
  19667.  
  19668. Players = game:GetService("Players")
  19669. Player = Players.LocalPlayer
  19670. Bp = Player.Backpack
  19671. Pg = Player.PlayerGui
  19672. Char = Player.Character
  19673. Head = Char.Head
  19674. Torso = Char.Torso
  19675. Hum = Char.Humanoid
  19676. Humanoid = Hum
  19677. Neck = Torso["Neck"]
  19678. LS = Torso["Left Shoulder"]
  19679. RS = Torso["Right Shoulder"]
  19680. Ra = Char["Right Arm"]
  19681. La = Char["Left Arm"]
  19682. mouse = nil
  19683. Mouse = nil
  19684.  
  19685. bets =
  19686. {"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"," "}
  19687. inew = Instance.new
  19688. it = Instance.new
  19689. bc = BrickColor.new
  19690. vn = Vector3.new
  19691. cn = CFrame.new
  19692. ca = CFrame.Angles
  19693. mpi = math.pi
  19694. v3 = vn
  19695. mr = math.rad
  19696. br = BrickColor.new
  19697. cf = CFrame.new
  19698. ca = CFrame.Angles
  19699. Colors = {"Really Red"}
  19700. BladeColor = tostring(BrickColor.Random()) --Colors[math.random(1,#Colors)]
  19701. TrailColor = BladeColor
  19702. HopperName = "light saber"
  19703. Rage = 100000
  19704. MaxRage = Rage
  19705. SwordType = "Single"
  19706. LeftDebounce = {}
  19707. RightDebounce = {}
  19708. OtherDebounce = {}
  19709. Anim = {key = {}}
  19710. for i=1,#bets do table.insert(Anim.key,bets) end
  19711. Anim.Move = "None"
  19712. Anim.Click = false
  19713. Anim.Button = false
  19714. Anim.CanBerserk = 0
  19715. Anim.ComboBreak = false
  19716. Anim.Equipped = false
  19717. keydown = false
  19718. Speed = 2
  19719. RageIncome = 500
  19720. Left = false
  19721. Right = false
  19722. Anim.Act = false
  19723. RealSpeed = 35
  19724. DebounceSpeed = 0.85/Speed
  19725. RageCost = {
  19726. ["Berserk"] = 200;
  19727. ["RotorBlade"] = 30;
  19728. ["Blocking"] = 0.1;
  19729. ["Boomerang"] = 30;
  19730. ["RageRegening"] = -0.7;
  19731. ["BoulderForce"] = 45;
  19732. ["ForceWave"] = 65;
  19733. ["ForceWave"] = 32;
  19734. ["Teleport"] = 25;
  19735. ["DualSpin"] = 4;
  19736. }
  19737. MagnitudeHit = {
  19738. ["ForceWave"] = 500;
  19739. }
  19740. Damage = {
  19741. ["RotorBlade"] = 8;
  19742. ["BoulderForce"] = 100;
  19743. ["Boomerang"] = 100;
  19744. ["ForceWave"] = 100;
  19745. ["DualSpin"] = 5;
  19746. }
  19747. Props = {}
  19748. Props.MaxTeleDistance = 500
  19749. Props.Buff = 1
  19750. BlastMesh = Instance.new("FileMesh")
  19751. BlastMesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  19752. RingMesh = Instance.new("FileMesh")
  19753. RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  19754. RockMesh = Instance.new("FileMesh")
  19755. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  19756. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  19757. DiamondMesh = Instance.new("FileMesh")
  19758. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  19759. RingMesh = Instance.new("FileMesh")
  19760. RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  19761. RockMesh = Instance.new("FileMesh")
  19762. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  19763. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  19764. DiamondMesh = Instance.new("FileMesh")
  19765. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  19766. RockMesh = Instance.new("FileMesh")
  19767. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  19768. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  19769. DiamondMesh = Instance.new("FileMesh")
  19770. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  19771. DiamondMesh = Instance.new("FileMesh")
  19772. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  19773.  
  19774. function rayCast(Pos, Dir, Max, Ignore)
  19775. return Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  19776. end
  19777. function MinusRage(raggge)
  19778. Rage = Rage - raggge
  19779. if Rage < 0 then Rage = 0 end
  19780. end
  19781.  
  19782. function r(zParent,zName)
  19783. if zParent:findFirstChild(zName) ~= nil then
  19784. zParent[zName]:Remove()
  19785. else
  19786. end
  19787. end
  19788. function rclass(zParent,zClass)
  19789. local ch = zParent:GetChildren()
  19790. for i=1,#ch do
  19791. if (ch.className == zClass) then
  19792. ch:Remove()
  19793. else
  19794. end
  19795. end
  19796. end
  19797.  
  19798. function fWeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
  19799. local funcw = Instance.new("Weld")
  19800. funcw.Name = zName
  19801. funcw.Parent = zParent
  19802. funcw.Part0 = zPart0
  19803. funcw.Part1 = zPart1
  19804. if (zCoco == true) then
  19805. funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  19806. else
  19807. funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  19808. end
  19809. return funcw
  19810. end
  19811. function Dash(ob,se,mes,of)
  19812. local off = nil
  19813. if of == nil then off = 0 else off = of end
  19814. pcall(function()
  19815. coroutine.resume(coroutine.create(function()
  19816. local dashin = true
  19817. local oldpos = (ob.CFrame *CFrame.new(0,off,0)).p
  19818. coroutine.resume(coroutine.create(function()
  19819. wait(se) dashin = false end))
  19820. for i=1,9999 do
  19821. if dashin == false then break end
  19822. local newpos = (ob.CFrame *CFrame.new(0,off,0)).p --+ Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  19823. local np = Instance.new("Part")
  19824. np.BrickColor = BrickColor.new(TrailColor) np.CanCollide = false
  19825. np.BottomSurface = 0 np.TopSurface = 0 np.Anchored = true np.Transparency = 0.4
  19826. np.formFactor = "Custom" np.Parent = ob local mag = math.abs((newpos - oldpos).magnitude)
  19827. local mp = nil
  19828. if mes ~= nil then
  19829. np.Size = Vector3.new(2,mag,2) mp = Instance.new("FileMesh",np) mp.MeshId = mes else
  19830. np.Size = Vector3.new(0.4,0.4,mag) mp = Instance.new("BlockMesh",np) end
  19831. np.CFrame = CFrame.new(newpos,oldpos)
  19832. np.CFrame = np.CFrame + np.CFrame.lookVector* (mag/2)
  19833. 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
  19834. oldpos = newpos
  19835. coroutine.resume(coroutine.create(function()
  19836. for i=1,0,-0.1 do
  19837. np.Transparency = np.Transparency + 0.03
  19838. --if mes ~= nil then
  19839. --mp.Scale = Vector3.new(i,mag,i) else
  19840. mp.Scale = Vector3.new(i,i,1) -- end
  19841. wait()
  19842. end
  19843. np:Remove()
  19844. end))
  19845. wait(0.08)
  19846. end
  19847. end))
  19848. end)
  19849. end
  19850. Sounds = {
  19851. Boom = "http://www.roblox.com/asset/?id=16976189";
  19852. SniperFire = "http://www.roblox.com/asset/?id=1369158";
  19853. ShotgunFire2 = "http://www.roblox.com/asset/?id=1868836";
  19854. MinigunFire = "http://www.roblox.com/asset/?id=2692806";
  19855. MinigunCharge = "http://www.roblox.com/asset/?id=2692844";
  19856. MinigunDischarge = "http://www.roblox.com/asset/?id=1753007";
  19857. Flashbang = "http://www.roblox.com/asset/?id=16976189";
  19858. Beep = "http://www.roblox.com/asset/?id=15666462";
  19859. Smash = "http://www.roblox.com/asset/?id=2801263";
  19860. Punch = "http://www.roblox.com/asset/?id=31173820";
  19861. Slash = "rbxasset://sounds/swordslash.wav";
  19862. Falcon = "http://www.roblox.com/asset/?id=1387390";
  19863. Cast = "http://www.roblox.com/asset/?id=2101137";
  19864. Spin = "http://www.roblox.com/asset/?id=1369159";
  19865. Abscond = "http://www.roblox.com/asset/?id=2767090";
  19866. ElectricalCharge = "http://www.roblox.com/asset/?id=2800815";
  19867. FireExplosion = "http://www.roblox.com/asset/?id=3264793";
  19868. SaberLightUp = "http://www.roblox.com/asset/?id=10209303";
  19869. SaberSlash = "http://www.roblox.com/asset/?id=10209280";
  19870. SaberHit = "http://www.roblox.com/asset/?id=44463749";
  19871. EnergyBlast = "http://www.roblox.com/asset/?id=10209268";
  19872. }
  19873. function Sound(sid,pit,vol)
  19874. local ss = Instance.new("Sound")
  19875. ss.Name = "Sound"
  19876. ss.Parent = Head
  19877. ss.SoundId = sid
  19878. ss.Pitch = pit
  19879. ss.Volume = vol
  19880. ss.PlayOnRemove = true
  19881. wait()
  19882. ss:Remove()
  19883. end
  19884.  
  19885.  
  19886. r(Char,"SwordPack")
  19887. r(Char,"Suit")
  19888. r(Char,"Saber" ..Player.Name)
  19889. r(Pg,"Sabers")
  19890. Suit = inew("Model")
  19891. Suit.Name = "Suit"
  19892. Suit.Parent = Char
  19893. function p(pa,sh,x,y,z,c,a,tr,re,bc)
  19894. local fp = it("Part",pa)
  19895. fp.formFactor = "Custom"
  19896. fp.Shape = sh
  19897. fp.Size = v3(x,y,z)
  19898. fp.CanCollide = c
  19899. fp.Anchored = a
  19900. fp.BrickColor = br(bc)
  19901. fp.Transparency = tr
  19902. fp.Reflectance = re
  19903. fp.BottomSurface = 0
  19904. fp.TopSurface = 0
  19905. fp.CFrame = Torso.CFrame
  19906. fp:BreakJoints()
  19907. return fp
  19908. end
  19909. function weld(pa,p0,p1,x,y,z,a,b,c)
  19910. local fw = it("Weld",pa)
  19911. fw.Part0 = p0
  19912. fw.Part1 = p1
  19913. fw.C0 = cf(x,y,z) *ca(a,b,c)
  19914. return fw
  19915. end
  19916. function ft(tab,nam)
  19917. if tab == nil or nam == nil then print("U: Fail table") return false end
  19918. for i=1,#tab do
  19919. if tab == nam then
  19920. return i
  19921. else
  19922. end
  19923. end
  19924. return nil
  19925. end
  19926. function spm(ty,pa,ssx,ssy,ssz)
  19927. local sp = it("SpecialMesh",pa)
  19928. sp.MeshType = ty
  19929. sp.Scale = Vector3.new(ssx,ssy,ssz)
  19930. return sp
  19931. end
  19932. Torso.Transparency = 1
  19933. Torm = Instance.new("Model",Char)
  19934. Torm.Name = "Saber" ..Player.Name
  19935. Tor = p(Torm,"Block",1.98,1.98,1,false,false,0,0,"basda") Tor.Name = "Torso"
  19936. Torw = weld(Tor,Torso,Tor,0,0,0,0,0,0)
  19937. pcall(function() Char.Shirt:Clone().Parent = Torm end)
  19938. pcall(function() Char.Pants:Clone().Parent = Torm end)
  19939. function ShockWave(onb,scale,col)
  19940. coroutine.resume(coroutine.create(function()
  19941. local e1 = Instance.new("Part")
  19942. e1.Anchored = true
  19943. e1.formFactor = "Custom"
  19944. e1.CanCollide = false
  19945. e1.Size = Vector3.new(1,1,1)
  19946. e1.BrickColor = BrickColor.new(col)
  19947. e1.Transparency = 0.6
  19948. e1.TopSurface = 0
  19949. e1.BottomSurface = 0
  19950. e1.Parent = Torm
  19951. e1.CFrame = onb.CFrame
  19952. e1.CFrame = e1.CFrame *CFrame.Angles(math.rad(-90),0,0)
  19953. local e1m = Instance.new("SpecialMesh")
  19954. e1m.MeshType = "FileMesh"
  19955. e1m.Scale = Vector3.new(3,3,3)
  19956. e1m.Parent = e1
  19957. e1m.MeshId = RingMesh.MeshId
  19958. local r1 = Instance.new("Part")
  19959. r1.Anchored = true
  19960. r1.formFactor = "Custom"
  19961. r1.CanCollide = false
  19962. r1.Size = Vector3.new(1,1,1)
  19963. r1.BrickColor = BrickColor.new(col)
  19964. r1.Transparency = 0.6
  19965. r1.TopSurface = 0
  19966. r1.BottomSurface = 0
  19967. r1.Parent = Torm
  19968. r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(90),0,0)
  19969. local r1m = Instance.new("SpecialMesh")
  19970. r1m.MeshType = "FileMesh"
  19971. r1m.Scale = Vector3.new(3,3,3)
  19972. r1m.Parent = r1
  19973. r1m.MeshId = BlastMesh.MeshId
  19974. for i=1,30 do
  19975. local pluscal = scale/38
  19976. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  19977. r1m.Scale = r1m.Scale + Vector3.new(pluscal/1.5,pluscal/3,pluscal/1.5)
  19978. r1.CFrame = r1.CFrame * CFrame.Angles(0,math.rad(6),0)
  19979. wait()
  19980. end
  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/1.5,pluscal/4,pluscal/1.5)
  19985. r1.CFrame = r1.CFrame * CFrame.Angles(0,math.rad(6),0)
  19986. e1.Transparency = e1.Transparency + 0.1
  19987. r1.Transparency = r1.Transparency + 0.1
  19988. wait()
  19989. end
  19990. e1:Remove()
  19991. r1:Remove()
  19992. end))
  19993. end
  19994.  
  19995. function Explode(onb,scale,col)
  19996. coroutine.resume(coroutine.create(function()
  19997. local e1 = Instance.new("Part")
  19998. e1.Anchored = true
  19999. e1.formFactor = "Custom"
  20000. e1.CanCollide = false
  20001. e1.Size = Vector3.new(1,1,1)
  20002. e1.BrickColor = BrickColor.new(col)
  20003. e1.Transparency = 0.6
  20004. e1.TopSurface = 0
  20005. e1.BottomSurface = 0
  20006. e1.Parent = Torm
  20007. e1.CFrame = onb.CFrame
  20008. local e1m = Instance.new("SpecialMesh")
  20009. e1m.MeshType = "Sphere"
  20010. e1m.Parent = e1
  20011. local r1 = Instance.new("Part")
  20012. r1.Anchored = true
  20013. r1.formFactor = "Custom"
  20014. r1.CanCollide = false
  20015. r1.Size = Vector3.new(1,1,1)
  20016. r1.BrickColor = BrickColor.new(col)
  20017. r1.Transparency = 0.6
  20018. r1.TopSurface = 0
  20019. r1.BottomSurface = 0
  20020. r1.Parent = Torm
  20021. r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(180),0,0)
  20022. local r1m = Instance.new("SpecialMesh")
  20023. r1m.MeshType = "FileMesh"
  20024. r1m.Scale = Vector3.new(3,3,3)
  20025. r1m.Parent = r1
  20026. r1m.MeshId = RingMesh.MeshId
  20027. local r2 = Instance.new("Part")
  20028. r2.Anchored = true
  20029. r2.formFactor = "Custom"
  20030. r2.CanCollide = false
  20031. r2.Size = Vector3.new(1,1,1)
  20032. r2.BrickColor = BrickColor.new(col)
  20033. r2.Transparency = 0.6
  20034. r2.TopSurface = 0
  20035. r2.BottomSurface = 0
  20036. r2.Parent = Torm
  20037. r2.CFrame = e1.CFrame *CFrame.Angles(0,math.rad(180),0)
  20038. local r2m = Instance.new("SpecialMesh")
  20039. r2m.MeshType = "FileMesh"
  20040. r2m.Parent = r2
  20041. r2m.Scale = Vector3.new(3,3,3)
  20042. r2m.MeshId = RingMesh.MeshId
  20043. local bla = Instance.new("Part")
  20044. bla.Anchored = true
  20045. bla.formFactor = "Custom"
  20046. bla.CanCollide = false
  20047. bla.Size = Vector3.new(1,1,1)
  20048. bla.BrickColor = BrickColor.new(col)
  20049. bla.Transparency = 0.6
  20050. bla.TopSurface = 0
  20051. bla.BottomSurface = 0
  20052. bla.Parent = Torm
  20053. bla.CFrame = CFrame.new(e1.Position.x,e1.Position.y,e1.Position.z)
  20054. local blam = Instance.new("SpecialMesh")
  20055. blam.MeshType = "FileMesh"
  20056. blam.Parent = bla
  20057. blam.Scale = Vector3.new(5,5,5)
  20058. blam.MeshId = BlastMesh.MeshId
  20059. for i=1,30 do
  20060. local pluscal = scale/38
  20061. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  20062. r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  20063. r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  20064. blam.Scale = blam.Scale + Vector3.new(pluscal,pluscal/2,pluscal)
  20065. bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0)
  20066. r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0)
  20067. r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0)
  20068. wait()
  20069. end
  20070. for i=1,30 do
  20071. local pluscal = scale/38
  20072. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  20073. r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  20074. r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  20075. blam.Scale = blam.Scale + Vector3.new(pluscal/1.5,pluscal/3,pluscal/1.5)
  20076. bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0)
  20077. r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0)
  20078. r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0)
  20079. bla.Transparency = bla.Transparency + 0.1
  20080. e1.Transparency = e1.Transparency + 0.1
  20081. r1.Transparency = r1.Transparency + 0.1
  20082. r2.Transparency = r2.Transparency + 0.1
  20083. wait()
  20084. end
  20085. e1:Remove()
  20086. r1:Remove()
  20087. r2:Remove()
  20088. end))
  20089. end
  20090. 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)
  20091. H1w = weld(Tor,Torso,H1,0.4,-0.7,0.5,0,0,mr(45))
  20092. 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)
  20093. H2w = weld(Tor,H1,H2,0,-0.8,0,mr(180),0,0)
  20094. Des1 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Instance.new("CylinderMesh",Des1)
  20095. Des1w = weld(Tor,H1,Des1,0,0.5,0,0,0,0)
  20096. Des2 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Instance.new("CylinderMesh",Des2)
  20097. Des2w = weld(Tor,H2,Des2,0,0.5,0,0,0,0)
  20098. 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)
  20099. Des21w = weld(Tor,H1,Des21,0,-0.55,0,0,0,0)
  20100. 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)
  20101. Des22w = weld(Tor,H2,Des22,0,-0.55,0,0,0,0)
  20102.  
  20103. Blad1 = p(Torm,"Block",0.3,4,0.3,false,false,1,0.25,BladeColor) M1 = spm("Head",Blad1,1,1,1)
  20104. Blad1w = weld(Tor,H1,Blad1,0,1.9,0,0,0,0)
  20105. Blad2 = p(Torm,"Block",0.3,4,0.3,false,false,1,0.25,BladeColor) M2 = spm("Head",Blad2,1,1,1)
  20106. Blad2w = weld(Tor,H2,Blad2,0,1.9,0,0,0,0)
  20107. Glow1 = p(Torm,"Block",0.47,4.2,0.47,false,false,1,0,BladeColor) GM1 = spm("Head",Glow1,1,1,1)
  20108. Glow1w = weld(Tor,H1,Glow1,0,1.9,0,0,0,0)
  20109. Glow2 = p(Torm,"Block",0.47,4.2,0.47,false,false,1,0,BladeColor) GM2 = spm("Head",Glow2,1,1,1)
  20110. Glow2w = weld(Tor,H2,Glow2,0,1.9,0,0,0,0)
  20111.  
  20112. r(Bp,HopperName)
  20113. bin = inew("HopperBin")
  20114. bin.Name = HopperName
  20115. bin.Parent = Bp
  20116.  
  20117. Gui = Instance.new("ScreenGui",Pg)
  20118. Gui.Name = "Sabers"
  20119. Frame = Instance.new("Frame",Gui)
  20120. Frame.BackgroundTransparency = 1 Frame.Size = UDim2.new(1,0,1,0)
  20121. ImageGui = Instance.new("ImageLabel",Frame)
  20122. ImageGui.Image = "http://www.roblox.com/asset/?id=51262246"
  20123. ImageGui.BackgroundTransparency = 1
  20124. ImageGui.Size = UDim2.new(0.3,0,0.075,0)
  20125. HealthBar = Instance.new("ImageLabel",Frame)
  20126. HealthBar.Image = "http://www.roblox.com/asset/?id=48965808"
  20127. HealthBar.BorderSizePixel = 0
  20128. HealthBar.Size = UDim2.new(0.23,0,0.017,0)
  20129. HealthBar.Position = UDim2.new(0.06,0,0.017,0)
  20130. RageBar = Instance.new("ImageLabel",Frame)
  20131. RageBar.Image = "http://www.roblox.com/asset/?id=48965808"
  20132. RageBar.BorderSizePixel = 0
  20133. RageBar.Size = UDim2.new(0.165,0,0.012,0)
  20134. RageBar.Position = UDim2.new(0.06,0,0.04,0)
  20135. RageBar.BackgroundColor3 = BrickColor.new("Alder").Color
  20136. SelectBar = Instance.new("ImageButton",Frame)
  20137. SelectBar.Image = "http://www.roblox.com/asset/?id=48965808"
  20138. SelectBar.BorderSizePixel = 0
  20139. SelectBar.Size = UDim2.new(0.1,0,0.07,0)
  20140. SelectBar.Position = UDim2.new(0.8,0,0.6,0)
  20141. SelectBar.BackgroundColor3 = BrickColor.new(BladeColor).Color
  20142. SelectrBar = Instance.new("TextLabel",SelectBar)
  20143. SelectrBar.BackgroundTransparency = 1
  20144. SelectrBar.BorderSizePixel = 0
  20145. SelectrBar.Size = UDim2.new(0,0,0,0)
  20146. SelectrBar.Position = UDim2.new(0.5,0,0.5,0)
  20147. SelectrBar.Font = "ArialBold"
  20148. SelectrBar.FontSize = "Size18"
  20149. SelectBar.MouseButton1Up:connect(function()
  20150. if Anim.Move ~= "None" then return end
  20151. if Anim.Act == true then return end
  20152. if Anim.Equipped == false then return end
  20153. if SwordType == "Single" then
  20154. Anim.Move = "Changing"
  20155. Anims.ChangeToDual(0,1,0.065*Speed) SwordType = "Dual"
  20156. Anim.Move = "None"
  20157. else
  20158. Anim.Move = "Changing"
  20159. Anims.ChangeToSingle(0,1,0.065*Speed) SwordType = "Single"
  20160. Anim.Move = "None"
  20161. end
  20162. end)
  20163. coroutine.resume(coroutine.create(function()
  20164. while true do
  20165. wait(0.05)
  20166. local hh = Hum.Health local hmh = Hum.MaxHealth
  20167. HealthBar.Size = UDim2.new((hh/hmh)*0.23,0,0.017,0)
  20168. if ((hh/hmh)*100) > 75 then
  20169. HealthBar.BackgroundColor3 = BrickColor.new("Alder").Color
  20170. elseif ((hh/hmh)*100) > 25 and ((hh/hmh)*100) < 76 then
  20171. HealthBar.BackgroundColor3 = BrickColor.new("Deep orange").Color
  20172. elseif ((hh/hmh)*100) < 26 then
  20173. HealthBar.BackgroundColor3 = BrickColor.new("Bright red").Color
  20174. end
  20175. RageBar.Size = UDim2.new((Rage/MaxRage)*0.165,0,0.012,0)
  20176. SelectrBar.Text = SwordType
  20177. end
  20178. end))
  20179. -------
  20180. function TellXPos(brick1,posd)
  20181. local lb = p(nil,"Block",1,1,1,true,false,1,0.1,BladeColor)
  20182. lb.CFrame = CFrame.new((brick1.CFrame *cf(-10,0,0)).p)
  20183. local rb = p(nil,"Block",1,1,1,true,false,1,0.1,BladeColor)
  20184. rb.CFrame = CFrame.new((brick1.CFrame *cf(10,0,0)).p)
  20185. local posml = math.abs((posd - rb.Position).magnitude)
  20186. local posmr = math.abs((posd - lb.Position).magnitude)
  20187. if posml > posmr then
  20188. return "left"
  20189. else
  20190. return "right"
  20191. end
  20192. end
  20193. function GetNearPlayer(urpos,maxmag)
  20194. if maxmag == nil then return nil end
  20195. for i,v in pairs(game.Players:GetChildren()) do
  20196. 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
  20197. return v.Character.Torso
  20198. end
  20199. end
  20200. return nil
  20201. end
  20202. function Dmgz(hum,dmg)
  20203. dmg = dmg*Props.Buff
  20204. hum.Health = hum.Health - dmg
  20205. Rage = Rage + ((dmg/1.25)*RageIncome)
  20206. if Rage > MaxRage then Rage = MaxRage end
  20207. end
  20208. coroutine.resume(coroutine.create(function()
  20209. while true do
  20210. wait()
  20211. if Right == true and Anim.Move == "ForceWave" then
  20212. for i,v in pairs(workspace:GetChildren()) do
  20213. coroutine.resume(coroutine.create(function()
  20214. if v ~= Char and v ~= nil and v:findFirstChild("Torso") ~= nil and math.abs((v.Torso.Position-Blad2.Position).magnitude) < MagnitudeHit[Anim.Move] then
  20215. local hit = v.Torso
  20216. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
  20217. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  20218. table.insert(RightDebounce,hit.Parent.Name)
  20219. wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
  20220. end
  20221. else
  20222. 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
  20223. end
  20224. end))
  20225. end -- for
  20226. end
  20227. end
  20228. end))
  20229. Blad1.Touched:connect(function(hit)
  20230. if Left == true then
  20231. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(LeftDebounce,hit.Parent.Name) == nil then
  20232. coroutine.resume(coroutine.create(function()
  20233. table.insert(LeftDebounce,hit.Parent.Name)
  20234. wait(DebounceSpeed) local nf = ft(LeftDebounce,hit.Parent.Name) if nf ~= nil then table.remove(LeftDebounce,nf) end
  20235. end))
  20236. Sound(Sounds.SaberHit,1,1)
  20237. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  20238. else
  20239. --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
  20240. end
  20241. end
  20242. end)
  20243.  
  20244. Blad2.Touched:connect(function(hit)
  20245. if Right == true then
  20246. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
  20247. coroutine.resume(coroutine.create(function()
  20248. table.insert(RightDebounce,hit.Parent.Name)
  20249. wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
  20250. end))
  20251. Sound(Sounds.SaberHit,1,1)
  20252. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  20253. else
  20254. --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
  20255. end
  20256. end
  20257. end)
  20258. LW = inew("Weld")
  20259. RW = inew("Weld")
  20260. Fla = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  20261. Fra = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  20262. Flaw = fWeld("Weld",Fla,Tor,Fla,true,-1.5,0.5,0,0,0,0)
  20263. Fraw = fWeld("Weld",Fla,Tor,Fra,true,1.5,0.5,0,0,0,0)
  20264. Flaw.C1 = CFrame.new(0,0.5,0)
  20265. Fraw.C1 = CFrame.new(0,0.5,0)
  20266.  
  20267. Fll = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  20268. Frl = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  20269. Fllw = fWeld("Weld",Fll,Torso,Fll,true,0,0,0,0,0,0)
  20270. Frlw = fWeld("Weld",Fll,Torso,Frl,true,0,0,0,0,0,0)
  20271.  
  20272. function FeetWeld(yesorno,lhh,rhh)
  20273. if yesorno == false then
  20274. lhh.Parent = nil
  20275. rhh.Parent = nil
  20276. Lh.Parent = Torso
  20277. Rh.Parent = Torso
  20278. Lh.Part0 = Tor
  20279. Rh.Part0 = Tor
  20280. Lh.Part1 = Char["Left Leg"]
  20281. Rh.Part1 = Char["Right Leg"]
  20282. return Lh,Rh
  20283. else
  20284. Rh.Parent = nil
  20285. Lh.Parent = nil
  20286. local hl,hr = it("Weld",Torso),it("Weld",Torso)
  20287. hl.Part0 = Fll
  20288. hr.Part0 = Frl
  20289. hl.Part1 = Char["Left Leg"]
  20290. hr.Part1 = Char["Right Leg"]
  20291. hr.C1 = cf(-0.5,1.75,0)
  20292. hl.C1 = cf(0.5,1.75,0)
  20293. return hl,hr
  20294. end
  20295. end
  20296. Anims = {}
  20297. Anims.Equip = function(i1,i2,is)
  20298. Anim.Act = true
  20299. for i=i1,i2,is do
  20300. RW.C1 = ca(mr(40*i),mr(20*i),0)
  20301. RW.C0 = cf(-0.4*i,-0.1*i,0.4*i)
  20302. wait()
  20303. end
  20304. H1w.Part0 = Ra
  20305. H1w.Part1 = H1
  20306. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(180),0) H1w.C1 = ca(mr(-90),0,0)
  20307. Sound(Sounds.Slash,1,1)
  20308. for i=i1,i2,is do
  20309. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(270*i)),0)
  20310. LW.C1 = ca(mr(-80*i),mr(40*i),0)
  20311. LW.C0 = cf(0.6*i,0.3*i,-1*i)
  20312. RW.C1 = ca(mr(40+(-120*i)),mr(20+(-60*i)),0)
  20313. RW.C0 = cf(-0.4+(-0.2*i),-0.1+(0.4*i),0.4+(-1.4*i))
  20314. wait()
  20315. end
  20316. Sound(Sounds.SaberLightUp,3,1)
  20317. for i=i1,i2,is do
  20318. Blad1w.C0 = cf(0,0.95+(0.95*i),0)
  20319. Blad2w.C0 = cf(0,0.95+(0.95*i),0)
  20320. M1.Scale = Vector3.new(1,1*i,1)
  20321. M2.Scale = Vector3.new(1,1*i,1)
  20322. Blad1.Transparency = 0.9-(1*i)
  20323. Blad2.Transparency = 0.9-(1*i)
  20324. Glow1w.C0 = cf(0,0.95+(0.95*i),0)
  20325. Glow2w.C0 = cf(0,0.95+(0.95*i),0)
  20326. GM1.Scale = Vector3.new(1,1*i,1)
  20327. GM2.Scale = Vector3.new(1,1*i,1)
  20328. Glow1.Transparency = 1.05-(0.5*i)
  20329. Glow2.Transparency = 1.05-(0.5*i)
  20330. wait()
  20331. end
  20332. Anim.Act = false
  20333. end
  20334. Anims.UnEquip = function(i1,i2,is)
  20335. Anim.Act = true
  20336. Sound(Sounds.SaberLightUp,3,1)
  20337. for i=i1,i2,is do
  20338. Blad1w.C0 = cf(0,0.95+(0.95*i),0)
  20339. Blad2w.C0 = cf(0,0.95+(0.95*i),0)
  20340. M1.Scale = Vector3.new(1,1*i,1)
  20341. M2.Scale = Vector3.new(1,1*i,1)
  20342. Blad1.Transparency = 0.9-(1*i)
  20343. Blad2.Transparency = 0.9-(1*i)
  20344. Glow1w.C0 = cf(0,0.95+(0.95*i),0)
  20345. Glow2w.C0 = cf(0,0.95+(0.95*i),0)
  20346. GM1.Scale = Vector3.new(1,1*i,1)
  20347. GM2.Scale = Vector3.new(1,1*i,1)
  20348. Glow1.Transparency = 1.05-(0.5*i)
  20349. Glow2.Transparency = 1.05-(0.5*i)
  20350. wait()
  20351. end
  20352. Sound(Sounds.Slash,1,1)
  20353. for i=i1,i2,is do
  20354. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(270*i)),0)
  20355. LW.C1 = ca(mr(-80*i),mr(40*i),0)
  20356. LW.C0 = cf(0.6*i,0.3*i,-1*i)
  20357. RW.C1 = ca(mr(40+(-120*i)),mr(20+(-60*i)),0)
  20358. RW.C0 = cf(-0.4+(-0.2*i),-0.1+(0.4*i),0.4+(-1.4*i))
  20359. wait()
  20360. end
  20361. H1w.Part0 = Torso
  20362. H1w.Part1 = H1
  20363. H1w.C0 = cf(0.4,-0.7,0.5) *ca(0,0,mr(45))
  20364. H1w.C1 = cf(0,0,0) *ca(0,0,0)
  20365. for i=i1,i2,is do
  20366. RW.C1 = ca(mr(40*i),mr(20*i),0)
  20367. RW.C0 = cf(-0.4*i,-0.1*i,0.4*i)
  20368. wait()
  20369. end
  20370. Anim.Act = false
  20371. end
  20372. Anims.ChangeToDual = function(i1,i2,is)
  20373. Anim.Act = true
  20374. for i=i1,i2,is*Speed do
  20375. H1w.C0 = cf(0,-1.1,0) *ca(mr(-80*i),mr(50*i),0)
  20376. wait()
  20377. end
  20378. Sound(Sounds.SaberHit,1,1)
  20379. Sound(Sounds.SaberLightUp,2,0.5)
  20380. H1w.Part0 = La
  20381. H1w.Part1 = H1
  20382. H2w.Part0 = Ra
  20383. H2w.Part1 = H2
  20384. H2w.C1 = ca(mr(-90),0,0)
  20385. for i=i1,i2,is*Speed do
  20386. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-90+(-90*i)),mr(20+(-20*i)))
  20387. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(90*i)),mr(-35+(-35*i)))
  20388. LW.C1 = ca(mr(-80+(20*i)),mr(40+(-70*i)),0)
  20389. LW.C0 = cf(0.6+(-0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  20390. RW.C1 = ca(mr(-80+(20*i)),mr(-40+(70*i)),0)
  20391. RW.C0 = cf(-0.6+(0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  20392. wait()
  20393. end
  20394. Anim.Act = false
  20395. end
  20396. Anims.ChangeToSingle = function(i1,i2,is)
  20397. Anim.Act = true
  20398. for i=i2,i1,-is*Speed do
  20399. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-90+(-90*i)),mr(20+(-20*i)))
  20400. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(90*i)),mr(-35+(-35*i)))
  20401. LW.C1 = ca(mr(-80+(20*i)),mr(40+(-70*i)),0)
  20402. LW.C0 = cf(0.6+(-0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  20403. RW.C1 = ca(mr(-80+(20*i)),mr(-40+(70*i)),0)
  20404. RW.C0 = cf(-0.6+(0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  20405. wait()
  20406. end
  20407. H1w.Part0 = Ra
  20408. H1w.Part1 = H1
  20409. H2w.Part0 = H1
  20410. H2w.Part1 = H2
  20411. H2w.C1 = ca(0,0,0)
  20412. H2w.C0 = cf(0,-0.8,0) *ca(mr(180),0,0)
  20413. Sound(Sounds.SaberLightUp,2,0.5)
  20414. Sound(Sounds.SaberHit,1,1)
  20415. for i=i2,i1,-is*Speed do
  20416. H1w.C0 = cf(0,-1.1,0) *ca(mr(-80*i),mr(50*i),0)
  20417. wait()
  20418. end
  20419. Anim.Act = false
  20420. end
  20421. Anims.RotorBlade = function(i1,i2,is,RaigCost)
  20422. local lolpos = (Torso.Position - mouse.hit.p).unit
  20423. local allx = (lolpos.y*80)-10
  20424. local ally = (((mouse.X-(mouse.ViewSizeX/2))/mouse.ViewSizeX)*1.8)*-90
  20425. Anim.Act = true
  20426. for i=i1,i2,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(90*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(((-90)+ally)*i),0)
  20431. Torw.C1 = ca(0,mr(-90*i),0)
  20432. wait()
  20433. end
  20434. DebounceSpeed = DebounceSpeed - (0.5*Speed)
  20435. Hum.WalkSpeed = Hum.WalkSpeed + (8*Speed)
  20436. Left = true
  20437. Right = true
  20438. Dash(Blad1,2/Speed,nil,2)
  20439. Dash(Blad2,2/Speed,nil,2)
  20440. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,-0.4,0) *ca(mr(-90),0,0)
  20441. local soundtime = 0
  20442. for i=i1,i2*4,is do
  20443. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  20444. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(360*i),0)
  20445. wait()
  20446. end
  20447. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,0,0) *ca(mr(-90),0,0)
  20448. DebounceSpeed = DebounceSpeed + (0.5*Speed)
  20449. Hum.WalkSpeed = Hum.WalkSpeed - (8*Speed)
  20450. Left = false
  20451. Right = false
  20452. for i=i2,i1,-is do
  20453. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  20454. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(90*i),0)
  20455. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  20456. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(((-90)+ally)*i),0)
  20457. Torw.C1 = ca(0,mr(-90*i),0)
  20458. wait()
  20459. end
  20460. Torw.C1 = ca(0,0,0)
  20461. Anim.Act = false
  20462. end
  20463. -------
  20464. Anims.Boomerang = function(i1,i2,is,RaigCost)
  20465. MinusRage(RaigCost)
  20466. local lolpos = (Head.Position - mouse.hit.p).unit
  20467. local allx = (lolpos.y*80)-10
  20468. Anim.Act = true
  20469. for i=i1,i2,is do
  20470. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  20471. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(60*i),0)
  20472. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  20473. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-60*i),0)
  20474. Torw.C1 = ca(0,mr(-60*i),0)
  20475. H1w.C0 = cf(0,-1.1,0) *ca(mr(80*i),0,0)
  20476. wait()
  20477. end
  20478. DebounceSpeed = DebounceSpeed - (0.5*Speed)
  20479. Left = true
  20480. Right = true
  20481. Dash(Blad1,3.8/Speed,nil,2)
  20482. Dash(Blad2,3.8/Speed,nil,2)
  20483. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,-0.4,0) *ca(mr(-90),0,0)
  20484. local soundtime = 0
  20485. for i=i1,i2,is/2 do
  20486. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  20487. H1w.C0 = cf(10*i,-1.1+(-15*i),0) *ca(mr(90),mr(720*i),0)
  20488. wait()
  20489. end
  20490. for i=i1,i2,is/2 do
  20491. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  20492. H1w.C0 = cf(10+(-20*i),-16.1,0) *ca(mr(90),mr(720*i),0)
  20493. wait()
  20494. end
  20495. for i=i1,i2,is/2 do
  20496. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  20497. H1w.C0 = cf(-10+(10*i),-16.1+(15*i),0) *ca(mr(90),mr(720*i),0)
  20498. wait()
  20499. end
  20500. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,0,0) *ca(mr(-90),0,0)
  20501. DebounceSpeed = DebounceSpeed + (0.5*Speed)
  20502. Left = false
  20503. Right = false
  20504. for i=i2,i1,-is do
  20505. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  20506. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(60*i),0)
  20507. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  20508. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-60*i),0)
  20509. Torw.C1 = ca(0,mr(-60*i),0)
  20510. H1w.C0 = cf(0,-1.1,0) *ca(mr(80*i),0,0)
  20511. wait()
  20512. end
  20513. Torw.C1 = ca(0,0,0)
  20514. Anim.Act = false
  20515. end
  20516. Anims.BoulderForce = function(i1,i2,is,RaigCost)
  20517. MinusRage(RaigCost)
  20518. Anim.Act = true
  20519. for i=i1,i2,is do
  20520. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  20521. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  20522. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  20523. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  20524. Torw.C1 = ca(0,mr(50*i),0)
  20525. wait()
  20526. end
  20527. local bould = p(workspace,"Block",4,4,8,true,true,0,0,"Medium stone grey") bould.Name = "Boulder" bould.Material = "Concrete"
  20528. local rm = RockMesh:Clone() rm.Scale = Vector3.new(3,3,4.8) rm.Parent = bould
  20529. 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)
  20530. local warpdes = true
  20531. local bpos = bould.Position
  20532. Sound(Sounds.Cast,0.95,0.8)
  20533. coroutine.resume(coroutine.create(function() repeat Functions.BrickWarpDesign(bould,9) wait() until warpdes == false end))
  20534. 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)
  20535. bould.Anchored = false wait() bould.Velocity = bould.CFrame.lookVector *(math.random(180,350)) bould.Touched:connect(function(hit) Functions.BoulderTouch(hit,bould) end)
  20536. wait(0.5)
  20537. warpdes = false
  20538. game.Debris:AddItem(bould,10)
  20539. for i=i2,i1,-is do
  20540. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  20541. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  20542. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  20543. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  20544. Torw.C1 = ca(0,mr(50*i),0)
  20545. wait()
  20546. end
  20547. Torw.C1 = ca(0,0,0)
  20548. Anim.Act = false
  20549. end
  20550. Anims.ForceWave = function(i1,i2,is,RaigCost)
  20551. local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
  20552. if Hit == nil then Anim.Act = false return end
  20553. MinusRage(RaigCost)
  20554. Anim.Act = true
  20555. lh2,rh2 = FeetWeld(true,Lh,Rh)
  20556. local bp2 = Instance.new("BodyPosition",Torso)
  20557. bp2.maxForce = Vector3.new(0,math.huge,0)
  20558. Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
  20559. DebounceSpeed = DebounceSpeed + (1.1*Speed)
  20560. bp2.position = Torso.Position + Vector3.new(0,25,0)
  20561. Dash(Blad1,2.5/Speed)
  20562. Dash(Blad2,2.5/Speed)
  20563. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,0.3,0,BladeColor) wav.Anchored = true
  20564. local wavm = BlastMesh:Clone()
  20565. wavm.Parent = wav
  20566. wavm.Scale = Vector3.new(15,6,15)
  20567. local cff = Torso.CFrame - Vector3.new(0,0,0)
  20568. coroutine.resume(coroutine.create(function()
  20569. Dash(Blad1,4/Speed)
  20570. Dash(Blad2,4/Speed)
  20571. for i=i1,i2,is*Speed do
  20572. LW.C1 = ca(mr(-80+(-100*i)),mr(40-(40*i)),mr(45*i))
  20573. LW.C0 = cf(0.6,0.3+(1.4*i),-1+(1*i))
  20574. RW.C1 = ca(mr(-80+(-100*i)),mr(-40+(40*i)),mr(-45*i))
  20575. RW.C0 = cf(-0.6,0.3+(1.4*i),-1+(1*i))
  20576. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20577. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20578. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20579. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20580. H1w.C0 = cf(0,-1.1+(-0.9*i),0) *ca(0,mr(360*i),0)
  20581. H1w.C1 = ca(mr(-90+(40*i)),0,0)
  20582. wait()
  20583. 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
  20584. for i=1,0.3,-0.14*Speed do wav.Transparency = i wait() end wav:Remove()
  20585. for i=i2,i1,-is*Speed do
  20586. LW.C1 = ca(mr(-80+(-100*i)),mr(40-(40*i)),mr(45*i))
  20587. LW.C0 = cf(0.6,0.3+(1.4*i),-1+(1*i))
  20588. RW.C1 = ca(mr(-80+(-100*i)),mr(-40+(40*i)),mr(-45*i))
  20589. RW.C0 = cf(-0.6,0.3+(1.4*i),-1+(1*i))
  20590. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20591. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20592. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20593. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20594. H1w.C0 = cf(0,-1.1+(-0.9*i),0) *ca(0,mr(360*i),0)
  20595. H1w.C1 = ca(mr(-90+(40*i)),0,0)
  20596. wait()
  20597. end
  20598. bp2:Remove()
  20599. local bg = Instance.new("BodyGyro",Torso) bg.maxTorque = Vector3.new(math.huge,0,math.huge)
  20600. local bp = Instance.new("BodyPosition",Torso) bp.position = Torso.Position bp.maxForce = Vector3.new(math.huge,1000000,math.huge)
  20601. rpos = math.abs(hitpos.y - Torso.Position.y)
  20602. rpos = rpos - 1.2
  20603. local tpos = Torso.Position
  20604. Hum.WalkSpeed = 0
  20605. Hum.PlatformStand = true
  20606. Dash(Blad2,1.6/Speed,RingMesh.MeshId)
  20607. for i=i1,i2,is do
  20608. bp.position = tpos - Vector3.new(0,rpos*i,0)
  20609. Neck.C0 = cf(0,1-(0.5*i),-0.5*i) *ca(Neck.C1:toEulerAnglesXYZ())
  20610. Torw.C1 = ca(mr(20*i),0,0)
  20611. Torw.C0 = cf(0,-0.2*i,-0.2*i)
  20612. lh2.C0 = cf(-0.5,-1.9+(1*i),-1.1*i) *ca(mr(10*i),mr(90),0)
  20613. rh2.C0 = cf(0.5,-1.9+(1*i),0.1*i) *ca(mr(-95*i),mr(-90),0)
  20614. LW.C1 = ca(mr(-80+(30*i)),mr(40),0)
  20615. LW.C0 = cf(0.6,0.3-(0.3*i),-1+(0.3*i))
  20616. RW.C1 = ca(mr(-80+(30*i)),mr(-40),0)
  20617. RW.C0 = cf(-0.6,0.3-(0.3*i),-1+(0.3*i))
  20618. H1w.C0 = cf(0,-1.1,0) *ca(mr(55*i),0,0)
  20619. wait()
  20620. end
  20621. wait(0.25)
  20622. Sound(Sounds.Boom,0.5,1)
  20623. Sound(Sounds.EnergyBlast,0.9,1)
  20624. Right = true
  20625. ShockWave(Torso,50,BladeColor)
  20626. wait(1.5)
  20627. Right = false
  20628. local t2pos = Torso.Position
  20629. for i=i2,i1,-is do
  20630. bp.position = t2pos - Vector3.new(0,1.5-(1.5*i),0)
  20631. Neck.C0 = cf(0,1-(0.5*i),-0.5*i) *ca(Neck.C1:toEulerAnglesXYZ())
  20632. Torw.C1 = ca(mr(20*i),0,0)
  20633. Torw.C0 = cf(0,-0.2*i,-0.2*i)
  20634. lh2.C0 = cf(-0.5,-1.9+(1*i),-1.1*i) *ca(mr(10*i),mr(90),0)
  20635. rh2.C0 = cf(0.5,-1.9+(1*i),0.1*i) *ca(mr(-95*i),mr(-90),0)
  20636. LW.C1 = ca(mr(-80+(30*i)),mr(40),0)
  20637. LW.C0 = cf(0.6,0.3-(0.3*i),-1+(0.3*i))
  20638. RW.C1 = ca(mr(-80+(30*i)),mr(-40),0)
  20639. RW.C0 = cf(-0.6,0.3-(0.3*i),-1+(0.3*i))
  20640. H1w.C0 = cf(0,-1.1,0) *ca(mr(55*i),0,0)
  20641. wait()
  20642. end
  20643. DebounceSpeed = DebounceSpeed - (1.1*Speed)
  20644. bp:Remove()
  20645. bg:Remove()
  20646. Hum.PlatformStand = false
  20647. Hum.WalkSpeed = RealSpeed
  20648. Torw.C1 = ca(0,0,0)
  20649. Anim.Act = false
  20650. Lh,Rh = FeetWeld(false,lh2,rh2)
  20651. end
  20652. Anims.DualSpin = function(i1,i2,is,RaigCost)
  20653. MinusRage(RaigCost)
  20654. Anim.Act = true
  20655. for i=i1,i2,is*Speed do
  20656. 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))
  20657. 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)
  20658. LW.C1 = ca(mr(-60+(-40*i)),mr(-30+(-75*i)),mr(0*i))
  20659. LW.C0 = cf(0.13*i,0.5*i,-0.5+(0.5*i))
  20660. RW.C1 = ca(mr(-60+(-20*i)),mr(30+(45*i)),mr(0*i))
  20661. RW.C0 = cf(0.13*i,0.4*i,-0.5+(0.4*i))
  20662. wait()
  20663. end
  20664. 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()
  20665. local soundtime = 0
  20666. 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)
  20667. DebounceSpeed = DebounceSpeed + (0.5*Speed) for i=i2,i1,-is*Speed do
  20668. 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))
  20669. 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)
  20670. LW.C1 = ca(mr(-60+(-40*i)),mr(-30+(-75*i)),mr(0*i))
  20671. LW.C0 = cf(0.13*i,0.5*i,-0.5+(0.5*i))
  20672. RW.C1 = ca(mr(-60+(-20*i)),mr(30+(45*i)),mr(0*i))
  20673. RW.C0 = cf(0.13*i,0.4*i,-0.5+(0.4*i))
  20674. wait()
  20675. end Right = false Left = false
  20676. Anim.Act = false
  20677. end
  20678.  
  20679. ----------------------------
  20680. ----------------------------
  20681. ----------------------------
  20682. ----------------------------
  20683.  
  20684. Lh = Torso["Left Hip"]
  20685. Rh = Torso["Right Hip"]
  20686.  
  20687. Functions = {}
  20688. Functions.BoulderTouch = function(hit2,bould)
  20689. print(bould.Name)
  20690. for i,v in pairs(workspace:GetChildren()) do
  20691. if v ~= Char and v ~= nil and v:findFirstChild("Torso") ~= nil and v:findFirstChild("Humanoid") ~= nil then
  20692. if math.abs((v.Torso.Position-bould.Position).magnitude) < 11 and ft(RightDebounce,v.Name) == nil then
  20693. Sound(Sounds.Smash,1,1)
  20694. Dmgz(v.Humanoid,Damage["BoulderForce"])
  20695. table.insert(RightDebounce,v.Name)
  20696. print(v.Name)
  20697. coroutine.resume(coroutine.create(function()wait(DebounceSpeed) local nf = ft(RightDebounce,v.Name) if nf ~= nil then table.remove(RightDebounce,nf) end end))
  20698. end
  20699. else
  20700. 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
  20701. end
  20702. end -- for
  20703. end
  20704. Functions.Sparkle = function(bb,scal,si)
  20705. if si == nil then si = 1 end
  20706. local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
  20707. local np = p(Torm,"Block",0.1,0.1,0.1,false,true,0.1,0.2,BladeColor)
  20708. 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)
  20709. local dm = DiamondMesh:Clone() dm.Scale = Vector3.new(0,0,0) dm.Parent = np
  20710. coroutine.resume(coroutine.create(function()
  20711. for i=0,1*si,0.1*si do
  20712. dm.Scale = Vector3.new(1*i,1.25*i,1*i)
  20713. wait()
  20714. end
  20715. end))
  20716. coroutine.resume(coroutine.create(function()
  20717. wait(0.1)
  20718. for i=0,1,0.1 do
  20719. np.Transparency = i
  20720. wait()
  20721. end
  20722. np:Remove()
  20723. end))
  20724. end
  20725. Functions.BrickWarpDesign = function(bb,scal)
  20726. local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
  20727. local mag = (rand - bb.Position).magnitude
  20728. local np = p(Torm,"Block",0.1,0.1,mag-3,false,true,0.1,0.2,BladeColor)
  20729. np.CFrame = cf(bb.Position,rand)
  20730. np.CFrame = np.CFrame + np.CFrame.lookVector*((scal/5)+(mag/2))
  20731. coroutine.resume(coroutine.create(function()
  20732. for i=0.1,1,0.05 do
  20733. np.Transparency = i
  20734. wait()
  20735. end
  20736. np:Remove()
  20737. end))
  20738. end
  20739. Functions.RageRegen = function()
  20740. local lostcontrol = false
  20741. local hpos = Torso.Position.y + 10
  20742. Anim.Move = "RageRegening"
  20743. Anim.Act = true
  20744. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,1,0,BladeColor) wav.Anchored = true
  20745. local wavm = BlastMesh:Clone()
  20746. wavm.Parent = wav
  20747. local wavv = 0
  20748. wavm.Scale = Vector3.new(5,3.5,5)
  20749. wav.CFrame = cf((Torso.CFrame * CFrame.new(0,-2.5,0)).p) *ca(0,mr(wavv),0)
  20750. local bp = Instance.new("BodyPosition",Torso)
  20751. bp.maxForce = Vector3.new(0,math.huge,0)
  20752. Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
  20753. bp.position = Torso.Position + Vector3.new(0,10,0)
  20754. local bpos = bp.position
  20755. coroutine.resume(coroutine.create(function()
  20756. lh2,rh2 = FeetWeld(true,Lh,Rh)
  20757. if SwordType == "Single" then
  20758. for i=0,1,0.1*Speed do
  20759. LW.C1 = ca(mr(-80+(-30*i)),mr(40-(40*i)),0)
  20760. LW.C0 = cf(0.6-(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(120*i),0)
  20761. RW.C1 = ca(mr(-80+(-30*i)),mr(-40+(40*i)),0)
  20762. RW.C0 = cf(-0.6+(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(-120*i),0)
  20763. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20764. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20765. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20766. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20767. wait()
  20768. end
  20769. else
  20770. for i=0,1,0.1*Speed do
  20771. LW.C1 = ca(mr(-60+(-50*i)),mr(-40-(-40*i)),0)
  20772. LW.C0 = cf(-0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(120*i),0)
  20773. RW.C1 = ca(mr(-60+(-50*i)),mr(40+(-40*i)),0)
  20774. RW.C0 = cf(0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(-120*i),0)
  20775. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20776. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20777. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20778. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20779. wait()
  20780. end
  20781. end
  20782. local function movezx(i1,i2,is,bp)
  20783. if SwordType == "Single" then
  20784. for i=i1,i2,is*Speed do
  20785. LW.C1 = ca(mr(-120+(20*i)),0,0)
  20786. LW.C0 = cf(0,0.8,0.7) *ca(0,mr(120+(20*i)),0)
  20787. RW.C1 = ca(mr(-120+(20*i)),0,0)
  20788. RW.C0 = cf(0,0.8,0.7) *ca(0,mr(-120+(-20*i)),0)
  20789. lh2.C1 = ca(mr(30+(-15*i)),0,mr(15+(-8*i)))
  20790. rh2.C1 = ca(mr(30+(-15*i)),0,mr(-15+(8*i)))
  20791. lh2.C0 = cf(-0.7,-1.9,0.35)
  20792. rh2.C0 = cf(0.7,-1.9,0.35)
  20793. bp.position = Vector3.new(bpos.x,(hpos+10)+(3*i),bpos.z)
  20794. wait()
  20795. end
  20796. else
  20797. for i=i1,i2,is*Speed do
  20798. LW.C1 = ca(mr(-110),mr(0),0)
  20799. LW.C0 = cf(-0.1,0.8,0.7) *ca(0,mr(120+(20*i)),0)
  20800. RW.C1 = ca(mr(-110),mr(0),0)
  20801. RW.C0 = cf(0.1,0.8,0.7) *ca(0,mr(-120+(-20*i)),0)
  20802. lh2.C1 = ca(mr(30+(-15*i)),0,mr(15+(-8*i)))
  20803. rh2.C1 = ca(mr(30+(-15*i)),0,mr(-15+(8*i)))
  20804. lh2.C0 = cf(-0.7,-1.9,0.35)
  20805. rh2.C0 = cf(0.7,-1.9,0.35)
  20806. bp.position = Vector3.new(bpos.x,(hpos+10)+(3*i),bpos.z)
  20807. wait()
  20808. end
  20809. end
  20810. end
  20811. local moved = 2
  20812. repeat
  20813. if Rage >= MaxRage or Anim.key.z == false then break end
  20814. if moved == 2 then moved = 1 movezx(0,1,0.025,bp) else moved = 2 movezx(1,0,-0.025,bp) end
  20815. until Rage >= MaxRage or Anim.key.z == false or lostcontrol == true
  20816. if SwordType == "Single" then
  20817. for i=1,0,-0.1*Speed do
  20818. LW.C1 = ca(mr(-80+(-30*i)),mr(40-(40*i)),0)
  20819. LW.C0 = cf(0.6-(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(120*i),0)
  20820. RW.C1 = ca(mr(-80+(-30*i)),mr(-40+(40*i)),0)
  20821. RW.C0 = cf(-0.6+(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(-120*i),0)
  20822. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20823. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20824. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20825. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20826. wait()
  20827. end
  20828. else
  20829. for i=1,0,-0.1*Speed do
  20830. LW.C1 = ca(mr(-60+(-50*i)),mr(-40-(-40*i)),0)
  20831. LW.C0 = cf(-0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(120*i),0)
  20832. RW.C1 = ca(mr(-60+(-50*i)),mr(40+(-40*i)),0)
  20833. RW.C0 = cf(0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(-120*i),0)
  20834. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  20835. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  20836. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  20837. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  20838. wait()
  20839. end
  20840. end
  20841. Lh,Rh = FeetWeld(false,lh2,rh2)
  20842. wait(0.6)
  20843. Anim.Act = false
  20844. Anim.Move = "None"
  20845. end))
  20846. for i=1,0.3,-0.14*Speed do wav.Transparency = i wait() end
  20847. rpos = 0
  20848. Sound(Sounds.Cast,0.8,1)
  20849. repeat wait()
  20850. local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
  20851. if Hit == nil then lostcontrol = true break end
  20852. hpos = hitpos.y if math.random(1,6) == 4 then Functions.Sparkle(Torso,8) end
  20853. if math.random(1,3) == 3 then Functions.BrickWarpDesign(Torso,10) end wavv = wavv + 10 Rage = Rage - (RageCost["RageRegening"]*RageIncome)
  20854. wav.CFrame = cf(Torso.Position.x,hpos+1.4,Torso.Position.z) *ca(0,mr(wavv),0)
  20855. until Rage >= MaxRage or Anim.key.z == false
  20856. for i=0.3,01,0.14*Speed do wav.Transparency = i wait() end wav:Remove()
  20857. bp:Remove()
  20858. Humanoid.WalkSpeed = Humanoid.WalkSpeed + (RealSpeed-4)
  20859. end
  20860. Functions.Teleport = function(i1,i2,is,RaigCost)
  20861. Anim.Act = true
  20862. for i=i1,i2,is*Speed do
  20863. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  20864. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  20865. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  20866. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  20867. Torw.C1 = ca(0,mr(50*i),0)
  20868. wait()
  20869. end
  20870. local tele = false
  20871. local tele2 = false -- for mouse
  20872. local mouseact = mouse.Button1Up:connect(function() tele2 = true end)
  20873. coroutine.resume(coroutine.create(function() Sound(Sounds.Cast,1.2,1) wait(12) tele = true end))
  20874. local telepos = Torso.Position
  20875. local telehit = nil
  20876. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,0.3,0.1,BladeColor) wav.Anchored = true
  20877. local wavm = BlastMesh:Clone()
  20878. wavm.Parent = wav
  20879. local wavv = 0
  20880. wavm.Scale = Vector3.new(3.5,2,3.5)
  20881. repeat
  20882. local mpos = mouse.hit.p + Vector3.new(0,2,0)
  20883. telehit,telepos = rayCast(mpos,((mpos - Vector3.new(0,10000,0)) - mpos),999.999,Player.Character)
  20884. wavv = wavv + 8 Functions.Sparkle(La,3) Functions.BrickWarpDesign(La,4)
  20885. 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
  20886. wait() until tele == true or tele2 == true mouseact:disconnect()
  20887. if telehit == nil or math.abs((Torso.Position - telepos).magnitude) > Props.MaxTeleDistance then
  20888. 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()
  20889. wav:Remove()
  20890. else
  20891. MinusRage(RaigCost)
  20892. for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
  20893. ShockWave(Torso,7,BladeColor)
  20894. Torso.CFrame = wav.CFrame + Vector3.new(0,2.2,0) Sound(Sounds.EnergyBlast,1.2,0.6)
  20895. ShockWave(Torso,7,BladeColor)
  20896. for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
  20897. 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()
  20898. end
  20899. for i=i2,i1,-is*Speed do
  20900. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  20901. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  20902. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  20903. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  20904. Torw.C1 = ca(0,mr(50*i),0)
  20905. wait()
  20906. end
  20907. Anim.Act = false
  20908. end
  20909.  
  20910. --------------------------------------------------------------------------------------------------------------
  20911. --------------------------------------------------------------------------------------------------------------
  20912. --------------------------------------------------------------------------------------------------------------
  20913. --------------------------------------------------------------------------------------------------------------
  20914. bin.Selected:connect(function(mm)
  20915. Mouse = mouse
  20916. mouse = mm
  20917. Torso["Left Hip"].Part0 = Tor
  20918. Torso["Right Hip"].Part0 = Tor
  20919. RS.Parent = nil
  20920. LS.Parent = nil
  20921. RW.Parent = Torso
  20922. RW.Part0 = Fra
  20923. RW.Part1 = Ra
  20924. LW.Parent = Torso
  20925. LW.Part0 = Fla
  20926. LW.Part1 = La
  20927. RW.C0 = CFrame.new(0,0,0) RW.C1 = CFrame.new(0,0,0)
  20928. LW.C0 = CFrame.new(0,0,0) LW.C1 = CFrame.new(0,0,0)
  20929. Anims.Equip(0,1,0.07*Speed)
  20930. Anim.Equipped = true
  20931. mouse.KeyDown:connect(function(key)
  20932. key:lower()
  20933. pcall(function() Anim.key[key:lower()] = true end)
  20934. keydown = true
  20935. if key == "z" and Anim.Move == "None" and not Anim.Act then
  20936. Functions.RageRegen()
  20937. end
  20938. if SwordType == "Single" then
  20939. if key == "e" and Anim.Move == "None" and not Anim.Act and RageCost["RotorBlade"] <= Rage then
  20940. Anim.Move = "RotorBlade"
  20941. Anims.RotorBlade(0,1,0.08*Speed,RageCost["RotorBlade"])
  20942. Anim.Move = "None"
  20943. elseif key == "q" and Anim.Move == "None" and not Anim.Act and RageCost["Boomerang"] <= Rage then
  20944. Anim.Move = "Boomerang"
  20945. Anims.Boomerang(0,1,0.08*Speed,RageCost["Boomerang"])
  20946. Anim.Move = "None"
  20947. elseif key == "f" and Anim.Move == "None" and not Anim.Act and RageCost["BoulderForce"] <= Rage then
  20948. Anim.Move = "BoulderForce"
  20949. Anims.BoulderForce(0,1,0.08*Speed,RageCost["BoulderForce"])
  20950. Anim.Move = "None"
  20951. elseif key == "r" and Anim.Move == "None" and not Anim.Act and RageCost["ForceWave"] <= Rage then
  20952. Anim.Move = "ForceWave"
  20953. Anims.ForceWave(0,1,0.08*Speed,RageCost["ForceWave"])
  20954. Anim.Move = "None"
  20955. elseif key == "t" and Anim.Move == "None" and not Anim.Act and RageCost["Teleport"] <= Rage then
  20956. Anim.Move = "Teleport"
  20957. Functions.Teleport(0,1,0.08*Speed,RageCost["Teleport"])
  20958. Anim.Move = "None"
  20959. end
  20960. elseif SwordType == "Dual" then
  20961. if key == "e" and Anim.Move == "None" and not Anim.Act and RageCost["DualSpin"] <= Rage then
  20962. Anim.Move = "DualSpin"
  20963. Anims.DualSpin(0,1,0.08*Speed,RageCost["DualSpin"])
  20964. Anim.Move = "None"
  20965. end
  20966. end
  20967. end)
  20968. mouse.KeyUp:connect(function(key)
  20969. pcall(function() Anim.key[key:lower()] = false end)
  20970. keydown = false
  20971. end)
  20972.  
  20973. mouse.Button1Down:connect(function() Anim.Button = true
  20974. if not Anim.Click and Anim.Move == "None" and not Anim.Act then
  20975. Anim.Click = true
  20976. if Anim.CanBerserk ~= 0 then Anim.CanBerserk = Anim.CanBerserk + 1 end
  20977. if Anim.CanBerserk == 0 and RageCost["Berserk"] <= Rage then
  20978. Rage = Rage - RageCost["Berserk"]
  20979. Anim.ComboBreak = true
  20980. Speed = Speed + 0.5
  20981. Anim.CanBerserk = Anim.CanBerserk + 1
  20982. --Anim.Move = "LeftPunch"
  20983. --Anims.LeftPunch(0,1,0.1*Speed,0) Anim.Move = "None"
  20984. elseif Anim.CanBerserk == 2 then
  20985. Anim.CanBerserk = 0
  20986. end
  20987. 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))
  20988. wait(0.1)
  20989. Anim.Click = false
  20990. end
  20991. end)
  20992. mouse.Button1Up:connect(function() Anim.Button = false
  20993. end)
  20994. end)
  20995. bin.Deselected:connect(function(mouse)
  20996. Anim.Equipped = false
  20997. if SwordType == "Dual" then Anims.ChangeToSingle(0,1,0.25*Speed) SwordType = "Single" end
  20998. Anims.UnEquip(1,0,-0.08*Speed)
  20999. RW.Parent = nil
  21000. LW.Parent = nil
  21001. RS.Parent = Torso
  21002. RS.Part0 = Torso
  21003. RS.Part1 = Ra
  21004. LS.Parent = Torso
  21005. LS.Part0 = Torso
  21006. LS.Part1 = La
  21007. if Rh.Parent == nil then
  21008. FeetWeld(false,Lh,Rh)
  21009. end
  21010. Torso["Left Hip"].Part0 = Torso
  21011. Torso["Right Hip"].Part0 = Torso
  21012. end)
  21013. Hum.WalkSpeed = RealSpeed
  21014. Rage = 100000
  21015. wait(5)
  21016.         end)
  21017. --
  21018. local button = Instance.new("TextButton")
  21019.         button.Parent = ws
  21020.         button.BackgroundColor3 = blak
  21021.         button.BorderColor3 = rede
  21022.         button.BorderSizePixel = 3
  21023.         button.Name = "Master Hand"
  21024.         button.Position = UDim2.new(0,0,0,132)
  21025.         button.Size = UDim2.new(0.499,0,0,30)
  21026.         button.ZIndex = 2
  21027.         button.Font = tef
  21028.         button.FontSize = "Size14"
  21029.         button.Text = "Master Hand"
  21030.         button.TextColor3 = whit
  21031.         button.TextWrapped = true
  21032.                 button.MouseButton1Down:connect(function()
  21033.                 --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go down to line 23 and put your name where it says "YOUR NAME HERE"
  21034.  
  21035.  
  21036. 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
  21037. bc =  BrickColor.new ab = math.abs de = math.deg ts = tostring tn = tonumber ti =  table.insert tr = table.remove
  21038. cr = coroutine.resume cc =  coroutine.create
  21039. asset = "http://www.roblox.com/asset/?id="
  21040. sr =  string.reverse sl = string.lower su = string.upper
  21041. Serv = {} Serv.p =  game:GetService(sr("sreyalP")) Serv.l = game:GetService(sr("gnithgiL"))  
  21042. Serv.is = game:GetService(sr("ecivreStresnI")) if  game:findFirstChild(sr("revreSkrowteN")) then Serv.ns =  game:GetService(sr("revreSkrowteN")) else NetworkServer = nil end
  21043. Serv.sg =  game:GetService(sr("iuGretratS")) Serv.sp = game:GetService(sr("kcaPretratS"))  Serv.d = game:GetService(sr("sirbeD"))
  21044. Decs = {}
  21045. Decs.Crack = "49173398"  Decs.Cloud = "1095708" Decs.Spike = "1033714" Decs.Rock = "1290033" Decs.Crown =  "1323306"
  21046. 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
  21047. 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  
  21048. 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"
  21049. 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
  21050. fp.TopSurface = 0 fp.CFrame = t.CFrame + Vector3.new(0,50,0) fp.Velocity =  Vector3.new(0,10,0) fp:BreakJoints() return fp end
  21051. function clearit(tab) for  xx=1,#tab do tab[xx]:Remove() end end
  21052. 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
  21053. 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
  21054. 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
  21055. p  = Serv.p.LocalPlayer
  21056. bp = p.Backpack
  21057. pg = p.PlayerGui
  21058. c =  p.Character
  21059. he = c.Head
  21060. t = c.Torso
  21061. hu = c.Humanoid
  21062. mou =  nil
  21063. re(c,"Hand")
  21064. s = 2
  21065.  
  21066. --tool var
  21067. Equip = false
  21068. HTrans =  0
  21069. HRef = 0
  21070. HCol = "a"
  21071. LaserCol = "Really black"
  21072. LaserCol2 = "Really  red"
  21073. LaserCol3 = "Really black"
  21074. Posing = "Follow"
  21075. Facing =  "Owner"
  21076. Anim = {}
  21077. Anim.a = "None"
  21078. Anim.b = "None"
  21079. Anim.Welding =  0
  21080. local fingwide = 1.5*s
  21081. local finghei = 2.8
  21082. local tiphei =  2.55
  21083. handoffset = v3(5,18,-8)*s
  21084. bgx,bgy,bgz = -90,0,0
  21085. w = {}
  21086. Button  = false
  21087. --
  21088. BlastMesh = it("FileMesh")
  21089. BlastMesh.MeshId =  "http://www.roblox.com/asset/?id=20329976"
  21090. RingMesh =  it("FileMesh")
  21091. RingMesh.MeshId =  "http://www.roblox.com/asset/?id=3270017"
  21092. RockMesh =  it("FileMesh")
  21093. DiamondMesh = it("FileMesh")
  21094. DiamondMesh.MeshId =  "http://www.roblox.com/Asset/?id=9756362"
  21095.  
  21096. m = Instance.new("Model",c)  m.Name = "Hand"
  21097. Palm =  pa(m,"Block",6*s,7*s,fingwide*2,true,false,HTrans,HRef,HCol)  mbm(Palm,1,1,0.6)
  21098. local x,y,z =  Palm.Size.x,Palm.Size.y,Palm.Size.z
  21099. bPoint1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21100. Point1 =  weld(bPoint1,Palm,bPoint1,-x/2+(fingwide/2),y/2,0,0,0,0)
  21101. pPoint1 =  pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPoint1,0.9,1,0.9)
  21102. wPoint1 =  weld(pPoint1,bPoint1,pPoint1,0,pPoint1.Size.y/2,0,0,0,0)
  21103. bPoint2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21104. Point2 =  weld(bPoint2,pPoint1,bPoint2,0,pPoint1.Size.y/2,0,0,0,0)
  21105. pPoint2 =  pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPoint2,0.9,1,0.9)
  21106. wPoint2 =  weld(pPoint2,bPoint2,pPoint2,0,pPoint1.Size.y/2,0,0,0,0)
  21107. bPoint3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21108. Point3 =  weld(bPoint3,pPoint2,bPoint3,0,pPoint2.Size.y/2,0,0,0,0)
  21109. pPoint3 =  pa(m,"Block",fingwide,tiphei*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPoint3,0.9,1,0.9)
  21110. wPoint3 =  weld(pPoint3,bPoint3,pPoint3,0,pPoint3.Size.y/2,0,0,0,0)
  21111. bMid1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21112. Mid1 =  weld(bMid1,Palm,bMid1,-x/2+((fingwide/2)+((fingwide)*1)),y/2,0,0,0,0)
  21113. pMid1 =  pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pMid1,0.9,1,0.9)
  21114. wMid1 =  weld(pMid1,bMid1,pMid1,0,pMid1.Size.y/2,0,0,0,0)
  21115. bMid2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21116. Mid2 =  weld(bMid2,pMid1,bMid2,0,pMid1.Size.y/2,0,0,0,0)
  21117. pMid2 =  pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pMid2,0.9,1,0.9)
  21118. wMid2 =  weld(pMid2,bMid2,pMid2,0,pMid1.Size.y/2,0,0,0,0)
  21119. bMid3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21120. Mid3 =  weld(bMid3,pMid2,bMid3,0,pMid2.Size.y/2,0,0,0,0)
  21121. pMid3 =  pa(m,"Block",fingwide,(tiphei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pMid3,0.9,1,0.9)
  21122. wMid3 =  weld(pMid3,bMid3,pMid3,0,pMid3.Size.y/2,0,0,0,0)
  21123. bRing1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21124. Ring1 =  weld(bRing1,Palm,bRing1,-x/2+((fingwide/2)+((fingwide)*2)),y/2,0,0,0,0)
  21125. pRing1  = pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pRing1,0.9,1,0.9)
  21126. wRing1 =  weld(pRing1,bRing1,pRing1,0,pRing1.Size.y/2,0,0,0,0)
  21127. bRing2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21128. Ring2 =  weld(bRing2,pRing1,bRing2,0,pRing1.Size.y/2,0,0,0,0)
  21129. pRing2 =  pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pRing2,0.9,1,0.9)
  21130. wRing2 =  weld(pRing2,bRing2,pRing2,0,pRing1.Size.y/2,0,0,0,0)
  21131. bRing3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21132. Ring3 =  weld(bRing3,pRing2,bRing3,0,pRing2.Size.y/2,0,0,0,0)
  21133. pRing3 =  pa(m,"Block",fingwide,(tiphei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pRing3,0.9,1,0.9)
  21134. wRing3 =  weld(pRing3,bRing3,pRing3,0,pRing3.Size.y/2,0,0,0,0)
  21135. bPinkie1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21136. Pinkie1 =  weld(bPinkie1,Palm,bPinkie1,-x/2+((fingwide/2)+((fingwide)*3)),y/2,0,0,0,0)
  21137. pPinkie1  = pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPinkie1,0.9,1,0.9)
  21138. wPinkie1 =  weld(pPinkie1,bPinkie1,pPinkie1,0,pPinkie1.Size.y/2,0,0,0,0)
  21139. bPinkie2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21140. Pinkie2 =  weld(bPinkie2,pPinkie1,bPinkie2,0,pPinkie1.Size.y/2,0,0,0,0)
  21141. pPinkie2 =  pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPinkie2,0.9,1,0.9)
  21142. wPinkie2 =  weld(pPinkie2,bPinkie2,pPinkie2,0,pPinkie1.Size.y/2,0,0,0,0)
  21143. bPinkie3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21144. Pinkie3 =  weld(bPinkie3,pPinkie2,bPinkie3,0,pPinkie2.Size.y/2,0,0,0,0)
  21145. pPinkie3 =  pa(m,"Block",fingwide,(tiphei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol)  mbm(pPinkie3,0.9,1,0.9)
  21146. wPinkie3 =  weld(pPinkie3,bPinkie3,pPinkie3,0,pPinkie3.Size.y/2,0,0,0,0)
  21147. bThumb1 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21148. Thumb1 =  weld(bThumb1,Palm,bThumb1,-x/2+(fingwide/7),-y*0.1,-fingwide*0.25,0,0,0)
  21149. 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)
  21150. wThumb1 =  weld(pThumb1,bThumb1,pThumb1,0,pThumb1.Size.y/2,0,0,0,0)
  21151. bThumb2 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21152. Thumb2 =  weld(bThumb2,pThumb1,bThumb2,0,pThumb1.Size.y/2,0,0,0,0)
  21153. 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)
  21154. wThumb2 =  weld(pThumb2,bThumb2,pThumb2,0,pThumb1.Size.y/2,0,0,0,0)
  21155. bThumb3 =  pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  21156. Thumb3 =  weld(bThumb3,pThumb2,bThumb3,0,pThumb2.Size.y/2,0,0,0,0)
  21157. 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)
  21158. wThumb3 =  weld(pThumb3,bThumb3,pThumb3,0,pThumb3.Size.y/2,0,0,0,0)
  21159.  
  21160. w["a1"] =  Pinkie1
  21161. w["a2"] = Pinkie2
  21162. w["a3"] = Pinkie3
  21163. w["b1"] = Ring1
  21164. w["b2"]  = Ring2
  21165. w["b3"] = Ring3
  21166. w["c1"] = Mid1
  21167. w["c2"] = Mid2
  21168. w["c3"] =  Mid3
  21169. w["d1"] = Point1
  21170. w["d2"] = Point2
  21171. w["d3"] = Point3
  21172. w["e1"] =  Thumb1
  21173. w["e2"] = Thumb2
  21174. w["e3"] = Thumb3
  21175. w.e1.C1 =  ca(0,rd(35),rd(-20))
  21176. w.e2.C1 = ca(rd(20),0,0)
  21177. w.e3.C1 =  ca(rd(20),0,0)
  21178. w.d1.C1 = ca(0,0,rd(-3))
  21179. w.c1.C1 =  ca(0,0,rd(-1))
  21180. w.b1.C1 = ca(0,0,rd(1))
  21181. w.a1.C1 = ca(0,0,rd(3))
  21182. function  c1(wexx,smmx,xx,yy,zz)
  21183. coroutine.resume(coroutine.create(function()
  21184. local  xx2,yy2,zz2 = wexx.C1:toEulerAnglesXYZ()
  21185. local aa,bb,cc =  wexx.C0.x,wexx.C0.y,wexx.C0.z
  21186. local twa = smmx/wt
  21187. Anim.Welding =  Anim.Welding + 1
  21188. for i=0,twa,1 do wexx.C0 = cf(aa,bb,cc)
  21189. wexx.C1 =  ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))
  21190. wait()
  21191. end  
  21192. Anim.Welding = Anim.Welding - 1
  21193. end))
  21194. end
  21195. 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
  21196. 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
  21197. function HandSign(form,spee) form = form:lower() if  spee == nil then spee = 1 end
  21198. if form == "f" then
  21199. CloseFing("d",spee)  CloseFing("a",spee) CloseFing("b",spee)
  21200. c1(w["c1"],spee,0,0,0)  c1(w["c2"],spee,0,0,0) c1(w["c3"],spee,0,0,0)
  21201. c1(w["e1"],spee,70,40,-90)  c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  21202. elseif form == "fist"  then
  21203. CloseFing("d",spee) CloseFing("a",spee) CloseFing("b",spee)  CloseFing("c",spee)
  21204. c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0)  c1(w["e3"],spee,50,0,0)
  21205. elseif form == "pointer" then
  21206. CloseFing("a",spee)  CloseFing("b",spee) CloseFing("c",spee)
  21207. c1(w["d1"],spee,5,0,0)  c1(w["d2"],spee,5,0,0) c1(w["d3"],spee,5,0,0)
  21208. c1(w["e1"],spee,70,40,-90)  c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  21209. elseif form == "v"  then
  21210. CloseFing("a",spee) CloseFing("b",spee)
  21211. c1(w["c1"],spee,1,0,15)  c1(w["c2"],spee,1,0,0) c1(w["c3"],spee,1,0,0)
  21212. c1(w["d1"],spee,1,0,-15)  c1(w["d2"],spee,1,0,0) c1(w["d3"],spee,1,0,0)
  21213. c1(w["e1"],spee,70,40,-90)  c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  21214. elseif form == "free" or  form == "five" then
  21215. OpenFing("a",spee) OpenFing("b",spee) OpenFing("c",spee)  OpenFing("d",spee)
  21216. c1(w["e1"],spee,0,35,-20) c1(w["e2"],spee,20,0,0)  c1(w["e3"],spee,20,0,0)
  21217. elseif form == "ride" then  
  21218. c1(w["a1"],spee,60,0,0) c1(w["a2"],spee,-30,0,0) c1(w["a3"],spee,-30,0,0)  
  21219. c1(w["b1"],spee,30,0,0) c1(w["b2"],spee,65,0,0) c1(w["b3"],spee,60,0,0)  
  21220. c1(w["c1"],spee,30,0,0) c1(w["c2"],spee,65,0,0) c1(w["c3"],spee,60,0,0)  
  21221. c1(w["d1"],spee,30,0,0) c1(w["d2"],spee,65,0,0) c1(w["d3"],spee,60,0,0)  
  21222. c1(w["e1"],spee,-70,185,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0)  
  21223. elseif form == "gun" then
  21224. CloseFing("a",spee)  CloseFing("b",spee)
  21225. c1(w["c1"],spee,0,0,1) c1(w["c2"],spee,0,0,0)  c1(w["c3"],spee,0,0,0)
  21226. c1(w["d1"],spee,0,0,-1) c1(w["d2"],spee,0,0,0)  c1(w["d3"],spee,0,0,0)
  21227. c1(w["e1"],spee,-60,90,0) c1(w["e2"],spee,20,0,0)  c1(w["e3"],spee,-20,0,0)
  21228. elseif form == "wide"  then
  21229. c1(w["a1"],spee,-3,0,45) c1(w["a2"],spee,-3,0,0) c1(w["a3"],spee,-3,0,0)  
  21230. c1(w["b1"],spee,-3,0,15) c1(w["b2"],spee,-3,0,0) c1(w["b3"],spee,-3,0,0)  
  21231. c1(w["c1"],spee,-3,0,-15) c1(w["c2"],spee,-3,0,0) c1(w["c3"],spee,-3,0,0)  
  21232. c1(w["d1"],spee,-3,0,-45) c1(w["d2"],spee,-3,0,0) c1(w["d3"],spee,-3,0,0)  
  21233. c1(w["e1"],spee,-70,90,0) c1(w["e2"],spee,10,0,0) c1(w["e3"],spee,-10,0,0)  
  21234. elseif form == "wide2" then
  21235. c1(w["a1"],spee,-18,0,45)  c1(w["a2"],spee,36,0,0) c1(w["a3"],spee,30,0,0)
  21236. c1(w["b1"],spee,-18,0,15)  c1(w["b2"],spee,36,0,0) c1(w["b3"],spee,30,0,0)
  21237. c1(w["c1"],spee,-18,0,-15)  c1(w["c2"],spee,36,0,0) c1(w["c3"],spee,30,0,0)
  21238. c1(w["d1"],spee,-18,0,-45)  c1(w["d2"],spee,36,0,0) c1(w["d3"],spee,30,0,0)
  21239. c1(w["e1"],spee,-50,90,-10)  c1(w["e2"],spee,5,0,-30) c1(w["e3"],spee,-10,0,-40)
  21240. elseif form == "grab2"  then
  21241. c1(w["a1"],spee,-70,-65,0) c1(w["a2"],spee,40,0,0)  c1(w["a3"],spee,20,0,0)
  21242. c1(w["b1"],spee,-70,-20,0) c1(w["b2"],spee,40,0,0)  c1(w["b3"],spee,20,0,0)
  21243. c1(w["c1"],spee,-70,20,-0) c1(w["c2"],spee,40,0,0)  c1(w["c3"],spee,20,0,0)
  21244. c1(w["d1"],spee,-70,65,-0) c1(w["d2"],spee,40,0,0)  c1(w["d3"],spee,20,0,0)
  21245. c1(w["e1"],spee,-70,150,0) c1(w["e2"],spee,30,0,0)  c1(w["e3"],spee,30,0,0)
  21246. elseif form == "grab3"  then
  21247. c1(w["a1"],spee,-30,-40,30) c1(w["a2"],spee,50,0,0)  c1(w["a3"],spee,35,0,0)
  21248. c1(w["b1"],spee,-30,-15,12) c1(w["b2"],spee,50,0,0)  c1(w["b3"],spee,35,0,0)
  21249. c1(w["c1"],spee,-30,15,-12) c1(w["c2"],spee,50,0,0)  c1(w["c3"],spee,35,0,0)
  21250. c1(w["d1"],spee,-30,40,-30) c1(w["d2"],spee,50,0,0)  c1(w["d3"],spee,35,0,0)
  21251. c1(w["e1"],spee,-55,205,0) c1(w["e2"],spee,30,0,0)  c1(w["e3"],spee,30,0,0)
  21252. end
  21253. end
  21254. function  ColFings(iscol)
  21255. pPinkie1.CanCollide = iscol
  21256. pPinkie2.CanCollide =  iscol
  21257. pPinkie3.CanCollide = iscol
  21258. pRing1.CanCollide =  iscol
  21259. pRing2.CanCollide = iscol
  21260. pRing3.CanCollide =  iscol
  21261. pMid1.CanCollide = iscol
  21262. pMid2.CanCollide =  iscol
  21263. pMid3.CanCollide = iscol
  21264. pPoint1.CanCollide =  iscol
  21265. pPoint2.CanCollide = iscol
  21266. pPoint3.CanCollide =  iscol
  21267. pThumb1.CanCollide = iscol
  21268. pThumb2.CanCollide =  iscol
  21269. pThumb3.CanCollide = iscol
  21270. end
  21271. function ray(Pos, Dir)
  21272. return  Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *999), c)
  21273. end
  21274. 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
  21275. coroutine.resume(coroutine.create(function()
  21276. 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)
  21277. local de = it("Decal",cr)  de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,25)  end
  21278. for i=1,4 do
  21279. coroutine.resume(coroutine.create(function()
  21280. 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"
  21281. 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)
  21282. 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)
  21283. Dustplosion(cf(pos.p+v3(0,2*s,0)),18*s,{"Really  red","Really black","Really red"},1)
  21284. if eos == "earth" then
  21285. for x=1,8  do
  21286. sw.CFrame = sw.CFrame *cf(0,sw.Size.y/8,0) wait() end wait(ra(1,5))
  21287. for  x=1,20 do
  21288. sw.CFrame = sw.CFrame *cf(0,-sw.Size.y/20,0) wait()
  21289. end  sw:Remove()
  21290. else
  21291. for x=1,25 do
  21292. 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
  21293. end sw:Remove()
  21294. end)) end  
  21295. wait(0.3)
  21296. DmgHumanoidsNear(pos.p,dmg,rndmg,5.5*s*(siz/4),forc)
  21297. end))
  21298. end
  21299.  
  21300. function  Dustplosion(onb,scale,col,cls) coroutine.resume(coroutine.create(function()  
  21301. for x=1,cls do coroutine.resume(coroutine.create(function()
  21302. 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"
  21303. swm.MeshId = asset ..  Decs.Cloud sw.CFrame = sw.CFrame +  v3(ra(-scale,scale)/8,ra(-scale,scale)/8,ra(-scale,scale)/8)
  21304. for  i=1,scale,0.25 do
  21305. swm.Scale = v3(i*1.5,i*1,i*1.5) sw.Transparency =  ((i/scale)/2) + 0.45
  21306. wait()
  21307. end
  21308. sw:Remove()
  21309. end)) end
  21310. end)) end  
  21311. 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
  21312. 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
  21313. function BlastWave(onb,scale,ymes,col)  coroutine.resume(coroutine.create(function()
  21314. 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"
  21315. swm.MeshId = BlastMesh.MeshId
  21316. for i=1,scale,scale/11 do  
  21317. 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
  21318. wait()
  21319. end
  21320. sw:Remove()
  21321. end))
  21322. end
  21323. 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)
  21324. e1.Transparency = 0.6  e1.TopSurface = 0 e1.BottomSurface = 0 e1.Parent = Torm e1.CFrame = onb local  e1m = Instance.new("SpecialMesh")
  21325. 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"
  21326. 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"
  21327. r2m.Parent = r2  r2m.Scale = Vector3.new(3,3,3) r2m.MeshId = RingMesh.MeshId local bla =  Instance.new("Part") bla.Anchored = true
  21328. 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")  
  21329. 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)
  21330. r1m.Scale = r1m.Scale +  Vector3.new(pluscal,pluscal,pluscal) r2m.Scale = r1m.Scale +  Vector3.new(pluscal,pluscal,pluscal)
  21331. 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)
  21332. 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
  21333.  
  21334. function  Hurtsplosion(pos,dmg,rndmg,siz,forc)
  21335. coroutine.resume(coroutine.create(function()  local boomcol = {"Really red","Really black","Really red"}
  21336. for i=1,3 do  
  21337. coroutine.resume(coroutine.create(function()
  21338. 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
  21339. plos.CFrame = cf(pos + v3(0,0,0)) *  ca(rd(ra(-360,360)),rd(ra(-360,360)),rd(ra(-360,360)))
  21340. plos.Mesh.Scale =  v3(0.1,0.1,0.1)
  21341. for i=0.3,1,0.03 do local plc =  plos.CFrame
  21342. plos.Mesh.Scale = v3(i*6,i*6,i*6) plos.Transparency = i  plos.CFrame = plc *  ca(rd(3),rd(3),0)
  21343. wait()
  21344. end
  21345. plos:Remove()
  21346. end))
  21347. end  
  21348. end))
  21349. wait(0.1)
  21350. DmgHumanoidsNear(pos,dmg,rndmg,5.5*s*siz,forc)
  21351. end
  21352.  
  21353. function  DmgHumanoidsNear(pos,dmg,rndmg,mag,forc)
  21354. local function kidive(ob)
  21355. for  i,v in pairs(ob:children()) do
  21356. 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  
  21357. v:BreakJoints() v.Velocity = cf(pos,v.Position).lookVector*forc
  21358. end
  21359. if  v:IsA("Humanoid") and v ~= hu and v.Parent:findFirstChild("Torso") then
  21360. if  (pos - v.Parent.Torso.Position).magnitude < mag then local tdmg =  dmg*ra(1,rndmg)
  21361. if v.Parent:findFirstChild("Hh") == nil then local hh=  Instance.new("NumberValue",v.Parent) hh.Name = "Hh"
  21362. hh.Value = v.Health -  tdmg else v.Parent.Hh.Value = v.Health - (tdmg*3.5) end
  21363. v.Health =  v.Parent.Hh.Value if v.Parent.Hh.Value < 1 then v.Parent:BreakJoints() end  
  21364. end
  21365. end
  21366. if v:IsA("Model") or v:IsA("Workspace") then kidive(v) end  end end
  21367. kidive(workspace)
  21368. end
  21369. function  Fire(bullet,typez,siz,dmg,rndmg,forc)
  21370. if typez == 1 then
  21371. bullet.Anchored =  true
  21372. local bullethit = false
  21373. local tyms = 0
  21374. repeat
  21375. tyms = tyms +  2
  21376. local bhit,bpos = ray(bullet.Position,bullet.Position - (bullet.CFrame  *cf(0,0,-1)).p)
  21377. 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
  21378. if tyms%32 == 0 then wait() end
  21379. until  bullethit or bullet.Position.y < -300 or tyms > 800
  21380. bullet.CFrame =  bullet.CFrame *cf(0,0,8) bullet:Remove()
  21381. if bullet.Position.y < -300  then
  21382. else
  21383. Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc)
  21384. end
  21385. elseif  typez == 2 then
  21386. bullet.Anchored = true
  21387. local bullethit = false
  21388. local  tyms = 0
  21389. local ming = 0.001
  21390. repeat
  21391. if tyms > 70 and (ming == 0.001  or ming == -2.5) then ming = -2.5
  21392. 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
  21393. end
  21394. tyms = tyms + 2
  21395. local bhit,bpos =  ray(bullet.Position,bullet.Position - (bullet.CFrame *cf(0,0,-1)).p)
  21396. 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
  21397. if  tyms%16 == 0 then wait() end
  21398. until bullethit or bullet.Position.y < -300  or tyms > 500
  21399. bullet.CFrame = bullet.CFrame *cf(0,0,8)  bullet:Remove()
  21400. if bullet.Position.y < -300  then
  21401. else
  21402. Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc)
  21403. end
  21404. elseif  typez == 3 then
  21405. end
  21406. end
  21407. function ShortifiedAnim(theanim)
  21408. if  theanim == "Beam" then
  21409. 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
  21410. 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)
  21411. dias =  {} loldiv = 360/8 for x=0,360,loldiv do
  21412. 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
  21413. diam.Scale = v3(3*s,9*s,3*s) table.insert(dias,dia)
  21414. end  Button = true coroutine.resume(coroutine.create(function() local tardz = 0  repeat wait() tardz = tardz+ 15
  21415. crom.CFrame = Palm.CFrame *ca(rd(-90),0,0)  *cf(0,5.5*s,2*s) *ca(0,rd(tardz),0)
  21416. 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
  21417. until not Button for x2=0.5,1,0.05 do wait()  crom.Transparency = x2 end end))
  21418. 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))
  21419. wait(1) local beamoffset = v3(0,0,0)
  21420. local b1 =  pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b1.Anchored = true  
  21421. local b2 = pa(m,"Block",10*s,1,10*s,false,false,0.1,0,LaserCol) b2.Anchored  = true local b2m = it("CylinderMesh",b2)
  21422. local b3 =  pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b3.Anchored = true  
  21423. local bpos = nil local bhit = nil local ts = 0
  21424. repeat beamoffset =  v3(ra(-2*s,2*s),ra(-2*s,2*s),ra(-2*s,2*s)) ts = ts + 1
  21425. bhit,bpos =  ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,0,1)).p)
  21426. if bhit == nil  or (Palm.Position - bpos).magnitude > 1500 then break end
  21427. b1.CFrame =  Palm.CFrame *cf(0,3*s,-11*s)
  21428. b3.CFrame = cf(bpos) local lenz = (b1.Position  - b3.Position).magnitude
  21429. b2.CFrame = cf(b1.Position,b3.Position)  *ca(rd(90),0,0) *cf(0,-lenz/2,0) b2m.Scale = v3(1,lenz,1)
  21430. b1.CFrame =  b1.CFrame + beamoffset b2.CFrame = b2.CFrame + beamoffset b3.CFrame = b3.CFrame  + beamoffset
  21431. 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
  21432. wait() until not  Button or ts > 600
  21433. 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))
  21434. 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))
  21435. wait(1)  clearit(dias) crom:Remove()
  21436. end
  21437. end
  21438. PalmLev = it("BodyPosition",Palm)  
  21439. PalmFace = it("BodyGyro",Palm) PalmFace.maxTorque =  v3(0,0,0)
  21440. coroutine.resume(coroutine.create(function()
  21441. PalmLev.position =  (t.CFrame *cf(handoffset)).p
  21442. local yspi = 0
  21443. while true do yspi = yspi +  8
  21444. if Anim.a == "Gun" or Anim.a == "Ride" or Anim.a == "Pound" then
  21445. Facing  = "Mouse" bgx = -90 bgy = 90 bgz = 0
  21446. elseif Anim.a == "Fu" or Anim.a ==  "Fist" or Anim.a == "GroundGrip" then
  21447. Facing = "Mouse" bgx = -90 bgy = 0 bgz  = 0
  21448. elseif Anim.a == "Splat" or Anim.a == "Beam" then
  21449. Facing = "Mouse"  bgx = 0 bgy = 0 bgz = 0
  21450. elseif Anim.a == "None" then
  21451. Facing = "Owner"  bgx = -90 bgy = 0 bgz = 0 Posing = "Follow"
  21452. elseif Anim.a == "Shower"  then
  21453. Facing = "None" bgx = 0 bgy = 0 bgz = 0 Posing = "TopOwner"
  21454. end  
  21455. if Posing == "Follow" then
  21456. PalmLev.maxForce = v3(1/0,1/0,1/0)  PalmLev.position = (t.CFrame *cf(handoffset) *cf(0,0,0)).p
  21457. elseif Posing ==  "TopOwner" then
  21458. PalmLev.maxForce = v3(1/0,1/0,1/0) PalmLev.position =  (t.CFrame *cf(0,12*s,0)).p
  21459. end
  21460. if Facing == "Owner" then  
  21461. PalmFace.maxTorque = v3(1/0,1/0,1/0) PalmFace.cframe =  cf(Palm.Position,he.Position) *ca(rd(bgx),rd(bgy),rd(bgz))
  21462. elseif Facing ==  "Mouse" and mou ~= nil and Equip then
  21463. 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
  21464. if Anim.b == "None" or  Anim.a == "Beam" or Anim.a == "Ride" then
  21465. PalmFace.cframe =  cf(Palm.Position,mou.Hit.p) *ca(rd(bgx),rd(bgy),rd(bgz)) wait(0.05)
  21466. end end  end
  21467. wait(0.05)
  21468. end
  21469. end))
  21470. function  FireFinger(lasercol,ffingz,targ,typez,siz,dmg,rndmg,forc)  coroutine.resume(coroutine.create(function()
  21471. 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"
  21472. local lw =  weld(laser,ffingz,laser,0,ffingz.Size.y/0.8 +(siz/2.5),0,rd(90),0,0)
  21473. for  i=1,0.4,-0.05 do laser.Transparency = i wait() end  
  21474. BlastWave(ffingz.CFrame*cf(0,ffingz.Size.y*1.3,0)*ca(0,0,0),ffingz.Size.x*1.6,1.8,LaserCol2)
  21475. lw:Remove()  laser.CFrame = cf(laser.Position,targ)
  21476. Fire(laser,typez,siz,dmg,rndmg,forc)  
  21477. end))
  21478. end
  21479. GrabWeld =  it("Weld",m)
  21480. Palm.Touched:connect(function(touch)
  21481. if Anim.a == "Ride" and  GrabWeld.Part1 == nil and touch.Parent:findFirstChild("Torso") and  touch.Parent:findFirstChild("Humanoid") then
  21482. local tor = touch.Parent.Torso  touch.Parent.Humanoid.PlatformStand = true
  21483. 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)
  21484. end
  21485. end)
  21486. re(bp,"Hand")
  21487. hb =  it("HopperBin",bp) hb.Name = "Hand"
  21488. hb.Selected:connect(function(mouse) mou =  mouse Equip = true
  21489. mouse.KeyDown:connect(function(k) k = k:lower()
  21490. if  Anim.a == "Ride" and k == "f" then  FireFinger(LaserCol,pPinkie3,mouse.Hit.p,1,2.25,1,18,30) end
  21491. if Anim.b ~=  "None" or Anim.Welding ~= 0 then return end
  21492. if Anim.a == "None" then
  21493. if k  == "f" then -- on anim on
  21494. Anim.a = "Gun" HandSign("Gun",0.7)
  21495. elseif k ==  "p" then
  21496. Anim.a = "Fu" HandSign("f",1)
  21497. elseif k == "g" then
  21498. Anim.a =  "Fist" HandSign("fist",1)
  21499. elseif k == "c" then
  21500. Anim.a = "Splat"  HandSign("wide",1)
  21501. elseif k == "r" then
  21502. Anim.a = "Ride" HandSign("ride",1)  Posing = "None"
  21503. elseif k == "v" then
  21504. Anim.a = "Shower" HandSign("grab2",1)  PalmFace.cframe = cf(0,0,0) *ca(0,0,0)
  21505. elseif k == "b" then
  21506. Anim.a =  "Pound" HandSign("fist",1)
  21507. elseif k == "x" then
  21508. Anim.a = "GroundGrip"  HandSign("grab2",1)
  21509. elseif k == "z" then
  21510. Anim.a = "Beam"  HandSign("wide2",1)
  21511. end
  21512. else
  21513. if k == "f" and Anim.a == "Gun" then --  on anim off
  21514. Anim.a = "None" HandSign("five",0.8)
  21515. elseif k == "p" and  Anim.a == "Fu" then
  21516. Anim.a = "None" HandSign("five",0.8)
  21517. elseif k == "g"  and Anim.a == "Fist" then
  21518. Anim.a = "None" HandSign("five",0.8)
  21519. elseif k ==  "c" and Anim.a == "Splat" then
  21520. Anim.a = "None" HandSign("five",0.8)
  21521. elseif  k == "r" and Anim.a == "Ride" then
  21522. Anim.a = "None" HandSign("five",0.8)  GrabWeld.Part0 = nil Anim.b = "None" Posing = "Follow" Facing = "Owner"
  21523. if  GrabWeld.Part1 ~= nil and GrabWeld.Part1.Parent:findFirstChild("Humanoid") ~=  nil then GrabWeld.Part1.Parent.Humanoid.PlatformStand = false end GrabWeld.Part1  = nil
  21524. elseif k == "v" and Anim.a == "Shower" then
  21525. Anim.a = "None"  HandSign("five",0.8) Posing = "Follow" Facing = "Owner"
  21526. elseif k == "b" and  Anim.a == "Pound" then
  21527. Anim.a = "None" HandSign("five",0.8)
  21528. elseif k ==  "x" and Anim.a == "GroundGrip" then
  21529. Anim.a = "None"  HandSign("five",0.8)
  21530. elseif k == "z" and Anim.a == "Beam" then
  21531. Anim.a =  "None"  HandSign("five",0.8)
  21532. end
  21533. end
  21534. end)
  21535. mouse.Button1Down:connect(function()
  21536. if  Anim.a == "None" or Anim.b ~= "None" then return end
  21537. if Anim.a == "Gun"  then
  21538. 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"
  21539. elseif  Anim.a == "Fu" then
  21540. Anim.b = "Fu"  FireFinger(LaserCol,pMid3,mouse.Hit.p,1,3.65,2,14,95) wait(0.25) Anim.b =  "None"
  21541. elseif Anim.a == "Fist" then
  21542. local bhit,bpos =  ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p)
  21543. if bhit ==  nil or (Palm.Position - bpos).magnitude > 500 then return end
  21544. Anim.b =  "Fist" Posing = "None" PalmFace.cframe = cf(Palm.Position,bpos)  *ca(rd(-90),0,0)
  21545. PalmLev.position = (Palm.CFrame  *cf(0,-15*s,0)).p
  21546. wait(0.45)
  21547. PalmLev.position = bpos + ((Palm.CFrame  *cf(0,1*s,0)).p - Palm.Position)
  21548. 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
  21549. Explode(Palm.CFrame *cf(0,6*s,0)  *ca(rd(180),0,0),15*s,ts(bhit.BrickColor))
  21550. DmgHumanoidsNear((Palm.CFrame  *cf(0,8,0)).p,3,10,(12*s)+2,105)
  21551. if not bhit.Anchored then PalmLev.position =  (Palm.CFrame *cf(0,12*s,0)).p wait(0.5) end
  21552. wait(1) Posing = "Follow" Anim.b  = "None"
  21553. elseif Anim.a == "Splat" then
  21554. if mouse.Target == nil and  (Palm.Position - mouse.Hit.p).magnitude > 500 then return end local bpos =  mouse.Hit.p
  21555. Anim.b = "Splat" Posing = "None"
  21556. 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)
  21557. local tz = 0 repeat  wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude <  5*s or tz > 1.3
  21558. for i=-90,0,5 do
  21559. PalmLev.position = PalmLev.position  + v3(0,2*s,0) PalmFace.cframe = cf(0,0,0) *ca(0,yb,0)  *ca(rd(i),0,0)
  21560. wait()
  21561. end wait(0.2)
  21562. for i=0,-100,-10 do
  21563. local lewd  = i
  21564. if lewd < -50 then lewd = -95 end
  21565. 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)
  21566. wait()
  21567. end wait(0.2)
  21568. 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)
  21569. local de = it("Decal",cr) de.Face = "Top"  de.Texture = asset .. Decs.Crack  Serv.d:AddItem(cr,16)
  21570. DmgHumanoidsNear((Palm.CFrame  *cf(0,0,-1)).p,3,20,(15*s)+2,110)
  21571. ShockWave(Palm.CFrame  *ca(rd(90),0,0),25*s,LaserCol)
  21572. wait(1) Posing = "Follow" Anim.b =  "None"
  21573. elseif Anim.a == "Ride" and Button == false then
  21574. Posing = "None"  Anim.b = "Ride"
  21575. Button = true
  21576. repeat PalmLev.position = (Palm.CFrame  *cf(0,10,0)).p wait() until Button == false
  21577. Anim.b = "None"
  21578. elseif Anim.a  == "Shower" and Button == false then
  21579. Anim.b = "Shower" Button = true  
  21580. repeat
  21581. local targz = Palm.Position + v3(0,20*s,0)
  21582. if ra(1,12) == 1  then FireFinger(LaserCol,pPinkie3,targz,2,4,1,18,55) end
  21583. if ra(1,13) == 1  then FireFinger(LaserCol,pRing3,targz,2,4,1,18,60) end
  21584. if ra(1,12) == 1 then  FireFinger(LaserCol,pMid3,targz,2,4,1,18,65) end
  21585. if ra(1,13) == 1 then  FireFinger(LaserCol,pPoint3,targz,2,4,1,18,70) end
  21586. if ra(1,12) == 1 then  FireFinger(LaserCol,pThumb3,targz,2,4,1,18,80) end
  21587. PalmFace.cframe =  PalmFace.cframe *ca(0,rd(10),0)
  21588. wait()
  21589. until Button == false
  21590. Anim.b =  "None"
  21591. elseif Anim.a == "Pound" and Anim.b == "None" then Posing = "None"  Anim.b = "Pound"
  21592. local bhit,bpos = ray(Palm.Position,Palm.Position -  (Palm.CFrame *cf(0,-1,0)).p)
  21593. if bhit == nil or (Palm.Position -  bpos).magnitude > 500 then return end
  21594. PalmLev.position = bpos +  v3(0,15*s,0)
  21595. local ya,yb,yc = PalmFace.cframe:toEulerAnglesXYZ()  PalmFace.cframe = ca(ya,yb,yc)
  21596. local tz = 0 repeat wait() tz = tz + wait()  until (PalmLev.position - Palm.Position).magnitude < 5*s or tz > 1.3  wait(0.1)
  21597. for i=-90,-10,10 do
  21598. PalmFace.cframe = ca(ya,yb,yc)  *ca(0,0,rd(i+90)) PalmLev.position = PalmLev.position + v3(0,2.5*s,0)
  21599. wait()  end wait(0.25) local realcf =  cf(v3(he.Position.x,0,he.Position.z),v3(Palm.Position.x,0,Palm.Position.z))
  21600. for  i=-10,-90,-10 do
  21601. PalmFace.cframe = ca(ya,yb,yc) *ca(0,0,rd(i+90))  PalmLev.position = PalmLev.position - v3(0,4*s,0)
  21602. wait() end PalmFace.cframe  = realcf *ca(rd(-90),rd(90),0) wait(0.25)
  21603. 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)
  21604. local de = it("Decal",cr) de.Face = "Top"  de.Texture = asset .. Decs.Crack  Serv.d:AddItem(cr,16)
  21605. Dustplosion(Palm.CFrame *cf(2*s,0,0)  *ca(rd(90),0,rd(90)),30*s,{"Really red","Really black","Really  red"},3)
  21606. ShockWave(Palm.CFrame *cf(2*s,0,0)  *ca(rd(90),0,rd(90)),20*s,ts(bhit.BrickColor))
  21607. DmgHumanoidsNear((Palm.CFrame  *cf(0,1,0)).p,1,20,(15*s)+2,90) wait(0.2)
  21608. local palmcf = cf(bpos) local  earthsplos = ra(5,8) palmcf = Palm.CFrame *ca(0,rd(90),0)  *ca(rd(-90),0,rd(0))
  21609. for i=1,earthsplos do Earthsplosion(palmcf  *cf(0,-2*s,((i*7)+7)*s),10,1,20,75) wait(0.1) end
  21610. Earthsplosion(palmcf  *cf(0,-2*s,(((earthsplos+1)*7)+7)*s),16,2,25,75)
  21611. wait(1) Posing = "Follow"  wait(0.25) Anim.b = "None"
  21612. elseif Anim.a == "GroundGrip" then Posing =  "None" Anim.b = "GroundGrip"
  21613. local bhit,bpos =  ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p)
  21614. if bhit ==  nil or (Palm.Position - bpos).magnitude > 500 then return end  
  21615. PalmLev.position = bpos + v3(0,27*s,0) ColFings(false)
  21616. local tz = 0  repeat wait() tz = tz + wait() until (PalmLev.position -  Palm.Position).magnitude < 8*s or tz > 1.3 wait(0.1)
  21617. local thepos =  (Palm.CFrame *cf(0,-0.1*s,0)).p - Palm.Position
  21618. PalmFace.cframe =  cf(Palm.Position,bpos + thepos) *ca(rd(-90),0,0)
  21619. 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)
  21620. 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
  21621. 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)
  21622. coroutine.resume(coroutine.create(function() for xz=1,70,7  do PalmLev.position = bpos + v3(0,xz*s,0) wait(0.06) end end))
  21623. wait(0.25)  Dustplosion(cf(bpos),30*s,{"Really red","Really black","Really red"},3) local  lolra = ra(-360,360)
  21624. Earthsplosion(cf(bpos),25,1,20,125,"sand") for  yyy=0,360,60 do coroutine.resume(coroutine.create(function()
  21625. for zzz=1,4 do  
  21626. Earthsplosion(cf(bpos) *ca(0,rd(yyy+lolra),0) *cf(0,0,zzz*15*s),10,1,20,75)  wait(0.14)
  21627. 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
  21628. 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"
  21629. elseif Anim.a == "Beam" and not Button and  Anim.b == "None" then Anim.b = "Beam"
  21630. ShortifiedAnim("Beam") wait(0.5)  Anim.b = "None"
  21631. end
  21632. end)
  21633. mouse.Button1Up:connect(function()
  21634. Button =  false
  21635. end)
  21636. mouse.Move:connect(function()  
  21637. end)
  21638.  
  21639. end)
  21640. hb.Deselected:connect(function(mouse)
  21641. Equip =  false
  21642. end)
  21643.  
  21644.  
  21645.  
  21646.  
  21647.         end)
  21648. --
  21649. local button = Instance.new("TextButton")
  21650.         button.Parent = ws
  21651.         button.BackgroundColor3 = blak
  21652.         button.BorderColor3 = rede
  21653.         button.BorderSizePixel = 3
  21654.         button.Name = "Plane"
  21655.         button.Position = UDim2.new(0.5,3,0,132)
  21656.         button.Size = UDim2.new(0.5,-3,0,30)
  21657.         button.ZIndex = 2
  21658.         button.Font = tef
  21659.         button.FontSize = "Size14"
  21660.         button.Text = "Plane"
  21661.         button.TextColor3 = whit
  21662.         button.TextWrapped = true
  21663.                 button.MouseButton1Down:connect(function()
  21664.                 repeat wait() until game:IsLoaded() and game:service("Players").LocalPlayer.Character ~= nil;
  21665. wait(0.4)
  21666. for i, v in pairs(game:service("Players").LocalPlayer.Character:children()) do
  21667. if v ~= script then
  21668. v:Destroy()
  21669. end
  21670. end
  21671.  
  21672. local player = game:service("Players").LocalPlayer
  21673. local mouse = player:GetMouse()
  21674. local cam = workspace.CurrentCamera
  21675. local char = player.Character
  21676. local Torsoz = char:findFirstChild("Torso")
  21677. local NV = Vector3.new()
  21678. local Main
  21679. local W,S = false,false
  21680. local DoublePress = {nil,0}
  21681. script.Parent = char
  21682.  
  21683. local TrailParts = {}
  21684. local Acceleration = 0.08
  21685. local Speed = 0
  21686. local MinSpeed = 0
  21687. local MaxSpeed = 3.2
  21688. local DesiredDirection = cam.CoordinateFrame.lookVector
  21689. local Direction = DesiredDirection
  21690. local Roll = 0
  21691. local AllowTrails = true
  21692.  
  21693. script.Name = "AdvFlight"
  21694.  
  21695. local P = Instance.new("Part")
  21696. P.Anchored = true
  21697. P.CanCollide = false
  21698. P.Name = "Part"
  21699. P.formFactor = "Custom"
  21700. P.Size = Vector3.new(0.2,0.2,0.2)
  21701. P.Locked = true
  21702. P.TopSurface = 10
  21703. P.BottomSurface = 10
  21704. P.FrontSurface = 10
  21705. P.BackSurface = 10
  21706. P.LeftSurface = 10
  21707. P.RightSurface = 10
  21708. P.Material = "Pebble"
  21709. P.BrickColor = BrickColor.new("White")
  21710.  
  21711. local shipp
  21712. local shadow
  21713. local campart
  21714.  
  21715. function RAY(pos, dir, startpos, endpos, distleft, collidedlist)
  21716. collidedlist = collidedlist or {char}
  21717. startpos = startpos or pos
  21718. distleft = distleft or dir.unit * dir.magnitude
  21719. endpos = endpos or pos + distleft
  21720. local ray = Ray.new(pos, distleft)
  21721. local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
  21722. if hitz ~= nil then
  21723. if hitz.CanCollide == false then
  21724. table.insert(collidedlist, hitz)
  21725. local newpos = enz
  21726. local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
  21727. if newdistleft ~= NV then
  21728. return RAY(newpos-(dir*0.01), dir, startpos, endpos, newdistleft+(dir*0.01), collidedlist)
  21729. end
  21730. end
  21731. end
  21732. return hitz, enz, ray
  21733. end
  21734.  
  21735. function FindSurface(part, position)
  21736. local obj = part.CFrame:pointToObjectSpace(position)
  21737. local siz = part.Size/2
  21738. for i,v in pairs(Enum.NormalId:GetEnumItems()) do
  21739. local vec = Vector3.FromNormalId(v)
  21740. local wvec = part.CFrame:vectorToWorldSpace(vec)
  21741. local vz = (obj)/(siz*vec)
  21742. 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
  21743. return wvec,vec
  21744. end
  21745. end
  21746. if part.className == "WedgePart" then
  21747. return part.CFrame:vectorToWorldSpace(Vector3.new(0,0.707,-0.707)), Vector3.new(0,0.707,-0.707)
  21748. end
  21749. end
  21750.  
  21751. function HSV(H,S,V)
  21752. H = H % 360
  21753. local C = V * S
  21754. local H2 = H/60
  21755. local X = C * (1 - math.abs((H2 %2) -1))
  21756. local color = Color3.new(0,0,0)
  21757. if H2 <= 0 then
  21758. color = Color3.new(C,0,0)
  21759. elseif 0 <= H2 and H2 <= 1 then
  21760. color = Color3.new(C,X,0)
  21761. elseif 1 <= H2 and H2 <= 2 then
  21762. color = Color3.new(X,C,0)
  21763. elseif 2 <= H2 and H2 <= 3 then
  21764. color = Color3.new(0,C,X)
  21765. elseif 3 <= H2 and H2 <= 4 then
  21766. color = Color3.new(0,X,C)
  21767. elseif 4 <= H2 and H2 <= 5 then
  21768. color = Color3.new(X,0,C)
  21769. elseif 5 <= H2 and H2 <= 6 then
  21770. color = Color3.new(C,0,X)
  21771. end
  21772. local m = V - C
  21773. return Color3.new(color.r + m, color.g + m, color.b + m)
  21774. end
  21775.  
  21776. function Build(shiptype)
  21777. AllowTrails = true
  21778. for i, v in pairs(char:children()) do
  21779. if v.className == "Model" and v.Name == "Ship" then
  21780. v:remove()
  21781. end
  21782. end
  21783. for i, v in pairs(TrailParts) do
  21784. for _,V in pairs(v[3]) do
  21785. V:Destroy()
  21786. end
  21787. end
  21788. local mdl = Instance.new("Model", char)
  21789. mdl.Name = "Ship"
  21790.  
  21791. ------------------------ Speeder Ship Type -----------------------------
  21792. if shiptype == "Speeder" then
  21793.  
  21794. shipp = P:Clone()
  21795. shipp.Parent = mdl
  21796. shipp.Size = Vector3.new(1,1,2.2)
  21797. local shipwing1 = P:Clone()
  21798. shipwing1.Parent = mdl
  21799. shipwing1.Size = Vector3.new(0.6,1.2,2)
  21800. local mesh = Instance.new("SpecialMesh", shipwing1)
  21801. mesh.MeshType = "Wedge"
  21802. local shipwing2 = shipwing1:Clone()
  21803. shipwing2.Parent = mdl
  21804. campart = P:Clone()
  21805. campart.Transparency = 1
  21806. local shipwing21 = P:Clone()
  21807. shipwing21.Parent = mdl
  21808. shipwing21.Size = Vector3.new(0.32,1.1,2.6)
  21809. local mesh = Instance.new("SpecialMesh", shipwing21)
  21810. mesh.MeshType = "Wedge"
  21811. local shipwing22 = shipwing21:Clone()
  21812. shipwing22.Parent = mdl
  21813. campart = P:Clone()
  21814. campart.Transparency = 1
  21815.  
  21816. local shipwi = P:Clone()
  21817. shipwi.Parent = mdl
  21818. shipwi.Size = Vector3.new(1,1,1.2)
  21819. local mesh = Instance.new("SpecialMesh", shipwi)
  21820. mesh.MeshType = "Wedge"
  21821. local shipwi2 = P:Clone()
  21822. shipwi2.Parent = mdl
  21823. shipwi2.Size = Vector3.new(0.7,0.7,0.84)
  21824. shipwi2.Material = "SmoothPlastic"
  21825. shipwi2.BrickColor = BrickColor.new("Pastel blue")
  21826. shipwi2.Reflectance = 0.6
  21827. local mesh = Instance.new("SpecialMesh", shipwi2)
  21828. mesh.MeshType = "Wedge"
  21829.  
  21830. shadow = P:Clone()
  21831. shadow.Parent = mdl
  21832. shadow.Name = "Shadow"
  21833. shadow.Material = "SmoothPlastic"
  21834. shadow.BrickColor = BrickColor.new("Really black")
  21835. local mesh = Instance.new("SpecialMesh",shadow)
  21836. mesh.MeshType = "Sphere"
  21837.  
  21838. TrailParts = {}
  21839. table.insert(TrailParts,{shipp,1,{},cam.CoordinateFrame.p,CFrame.new(0,0,1),0.5,18})
  21840. table.insert(TrailParts,{shipwing1,1,{},cam.CoordinateFrame.p,CFrame.new(0,0.45,1),0.3,15})
  21841. table.insert(TrailParts,{shipwing2,1,{},cam.CoordinateFrame.p,CFrame.new(0,0.45,1),0.3,15})
  21842. for _, V in pairs(TrailParts) do
  21843. for i = 1, V[7] do
  21844. local p = P:Clone()
  21845. local mesh = Instance.new("SpecialMesh", p)
  21846. mesh.MeshId = "http://www.roblox.com/asset/?id=9856898"
  21847. mesh.TextureId = "http://www.roblox.com/asset/?id=48358980"
  21848. p.BrickColor = BrickColor.new("Dark stone grey")
  21849. table.insert(V[3],p)
  21850. end
  21851. end
  21852.  
  21853. function ReposParts()
  21854. shipwing1.CFrame = shipp.CFrame * CFrame.new(-1.1,-0.195,-0.14) * CFrame.Angles(0,0,math.pi/2)
  21855. shipwing2.CFrame = shipp.CFrame * CFrame.new(1.1,-0.195,-0.14) * CFrame.Angles(0,0,-math.pi/2)
  21856. shipwing21.CFrame = shipp.CFrame * CFrame.new(-1.05,-0.34,-0.45) * CFrame.Angles(0,0,math.pi/2)
  21857. shipwing22.CFrame = shipp.CFrame * CFrame.new(1.05,-0.34,-0.45) * CFrame.Angles(0,0,-math.pi/2)
  21858. shipwi.CFrame = shipp.CFrame * CFrame.new(0,0,-1.7)
  21859. shipwi2.CFrame = shipwi.CFrame * CFrame.new(0,0.015,-0.015)
  21860. campart.CFrame = shipp.CFrame + Vector3.new(0,1.5,0)
  21861. end
  21862. cam.CameraSubject = campart
  21863. cam.CameraType = "Track"
  21864.  
  21865. shipp.CFrame = CFrame.new(NV,Direction) + cam.CoordinateFrame.p
  21866. ReposParts()
  21867.  
  21868. end
  21869.  
  21870. AllowTrails = true
  21871. end
  21872. Build("Speeder")
  21873.  
  21874. function B1D()
  21875. Build("Speeder")
  21876. end
  21877.  
  21878. function RollThatSht(direc)
  21879. if Roll == 0 then
  21880. for i = 1, 50 do
  21881. Roll = (-360 + math.cos(math.pi/50*i) * 360) * direc
  21882. wait(0.02)
  21883. end
  21884. Roll = 0
  21885. end
  21886. end
  21887.  
  21888. function KD(key)
  21889. if key == "w" then
  21890. W = true
  21891. elseif key == "s" then
  21892. S = true
  21893. end
  21894.  
  21895. local rollpls = 0
  21896. if key == DoublePress[1] and tick() - DoublePress[2] < 0.32 then
  21897. DoublePress = {nil,0}
  21898. if key == "a" then
  21899. rollpls = -1
  21900. elseif key == "d" then
  21901. rollpls = 1
  21902. end
  21903. end
  21904.  
  21905. DoublePress = {key,tick()}
  21906. if rollpls ~= 0 then
  21907. RollThatSht(rollpls)
  21908. end
  21909. end
  21910.  
  21911. function KU(key)
  21912. if key == "w" then
  21913. W = false
  21914. elseif key == "s" then
  21915. S = false
  21916. end
  21917. end
  21918.  
  21919. function Equip()
  21920. end
  21921.  
  21922. function Unequip()
  21923. end
  21924.  
  21925. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  21926. mouse.Button1Down:connect(B1D)
  21927. mouse.KeyDown:connect(KD)
  21928. mouse.KeyUp:connect(KU)
  21929.  
  21930.  
  21931.  
  21932. local count = 0
  21933. local hue = 0
  21934. --game:GetService("RunService").Stepped:connect(function()
  21935. while wait(0.02) do
  21936.  
  21937. ------ Speed --------
  21938. local valu = (0.002*MaxSpeed) + ((Speed/MaxSpeed)*Acceleration)
  21939. if W == true then
  21940. Speed = Speed + valu
  21941. elseif S == true then
  21942. Speed = Speed - valu
  21943. end
  21944. if Speed > MaxSpeed then
  21945. Speed = MaxSpeed
  21946. elseif Speed < MinSpeed then
  21947. Speed = MinSpeed
  21948. end
  21949.  
  21950. ------ left/right tilt ---------
  21951. local target = 180 + math.floor(math.deg(math.atan2(DesiredDirection.x,DesiredDirection.z)))
  21952. local current = 180 + math.floor(math.deg(math.atan2(Direction.x,Direction.z)))
  21953. local swing = 0
  21954. if math.abs(math.abs(current-target) - 360) > math.abs(target-current) then
  21955. swing = target-current
  21956. else
  21957. swing = (current > target and -(math.abs(current-target) - 360)) or (current < target and math.abs(current-target) - 360)
  21958. end
  21959.  
  21960. DesiredDirection = cam.CoordinateFrame.lookVector
  21961. ------ direction smoothening ------
  21962. local dir = DesiredDirection.unit
  21963. if Direction ~= dir then
  21964. if (Direction - dir).magnitude < 0.01 then
  21965. Direction = dir
  21966. else
  21967. local dist = ((dir - Direction).unit * (dir - Direction).magnitude) /10
  21968. Direction = (Direction + dist).unit
  21969. end
  21970. end
  21971.  
  21972. shipp.CFrame = (CFrame.new(NV,Direction) + shipp.Position + (Direction.unit * Speed)) * CFrame.Angles(0,0,math.rad(Roll) + math.rad(swing/2))
  21973. ReposParts()
  21974.  
  21975. ------ shadow ------
  21976. local ghitz, genz = RAY(shipp.Position,Vector3.new(0,-26,0))
  21977. local angles = CFrame.new()
  21978. 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
  21979. local wvec,vec = FindSurface(ghitz,genz)
  21980. angles = CFrame.new(NV,wvec) * CFrame.Angles(-math.pi/2,0,0)
  21981. elseif ghitz ~= nil and (ghitz.className == "Part" and ghitz.Shape == Enum.PartType.Ball) then
  21982. angles = (CFrame.new(ghitz.Position, genz) - ghitz.Position) * CFrame.Angles(-math.pi/2,0,0)
  21983. end
  21984. shadow.CFrame = CFrame.new(genz) * angles
  21985. shadow.Transparency = 0.5 + (((shipp.Position - genz).magnitude /26)*0.5)
  21986. shadow.Mesh.Scale = (Vector3.new(4.4,0.25,4.4) * 5) * (1-(shipp.Position - genz).magnitude /26)
  21987.  
  21988. ------- Trails -----------------------
  21989. if AllowTrails == true then
  21990. count = (count+1)%1
  21991. hue = (hue+1) % 360
  21992. local rgb = HSV(hue,0.65,0.85)
  21993. for _,v in pairs(TrailParts) do
  21994. local to = (v[1].CFrame * v[5]).p
  21995. if Speed > MinSpeed + 0.2 then
  21996. v[2] = (v[2]%#v[3]) + 1
  21997. 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)
  21998. v[3][v[2]].Mesh.Scale = Vector3.new(v[6],(v[4] - to).magnitude*2,v[6])
  21999. v[3][v[2]].Mesh.VertexColor = Vector3.new(rgb.r,rgb.g,rgb.b)
  22000. v[3][v[2]].Transparency = 0.15
  22001. v[3][v[2]].Parent = game.Players.LocalPlayer.Character
  22002. else
  22003. v[2] = (v[2]%#v[3]) + 1
  22004. v[3][v[2]].Parent = nil
  22005. end
  22006.  
  22007. v[4] = to
  22008. end
  22009. end
  22010.  
  22011. end
  22012. --end)
  22013.  
  22014. -- 138098590 -- plane destroyed sound
  22015. -- 133082569 -- propeller 2
  22016. -- 135645246 -- propeller 1
  22017. --[[ Possible Game names
  22018. Aeroscape
  22019. Airbound
  22020. Aerialtude
  22021. ]]
  22022.         end)
  22023. --
  22024. local button = Instance.new("TextButton")
  22025.         button.Parent = ws
  22026.         button.BackgroundColor3 = blak
  22027.         button.BorderColor3 = rede
  22028.         button.BorderSizePixel = 3
  22029.         button.Name = "Snowball"
  22030.         button.Position = UDim2.new(0,0,0,165)
  22031.         button.Size = UDim2.new(0.5,0,0,30)
  22032.         button.ZIndex = 2
  22033.         button.Font = tef
  22034.         button.FontSize = "Size14"
  22035.         button.Text = "Snowball"
  22036.         button.TextColor3 = whit
  22037.                 button.MouseButton1Down:connect(function()
  22038.                 repeat wait() until game:GetService("Players").LocalPlayer.Character ~= nil;
  22039. wait(0.5)
  22040.  
  22041. S = Instance.new("Model")
  22042. S.Name = "ValueChanger1"
  22043. S.Parent = Game.Workspace
  22044. --- vars ---
  22045. local player = game:GetService("Players").LocalPlayer
  22046. local repstor = game:GetService("ReplicatedStorage")
  22047. local mouse = player:GetMouse()
  22048. local char = player.Character
  22049. local Hu = char.Humanoid
  22050. local Gui = player:WaitForChild("PlayerGui")
  22051. local Torsoz = char:findFirstChild("Torso")
  22052. local HRP = char:findFirstChild("HumanoidRootPart")
  22053. local HRJ = HRP:findFirstChild("RootJoint")
  22054. local RA = char:findFirstChild("Right Arm")
  22055. local LA = char:findFirstChild("Left Arm")
  22056. local RL = char:findFirstChild("Right Leg")
  22057. local LL = char:findFirstChild("Left Leg")
  22058. local H = char:findFirstChild("Head")
  22059. local RS = Torsoz:findFirstChild("Right Shoulder")
  22060. local LS = Torsoz:findFirstChild("Left Shoulder")
  22061. local RH = Torsoz:findFirstChild("Right Hip")
  22062. local LH = Torsoz:findFirstChild("Left Hip")
  22063. local N = Torsoz:findFirstChild("Neck")
  22064. local NV = Vector3.new()
  22065. local Main
  22066. local SPB,SPF,SPC,SnowPart
  22067. local SPCP = 0
  22068. local Animating = false
  22069. local Walkspeed = 16
  22070. local Shift, Alt, Space, MouseDown = false, false, false, false
  22071. local ThrowingSequence = false
  22072. local SlideCooldown = 0
  22073. local SnowballProjectiles, SnowSplosionEffects = {}, {}
  22074. local disableJump = false
  22075.  
  22076. local AnimSpeeds = {
  22077. 0.5; -- idle
  22078. 5; -- walking
  22079. 6.5; -- running
  22080. 7; -- jumping
  22081. 7; -- falling
  22082. }  
  22083.  
  22084. for i, v in pairs(char:children()) do
  22085. if v.Name == "Cheese" then
  22086. v:remove()
  22087. end
  22088. end
  22089. script.Parent = char
  22090. script.Name = "Cheese"
  22091.  
  22092. ------------ animation funcs & other things ---------------
  22093. local P = Instance.new("Part")
  22094. P.Anchored = false
  22095. P.CanCollide = false
  22096. P.Name = "Part"
  22097. P.formFactor = "Custom"
  22098. P.Size = Vector3.new(0.2,0.2,0.2)
  22099. P.Locked = true
  22100. P.TopSurface = 10
  22101. P.BottomSurface = 10
  22102. P.FrontSurface = 10
  22103. P.BackSurface = 10
  22104. P.LeftSurface = 10
  22105. P.RightSurface = 10
  22106.  
  22107. function GetWeld(weld)
  22108. if weld:findFirstChild("WeldAngle") == nil then
  22109. local a = Instance.new("Vector3Value", weld)
  22110. a.Name = "WeldAngle"
  22111. end
  22112. return weld.C0.p, weld.WeldAngle.Value
  22113. end
  22114.  
  22115. function SetWeld(weld, i, loops, origpos,origangle, nextpos,nextangle,smooth)
  22116. smooth = smooth or 1
  22117. if weld:findFirstChild("WeldAngle") == nil then
  22118. local a = Instance.new("Vector3Value", weld)
  22119. a.Name = "WeldAngle"
  22120. end
  22121.  
  22122. local perc = (smooth == 1 and math.sin((math.pi/2)/loops*i)) or i/loops
  22123.  
  22124. local tox,toy,toz = 0,0,0
  22125. tox = math.abs(origangle.x - nextangle.x) *perc
  22126. toy = math.abs(origangle.y - nextangle.y) *perc
  22127. toz = math.abs(origangle.z - nextangle.z) *perc
  22128. tox = (origangle.x > nextangle.x and -tox) or tox
  22129. toy = (origangle.y > nextangle.y and -toy) or toy
  22130. toz = (origangle.z > nextangle.z and -toz) or toz
  22131.  
  22132. local tox2,toy2,toz2 = 0,0,0
  22133. tox2 = math.abs(origpos.x - nextpos.x) *perc
  22134. toy2 = math.abs(origpos.y - nextpos.y) *perc
  22135. toz2 = math.abs(origpos.z - nextpos.z) *perc
  22136. tox2 = (origpos.x > nextpos.x and -tox2) or tox2
  22137. toy2 = (origpos.y > nextpos.y and -toy2) or toy2
  22138. toz2 = (origpos.z > nextpos.z and -toz2) or toz2
  22139.  
  22140. weld.WeldAngle.Value = Vector3.new(origangle.x + tox, origangle.y + toy, origangle.z + toz)
  22141. weld.C0 = CFrame.new(origpos.x + tox2,origpos.y + toy2,origpos.z + toz2) * CFrame.Angles(origangle.x + tox,origangle.y + toy,origangle.z + toz)
  22142. end
  22143.  
  22144. function RAY(pos, dir, startpos, endpos, distleft, collidedlist)
  22145. collidedlist = collidedlist or {char}
  22146. startpos = startpos or pos
  22147. distleft = distleft or dir.unit * dir.magnitude
  22148. endpos = endpos or pos + distleft
  22149. local ray = Ray.new(pos, distleft)
  22150. local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
  22151. if hitz ~= nil then
  22152. if hitz.CanCollide == false then
  22153. table.insert(collidedlist, hitz)
  22154. local newpos = enz
  22155. local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
  22156. if newdistleft ~= NV then
  22157. return RAY(newpos-(dir*0.01), dir, startpos, endpos, newdistleft+(dir*0.01), collidedlist)
  22158. end
  22159. end
  22160. end
  22161. return hitz, enz, ray
  22162. end
  22163.  
  22164. function ChangeValue(obj,type,value)
  22165. local val = Instance.new("ObjectValue")
  22166. val.Name = type
  22167. val.Value = obj
  22168. local val2 = Instance.new("NumberValue",val)
  22169. val2.Name = "value"
  22170. val2.Value = value
  22171. if type == "PingTestIncrement" then
  22172. local val3 = Instance.new("NumberValue",val)
  22173. val3.Name = "time"
  22174. val3.Value = repstor.TickTimer.Value
  22175. end
  22176. val.Parent = workspace.ValueChanger1
  22177. end
  22178.  
  22179. function SnowballHit(part,pos,power)
  22180. if part.Parent:findFirstChild("Humanoid") then
  22181. local dmg = (45*power) - math.random(1,4)
  22182. dmg = power > 0.99 and dmg*1.25 or dmg
  22183. print("Damaging",part.Parent.Name,"by",dmg)
  22184. part.Parent.Humanoid.Health = -dmg
  22185. end
  22186. SnowSplosion(pos)
  22187. end
  22188.  
  22189. function SnowSplosion(pos)
  22190. local spmdl = Instance.new("Model", char)
  22191. spmdl.Name = "SnoSplosion"
  22192. for i = 1, 14 do
  22193. local p = P:Clone()
  22194. p.Parent = spmdl
  22195. p.Name = "Effect"
  22196. p.Anchored = true
  22197. p.BrickColor = BrickColor.new("White")
  22198. p.CFrame = CFrame.new(pos) * CFrame.Angles(0,(math.pi*2)*math.random(),(math.pi*2)*math.random()) * CFrame.new(0.05,0,0)
  22199. p.Transparency = 0.2
  22200. local mesh = Instance.new("SpecialMesh",p)
  22201. mesh.MeshType = "Sphere"
  22202. mesh.Scale = Vector3.new(5,2,2)
  22203. end
  22204. table.insert(SnowSplosionEffects,spmdl)
  22205. end
  22206. ----------------------------------
  22207.  
  22208. ---- value setup ---------
  22209.  
  22210. local pose = Instance.new("IntValue", script)
  22211. pose.Name = "pose"
  22212. pose.Value = 0
  22213. local invoke = Instance.new("IntValue", script)
  22214. invoke.Name = "invoke"
  22215. invoke.Value = 0
  22216. local snowballs = Instance.new("IntValue", script)
  22217. snowballs.Name = "snowballs"
  22218. snowballs.Value = 8
  22219. local Main = Instance.new("ObjectValue", script)
  22220. Main.Name = "Main"
  22221.  
  22222. for i, v in pairs(char:GetChildren()) do
  22223. if v.Name == "health" and v.className == "NumberValue" then
  22224. v:Destroy()
  22225. end
  22226. end
  22227. local health = Instance.new("NumberValue", char)
  22228. health.Name = "health"
  22229. health.Value = 100
  22230. health.Changed:connect(function()
  22231. if health.Value <= 0 then
  22232. char:BreakJoints()
  22233. end
  22234. end)
  22235.  
  22236. snowballs.Changed:connect(function()
  22237. snowballs.Value = snowballs.Value > 8 and 8 or snowballs.Value
  22238. snowballs.Value = snowballs.Value < 0 and 0 or snowballs.Value
  22239. local percentage = snowballs.Value/8
  22240. SnowPart.Mesh.Scale = Vector3.new(0.71,0.6*percentage,0.71) *5
  22241. SnowPart.Weld.C0 = CFrame.new(0,-0.08 - (0.3*(1-percentage)),0)
  22242. SnowPart.Transparency = percentage == 0 and 1 or 0
  22243. end)
  22244.  
  22245. player.Chatted:connect(function(msg)
  22246. if string.sub(msg:lower(),1,5) == "pose/" then
  22247. pose.Value = tonumber(string.sub(msg,6))
  22248. elseif string.sub(msg:lower(),1,7) == "invoke/" then
  22249. invoke.Value = tonumber(string.sub(msg,8))
  22250. elseif msg == "replenish" then
  22251. snowballs.Value = 8
  22252. end
  22253. end)
  22254.  
  22255. ------ designs -------------
  22256. function Build()
  22257. for i, v in pairs(char:children()) do
  22258. if v.Name == "Mozzarella" then
  22259. v:Destroy()
  22260. end
  22261. end
  22262. local m = Instance.new("Model", script)
  22263. m.Name = "Mozzarella"
  22264.  
  22265. local b = P:Clone()
  22266. b.Parent = m
  22267. b.Name = "Bag"
  22268. b.BrickColor = BrickColor.new("Lime green")
  22269. b.Transparency = 1
  22270. local mesh = Instance.new("SpecialMesh",b)
  22271. mesh.MeshType = "Brick"
  22272. mesh.Scale = Vector3.new(0.8,0.6,0.8) *5
  22273. local w = Instance.new("Weld",b)
  22274. w.Part0 = RL
  22275. w.Part1 = b
  22276. w.C0 = CFrame.new(0.82,0.5,0)
  22277.  
  22278. for i = 1, 10 do
  22279. local p = P:Clone()
  22280. p.Parent = m
  22281. p.Name = "BagPart"
  22282. p.BrickColor = BrickColor.new("Dark orange")
  22283. p.Material = "Fabric"
  22284. local mesh = Instance.new("SpecialMesh",p)
  22285. mesh.MeshType = "Brick"
  22286. mesh.Scale = Vector3.new(0.1,0.4,0.26) *5
  22287. local w = Instance.new("Weld",p)
  22288. w.Part0 = b
  22289. w.Part1 = p
  22290. w.C1 = CFrame.new(0.35,0.004*(i%2),0)
  22291. w.C0 = CFrame.new(0,0.1,0) * CFrame.Angles(0,math.pi*2/10*i,0)
  22292.  
  22293. if i%2 == 0 then
  22294. for j = 0, 6 do
  22295. local mathi = math.sin(math.pi/2 + (math.pi/5*j))
  22296. local p = P:Clone()
  22297. p.Parent = m
  22298. p.Name = "BagPart"
  22299. p.BrickColor = BrickColor.new("Dark orange")
  22300. p.Material = "Fabric"
  22301. local mesh = Instance.new("SpecialMesh",p)
  22302. mesh.MeshType = "Brick"
  22303. mesh.Scale = Vector3.new(0.1,0.22,0.26*mathi) *5
  22304. local w = Instance.new("Weld",p)
  22305. w.Part0 = b
  22306. w.Part1 = p
  22307. w.C1 = CFrame.new(0.35,0,0)
  22308. w.C0 = CFrame.new(0,-0.2,0) * CFrame.Angles(0,math.pi*2/10*i,math.pi/6*j)
  22309. end
  22310. end
  22311. end
  22312.  
  22313. local s = P:Clone()
  22314. s.Parent = m
  22315. s.Name = "Snow"
  22316. s.BrickColor = BrickColor.new("White")
  22317. s.Transparency = 0
  22318. s.Material = "Sand"
  22319. local mesh = Instance.new("CylinderMesh",s)
  22320. mesh.Scale = Vector3.new(0.71,0.6,0.71) *5
  22321. local w = Instance.new("Weld",s)
  22322. w.Part0 = b
  22323. w.Part1 = s
  22324. w.C0 = CFrame.new(0,-0.08,0)
  22325. SnowPart = s
  22326.  
  22327. end
  22328. Build()
  22329. --------------------------------
  22330.  
  22331.  
  22332. -------------- snowball power charge gui ----------------------------
  22333. function CreateGui()
  22334. for i, v in pairs(Gui:GetChildren()) do
  22335. if v.Name == "SnowballPower" then
  22336. v:Destroy()
  22337. end
  22338. end
  22339. local g = Instance.new("ScreenGui", Gui)
  22340. g.Name = "SnowballPower"
  22341. local f = Instance.new("Frame",g)
  22342. f.Name = "Container"
  22343. f.Size = UDim2.new(0,30,0,110)
  22344. f.Position = UDim2.new(1,10,0.5,-55)
  22345. f.Transparency = 0
  22346. f.BackgroundColor3 = Color3.new(0.45,0.35,0.25)
  22347. f.BorderColor3 = Color3.new(0.55,0.45,0.35)
  22348. f.BorderSizePixel = 3
  22349. f.Archivable = false
  22350. f.ZIndex = 0
  22351. SPC = f
  22352. local b = Instance.new("Frame",f)
  22353. b.Name = "Backing"
  22354. b.Size = UDim2.new(0,20,0,100)
  22355. b.Position = UDim2.new(0.5,-10,0.5,-50)
  22356. b.BorderSizePixel = 0
  22357. b.BackgroundColor3 = Color3.new(0.1,0.45,0.01)
  22358. b.ZIndex = 1
  22359. SPB = b
  22360. local fr = b:Clone()
  22361. fr.Parent = b
  22362. fr.Size = UDim2.new(1,0,0.5,0)
  22363. fr.Position = UDim2.new(0,0,0.5,0)
  22364. fr.BackgroundColor3 = Color3.new(0.1,0.65,0.01)
  22365. SPF = fr
  22366.  
  22367. end
  22368. CreateGui()
  22369.  
  22370. -------------- limb setup ---------------
  22371. pcall(function() char.Animate:Destroy() end)
  22372.  
  22373. SetWeld(RS,1,1,NV,NV,Vector3.new(1.5,0.5,0),NV)
  22374. RS.C1 = CFrame.new(0,0.5,0)
  22375.  
  22376. SetWeld(LS,1,1,NV,NV,Vector3.new(-1.5,0.5,0),NV)
  22377. LS.C1 = CFrame.new(0,0.5,0)
  22378.  
  22379. SetWeld(RH,1,1,NV,NV,Vector3.new(0.5,-1,0),NV)
  22380. RH.C1 = CFrame.new(0,1,0)
  22381.  
  22382. SetWeld(LH,1,1,NV,NV,Vector3.new(-0.5,-1,0),NV)
  22383. LH.C1 = CFrame.new(0,1,0)
  22384.  
  22385. SetWeld(N,1,1,NV,NV,Vector3.new(0,1,0),NV)
  22386. N.C1 = CFrame.new(0,-0.5,0)
  22387.  
  22388. SetWeld(HRJ,1,1,NV,NV,NV,NV)
  22389. HRJ.C1 = CFrame.new(0,0,0)
  22390.  
  22391. wait(1)
  22392. RS.MaxVelocity = 0
  22393. RS.CurrentAngle = 0
  22394. RS.DesiredAngle = 0
  22395. LS.MaxVelocity = 0
  22396. LS.CurrentAngle = 0
  22397. LS.DesiredAngle = 0
  22398. RH.MaxVelocity = 0
  22399. RH.CurrentAngle = 0
  22400. RH.DesiredAngle = 0
  22401. LH.MaxVelocity = 0
  22402. LH.CurrentAngle = 0
  22403. LH.DesiredAngle = 0
  22404. N.MaxVelocity = 0
  22405. N.CurrentAngle = 0
  22406. N.DesiredAngle = 0
  22407. HRJ.MaxVelocity = 0
  22408. HRJ.CurrentAngle = 0
  22409. HRJ.DesiredAngle = 0
  22410.  
  22411. -----------------
  22412.  
  22413. ----- value changed connections ----
  22414. Main.Changed:connect(function()
  22415. if Main.Value ~= nil then
  22416. main,maina = GetWeld(Main.Value)
  22417. else
  22418. main,maina = nil,nil
  22419. end
  22420. end)
  22421.  
  22422. Hu.Changed:connect(function()
  22423. if disableJump or DisableMovement then
  22424. Hu.Jump = false
  22425. end
  22426. end)
  22427.  
  22428. ------- Keys & Mouse ---------------
  22429. function B1D()
  22430. MouseDown = true
  22431. if not Animating then
  22432. script.invoke.Value = 1
  22433. else
  22434. while Animating do
  22435. wait()
  22436. end
  22437. if MouseDown then
  22438. script.invoke.Value = 1
  22439. end
  22440. end
  22441. end
  22442. function B1U()
  22443. MouseDown = false
  22444. end
  22445. mouse.Button1Down:connect(B1D)
  22446. mouse.Button1Up:connect(B1U)
  22447.  
  22448. function KD(key)
  22449. if key == "0" then
  22450. Shift = true
  22451. if pose.Value == 1 then
  22452. pose.Value = 0
  22453. disableJump = false
  22454. end
  22455. elseif key == "4" then
  22456. Alt = true
  22457. if not Animating and SlideCooldown == 0 then
  22458. invoke.Value = 3
  22459. else
  22460. while Animating or SlideCooldown > 0 do
  22461. wait()
  22462. end
  22463. if Alt then
  22464. invoke.Value = 3
  22465. end
  22466. end
  22467. elseif key == "2" then
  22468. if not ThrowingSequence then
  22469. if pose.Value == 0 then
  22470. pose.Value = 1
  22471. disableJump = true
  22472. elseif pose.Value == 1 then
  22473. pose.Value = 0
  22474. disableJump = false
  22475. end
  22476. end
  22477. elseif key == string.char(32) then
  22478. Space = true
  22479. if pose.Value == 1 then
  22480. if not Animating then
  22481. invoke.Value = 2
  22482. else
  22483. while Animating do
  22484. wait()
  22485. end
  22486. if Space and pose.Value == 1 then
  22487. invoke.Value = 2
  22488. end
  22489. end
  22490. end
  22491. end
  22492. end
  22493.  
  22494. function KU(key)
  22495. if key == "0" then
  22496. Shift = false
  22497. elseif key == "4" then
  22498. Alt = false
  22499. elseif key == string.char(32) then
  22500. Space = false
  22501. end
  22502. end
  22503.  
  22504. mouse.KeyDown:connect(KD)
  22505. mouse.KeyUp:connect(KU)
  22506.  
  22507. local count1 = 0
  22508. local angle = 0
  22509. local slidecount = 1
  22510. local slidecountmax = 1
  22511. local countspeed = 0.5
  22512. local cancella = false
  22513. local cancelra = false
  22514. local cancelrl = false
  22515. local cancelll = false
  22516. local canceln = false
  22517. local cancelhrp = false
  22518. local cancelmain = false
  22519. local anim = 0
  22520. local lastanim = -1
  22521. local lastpose = 0
  22522. local rs,rsa, ls,lsa, rh,rha, lh,lha, n,na, hrj,hrja, main,maina
  22523. local ghitz,genz
  22524. local prevvelocity = HRP.Velocity
  22525.  
  22526. function UpdateWP(max,sped)
  22527. max = max or 5
  22528. sped = sped or AnimSpeeds[anim+1]
  22529. rs,rsa = GetWeld(RS)
  22530. ls,lsa = GetWeld(LS)
  22531. rh,rha = GetWeld(RH)
  22532. lh,lha = GetWeld(LH)
  22533. n,na = GetWeld(N)
  22534. hrj,hrja = GetWeld(HRJ)
  22535. if Main.Value ~= nil then
  22536. main,maina = GetWeld(Main.Value)
  22537. end
  22538. slidecount = 0
  22539. slidecountmax = max
  22540. countspeed = sped
  22541. end
  22542.  
  22543. UpdateWP()
  22544. -------------- Invoke Animations -------------------------
  22545. function Throw()
  22546. if not Animating and snowballs.Value > 0 then
  22547. Animating = true
  22548. ThrowingSequence = true
  22549. pose.Value = 0
  22550. disableJump = false
  22551. ----- sword slash ------
  22552. cancelra = true
  22553. cancella = true
  22554. cancelhrp = true
  22555. canceln = true
  22556. cancelmain = true
  22557. local prevslidecount = slidecount
  22558. UpdateWP(slidecountmax,countspeed)
  22559. slidecount = prevslidecount
  22560.  
  22561. local phase = 0
  22562. local smdl = Instance.new("Model",char)
  22563. smdl.Name = "SnowBall"
  22564. local ball,weld
  22565. for i = 1, 17 do
  22566. if MouseDown then
  22567. if i <= 7 then
  22568. SetWeld(N,i,7,n,na,Vector3.new(0,1,0),Vector3.new(-0.3,-math.pi/8,0))
  22569. SetWeld(HRJ,i,7,hrj,hrja,Vector3.new(0,0,0.1),Vector3.new(0,-math.pi/20,0))
  22570. SetWeld(RS,i,7,rs,rsa,Vector3.new(1.5,0.26,0),Vector3.new(-0.2,0,-0.1))
  22571. SetWeld(LS,i,7,ls,lsa,Vector3.new(-1.5,0.525,-0.01),Vector3.new(-0.25,0,-0.12))
  22572. phase = 1
  22573. if i == 7 then
  22574. UpdateWP(slidecountmax,countspeed)
  22575. ChangeValue(snowballs,"Increment",-1)
  22576. ball = P:Clone()
  22577. ball.Parent = smdl
  22578. ball.BrickColor = BrickColor.new("White")
  22579. ball.Material = "Sand"
  22580. local mesh = Instance.new("SpecialMesh",ball)
  22581. mesh.MeshType = "Sphere"
  22582. mesh.Scale = Vector3.new(0.8,0.8,0.8) *5
  22583. weld = Instance.new("Weld",ball)
  22584. weld.Part0 = RA
  22585. weld.Part1 = ball
  22586. weld.C0 = CFrame.new(0,-1.3,0)
  22587. end
  22588. else
  22589. SetWeld(N,i-7,10,n,na,Vector3.new(0,1,0),Vector3.new(0.03,math.pi/9,0))
  22590. SetWeld(HRJ,i-7,10,hrj,hrja,Vector3.new(0,0,0.1),Vector3.new(0,-math.pi/8,0))
  22591. SetWeld(RS,i-7,10,rs,rsa,Vector3.new(1.4,0.5,0),Vector3.new(math.pi*1.05,0,0.2))
  22592. SetWeld(LS,i-7,10,ls,lsa,Vector3.new(-1.3,0.42,-0.1),Vector3.new(math.pi/4,0,-math.pi/8))
  22593. if i == 9 then
  22594. SPC.Archivable = true
  22595. SPB.BackgroundColor3 = Color3.new(0.45,0.1,0.01)
  22596. SPF.BackgroundColor3 = Color3.new(0.65,0.1,0.01)
  22597. SPF.Size = UDim2.new(1,0,0,0)
  22598. SPF.Position = UDim2.new(0,0,1,0)
  22599. end
  22600. phase = 2
  22601. end
  22602. wait(0.02)
  22603. end
  22604. end
  22605. local rs2,rsa2 = GetWeld(RS)
  22606. local ls2,lsa2 = GetWeld(LS)
  22607. local n2,na2 = GetWeld(N)
  22608. local hrj2,hrja2 = GetWeld(HRJ)
  22609.  
  22610. local powercounter = 20
  22611. local power = 0
  22612. while MouseDown do
  22613. powercounter = (powercounter%40) + 1
  22614. power = 1 - math.sin(math.pi/40*powercounter)
  22615. SPB.BackgroundColor3 = Color3.new((1-power)*0.35 +0.1,power*0.35 +0.1,0.01)
  22616. SPF.BackgroundColor3 = Color3.new((1-power)*0.55 +0.1,power*0.55 +0.1,0.01)
  22617. SPF.Size = UDim2.new(1,0,power,0)
  22618. SPF.Position = UDim2.new(0,0,1-power,0)
  22619. SetWeld(RS,power,1,rs2,rsa2,Vector3.new(1.4,0.6,0.05),Vector3.new(math.pi*1.17,0,0.3))
  22620. SetWeld(LS,power,1,ls2,lsa2,Vector3.new(-1.3,0.42,-0.16),Vector3.new(math.pi/2.45,0,-math.pi/5))
  22621. SetWeld(N,power,1,n2,na2,Vector3.new(0,1,0),Vector3.new(0.07,math.pi/8,-0.04))
  22622. SetWeld(HRJ,power,1,hrj2,hrja2,Vector3.new(0,0,0.1),Vector3.new(0,-math.pi/7,0))
  22623. phase = 3
  22624. wait(0.02)
  22625. end
  22626. SPC.Archivable = false
  22627. print("Phase:",phase)
  22628. rs2,rsa2 = GetWeld(RS)
  22629. ls2,lsa2 = GetWeld(LS)
  22630. n2,na2 = GetWeld(N)
  22631. hrj2,hrja2 = GetWeld(HRJ)
  22632.  
  22633. if phase == 1 or phase == 2 then
  22634. smdl:Destroy()
  22635. ChangeValue(snowballs,"Increment",1)
  22636. elseif phase == 3 then
  22637. print("Throwing with "..string.sub(tostring(power*100),1,5).."% power!")
  22638. local mousepos = mouse.Hit.p
  22639. for i = 1, 8 do
  22640. 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))
  22641. 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))
  22642. SetWeld(N,i,8,n2,na2,Vector3.new(0,1,0),Vector3.new(-0.07,-math.pi/11 - (0.3*power),-0.04))
  22643. SetWeld(HRJ,i,8,hrj2,hrja2,Vector3.new(0,0,0.1),Vector3.new(0,(math.pi/10)+(0.3*power),0))
  22644. if i == 2 then
  22645. weld:Destroy()
  22646. ball.Anchored = true
  22647. --- {part,gravity,currentgravity,direction,speed,power,counter,{parts},life}
  22648. 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}
  22649. if power > 0.99 then
  22650. for i = 1, 20 do
  22651. local p = P:Clone()
  22652. p.Anchored = true
  22653. p.BrickColor = BrickColor.new("Bright yellow")
  22654. local mesh = Instance.new("SpecialMesh",p)
  22655. mesh.MeshId = "rbxassetid://9756362"
  22656. mesh.Scale = Vector3.new(0.32,0.32,0.32)
  22657. table.insert(snowball[8],p)
  22658. end
  22659. end
  22660. table.insert(SnowballProjectiles,snowball)
  22661. end
  22662. wait(0.02)
  22663. end
  22664. wait(0.02)
  22665. else
  22666. smdl:Destroy()
  22667. end
  22668.  
  22669. UpdateWP(slidecountmax,countspeed)
  22670. cancelra = false
  22671. cancella = false
  22672. cancelhrp = false
  22673. canceln = false
  22674. cancelmain = false
  22675.  
  22676. ThrowingSequence = false
  22677. Animating = false
  22678. elseif snowballs.Value <= 0 then
  22679. print("No snow left!")
  22680. -- alert saying you have no snow left in pouch
  22681. end
  22682. end
  22683.  
  22684. function DiveRoll()
  22685. if not Animating then
  22686. Animating = true
  22687. DisableMovement = true
  22688. cancelra = true
  22689. cancella = true
  22690. cancelhrp = true
  22691. canceln = true
  22692. cancelmain = true
  22693. cancelll = true
  22694. cancelrl = true
  22695. local prevslidecount = slidecount
  22696. UpdateWP(slidecountmax,countspeed)
  22697. slidecount = prevslidecount
  22698.  
  22699. local bv = Instance.new("BodyVelocity", HRP)
  22700. bv.maxForce = Vector3.new(1/0,0,1/0)
  22701. bv.velocity = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z)).lookVector * 28
  22702. local bg = Instance.new("BodyGyro", HRP)
  22703. bg.maxTorque = Vector3.new(1/0,1/0,1/0)
  22704. bg.cframe = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z))
  22705. bg.D = 100
  22706. game:GetService("Debris"):AddItem(bv,2.5)
  22707. game:GetService("Debris"):AddItem(bg,2.5)
  22708.  
  22709. local connex = game:GetService("RunService").RenderStepped:connect(function()
  22710. if HRP.Velocity.y > 0 then
  22711. HRP.Velocity = NV
  22712. end
  22713. HRP.CanCollide = false
  22714. end)
  22715. local connex2 = game:GetService("RunService").Stepped:connect(function()
  22716. local Ghitz,Genz = RAY(HRP.Position,Vector3.new(0,-3.1,0))
  22717. if Ghitz then
  22718. HRP.CFrame = (HRP.CFrame - HRP.Position) + Genz + Vector3.new(0,3,0)
  22719. end
  22720. end)
  22721.  
  22722. local animspd = 4
  22723. for i = 1, animspd do
  22724. SetWeld(N,i,animspd,n,na,Vector3.new(0,1,0),Vector3.new(math.pi/5,0,0),0)
  22725. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,0.4,0),Vector3.new(-math.pi/2.6,0,0),0)
  22726. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/1.2,0,0.2),0)
  22727. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/1.2,0,-0.2),0)
  22728. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-0.6,-0.1),Vector3.new(0.1,0,0.05),0)
  22729. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-0.6,-0.1),Vector3.new(0.1,0,-0.05),0)
  22730. wait(0.02)
  22731. end
  22732. UpdateWP(slidecountmax,countspeed)
  22733. for i = 1, animspd do
  22734. SetWeld(N,i,animspd,n,na,Vector3.new(0,1,0),Vector3.new(math.pi/12,0,0),0)
  22735. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-0.7,0),Vector3.new(-math.pi/1.5,0,0),0)
  22736. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.6,-0.06),Vector3.new(math.pi/1.3,0,0.2),0)
  22737. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.6,-0.06),Vector3.new(math.pi/1.3,0,-0.2),0)
  22738. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-1,0),Vector3.new(-0.1,0,0.05),0)
  22739. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-1,0),Vector3.new(-0.1,0,-0.05),0)
  22740. wait(0.02)
  22741. end
  22742. UpdateWP(slidecountmax,countspeed)
  22743. for i = 1, animspd do
  22744. SetWeld(N,i,animspd,n,na,Vector3.new(0,0.85,0),Vector3.new(-math.pi/4,0,0),0)
  22745. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-1,0),Vector3.new(-math.pi*0.9,0,0),0)
  22746. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/1.4,0,0.08),0)
  22747. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/1.4,0,-0.08),0)
  22748. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-0.3,-0.4),Vector3.new(-0.12,0,0.05),0)
  22749. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-0.3,-0.4),Vector3.new(-0.12,0,-0.05),0)
  22750. wait(0.02)
  22751. end
  22752. UpdateWP(slidecountmax,countspeed)
  22753. bv.velocity = bv.velocity * 0.9
  22754. for i = 1, animspd do
  22755. SetWeld(N,i,animspd,n,na,Vector3.new(0,0.85,0),Vector3.new(-math.pi/3.5,0,0),0)
  22756. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-1.25,0),Vector3.new(-math.pi*1.1,0,0),0)
  22757. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/1.8,0,-0.1),0)
  22758. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/1.8,0,0.1),0)
  22759. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,0.2,-0.7),Vector3.new(-0.12,0,0.05),0)
  22760. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,0.2,-0.7),Vector3.new(-0.12,0,-0.05),0)
  22761. wait(0.02)
  22762. end
  22763. UpdateWP(slidecountmax,countspeed)
  22764. for i = 1, animspd do
  22765. SetWeld(N,i,animspd,n,na,Vector3.new(0,0.85,0),Vector3.new(-math.pi/3.7,0,0),0)
  22766. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-2.3,0),Vector3.new(-math.pi*1.55,0,0),0)
  22767. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/2.4,0,-0.23),0)
  22768. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/2.4,0,0.23),0)
  22769. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,0.1,-0.7),Vector3.new(-0.1,0,0.04),0)
  22770. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,0.1,-0.7),Vector3.new(-0.1,0,-0.04),0)
  22771. wait(0.02)
  22772. end
  22773. UpdateWP(slidecountmax,countspeed)
  22774. bv.velocity = bv.velocity * 0.7
  22775. for i = 1, animspd do
  22776. SetWeld(N,i,animspd,n,na,Vector3.new(0,1.05,0),Vector3.new(-0.4,0,0),0)
  22777. SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-1.6,0),Vector3.new(-math.pi*1.85,0,0),0)
  22778. SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/3.2,0,-0.24),0)
  22779. SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/3.2,0,0.24),0)
  22780. SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-0.08,-0.6),Vector3.new(-0.22,0,0.04),0)
  22781. SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-0.08,-0.6),Vector3.new(-0.22,0,-0.04),0)
  22782. wait(0.02)
  22783. end
  22784. UpdateWP(slidecountmax,countspeed)
  22785. bv.velocity = bv.velocity * 0.4
  22786. for i = 1, animspd do
  22787. 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)
  22788. 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)
  22789. 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)
  22790. 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)
  22791. 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)
  22792. 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)
  22793. wait(0.02)
  22794. end
  22795.  
  22796. 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))
  22797. bv:Destroy()
  22798. bg:Destroy()
  22799. connex:disconnect()
  22800. connex2:disconnect()
  22801.  
  22802. UpdateWP()
  22803. cancelra = false
  22804. cancella = false
  22805. cancelhrp = false
  22806. canceln = false
  22807. cancelmain = false
  22808. cancelll = false
  22809. cancelrl = false
  22810. Animating = false
  22811. DisableMovement = false
  22812. end
  22813. end
  22814.  
  22815. function Slide()
  22816. 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
  22817. Animating = true
  22818. DisableMovement = true
  22819. cancelra = true
  22820. cancella = true
  22821. cancelhrp = true
  22822. canceln = true
  22823. cancelmain = true
  22824. cancelll = true
  22825. cancelrl = true
  22826. local prevslidecount = slidecount
  22827. UpdateWP(slidecountmax,countspeed)
  22828. slidecount = prevslidecount
  22829.  
  22830. local bv = Instance.new("BodyVelocity", HRP)
  22831. bv.maxForce = Vector3.new(1/0,0,1/0)
  22832. bv.velocity = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z)).lookVector * 30
  22833. local bg = Instance.new("BodyGyro", HRP)
  22834. bg.maxTorque = Vector3.new(1/0,1/0,1/0)
  22835. bg.cframe = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z))
  22836. bg.D = 100
  22837. game:GetService("Debris"):AddItem(bv,5.5)
  22838. game:GetService("Debris"):AddItem(bg,5.5)
  22839.  
  22840. local connex = game:GetService("RunService").RenderStepped:connect(function()
  22841. if HRP.Velocity.y > 0 then
  22842. HRP.Velocity = NV
  22843. end
  22844. HRP.CanCollide = false
  22845. end)
  22846.  
  22847. local animspd = 8
  22848. local animcount = 1
  22849. local bvaccel = 1
  22850. local bvvelo = bv.velocity
  22851. local lasttorpos = HRP.Position
  22852. local tickcount = 0
  22853. local cancelslide = false
  22854. local torsoangle = 0
  22855. while not cancelslide and  bvaccel > 0.16 do
  22856. tickcount = tickcount+1
  22857. lasttorpos = HRP.Position
  22858. animcount = (animcount < animspd and animcount+1) or animspd
  22859. local n2,na2 = GetWeld(N)
  22860. local hrj2,hrja2 = GetWeld(HRJ)
  22861. local rs2,rsa2 = GetWeld(RS)
  22862. local ls2,lsa2 = GetWeld(LS)
  22863. local rh2,rha2 = GetWeld(RH)
  22864. local lh2,lha2 = GetWeld(LH)
  22865. SetWeld(N,1,4,n2,na2,Vector3.new(0,1.08,-0.1),Vector3.new(-math.pi/4.3,-0.12,-0.08))
  22866. 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))
  22867. 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)))
  22868. 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)))
  22869. SetWeld(RH,1,4,rh2,rha2,Vector3.new(0.5,-0.8,0),Vector3.new(0.22,-0.06 - (angle*0.01),0.05))
  22870. 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))
  22871. bv.velocity = bvvelo * bvaccel
  22872. wait(0.02)
  22873. local torsoatan = (CFrame.new(lasttorpos) * (HRP.CFrame-HRP.Position)):pointToObjectSpace(HRP.Position)
  22874. torsoangle = math.atan2(torsoatan.y,-torsoatan.z)
  22875. local Ghitz,Genz = RAY(HRP.Position,Vector3.new(0,-3.1,0))
  22876. if Ghitz then
  22877. HRP.CFrame = (HRP.CFrame - HRP.Position) + Genz + Vector3.new(0,3,0)
  22878. end
  22879. if (lasttorpos.y - HRP.Position.y) < -0.1 then
  22880. bvaccel = bvaccel - 0.045
  22881. elseif (lasttorpos.y - HRP.Position.y) > 0.08 then
  22882. bvaccel = bvaccel - 0.006
  22883. if Ghitz then
  22884. bvaccel = bvaccel + ((lasttorpos.y - HRP.Position.y) /2.5)
  22885. end
  22886. else
  22887. bvaccel = bvaccel - 0.017
  22888. end
  22889. bvaccel = bvaccel > 1.02 and 1.02 or bvaccel
  22890. local chitz,cenz = RAY(Torsoz.Position,Vector3.new(0,2.5,0))
  22891. local stationary = false
  22892. if tickcount > 5 then
  22893. stationary = (Vector3.new(lasttorpos.x,0,lasttorpos.z) - Vector3.new(HRP.Position.x,0,HRP.Position.z)).magnitude < 0.15
  22894. end
  22895. if bvaccel < 0.16 or (chitz == nil and not Alt) or stationary then
  22896. cancelslide = true
  22897. end
  22898. end
  22899.  
  22900. SlideCooldown = 14
  22901. bv:Destroy()
  22902. bg:Destroy()
  22903. connex:disconnect()
  22904.  
  22905. UpdateWP(slidecountmax,countspeed)
  22906. cancelra = false
  22907. cancella = false
  22908. cancelhrp = false
  22909. canceln = false
  22910. cancelmain = false
  22911. cancelll = false
  22912. cancelrl = false
  22913. Animating = false
  22914. DisableMovement = false
  22915. end
  22916. end
  22917.  
  22918. invokelist = {}
  22919. invokelist[1] = Throw
  22920. invokelist[2] = DiveRoll
  22921. invokelist[3] = Slide
  22922. invoke.Changed:connect(function()
  22923. if invoke.Value ~= 0 then
  22924. local valu = invoke.Value
  22925. invoke.Value = 0
  22926. if invokelist[valu] ~= nil then
  22927. invokelist[valu]()
  22928. end
  22929. end
  22930. end)
  22931.  
  22932. -------------- Animation Tween Funcs ----------------------
  22933. function Idle()
  22934. if script.pose.Value == 0 then
  22935. ----- regular --------
  22936. if not cancelra then
  22937. 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)))
  22938. end
  22939. if not cancella then
  22940. 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)))
  22941. end
  22942. if not cancelrl then
  22943. 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)))
  22944. end
  22945. if not cancelll then
  22946. 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)))
  22947. end
  22948. if not canceln then
  22949. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.04 + (-angle*0.02),0,0))
  22950. end
  22951. if not cancelhrp then
  22952. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(0.016 + (-angle*0.009),0,0))
  22953. end
  22954.  
  22955. elseif script.pose.Value == 1 then
  22956. ----- crouch --------
  22957. if not cancelra then
  22958. 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)))
  22959. end
  22960. if not cancella then
  22961. 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)))
  22962. end
  22963. if not cancelrl then
  22964. 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)))
  22965. end
  22966. if not cancelll then
  22967. 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)))
  22968. end
  22969. if not canceln then
  22970. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.12 + (angle*0.004),-math.pi/5,0.1))
  22971. end
  22972. if not cancelhrp then
  22973. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,-1.4,0),Vector3.new(-0.16 + (-angle*0.007),math.pi/5,0))
  22974. end
  22975.  
  22976. elseif script.pose.Value == 2 then
  22977.  
  22978. end
  22979. end
  22980.  
  22981. function Walking()
  22982. if script.pose.Value == 0 then
  22983. ----- regular --------
  22984. if not cancelra then
  22985. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(angle*0.2,0,-math.abs(angle*0.02)))
  22986. end
  22987. if not cancella then
  22988. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(-angle*0.2,0,math.abs(angle*0.02)))
  22989. end
  22990. if not cancelrl then
  22991. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-1,0),Vector3.new(-angle*0.17,0,math.abs(angle*0.005)))
  22992. end
  22993. if not cancelll then
  22994. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-1,0),Vector3.new(angle*0.17,0,-math.abs(angle*0.005)))
  22995. end
  22996. if not canceln then
  22997. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.015 ,-angle*0.01,0))
  22998. end
  22999. if not cancelhrp then
  23000. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.015 - math.abs((angle*0.02)),angle*0.01,0))
  23001. end
  23002. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  23003. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  23004. end
  23005.  
  23006. elseif script.pose.Value == 1 then
  23007. ----- crouch --------
  23008. if not cancelra then
  23009. 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)))
  23010. end
  23011. if not cancella then
  23012. 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)))
  23013. end
  23014. if not cancelrl then
  23015. 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)))
  23016. end
  23017. if not cancelll then
  23018. 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)))
  23019. end
  23020. if not canceln then
  23021. 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))
  23022. end
  23023. if not cancelhrp then
  23024. 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))
  23025. end
  23026.  
  23027. elseif script.pose.Value == 2 then
  23028.  
  23029. end
  23030. end
  23031.  
  23032. function Running()
  23033. if script.pose.Value == 0 then
  23034. ----- regular --------
  23035. if not cancelra then
  23036. 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)))
  23037. end
  23038. if not cancella then
  23039. 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)))
  23040. end
  23041. if not cancelrl then
  23042. 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)))
  23043. end
  23044. if not cancelll then
  23045. 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)))
  23046. end
  23047. if not canceln then
  23048. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.07 + math.abs(-angle*0.02),-angle*0.03,0))
  23049. end
  23050. if not cancelhrp then
  23051. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.14 - math.abs(-angle*0.04),angle*0.035,NV))
  23052. end
  23053. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  23054. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  23055. end
  23056.  
  23057. elseif script.pose.Value == 1 then
  23058.  
  23059. elseif script.pose.Value == 2 then
  23060.  
  23061. end
  23062. end
  23063.  
  23064.  
  23065. function Jumping()
  23066. if script.pose.Value == 0 then
  23067. ----- regular --------
  23068. if not cancelra then
  23069. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(-0.16,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.5,0),Vector3.new(-0.16,0,-0.3 - (angle*0.012)))
  23073. end
  23074. if not cancelrl then
  23075. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-0.8,-0.05),Vector3.new(-0.28 + (angle*0.02),0,0))
  23076. end
  23077. if not cancelll then
  23078. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-0.45,-0.55),Vector3.new(-0.4 - (angle*0.02),0,0))
  23079. end
  23080. if not canceln then
  23081. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-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.2 + (angle*0.002),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 == 1 then
  23091. ----- crouch --------
  23092. if not cancelra then
  23093. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(-0.16,0,0.3 + (angle*0.012)))
  23094. end
  23095. if not cancella then
  23096. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(-0.16,0,-0.3 - (angle*0.012)))
  23097. end
  23098. if not cancelrl then
  23099. 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))
  23100. end
  23101. if not cancelll then
  23102. 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))
  23103. end
  23104. if not canceln then
  23105. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-math.pi/5 - (angle*0.01),0))
  23106. end
  23107. if not cancelhrp then
  23108. 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))
  23109. end
  23110. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  23111. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  23112. end
  23113.  
  23114. elseif script.pose.Value == 2 then
  23115.  
  23116. end
  23117. end
  23118.  
  23119. function Falling()
  23120. if script.pose.Value == 0 then
  23121. ----- regular --------
  23122. if not cancelra then
  23123. 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)))
  23124. end
  23125. if not cancella then
  23126. 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)))
  23127. end
  23128. if not cancelrl then
  23129. SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-0.45,-0.55),Vector3.new(-0.4 + (angle*0.02),0,0))
  23130. end
  23131. if not cancelll then
  23132. SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-0.8,-0.05),Vector3.new(-0.28 - (angle*0.02),0,0))
  23133. end
  23134. if not canceln then
  23135. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-angle*0.01,0))
  23136. end
  23137. if not cancelhrp then
  23138. SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.2 + (angle*0.002),angle*0.02,0))
  23139. end
  23140. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  23141. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  23142. end
  23143.  
  23144. elseif script.pose.Value == 1 then
  23145. ----- crouch --------
  23146. if not cancelra then
  23147. SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.65,0),Vector3.new(-0.1,0,0.3 + (angle*0.012)))
  23148. end
  23149. if not cancella then
  23150. SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.65,0),Vector3.new(-0.1,0,-0.3 - (angle*0.012)))
  23151. end
  23152. if not cancelrl then
  23153. 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))
  23154. end
  23155. if not cancelll then
  23156. 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))
  23157. end
  23158. if not canceln then
  23159. SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-math.pi/5 - (angle*0.01),0))
  23160. end
  23161. if not cancelhrp then
  23162. 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))
  23163. end
  23164. if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then
  23165. SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV)
  23166. end
  23167.  
  23168. elseif script.pose.Value == 2 then
  23169.  
  23170. end
  23171. end
  23172.  
  23173. game:GetService("RunService").Stepped:connect(function()
  23174. count1 = (count1%100) + countspeed
  23175. angle = math.pi * math.sin(math.pi*2/100*count1)
  23176. cangle = math.pi * math.cos(math.pi*2/100*count1)
  23177.  
  23178. ------------- snowball power gui movement ------------------
  23179. if SPC.Archivable == true then
  23180. SPCP = SPCP ~= 14 and SPCP+1 or 14
  23181. else
  23182. SPCP = SPCP ~= 0 and SPCP-1 or 0
  23183. end
  23184. if SPC ~= nil then
  23185. local perc = math.sin((math.pi/2/14)*SPCP)
  23186. SPC.Position = UDim2.new(1,10 - (50*perc),0.5,-55)
  23187. if SPCP > 0 then
  23188. SPC.Visible = true
  23189. else
  23190. SPC.Visible = false
  23191. end
  23192. end
  23193.  
  23194. ------------- walkspeed changes -------------------------
  23195. if DisableMovement then
  23196. Walkspeed = 0
  23197. Hu.WalkSpeed = Walkspeed
  23198. else
  23199. if Shift and pose.Value ~= 1 then
  23200. Walkspeed = 25
  23201. Hu.WalkSpeed = Walkspeed
  23202. else
  23203. Walkspeed = 16
  23204. if pose.Value == 1 then
  23205. Hu.WalkSpeed = Walkspeed/2
  23206. else
  23207. Hu.WalkSpeed = Walkspeed
  23208. end
  23209. end
  23210. end
  23211.  
  23212. -------- animation slide count and pose smoothener --------------------
  23213. slidecount = (slidecount < slidecountmax and slidecount+1) or slidecountmax
  23214. SlideCooldown = (SlideCooldown > 0 and SlideCooldown-1) or 0
  23215.  
  23216. if script.pose.Value ~= lastpose then
  23217. UpdateWP()
  23218. end
  23219.  
  23220. --------- animation conditions -------------------
  23221.  
  23222. local ghitz, genz = RAY(Torsoz.Position,Vector3.new(0,-5.2,0))
  23223.  
  23224. if ghitz == nil and Torsoz.Velocity.y > 1 then
  23225. ----- jumping -----
  23226. anim = 3
  23227. if anim ~= lastanim then
  23228. UpdateWP(7)
  23229. end
  23230. Jumping()
  23231. elseif ghitz == nil and Torsoz.Velocity.y < -1 then
  23232. ----- falling ------
  23233. anim = 4
  23234. if anim ~= lastanim then
  23235. UpdateWP(7)
  23236. end
  23237. Falling()
  23238. elseif Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude < 2 then
  23239. ---- idle ---------
  23240. anim = 0
  23241. if anim ~= lastanim then
  23242. UpdateWP(6)
  23243. end
  23244. Idle()
  23245.  
  23246. elseif Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude < 17 then
  23247. ---- walking -------
  23248. anim = 1
  23249. if anim ~= lastanim then
  23250. UpdateWP(7)
  23251. end
  23252. Walking()
  23253.  
  23254. elseif Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude >= 17 then
  23255. ----- running -----
  23256. anim = 2
  23257. if anim ~= lastanim then
  23258. UpdateWP(5)
  23259. end
  23260. Running()
  23261.  
  23262. ------------
  23263. end
  23264.  
  23265. --------- breakfall roll --------
  23266. if ghitz ~= nil and prevvelocity.y < -110 then
  23267. invoke.Value = 2
  23268. end
  23269.  
  23270. --------- snowball projectile movement --------
  23271. for i, v in pairs(SnowballProjectiles) do
  23272. local oldpos = v[1].Position
  23273. v[1].CFrame = v[1].CFrame + (v[4]*v[5]) + Vector3.new(0,v[3],0)
  23274. local raydist = (v[1].Position-oldpos).unit*((oldpos-v[1].Position).magnitude+0.5)
  23275. local hitz,enz = RAY(v[1].Position,raydist)
  23276.  
  23277. v[3] = v[3] - 0.35*v[2]
  23278. v[9] = v[9] +1
  23279.  
  23280. if #v[8] > 0 then
  23281. v[8][v[7]].Parent = v[1].Parent
  23282. v[8][v[7]].Transparency = 0.5 - (0.3 * math.random())
  23283. v[8][v[7]].Mesh.Scale = Vector3.new(0.45,0.45,0.45) - (Vector3.new(0.3,0.3,0.3) * math.random())
  23284. 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)
  23285. v[7] = (v[7]%#v[8]) +1
  23286. for j,vv in pairs(v[8]) do
  23287. vv.CFrame = vv.CFrame * CFrame.new(0.05,0,0) * CFrame.Angles(0,-0.1,-0.085)
  23288. end
  23289. end
  23290.  
  23291. if hitz ~= nil or v[9] >= 200 then
  23292. if hitz ~= nil then
  23293. SnowballHit(hitz,enz,v[6])
  23294. end
  23295. v[1].Parent:Destroy()
  23296. print("Removed Snowball#",i)
  23297. table.remove(SnowballProjectiles,i)
  23298. end
  23299.  
  23300. end
  23301.  
  23302. ------ snowball splosion effects -----
  23303. for i, v in pairs(SnowSplosionEffects) do
  23304. for j,vv in pairs(v:GetChildren()) do
  23305. vv.CFrame = vv.CFrame * CFrame.new(0.3,0,0)
  23306. vv.Transparency = vv.Transparency + 0.12
  23307. vv.Mesh.Scale = vv.Mesh.Scale + Vector3.new(0.3,-0.1,-0.1)
  23308. end
  23309. if v:FindFirstChild("Effect").Transparency > 0.9 then
  23310. v:Destroy()
  23311. table.remove(SnowSplosionEffects,i)
  23312. end
  23313. end
  23314.  
  23315. lastpose = script.pose.Value
  23316. lastanim = anim
  23317. prevvelocity = HRP.Velocity
  23318. end)
  23319.         end)
  23320. --
  23321. local button = Instance.new("TextButton")
  23322.         button.Parent = ws
  23323.         button.BackgroundColor3 = blak
  23324.         button.BorderColor3 = rede
  23325.         button.BorderSizePixel = 3
  23326.         button.Name = "Staff"
  23327.         button.Position = UDim2.new(0.5,3,0,165)
  23328.         button.Size = UDim2.new(0.5,-3,0,30)
  23329.         button.ZIndex = 2
  23330.         button.Font = tef
  23331.         button.FontSize = "Size14"
  23332.         button.Text = "Staff"
  23333.         button.TextColor3 = whit
  23334.                 button.MouseButton1Down:connect(function()
  23335.                 if script.Parent.className ~= "HopperBin" then
  23336.  
  23337. local admin = game.Players.LocalPlayer
  23338. bin = Instance.new("HopperBin", admin.Backpack)
  23339. player = bin.Parent.Parent.Character
  23340. rarm = player["Right Arm"]
  23341. larm = player["Left Arm"]
  23342. player.Humanoid.MaxHealth = 50
  23343. visible = true
  23344. parts = {}
  23345.  
  23346. function Check(pos)
  23347. local hurt = false
  23348. local players = game.Players:GetChildren()
  23349. for i = 1, #players do
  23350. if players[i].Character and hurt == false then
  23351. local parts = players[i].Character:GetChildren()
  23352. for q = 1, #parts do
  23353. if parts[q].className == "Part" and hurt == false then
  23354. 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)))
  23355. if (found - parts[q].Position).magnitude <= range then
  23356. hurt = true
  23357. character = parts[q].Parent
  23358. humanoid = character.Humanoid
  23359. character.Torso.CFrame = character.Torso.CFrame*CFrame.Angles(2,2,2)-amage(25)
  23360. humanoid:TakeDamage(50)
  23361. humanoid.Sit = true
  23362. end
  23363. end
  23364. end
  23365. end
  23366. end
  23367. end
  23368.  
  23369. function clean(min,thing2)
  23370. while min.Humanoid.Health ~= 0 do
  23371. local a = game.Players:GetChildren()
  23372. for i = 1, #a do
  23373. wait()
  23374. if (a[i].Character.Torso.Position - thing2.Position).magnitude < 5 then
  23375. a[i].Character.Humanoid:TakeDamage(5)
  23376. end
  23377. end
  23378. wait()
  23379. end
  23380. min:remove()
  23381. end
  23382.  
  23383. function fire(v)
  23384. local spawnPos = (tip2.CFrame * CFrame.new(0, 1, 0)).p
  23385. local HitSpot = RayCast(spawnPos, v)
  23386. local distance = (HitSpot - spawnPos).magnitude
  23387. start = nil
  23388. finish = nil
  23389. local num = math.random(3, 10)
  23390. for i = distance / num, distance, distance / num do
  23391. if start == nil then
  23392. start = tip2.CFrame.p
  23393. elseif start ~= nil then
  23394. start = finish
  23395. end
  23396. finish = CFrame.new(spawnPos, HitSpot)
  23397. if i ~= distance then
  23398. finish = (finish * CFrame.new(math.random(-5, 5), math.random(-1, 1), -i)).p
  23399. else
  23400. finish = HitSpot
  23401. end
  23402. local P = Instance.new("Part")
  23403. P.Name = "Magic"
  23404. P.formFactor = 0
  23405. P.Size = Vector3.new(1, 1, (start - finish).magnitude)
  23406. P.Parent = game.Workspace
  23407. P.BrickColor = BrickColor.new(1006)
  23408. P.Anchored = true
  23409. P.CanCollide = false
  23410. P.TopSurface = "Smooth"
  23411. P.BottomSurface = "Smooth"
  23412. P.Transparency = 0
  23413. m = Instance.new("BlockMesh")
  23414. m.Scale = Vector3.new(.25, .25, 1)
  23415. m.Offset = Vector3.new(0, -1000, 0)
  23416. m.VertexColor = Vector3.new(math.huge, math.huge, math.huge)
  23417. m.Parent = P
  23418. P.CFrame = CFrame.new(start, finish)
  23419. P.CFrame = P.CFrame * CFrame.new(0, 1000, P.Size.Z / -2)
  23420. table.insert(parts, P)
  23421. game:GetService("Debris"):AddItem(P, 2.5)
  23422. end
  23423. end
  23424.  
  23425. function RayCast(start, v)
  23426.  
  23427. local ray = Instance.new("Part")
  23428. ray.Parent = game.Workspace
  23429. ray.Anchored = true
  23430. ray.CFrame = CFrame.new(start)
  23431. ray.Size = Vector3.new(1,1,1)
  23432. ray.Shape = 0
  23433. ray.BottomSurface = 0
  23434. ray.TopSurface = 0
  23435. ray.Name = "Magic"
  23436. ray.Elasticity = 0
  23437. ray.Reflectance = 0
  23438. ray.Friction = 0
  23439. ray.Transparency = 0
  23440.  
  23441. local finding = true
  23442. far = 1000
  23443.  
  23444. while finding do
  23445. far = far - 1
  23446. if far > 0 then
  23447. local see = ray.Position + v
  23448. ray.Position = ray.Position + v
  23449. if ray.Position ~= see then
  23450. finding = false
  23451. found = see
  23452. end
  23453. else
  23454. finding = false
  23455. found = ray.Position
  23456. end
  23457. end
  23458.  
  23459. ray:remove()
  23460. Check(found)
  23461. return found
  23462. end
  23463.  
  23464. function kill(tar)
  23465. while tar.Parent.Humanoid.Health ~= 0 do
  23466. tar.Parent.Humanoid.Health = tar.Parent.Humanoid.Health -1
  23467. wait()
  23468. end
  23469. end
  23470.  
  23471. bin.Selected:connect(function(mouse)
  23472. if player.Torso:findFirstChild("Right Shoulder") ~= nil then
  23473. rs = player.Torso["Right Shoulder"]
  23474. rs.Part1 = nil
  23475. end
  23476. if player.Torso:findFirstChild("Left Shoulder") ~= nil then
  23477. ls = player.Torso["Left Shoulder"]
  23478. ls.Part1 = nil
  23479. end
  23480. if player:FindFirstChild("check") == nil then
  23481. rns = Instance.new("Weld")
  23482. rns.Parent = player.Torso
  23483. rns.Part0 = rns.Parent
  23484. rns.Part1 = player["Right Arm"]
  23485. rns.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23486. lns = Instance.new("Weld")
  23487. lns.Parent = player.Torso
  23488. lns.Part0 = lns.Parent
  23489. lns.Part1 = player["Left Arm"]
  23490. lns.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23491. rblade = Instance.new("Part")
  23492. rblade.BrickColor = BrickColor.new(1003)
  23493. rblade.Name ="check"
  23494. rblade.Parent = player
  23495. rblade.CanCollide = false
  23496. rblade.Size = Vector3.new(1,8,1)
  23497. rblade.formFactor = "Symmetric"
  23498. rblade.TopSurface = 0
  23499. rblade.BottomSurface = 0
  23500. rbm = Instance.new("BlockMesh")
  23501. rbm.Parent = rblade
  23502. rbm.Scale = Vector3.new(.4,1,.4)
  23503. rbw = Instance.new("Weld")
  23504. rbw.Parent = rblade
  23505. rbw.Part0 = rarm
  23506. rbw.Part1 = rblade
  23507. rbw.C1 = CFrame.new(0,0,1) *CFrame.Angles((math.pi*.5),(math.pi*0),(math.pi*0))
  23508. tip = Instance.new("Part")
  23509. tip.CanCollide = false
  23510. tip.TopSurface = 0
  23511. tip.BottomSurface = 0
  23512. tip.Parent = rblade
  23513. tip.Size = Vector3.new(1,1,1)
  23514. tip.formFactor = "Symmetric"
  23515. tip.BrickColor = BrickColor.new(1004)
  23516. tipm = Instance.new("BlockMesh")
  23517. tipm.Scale = Vector3.new(.41,.2,.41)
  23518. tipm.Parent = tip
  23519. tipw = Instance.new("Weld")
  23520. tipw.Parent = rblade
  23521. tipw.Part0 = rblade
  23522. tipw.Part1 = tip
  23523. tipw.C1 = CFrame.new(0,3.5,0)
  23524. tip2 = Instance.new("Part")
  23525. tip2.CanCollide = false
  23526. tip2.TopSurface = 0
  23527. tip2.BottomSurface = 0
  23528. tip2.Parent = rblade
  23529. tip2.Size = Vector3.new(1,1,1)
  23530. tip2.formFactor = "Symmetric"
  23531. tip2.BrickColor = BrickColor.new(1004)
  23532. tip2m = Instance.new("BlockMesh")
  23533. tip2m.Scale = Vector3.new(.41,.2,.41)
  23534. tip2m.Parent = tip2
  23535. tip2w = Instance.new("Weld")
  23536. tip2w.Parent = rblade
  23537. tip2w.Part0 = rblade
  23538. tip2w.Part1 = tip2
  23539. tip2w.C1 = CFrame.new(0,-3.5,0)
  23540. tip3 = Instance.new("Part")
  23541. tip3.CanCollide = false
  23542. tip3.TopSurface = 0
  23543. tip3.BottomSurface = 0
  23544. tip3.Parent = rblade
  23545. tip3.Size = Vector3.new(1,1,1)
  23546. tip3.formFactor = "Symmetric"
  23547. tip3.BrickColor = BrickColor.new(1004)
  23548. tip3m = Instance.new("BlockMesh")
  23549. tip3m.Scale = Vector3.new(.41,.2,.41)
  23550. tip3m.Parent = tip3
  23551. tip3w = Instance.new("Weld")
  23552. tip3w.Parent = rblade
  23553. tip3w.Part0 = rblade
  23554. tip3w.Part1 = tip3
  23555. tip3w.C1 = CFrame.new(0,-.5,0)
  23556. tip4 = Instance.new("Part")
  23557. tip4.CanCollide = false
  23558. tip4.TopSurface = 0
  23559. tip4.BottomSurface = 0
  23560. tip4.Parent = rblade
  23561. tip4.Size = Vector3.new(1,1,1)
  23562. tip4.formFactor = "Symmetric"
  23563. tip4.BrickColor = BrickColor.new(1004)
  23564. tip4m = Instance.new("BlockMesh")
  23565. tip4m.Scale = Vector3.new(.41,.2,.41)
  23566. tip4m.Parent = tip4
  23567. tip4w = Instance.new("Weld")
  23568. tip4w.Parent = rblade
  23569. tip4w.Part0 = rblade
  23570. tip4w.Part1 = tip4
  23571. tip4w.C1 = CFrame.new(0,.5,0)
  23572. tip5 = Instance.new("Part")
  23573. tip5.CanCollide = false
  23574. tip5.TopSurface = 0
  23575. tip5.BottomSurface = 0
  23576. tip5.Parent = rblade
  23577. tip5.Size = Vector3.new(1,1,1)
  23578. tip5.formFactor = "Symmetric"
  23579. tip5.BrickColor = BrickColor.new(1004)
  23580. tip5m = Instance.new("BlockMesh")
  23581. tip5m.Scale = Vector3.new(.41,.2,.41)
  23582. tip5m.Parent = tip5
  23583. tip5w = Instance.new("Weld")
  23584. tip5w.Parent = rblade
  23585. tip5w.Part0 = rblade
  23586. tip5w.Part1 = tip5
  23587. tip5w.C1 = CFrame.new(0,0,0)
  23588. tip6 = Instance.new("Part")
  23589. tip6.CanCollide = false
  23590. tip6.TopSurface = 0
  23591. tip6.BottomSurface = 0
  23592. tip6.Parent = rblade
  23593. tip6.Size = Vector3.new(1,1,1)
  23594. tip6.formFactor = "Symmetric"
  23595. tip6.BrickColor = BrickColor.new(1004)
  23596. tip6m = Instance.new("BlockMesh")
  23597. tip6m.Scale = Vector3.new(.05,.6,.41)
  23598. tip6m.Parent = tip6
  23599. tip6w = Instance.new("Weld")
  23600. tip6w.Parent = rblade
  23601. tip6w.Part0 = rblade
  23602. tip6w.Part1 = tip6
  23603. tip6w.C1 = CFrame.new(0,-3,0)
  23604. tip7 = Instance.new("Part")
  23605. tip7.CanCollide = false
  23606. tip7.TopSurface = 0
  23607. tip7.BottomSurface = 0
  23608. tip7.Parent = rblade
  23609. tip7.Size = Vector3.new(1,1,1)
  23610. tip7.formFactor = "Symmetric"
  23611. tip7.BrickColor = BrickColor.new(1004)
  23612. tip7m = Instance.new("BlockMesh")
  23613. tip7m.Scale = Vector3.new(.41,.6,.05)
  23614. tip7m.Parent = tip7
  23615. tip7w = Instance.new("Weld")
  23616. tip7w.Parent = rblade
  23617. tip7w.Part0 = rblade
  23618. tip7w.Part1 = tip7
  23619. tip7w.C1 = CFrame.new(0,-3,0)
  23620. tip6a = Instance.new("Part")
  23621. tip6a.CanCollide = false
  23622. tip6a.TopSurface = 0
  23623. tip6a.BottomSurface = 0
  23624. tip6a.Parent = rblade
  23625. tip6a.Size = Vector3.new(1,1,1)
  23626. tip6a.formFactor = "Symmetric"
  23627. tip6a.BrickColor = BrickColor.new(1004)
  23628. tip6am = Instance.new("BlockMesh")
  23629. tip6am.Scale = Vector3.new(.15,.6,.41)
  23630. tip6am.Parent = tip6a
  23631. tip6aw = Instance.new("Weld")
  23632. tip6aw.Parent = rblade
  23633. tip6aw.Part0 = rblade
  23634. tip6aw.Part1 = tip6a
  23635. tip6aw.C1 = CFrame.new(0,-2.5,0)
  23636. tip7a = Instance.new("Part")
  23637. tip7a.CanCollide = false
  23638. tip7a.TopSurface = 0
  23639. tip7a.BottomSurface = 0
  23640. tip7a.Parent = rblade
  23641. tip7a.Size = Vector3.new(1,1,1)
  23642. tip7a.formFactor = "Symmetric"
  23643. tip7a.BrickColor = BrickColor.new(1004)
  23644. tip7am = Instance.new("BlockMesh")
  23645. tip7am.Scale = Vector3.new(.41,.6,.15)
  23646. tip7am.Parent = tip7a
  23647. tip7aw = Instance.new("Weld")
  23648. tip7aw.Parent = rblade
  23649. tip7aw.Part0 = rblade
  23650. tip7aw.Part1 = tip7a
  23651. tip7aw.C1 = CFrame.new(0,-2.5,0)
  23652. tip6b = Instance.new("Part")
  23653. tip6b.CanCollide = false
  23654. tip6b.TopSurface = 0
  23655. tip6b.BottomSurface = 0
  23656. tip6b.Parent = rblade
  23657. tip6b.Size = Vector3.new(1,1,1)
  23658. tip6b.formFactor = "Symmetric"
  23659. tip6b.BrickColor = BrickColor.new(1004)
  23660. tip6bm = Instance.new("BlockMesh")
  23661. tip6bm.Scale = Vector3.new(.05,.6,.41)
  23662. tip6bm.Parent = tip6b
  23663. tip6bw = Instance.new("Weld")
  23664. tip6bw.Parent = rblade
  23665. tip6bw.Part0 = rblade
  23666. tip6bw.Part1 = tip6b
  23667. tip6bw.C1 = CFrame.new(0,-2,0)
  23668. tip7b = Instance.new("Part")
  23669. tip7b.CanCollide = false
  23670. tip7b.TopSurface = 0
  23671. tip7b.BottomSurface = 0
  23672. tip7b.Parent = rblade
  23673. tip7b.Size = Vector3.new(1,1,1)
  23674. tip7b.formFactor = "Symmetric"
  23675. tip7b.BrickColor = BrickColor.new(1004)
  23676. tip7bm = Instance.new("BlockMesh")
  23677. tip7bm.Scale = Vector3.new(.41,.6,.05)
  23678. tip7bm.Parent = tip7b
  23679. tip7bw = Instance.new("Weld")
  23680. tip7bw.Parent = rblade
  23681. tip7bw.Part0 = rblade
  23682. tip7bw.Part1 = tip7b
  23683. tip7bw.C1 = CFrame.new(0,-2,0)
  23684.  
  23685. rblade.Touched:connect(function(hit)
  23686. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  23687. if hit.Parent.Name ~= player.Name then
  23688. if hit.Parent.Humanoid.MaxHealth > 100 then
  23689. hit.Parent.Humanoid.MaxHealth = 100
  23690. end
  23691. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(5,15)
  23692. hit.Parent.Humanoid.Sit = true
  23693. for i = 1, (math.random(1,3)) do
  23694. wait()
  23695. local bleed = Instance.new("Part")
  23696. bleed.formFactor = "Symmetric"
  23697. bleed.Size = Vector3.new(1,1,1)
  23698. bleed.BrickColor = BrickColor.new(1004)
  23699. bleed.TopSurface = 0
  23700. bleed.BottomSurface = 0
  23701. bleed.Reflectance = .1
  23702. bleed.Transparency = 0
  23703. bleed.Parent = Workspace
  23704. bleed.Position = rblade.Position
  23705. local bleedm = Instance.new("SpecialMesh")
  23706. bleedm.MeshType = "Sphere"
  23707. bleedm.Scale = Vector3.new(.5,.5,.5)
  23708. bleedm.Parent = bleed
  23709. game:GetService("Debris"):AddItem(bleed, 5)
  23710. end
  23711. end
  23712. end
  23713. end)
  23714.  
  23715. end
  23716. -- animations--
  23717. right = rns
  23718. staff = rblade
  23719. left = lns
  23720. 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))"
  23721. 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))"
  23722. -- end of staff
  23723. mouse.KeyDown:connect(function(key)
  23724. -- moves
  23725. if key == "z" then
  23726. if rbw.Part0 == rarm then
  23727. rbw.Part0 = larm
  23728. end
  23729. end
  23730. if key == "x" then
  23731. if rbw.Part0 == larm then
  23732. rbw.Part0 = rarm
  23733. end
  23734. end
  23735. if key == "e" then
  23736. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23737. wait()
  23738. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  23739. wait()
  23740. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  23741. wait()
  23742. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  23743. wait()
  23744. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  23745. wait()
  23746. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  23747. wait(.5)
  23748. right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2))
  23749. wait()
  23750. right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15))
  23751. wait()
  23752. right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1))
  23753. wait()
  23754. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05))
  23755. wait()
  23756. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23757. elseif key == "q" then
  23758. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23759. wait()
  23760. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  23761. wait()
  23762. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  23763. wait()
  23764. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  23765. wait()
  23766. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  23767. wait()
  23768. left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25))
  23769. wait(.5)
  23770. left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2))
  23771. wait()
  23772. left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15))
  23773. wait()
  23774. left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1))
  23775. wait()
  23776. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05))
  23777. wait()
  23778. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23779. elseif key == "r" then
  23780. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23781. wait()
  23782. left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.3))
  23783. wait()
  23784. left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.35))
  23785. wait()
  23786. left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.4))
  23787. wait()
  23788. left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.45))
  23789. wait()
  23790. left.C1 = CFrame.new(0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.5))
  23791. wait(.2)
  23792. left.C1 = CFrame.new(0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.5))
  23793. wait()
  23794. left.C1 = CFrame.new(0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.5))
  23795. wait()
  23796. left.C1 = CFrame.new(0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.5))
  23797. wait()
  23798. left.C1 = CFrame.new(0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.5))
  23799. wait()
  23800. left.C1 = CFrame.new(0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*.5))
  23801. wait(.1)
  23802. left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.45))
  23803. wait()
  23804. left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.4))
  23805. wait()
  23806. left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.35))
  23807. wait()
  23808. left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.3))
  23809. wait()
  23810. left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.05))
  23811. elseif key == "t" then
  23812. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23813. wait()
  23814. right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.3))
  23815. wait()
  23816. right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.35))
  23817. wait()
  23818. right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.4))
  23819. wait()
  23820. right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.45))
  23821. wait()
  23822. right.C1 = CFrame.new(-0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.5))
  23823. wait(.2)
  23824. right.C1 = CFrame.new(-0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.5))
  23825. wait()
  23826. right.C1 = CFrame.new(-0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.5))
  23827. wait()
  23828. right.C1 = CFrame.new(-0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.5))
  23829. wait()
  23830. right.C1 = CFrame.new(-0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.5))
  23831. wait()
  23832. right.C1 = CFrame.new(-0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*-.5))
  23833. wait(.1)
  23834. right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.45))
  23835. wait()
  23836. right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.4))
  23837. wait()
  23838. right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.35))
  23839. wait()
  23840. right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.3))
  23841. wait()
  23842. right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.05))
  23843. end
  23844. -- spells-------------------------------------------------------------------------------------
  23845. if key == "f" then
  23846. loadstring(up)()
  23847. local wall = Instance.new("Part")
  23848. wall.Parent = Workspace
  23849. wall.Size = Vector3.new(10,1,10)
  23850. wall.formFactor = "Symmetric"
  23851. wall.CFrame = player.Torso.CFrame *CFrame.new(0,-3.42,0)
  23852. wall.TopSurface = 0
  23853. wall.BottomSurface = 0
  23854. wall.Anchored = true
  23855. wall.BrickColor = BrickColor.new(1006)
  23856. wall.Material = "Ice"
  23857. game:GetService("Debris"):AddItem(wall, 15)
  23858. while wall:IsDescendantOf(Workspace) do
  23859. wait()
  23860. wall.CFrame = player.Torso.CFrame*CFrame.new(0,-3.42,0)
  23861. end
  23862. wait(.5)
  23863. loadstring(down)()
  23864. end
  23865. if key == "g" then
  23866. if mouse.Target then
  23867. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  23868. local tar = mouse.Target
  23869. loadstring(up)()
  23870. local spark = Instance.new("Explosion")
  23871. spark.BlastRadius = 4
  23872. spark.BlastPressure = 0
  23873. spark.Parent = Workspace
  23874. spark.Position = tip2.Position
  23875. local ptar = tar.Parent
  23876. local mis = Instance.new("Part")
  23877. mis.formFactor = "Symmetric"
  23878. mis.Shape = "Ball"
  23879. mis.BrickColor = BrickColor.new(1006)
  23880. mis.Transparency = .5
  23881. mis.Size = Vector3.new(1,1,1)
  23882. mis.Parent = Workspace
  23883. mis.CFrame = staff.CFrame * CFrame.new(0,0,-15)
  23884. local misv = Instance.new("BodyVelocity")
  23885. misv.Parent = mis
  23886. misv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  23887. misv.velocity = mis.CFrame.lookVector * 50
  23888. local misg = Instance.new("BodyGyro")
  23889. misg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  23890. misg.Parent = mis
  23891. misg.cframe = CFrame.new(tar.Position, mis.Position)
  23892. mis.Touched:connect(function(hit)
  23893. if hit.Name == tar.Name then
  23894. local ex = Instance.new("Explosion")
  23895. ex.Parent = Workspace
  23896. ex.Position = mis.Position
  23897. mis:remove()
  23898. end
  23899. end)
  23900. wait(.5)
  23901. loadstring(down)()
  23902. while mis.Parent == Workspace and tar:IsDescendantOf(Workspace) do
  23903. wait()
  23904. misg.cframe = CFrame.new(tar.Position, mis.Position)
  23905. local fire = Instance.new("Explosion")
  23906. fire.Parent = Workspace
  23907. fire.Position = mis.Position
  23908. fire.BlastRadius = 2
  23909. misv.velocity = mis.CFrame.lookVector * -18
  23910. end
  23911. mis:remove()
  23912. end
  23913. end
  23914. end
  23915. if key == "b" then
  23916. loadstring(up)()
  23917. for i = 1,100 do
  23918. wait()
  23919. local p = Instance.new("Part")
  23920. p.BrickColor = BrickColor.new(1006)
  23921. p.Name ="check"
  23922. p.Parent = Workspace
  23923. p.CanCollide = false
  23924. p.Size = Vector3.new(1,3,1)
  23925. p.CFrame = player.Torso.CFrame + Vector3.new(math.random(-5,5),math.random(-2,4),math.random(-5,5))
  23926. p.formFactor = "Symmetric"
  23927. p.TopSurface = 0
  23928. p.BottomSurface = 0
  23929. p.Transparency = .5
  23930. local pm = Instance.new("SpecialMesh")
  23931. pm.Parent = p
  23932. pm.MeshType = "Sphere"
  23933. pm.Scale = Vector3.new((.2+(.05*i)),(.2+(.05*i)),(.2+(.05*i)))
  23934. local pbv = Instance.new("BodyVelocity")
  23935. pbv.Parent = p
  23936. pbv.velocity = Vector3.new(0,10,0)
  23937. game:GetService("Debris"):AddItem(p, .2)
  23938. player.Humanoid.Health = player.Humanoid.Health +2
  23939. end
  23940. player.Torso.CFrame = mouse.Hit + Vector3.new(0,4,0)
  23941. wait(.5)
  23942. loadstring(down)()
  23943. end
  23944. if key == "v" then
  23945. local tar = mouse.Target
  23946. if tar ~= nil then
  23947. if (tip6a.Position - tar.Position).magnitude < 100 then
  23948. loadstring(up)()
  23949. local shot = Instance.new("Part")
  23950. shot.Parent = Workspace
  23951. shot.BrickColor = BrickColor.new("Cyan")
  23952. shot.formFactor = "Symmetric"
  23953. shot.Size = Vector3.new(1,1,1)
  23954. shot.Anchored = true
  23955. local shotm = Instance.new("BlockMesh")
  23956. shotm.Scale = Vector3.new(.2,.2,(tip6a.Position - mouse.Hit.p).magnitude)
  23957. shot.CFrame = CFrame.new(((tip6a.Position + mouse.Hit.p)/2),mouse.Hit.p)
  23958. shotm.Parent = shot
  23959. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  23960. local ice = Instance.new("Part")
  23961. ice.Position = tar.Parent.Torso.Position
  23962. ice.Anchored = true
  23963. tar.Parent.Torso.Anchored = true
  23964. ice.BrickColor = BrickColor.new("Cyan")
  23965. ice.Size = Vector3.new(4,6,4)
  23966. ice.Reflectance = .2
  23967. ice.TopSurface = 0
  23968. ice.BottomSurface = 0
  23969. ice.Transparency = .5
  23970. ice.Parent = tar.Parent
  23971. coroutine.resume(coroutine.create(function() kill(tar) end))
  23972. end
  23973. wait(.1)
  23974. shot:remove()
  23975. end
  23976. wait(.5)
  23977. loadstring(down)()
  23978. end
  23979. end
  23980. if key == "c" then
  23981. local tar = mouse.Target
  23982. if tar ~= nil then
  23983. if (tip6a.Position - tar.Position).magnitude < 100 then
  23984. loadstring(up)()
  23985. right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25))
  23986. local shot = Instance.new("Part")
  23987. shot.Parent = Workspace
  23988. shot.BrickColor = BrickColor.new("Royal purple")
  23989. shot.formFactor = "Symmetric"
  23990. shot.Size = Vector3.new(1,1,1)
  23991. shot.Anchored = true
  23992. local shotm = Instance.new("BlockMesh")
  23993. shotm.Scale = Vector3.new(.2,.2,(tip6a.Position - mouse.Hit.p).magnitude)
  23994. shot.CFrame = CFrame.new(((tip6a.Position + mouse.Hit.p)/2),mouse.Hit.p)
  23995. shotm.Parent = shot
  23996. if tar.className == "Part" then
  23997. local ice = Instance.new("Part")
  23998. ice.CFrame = tar.CFrame
  23999. ice.Size = tar.Size + Vector3.new(1,1,1)
  24000. ice.Anchored = true
  24001. tar.Anchored = true
  24002. ice.BrickColor = BrickColor.new("Cyan")
  24003. ice.Reflectance = .2
  24004. ice.TopSurface = 0
  24005. ice.BottomSurface = 0
  24006. ice.Transparency = .5
  24007. ice.Parent = tar
  24008. ice.Friction = 0
  24009. game:GetService("Debris"):AddItem(ice, 10)
  24010. wait(.1)
  24011. shot:remove()
  24012. wait(.5)
  24013. loadstring(down)()
  24014. end
  24015. end
  24016. end
  24017. end
  24018. if key == "h" then
  24019. loadstring(up)()
  24020. local cf = CFrame.new(tip2.Position, mouse.Hit.p)
  24021. local v = cf.lookVector
  24022. local dx = (math.random() - .5) * .02
  24023. local dy = (math.random() - .5) * .02
  24024. local dz = (math.random() - .5) * .02
  24025. parts = {}
  24026. local f = coroutine.create(function() fire(Vector3.new(v.x + dx, v.y + dy, v.z + dz)) end)
  24027. coroutine.resume(f)
  24028. wait(.5)
  24029. loadstring(down)()
  24030. end
  24031. if key == "y" then
  24032. loadstring(up)()
  24033. for i = 2,101 do
  24034. wait()
  24035. local boulder = Instance.new("Part")
  24036. boulder.TopSurface = 0
  24037. boulder.BottomSurface = 0
  24038. boulder.Anchored = true
  24039. boulder.BrickColor = BrickColor.new("Dark stone grey")
  24040. boulder.Size = Vector3.new((i+math.random(-1,1)),(i+math.random(-1,1)),2)
  24041. boulder.CFrame = tip.CFrame * CFrame.new(0,0,-2*i)
  24042. boulder.Velocity = boulder.CFrame.lookVector * 500
  24043. boulder.Material = "Slate"
  24044. boulder.Parent = Workspace
  24045. boulder.Touched:connect(function(hit)
  24046. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  24047. hit.Parent.humanoid.Sit = true
  24048. end
  24049. end)
  24050. game:GetService("Debris"):AddItem(boulder, .8)
  24051. end
  24052. loadstring(down)()
  24053. end
  24054. if key == "n" then
  24055. local tar = mouse.Target
  24056. if tar~= nil then
  24057. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  24058. if tar.Parent:findFirstChild("Torso") ~= nil then
  24059. loadstring(up)()
  24060. for i = 1,100 do
  24061. wait()
  24062. local p = Instance.new("Part")
  24063. p.BrickColor = BrickColor.new(1006)
  24064. p.Name ="check"
  24065. p.Parent = Workspace
  24066. p.CanCollide = false
  24067. p.Size = Vector3.new(1,3,1)
  24068. p.CFrame = tar.Parent.Torso.CFrame + Vector3.new(math.random(-5,5),math.random(-2,4),math.random(-5,5))
  24069. p.formFactor = "Symmetric"
  24070. p.TopSurface = 0
  24071. p.BottomSurface = 0
  24072. p.Transparency = .5
  24073. local pm = Instance.new("SpecialMesh")
  24074. pm.Parent = p
  24075. pm.MeshType = "Sphere"
  24076. pm.Scale = Vector3.new((.2+(.05*i)),(.2+(.05*i)),(.2+(.05*i)))
  24077. local pbv = Instance.new("BodyVelocity")
  24078. pbv.Parent = p
  24079. pbv.velocity = Vector3.new(0,10,0)
  24080. game:GetService("Debris"):AddItem(p, .2)
  24081. tar.Parent.Humanoid.Health = tar.Parent.Humanoid.Health +2
  24082. end
  24083. tar.Parent.Torso.CFrame = mouse.Hit + Vector3.new(0,4,0)
  24084. wait(.5)
  24085. loadstring(down)()
  24086. end
  24087. end
  24088. end
  24089. end
  24090. if key == "u" then
  24091. loadstring(up)()
  24092. local start = Instance.new("Part")
  24093. start.Parent = Workspace
  24094. start.Position = mouse.Hit.p + Vector3.new(0,18,0)
  24095. start.Anchored = true
  24096. start.Size = Vector3.new(1,1,1)
  24097. start.Transparency = 1
  24098. for i = 1,36 do
  24099. start.CFrame = start.CFrame * CFrame.Angles(math.rad(0),math.rad(5),math.rad(0))
  24100. local wall1 = Instance.new("Part")
  24101. wall1.Parent = Workspace
  24102. wall1.BrickColor = BrickColor.new("Really black")
  24103. wall1.Size = Vector3.new(1,10,1)
  24104. wall1.Anchored = true
  24105. wall1.TopSurface = 0
  24106. wall1.CFrame = start.CFrame * CFrame.new(10,-15,0)
  24107. local wall2 = Instance.new("Part")
  24108. wall2.Parent = Workspace
  24109. wall2.BrickColor = BrickColor.new("Really black")
  24110. wall2.Size = Vector3.new(1,10,1)
  24111. wall2.Anchored = true
  24112. wall2.TopSurface = 0
  24113. wall2.CFrame = start.CFrame * CFrame.new(10,-15,0)
  24114. local wall1a = Instance.new("Part")
  24115. wall1a.Parent = Workspace
  24116. wall1a.BrickColor = BrickColor.new("Really black")
  24117. wall1a.Size = Vector3.new(1,10,1)
  24118. wall1a.Anchored = true
  24119. wall1a.TopSurface = 0
  24120. wall1a.CFrame = start.CFrame * CFrame.new(-10,-15,0)
  24121. local wall2a = Instance.new("Part")
  24122. wall2a.Parent = Workspace
  24123. wall2a.BrickColor = BrickColor.new("Really black")
  24124. wall2a.Size = Vector3.new(1,0,1)
  24125. wall2a.Anchored = true
  24126. wall2a.TopSurface = 0
  24127. wall2a.CFrame = start.CFrame * CFrame.new(-10,-15,0)
  24128. local roof = Instance.new("Part")
  24129. roof.Parent = Workspace
  24130. roof.Size = Vector3.new(0,1,1)
  24131. roof.BrickColor = BrickColor.new("Really black")
  24132. roof.Anchored = true
  24133. roof.CFrame = start.CFrame * CFrame.new(0,-10,0)
  24134. roof.TopSurface = 0
  24135. local roof2 = Instance.new("Part")
  24136. roof2.Parent = Workspace
  24137. roof2.Size = Vector3.new(1,1,20)
  24138. roof2.BrickColor = BrickColor.new("Really black")
  24139. roof2.Anchored = true
  24140. roof2.CFrame = start.CFrame * CFrame.new(0,-10,0)
  24141. roof2.TopSurface = 0
  24142. local roofa = Instance.new("Part")
  24143. roofa.Parent = Workspace
  24144. roofa.Size = Vector3.new(20,1,1)
  24145. roofa.BrickColor = BrickColor.new("Really black")
  24146. roofa.Anchored = true
  24147. roofa.CFrame = start.CFrame * CFrame.new(0,-20,0)
  24148. roofa.TopSurface = 0
  24149. local roof2a = Instance.new("Part")
  24150. roof2a.Parent = Workspace
  24151. roof2a.Size = Vector3.new(1,1,20)
  24152. roof2a.BrickColor = BrickColor.new("Really black")
  24153. roof2a.Anchored = true
  24154. roof2a.CFrame = start.CFrame * CFrame.new(0,-20,0)
  24155. roof2a.TopSurface = 0
  24156. game:GetService("Debris"):AddItem(roof, 15)
  24157. game:GetService("Debris"):AddItem(wall1, 15)
  24158. game:GetService("Debris"):AddItem(wall2, 15)
  24159. game:GetService("Debris"):AddItem(roof2, 15)
  24160. game:GetService("Debris"):AddItem(wall1a, 15)
  24161. game:GetService("Debris"):AddItem(wall2a, 15)
  24162. game:GetService("Debris"):AddItem(roofa, 15)
  24163. game:GetService("Debris"):AddItem(roof2a, 15)
  24164. wait()
  24165. end
  24166. start:remove()
  24167. wait(.5)
  24168. loadstring(down)()
  24169. end
  24170. if key == "m" then
  24171. local tar = mouse.Target
  24172. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  24173. if tar.Parent.Name == "Minion" then
  24174. loadstring(up)()
  24175. while tar.Parent.Humanoid.Health >= 1 do
  24176. wait()
  24177. if player.Humanoid.Health == 0 then
  24178. tar.Parent.Humanoid:TakeDamage(1000)
  24179. else
  24180. tar.Parent.Torso.move.position = mouse.Hit.p
  24181. end
  24182. end
  24183. loadstring(down)()
  24184. end
  24185. end
  24186. end
  24187. if key == "j" then
  24188. local tar = mouse.Target
  24189. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  24190. tar.Parent.Humanoid.Jump = true
  24191. end
  24192. elseif key == "k" then
  24193. local tar = mouse.Target
  24194. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  24195. tar.Parent.Humanoid.Sit = true
  24196. end
  24197. elseif key == "l" then
  24198. local tar = mouse.Target
  24199. if tar.Parent:findFirstChild("Humanoid") ~= nil then
  24200. tar.Parent.Humanoid.PlatformStand = true
  24201. end
  24202. elseif key == "p" then
  24203. local min = Instance.new("Model")
  24204. min.Name = "Minion"
  24205. min.Parent = Workspace
  24206. local skel = Instance.new("Humanoid")
  24207. skel.Parent = min
  24208. skel.WalkSpeed = 16
  24209. skel.MaxHealth = 100
  24210. skel.Health = 100
  24211. local thing = Instance.new("Part")
  24212. thing.Name = "Head"
  24213. thing.formFactor = "Symmetric"
  24214. thing.TopSurface = 0
  24215. thing.BottomSurface = 0
  24216. thing.BrickColor = BrickColor.new(1003)
  24217. thing.Transparency = .3
  24218. thing.Size = Vector3.new(4,4,4)
  24219. thing.Parent = min
  24220. thing.Position = player.Torso.Position + Vector3.new(0,5,0)
  24221. thing.Shape = "Ball"
  24222. local thing2 = Instance.new("Part")
  24223. thing2.Name = "Torso"
  24224. thing2.formFactor = "Symmetric"
  24225. thing2.TopSurface = 0
  24226. thing2.BottomSurface = 0
  24227. thing2.BrickColor = BrickColor.new(1004)
  24228. thing2.Size = Vector3.new(1,1,1)
  24229. thing2.Parent = min
  24230. thing2.Position = player.Torso.Position + Vector3.new(0,5,0)
  24231. thing2.Shape = "Ball"
  24232. local live = Instance.new("Weld")
  24233. live.Parent = thing2
  24234. live.Part0 = thing2
  24235. live.Part1 = thing
  24236. live.Name = "Neck"
  24237. local move = Instance.new("BodyPosition")
  24238. move.Parent = thing2
  24239. move.position = player.Torso.Position
  24240. move.maxForce = Vector3.new(100,0,100)
  24241. move.Name = "move"
  24242. thing.Touched:connect(function(hit)
  24243. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  24244. if hit.Parent.Name ~= player.Name then
  24245. if hit.Parent.Name ~= "Minion" then
  24246. if hit.Parent.Humanoid.MaxHealth > 100 then
  24247. hit.Parent.Humanoid.MaxHealth = 100
  24248. end
  24249. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(5,7)
  24250. hit.Parent.Humanoid.Sit = true
  24251. for i = 1, (math.random(1,3)) do
  24252. wait()
  24253. local bleed = Instance.new("Part")
  24254. bleed.formFactor = "Symmetric"
  24255. bleed.Size = Vector3.new(1,1,1)
  24256. bleed.BrickColor = BrickColor.new("Bright red")
  24257. bleed.TopSurface = 0
  24258. bleed.BottomSurface = 0
  24259. bleed.Reflectance = .1
  24260. bleed.Transparency = .4
  24261. bleed.Parent = Workspace
  24262. bleed.Position = thing.Position
  24263. local bleedm = Instance.new("SpecialMesh")
  24264. bleedm.MeshType = "Sphere"
  24265. bleedm.Scale = Vector3.new(.2,.2,.2)
  24266. bleedm.Parent = bleed
  24267. game:GetService("Debris"):AddItem(bleed, 5)
  24268. end
  24269. end
  24270. end
  24271. end
  24272. end)
  24273. coroutine.resume(coroutine.create(function() clean(min,thing2) end))
  24274. end
  24275. --end of keys
  24276. end)
  24277. --end of script
  24278. end)
  24279.  
  24280. bin.Deselected:connect(function()
  24281. staff:remove()
  24282. rs.Part1 = rarm
  24283. ls.Part1 = larm
  24284. right:remove()
  24285. left:remove()
  24286. end)
  24287. end
  24288. end)
  24289. --
  24290. local button = Instance.new("TextButton")
  24291.         button.Parent = ws
  24292.         button.BackgroundColor3 = blak
  24293.         button.BorderColor3 = rede
  24294.         button.BorderSizePixel = 3
  24295.         button.Name = "Empty"
  24296.         button.Position = UDim2.new(0,0,0,198)
  24297.         button.Size = UDim2.new(0.5,0,0,30)
  24298.         button.ZIndex = 2
  24299.         button.Font = tef
  24300.         button.FontSize = "Size14"
  24301.         button.Text = "Empty"
  24302.         button.TextColor3 = whit
  24303.         button.TextWrapped = true
  24304.                 button.MouseButton1Down:connect(function()
  24305.                
  24306.         end)
  24307. --
  24308. local button = Instance.new("TextButton")
  24309.         button.Parent = ws
  24310.         button.BackgroundColor3 = blak
  24311.         button.BorderColor3 = rede
  24312.         button.BorderSizePixel = 3
  24313.         button.Name = "Techno Gauntlet"
  24314.         button.Position = UDim2.new(0.5,3,0,198)
  24315.         button.Size = UDim2.new(0.48,0,0,30)
  24316.         button.ZIndex = 2
  24317.         button.Font = tef
  24318.         button.FontSize = "Size14"
  24319.         button.Text = "Techno Gauntlet"
  24320.         button.TextColor3 = whit
  24321.         button.TextWrapped = true
  24322.                 button.MouseButton1Down:connect(function()
  24323.         Player = game:GetService("Players").LocalPlayer
  24324. Character = Player.Character
  24325. PlayerGui = Player.PlayerGui
  24326. Backpack = Player.Backpack
  24327. Torso = Character.Torso
  24328. Head = Character.Head
  24329. Humanoid = Character.Humanoid
  24330. LeftArm = Character["Left Arm"]
  24331. LeftLeg = Character["Left Leg"]
  24332. RightArm = Character["Right Arm"]
  24333. RightLeg = Character["Right Leg"]
  24334. LS = Torso["Left Shoulder"]
  24335. LH = Torso["Left Hip"]
  24336. RS = Torso["Right Shoulder"]
  24337. RH = Torso["Right Hip"]
  24338. Neck = Torso.Neck
  24339. it=Instance.new
  24340. vt=Vector3.new
  24341. cf=CFrame.new
  24342. euler=CFrame.fromEulerAnglesXYZ
  24343. angles=CFrame.Angles
  24344. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  24345. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  24346. attack = false
  24347. attacktype = 1
  24348. attackdebounce = false
  24349. MMouse=nil
  24350. combo=0
  24351. Mode="Choose"
  24352. Aiming=false
  24353. DroneTarget=Torso.Position
  24354. Drone1=nil
  24355. Drone2=nil
  24356. Drone3=nil
  24357. Bullets=10
  24358. BowAim=false
  24359. SnipAim=false
  24360. --player
  24361. player = nil
  24362. --save shoulders
  24363. RSH, LSH = nil, nil
  24364. --welds
  24365. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  24366. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  24367.  
  24368.  
  24369. if Character:findFirstChild("Techno Gauntlet",true) ~= nil then
  24370. Character:findFirstChild("Techno Gauntlet",true).Parent = nil
  24371. end
  24372.  
  24373.  
  24374. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  24375. local fp = it("Part")
  24376. fp.formFactor = formfactor
  24377. fp.Parent = parent
  24378. fp.Reflectance = reflectance
  24379. fp.Transparency = transparency
  24380. fp.CanCollide = false
  24381. fp.Locked=true
  24382. fp.BrickColor = brickcolor
  24383. fp.Name = name
  24384. fp.Size = size
  24385. fp.Position = Torso.Position
  24386. fp.BottomSurface="Smooth"
  24387. fp.TopSurface="Smooth"
  24388. fp:BreakJoints()
  24389. return fp
  24390. end
  24391.  
  24392. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  24393. local mesh = it(Mesh)
  24394. mesh.Parent = part
  24395. if Mesh=="SpecialMesh" then
  24396. mesh.MeshType = meshtype
  24397. mesh.MeshId = meshid
  24398. end
  24399. mesh.Offset=offset
  24400. mesh.Scale=scale
  24401. return mesh
  24402. end
  24403.  
  24404. function weld(parent,part0,part1,c0)
  24405. local weld = it("Weld")
  24406. weld.Parent = parent
  24407. weld.Part0 = part0
  24408. weld.Part1 = part1
  24409. weld.C0 = c0
  24410. return weld
  24411. end
  24412.  
  24413. local cone=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Cone",vt(1,1,1))
  24414. local conemsh=mesh("SpecialMesh",cone,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.5,0.5,0.5))
  24415. local screen1=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Screen1",vt(1,1,1))
  24416. local screen1msh=mesh("BlockMesh",screen1,"","",vt(0,0,0),vt(0.1,0.8,0.9))
  24417. local screen2=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Screen2",vt(1,1,1))
  24418. local screen2msh=mesh("BlockMesh",screen2,"","",vt(0,0,0),vt(0.1,0.8,0.9))
  24419. local screen3=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Screen3",vt(1,1,1))
  24420. local screen3msh=mesh("BlockMesh",screen3,"","",vt(0,0,0),vt(0.1,0.8,0.9))
  24421. light1=Instance.new("PointLight")
  24422. light1.Brightness=.8
  24423. light1.Color=Color3.new(.2,.2,255)
  24424. light1.Range=10
  24425. light1.Parent=screen1
  24426. light2=light1:Clone()
  24427. light2.Parent=screen2
  24428. light3=light1:Clone()
  24429. light3.Parent=screen3
  24430.  
  24431. if Character:findFirstChild("Drone",true) ~= nil then
  24432. Character:findFirstChild("Drone",true).Parent = nil
  24433. end
  24434.  
  24435. local modelzorz = Instance.new("Model")
  24436. modelzorz.Parent = Character
  24437. modelzorz.Name = "Techno Gauntlet"
  24438.  
  24439. local prt1=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part1",vt(1,1,1))
  24440. local prt2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part2",vt(1,1,1))
  24441. local prt3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part3",vt(1,1,1))
  24442. local prt4=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part4",vt(1,1,1))
  24443. local prt5=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part5",vt(1,1,1))
  24444. local prt6=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part6",vt(1,1,1))
  24445. local prt7=part(3,modelzorz,0,0,Torso.BrickColor,"Part7",vt(1,1,1))
  24446. local prt8=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part8",vt(1,1,1))
  24447. local prt9=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part9",vt(1,1,1))
  24448. local prt10=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part10",vt(1,1,1))
  24449.  
  24450. msh1=mesh("BlockMesh",prt1,"","",vt(0,0,0),vt(1.1,0.6,1.1))
  24451. msh2=mesh("BlockMesh",prt2,"","",vt(0,0,0),vt(0.2,0.7,1.05))
  24452. msh3=mesh("BlockMesh",prt3,"","",vt(0,0,0),vt(1.05,0.7,0.2))
  24453. msh4=mesh("BlockMesh",prt4,"","",vt(0,0,0),vt(1.4,1.6,0.2))
  24454. msh5=mesh("BlockMesh",prt5,"","",vt(0,0,0),vt(1.4,1.6,0.2))
  24455. msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(0.6,0.1,0.6))
  24456. msh7=mesh("SpecialMesh",prt7,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  24457. msh8=mesh("CylinderMesh",prt8,"","",vt(0,0,0),vt(0.6,0.1,0.6))
  24458. msh9=mesh("CylinderMesh",prt9,"","",vt(0,0,0),vt(0.3,0.1,0.3))
  24459. msh10=mesh("CylinderMesh",prt10,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  24460.  
  24461. local wld1=weld(prt1,prt1,RightArm,euler(0,0,0)*cf(0,0.3,0))
  24462. local wld2=weld(prt2,prt2,prt1,euler(0,0,0)*cf(0,0.4,0))
  24463. local wld3=weld(prt3,prt3,prt1,euler(0,0,0)*cf(0,0.4,0))
  24464. local wld4=weld(prt4,prt4,prt1,euler(0,0.785,0)*cf(0,-0.51,0))
  24465. local wld5=weld(prt5,prt5,prt1,euler(0,-0.785,0)*cf(0,-0.51,0))
  24466. local wld6=weld(prt6,prt6,prt1,euler(0,0,0)*cf(0,-1.3,0))
  24467. local wld7=weld(prt7,prt7,prt6,euler(0,0,0)*cf(0,0,0))
  24468. local wld8=weld(prt8,prt8,prt1,euler(0,0,-1.57)*cf(-0.55,0,0))
  24469. local wld9=weld(prt9,prt9,prt8,euler(0,0,0)*cf(0,0.05,0))
  24470. local wld10=weld(prt10,prt10,prt9,euler(0,0,0)*cf(0,0.01,0))
  24471.  
  24472. numb2=0
  24473. for i=1,4 do
  24474. numb=0.3
  24475. for i=1,3 do
  24476. local prtclaw=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Partclaw",vt(1,1,1))
  24477. mshclaw=mesh("SpecialMesh",prtclaw,"Wedge","",vt(0,0,0),vt(0.1,0.3,0.1))
  24478. local wldclaw=weld(prtclaw,prtclaw,prt1,euler(1.57,-1.57,-1.57)*cf(-0.55,0.3,numb)*euler(0,numb2,0))
  24479. numb=numb-0.3
  24480. end
  24481. numb2=numb2+1.57
  24482. end
  24483.  
  24484. numb=0
  24485. for i=1,5 do
  24486. local prtgear=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Partgear",vt(1,1,1))
  24487. mshgear=mesh("BlockMesh",prtgear,"","",vt(0,0,0),vt(0.4,0.09,0.07))
  24488. local wldgear=weld(prtgear,prtgear,prt9,euler(0,numb,0)*cf(0,0,0))
  24489. numb=numb+0.628
  24490. end
  24491.  
  24492. local gun = Instance.new("Model")
  24493. gun.Parent = modelzorz
  24494. gun.Name = "Blitz"
  24495. gun.Parent=nil
  24496.  
  24497. local gprt1=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(1,1,1))
  24498. local gprt2=part(3,gun,0,0,BrickColor.new("Black"),"Part2",vt(1,1,1))
  24499. local gprt3=part(3,gun,0,0,BrickColor.new("Black"),"Part3",vt(1,1,1))
  24500. local gprt4=part(3,gun,0,0,BrickColor.new("Black"),"Part4",vt(1,1,1))
  24501. local gprt5=part(3,gun,0,0,BrickColor.new("Black"),"Part5",vt(1,1,1))
  24502. local gprt6=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part6",vt(1,1,1))
  24503. local gprt7=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part7",vt(1,1,1))
  24504. local gprt8=part(3,gun,0,0,BrickColor.new("Black"),"Part8",vt(1,1,1))
  24505. local gprt9=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part9",vt(1,1,1))
  24506. local gprt10=part(3,gun,0,0,BrickColor.new("Black"),"Part10",vt(1,1,1))
  24507. local gprt11=part(3,gun,0,0,BrickColor.new("Black"),"Part11",vt(1,1,1))
  24508. local gprt12=part(3,gun,0,0,BrickColor.new("Black"),"Part12",vt(1,1,1))
  24509. local gprt13=part(3,gun,0,0,BrickColor.new("Black"),"Part13",vt(1,1,1))
  24510. local gprt14=part(3,gun,0,0,BrickColor.new("Black"),"Part14",vt(1,1,1))
  24511. local gprt15=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part15",vt(1,1,1))
  24512. local gprt16=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part16",vt(1,1,1))
  24513. local gprt17=part(3,gun,0,0,BrickColor.new("Really black"),"Part17",vt(1,1,1))
  24514. local gprt18=part(3,gun,0,0,BrickColor.new("Black"),"Part18",vt(1,1,1))
  24515. local gprt19=part(3,gun,0,0,BrickColor.new("Dark stone grey"),"Part19",vt(1,1,1))
  24516. local gprt20=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part20",vt(1,1,1))
  24517. local gprt21=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part21",vt(1,1,1))
  24518. local gprt22=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part22",vt(1,1,1))
  24519.  
  24520. gmsh1=mesh("BlockMesh",gprt1,"","",vt(0,0,0),vt(0.2,0.7,0.2))
  24521. gmsh2=mesh("BlockMesh",gprt2,"","",vt(0,0,0),vt(0.25,0.2,0.25))
  24522. gmsh3=mesh("BlockMesh",gprt3,"","",vt(0,0,0),vt(0.25,0.2,0.25))
  24523. gmsh4=mesh("BlockMesh",gprt4,"","",vt(0,0,0),vt(0.5,0.5,0.7))
  24524. gmsh5=mesh("CylinderMesh",gprt5,"","",vt(0,0,0),vt(0.5,0.49,0.5))
  24525. gmsh6=mesh("CylinderMesh",gprt6,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  24526. gmsh7=mesh("BlockMesh",gprt7,"","",vt(0,0,0),vt(0.55,0.3,0.3))
  24527. gmsh8=mesh("CylinderMesh",gprt8,"","",vt(0,0,0),vt(0.7,0.7,0.7))
  24528. gmsh9=mesh("CylinderMesh",gprt9,"","",vt(0,0,0),vt(0.4,0.71,0.4))
  24529. gmsh10=mesh("BlockMesh",gprt10,"","",vt(0,0,0),vt(0.3,0.4,0.3))
  24530. gmsh11=mesh("BlockMesh",gprt11,"","",vt(0,0,0),vt(0.2,2.5,0.5))
  24531. gmsh12=mesh("CylinderMesh",gprt12,"","",vt(0,0,0),vt(0.3,0.51,0.3))
  24532. gmsh13=mesh("BlockMesh",gprt13,"","",vt(0,0,0),vt(0.2,0.3,0.5))
  24533. gmsh14=mesh("CylinderMesh",gprt14,"","",vt(0,0,0),vt(0.3,0.2,0.3))
  24534. gmsh15=mesh("CylinderMesh",gprt15,"","",vt(0,0,0),vt(0.2,0.35,0.2))
  24535. gmsh16=mesh("CylinderMesh",gprt16,"","",vt(0,0,0),vt(0.2,0.21,0.2))
  24536. gmsh17=mesh("CylinderMesh",gprt17,"","",vt(0,0,0),vt(0.15,0.22,0.15))
  24537. gmsh18=mesh("CylinderMesh",gprt18,"","",vt(0,0,0),vt(0.6,0.2,0.6))
  24538. gmsh19=mesh("CylinderMesh",gprt19,"","",vt(0,0,0),vt(0.7,0.2,0.7))
  24539. gmsh20=mesh("CylinderMesh",gprt20,"","",vt(0,0,0),vt(0.6,1.5,0.6))
  24540. gmsh21=mesh("CylinderMesh",gprt21,"","",vt(0,0,0),vt(0.69,0.5,0.69))
  24541. gmsh22=mesh("CylinderMesh",gprt22,"","",vt(0,0,0),vt(0.69,0.31,0.69))
  24542.  
  24543. local GunWelds={}
  24544. local gwld1=weld(gprt1,gprt1,Torso,euler(0.5,1.57,0)*cf(1,-0.5,1.8))
  24545. local gwld2=weld(gprt2,gprt2,gprt1,euler(0,0,0)*cf(0,0.3,0))
  24546. local gwld3=weld(gprt3,gprt3,gprt1,euler(0,0,0)*cf(0,-0.3,0))
  24547. local gwld4=weld(gprt4,gprt4,gprt3,euler(-0.5,0,0)*cf(0,-0.1,-0.1))
  24548. local gwld5=weld(gprt5,gprt5,gprt4,euler(0,0,1.57)*cf(0,0,-0.35))
  24549. local gwld6=weld(gprt6,gprt6,gprt5,cf(0,0,-0.1))
  24550. local gwld7=weld(gprt7,gprt7,gprt4,cf(0,0,-0.1))
  24551. local gwld8=weld(gprt8,gprt8,gprt4,euler(0,0,1.57)*cf(0,0,0.4))
  24552. local gwld9=weld(gprt9,gprt9,gprt8,cf(0,0,0))
  24553. local gwld10=weld(gprt10,gprt10,gprt8,euler(1.57,0,0)*cf(0,0,0.4)*euler(0,0.7,0))
  24554. local gwld11=weld(gprt11,gprt11,gprt8,euler(1.57,0,0)*cf(0.3,0,0.9))
  24555. local gwld12=weld(gprt12,gprt12,gprt11,euler(-1.57,0,0)*cf(0,-1.3,0))
  24556. local gwld13=weld(gprt13,gprt13,gprt12,cf(0,0,0.3)*euler(0,1.57,0))
  24557. local gwld14=weld(gprt14,gprt14,gprt13,cf(0.05,0,0.25))
  24558. local gwld15=weld(gprt15,gprt15,gprt14,cf(0,0,0))
  24559. local gwld16=weld(gprt16,gprt16,gprt13,euler(0,0,1.57)*cf(0,0,-0.1))
  24560. local gwld17=weld(gprt17,gprt17,gprt16,cf(0,0,0))
  24561. local gwld18=weld(gprt18,gprt18,gprt8,euler(1.57,0,0)*cf(-0.1,0,0.4))
  24562. local gwld19=weld(gprt19,gprt19,gprt18,cf(-0.05,-0.15,0))
  24563. local gwld20=weld(gprt20,gprt20,gprt19,cf(0,-0.8,0))
  24564. local gwld21=weld(gprt21,gprt21,gprt20,cf(0,0.5,0))
  24565. local gwld22=weld(gprt22,gprt22,gprt20,cf(0,-0.6,0))
  24566. table.insert(GunWelds,gwld1)
  24567. table.insert(GunWelds,gwld2)
  24568. table.insert(GunWelds,gwld3)
  24569. table.insert(GunWelds,gwld4)
  24570. table.insert(GunWelds,gwld5)
  24571. table.insert(GunWelds,gwld6)
  24572. table.insert(GunWelds,gwld7)
  24573. table.insert(GunWelds,gwld8)
  24574. table.insert(GunWelds,gwld9)
  24575. table.insert(GunWelds,gwld10)
  24576. table.insert(GunWelds,gwld11)
  24577. table.insert(GunWelds,gwld12)
  24578. table.insert(GunWelds,gwld13)
  24579. table.insert(GunWelds,gwld14)
  24580. table.insert(GunWelds,gwld15)
  24581. table.insert(GunWelds,gwld16)
  24582. table.insert(GunWelds,gwld17)
  24583. table.insert(GunWelds,gwld18)
  24584. table.insert(GunWelds,gwld19)
  24585. table.insert(GunWelds,gwld20)
  24586. table.insert(GunWelds,gwld21)
  24587. table.insert(GunWelds,gwld22)
  24588.  
  24589. numb=1.57
  24590. for i=1,10 do
  24591. local gprt23=part(3,gun,0,0,BrickColor.new("Medium stone grey"),"Part23",vt(1,1,1))
  24592. gmsh23=mesh("CylinderMesh",gprt23,"","",vt(0,0,0),vt(0.15,0.7,0.15))
  24593. local gwld23=weld(gprt23,gprt23,gprt20,cf(0,-0.1,-0.25)*euler(0,numb,0))
  24594. table.insert(GunWelds,gwld23)
  24595. local gprt24=part(3,gun,0,0,BrickColor.new("Really black"),"Part24",vt(1,1,1))
  24596. gmsh24=mesh("CylinderMesh",gprt24,"","",vt(0,0,0),vt(0.14,1.52,0.14))
  24597. local gwld24=weld(gprt24,gprt24,gprt20,cf(0,0,-0.25)*euler(0,numb,0))
  24598. table.insert(GunWelds,gwld24)
  24599. numb=numb+0.628
  24600. end
  24601.  
  24602. local sword=Instance.new("Model")
  24603. sword.Parent=modelzorz
  24604. sword.Name="Daku"
  24605. sword.Parent=nil
  24606.  
  24607. local sprt1=part(3,sword,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(1,1,1))
  24608. local sprt2=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part2",vt(1,1,1))
  24609. local sprt3=part(3,sword,0,0,BrickColor.new("Dark stone grey"),"Part3",vt(1,1,1))
  24610. local sprt4=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part4",vt(1,1,1))
  24611. local sprt5=part(3,sword,0,0,BrickColor.new("Light stone grey"),"Part5",vt(1,1,1))
  24612. local sprt6=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part6",vt(1,1,1))
  24613. local sprt7=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part7",vt(1,1,1))
  24614. local sprt8=part(3,sword,0,0,BrickColor.new("Light stone grey"),"Part8",vt(1,1,1))
  24615. local sprt9=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part9",vt(1,1,1))
  24616. local sprt10=part(3,sword,0,0,BrickColor.new("Dark stone grey"),"Part10",vt(1,1,1))
  24617. local sprt11=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part11",vt(1,1,1))
  24618. local sprt12=part(3,sword,0,0,BrickColor.new("Light stone grey"),"Part12",vt(1,1,1))
  24619. local sprt13=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part13",vt(1,1,1))
  24620. local sprt14=part(3,sword,0,0,BrickColor.new("Medium stone grey"),"Part14",vt(1,1,1))
  24621. local sprt15=part(3,sword,0,0,BrickColor.new("Light stone grey"),"Part15",vt(1,1,1))
  24622. local sprt16=part(3,sword,0,1,BrickColor.new("Black"),"Hitbox",vt(1,7,1.5))
  24623. local sprt17=part(3,sword,0,0,BrickColor.new("Bright yellow"),"Top",vt(1,1,1))
  24624. local sprt18=part(3,sword,0,1,BrickColor.new("Black"),"Mid",vt(0.1,0.1,0.1))
  24625. local sprt19=part(3,sword,0,0,BrickColor.new("Bright yellow"),"Bottom",vt(1,1,1))
  24626.  
  24627. smsh1=mesh("BlockMesh",sprt1,"","",vt(0,0,0),vt(0.2,1,0.2))
  24628. smsh2=mesh("SpecialMesh",sprt2,"Head","",vt(0,0,0),vt(0.4,0.3,0.4))
  24629. smsh3=mesh("BlockMesh",sprt3,"","",vt(0,0,0),vt(0.25,0.5,0.25))
  24630. smsh4=mesh("SpecialMesh",sprt4,"Head","",vt(0,0,0),vt(0.5,0.3,0.5))
  24631. smsh5=mesh("CylinderMesh",sprt5,"","",vt(0,0,0),vt(0.5,0.2,0.5))
  24632. smsh6=mesh("BlockMesh",sprt6,"","",vt(0,0,0),vt(0.5,0.2,0.35))
  24633. smsh7=mesh("BlockMesh",sprt7,"","",vt(0,0,0),vt(0.2,0.19,0.2))
  24634. smsh8=mesh("BlockMesh",sprt8,"","",vt(0,0,0),vt(0.8,0.15,0.5))
  24635. smsh9=mesh("SpecialMesh",sprt9,"Head","",vt(0,0,0),vt(0.4,0.3,0.4))
  24636. smsh10=mesh("BlockMesh",sprt10,"","",vt(0,0,0),vt(0.25,0.5,0.25))
  24637. smsh11=mesh("SpecialMesh",sprt11,"Head","",vt(0,0,0),vt(0.5,0.3,0.5))
  24638. smsh12=mesh("CylinderMesh",sprt12,"","",vt(0,0,0),vt(0.5,0.2,0.5))
  24639. smsh13=mesh("BlockMesh",sprt13,"","",vt(0,0,0),vt(0.5,0.2,0.35))
  24640. smsh14=mesh("BlockMesh",sprt14,"","",vt(0,0,0),vt(0.2,0.19,0.2))
  24641. smsh15=mesh("BlockMesh",sprt15,"","",vt(0,0,0),vt(0.8,0.15,0.5))
  24642. smsh17=mesh("CylinderMesh",sprt17,"","",vt(0,0,0),vt(0.1,0.05,0.1))
  24643. smsh19=mesh("CylinderMesh",sprt19,"","",vt(0,0,0),vt(0.1,0.05,0.1))
  24644.  
  24645. local SwordWelds={}
  24646. local swld1=weld(sprt1,sprt1,Torso,euler(0,0,1.57)*cf(0,-4,0))
  24647. local swld2=weld(sprt2,sprt2,sprt1,euler(0,0,0)*cf(0,-0.4,0))
  24648. local swld3=weld(sprt3,sprt3,sprt2,euler(0,0,0)*cf(0,-0.3,0))
  24649. local swld4=weld(sprt4,sprt4,sprt3,euler(0,0,0)*cf(0,-0.3,0))
  24650. local swld5=weld(sprt5,sprt5,sprt4,euler(0,0,0)*cf(0,-0.15,0))
  24651. local swld6=weld(sprt6,sprt6,sprt5,euler(0,0,1.57)*cf(0,-0.2,0))
  24652. local swld7=weld(sprt7,sprt7,sprt6,euler(0,0.785,0)*cf(0,0,-0.17))
  24653. local swld8=weld(sprt8,sprt8,sprt5,euler(0,0,1.57)*cf(0,-0.4,0))
  24654. local swld9=weld(sprt9,sprt9,sprt1,euler(3.14,3.14,0)*cf(0,0.4,0))
  24655. local swld10=weld(sprt10,sprt10,sprt9,euler(0,0,0)*cf(0,-0.3,0))
  24656. local swld11=weld(sprt11,sprt11,sprt10,euler(0,0,0)*cf(0,-0.3,0))
  24657. local swld12=weld(sprt12,sprt12,sprt11,euler(0,0,0)*cf(0,-0.15,0))
  24658. local swld13=weld(sprt13,sprt13,sprt12,euler(0,0,1.57)*cf(0,-0.2,0))
  24659. local swld14=weld(sprt14,sprt14,sprt13,euler(0,0.785,0)*cf(0,0,-0.17))
  24660. local swld15=weld(sprt15,sprt15,sprt12,euler(0,0,1.57)*cf(0,-0.4,0))
  24661. local swld16=weld(sprt16,sprt16,sprt1,cf(0,0,-0.3))
  24662. local swld17=weld(sprt17,sprt17,sprt1,euler(0.55,0,0)*cf(0,3.7,-0.79))
  24663. local swld18=weld(sprt18,sprt18,sprt1,cf(0,0,-0.8))
  24664. local swld19=weld(sprt19,sprt19,sprt1,euler(-0.55,0,0)*cf(0,-3.7,-0.79))
  24665. table.insert(SwordWelds,swld1)
  24666. table.insert(SwordWelds,swld2)
  24667. table.insert(SwordWelds,swld3)
  24668. table.insert(SwordWelds,swld4)
  24669. table.insert(SwordWelds,swld5)
  24670. table.insert(SwordWelds,swld6)
  24671. table.insert(SwordWelds,swld7)
  24672. table.insert(SwordWelds,swld8)
  24673. table.insert(SwordWelds,swld9)
  24674. table.insert(SwordWelds,swld10)
  24675. table.insert(SwordWelds,swld11)
  24676. table.insert(SwordWelds,swld12)
  24677. table.insert(SwordWelds,swld13)
  24678. table.insert(SwordWelds,swld14)
  24679. table.insert(SwordWelds,swld15)
  24680. table.insert(SwordWelds,swld16)
  24681. table.insert(SwordWelds,swld17)
  24682. table.insert(SwordWelds,swld18)
  24683. table.insert(SwordWelds,swld19)
  24684.  
  24685. numb=0
  24686. numb2=0
  24687. bend=0
  24688. for i=1,8 do
  24689. local sprtblade1=part(3,sword,0.3,0,BrickColor.new("White"),"Partblade1",vt(1,1,1))
  24690. smshblade1=mesh("SpecialMesh",sprtblade1,"Wedge","",vt(0,0,0),vt(0.1+numb2,0.7,0.7))
  24691. local swldblade1=weld(sprtblade1,sprtblade1,sprt5,euler(0,0,0)*cf(0,-0.3-numb,0.1+bend)*euler(-bend,0,0))
  24692. table.insert(SwordWelds,swldblade1)
  24693. local sprtblade2=part(3,sword,0.3,0,BrickColor.new("White"),"Partblade2",vt(1,1,1))
  24694. smshblade2=mesh("SpecialMesh",sprtblade2,"Wedge","",vt(0,0,0),vt(0.1+numb2,0.7,0.7))
  24695. local swldblade2=weld(sprtblade2,sprtblade2,sprt12,euler(0,0,0)*cf(0,-0.3-numb,0.1+bend)*euler(-bend,0,0))
  24696. table.insert(SwordWelds,swldblade2)
  24697. numb=numb+0.3
  24698. numb2=numb2-0.01
  24699. bend=bend+0.05
  24700. end
  24701.  
  24702. local sniper=Instance.new("Model")
  24703. sniper.Parent=modelzorz
  24704. sniper.Name="Hand Sniper"
  24705. sniper.Parent=nil
  24706.  
  24707. local snprt1=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(1,1,1))
  24708. local snprt2=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part2",vt(1,1,1))
  24709. local snprt3=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part3",vt(1,1,1))
  24710. local snprt4=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part4",vt(1,1,1))
  24711. local snprt5=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part5",vt(1,1,1))
  24712. local snprt6=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part6",vt(1,1,1))
  24713. local snprt7=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part7",vt(1,1,1))
  24714. local snprt8=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part8",vt(1,1,1))
  24715. local snprt9=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part9",vt(1,1,1))
  24716. local snprt10=part(3,sniper,0,0,BrickColor.new("Black"),"Part10",vt(1,1,1))
  24717. local snprt11=part(3,sniper,0,0,BrickColor.new("Black"),"Part11",vt(1,1,1))
  24718. local snprt12=part(3,sniper,0,0,BrickColor.new("Black"),"Part12",vt(1,1,1))
  24719. local snprt13=part(3,sniper,0,0,BrickColor.new("Black"),"Part13",vt(1,1,1))
  24720. local snprt14=part(3,sniper,0,0,BrickColor.new("Black"),"Part14",vt(1,1,1))
  24721. local snprt15=part(3,sniper,0,0,BrickColor.new("Really black"),"Part15",vt(1,1,1))
  24722. local snprt16=part(3,sniper,0,0,BrickColor.new("Black"),"Part16",vt(1,1,1))
  24723. local snprt17=part(3,sniper,0,0,BrickColor.new("Black"),"Part17",vt(1,1,1))
  24724. local snprt18=part(3,sniper,0,0,BrickColor.new("Black"),"Part18",vt(1,1,1))
  24725. local snprt19=part(3,sniper,0,0,BrickColor.new("Black"),"Part19",vt(1,1,1))
  24726. local snprt20=part(3,sniper,0,0,BrickColor.new("Black"),"Part20",vt(1,1,1))
  24727. local snprt21=part(3,sniper,0,0,BrickColor.new("Black"),"Part21",vt(1,1,1))
  24728. local snprt22=part(3,sniper,0,0,BrickColor.new("Black"),"Part22",vt(1,1,1))
  24729. local snprt23=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part23",vt(1,1,1))
  24730. local snprt24=part(3,sniper,0,0,BrickColor.new("Medium stone grey"),"Part24",vt(1,1,1))
  24731. local snprt25=part(3,sniper,0,0,BrickColor.new("Black"),"Part25",vt(1,1,1))
  24732. local snprt26=part(3,sniper,0,0,BrickColor.new("Black"),"Part26",vt(1,1,1))
  24733. local snprt27=part(3,sniper,0,0,BrickColor.new("Dark stone grey"),"Part27",vt(1,1,1))
  24734. local snprt28=part(3,sniper,0,0,BrickColor.new("Black"),"Part28",vt(1,1,1))
  24735. local snprt29=part(3,sniper,0,0,BrickColor.new("Black"),"Part29",vt(1,1,1))
  24736.  
  24737. snmsh1=mesh("BlockMesh",snprt1,"","",vt(0,0,0),vt(0.2,1,0.2))
  24738. snmsh2=mesh("BlockMesh",snprt2,"","",vt(0,0,0),vt(0.201,0.5,0.5))
  24739. snmsh3=mesh("BlockMesh",snprt3,"","",vt(0,0,0),vt(0.2,0.3,0.3))
  24740. snmsh4=mesh("BlockMesh",snprt4,"","",vt(0,0,0),vt(0.199,0.6,0.7))
  24741. snmsh5=mesh("BlockMesh",snprt5,"","",vt(0,0,0),vt(0.198,0.9,0.3))
  24742. snmsh6=mesh("BlockMesh",snprt6,"","",vt(0,0,0),vt(0.202,3.5,0.3))
  24743. snmsh7=mesh("BlockMesh",snprt7,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  24744. snmsh8=mesh("BlockMesh",snprt8,"","",vt(0,0,0),vt(0.1,0.6,0.1))
  24745. snmsh9=mesh("BlockMesh",snprt9,"","",vt(0,0,0),vt(0.201,1.7,0.2))
  24746. snmsh10=mesh("BlockMesh",snprt10,"","",vt(0,0,0),vt(0.15,0.4,0.4))
  24747. snmsh11=mesh("BlockMesh",snprt11,"","",vt(0,0,0),vt(0.201,0.8,0.2))
  24748. snmsh12=mesh("CylinderMesh",snprt12,"","",vt(0,0,0),vt(0.2,4,0.2))
  24749. snmsh13=mesh("CylinderMesh",snprt13,"","",vt(0,0,0),vt(0.4,0.2,0.4))
  24750. snmsh14=mesh("CylinderMesh",snprt14,"","",vt(0,0,0),vt(0.22,0.3,0.22))
  24751. snmsh15=mesh("CylinderMesh",snprt15,"","",vt(0,0,0),vt(0.15,0.301,0.15))
  24752. snmsh16=mesh("BlockMesh",snprt16,"","",vt(0,0,0),vt(0.1,0.7,0.1))
  24753. snmsh17=mesh("BlockMesh",snprt17,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  24754. snmsh18=mesh("BlockMesh",snprt18,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  24755. snmsh19=mesh("BlockMesh",snprt19,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  24756. snmsh20=mesh("BlockMesh",snprt20,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  24757. snmsh21=mesh("CylinderMesh",snprt21,"","",vt(0,0,0),vt(0.2,0.099,0.2))
  24758. snmsh22=mesh("CylinderMesh",snprt22,"","",vt(0,0,0),vt(0.2,0.099,0.2))
  24759. snmsh23=mesh("CylinderMesh",snprt23,"","",vt(0,0,0),vt(0.199,1,0.199))
  24760. snmsh24=mesh("CylinderMesh",snprt24,"","",vt(0,0,0),vt(0.15,1.01,0.15))
  24761. snmsh25=mesh("BlockMesh",snprt25,"","",vt(0,0,0),vt(0.3,0.5,0.2))
  24762. snmsh26=mesh("CylinderMesh",snprt26,"","",vt(0,0,0),vt(0.05,0.3,0.05))
  24763. snmsh27=mesh("SpecialMesh",snprt27,"Sphere","",vt(0,0,0),vt(0.1,0.1,0.1))
  24764. snmsh28=mesh("BlockMesh",snprt28,"","",vt(0,0,0),vt(0.05,0.3,0.05))
  24765. snmsh29=mesh("CylinderMesh",snprt29,"","",vt(0,0,0),vt(0.15,0.4,0.15))
  24766.  
  24767. local SniperWelds={}
  24768. local snwld1=weld(snprt1,snprt1,Torso,euler(0.5,0,0)*cf(0,-4,0))
  24769. local snwld2=weld(snprt2,snprt2,snprt1,euler(-0.5,0,0)*cf(0,0.5,-0.2))
  24770. local snwld3=weld(snprt3,snprt3,snprt2,euler(-0.785,0,0)*cf(0,-0.1,-0.2))
  24771. local snwld4=weld(snprt4,snprt4,snprt3,euler(0.785,0,0)*cf(0,-0.4,0))
  24772. local snwld5=weld(snprt5,snprt5,snprt4,cf(0,0,-0.3))
  24773. local snwld6=weld(snprt6,snprt6,snprt1,euler(1.07,0,0)*cf(0,-0.5,0.2))
  24774. local snwld7=weld(snprt7,snprt7,snprt6,euler(0,0,0)*cf(0,0.2,0.5))
  24775. local snwld8=weld(snprt8,snprt8,snprt6,euler(1.57,0,0)*cf(0,-0.1,0.25))
  24776. local snwld9=weld(snprt9,snprt9,snprt6,euler(0,0,0)*cf(0,-0.9,0.25))
  24777. local snwld10=weld(snprt10,snprt10,snprt9,euler(0,0,0)*cf(0,0.5,0.2))
  24778. local snwld11=weld(snprt11,snprt11,snprt6,euler(0,0,0)*cf(0,0.2,-0.2))
  24779. local snwld12=weld(snprt12,snprt12,snprt11,euler(0,0,0)*cf(0,-2,0))
  24780. local snwld13=weld(snprt13,snprt13,snprt12,euler(0,0,0)*cf(0,-1.8,0))
  24781. local snwld14=weld(snprt14,snprt14,snprt12,euler(0,0,0)*cf(0,-2,0))
  24782. local snwld15=weld(snprt15,snprt15,snprt14,euler(0,0,0)*cf(0,0,0))
  24783. local snwld16=weld(snprt16,snprt16,snprt11,euler(0,0,0)*cf(0,0,-0.1))
  24784. local snwld17=weld(snprt17,snprt17,snprt16,euler(1.57,0,0)*cf(0.05,0.2,-0.1))
  24785. local snwld18=weld(snprt18,snprt18,snprt16,euler(1.57,0,0)*cf(-0.05,0.2,-0.1))
  24786. local snwld19=weld(snprt19,snprt19,snprt16,euler(1.57,0,0)*cf(-0.05,-0.2,-0.1))
  24787. local snwld20=weld(snprt20,snprt20,snprt16,euler(1.57,0,0)*cf(0.05,-0.2,-0.1))
  24788. local snwld21=weld(snprt21,snprt21,snprt16,euler(0,0,0)*cf(0,0.2,-0.2))
  24789. local snwld22=weld(snprt22,snprt22,snprt16,euler(0,0,0)*cf(0,-0.2,-0.2))
  24790. local snwld23=weld(snprt23,snprt23,snprt16,euler(0,0,0)*cf(0,0,-0.2))
  24791. local snwld24=weld(snprt24,snprt24,snprt23,euler(0,0,0)*cf(0,0,0))
  24792. local snwld25=weld(snprt25,snprt25,snprt6,euler(0,0,0)*cf(0,-0.5,0))
  24793. local snwld26=weld(snprt26,snprt26,snprt25,cf(0,-0.3,0)*euler(0.5,0.7,1.57))
  24794. local snwld27=weld(snprt27,snprt27,snprt26,cf(0,-0.1,0))
  24795. local snwld28=weld(snprt28,snprt28,snprt6,euler(1.57-0.5,0,0)*cf(0,0.2,0.2))
  24796. local snwld29=weld(snprt29,snprt29,snprt9,euler(0,0.2,1.57)*cf(0,-0.8,0.1))
  24797. table.insert(SniperWelds,snwld1)
  24798. table.insert(SniperWelds,snwld2)
  24799. table.insert(SniperWelds,snwld3)
  24800. table.insert(SniperWelds,snwld4)
  24801. table.insert(SniperWelds,snwld5)
  24802. table.insert(SniperWelds,snwld6)
  24803. table.insert(SniperWelds,snwld7)
  24804. table.insert(SniperWelds,snwld8)
  24805. table.insert(SniperWelds,snwld9)
  24806. table.insert(SniperWelds,snwld10)
  24807. table.insert(SniperWelds,snwld11)
  24808. table.insert(SniperWelds,snwld12)
  24809. table.insert(SniperWelds,snwld13)
  24810. table.insert(SniperWelds,snwld14)
  24811. table.insert(SniperWelds,snwld15)
  24812. table.insert(SniperWelds,snwld16)
  24813. table.insert(SniperWelds,snwld17)
  24814. table.insert(SniperWelds,snwld18)
  24815. table.insert(SniperWelds,snwld19)
  24816. table.insert(SniperWelds,snwld20)
  24817. table.insert(SniperWelds,snwld21)
  24818. table.insert(SniperWelds,snwld22)
  24819. table.insert(SniperWelds,snwld23)
  24820. table.insert(SniperWelds,snwld24)
  24821. table.insert(SniperWelds,snwld25)
  24822. table.insert(SniperWelds,snwld26)
  24823. table.insert(SniperWelds,snwld27)
  24824. table.insert(SniperWelds,snwld28)
  24825. table.insert(SniperWelds,snwld29)
  24826.  
  24827. numb=-0.15
  24828. numb2=0.1
  24829. for i=1,2 do
  24830. local snprt30=part(3,sniper,0,0,BrickColor.new("Black"),"Part30",vt(1,1,1))
  24831. local snprt31=part(3,sniper,0,0,BrickColor.new("Black"),"Part31",vt(1,1,1))
  24832. local snprt32=part(3,sniper,0,0,BrickColor.new("Black"),"Part32",vt(1,1,1))
  24833. local snprt33=part(3,sniper,0,0,BrickColor.new("Black"),"Part33",vt(1,1,1))
  24834. local snprt34=part(3,sniper,0,0,BrickColor.new("Black"),"Part34",vt(1,1,1))
  24835. local snprt35=part(3,sniper,0,0,BrickColor.new("Black"),"Part35",vt(1,1,1))
  24836. local snprt36=part(3,sniper,0,0,BrickColor.new("Black"),"Part36",vt(1,1,1))
  24837. local snprt37=part(3,sniper,0,0,BrickColor.new("Black"),"Part37",vt(1,1,1))
  24838. snmsh30=mesh("CylinderMesh",snprt30,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  24839. snmsh31=mesh("CylinderMesh",snprt31,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  24840. snmsh32=mesh("CylinderMesh",snprt32,"","",vt(0,0,0),vt(0.15,0.1,0.15))
  24841. snmsh33=mesh("CylinderMesh",snprt33,"","",vt(0,0,0),vt(0.125,0.3,0.125))
  24842. snmsh34=mesh("CylinderMesh",snprt34,"","",vt(0,0,0),vt(0.15,0.2,0.15))
  24843. snmsh35=mesh("CylinderMesh",snprt35,"","",vt(0,0,0),vt(0.08,0.8,0.08))
  24844. snmsh36=mesh("CylinderMesh",snprt36,"","",vt(0,0,0),vt(0.15,0.2,0.15))
  24845. snmsh37=mesh("CylinderMesh",snprt37,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  24846. local snwld30=weld(snprt30,snprt30,snprt29,euler(0,0,0)*cf(0,numb,0))
  24847. local snwld31=weld(snprt31,snprt31,snprt30,euler(0,0,1.57+numb2)*cf(0.25,0,0))
  24848. local snwld32=weld(snprt32,snprt32,snprt31,cf(0,0.25,0))
  24849. local snwld33=weld(snprt33,snprt33,snprt32,cf(0,0.15,0))
  24850. local snwld34=weld(snprt34,snprt34,snprt33,cf(0,0.1,0))
  24851. local snwld35=weld(snprt35,snprt35,snprt34,cf(0,0.4,0))
  24852. local snwld36=weld(snprt36,snprt36,snprt35,cf(0,0.4,0))
  24853. local snwld37=weld(snprt37,snprt37,snprt36,cf(0,0.1,0))
  24854. table.insert(SniperWelds,snwld30)
  24855. table.insert(SniperWelds,snwld31)
  24856. table.insert(SniperWelds,snwld32)
  24857. table.insert(SniperWelds,snwld33)
  24858. table.insert(SniperWelds,snwld34)
  24859. table.insert(SniperWelds,snwld35)
  24860. table.insert(SniperWelds,snwld36)
  24861. table.insert(SniperWelds,snwld37)
  24862. numb=numb+0.3
  24863. numb2=numb2-0.2
  24864. end
  24865.  
  24866. Bin = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  24867.  
  24868. local Bg = it("BodyGyro")
  24869. Bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  24870. Bg.P = 20e+003
  24871. Bg.Parent = nil
  24872.  
  24873. so = function(id,par,vol,pit)
  24874. coroutine.resume(coroutine.create(function()
  24875. local sou = Instance.new("Sound",par or workspace)
  24876. sou.Volume=vol
  24877. sou.Pitch=pit or 1
  24878. sou.SoundId=id
  24879. wait()
  24880. sou:play()
  24881. wait(6)
  24882. sou:Remove()
  24883. end))
  24884. end
  24885.  
  24886. function CreateDrone()
  24887. local drone=Instance.new("Model")
  24888. drone.Parent=modelzorz
  24889. drone.Name="Drone"
  24890.  
  24891. local dprt1=part(3,drone,0,1,BrickColor.new("White"),"DPart1",vt(1,1,1))
  24892. dprt1.CanCollide=true
  24893. local dprt6=part(3,drone,0,1,BrickColor.new("Bright red"),"DPart6",vt(1,1,1))
  24894. local dprt7=part(3,drone,0,1,BrickColor.new("Black"),"DPart7",vt(1,1,1))
  24895.  
  24896. local dmsh1=mesh("SpecialMesh",dprt1,"Sphere","",vt(0,0,0),vt(1,1,1))
  24897. local dmsh6=mesh("CylinderMesh",dprt6,"","",vt(0,0,0),vt(0.5,0.2,0.5))
  24898. local dmsh7=mesh("CylinderMesh",dprt7,"","",vt(0,0,0),vt(0.4,0.21,0.4))
  24899.  
  24900. --local dwld1=weld(dprt1,dprt1,Torso,euler(0,0,0)*cf(0,-5,0))
  24901. local dwld6=weld(dprt6,dprt6,dprt1,euler(1.57,0,0)*cf(0,0,0.4))
  24902. local dwld7=weld(dprt7,dprt7,dprt6,cf(0,0,0))
  24903.  
  24904. numb=0
  24905. for i=1,4 do
  24906. local dprt2=part(3,drone,0,1,BrickColor.new("Medium stone grey"),"DPart2",vt(1,1,1))
  24907. local dmsh2=mesh("BlockMesh",dprt2,"","",vt(0,0,0),vt(0.5,0.5,0.8))
  24908. local dwld2=weld(dprt2,dprt2,dprt1,cf(0,-0.5,0)*euler(0,0,numb))
  24909. numb=numb+1.57
  24910. end
  24911. numb=0
  24912. for i=1,4 do
  24913. local dprt3=part(3,drone,0,1,BrickColor.new("Dark stone grey"),"DPart3",vt(1,1,1))
  24914. local dmsh3=mesh("BlockMesh",dprt3,"","",vt(0,0,0),vt(0.5,0.5,0.79))
  24915. local dwld3=weld(dprt3,dprt3,dprt1,cf(0,-0.3,0)*euler(0,0,0.785+numb))
  24916. numb=numb+1.57
  24917. end
  24918. numb=0
  24919. for i=1,4 do
  24920. local dprt4=part(3,drone,0,1,BrickColor.new("Dark stone grey"),"DPart4",vt(1,1,1))
  24921. local dmsh4=mesh("BlockMesh",dprt4,"","",vt(0,0,0),vt(0.2,0.8,0.2))
  24922. local dwld4=weld(dprt4,dprt4,dprt1,cf(0,0.8,0)*euler(0.785,numb,0))
  24923. local dprt5=part(3,drone,0,1,BrickColor.new("Bright blue"),"DPart5",vt(1,1,1))
  24924. local dmsh5=mesh("SpecialMesh",dprt5,"Sphere","",vt(0,0,0),vt(0.4,0.4,0.4))
  24925. local dwld5=weld(dprt5,dprt5,dprt4,cf(0,0.5,0)*euler(0,0,0))
  24926. light1=Instance.new("PointLight")
  24927. light1.Brightness=.8
  24928. light1.Color=Color3.new(0,0,255)
  24929. light1.Range=10
  24930. light1.Parent=dprt5
  24931. numb=numb+1.57
  24932. end
  24933. return drone,dprt1
  24934. end
  24935.  
  24936. function hideanim()
  24937. equipped=false
  24938. if Mode=="Drones" then
  24939. Mode="Choose"
  24940. end
  24941. wait(0.1)
  24942. cone.Parent=nil
  24943. screen1.Parent=nil
  24944. screen2.Parent=nil
  24945. screen3.Parent=nil
  24946. Neck.C0=necko*euler(0,0,0)
  24947. wld9.C0=euler(0,0,0)*cf(0,0.05,0)
  24948. Bg.Parent=nil
  24949. end
  24950.  
  24951. function equipanim()
  24952. equipped=true
  24953. if Mode=="Choose" then
  24954. for i=0,1,0.1 do
  24955. wait()
  24956. Neck.C0=necko*euler(0.3*i,0,-0.2*i)
  24957. RW.C0=cf(1.5-0.5*i, 0.5-0.2*i, -0.5*i) * euler(1*i,0,-1*i)
  24958. RW.C1=cf(0, 0.5, 0) * euler(0,-2.07*i,0)
  24959. LW.C0=cf(-1.5+0.3*i, 0.5, -0.3*i) * euler(1.5*i,0,1.2*i)
  24960. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  24961. end
  24962. for i=0,1,0.1 do
  24963. wait()
  24964. wld9.C0=euler(0,-1.57*i,0)*cf(0,0.05,0)
  24965. Neck.C0=necko*euler(0.3+0.1*i,0,-0.2-0.1*i)
  24966. RW.C0=cf(1, 0.3, -0.5) * euler(1-0.2*i,0,-1+0.3*i)
  24967. RW.C1=cf(0, 0.5, 0) * euler(0,-2.07-0.1*i,0)
  24968. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.5-0.2*i,0,1.2-0.5*i)
  24969. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  24970. end
  24971. coroutine.resume(coroutine.create(function()
  24972. cone.Parent=modelzorz
  24973. cone.Transparency=1
  24974. local conewld=weld(cone,cone,prt9,euler(0,0,0)*cf(0,0.2,0))
  24975. screen1.Parent=modelzorz
  24976. screen1.Transparency=1
  24977. local screen1wld=weld(screen1,screen1,cone,euler(0,0.8,0)*cf(0,1,0))
  24978. screen2.Parent=modelzorz
  24979. screen2.Transparency=1
  24980. local screen2wld=weld(screen2,screen2,screen1,cf(0,0,1)*euler(0,0.3,0))
  24981. screen3.Parent=modelzorz
  24982. screen3.Transparency=1
  24983. local screen3wld=weld(screen3,screen3,screen1,cf(0,0,-1)*euler(0,-0.3,0))
  24984.  
  24985. for i=1,0.5,-0.05 do
  24986. wait()
  24987. cone.Transparency=i
  24988. screen1.Transparency=i
  24989. screen2.Transparency=i
  24990. screen3.Transparency=i
  24991. end
  24992. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  24993. while Mode=="Choose" do
  24994. wait(0.06)
  24995. Cone.Transparency=0.5
  24996. Screen1.Transparency=0.5
  24997. Screen2.Transparency=0.5
  24998. Screen3.Transparency=0.5
  24999. light1.Brightness=.7
  25000. light2.Brightness=.7
  25001. light3.Brightness=.7
  25002. wait(0.06)
  25003. Cone.Transparency=0.6
  25004. Screen1.Transparency=0.6
  25005. Screen2.Transparency=0.6
  25006. Screen3.Transparency=0.6
  25007. light1.Brightness=.8
  25008. light2.Brightness=.8
  25009. light3.Brightness=.8
  25010. end
  25011. end),cone,screen1,screen2,screen3)
  25012. end))
  25013. for i=0,1,0.1 do
  25014. wait()
  25015. wld9.C0=euler(0,-1.57,0)*cf(0,0.05,0)
  25016. Neck.C0=necko*euler(0.4-0.7*i,0,-0.3)
  25017. RW.C0=cf(1, 0.3, -0.5-0.3*i) * euler(0.8+0.77*i,0,-1+0.3)
  25018. RW.C1=cf(0, 0.5, 0) * euler(0,-2.17+0.67*i,0)
  25019. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.3+1*i,0,0.7)
  25020. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25021. end
  25022. Neck.C0=necko*euler(-0.3,0,-0.3)
  25023. RW.C0=cf(1, 0.3, -0.8) * euler(1.57,0,-0.7)
  25024. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0)
  25025. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3,0,0.7)
  25026. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25027. end
  25028. end
  25029.  
  25030. function Drones()
  25031. Mode="Drones"
  25032. attack=true
  25033. Humanoid.WalkSpeed=0
  25034. coroutine.resume(coroutine.create(function()
  25035. while Mode=="Drones" do
  25036. wait()
  25037. if Aiming==false then
  25038. DroneTarget=Torso.Position
  25039. end
  25040. end
  25041. end))
  25042. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  25043. numb=0.5
  25044. for i=0,1,0.1 do
  25045. wait()
  25046. Cone.Transparency=numb
  25047. Screen1.Transparency=numb
  25048. Screen2.Transparency=numb
  25049. Screen3.Transparency=numb
  25050. numb=numb+0.1
  25051. end
  25052. Cone.Parent=nil
  25053. Screen1.Parent=nil
  25054. Screen2.Parent=nil
  25055. Screen3.Parent=nil
  25056. end),cone,screen1,screen2,screen3)
  25057. for i=0,1,0.1 do
  25058. wait()
  25059. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  25060. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  25061. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  25062. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  25063. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25064. end
  25065. local drone1,droneprt1=CreateDrone()
  25066. local dwld1=weld(droneprt1,droneprt1,Torso,euler(0,0,0)*cf(2,0,5))
  25067. local drone2,droneprt2=CreateDrone()
  25068. local dwld12=weld(droneprt2,droneprt2,Torso,euler(0,0,0)*cf(0,0,5))
  25069. local drone3,droneprt3=CreateDrone()
  25070. local dwld13=weld(droneprt3,droneprt3,Torso,euler(0,0,0)*cf(-2,0,5))
  25071. wait()
  25072. dwld1:Remove()
  25073. dwld12:Remove()
  25074. dwld13:Remove()
  25075. local pos=it("BodyPosition",droneprt1)
  25076. rand1=math.random(-5,5)
  25077. rand2=math.random(-5,5)
  25078. pos.position=Torso.Position + vt(rand1,5,rand2)
  25079. coroutine.resume(coroutine.create(function(BodyPosition)
  25080. while droneprt1.Parent~=nil do
  25081. wait(math.random(1,3))
  25082. BodyPosition.position=Torso.Position + vt(math.random(-15,15),5,math.random(-15,15))
  25083. end
  25084. end),pos)
  25085. pos.maxForce=vt(7500,7500,7500)
  25086. pos.Name="BP"
  25087. local bg=it("BodyGyro",droneprt1)
  25088. bg.maxTorque=vt(math.huge,math.huge,math.huge)
  25089. bg.P=50000
  25090. --bg.cframe=cf(droneprt1.Position, Torso.Position)
  25091. coroutine.resume(coroutine.create(function(BodyGyro)
  25092. while droneprt1.Parent~=nil do
  25093. wait()
  25094. if Aiming==true then
  25095. BodyGyro.cframe=cf(droneprt1.Position, DroneTarget)
  25096. end
  25097. end
  25098. end),bg)
  25099. bg.Name="DroneGyro"
  25100. local pos=it("BodyPosition",droneprt2)
  25101. rand1=math.random(-5,5)
  25102. rand2=math.random(-5,5)
  25103. pos.position=Torso.Position + vt(rand1,5,rand2)
  25104. coroutine.resume(coroutine.create(function(BodyPosition)
  25105. while droneprt2.Parent~=nil do
  25106. wait(math.random(1,3))
  25107. BodyPosition.position=Torso.Position + vt(math.random(-15,15),5,math.random(-15,15))
  25108. end
  25109. end),pos)
  25110. pos.maxForce=vt(7500,7500,7500)
  25111. pos.Name="BP"
  25112. local bg=it("BodyGyro",droneprt2)
  25113. bg.maxTorque=vt(math.huge,math.huge,math.huge)
  25114. bg.P=50000
  25115. --bg.cframe=cf(droneprt1.Position, Torso.Position)
  25116. coroutine.resume(coroutine.create(function(BodyGyro)
  25117. while droneprt2.Parent~=nil do
  25118. wait()
  25119. if Aiming==true then
  25120. BodyGyro.cframe=cf(droneprt2.Position, DroneTarget)
  25121. end
  25122. end
  25123. end),bg)
  25124. bg.Name="DroneGyro"
  25125. local pos=it("BodyPosition",droneprt3)
  25126. rand1=math.random(-5,5)
  25127. rand2=math.random(-5,5)
  25128. pos.position=Torso.Position + vt(rand1,5,rand2)
  25129. coroutine.resume(coroutine.create(function(BodyPosition)
  25130. while droneprt3.Parent~=nil do
  25131. wait(math.random(1,3))
  25132. BodyPosition.position=Torso.Position + vt(math.random(-15,15),5,math.random(-15,15))
  25133. end
  25134. end),pos)
  25135. pos.maxForce=vt(7500,7500,7500)
  25136. pos.Name="BP"
  25137. local bg=it("BodyGyro",droneprt3)
  25138. bg.maxTorque=vt(math.huge,math.huge,math.huge)
  25139. bg.P=50000
  25140. --bg.cframe=cf(droneprt1.Position, Torso.Position)
  25141. coroutine.resume(coroutine.create(function(BodyGyro)
  25142. while droneprt3.Parent~=nil do
  25143. wait()
  25144. if Aiming==true then
  25145. BodyGyro.cframe=cf(droneprt3.Position, DroneTarget)
  25146. end
  25147. end
  25148. end),bg)
  25149. bg.Name="DroneGyro"
  25150. droneprt1.Anchored=true
  25151. for _,v in pairs(drone1:children()) do
  25152. if v.className=="Part" then
  25153. v.Transparency=1
  25154. coroutine.resume(coroutine.create(function(Part)
  25155. wait(1)
  25156. Part.Transparency=0
  25157. end),v)
  25158. end
  25159. end
  25160. effect=drone1:Clone()
  25161. effect.Parent=workspace
  25162. print(effect)
  25163. for _,v in pairs(effect:children()) do
  25164. if v.className=="Part" then
  25165. v.Transparency=1
  25166. v.Anchored=true
  25167. v.CanCollide=false
  25168. v.BrickColor=BrickColor.new("Bright blue")
  25169. coroutine.resume(coroutine.create(function(Part)
  25170. for i=0,1,0.1 do
  25171. wait(0)
  25172. Part.Transparency=Part.Transparency-0.05
  25173. end
  25174. wait(0.5)
  25175. for i=0,1,0.1 do
  25176. wait(0)
  25177. Part.Transparency=Part.Transparency+0.05
  25178. end
  25179. Part.Parent=nil
  25180. end),v)
  25181. end
  25182. end
  25183. droneprt2.Anchored=true
  25184. for _,v in pairs(drone2:children()) do
  25185. if v.className=="Part" then
  25186. v.Transparency=1
  25187. coroutine.resume(coroutine.create(function(Part)
  25188. wait(1)
  25189. Part.Transparency=0
  25190. end),v)
  25191. end
  25192. end
  25193. effect=drone2:Clone()
  25194. effect.Parent=workspace
  25195. print(effect)
  25196. for _,v in pairs(effect:children()) do
  25197. if v.className=="Part" then
  25198. v.Transparency=1
  25199. v.Anchored=true
  25200. v.CanCollide=false
  25201. v.BrickColor=BrickColor.new("Bright blue")
  25202. coroutine.resume(coroutine.create(function(Part)
  25203. for i=0,1,0.1 do
  25204. wait(0)
  25205. Part.Transparency=Part.Transparency-0.05
  25206. end
  25207. wait(0.5)
  25208. for i=0,1,0.1 do
  25209. wait(0)
  25210. Part.Transparency=Part.Transparency+0.05
  25211. end
  25212. Part.Parent=nil
  25213. end),v)
  25214. end
  25215. end
  25216. droneprt3.Anchored=true
  25217. for _,v in pairs(drone3:children()) do
  25218. if v.className=="Part" then
  25219. v.Transparency=1
  25220. coroutine.resume(coroutine.create(function(Part)
  25221. wait(1)
  25222. Part.Transparency=0
  25223. end),v)
  25224. end
  25225. end
  25226. effect=drone3:Clone()
  25227. effect.Parent=workspace
  25228. print(effect)
  25229. for _,v in pairs(effect:children()) do
  25230. if v.className=="Part" then
  25231. v.Transparency=1
  25232. v.Anchored=true
  25233. v.CanCollide=false
  25234. v.BrickColor=BrickColor.new("Bright blue")
  25235. coroutine.resume(coroutine.create(function(Part)
  25236. for i=0,1,0.1 do
  25237. wait(0)
  25238. Part.Transparency=Part.Transparency-0.05
  25239. end
  25240. wait(0.5)
  25241. for i=0,1,0.1 do
  25242. wait(0)
  25243. Part.Transparency=Part.Transparency+0.05
  25244. end
  25245. Part.Parent=nil
  25246. end),v)
  25247. end
  25248. end
  25249. wait(2)
  25250. droneprt1.Anchored=false
  25251. droneprt2.Anchored=false
  25252. droneprt3.Anchored=false
  25253. Humanoid.WalkSpeed=16
  25254. wait()
  25255. effect.Parent=nil
  25256. for i=0,1,0.1 do
  25257. wait()
  25258. 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)
  25259. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  25260. 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)
  25261. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25262. end
  25263. attack=false
  25264. return drone1, drone2, drone3
  25265. end
  25266.  
  25267. function Gun()
  25268. attack=true
  25269. Mode="Gun"
  25270. gwld1.Part1=LeftArm
  25271. gwld1.C0=euler(1.57+0.5,0,-1.57)*cf(0,1,0)
  25272. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  25273. numb=0.5
  25274. for i=0,1,0.1 do
  25275. wait()
  25276. Cone.Transparency=numb
  25277. Screen1.Transparency=numb
  25278. Screen2.Transparency=numb
  25279. Screen3.Transparency=numb
  25280. numb=numb+0.1
  25281. end
  25282. Cone.Parent=nil
  25283. Screen1.Parent=nil
  25284. Screen2.Parent=nil
  25285. Screen3.Parent=nil
  25286. end),cone,screen1,screen2,screen3)
  25287. for i=0,1,0.1 do
  25288. wait()
  25289. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  25290. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  25291. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  25292. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  25293. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25294. end
  25295. gun.Parent=modelzorz
  25296. for e=1,#GunWelds do
  25297. GunWelds[e].Parent=modelzorz
  25298. end
  25299. for _,v in pairs(gun:children()) do
  25300. if v.className=="Part" then
  25301. v.Transparency=1
  25302. end
  25303. end
  25304. for _,v in pairs(gun:children()) do
  25305. if v.className=="Part" then
  25306. v.Transparency=1
  25307. coroutine.resume(coroutine.create(function(Part)
  25308. wait(0.5)
  25309. Part.Transparency=0
  25310. end),v)
  25311. end
  25312. end
  25313. effect=gun:Clone()
  25314. effect.Parent=workspace
  25315. print(effect)
  25316. for _,v in pairs(effect:children()) do
  25317. if v.className=="Part" then
  25318. v.Transparency=1
  25319. v.Anchored=true
  25320. v.CanCollide=false
  25321. v.BrickColor=BrickColor.new("Bright blue")
  25322. coroutine.resume(coroutine.create(function(Part)
  25323. for i=0,1,0.1 do
  25324. wait(0)
  25325. Part.Transparency=Part.Transparency-0.05
  25326. end
  25327. for i=0,1,0.1 do
  25328. wait(0)
  25329. Part.Transparency=Part.Transparency+0.05
  25330. end
  25331. Part.Parent=nil
  25332. effect.Parent=nil
  25333. end),v)
  25334. end
  25335. end
  25336. wait(0.5)
  25337. gwld1.Part1=LeftArm
  25338. gwld1.C0=euler(1.57+0.5,0,-1.57)*cf(0,1,0)
  25339. for i=0,1,0.1 do
  25340. wait()
  25341. gwld1.C0=euler(1.57+0.5,0,-1.57+1.57*i)*cf(0,1,0)
  25342. 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)
  25343. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  25344. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.5-1*i,0,0.2+0.4*i)
  25345. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  25346. end
  25347. attack=false
  25348. end
  25349.  
  25350. function Sword()
  25351. attack=true
  25352. Mode="Sword"
  25353. swld1.Part1=LeftArm
  25354. swld1.C0=euler(0,0,-1.57)*cf(0,1,0)
  25355. swld1.C1=euler(0,0,0)
  25356. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  25357. numb=0.5
  25358. for i=0,1,0.1 do
  25359. wait()
  25360. Cone.Transparency=numb
  25361. Screen1.Transparency=numb
  25362. Screen2.Transparency=numb
  25363. Screen3.Transparency=numb
  25364. numb=numb+0.1
  25365. end
  25366. Cone.Parent=nil
  25367. Screen1.Parent=nil
  25368. Screen2.Parent=nil
  25369. Screen3.Parent=nil
  25370. end),cone,screen1,screen2,screen3)
  25371. for i=0,1,0.1 do
  25372. wait()
  25373. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  25374. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  25375. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  25376. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  25377. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25378. end
  25379. sword.Parent=modelzorz
  25380. for e=1,#SwordWelds do
  25381. SwordWelds[e].Parent=modelzorz
  25382. end
  25383. for _,v in pairs(sword:children()) do
  25384. if v.className=="Part" and v.Name~="Hitbox" and v.Name~="Mid" then
  25385. v.Transparency=1
  25386. end
  25387. end
  25388. for _,v in pairs(sword:children()) do
  25389. if v.className=="Part" and v.Name~="Hitbox" and v.Name~="Mid" then
  25390. v.Transparency=1
  25391. coroutine.resume(coroutine.create(function(Part)
  25392. wait(0.5)
  25393. Part.Transparency=0
  25394. end),v)
  25395. end
  25396. end
  25397. effect=sword:Clone()
  25398. effect.Parent=workspace
  25399. print(effect)
  25400. for _,v in pairs(effect:children()) do
  25401. if v.className=="Part" and v.Name~="Hitbox" and v.Name~="Mid" then
  25402. v.Transparency=1
  25403. v.Anchored=true
  25404. v.CanCollide=false
  25405. v.BrickColor=BrickColor.new("Bright blue")
  25406. coroutine.resume(coroutine.create(function(Part)
  25407. for i=0,1,0.1 do
  25408. wait(0)
  25409. Part.Transparency=Part.Transparency-0.05
  25410. end
  25411. for i=0,1,0.1 do
  25412. wait(0)
  25413. Part.Transparency=Part.Transparency+0.05
  25414. end
  25415. Part.Parent=nil
  25416. effect.Parent=nil
  25417. end),v)
  25418. end
  25419. end
  25420. wait(0.5)
  25421. for i=0,1,0.1 do
  25422. wait()
  25423. swld1.C0=euler(0,-1.57*i,1.57-3.14*i)*cf(0,1,0)
  25424. swld1.C1=euler(0,1.57*i,0)
  25425. 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)
  25426. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  25427. 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)
  25428. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25429. end
  25430. attack=false
  25431. end
  25432.  
  25433. function Sniper()
  25434. attack=true
  25435. Mode="Sniper"
  25436. snwld1.Part1=LeftArm
  25437. snwld1.C0=euler(0.5,0,0)*cf(0,1.6,-2)
  25438. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  25439. numb=0.5
  25440. for i=0,1,0.1 do
  25441. wait()
  25442. Cone.Transparency=numb
  25443. Screen1.Transparency=numb
  25444. Screen2.Transparency=numb
  25445. Screen3.Transparency=numb
  25446. numb=numb+0.1
  25447. end
  25448. Cone.Parent=nil
  25449. Screen1.Parent=nil
  25450. Screen2.Parent=nil
  25451. Screen3.Parent=nil
  25452. end),cone,screen1,screen2,screen3)
  25453. for i=0,1,0.1 do
  25454. wait()
  25455. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  25456. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  25457. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  25458. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  25459. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25460. end
  25461. sniper.Parent=modelzorz
  25462. for e=1,#SniperWelds do
  25463. SniperWelds[e].Parent=modelzorz
  25464. end
  25465. for _,v in pairs(sniper:children()) do
  25466. if v.className=="Part" then
  25467. v.Transparency=1
  25468. end
  25469. end
  25470. for _,v in pairs(sniper:children()) do
  25471. if v.className=="Part" then
  25472. v.Transparency=1
  25473. coroutine.resume(coroutine.create(function(Part)
  25474. wait(0.5)
  25475. Part.Transparency=0
  25476. end),v)
  25477. end
  25478. end
  25479. effect=sniper:Clone()
  25480. effect.Parent=workspace
  25481. print(effect)
  25482. for _,v in pairs(effect:children()) do
  25483. if v.className=="Part" then
  25484. v.Transparency=1
  25485. v.Anchored=true
  25486. v.CanCollide=false
  25487. v.BrickColor=BrickColor.new("Bright blue")
  25488. coroutine.resume(coroutine.create(function(Part)
  25489. for i=0,1,0.1 do
  25490. wait(0)
  25491. Part.Transparency=Part.Transparency-0.05
  25492. end
  25493. for i=0,1,0.1 do
  25494. wait(0)
  25495. Part.Transparency=Part.Transparency+0.05
  25496. end
  25497. Part.Parent=nil
  25498. effect.Parent=nil
  25499. end),v)
  25500. end
  25501. end
  25502. wait(0.5)
  25503. gwld1.Part1=LeftArm
  25504. snwld1.C0=euler(0.5,0,0)*cf(0,1.6,-2)
  25505. snwld1.C1=cf(0,0,0)
  25506. for i=0,1,0.1 do
  25507. wait()
  25508. snwld1.C0=euler(0.5+1.57*i,0,0)*cf(0,1.6-0.6*i,-2+2*i)
  25509. RW.C0=cf(1, 0.3, -0.8+0.3*i) * euler(1.27-0.37*i,0,-1.3+1*i)
  25510. RW.C1=cf(0, 0.5, 0) * euler(0,-1+2.3*i,0)
  25511. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57-0.5*i,0,0.2+0.5*i)
  25512. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25513. end
  25514. attack=false
  25515. end
  25516.  
  25517. function Shoot()
  25518. attack=true
  25519. Humanoid.WalkSpeed=2
  25520. Bg.Parent=Head
  25521. Bg.cframe=Head.CFrame
  25522. for i=0,1,0.2 do
  25523. wait()
  25524. Neck.C0=necko*euler(0,0,0.785*i)
  25525. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25526. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25527. LW.C0=cf(-1.2, 0.5, -0.3) * euler(0.5+1.07*i,0,0.6-1.385*i)
  25528. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  25529. end
  25530. spread=1
  25531. range=50
  25532. rangepower=70
  25533. while hold==true and Bullets~=0 do
  25534. for i=1,5 do
  25535. wait(0.05)
  25536. Bullets=Bullets-1
  25537. so("http://roblox.com/asset/?id=10209257",gprt16,0.5,1+math.random())
  25538. coroutine.resume(coroutine.create(function()
  25539. for z = 1 ,2 do
  25540. coroutine.resume(coroutine.create(function()
  25541. local meshb1 = Instance.new("BlockMesh")
  25542. meshb1.Scale = Vector3.new(1,1,1)
  25543. light = Instance.new("PointLight")
  25544. light.Brightness = .8
  25545. light.Color = Color3.new(100,50,0)
  25546. light.Range = 10
  25547. local shellb1 = Instance.new("Part")
  25548. light.Parent = shellb1
  25549. meshb1.Parent = shellb1
  25550. shellb1.Anchored = true
  25551. shellb1.formFactor = 3
  25552. shellb1.Size = Vector3.new(0.3,0.3,0.3) * (math.random(100,300)/100)
  25553. 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)
  25554. shellb1.Parent = Character
  25555. shellb1.Transparency = 0
  25556. if math.random(1,2) == 1 then
  25557. shellb1.BrickColor = BrickColor.new("Bright red")
  25558. else
  25559. shellb1.BrickColor = BrickColor.new("Bright orange")
  25560. end
  25561. shellb1.CanCollide = false
  25562. local incre = math.random(0,60)/100
  25563. for i = 0 , 1 , 0.1 do
  25564. wait()
  25565. light.Brightness = light.Brightness - .1
  25566. shellb1.CFrame = shellb1.CFrame + Head.CFrame.lookVector*incre
  25567. shellb1.Transparency = 1*i
  25568. meshb1.Scale = Vector3.new(1+1*i,1+1*i,1+1*i)
  25569. end
  25570. shellb1.Parent=nil
  25571. end))
  25572. end
  25573. end))
  25574. shoottrail(MMouse.Hit.p,gprt16,5,1,1)
  25575. LW.C1=cf(0, 0.5, 0) * euler(-0.2,0,0)
  25576. wait(0.05)
  25577. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25578. end
  25579. end
  25580. spread=0
  25581. range=500
  25582. rangepower=50
  25583. if Bullets==0 then
  25584. for i=0,1,0.2 do
  25585. wait(0)
  25586. gwld13.C0=cf(0,0,0.3)*euler(0,1.57-1.57*i,0)
  25587. end
  25588. wait(0.2)
  25589. Humanoid.WalkSpeed=16
  25590. Bg.Parent=nil
  25591. for i=0,1,0.1 do
  25592. wait()
  25593. gwld1.C0=euler(1.57+0.5,0,-1.57*i)*cf(0,1,0)
  25594. Neck.C0=necko*euler(0.3*i,0,0.785-0.785*i)
  25595. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(1.2*i,0,0.2-0.4*i)
  25596. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25597. 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)
  25598. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25599. end
  25600. for i=0,1,0.1 do
  25601. wait()
  25602. gwld20.C0=cf(0.3*i,-0.8-0.2*i,0)*euler(0,0,1.57*i)
  25603. RW.C0=cf(1, 0.5, -0.5) * euler(1.2-0.3*i,0,-0.2-0.1*i)
  25604. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25605. end
  25606. for i=0,1,0.2 do
  25607. wait()
  25608. Neck.C0=necko*euler(0.3+0.2*i,0,-0.5*i)
  25609. RW.C0=cf(1+0.5*i, 0.5, -0.5+0.5*i) * euler(0.9-1.3*i,0,-0.3)
  25610. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25611. end
  25612. local ammo=Instance.new("Model")
  25613. ammo.Parent=modelzorz
  25614. ammo.Name="Ammo"
  25615. local aprt1=part(3,ammo,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(1,1,1))
  25616. local amsh1=mesh("CylinderMesh",aprt1,"","",vt(0,0,0),vt(0.7,0.2,0.7))
  25617. local awld1=weld(aprt1,aprt1,RightArm,cf(0,1,0))
  25618. numb=0
  25619. for i=1,10 do
  25620. local aprt2=part(3,ammo,0,0,BrickColor.new("Bright yellow"),"Part2",vt(1,1,1))
  25621. local amsh2=mesh("CylinderMesh",aprt2,"","",vt(0,0,0),vt(0.2,0.3,0.2))
  25622. local awld2=weld(aprt2,aprt2,aprt1,cf(0.2,0.1,0)*euler(0,numb,0))
  25623. numb=numb+0.628
  25624. end
  25625. for i=0,1,0.2 do
  25626. wait()
  25627. awld1.C0=euler(1.57,0,0)*cf(0,1+0.1*i,0)
  25628. Neck.C0=necko*euler(0.5-0.2*i,0,-0.5+0.5*i)
  25629. 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)
  25630. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25631. end
  25632. ammo.Parent=nil
  25633. for i=0,1,0.2 do
  25634. wait()
  25635. gwld20.C0=cf(0.3-0.3*i,-0.8-0.2+0.2*i,0)*euler(0,0,1.57-1.57*i)
  25636. Neck.C0=necko*euler(0.3-0.1*i,0,-0.2*i)
  25637. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(1.1+0.1*i,0,-0.4+0.4*i)
  25638. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25639. end
  25640. for i=0,1,0.1 do
  25641. wait()
  25642. gwld1.C0=euler(1.57+0.5,0,-1.57+1.57*i)*cf(0,1,0)
  25643. gwld13.C0=cf(0,0,0.3)*euler(0,1.57*i,0)
  25644. Neck.C0=necko*euler(0.2-0.2*i,0,-0.2+0.2*i)
  25645. 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)
  25646. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25647. LW.C0=cf(-1-0.2*i, 0.5, -0.5+0.2*i) * euler(1-0.5*i,0,0.6*i)
  25648. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  25649. end
  25650. Bullets=10
  25651. else
  25652. for i=0,1,0.1 do
  25653. wait()
  25654. Neck.C0=necko*euler(0,0,0.785-0.785*i)
  25655. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25656. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25657. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57-1.57*i,0,-0.785+1.385*i)
  25658. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  25659. end
  25660. Neck.C0=necko
  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.2, 0.5, -0.3) * euler(0.5,0,0.6)
  25664. LW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  25665. end
  25666. Bg.Parent=nil
  25667. Humanoid.WalkSpeed=16
  25668. attack=false
  25669. end
  25670.  
  25671. function slash1()
  25672. attack=true
  25673. for i=0,1,0.1 do
  25674. wait()
  25675. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25676. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25677. LW.C0=cf(-1.5, 0.5, 0) * euler(-0.4*i,0,-0.4-0.2*i)
  25678. LW.C1=cf(0, 0.5, 0) * euler(0,1*i,0)
  25679. end
  25680. Bg.Parent=Head
  25681. Bg.cframe=Head.CFrame
  25682. con1=sprt16.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  25683. so("http://roblox.com/asset/?id=10209640",LeftArm,1,1)
  25684. for i=0,1,0.2 do
  25685. wait()
  25686. Neck.C0=necko*euler(0,0,0.785*i)
  25687. swld1.C0=euler(0.5*i,-1.57,-1.57)*cf(0,1,0)
  25688. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25689. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25690. 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)
  25691. LW.C1=cf(0, 0.5, 0) * euler(0,1,0)
  25692. end
  25693. for i=0,1,0.1 do
  25694. wait()
  25695. --[[Neck.C0=necko*euler(0,0,0.785*i)
  25696. swld1.C0=euler(0.5*i,-1.57,-1.57)*cf(0,1,0)]]
  25697. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25698. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25699. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(2,0,0.8+0.2*i)
  25700. LW.C1=cf(0, 0.5, 0) * euler(0,1,0)
  25701. end
  25702. con1:disconnect()
  25703. wait()
  25704. attack=false
  25705. end
  25706.  
  25707. function slash2()
  25708. attack=true
  25709. CF=Head.CFrame
  25710. con1=sprt16.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  25711. so("http://roblox.com/asset/?id=10209640",LeftArm,1,1.5)
  25712. for i=0,1,0.2 do
  25713. wait()
  25714. swld1.C0=euler(0.5-0.5*i,-1.57,-1.57)*cf(0,1,0)
  25715. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25716. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25717. LW.C0=cf(-1-0.5*i, 0.5, -0.5+0.5*i) * euler(2-0.43*i,0,1-2.57*i)
  25718. LW.C1=cf(0, 0.5, 0) * euler(0,1+.57*i,0)
  25719. Bg.cframe=CF*euler(0,3.14*i,0)
  25720. end
  25721. so("http://roblox.com/asset/?id=10209640",LeftArm,1,1.5)
  25722. for i=0,1,0.2 do
  25723. wait()
  25724. swld1.C0=euler(-0.5*i,-1.57,-1.57)*cf(0,1,0)
  25725. Bg.cframe=CF*euler(0,3.14+3.14*i,0)
  25726. end
  25727. con1:disconnect()
  25728. wait()
  25729. attack=false
  25730. end
  25731.  
  25732. function slash3()
  25733. attack=true
  25734. Bg.Parent=nil
  25735. for i=0,1,0.1 do
  25736. wait()
  25737. Neck.C0=necko*euler(0,0,0.785-0.785*i)
  25738. swld1.C0=euler(-0.5+0.5*i,-1.57,-1.57)*cf(0,1,0)
  25739. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  25740. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25741. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57+.43*i,0,-1.57+1*i)
  25742. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-2.07*i,0)
  25743. end
  25744. con1=sprt16.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  25745. so("http://roblox.com/asset/?id=10209640",LeftArm,1,0.9)
  25746. for i=0,1,0.2 do
  25747. wait()
  25748. Neck.C0=necko*euler(0.3*i,0,-0.2*i)
  25749. swld1.C0=euler(-0.3*i,-1.57,-1.57)*cf(0,1,0)
  25750. RW.C0=cf(1.5, 0.5, 0) * euler(-0.5*i,0,0.2+0.2*i)
  25751. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25752. 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)
  25753. LW.C1=cf(0, 0.5, 0) * euler(0,-.5,0)
  25754. end
  25755. for i=0,1,0.1 do
  25756. wait()
  25757. RW.C0=cf(1.5, 0.5, 0) * euler(-0.5,0,0.4)
  25758. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25759. LW.C0=cf(0, 0.3, -1) * euler(.5-.2*i,0,.5)
  25760. LW.C1=cf(0, 0.5, 0) * euler(0,-.5,0)
  25761. end
  25762. con1:disconnect()
  25763. wait()
  25764. attack=false
  25765. end
  25766.  
  25767. function BowShoot()
  25768. attack=true
  25769. BowAim=true
  25770. HeadNumb=0
  25771. Humanoid.WalkSpeed=2
  25772. coroutine.resume(coroutine.create(function(FenNeck)
  25773. while BowAim==true do
  25774. wait()
  25775. local pos4 = vt(workspace.CurrentCamera.CoordinateFrame.X,Head.Position.Y,workspace.CurrentCamera.CoordinateFrame.Z)
  25776. Bg.cframe = cf(Head.Position,pos4) * euler(0,3.14-HeadNumb,0) * cf(0,0,0) --cf(Torso.Position,MMouse.Hit.p) *
  25777. Bg.Parent = Torso
  25778. offset=(Torso.Position.y-MMouse.Hit.p.y)/60
  25779. mag=(Torso.Position-MMouse.Hit.p).magnitude/80
  25780. offset=offset/mag
  25781. FenNeck.C1=necko2*euler(-offset,0,0)
  25782. end
  25783. end),Neck)
  25784. for i=0,1,0.1 do
  25785. wait()
  25786. HeadNumb=1.57*i
  25787. swld1.C0=euler(0,-1.57+0.3*i,-1.57)*cf(0,1,0)
  25788. Neck.C0=necko*euler(0,0,HeadNumb)
  25789. RW.C0=cf(1.5-2.5*i, 0.5, -1*i) * euler(1.57*i,0,0.2-1.97*i)
  25790. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25791. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57*i,0,-0.4-0.87*i)
  25792. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25793. end
  25794.  
  25795. local string1=part(3,sword,0,1,BrickColor.new("Bright yellow"),"String1",vt(0.5,1,0.5))
  25796. local stringmsh1=mesh("CylinderMesh",string1,"","",vt(0,0,0),vt(0.1,1,0.1))
  25797. local stringwld1=weld(string1,string1,prt17,euler(0,0,0)*cf(0,0,0))
  25798. local string2=part(3,sword,0,1,BrickColor.new("Bright yellow"),"String2",vt(0.5,1,0.5))
  25799. local stringmsh2=mesh("CylinderMesh",string2,"","",vt(0,0,0),vt(0.1,1,0.1))
  25800. local stringwld2=weld(string2,string2,prt19,euler(0,0,0)*cf(0,0,0))
  25801. table.insert(SwordWelds,stringwld1)
  25802. table.insert(SwordWelds,stringwld1)
  25803. coroutine.resume(coroutine.create(function(String1,String2)
  25804. for i=0,1,0.1 do
  25805. wait()
  25806. String1.Transparency=String1.Transparency-0.05
  25807. String2.Transparency=String2.Transparency-0.05
  25808. end
  25809. end),string1,string2)
  25810.  
  25811. local strmdl = "Arrow"
  25812. coroutine.resume(coroutine.create(function()
  25813. arrowdebounce=false
  25814. repeat
  25815. wait(0)
  25816. coroutine.resume(coroutine.create(function()
  25817. if arrowdebounce==false then
  25818. so("http://www.roblox.com/asset/?id=10756118",sprt18,1,1)
  25819. Lightning(sprt17.Position,sprt18.Position,3,0.2,"Bright yellow",0.00001,0.4)
  25820. Lightning(sprt19.Position,sprt18.Position,3,0.2,"Bright yellow",0.00001,0.4)
  25821. arrowdebounce=true
  25822. wait(0.1)
  25823. arrowdebounce=false
  25824. end
  25825. end))
  25826. local top = sprt17.CFrame
  25827. local bottom = sprt19.CFrame
  25828. local oristrpos
  25829. if strmdl == "Bow" then
  25830. oristrpos = CFrame.new((top.p+bottom.p)/2)
  25831. elseif strmdl == "Arrow" then
  25832. oristrpos = sprt18.CFrame
  25833. end
  25834. local mg1 = (top.p - oristrpos.p).magnitude
  25835. local mg2 = (bottom.p - oristrpos.p).magnitude
  25836. stringmsh1.Scale=vt(0.1,mg1,0.1)
  25837. basecf=sprt17.CFrame
  25838. cff=CFrame.new(sprt17.CFrame*angles(1.57,0,0).p,sprt18.Position)*angles(math.rad(90),0,0)*cf(0,-mg1/2,0)
  25839. hit2=string1
  25840. hit=sprt18
  25841. stringwld1.Parent=string1
  25842. stringwld1.Part0=hit2
  25843. stringwld1.Part1=hit
  25844. HitPos=cff.p
  25845. local CJ = CFrame.new(HitPos)
  25846. local C0=cff:inverse() *CJ
  25847. local C1=hit.CFrame:inverse() * CJ
  25848. stringwld1.C0=C0
  25849. stringwld1.C1=C1
  25850.  
  25851. stringmsh2.Scale=vt(0.1,mg2,0.1)
  25852. cff2=CFrame.new(sprt18.CFrame*angles(1.57,0,0).p,sprt19.Position)*angles(math.rad(90),0,0)*cf(0,-mg2/2,0)
  25853. hit3=string2
  25854. hit2=sprt18
  25855. stringwld2.Parent=string2
  25856. stringwld2.Part0=hit3
  25857. stringwld2.Part1=hit2
  25858. HitPos2=cff2.p
  25859. local CJ2 = CFrame.new(HitPos2)
  25860. local C02=cff2:inverse() *CJ
  25861. local C12=hit2.CFrame:inverse() * CJ
  25862. stringwld2.C0=C02
  25863. stringwld2.C1=C12
  25864. until string1.Parent==nil
  25865. end))
  25866. swld18.Part1=RightArm
  25867. swld18.C0=cf(0,1,0)
  25868. local arrow=part(3,sword,0,1,BrickColor.new("Bright yellow"),"Arrow",vt(1,1,1))
  25869. local arrowmsh=mesh("SpecialMesh",arrow,"FileMesh","http://www.roblox.com/asset/?id=15887356",vt(0,0,0),vt(1,1,2))
  25870. arrowmsh.VertexColor=vt(1,1,1)
  25871. local arrowwld=weld(arrow,arrow,sprt18,euler(-1.57,0,0)*cf(0,1,0))
  25872. for i=0,1,0.1 do
  25873. wait()
  25874. arrow.Transparency=arrow.Transparency-0.05
  25875. arrowwld.C0=euler(-1.57,0,0)*cf(0,1,0)*euler(0,0,0.15*i)
  25876. RW.C0=cf(1.5-2.5+2*i, 0.5, -1) * euler(1.57,0,-1.77+0.2*i)
  25877. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25878. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,0,-1.27)
  25879. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25880. end
  25881. while BowAim==true do
  25882. wait(0)
  25883. end
  25884. so("http://www.roblox.com/asset/?id=16211041",prt18,1,1)
  25885. spread=0
  25886. range=500
  25887. rangepower=100
  25888. shoottrail(MMouse.Hit.p,arrow,30,10,2)
  25889. Humanoid.WalkSpeed=0
  25890. arrow.Parent=nil
  25891. swld18.Part0=sprt18
  25892. swld18.Part1=sprt1
  25893. swld18.C0=cf(0,0,-0.8)
  25894. for i=0,1,0.2 do
  25895. wait()
  25896. Neck.C0=necko*euler(-0.2*i,0,HeadNumb)
  25897. RW.C0=cf(1, 0.5, -1) * euler(1.57,0,-1.57)
  25898. RW.C1=cf(0, 0.5, 0) * euler(-0.4*i,0,0)
  25899. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,0,-1.27)
  25900. LW.C1=cf(0, 0.5, 0) * euler(-0.4*i,0,0)
  25901. end
  25902. for i=0,1,0.1 do
  25903. wait()
  25904. Neck.C0=necko*euler(-0.2-0.1*i,0,HeadNumb)
  25905. RW.C0=cf(1, 0.5, -1) * euler(1.57,0,-1.57)
  25906. RW.C1=cf(0, 0.5, 0) * euler(-0.4-0.1*i,0,0)
  25907. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,0,-1.27)
  25908. LW.C1=cf(0, 0.5, 0) * euler(-0.4-0.1*i,0,0)
  25909. end
  25910. string1.Parent=nil
  25911. string2.Parent=nil
  25912. BowAim=false
  25913. Humanoid.WalkSpeed=16
  25914. Bg.Parent=nil
  25915. for i=0,1,0.1 do
  25916. wait()
  25917. Neck.C0=necko*euler(-0.3+0.3*i,0,HeadNumb-HeadNumb*i)
  25918. RW.C0=cf(1+0.5*i, 0.5, -1+1*i) * euler(1.57-1.57*i,0,-1.57+1.77*i)
  25919. RW.C1=cf(0, 0.5, 0) * euler(-0.5+0.5*i,0,0)
  25920. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57-1.57*i,0,-1.27+1.07*i)
  25921. LW.C1=cf(0, 0.5, 0) * euler(-0.5+0.5*i,0,0)
  25922. end
  25923. spread=0
  25924. range=500
  25925. rangepower=50
  25926. Neck.C1=necko2
  25927. Neck.C0=necko
  25928. attack=false
  25929. end
  25930.  
  25931. function Aim()
  25932. attack=true
  25933. Humanoid.WalkSpeed=5
  25934. Bg.Parent=Torso
  25935. Bg.cframe=Head.CFrame
  25936. CF=Torso.CFrame
  25937. for i=0,1,0.1 do
  25938. wait()
  25939. Bg.cframe=CF*euler(0,0.785*i,0)
  25940. Neck.C0=necko*euler(0,0,-0.785*i)
  25941. Neck.C1=necko2*euler(0,-0.5*i,0)
  25942. 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)
  25943. RW.C1=cf(0, 0.5, 0) * euler(0,1.3+0.27*i,0)
  25944. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.07+0.5*i,0,0.7+0.085*i)
  25945. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25946. end
  25947. attack=false
  25948. end
  25949.  
  25950. function UnAim()
  25951. attack=true
  25952. Humanoid.WalkSpeed=16
  25953. for i=0,1,0.1 do
  25954. wait()
  25955. Bg.cframe=CF*euler(0,0.785-0.785*i,0)
  25956. Neck.C0=necko*euler(0,0,-0.785+0.785*i)
  25957. Neck.C1=necko2*euler(0,-0.5+0.5*i,0)
  25958. 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)
  25959. RW.C1=cf(0, 0.5, 0) * euler(0,1.57-0.27*i,0)
  25960. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57-0.5*i,0,0.785-0.085*i)
  25961. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  25962. end
  25963. Bg.Parent=nil
  25964. attack=false
  25965. end
  25966.  
  25967. function SniperShoot()
  25968. attack=true
  25969. spread=0
  25970. range=1000
  25971. rangepower=100
  25972. shoottrail(MMouse.Hit.p,snprt15,20,20,0.5)
  25973. coroutine.resume(coroutine.create(function()
  25974. for z = 1 ,4 do
  25975. coroutine.resume(coroutine.create(function()
  25976. local meshb1 = Instance.new("BlockMesh")
  25977. meshb1.Scale = Vector3.new(1,1,1)
  25978. light = Instance.new("PointLight")
  25979. light.Brightness = .8
  25980. light.Color = Color3.new(100,50,0)
  25981. light.Range = 10
  25982. local shellb1 = Instance.new("Part")
  25983. light.Parent = shellb1
  25984. meshb1.Parent = shellb1
  25985. shellb1.Anchored = true
  25986. shellb1.formFactor = 3
  25987. shellb1.Size = Vector3.new(0.3,0.3,0.3) * (math.random(100,300)/100)
  25988. 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)
  25989. shellb1.Parent = Character
  25990. shellb1.Transparency = 0
  25991. if math.random(1,2) == 1 then
  25992. shellb1.BrickColor = BrickColor.new("Bright red")
  25993. else
  25994. shellb1.BrickColor = BrickColor.new("Bright orange")
  25995. end
  25996. shellb1.CanCollide = false
  25997. local incre = math.random(0,60)/100
  25998. HCF=Head.CFrame.lookVector
  25999. for i = 0 , 1 , 0.02 do
  26000. wait()
  26001. light.Brightness = light.Brightness - .02
  26002. shellb1.CFrame = shellb1.CFrame + HCF*incre
  26003. shellb1.Transparency = 1*i
  26004. meshb1.Scale = Vector3.new(1+1*i,1+1*i,1+1*i)
  26005. end
  26006. shellb1.Parent=nil
  26007. end))
  26008. end
  26009. end))
  26010. so("http://roblox.com/asset/?id=10209875",snprt15,1,0.8)
  26011. for i=0,1,0.3 do
  26012. wait()
  26013. Neck.C0=necko*euler(-0.3*i,0,-0.785)
  26014. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.5+0.3*i,0,-0.2)
  26015. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  26016. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.785)
  26017. LW.C1=cf(0, 0.5, 0) * euler(-0.3*i,0,0)
  26018. end
  26019. for i=0,1,0.2 do
  26020. wait()
  26021. Neck.C0=necko*euler(-0.3-0.1*i,0,-0.785)
  26022. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.5+0.3+0.1*i,0,-0.2)
  26023. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  26024. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.785)
  26025. LW.C1=cf(0, 0.5, 0) * euler(-0.3-0.1*i,0,0)
  26026. end
  26027. Humanoid.WalkSpeed=16
  26028. for i=0,1,0.1 do
  26029. wait()
  26030. Neck.C0=necko*euler(-0.4+0.6*i,0,-0.785+0.785*i)
  26031. Neck.C1=necko2*euler(0,-0.5+0.5*i,0)
  26032. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.9-0.6*i,0,-0.2-0.4*i)
  26033. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  26034. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.785-0.185*i)
  26035. LW.C1=cf(0, 0.5, 0) * euler(-0.4+0.8*i,0,0)
  26036. end
  26037. so("http://roblox.com/asset/?id=10209881",snprt15,1,1)
  26038. local ammo=part(3,workspace,0,0,BrickColor.new("Bright yellow"),"Ammo",vt(1,1,1))
  26039. ammo.CanCollide=true
  26040. ammomsh=mesh("CylinderMesh",ammo,"","",vt(0,0,0),vt(0.15,0.2,0.15))
  26041. local cfrf = snprt25.CFrame * CFrame.fromEulerAnglesXYZ(0,1.57,0)
  26042. local cfr = cfrf + cfrf.lookVector * -0.5
  26043. ammo.CFrame = cfr
  26044. ammo.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  26045. ammo.Velocity = cfr.lookVector * 20
  26046. coroutine.resume(coroutine.create(function(Part)
  26047. wait(10)
  26048. Part.Parent=nil
  26049. end),ammo)
  26050. for i=0,1,0.2 do
  26051. wait()
  26052. snwld26.C1=euler(0,0,1*i)
  26053. RW.C0=cf(1.2, 0.3, -0.7-0.4*i) * euler(1.3,0,-0.6+0.3*i)
  26054. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  26055. end
  26056. for i=0,1,0.2 do
  26057. wait()
  26058. snwld26.C1=euler(0,0,1-1*i)
  26059. 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)
  26060. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  26061. end
  26062. Humanoid.WalkSpeed=5
  26063. for i=0,1,0.1 do
  26064. wait()
  26065. Neck.C0=necko*euler(0.2-0.2*i,0,-0.785*i)
  26066. Neck.C1=necko2*euler(0,-0.5*i,0)
  26067. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.3+0.2*i,0,-0.6+0.4*i)
  26068. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  26069. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.6+0.185*i)
  26070. LW.C1=cf(0, 0.5, 0) * euler(0.4-0.4*i,0,0)
  26071. end
  26072. spread=0
  26073. range=500
  26074. rangepower=50
  26075. attack=false
  26076. end
  26077.  
  26078. function RemoveDrones()
  26079. attack=true
  26080. for i=0,1,0.1 do
  26081. wait()
  26082. Neck.C0=necko*euler(-0.5*i,0,0)
  26083. RW.C0=cf(1.5, 0.5, 0) * euler(0.5+2.64*i,0,0)
  26084. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26085. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26086. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26087. end
  26088. for _,v in pairs(modelzorz:children()) do
  26089. if v.Name=="Drone" then
  26090. print("FoundDrone")
  26091. for _,s in pairs(v:children()) do
  26092. if s.className=="Part" then
  26093. s.Anchored=true
  26094. coroutine.resume(coroutine.create(function(Part,Model)
  26095. for i=0,1,0.1 do
  26096. wait(0)
  26097. Part.Transparency=Part.Transparency+0.1
  26098. end
  26099. wait()
  26100. Model.Parent=nil
  26101. end),s,v)
  26102. end
  26103. end
  26104. end
  26105. end
  26106. wait(1)
  26107. for i=0,1,0.1 do
  26108. wait()
  26109. Neck.C0=necko*euler(-0.5+0.5*i,0,0)
  26110. RW.C0=cf(1.5, 0.5, 0) * euler(3.14-3.14*i,0,0)
  26111. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26112. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2+0.2*i)
  26113. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26114. end
  26115. attack=false
  26116. end
  26117.  
  26118. function RemoveDrones2()
  26119. attack=true
  26120. for i=0,1,0.1 do
  26121. wait()
  26122. Neck.C0=necko*euler(-0.3-0.3*i,0,-0.3+0.3*i)
  26123. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.4*i,0,-0.7)
  26124. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0)
  26125. 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)
  26126. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26127. end
  26128. for _,v in pairs(modelzorz:children()) do
  26129. if v.Name=="Drone" then
  26130. print("FoundDrone")
  26131. for _,s in pairs(v:children()) do
  26132. if s.className=="Part" then
  26133. s.Anchored=true
  26134. coroutine.resume(coroutine.create(function(Part,Model)
  26135. for i=0,1,0.1 do
  26136. wait(0)
  26137. Part.Transparency=Part.Transparency+0.1
  26138. end
  26139. wait()
  26140. Model.Parent=nil
  26141. end),s,v)
  26142. end
  26143. end
  26144. end
  26145. end
  26146. wait(1)
  26147. for i=0,1,0.1 do
  26148. wait()
  26149. Neck.C0=necko*euler(-0.6+0.3*i,0,-0.3*i)
  26150. RW.C0=cf(1, 0.3, -0.8) * euler(1.17+0.4*i,0,-0.7)
  26151. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0)
  26152. LW.C0=cf(-1.5+0.3*i, 0.5, -0.3*i) * euler(3.14-0.84*i,0,0.7*i)
  26153. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26154. end
  26155. attack=false
  26156. end
  26157.  
  26158. function RemoveGun()
  26159. attack=true
  26160. for i=0,1,0.1 do
  26161. wait()
  26162. 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)
  26163. RW.C1=cf(0, 0.5, 0) * euler(0,-1*i,0)
  26164. 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)
  26165. LW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  26166. end
  26167. for _,s in pairs(gun:children()) do
  26168. if s.className=="Part" then
  26169. coroutine.resume(coroutine.create(function(Part,Model)
  26170. for i=0,1,0.1 do
  26171. wait(0)
  26172. Part.Transparency=Part.Transparency+0.1
  26173. end
  26174. wait()
  26175. Model.Parent=nil
  26176. end),s,gun)
  26177. end
  26178. end
  26179. wait(0.7)
  26180. for i=0,1,0.1 do
  26181. wait()
  26182. 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)
  26183. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  26184. LW.C0=cf(-1.5, 0.5, -0.1+0.1*i) * euler(1.57-1.57*i,0,0)
  26185. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  26186. end
  26187. attack=false
  26188. end
  26189.  
  26190. function RemoveSword()
  26191. attack=true
  26192. for i=0,1,0.1 do
  26193. wait()
  26194. 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)
  26195. RW.C1=cf(0, 0.5, 0) * euler(0,-1*i,0)
  26196. LW.C0=cf(-1.5, 0.5, -0.1*i) * euler(1.57*i,0,-0.4+0.4*i)
  26197. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  26198. end
  26199. for _,s in pairs(sword:children()) do
  26200. if s.className=="Part" then
  26201. coroutine.resume(coroutine.create(function(Part,Model)
  26202. for i=0,1,0.1 do
  26203. wait(0)
  26204. Part.Transparency=Part.Transparency+0.1
  26205. end
  26206. wait()
  26207. Model.Parent=nil
  26208. end),s,sword)
  26209. end
  26210. end
  26211. wait(0.7)
  26212. for i=0,1,0.1 do
  26213. wait()
  26214. 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)
  26215. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  26216. LW.C0=cf(-1.5, 0.5, -0.1+0.1*i) * euler(1.57-1.57*i,0,0)
  26217. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  26218. end
  26219. attack=false
  26220. end
  26221.  
  26222. function RemoveSniper()
  26223. attack=true
  26224. for i=0,1,0.1 do
  26225. wait()
  26226. Neck.C0=necko*euler(0.4*i,0,0)
  26227. snwld1.C0=euler(2.07+0.3*i,0,0)*cf(0,1,0)
  26228. RW.C0=cf(1, 0.3, -0.5-0.3*i) * euler(0.9+0.37*i,0,-0.3-1*i)
  26229. RW.C1=cf(0, 0.5, 0) * euler(0,1.3-1*i,0)
  26230. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.07,0,0.7-0.2*i)
  26231. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26232. end
  26233. for _,s in pairs(sniper:children()) do
  26234. if s.className=="Part" then
  26235. coroutine.resume(coroutine.create(function(Part,Model)
  26236. for i=0,1,0.1 do
  26237. wait(0)
  26238. Part.Transparency=Part.Transparency+0.1
  26239. end
  26240. wait()
  26241. Model.Parent=nil
  26242. end),s,sniper)
  26243. end
  26244. end
  26245. wait(0.7)
  26246. for i=0,1,0.1 do
  26247. wait()
  26248. Neck.C0=necko*euler(0.4-0.4*i,0,0)
  26249. 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)
  26250. RW.C1=cf(0, 0.5, 0) * euler(0,0.3-0.3*i,0)
  26251. 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)
  26252. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26253. end
  26254. attack=false
  26255. end
  26256.  
  26257. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  26258. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  26259. end
  26260.  
  26261. function Lightning(p0,p1,tym,ofs,col,th,tra)
  26262. local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs}
  26263. for i=1,tym do
  26264. 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)
  26265. 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)])
  26266. light1=Instance.new("PointLight")
  26267. light1.Brightness=.8
  26268. light1.Color=Color3.new(.2,255,.2)
  26269. light1.Range=8
  26270. light1.Parent=li
  26271. local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz
  26272. if tym == i then
  26273. local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2)
  26274. li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2)
  26275. else
  26276. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2)
  26277. end
  26278. curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,.2)
  26279. end
  26280. end
  26281.  
  26282. spread=0
  26283. range=500
  26284. rangepower=50
  26285. function shoottrail(ShootPosition,baseprt,Damage,Knockback,Size)
  26286. coroutine.resume(coroutine.create(function()
  26287. local spreadvector = (Vector3.new(math.random(-spread,spread),math.random(-spread,spread),math.random(-spread,spread))) * (baseprt.Position-ShootPosition).magnitude/100
  26288. local dir = CFrame.new((baseprt.Position+ShootPosition)/2,ShootPosition+spreadvector)
  26289. local hit,pos = rayCast(baseprt.Position,dir.lookVector,10,modelzorz)
  26290. local rangepos = range
  26291. local function drawtrail(From,To)
  26292. local effectsmsh = Instance.new("CylinderMesh")
  26293. effectsmsh.Scale = Vector3.new(1,1,1)
  26294. effectsmsh.Name = "Mesh"
  26295. local effectsg = Instance.new("Part")
  26296. effectsg.formFactor = 3
  26297. effectsg.CanCollide = false
  26298. effectsg.Name = "Eff"
  26299. effectsg.Locked = true
  26300. effectsg.Anchored = true
  26301. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  26302. effectsg.Parent = modelzorz
  26303. effectsmsh.Parent = effectsg
  26304. effectsg.BrickColor = BrickColor.new("Bright yellow")
  26305. effectsg.Reflectance = 0.4
  26306. local LP = From
  26307. local point1 = To
  26308. local mg = (LP - point1).magnitude
  26309. effectsmsh.Scale = Vector3.new(2,mg*5,2)
  26310. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  26311. coroutine.resume(coroutine.create(function()
  26312. for i = 0 , 1 , 0.1 do
  26313. wait()
  26314. effectsg.Transparency = 1*i
  26315. effectsmsh.Scale = Vector3.new(Size-Size*i,mg*5,Size-Size*i)
  26316. end
  26317. effectsg.Parent = nil
  26318. end))
  26319. end
  26320. local newpos = baseprt.Position
  26321. local inc = rangepower
  26322. repeat
  26323. wait() wait()
  26324. rangepos = rangepos - 10
  26325. dir = dir
  26326. if Mode~="Sniper" then
  26327. dir = dir * CFrame.Angles(math.rad(-1),0,0)
  26328. end
  26329. hit,pos = rayCast(newpos,dir.lookVector,inc,Character)
  26330. drawtrail(newpos,pos)
  26331. newpos = newpos + (dir.lookVector * inc)
  26332. if inc >= 20 then
  26333. inc = inc - 10
  26334. end
  26335. if hit ~= nil then
  26336. rangepos = 0
  26337. end
  26338. until rangepos <= 0
  26339. if hit ~= nil then
  26340. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  26341. critical=false
  26342. if SnipAim==true then
  26343. if hit.Name=="Head" then
  26344. coroutine.resume(coroutine.create(function(HeadPart)
  26345. for i=0,0.5,0.1 do
  26346. wait()
  26347. HeadPart.Velocity=vt(0,60,0)
  26348. end
  26349. end),hit)
  26350. print("CRITICAL")
  26351. critical=true
  26352. p=it("Part")
  26353. p.Parent=workspace
  26354. p.CanCollide=false
  26355. p.Transparency=1
  26356. p.CFrame=hit.CFrame
  26357. p.Anchored=true
  26358. local GUI = it("BillboardGui")
  26359. GUI.Adornee = p
  26360. GUI.Parent = p
  26361. GUI.Active = true
  26362. GUI.Enabled = true
  26363. GUI.Size = UDim2.new(1, 0, 1, 0)
  26364. GUI.StudsOffset = vt(0, 4, 0)
  26365. local Chat = it("TextLabel")
  26366. Chat.Parent = GUI
  26367. Chat.FontSize = "Size12"
  26368. Chat.Position = UDim2.new(0.599999964, 0, 0, 0)
  26369. Chat.Visible = true
  26370. Chat.Text = "Critical!"
  26371. coroutine.resume(coroutine.create(function(Part)
  26372. for i=0,4,0.1 do
  26373. wait()
  26374. Part.CFrame=Part.CFrame*cf(0,0.05,0)
  26375. end
  26376. Part.Parent=nil
  26377. end),p)
  26378. for i=0,7 do
  26379.         Blood=it("Part")
  26380.         Blood.Name="Blood"
  26381.         Blood.TopSurface="Smooth"
  26382.         Blood.BottomSurface="Smooth"
  26383.         Blood.formFactor="Plate"
  26384.         Blood.BrickColor=BrickColor:Red()
  26385.         Blood.Size=vt(1,.4,1)
  26386.         Blood.Velocity=vt(math.random(-4,4),math.random(5,25),math.random(-4,4))
  26387.         Blood.CFrame=hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  26388.         Blood.Parent=workspace
  26389.         Blood.Velocity=vt(math.random(-20,20),math.random(20,50),math.random(-20,20))
  26390.         Blood.CanCollide=false
  26391.         coroutine.resume(coroutine.create(function(blod)
  26392.         wait(0.1)
  26393.         blod.CanCollide=true
  26394.         wait(5)
  26395.         blod.Parent = nil
  26396.         end),Blood)
  26397. end
  26398. end
  26399. hum = hit.Parent.Humanoid
  26400. tTorso=hit.Parent.Torso
  26401. end
  26402. if critical==true then
  26403. CRIT=true
  26404. Damagefunc1(hit,Damage*math.random(3,8),Knockback)
  26405. else
  26406. Damagefunc1(hit,Damage,Knockback)
  26407. end
  26408. attackdebounce=false
  26409. --ADmg(hum,hit)
  26410. elseif hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  26411. if SnipAim==true then
  26412. if hit.Parent.className == "Hat" then
  26413. hatCF=hit.CFrame
  26414. coroutine.resume(coroutine.create(function(hat)
  26415. hat.Handle:BreakJoints()
  26416. hat.Handle.CFrame=hatCF
  26417. hat.Handle.CanCollide=true
  26418. hat.Handle.Velocity=vt(math.random(-10,10),40,math.random(-10,10))
  26419. wait(3)
  26420. hatCF=hat.Handle.CFrame
  26421. hat.Parent=workspace
  26422. for i=0,4,0.2 do
  26423. wait()
  26424. hat.Handle.CFrame=hatCF
  26425. hat.Handle.Velocity=vt(math.random(-5,5),20,math.random(-5,5))
  26426. end
  26427. end),hit.Parent)
  26428. --[[hit:BreakJoints()
  26429. hit.CFrame=CF
  26430. hit.Velocity = vt(math.random(-5,5),20,math.random(-5,5)) ]]
  26431. print("BREAKHAT")
  26432. end
  26433. end
  26434. hum = hit.Parent.Parent.Humanoid
  26435. tTorso=hit.Parent.Parent.Torso
  26436. Damagefunc1(hit.Parent.Parent.Torso,Damage,Knockback)
  26437. attackdebounce=false
  26438. --ADmg(hum,hit)
  26439. end
  26440. end
  26441. end))
  26442. end
  26443.  
  26444. function findNearestTorso(pos)
  26445.     local list = game:service("Workspace"):children()
  26446.     local torso = nil
  26447.     local dist = 50
  26448.     local temp = nil
  26449.     local human = nil
  26450.     local temp2 = nil
  26451.     for x = 1, #list do
  26452.         temp2 = list[x]
  26453.         if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Name ~= "Fenrier") then
  26454.             temp = temp2:findFirstChild("Torso")
  26455.             human = temp2:findFirstChild("Humanoid")
  26456.             if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  26457.                 if (temp.Position - pos).magnitude < dist then
  26458.                     torso = temp
  26459.                     dist = (temp.Position - pos).magnitude
  26460.                 end
  26461.             end
  26462.         end
  26463.     end
  26464.     return torso
  26465. end
  26466.  
  26467. function MagicCircle(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  26468. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  26469. prt.Anchored=true
  26470. prt.CFrame=cframe*cf(x2,y2,z2)
  26471. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  26472. coroutine.resume(coroutine.create(function()
  26473. for i=0,1,0.1 do
  26474. wait()
  26475. prt.CFrame=prt.CFrame
  26476. prt.Transparency=i
  26477. msh.Scale=msh.Scale+vt(x3,y3,z3)
  26478. end
  26479. prt.Parent=nil
  26480. end))
  26481. end
  26482.  
  26483. Damagefunc1=function(hit,Damage,Knockback)
  26484.     if hit.Parent==nil then
  26485.         return
  26486.     end
  26487.     CPlayer=Bin
  26488.     h=hit.Parent:FindFirstChild("Humanoid")
  26489.     if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  26490.     if attackdebounce == false then
  26491.     attackdebounce = true
  26492.     coroutine.resume(coroutine.create(function()
  26493.     wait(0.2)
  26494.     attackdebounce = false
  26495.     end))
  26496.     Damage=Damage
  26497. --[[        if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  26498.             return
  26499.         end]]
  26500. --            hs(hit,1.2)
  26501.             c=Instance.new("ObjectValue")
  26502.             c.Name="creator"
  26503.             c.Value=game:service("Players").LocalPlayer
  26504.             c.Parent=h
  26505.             game:GetService("Debris"):AddItem(c,.5)
  26506.         Damage=Damage+math.random(0,10)
  26507. --        h:TakeDamage(Damage)
  26508.         blocked=false
  26509.         block=hit.Parent:findFirstChild("Block")
  26510.         if block~=nil then
  26511.         print("herp")
  26512.         if block.Value>0 then
  26513.         blocked=true
  26514.         block.Value=block.Value-1
  26515.         print(block.Value)
  26516.         end
  26517.         end
  26518.         if blocked==false then
  26519. --        h:TakeDamage(Damage)
  26520.         h.Health=h.Health-Damage
  26521.         showDamage(hit.Parent,Damage,.5)
  26522.         else
  26523.         h:TakeDamage(1)
  26524.         showDamage(hit.Parent,1,.5)
  26525.         end
  26526.         vp=Instance.new("BodyVelocity")
  26527.         vp.P=500
  26528.         vp.maxForce=Vector3.new(math.huge,0,math.huge)
  26529. --        vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  26530.         vp.velocity=Head.CFrame.lookVector*Knockback+Head.Velocity/1.05
  26531.         if Knockback>0 then
  26532.             vp.Parent=hit.Parent.Torso
  26533.         end
  26534.         game:GetService("Debris"):AddItem(vp,.25)
  26535.                 c=Instance.new("ObjectValue")
  26536.             c.Name="creator"
  26537.             c.Value=Player
  26538.             c.Parent=h
  26539.             game:GetService("Debris"):AddItem(c,.5)
  26540.         CRIT=false
  26541.         hitDeb=true
  26542.         AttackPos=6
  26543.     end
  26544.     end
  26545. end
  26546.  
  26547. showDamage=function(Char,Dealt,du)
  26548.     m=Instance.new("Model")
  26549.     m.Name=tostring(Dealt)
  26550.     h=Instance.new("Humanoid")
  26551.     h.Health=0
  26552.     h.MaxHealth=0
  26553.     h.Parent=m
  26554.     c=Instance.new("Part")
  26555.     c.Transparency=0
  26556.     c.BrickColor=BrickColor:Red()
  26557.     if CRIT==true then
  26558.         c.BrickColor=BrickColor.new("Really red")
  26559.     end
  26560.     c.Name="Head"
  26561.     c.TopSurface=0
  26562.     c.BottomSurface=0
  26563.     c.formFactor="Plate"
  26564.     c.Size=Vector3.new(1,.4,1)
  26565.     ms=Instance.new("CylinderMesh")
  26566.     ms.Scale=Vector3.new(.8,.8,.8)
  26567.     if CRIT==true then
  26568.         ms.Scale=Vector3.new(1,1.25,1)
  26569.     end
  26570.     ms.Parent=c
  26571.     c.Reflectance=0
  26572.     Instance.new("BodyGyro").Parent=c
  26573.     c.Parent=m
  26574.     c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  26575.     f=Instance.new("BodyPosition")
  26576.     f.P=2000
  26577.     f.D=100
  26578.     f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  26579.     f.position=c.Position+Vector3.new(0,3,0)
  26580.     f.Parent=c
  26581.     game:GetService("Debris"):AddItem(m,.5+du)
  26582.     c.CanCollide=false
  26583.     m.Parent=workspace
  26584.     c.CanCollide=false
  26585. end
  26586.  
  26587. function ob1d(mouse)
  26588. if attack == true then return end
  26589. hold=true
  26590. if Mode=="Drones" and Aiming==true then
  26591. print("Attack drones")
  26592. for i=0,1,0.1 do
  26593. wait()
  26594. RW.C0=cf(1.5, 0.5, 0) * euler(0.5+1.07*i,0,0)
  26595. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26596. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26597. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26598. end
  26599. Drone1debounce=false
  26600. Drone2debounce=false
  26601. Drone3debounce=false
  26602. for _,v in pairs(modelzorz:children()) do
  26603. if v.Name=="Drone" then
  26604. coroutine.resume(coroutine.create(function(Drone)
  26605. while hold==true do
  26606. so("http://roblox.com/asset/?id=10209257",Drone.DPart1,0.5,1.5)
  26607. shoottrail(MMouse.Hit.p,Drone.DPart1,5,0,1)
  26608. wait(math.random(0,2)+math.random())
  26609. end
  26610. end),v)
  26611. end
  26612. end
  26613. while hold==true do
  26614. wait()
  26615. end
  26616. for i=0,1,0.1 do
  26617. wait()
  26618. RW.C0=cf(1.5, 0.5, 0) * euler(1.57-1.07*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. elseif Aiming==false then
  26624. for _,v in pairs(modelzorz:children()) do
  26625. if v.Name=="Drone" and v:findFirstChild("CanShoot")~=nil then
  26626. coroutine.resume(coroutine.create(function(Drone)
  26627. while hold==true do
  26628. if v.CanShoot.Value==true then
  26629. print("Shoot")
  26630. so("http://roblox.com/asset/?id=10209257",Drone.DPart1,0.5,1.5)
  26631. shoottrail(Drone.DPart6.Position,Drone.DPart1,5,0,1)
  26632. elseif v.CanShoot.Value==false then
  26633. print("NoShoot")
  26634. end
  26635. wait(math.random(0,2)+math.random())
  26636. end
  26637. end),v)
  26638. end
  26639. end
  26640. end
  26641. if Mode=="Gun" then
  26642. print("Shoot")
  26643. Shoot()
  26644. end
  26645. if Mode=="Sword" then
  26646. slash1()
  26647. if hold==true then
  26648. slash2()
  26649. end
  26650. if hold==true then
  26651. slash3()
  26652. end
  26653. wait(0.5)
  26654. Bg.Parent=nil
  26655. Neck.C0=necko*euler(0,0,0)
  26656. swld1.C0=euler(0,-1.57,-1.57)*cf(0,1,0)
  26657. swld1.C1=euler(0,1.57,0)
  26658. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  26659. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26660. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.4)
  26661. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26662. end
  26663. if Mode=="Sniper" and SnipAim==true then
  26664. SniperShoot()
  26665. end
  26666. end
  26667.  
  26668. function ob1u(mouse)
  26669. hold = false
  26670. end
  26671.  
  26672. buttonhold = false
  26673.  
  26674. eul=0
  26675. function key(key)
  26676. if attack == true then return end
  26677. if Mode=="Drones" then
  26678. if key=="z" then
  26679. RemoveDrones()
  26680. Mode="Choose"
  26681. equipanim()
  26682. return
  26683. end
  26684. if key=="f" then
  26685. if Aiming==false then
  26686. attack=true
  26687. for i=0,1,0.1 do
  26688. wait()
  26689. RW.C0=cf(1.5, 0.5, 0) * euler(0.5+2.64*i,0,0)
  26690. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26691. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26692. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26693. end
  26694. for i=0,1,0.1 do
  26695. wait()
  26696. RW.C0=cf(1.5, 0.5, 0) * euler(3.14-1.57*i,0,0)
  26697. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26698. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26699. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26700. end
  26701. Aiming=true
  26702. coroutine.resume(coroutine.create(function()
  26703. while Aiming==true do
  26704. wait()
  26705. DroneTarget=MMouse.Hit.p
  26706. end
  26707. end))
  26708. wait(0.5)
  26709. for i=0,1,0.1 do
  26710. wait()
  26711. RW.C0=cf(1.5, 0.5, 0) * euler(1.57-1.07*i,0,0)
  26712. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26713. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  26714. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26715. end
  26716. attack=false
  26717. elseif Aiming==true then
  26718. attack=true
  26719. for i=0,1,0.1 do
  26720. wait()
  26721. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(.5+1.07*i,0,-1*i)
  26722. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26723. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(1.57*i,0,-0.2+1.2*i)
  26724. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26725. end
  26726. Aiming=false
  26727. for _,v in pairs(modelzorz:children()) do
  26728. if v.Name=="Drone" then
  26729. Valuee=Instance.new("BoolValue")
  26730. Valuee.Parent=v
  26731. Valuee.Name="CanShoot"
  26732. print("Found Drone")
  26733. coroutine.resume(coroutine.create(function(DDrone,Val,Gyro)
  26734. --coroutine.resume(coroutine.create(function()
  26735. while Aiming==false do
  26736. wait()
  26737. local target = findNearestTorso(DDrone.DPart1.Position)
  26738. if target~=nil then
  26739. Val.Value=true
  26740. Gyro.cframe=cf(DDrone.DPart1.Position, target.Position)
  26741. else
  26742. Val.Value=false
  26743. Gyro.cframe=cf(DDrone.DPart1.Position, Torso.Position)
  26744. end
  26745. end
  26746. Val.Parent=nil
  26747. end),v,Valuee,v.DPart1.DroneGyro)
  26748. end
  26749. end
  26750. wait(0.5)
  26751. for i=0,1,0.1 do
  26752. wait()
  26753. RW.C0=cf(1+.5*i, 0.5, -0.5+0.5*i) * euler(1.57-1.07*i,0,-1+1*i)
  26754. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26755. LW.C0=cf(-1-.5*i, 0.5, -0.5+0.5*i) * euler(1.57-1.57*i,0,1-1.2*i)
  26756. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  26757. end
  26758. attack=false
  26759. end
  26760. end
  26761. end
  26762. if Mode=="Gun" then
  26763. if key=="x" then
  26764. RemoveGun()
  26765. Mode="Choose"
  26766. equipanim()
  26767. return
  26768. end
  26769. end
  26770. if Mode=="Sword" then
  26771. if key=="c" then
  26772. RemoveSword()
  26773. Mode="Choose"
  26774. equipanim()
  26775. return
  26776. end
  26777. if key=="f" then
  26778. BowShoot()
  26779. end
  26780. end
  26781. if Mode=="Sniper" then
  26782. if key=="v" then
  26783. if SnipAim==true then
  26784. SnipAim=false
  26785. UnAim()
  26786. end
  26787. RemoveSniper()
  26788. Mode="Choose"
  26789. equipanim()
  26790. return
  26791. end
  26792. if key=="f" then
  26793. if SnipAim==false then
  26794. SnipAim=true
  26795. Aim()
  26796. else
  26797. SnipAim=false
  26798. UnAim()
  26799. end
  26800. end
  26801. end
  26802. if Mode=="Choose" then
  26803. if key=="f" then
  26804. RemoveDrones2()
  26805. end
  26806. if key=="z" then
  26807. Drone1,Drone2,Drone3=Drones()
  26808. end
  26809. if key=="x" then
  26810. Gun()
  26811. end
  26812. if key=="c" then
  26813. Sword()
  26814. end
  26815. if key=="v" then
  26816. Sniper()
  26817. end
  26818. end
  26819. end
  26820.  
  26821. function key2(key)
  26822. if key=="f" then
  26823. BowAim=false
  26824. end
  26825. end
  26826.  
  26827. function s(mouse)
  26828. mouse.Button1Down:connect(function() ob1d(mouse) end)
  26829. mouse.Button1Up:connect(function() ob1u(mouse) end)
  26830. mouse.KeyDown:connect(key)
  26831. mouse.KeyUp:connect(key2)
  26832. unsheathed = true
  26833. player = Player
  26834. ch = Character
  26835. MMouse = mouse
  26836. RSH = ch.Torso["Right Shoulder"]
  26837. LSH = ch.Torso["Left Shoulder"]
  26838. --
  26839. RSH.Parent = nil
  26840. LSH.Parent = nil
  26841. --
  26842. RW.Part0 = ch.Torso
  26843. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  26844. RW.C1 = CFrame.new(0, 0.5, 0)
  26845. RW.Part1 = ch["Right Arm"]
  26846. RW.Parent = ch.Torso
  26847. --_G.R = RW
  26848. --
  26849. LW.Part0 = ch.Torso
  26850. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  26851. LW.C1 = CFrame.new(0, 0.5, 0)
  26852. LW.Part1 = ch["Left Arm"]
  26853. LW.Parent = ch.Torso
  26854. --_G.L = LW
  26855. --
  26856. equipanim()
  26857. end
  26858.  
  26859. function ds(mouse)
  26860. hideanim()
  26861. wait(0)
  26862. RW.Parent = nil
  26863. LW.Parent = nil
  26864. RSH.Parent = player.Character.Torso
  26865. LSH.Parent = player.Character.Torso
  26866. end
  26867.  
  26868. Bin.Selected:connect(s)
  26869. Bin.Deselected:connect(ds)
  26870. print("Fenrier's Techno Gauntlet loaded.")
  26871.  
  26872. -- mediafire lego
  26873. --[[
  26874. Copyrighted (C) Fenrier 2013
  26875. ]]
  26876.        
  26877.         end)
  26878. --
  26879. local button = Instance.new("TextButton")
  26880.         button.Parent = ws
  26881.         button.BackgroundColor3 = blak
  26882.         button.BorderColor3 = rede
  26883.         button.BorderSizePixel = 3
  26884.         button.Name = "Wand"
  26885.         button.Position = UDim2.new(0,0,0,231)
  26886.         button.Size = UDim2.new(0.5,0,0,30)
  26887.         button.ZIndex = 2
  26888.         button.Font = tef
  26889.         button.FontSize = "Size14"
  26890.         button.Text = "Wand"
  26891.         button.TextColor3 = whit
  26892.         button.TextWrapped = true
  26893.                 button.MouseButton1Down:connect(function()
  26894.                 tool = Instance.new("HopperBin")
  26895.  
  26896. player = game.Players.LocalPlayer
  26897. char = player.Character
  26898. tool = Instance.new("HopperBin")
  26899. tool.Parent = player.Backpack
  26900. script.Parent = tool
  26901. tool.Name = "Wand"
  26902.  
  26903. spin = false
  26904.  
  26905. landc = "Earth green"
  26906. firec = "Bright red"
  26907. icec = "Light blue"
  26908. windc = "Institutional white"
  26909. helthc = "Lime green"
  26910. elec = "New Yeller"
  26911.  
  26912. norm = 18
  26913.  
  26914. handle = Instance.new("Part")
  26915. handle.Parent = game.Lighting
  26916. handle.Name = "Handle"
  26917. handle.FormFactor = "Symmetric"
  26918. handle.Size = Vector3.new(1,4,1)
  26919. handle.TopSurface = 0
  26920. handle.BottomSurface = 0
  26921. handle.BrickColor = BrickColor.new("Black")
  26922. handle.Anchored = false
  26923. handle.Position = char["Right Arm"].Position
  26924. handle.CanCollide = false
  26925. handle.Locked = true
  26926. handle2 = Instance.new("Part")
  26927. handle2.Parent = game.Lighting
  26928. handle2.Name = "Handle2"
  26929. handle2.Shape = "Ball"
  26930. handle2.Size = Vector3.new(1,1,1)
  26931. handle2.TopSurface = 0
  26932. handle2.BottomSurface = 0
  26933. handle2.BrickColor = BrickColor.new("Bright red")
  26934. handle2.Anchored = false
  26935. handle2.Position = char["Right Arm"].Position
  26936. handle2.Transparency = 0.1
  26937. handle2.CanCollide = false
  26938. handle2.Locked = true
  26939.  
  26940. handle3 = Instance.new("Part")
  26941. handle3.Parent = game.Lighting
  26942. handle3.Name = "Handle2"
  26943. handle3.Shape = "Ball"
  26944. handle3.Size = Vector3.new(1,1,1)
  26945. handle3.TopSurface = 0
  26946. handle3.BottomSurface = 0
  26947. handle3.BrickColor = BrickColor.new("Black")
  26948. handle3.Anchored = false
  26949. handle3.Position = char["Right Arm"].Position
  26950. handle3.CanCollide = false
  26951. handle3.Locked = true
  26952. local m = Instance.new("CylinderMesh")
  26953. m.Parent = handle
  26954. m.Scale = Vector3.new(0.42,1,0.42)
  26955. local m2 = Instance.new("SpecialMesh")
  26956. m2.Parent = handle2
  26957. m2.MeshType = "Sphere"
  26958. m2.Scale = Vector3.new(0.8,0.8,0.8)
  26959. local m3 = Instance.new("SpecialMesh")
  26960. m3.Parent = handle3
  26961. m3.MeshType = "FileMesh"
  26962. m3.MeshId = "http://www.roblox.com/asset/?id=1033714"
  26963. m3.Scale = Vector3.new(0.4,0.85,0.4)
  26964. brick1 = Instance.new("Part")
  26965. brick1.Parent = char
  26966. brick1.formFactor = "Symmetric"
  26967. brick1.Size = Vector3.new(1,1,1)
  26968. brick1.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  26969. brick1.Shape = "Ball"
  26970. brick1.CanCollide = false
  26971. brick1.Transparency = 1
  26972. brick1.Locked = true
  26973. mesh1 = Instance.new("SpecialMesh")
  26974. mesh1.Parent = brick1
  26975. mesh1.MeshType = "Sphere"
  26976. mesh1.Scale = Vector3.new(1.4,1.4,1.4)
  26977. brick2 = Instance.new("Part")
  26978. brick2.Parent = game.Lighting
  26979. brick2.formFactor = "Symmetric"
  26980. brick2.Size = Vector3.new(1,1,1)
  26981. brick2.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  26982. brick2.Shape = "Ball"
  26983. brick2.CanCollide = false
  26984. brick2.Transparency = 1
  26985. brick2.BrickColor = handle2.BrickColor
  26986. brick2.Locked = true
  26987. mesh2 = Instance.new("SpecialMesh")
  26988. mesh2.Parent = brick2
  26989. mesh2.MeshType = "Sphere"
  26990. mesh2.Scale = Vector3.new(0.5,0.5,0.5)
  26991. brick3 = Instance.new("Part")
  26992. brick3.Parent = game.Lighting
  26993. brick3.formFactor = "Symmetric"
  26994. brick3.Size = Vector3.new(1,1,1)
  26995. brick3.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  26996. brick3.Shape = "Ball"
  26997. brick3.CanCollide = false
  26998. brick3.Transparency = 1
  26999. brick3.BrickColor = handle2.BrickColor
  27000. brick3.Locked = true
  27001. mesh3 = Instance.new("SpecialMesh")
  27002. mesh3.Parent = brick3
  27003. mesh3.MeshType = "Sphere"
  27004. mesh3.Scale = Vector3.new(0.5,0.5,0.5)
  27005. wads = Instance.new("Weld")
  27006. wads.Parent = char.Torso
  27007. wads.Part0 = wads.Parent
  27008. wads.Part1 = brick1
  27009. wads.C1 = CFrame.new(-1.5,-0.5,0)
  27010. wads2 = Instance.new("Weld")
  27011. wads2.Parent = handle2
  27012. wads2.Part0 = wads2.Parent
  27013. wads2.Part1 = brick2
  27014. wads2.C1 = CFrame.new(1,0,0)
  27015. wads3 = Instance.new("Weld")
  27016. wads3.Parent = handle2
  27017. wads3.Part0 = wads2.Parent
  27018. wads3.Part1 = brick2
  27019. wads3.C1 = CFrame.new(-1,0,0)
  27020.  
  27021. wa = Instance.new("Weld")
  27022. wa.Parent = brick1
  27023. wa.Part0 = nil
  27024. wa.Part1 = nil
  27025.  
  27026. weld = Instance.new("Weld")
  27027.  
  27028. toha = Instance.new("Weld")
  27029. toha.Parent = char.Torso
  27030. toha.Part0 = nil
  27031. toha.Part1 = nil
  27032. toha.C1 = CFrame.fromEulerAnglesXYZ(0,0,-2.5) * CFrame.new(0,0,-0.7)
  27033.  
  27034. original = CFrame.fromEulerAnglesXYZ(-1.55,0,0) * CFrame.new(0,0,0.6)
  27035. weporigin = CFrame.fromEulerAnglesXYZ(1.55,0,0) * CFrame.new(0, 1.1, 0.5)
  27036.  
  27037. myhum = char.Humanoid
  27038. myhum.WalkSpeed = norm
  27039.  
  27040. enabled = false
  27041. hol = false
  27042.  
  27043. function select(mouse, key)
  27044.         wa.Part0 = wa.Parent
  27045.         wa.Part1 = char["Right Arm"]
  27046.         wa.C1 = original
  27047.         weld.Parent = char["Right Arm"]
  27048.         weld.Part0 = nil
  27049.         weld.Part1 = nil
  27050.         weld.C1 = weporigin
  27051.         handle.Parent = char
  27052.         handle2.Parent = char
  27053.         handle3.Parent = char
  27054.         for i = 1, 8 do
  27055.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  27056.                 wait()
  27057.         end
  27058.         for i = 1, 4 do
  27059.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  27060.                 wait()
  27061.         end
  27062.         toha.Part0 = nil
  27063.         toha.Part1 = nil
  27064.         weld.Part0 = weld.Parent
  27065.         weld.Part1 = handle
  27066.         for i = 1, 4 do
  27067.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.2,0)
  27068.                 wait()
  27069.         end
  27070.         for i = 1, 8 do
  27071.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.35,0,0)
  27072.                 wait()
  27073.         end
  27074.         wa.C1 = original
  27075.         spin = true
  27076.         brick2.Transparency = 0.3
  27077.         brick2.Parent = char
  27078.         brick3.Transparency = 0.3
  27079.         brick3.Parent = char
  27080.         weld2 = Instance.new("Weld")
  27081.         weld2.Parent = handle
  27082.         weld2.Part0 = weld2.Parent
  27083.         weld2.Part1 = handle2
  27084.         weld2.C1 = CFrame.new(0, 0, 2.1)
  27085.         weld3 = Instance.new("Weld")
  27086.         weld3.Parent = handle
  27087.         weld3.Part0 = weld3.Parent
  27088.         weld3.Part1 = handle3
  27089.         weld3.C1 = CFrame.new(0, 0, 1.4)
  27090.         weld.C1 = CFrame.fromEulerAnglesXYZ(1.55,0,0) * CFrame.new(0, 1.1, 0.5)
  27091.         weld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0, -2.1, 0)
  27092.         weld3.C1 = CFrame.fromEulerAnglesXYZ(3.2,0,0) * CFrame.new(0, -1.5, 0)
  27093.         coroutine.resume(coroutine.create(function()
  27094.                 while spin == true do
  27095.                         for i=1, 20 do
  27096.                                 wait()
  27097.                                 handle2.Transparency = handle2.Transparency + 0.025
  27098.                         end
  27099.                         for i=1, 20 do
  27100.                                 wait()
  27101.                                 handle2.Transparency = handle2.Transparency - 0.025
  27102.                         end
  27103.                 end
  27104.         end))
  27105.         coroutine.resume(coroutine.create(function()
  27106.                 while spin == true do
  27107.                         wait()
  27108.                         wads2.C1 = wads2.C1 * CFrame.fromEulerAnglesXYZ(0,0.15,0)
  27109.                         wads3.C1 = wads3.C1 * CFrame.fromEulerAnglesXYZ(0,0.15,0)
  27110.                         local fade = brick2:clone()
  27111.                         fade.Parent = char
  27112.                         fade.CFrame = brick2.CFrame
  27113.                         local weld = wads2:clone()
  27114.                         weld.Parent = handle2
  27115.                         weld.Part0 = weld.Parent
  27116.                         weld.Part1 = fade
  27117.                         local fade2 = brick3:clone()
  27118.                         fade2.Parent = char
  27119.                         fade2.CFrame = brick3.CFrame
  27120.                         local weld2 = wads3:clone()
  27121.                         weld2.Parent = handle2
  27122.                         weld2.Part0 = weld2.Parent
  27123.                         weld2.Part1 = fade2
  27124.                         coroutine.resume(coroutine.create(function()
  27125.                                 for i=1, 8 do
  27126.                                         wait()
  27127.                                         fade.Transparency = fade.Transparency + 0.12
  27128.                                         fade2.Transparency = fade2.Transparency + 0.12
  27129.                                 end
  27130.                                 fade:remove()
  27131.                                 fade2:remove()
  27132.                         end))
  27133.                 end
  27134.         end))
  27135.         enabled = false
  27136.         mouse.KeyDown:connect(function(key)
  27137.                 key = key:lower()
  27138.                 if (key == "k") then
  27139.                         if enabled == true then return end
  27140.                         enabled = true
  27141.                         hol = true
  27142.                         for i=1, 6 do
  27143.                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.1,0.1,0)
  27144.                         wait()
  27145.                         end
  27146.                         handle2.BrickColor = BrickColor.new(landc)
  27147.                         brick2.BrickColor = handle2.BrickColor
  27148.                         brick3.BrickColor = handle2.BrickColor
  27149.                         while hol == true do
  27150.                         wait(0.05)
  27151.                         local ki = Instance.new("Part")
  27152.                         ki.Parent = workspace
  27153.                         ki.Name = "Landmon"
  27154.                         ki.Size = Vector3.new(1,1,1)
  27155.                         ki.BrickColor = handle2.BrickColor
  27156.                         ki.TopSurface = 0
  27157.                         ki.BottomSurface = 0
  27158.                         ki.CanCollide = false
  27159.                         ki.Anchored = true
  27160.                         ki.CFrame = CFrame.new(mouse.Hit.p)
  27161.                         ki.CFrame = ki.CFrame * CFrame.new(0, -4, 0)
  27162.                         local mef = Instance.new("SpecialMesh")
  27163.                         mef.Parent = ki
  27164.                         mef.MeshType = "Sphere"
  27165.                         mef.Scale = Vector3.new(9,16,9)
  27166.                         coroutine.resume(coroutine.create(function()
  27167.                                 for i=1, 5 do
  27168.                                         wait()
  27169.                                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.12,0)
  27170.                                 end
  27171.                                 for i=1, 5 do
  27172.                                         wait()
  27173.                                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.12,0)
  27174.                                 end
  27175.                         end))
  27176.                         coroutine.resume(coroutine.create(function()
  27177.                                 for i=1, 25 do
  27178.                                         wait()
  27179.                                         ki.CFrame = ki.CFrame * CFrame.new(0, 0.3, 0)
  27180.                                 end
  27181.                                 loo = ki.CFrame
  27182.                                 ki.CanCollide = true
  27183.                                 mef.Scale = Vector3.new(1,1,1)
  27184.                                 ki.Size = Vector3.new(9,16,9)
  27185.                                 ki.CFrame = loo
  27186.                                 wait(7)
  27187.                                 for i=1, 20 do
  27188.                                         wait()
  27189.                                         ki.Transparency = ki.Transparency + 0.05
  27190.                                 end
  27191.                                 ki:remove()
  27192.                         end))
  27193.                         end
  27194.                 elseif (key == "f") then
  27195.                         if enabled == true then return end
  27196.                         enabled = true
  27197.                         pof = mouse.Hit.p
  27198.                         local part = Instance.new("Part")
  27199.                         local fire = Instance.new("Fire")
  27200.                         fire.Parent = part
  27201.                         fire.Heat = 30
  27202.                         fire.Size = 40
  27203.                         local smoke = Instance.new("Smoke")
  27204.                         smoke.Parent = part
  27205.                         smoke.RiseVelocity = 2
  27206.                         smoke.Size = 20
  27207.                         smoke.Color = Color3.new(0,0,0)
  27208.                         smoke.Opacity = 1
  27209.                         local par = Instance.new("Part")
  27210.                         par.Parent = workspace
  27211.                         par.Size = Vector3.new(9,1,1)
  27212.                         par.Transparency = 0
  27213.                         par.Anchored = true
  27214.                         par.TopSurface = 0
  27215.                         par.BottomSurface = 0
  27216.                         par.BrickColor = BrickColor.new(firec)
  27217.                         par.CFrame = CFrame.new(pof) * CFrame.new(0,-0.498,0)
  27218.                         par.CFrame = par.CFrame * CFrame.Angles(0,0.8,0)
  27219.                         par.CanCollide = false
  27220.                         local mes = Instance.new("SpecialMesh")
  27221.                         mes.Parent = par
  27222.                         mes.MeshType = "Brick"
  27223.                         mes.Scale = Vector3.new(1,1,1)
  27224.                         local pa = par:clone()
  27225.                         pa.Parent = workspace
  27226.                         pa.CFrame = CFrame.new(pof) * CFrame.new(0,-0.498,0)
  27227.                         pa.CFrame = pa.CFrame * CFrame.Angles(0,-0.8,0)
  27228.                         handle2.BrickColor = BrickColor.new(firec)
  27229.                         brick2.BrickColor = handle2.BrickColor
  27230.                         brick3.BrickColor = handle2.BrickColor
  27231.                         for i=1, 10 do
  27232.                                 wait(0.03)
  27233.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,0.05,0)
  27234.                         end
  27235.                         for i=1, 4 do
  27236.                         for i=1, 3 do
  27237.                                 wait(0.01)
  27238.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.05,0.1)
  27239.                         end
  27240.                         for i=1, 3 do
  27241.                                 wait(0.01)
  27242.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.03,0.05,-0.1)
  27243.                         end
  27244.                         end
  27245.                         for i=1, 7 do
  27246.                                 wait(0.01)
  27247.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.1,-0.1)
  27248.                         end
  27249.                         wait(0.6)
  27250.                         for i=1, 10 do
  27251.                                 wait(0.02)
  27252.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.1,-0.05,0.3)
  27253.                                 par.Transparency = par.Transparency + 0.1
  27254.                                 pa.Transparency = pa.Transparency + 0.1
  27255.                                 mes.Scale = mes.Scale + Vector3.new(0.1,0,0.05)
  27256.                                 pa.Mesh.Scale = pa.Mesh.Scale + Vector3.new(0.1,0,0.05)
  27257.                         end
  27258.                         wait(0.1)
  27259.                         pa:remove()
  27260.                         par:remove()
  27261.                         part.Parent = workspace
  27262.                         part.Size = Vector3.new(3,3,3)
  27263.                         part.Anchored = true
  27264.                         part.CFrame = CFrame.new(pof)
  27265.                         part.CFrame = part.CFrame * CFrame.Angles(1.2,0,0)
  27266.                         part.Transparency = 1
  27267.                         coroutine.resume(coroutine.create(function()
  27268.                                 for i=1, 100 do
  27269.                                         wait()
  27270.                                         part.CFrame = part.CFrame * CFrame.Angles(0,0,0.4)
  27271.                                 end
  27272.                         end))
  27273.                         local explode = Instance.new("Explosion")
  27274.                         explode.Parent = char
  27275.                         explode.BlastRadius = 11
  27276.                         explode.BlastPressure = 400000
  27277.                         explode.Position = part.Position
  27278.                         explode.archivable = false
  27279.                         wait(0.3)
  27280.                         wa.C1 = original
  27281.                         wait(0.7)
  27282.                         fire.Enabled = false
  27283.                         smoke.Enabled = false
  27284.                         wait(0.2)
  27285.                         part:remove()
  27286.                         wait(1)
  27287.                         enabled = false
  27288.                 elseif (key == "q") then
  27289.                         if enabled == true then return end
  27290.                         enabled = true
  27291.                         handle2.BrickColor = BrickColor.new(windc)
  27292.                         brick2.BrickColor = handle2.BrickColor
  27293.                         brick3.BrickColor = handle2.BrickColor
  27294.                         for i=1, 8 do
  27295.                                 wait(0.01)
  27296.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0,-0.18)
  27297.                         end
  27298.                         for i=1, 2 do
  27299.                                 wait(0.01)
  27300.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.15,0)
  27301.                         end
  27302.                         wait(0.3)
  27303.                         for i=1, 2 do
  27304.                                 wait(0.01)
  27305.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.3,0)
  27306.                         end
  27307.                         local p = Instance.new("Part")
  27308.                         p.Parent = workspace
  27309.                         p.Name = "Sword"
  27310.                         p.Size = Vector3.new(1,4,1)
  27311.                         p.BottomSurface = 0
  27312.                         p.TopSurface = 0
  27313.                         p.Anchored = false
  27314.                         p.CanCollide = false
  27315.                         p.CFrame = handle.CFrame
  27316.                         p.CFrame = p.CFrame * CFrame.Angles(0,0,1.55)
  27317.                         p:BreakJoints()
  27318.                         local mt = Instance.new("SpecialMesh")
  27319.                         mt.Parent = p
  27320.                         mt.MeshType = "FileMesh"
  27321.                         mt.MeshId = "http://www.roblox.com/asset/?id=12768042"
  27322.                         mt.TextureId = "http://www.roblox.com/asset/?id=21262906"
  27323.                         local bv = Instance.new("BodyVelocity")
  27324.                         bv.Parent = p
  27325.                         bv.velocity = char.Torso.CFrame.lookVector * 45
  27326.                         local bva = Instance.new("BodyAngularVelocity")
  27327.                         bva.Parent = p
  27328.                         bva.angularvelocity = Vector3.new(0,14,0)
  27329.                         p.Touched:connect(function(hit)
  27330.                                 if hit.Parent.Name == player.Name then return end
  27331.                                 local hum = hit.Parent:findFirstChild("Humanoid")
  27332.                                 if hum ~= nil then
  27333.                                         local hed = hit.Parent:findFirstChild("Head")
  27334.                                         if hed ~= nil then
  27335.                                                 for i=1, 5 do
  27336.                                                         wait()
  27337.                                                         hed.Parent.Torso.Neck.C1 = hed.Parent.Torso.Neck.C1 * CFrame.new(0, 0, -0.9)
  27338.                                                 end
  27339.                                                 hum.Health = 0
  27340.                                                 wait(0.05)
  27341.                                                 hed.Velocity = Vector3.new(math.random(-30,30),40,math.random(-30,30))
  27342.                                                 hed.RotVelocity = Vector3.new(math.random(-25,25),math.random(-25,25),math.random(-25,25))
  27343.                                         end
  27344.                                         hum.Health = 0
  27345.                                 end
  27346.                         end)
  27347.                         local spi = true
  27348.                         coroutine.resume(coroutine.create(function()
  27349.                                 while spi == true do
  27350.                                         local fad = p:clone()
  27351.                                         fad.Parent = workspace
  27352.                                         fad.BrickColor = BrickColor.new(windc)
  27353.                                         fad.Transparency = 0.2
  27354.                                         fad.Mesh.TextureId = "Clear"
  27355.                                         fad.Anchored = true
  27356.                                         coroutine.resume(coroutine.create(function()
  27357.                                                 for i=1, 8 do
  27358.                                                         wait()
  27359.                                                         fad.Transparency = fad.Transparency + 0.1
  27360.                                                 end
  27361.                                                 fad:remove()
  27362.                                         end))
  27363.                                         wait()
  27364.                                 end
  27365.                         end))
  27366.                         for i=1, 4 do
  27367.                                 wait(0.01)
  27368.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.3,0)
  27369.                         end
  27370.                         wait(0.3)
  27371.                         for i=1, 7 do
  27372.                                 wait(0.01)
  27373.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.2,0.3)
  27374.                         end
  27375.                         wa.C1 = original
  27376.                         wait(0.3)
  27377.                         enabled = false
  27378.                         wait(1.2)
  27379.                         spi = false
  27380.                         wait()
  27381.                         p:remove()
  27382.                 elseif (key == "e") then
  27383.                         if enabled == true then return end
  27384.                         enabled = true
  27385.                         myhum.WalkSpeed = 0
  27386.                         handle2.BrickColor = BrickColor.new(helthc)
  27387.                         brick2.BrickColor = handle2.BrickColor
  27388.                         brick3.BrickColor = handle2.BrickColor
  27389.                         hol = true
  27390.                         for i=1, 6 do
  27391.                                 wait(0.01)
  27392.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.13,0,0)
  27393.                                 weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.1)
  27394.                         end
  27395.                         wait(0.5)
  27396.                         for i=1, 3 do
  27397.                                 wait(0.01)
  27398.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.4,0,0)
  27399.                                 weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.23)
  27400.                         end
  27401.                         local pf = Instance.new("Part")
  27402.                         pf.Parent = workspace
  27403.                         pf.Name = "Healthbump"
  27404.                         pf.Size = Vector3.new(7,1,7)
  27405.                         pf.BottomSurface = 0
  27406.                         pf.TopSurface = 0
  27407.                         pf.Anchored = true
  27408.                         pf.CanCollide = false
  27409.                         pf.CFrame = char.Torso.CFrame * CFrame.new(0,-2.8, 0)
  27410.                         pf.Transparency = 0.3
  27411.                         pf.BrickColor = handle2.BrickColor
  27412.                         local meg = Instance.new("CylinderMesh")
  27413.                         meg.Parent = pf
  27414.                         meg.Scale = Vector3.new(0.6,0.8,0.6)
  27415.                         hecols = {"Bright green", "Lime green", "Dark green", "Camo"}
  27416.                         coroutine.resume(coroutine.create(function()
  27417.                                 for i=1, 50 do
  27418.                                         wait()
  27419.                                         pf.Transparency = pf.Transparency + 0.02
  27420.                                         meg.Scale = meg.Scale + Vector3.new(0.045,0,0.045)
  27421.                                 end
  27422.                         end))
  27423.                         while hol == true do
  27424.                                 wait(0)
  27425.                                 myhum.Health = myhum.Health + 0.5
  27426.                                 local chanc = math.random(1,20)
  27427.                                 if chanc == 8 then
  27428.                                         coroutine.resume(coroutine.create(function()
  27429.                                                 pf.Transparency = 0.3
  27430.                                                 meg.Scale = Vector3.new(0.6,0.8,0.6)
  27431.                                                 for i=1, 50 do
  27432.                                                         wait()
  27433.                                                         pf.Transparency = pf.Transparency + 0.02
  27434.                                                         meg.Scale = meg.Scale + Vector3.new(0.045,0,0.045)
  27435.                                                 end
  27436.                                         end))
  27437.                                 end
  27438.                                 local hp = Instance.new("Part")
  27439.                                 hp.Parent = workspace
  27440.                                 hp.formFactor = "Symmetric"
  27441.                                 local randsiz = math.random(1,2)
  27442.                                 local col = math.random(1,4)
  27443.                                 hp.Size = Vector3.new(randsiz,randsiz,randsiz)
  27444.                                 hp.BrickColor = BrickColor.new(hecols[col])
  27445.                                 hp.TopSurface = 0
  27446.                                 hp.BottomSurface = 0
  27447.                                 hp.Transparency = 0.1
  27448.                                 hp.CFrame = char.Torso.CFrame * CFrame.new(math.random(-5,5),-3,math.random(-5,5))
  27449.                                 hp.CFrame = hp.CFrame * CFrame.Angles(math.random(),math.random(),math.random())
  27450.                                 hp.CanCollide = false
  27451.                                 hp.Anchored = false
  27452.                                 hp:BreakJoints()
  27453.                                 local mf = Instance.new("SpecialMesh")
  27454.                                 mf.MeshType = "Brick"
  27455.                                 mf.Parent = hp
  27456.                                 mf.Scale = Vector3.new(0.65,0.65,0.65)
  27457.                                 local bv = Instance.new("BodyVelocity")
  27458.                                 bv.Parent = hp
  27459.                                 bv.velocity = Vector3.new(0,10,0)
  27460.                                 coroutine.resume(coroutine.create(function()
  27461.                                         wait(0.9)
  27462.                                         for i=1, 9 do
  27463.                                                 hp.Transparency = hp.Transparency + 0.1
  27464.                                                 wait()
  27465.                                         end
  27466.                                         hp:remove()
  27467.                                 end))
  27468.                         end
  27469.                 elseif (key == "r") then
  27470.                         if enabled == true then return end
  27471.                         enabled = true
  27472.                         myhum.WalkSpeed = 0
  27473.                         handle2.BrickColor = BrickColor.new(elec)
  27474.                         brick2.BrickColor = handle2.BrickColor
  27475.                         brick3.BrickColor = handle2.BrickColor
  27476.                         cols = {"Neon orange", "New Yeller", "Bright yellow", "Bright orange"}
  27477.                         for i=1, 6 do
  27478.                                 wait(0.01)
  27479.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.11,0,0)
  27480.                         end
  27481.                         wait(0.35)
  27482.                         tab = {}
  27483.                         for i=1, 50 do
  27484.                         for i=1, 20 do
  27485.                                 local a = Instance.new("Part")
  27486.                                 a.Parent = workspace
  27487.                                 a.formFactor = "Symmetric"
  27488.                                 a.Size = Vector3.new(4,1,1)
  27489.                                 a.TopSurface = 0
  27490.                                 a.BottomSurface = 0
  27491.                                 local numb = math.random(1,4)
  27492.                                 a.BrickColor = BrickColor.new(cols[numb])
  27493.                                 a.Anchored = true
  27494.                                 a.CanCollide = false
  27495.                                 a.Transparency = 0.3
  27496.                                 local mo = Instance.new("SpecialMesh")
  27497.                                 mo.Parent = a
  27498.                                 mo.MeshType = "Brick"
  27499.                                 mo.Scale = Vector3.new(1,0.2,0.2)
  27500.                                 a.CFrame = handle2.CFrame
  27501.                                 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)
  27502.                                 table.insert(tab, a)
  27503.                         end
  27504.                         wait()
  27505.                         for _, v in pairs(tab) do
  27506.                                 v:remove()
  27507.                         end
  27508.                         end
  27509.                         for i=1, 7 do
  27510.                                 wait(0.01)
  27511.                                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.17,0.1,0)
  27512.                         end
  27513.                         coroutine.resume(coroutine.create(function()
  27514.                         for i=1, 10 do
  27515.                                 wait(0.2)
  27516.                                 local h = Instance.new("Part")
  27517.                                 h.Parent = workspace
  27518.                                 h.Shape = "Ball"
  27519.                                 h.Size = Vector3.new(3,3,3)
  27520.                                 h.TopSurface = 0
  27521.                                 h.BottomSurface = 0
  27522.                                 local numb = math.random(1,4)
  27523.                                 h.BrickColor = BrickColor.new(cols[numb])
  27524.                                 h.Anchored = true
  27525.                                 h.CanCollide = false
  27526.                                 h.Transparency = 0.5
  27527.                                 h.CFrame = handle2.CFrame
  27528.                                 local function magn(hif)
  27529.                                         if hif.Parent.Name == player.Name then return end
  27530.                                         local dist = (char.Torso.Position - hif.Position).magnitude
  27531.                                         if dist >= 10 then
  27532.                                                 print(dist)
  27533.                                                 local hum = hif.Parent:findFirstChild("Humanoid")
  27534.                                                 if hum ~= nil then
  27535.                                                         hum.Health = 0
  27536.                                                 end
  27537.                                         end
  27538.                                 end
  27539.                                 coroutine.resume(coroutine.create(function()
  27540.                                         for i=1, 30 do
  27541.                                                 wait()
  27542.                                                 magn(char.Torso)
  27543.                                         end
  27544.                                 end))
  27545.                                 coroutine.resume(coroutine.create(function()
  27546.                                         for i=1, 30 do
  27547.                                                 wait(0.04)
  27548.                                                 h.Size = h.Size + Vector3.new(2,2,2)
  27549.                                                 h.Transparency = h.Transparency + 0.023
  27550.                                                 h.CFrame = handle2.CFrame
  27551.                                         end
  27552.                                         h:remove()
  27553.                                 end))
  27554.                         end
  27555.                         end))
  27556.                         for i=1, 19 do
  27557.                         for i=1, 30 do
  27558.                                 local f = Instance.new("Part")
  27559.                                 f.Parent = workspace
  27560.                                 f.formFactor = "Symmetric"
  27561.                                 f.Size = Vector3.new(25,1,1)
  27562.                                 f.TopSurface = 0
  27563.                                 f.BottomSurface = 0
  27564.                                 local numb = math.random(1,4)
  27565.                                 f.BrickColor = BrickColor.new(cols[numb])
  27566.                                 f.Anchored = true
  27567.                                 f.CanCollide = false
  27568.                                 f.Transparency = 0.3
  27569.                                 local mo = Instance.new("SpecialMesh")
  27570.                                 mo.Parent = f
  27571.                                 mo.MeshType = "Brick"
  27572.                                 mo.Scale = Vector3.new(1,math.random(0.8,1.7),math.random(0.8,1.7))
  27573.                                 f.CFrame = handle2.CFrame
  27574.                                 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)
  27575.                                 table.insert(tab, f)
  27576.                         end
  27577.                         wait(0.1)
  27578.                         for _, v in pairs(tab) do
  27579.                                 v:remove()
  27580.                         end
  27581.                         end
  27582.                         myhum.WalkSpeed = norm
  27583.                         enabled = false
  27584.                 end
  27585.         end)
  27586.         mouse.KeyUp:connect(function(key)
  27587.                 key = key:lower()
  27588.                 if (key == "k") then
  27589.                         hol = false
  27590.                         for i=1, 6 do
  27591.                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,-0.1,0)
  27592.                         wait()
  27593.                         end
  27594.                         wa.C1 = original
  27595.                         enabled = false
  27596.                         wait(0.3)
  27597.                         wa.C1 = original
  27598.                 elseif (key == "e") then
  27599.                         hol = false
  27600.                         for i=1, 6 do
  27601.                         wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,-0.02,0)
  27602.                         weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0.24)
  27603.                         wait()
  27604.                         end
  27605.                         myhum.WalkSpeed = norm
  27606.                         for i=1, 5 do
  27607.                                 wait(0.15)
  27608.                                 wa.C1 = original
  27609.                                 weld.C1 = weporigin
  27610.                         end
  27611.                         enabled = false
  27612.                 end
  27613.         end)
  27614.         mouse.Button1Down:connect(function()
  27615.                 e = char.Torso
  27616.                 wait(0.2)
  27617.                 e.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,2.5,0)
  27618.         end)
  27619. end
  27620.  
  27621. function deselect()
  27622.         spin = false
  27623.         for i = 1, 8 do
  27624.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  27625.                 wait()
  27626.         end
  27627.         for i = 1, 4 do
  27628.                 wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  27629.                 wait()
  27630.         end
  27631.         toha.Part0 = toha.Parent
  27632.         toha.Part1 = handle
  27633.         weld.Part0 = nil
  27634.         weld.Part1 = nil
  27635.         wait()
  27636.         wa.Part0 = nil
  27637.         wa.Part1 = nil
  27638. end
  27639.  
  27640.  
  27641. script.Parent.Selected:connect(select)
  27642. script.Parent.Deselected:connect(deselect)
  27643.  
  27644.         end)
  27645. --
  27646. local button = Instance.new("TextButton")
  27647.         button.Parent = ws
  27648.         button.BackgroundColor3 = blak
  27649.         button.BorderColor3 = rede
  27650.         button.BorderSizePixel = 3
  27651.         button.Name = "xBow"
  27652.         button.Position = UDim2.new(0.5,3,0,231)
  27653.         button.Size = UDim2.new(0.5,-3,0,30)
  27654.         button.ZIndex = 2
  27655.         button.Font = tef
  27656.         button.FontSize = "Size14"
  27657.         button.Text = "xBow"
  27658.         button.TextColor3 = whit
  27659.         button.TextWrapped = true
  27660.                 button.MouseButton1Down:connect(function()
  27661.         me = game.Players.LocalPlayer
  27662. char = me.Character
  27663. Selected = false
  27664. Able = true
  27665. Arrow = nil
  27666. ArrowOn = false
  27667. Hurt = false
  27668. Deb = true
  27669. Reloading = false
  27670. Shooting = false
  27671. Slashing = false
  27672. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27673. EffectOn = false
  27674. Accuracy = 1
  27675. SelAnim = false
  27676. DMG = 123452323
  27677. LapaCol = "Brown"
  27678. HandCol = "Brown"
  27679. MiddleCol = "Brown"
  27680. ViiniCol = "Brown"
  27681. Icon = "http://www.roblox.com/asset/?id=51902588"
  27682. Keys = {
  27683. e = false,
  27684. }
  27685. ModelName = "Epic Bow"
  27686. CA = CFrame.Angles
  27687. CN = CFrame.new
  27688. MR = math.rad
  27689. MP = math.pi
  27690. MRA = math.random
  27691. MH = math.huge
  27692. UD = UDim2.new
  27693. C3 = Color3.new
  27694. MaximumPower = 1000000000
  27695. MaxSpecial = 100000
  27696. Special = MaxSpecial
  27697. Sounds = {
  27698. Slash = {"rbxasset://sounds//swordslash.wav", 1.2, 1},
  27699. Shoot = {"http://www.roblox.com/asset/?id=16211041", 2, 1},
  27700. Stick = {"http://www.roblox.com/asset/?id=2767090", 15, 1},
  27701. Hit = {"http://www.roblox.com/asset/?id=10209590", 0.9, 1},
  27702. Block = {"rbxasset://sounds\\metal.ogg", 1.4, 1},
  27703. }
  27704. function RC(Pos, Dir, Max, Ignore)
  27705. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore)
  27706. end
  27707. function RayC(Start, En, MaxDist, Ignore)
  27708. return RC(Start, (En - Start), MaxDist, Ignore)
  27709. end
  27710. function DetectSurface(pos, part)
  27711. local surface = nil
  27712. local pospos = part.CFrame
  27713. local pos2 = pospos:pointToObjectSpace(pos)
  27714. local siz = part.Size
  27715. local shaep = part.Shape
  27716. if shaep == Enum.PartType.Ball or shaep == Enum.PartType.Cylinder then
  27717. surface = {"Anything", CN(pospos.p, pos)*CN(0, 0, -(pospos.p - pos).magnitude)*CA(MR(-90), 0, 0)}
  27718. else
  27719. if pos2.Y > ((siz.Y/2)-0.04) then
  27720. surface = {"Top", CA(0, 0, 0)}
  27721. elseif pos2.Y < -((siz.Y/2)-0.04) then
  27722. surface = {"Bottom", CA(-MP, 0, 0)}
  27723. elseif pos2.X > ((siz.X/2)-0.04) then
  27724. surface = {"Right", CA(0, 0, MR(-90))}
  27725. elseif pos2.X < -((siz.X/2)-0.04) then
  27726. surface = {"Left", CA(0, 0, MR(90))}
  27727. elseif pos2.Z > ((siz.Z/2)-0.04) then
  27728. surface = {"Back", CA(MR(90), 0, 0)}
  27729. elseif pos2.Z < -((siz.Z/2)-0.04) then
  27730. surface = {"Front", CA(MR(-90), 0, 0)}
  27731. end
  27732. end
  27733. return surface
  27734. end
  27735. function Compute(pos1, pos2)
  27736. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  27737. return CN(pos1, pos3)
  27738. end
  27739. function Notime(func, tiem)
  27740. if tiem then wait(tiem) end
  27741. coroutine.resume(coroutine.create(function() func() end))
  27742. end
  27743. function waitChild(p, n)
  27744. local child = p:findFirstChild(n)
  27745. if child then return child end
  27746. while true do
  27747. child = p.ChildAdded:wait()
  27748. if child.Name == n then return child end
  27749. end
  27750. end
  27751. function getHumanoid(c)
  27752. for _,v in pairs(c:children()) do
  27753. if v:IsA("Humanoid") and c ~= char then if v.Health > 0 then return v end end
  27754. end
  27755. end
  27756. function SE(part, pos)
  27757. EffectOn = true
  27758. local lastP = (part.CFrame * pos).p
  27759. Notime(function()
  27760. while EffectOn do
  27761. wait()
  27762. local posnow = (part.CFrame * pos).p
  27763. local eff = Part(workspace, true, false, 0, 0, "Really black", 0.2, 1, 0.2)
  27764. local magn = (lastP - posnow).magnitude
  27765. local cf = CN(lastP, posnow) * CA(MR(-90), 0, 0)
  27766. local mes2 = Instance.new("SpecialMesh",eff)
  27767. mes2.Scale = Vector3.new(0.6, magn, 0.6)
  27768. eff.CFrame = cf * CN(0, magn/2, 0)
  27769. Notime(function()
  27770. for i = 0, 1, 0.1 do
  27771. wait()
  27772. eff.Transparency = i
  27773. eff.Reflectance = 0.15*i
  27774. mes2.Scale = Vector3.new(0.6-0.6*i, magn, 0.6-0.6*i)
  27775. end
  27776. eff:remove()
  27777. end)
  27778. lastP = posnow
  27779. end
  27780. end)
  27781. end
  27782. function EE()
  27783. EffectOn = false
  27784. end
  27785. torso = waitChild(char, "Torso")
  27786. Rarm = waitChild(char, "Right Arm")
  27787. Larm = waitChild(char, "Left Arm")
  27788. Rleg = waitChild(char, "Right Leg")
  27789. Lleg = waitChild(char, "Left Leg")
  27790. Hum = waitChild(char, "Humanoid")
  27791. neck = waitChild(torso, "Neck")
  27792. function EditGui(obj, parent, size, position, bgcolor, bordercolor, transparency, text, textcolor, auto)
  27793. obj.Size = size
  27794. obj.Position = position
  27795. obj.BackgroundColor3 = bgcolor
  27796. obj.BorderColor3 = bordercolor
  27797. obj.BackgroundTransparency = transparency
  27798. if obj:IsA("TextLabel") or obj:IsA("TextButton") then
  27799. obj.Text = text
  27800. obj.TextColor3 = textcolor
  27801. end
  27802. if obj:IsA("ImageButton") or obj:IsA("TextButton") then
  27803. obj.AutoButtonColor = auto
  27804. obj.MouseButton1Down:connect(function()
  27805. RemoveOptions()
  27806. end)
  27807. end
  27808. obj.Parent = parent
  27809. end
  27810. Gui = waitChild(me, "PlayerGui")
  27811. for _,v in pairs(Gui:children()) do
  27812. if v.Name == "Power" then v:remove() end
  27813. end
  27814. Sc = Instance.new("ScreenGui", Gui)
  27815. Sc.Name = "Power"
  27816. Main = Instance.new("TextLabel")
  27817. Main.Visible = false
  27818. 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))
  27819. Main.TextYAlignment = "Top"
  27820. Main.FontSize = "Size36"
  27821. Main.Font = "ArialBold"
  27822. Main.TextTransparency = 0.5
  27823. BarBack = Instance.new("Frame")
  27824. EditGui(BarBack, Main, UD(1, -10, 0, 25), UD(0, 5, 1, -30), C3(0, 0, 0), C3(), 0.5)
  27825. Bar = Instance.new("ImageLabel")
  27826. EditGui(Bar, BarBack, UD(0, 0, 1, 0), UD(0, 0, 0, 0), C3(1, 0.7, 0), C3(), 0.5)
  27827. Bar.Image = "http://www.roblox.com/asset/?id=48965808"
  27828. Spec = Instance.new("Frame")
  27829. EditGui(Spec, Sc, UD(0, 250, 0, 22), UD(0.04, 0, 0, 5), C3(1, 0.75, 0.1), C3(), 0)
  27830. SpecialBack = Instance.new("Frame")
  27831. EditGui(SpecialBack, Spec, UD(1, -10, 1, -6), UD(0, 5, 0, 3), C3(0.35, 0.1, 0.15), C3(), 0)
  27832. SpecialBar = Instance.new("ImageLabel")
  27833. EditGui(SpecialBar, SpecialBack, UD(Special/MaxSpecial, 0, 1, 0), UD(0, 0, 0, 0), C3(0.1, 0.65, 0.2), C3(), 0)
  27834. SpecialBar.Image = "http://www.roblox.com/asset/?id=48965808"
  27835. for i = 1, 3, 1 do
  27836. local p = Instance.new("Frame")
  27837. EditGui(p, SpecialBack, UD(0, 1, 1, 0), UD(i/4, 0, 0, 0), C3(0.1, 0.2, 1), C3(), 0)
  27838. p.BorderSizePixel = 0
  27839. end
  27840. SpecialText = Instance.new("TextLabel")
  27841. 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))
  27842. SpecialText.Font = "ArialBold"
  27843. SpecialText.FontSize = "Size14"
  27844. function Play(Sound)
  27845. local s = Instance.new("Sound")
  27846. s.SoundId = Sound[1]
  27847. s.Pitch = Sound[2]
  27848. s.Volume = Sound[3]
  27849. s.Parent = torso
  27850. s.PlayOnRemove = true
  27851. game.Debris:AddItem(s, 0.0001)
  27852. end
  27853. RSH = waitChild(torso, "Right Shoulder")
  27854. LSH = waitChild(torso, "Left Shoulder")
  27855. RH = waitChild(torso, "Right Hip")
  27856. LH = waitChild(torso, "Left Hip")
  27857. for i,v in pairs(char:children()) do if v.Name == ModelName then v:remove() end end
  27858. function Part(P, Anch, Coll, Tran, Ref, Col, X, Y, Z)
  27859. local p = Instance.new("Part")
  27860. p.TopSurface = 0
  27861. p.BottomSurface = 0
  27862. p.Transparency = Tran
  27863. p.Reflectance = Ref
  27864. p.CanCollide = Coll
  27865. p.Anchored = Anch
  27866. p.BrickColor = BrickColor.new(Col)
  27867. p.formFactor = "Custom"
  27868. p.Size = Vector3.new(X,Y,Z)
  27869. p.Parent = P
  27870. p.Locked = true
  27871. p:BreakJoints()
  27872. return p
  27873. end
  27874. function Weld(P0, P1, X, Y, Z, A, B, C)
  27875. local w = Instance.new("Weld")
  27876. w.Part0 = P0
  27877. w.Part1 = P1
  27878. w.C1 = CN(X, Y, Z) * CA(A, B, C)
  27879. w.Parent = P0
  27880. return w
  27881. end
  27882. Mo = Instance.new("Model")
  27883. Mo.Name = ModelName
  27884. FTorso = Part(Mo, false, false, 1, 0, torso.BrickColor.Name, torso.Size.X, torso.Size.Y, torso.Size.Z)
  27885. FWeld = Weld(torso, FTorso, 0, 0, 0, 0, 0, 0)
  27886. RABrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27887. LABrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27888. RLBrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27889. LLBrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27890. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  27891. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  27892. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  27893. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  27894. function Atch(p)
  27895. RABW.Part0 = p
  27896. LABW.Part0 = p
  27897. RLBW.Part0 = p
  27898. LLBW.Part0 = p
  27899. RSH.Part0 = p
  27900. LSH.Part0 = p
  27901. RH.Part0 = p
  27902. LH.Part0 = p
  27903. end
  27904. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  27905. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  27906. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  27907. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  27908. HB = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27909. HBW = Weld(Larm, HB, 0, 1, 0, 0, 0, 0)
  27910. HW = Weld(HB, nil, 0, 0, 0, MR(90), 0, 0)
  27911. AB = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
  27912. ABW = Weld(Rarm, AB, 0, 1, 0, 0, 0, 0)
  27913. AW = Weld(AB, nil, 0, 0, 0, 0, 0, 0)
  27914. TW = Weld(torso, nil, -0.7, 0, 0.5, 0, MP, 0)
  27915. Handle = Part(Mo, false, false, 0, 0, HandCol, 0.6, 1.2, 0.6)
  27916. Instance.new("SpecialMesh",Handle)
  27917. TW.Part1 = Handle
  27918. for i = -0.6, 0.61, 1.2 do
  27919. local p = Part(Mo, false, false, 0, 0, MiddleCol, 0.7, 0.2, 1.1)
  27920. Weld(Handle, p, 0, i, 0.15, 0, 0, 0)
  27921. Instance.new("BlockMesh", p)
  27922. end
  27923. local UpPoint, DownPoint
  27924. for i = -10, 95, 15 do
  27925. local p = Part(Mo, false, false, 0, 0, LapaCol, 0.69, 0.4, 0.2)
  27926. local w = Weld(Handle, p, 0, 0, 1.4, 0, 0, 0)
  27927. w.C0 = CN(0, 1.1, 0.75) * CA(MR(i), 0, 0)
  27928. Instance.new("BlockMesh", p)
  27929. UpPoint = p
  27930. end
  27931. for i = 10, -95, -15 do
  27932. local p = Part(Mo, false, false, 0, 0, LapaCol, 0.69, 0.4, 0.2)
  27933. local w = Weld(Handle, p, 0, 0, 1.4, 0, 0, 0)
  27934. w.C0 = CN(0, -1.1, 0.75) * CA(MR(i), 0, 0)
  27935. Instance.new("BlockMesh", p)
  27936. DownPoint = p
  27937. end
  27938. StringUp = Part(Mo, false, false, 0, 0, "Really black", 0.2, 1, 0.2)
  27939. StringDown = Part(Mo, false, false, 0, 0, "Really black", 0.2, 1, 0.2)
  27940. SUM = Instance.new("SpecialMesh", StringUp)
  27941. SDM = Instance.new("SpecialMesh", StringDown)
  27942. SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
  27943. SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
  27944. ORSU = CN(0, -1.3, 0) * CA(MR(-85), 0, 0)
  27945. ORSD = CN(0, 1.3, 0) * CA(MR(85), 0, 0)
  27946. SUW = Weld(UpPoint, StringUp, 0, -1.3, 0, MR(-85), 0, 0)
  27947. SDW = Weld(DownPoint, StringDown, 0, 1.3, 0, MR(85), 0, 0)
  27948. SUW.C0 = CN(0, 0.15, 0)
  27949. SDW.C0 = CN(0, -0.15, 0)
  27950. SUW.C1 = ORSU
  27951. SDW.C1 = ORSD
  27952. Arrow = Part(Mo, false, false, 1, 0, "Really black", 0.4, 0.4, 4.4)
  27953. local mesh = Instance.new("SpecialMesh",Arrow)
  27954. mesh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  27955. mesh.TextureId = "http://www.roblox.com/asset/?id=15886781"
  27956. mesh.Scale = Vector3.new(1, 1, 2.1)
  27957. AW.Part1 = Arrow
  27958. Ring = Part(Mo, false, false, 0, 0, ViiniCol, 0.2, 0.2, 0.2)
  27959. RingM = Instance.new("SpecialMesh", Ring)
  27960. RingM.MeshId = "http://www.roblox.com/asset/?id=3270017"
  27961. RingM.Scale = Vector3.new(0.6, 1, 21)
  27962. local www = Weld(FTorso, Ring, -0.9, -0.2, -0.8, MR(90), MR(90), MR(30))
  27963. www.C0 = CA(MR(-10), 0, 0)
  27964. Sp = Part(Mo, false, false, 0, 0, "Really black", 1, 0.2, 1)
  27965. local S = Instance.new("SpecialMesh",Sp)
  27966. S.MeshType = "Sphere"
  27967. S.Scale = Vector3.new(0.65, 1, 1.05)
  27968. Weld(Ring, Sp, 0, 1.7, 0, MR(-90), 0, 0)
  27969. function makeArrow(pos, ang)
  27970. local arrow = Part(Mo, false, false, 0, 0, "Really black", 0.2, 1, 0.2)
  27971. local mesh = Instance.new("SpecialMesh",arrow)
  27972. mesh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  27973. mesh.TextureId = "http://www.roblox.com/asset/?id=15886781"
  27974. mesh.Scale = Vector3.new(1, 1, 2.1)
  27975. Weld(Ring, arrow, pos.x, pos.y, pos.z, MP, 0, ang)
  27976. end
  27977. makeArrow(Vector3.new(0.15, 0.1, 0.55), 0.8)
  27978. makeArrow(Vector3.new(-0.2, -0.1, 0.65), -0.4)
  27979. makeArrow(Vector3.new(-0.1, 0.1, 0.6), 1.8)
  27980. makeArrow(Vector3.new(-0.1, -0.15, 0.7), 1.2)
  27981. makeArrow(Vector3.new(0, 0.3, 0.6), 0.28)
  27982. makeArrow(Vector3.new(0, 0, 0.65), 0.34)
  27983. makeArrow(Vector3.new(0.3, 0.1, 0.55), 1.9)
  27984. makeArrow(Vector3.new(-0.35, 0.1, 0.67), 1.9)
  27985. Mo.Parent = char
  27986. function Normal()
  27987. FTorso.Transparency = 1
  27988. FWeld.C0 = CN()
  27989. torso.Transparency = 0
  27990. LAW.C0 = CA(0, 0, MR(30))
  27991. RAW.Part1 = nil
  27992. RAW.C0 = CN()
  27993. RAW.C1 = CN(0, 0.5, 0)
  27994. LAW.C1 = CN(0, 0.5, 0)
  27995. LAW.Part1 = Larm
  27996. RABW.Part0 = torso
  27997. LABW.Part0 = torso
  27998. RLBW.Part0 = torso
  27999. LLBW.Part0 = torso
  28000. RSH.Part0 = torso
  28001. LSH.Part0 = torso
  28002. RH.Part0 = torso
  28003. LH.Part0 = torso
  28004. AW.C0 = CN()
  28005. HW.C0 = CA(MR(180), 0, MR(150))
  28006. SUW.C0 = CN(0, 0.15, 0)
  28007. SDW.C0 = CN(0, -0.15, 0)
  28008. SUW.C1 = ORSU
  28009. SDW.C1 = ORSD
  28010. SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
  28011. SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
  28012. end
  28013.  
  28014. bin = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  28015. function ShowDmg(pos, dmg)
  28016. local col = "Bright red"
  28017. if dmg < 1 then
  28018. col = "Bright blue"
  28019. end
  28020. local m = Instance.new("Model")
  28021. m.Name = "Damage Dealt: "..dmg*1758384
  28022. local p = Part(m, false, false, 0, 0, col, 0.8, 0.3, 0.8)
  28023. p.Name = "Head"
  28024. p.CFrame = CFrame.new(pos)
  28025. local bp = Instance.new("BodyPosition", p)
  28026. bp.position = pos + Vector3.new(0, 2.5, 0)
  28027. bp.P = 6500
  28028. bp.maxForce = Vector3.new(MH, MH, MH)
  28029. local h = Instance.new("Humanoid",m)
  28030. h.MaxHealth = 0
  28031. h.Health = 0
  28032. h.Name = "fffsaf"
  28033. m.Parent = workspace
  28034. game.Debris:AddItem(m, 1.5)
  28035. end
  28036. function Dmg(hum, dmg, pos)
  28037. if hum.Health > 0 then
  28038. hum.Health = hum.Health - dmg*1758384
  28039. ShowDmg(pos, dmg)
  28040. end
  28041. end
  28042. function ArrowT(hit)
  28043. local h = getHumanoid(hit.Parent)
  28044. if h and Deb and Hurt then
  28045. Deb = false
  28046. Dmg(h, MRA(3,15), Arrow.CFrame * CN(0, 0, 2.2).p)
  28047. end
  28048. end
  28049. Arrow.Touched:connect(ArrowT)
  28050. function SelectAnim()
  28051. LAW.Part1 = Larm
  28052. SelAnim = true
  28053. for i = 0.2, 1, 0.2 do
  28054. LAW.C0 = CA(MR(-25*i), 0, MR(25*i)) * CN(0, 0.2*i, 0)
  28055. wait()
  28056. end
  28057. HW.C0 = CN(0.4, 0.3, 0) * CA(MR(110), MR(-100), MR(180))
  28058. HW.Part1 = Handle
  28059. TW.Part1 = nil
  28060. for i = 0.08, 1, 0.08 do
  28061. LAW.C0 = CA(MR(-25+25*i), 0, MR(25-55*i)) * CN(0, 0.2-0.2*i, 0)
  28062. 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))
  28063. wait()
  28064. end
  28065. SelAnim = false
  28066. HW.C0 = CA(MR(180), 0, MR(150))
  28067. end
  28068. function DeselectAnim()
  28069. for i = 0.12, 1, 0.12 do
  28070. LAW.C0 = CA(MR(-25*i), 0, MR(-30+55*i)) * CN(0, 0.2*i, 0)
  28071. HW.C0 = CN(0.4*i, 0.3*i, 0) * CA(MR(180-70*i), MR(-20*i), MR(150+30*i))
  28072. if SelAnim or Selected then return end
  28073. wait()
  28074. end
  28075. HW.Part1 = nil
  28076. TW.Part1 = Handle
  28077. for i = 0.12, 1, 0.12 do
  28078. LAW.C0 = CA(MR(-25+25*i), 0, MR(-30+55-25*i)) * CN(0, 0.2-0.2*i, 0)
  28079. if SelAnim or Selected then return end
  28080. wait()
  28081. end
  28082. if Selected == false and SelAnim == false then
  28083. LAW.Part1 = nil
  28084. end
  28085. end
  28086. function Slash()
  28087. RAW.Part1 = Rarm
  28088. Slashing = true
  28089. Play(Sounds.Slash)
  28090. for i = 0.15, 1, 0.15 do
  28091. RAW.C0 = CA(MR(180*i), MR(-20*i), MR(35*i))
  28092. AW.C0 = CA(MR(35*i), 0, 0) * CN(0, 0, 0.7*i)
  28093. wait()
  28094. end
  28095. for i = 0.33, 1, 0.33 do
  28096. RAW.C0 = CA(MR(180+10*i), MR(-20), MR(35+2*i))
  28097. AW.C0 = CA(MR(35+5*i), 0, 0) * CN(0, 0, 0.7+0.2*i)
  28098. wait()
  28099. end
  28100. local blockk = false
  28101. local hit, pos = RayC(torso.Position, torso.CFrame * CN(0, 0, -5).p, 3.2, char)
  28102. if hit ~= nil then
  28103. if getHumanoid(hit.Parent) == nil and hit.CanCollide == true then
  28104. blockk = true
  28105. end
  28106. end
  28107. SE(Arrow, CN(0, 0, 2.2))
  28108. if blockk == false then
  28109. Hurt = true
  28110. Deb = true
  28111. for i = 0.2, 1, 0.2 do
  28112. RAW.C0 = CA(MR(190-140*i), MR(-20-5*i), MR(37-87*i)) * CN(0, -1*i, 0)
  28113. AW.C0 = CA(MR(40-25*i), MR(-20*i), 0) * CN(0, 0, 0.9+0.3*i)
  28114. wait()
  28115. end
  28116. EE()
  28117. Hurt = false
  28118. for i = 0.33, 1, 0.33 do
  28119. RAW.C0 = CA(MR(50-10*i), MR(-25), MR(-50-5*i)) * CN(0, -1, 0)
  28120. AW.C0 = CA(MR(15-20*i), MR(-20-1*i), 0) * CN(0, 0, 1.2*i)
  28121. wait()
  28122. end
  28123. for i = 0.25, 1, 0.25 do
  28124. RAW.C0 = CA(MR(40-10*i), MR(-25+25*i), MR(-55+35*i)) * CN(0, -1+1*i, 0)
  28125. AW.C0 = CA(MR(-5+55*i), MR(-21+21*i), 0) * CN(0, 0, 1.2-1.2*i)
  28126. wait()
  28127. end
  28128. for i = 0.25, 1, 0.25 do
  28129. RAW.C0 = CA(MR(30-30*i), 0, MR(-20+20*i))
  28130. AW.C0 = CA(MR(50-50*i), 0, 0)
  28131. wait()
  28132. end
  28133. else
  28134. for i = 0.5, 1, 0.5 do
  28135. RAW.C0 = CA(MR(190-50*i), MR(-20-5*i), MR(37-27*i)) * CN(0, -0.2*i, 0)
  28136. AW.C0 = CA(MR(40-5*i), MR(-5*i), 0) * CN(0, 0, 0.9+0.1*i)
  28137. wait()
  28138. end
  28139. Play(Sounds.Block)
  28140. for i = 0.25, 1, 0.25 do
  28141. RAW.C0 = CA(MR(140+60*i), MR(-25+25*i), MR(10+20*i)) * CN(0, -0.2-0.3*i, 0)
  28142. AW.C0 = CA(MR(35+45*i), MR(-5+5*i), 0) * CN(0, 0, 1)
  28143. wait()
  28144. end
  28145. EE()
  28146. for i = 0.33, 1, 0.33 do
  28147. RAW.C0 = CA(MR(200+10*i), MR(5*i), MR(30+5*i)) * CN(0, -0.5, 0)
  28148. AW.C0 = CA(MR(80+5*i), 0, 0) * CN(0, 0, 1)
  28149. wait()
  28150. end
  28151. for i = 0.18, 1, 0.18 do
  28152. RAW.C0 = CA(MR(210-200*i), MR(5-5*i), MR(35-30*i)) * CN(0, -0.5+0.4*i, 0)
  28153. AW.C0 = CA(MR(85-75*i), 0, 0) * CN(0, 0, 1-0.8*i)
  28154. wait()
  28155. end
  28156. for i = 0.33, 1, 0.33 do
  28157. RAW.C0 = CA(MR(10-10*i), 0, MR(5-5*i)) * CN(0, -0.1+0.1*i, 0)
  28158. AW.C0 = CA(MR(10-10*i), 0, 0) * CN(0, 0, 0.2-0.2*i)
  28159. wait()
  28160. end
  28161. AW.C0 = CN()
  28162. end
  28163. Slashing = false
  28164. RAW.Part1 = nil
  28165. end
  28166. function Reload()
  28167. if ArrowOn == false then
  28168. RAW.Part1 = Rarm
  28169. Reloading = true
  28170. for i = 0.16, 1, 0.16 do
  28171. RAW.C0 = CA(MR(200*i), MR(-5*i), 0) * CN(0, -0.35*i, 0)
  28172. wait()
  28173. end
  28174. AW.C0 = CA(0, MR(-90), 0)
  28175. AW.C1 = CN(0, 0, -1.5) * CA(MR(60), 0, 0)
  28176. Arrow.Transparency = 0
  28177. ArrowOn = true
  28178. for i = 0.2, 1, 0.2 do
  28179. RAW.C0 = CA(MR(200), MR(-5), MR(40*i)) * CN(0, -0.35, 0)
  28180. AW.C1 = CN(0, 0, -1.5+2*i) * CA(MR(60-20*i), 0, 0)
  28181. wait()
  28182. end
  28183. for i = 0.33, 1, 0.33 do
  28184. RAW.C0 = CA(MR(200), MR(-5), MR(40+10*i)) * CN(0, -0.35+0.05*i, 0)
  28185. AW.C1 = CN(0, 0, 0.5+0.1*i) * CA(MR(40-5*i), 0, 0)
  28186. wait()
  28187. end
  28188. for i = 0.18, 1, 0.18 do
  28189. RAW.C0 = CA(MR(200-190*i), MR(-5+5*i), MR(50-45*i)) * CN(0, -0.3+0.25*i, 0)
  28190. AW.C1 = CN(0, 0, 0.6-0.5*i) * CA(MR(35-30*i), 0, 0)
  28191. AW.C0 = CA(0, MR(-90+80*i), 0)
  28192. wait()
  28193. end
  28194. for i = 0.33, 1, 0.33 do
  28195. RAW.C0 = CA(MR(10-10*i), 0, MR(5-5*i)) * CN(0, -0.05+0.05*i, 0)
  28196. AW.C1 = CN(0, 0, 0.1-0.1*i) * CA(MR(5-5*i), 0, 0)
  28197. AW.C0 = CA(0, MR(-10+10*i), 0)
  28198. wait()
  28199. end
  28200. AW.C1 = CN()
  28201. AW.C0 = CN()
  28202. RAW.C0 = CN()
  28203. RAW.Part1 = nil
  28204. Reloading = false
  28205. else
  28206. Slash()
  28207. end
  28208. end
  28209. function AddDetail(Surface, pos, bool, part, hu)
  28210. local caf = CN(pos) * CA(part.CFrame:toEulerAnglesXYZ()) * Surface[2]
  28211. if Surface[1] == "Anything" then
  28212. caf = Surface[2]
  28213. end
  28214. Notime(function()
  28215. if bool then
  28216. Notime(function()
  28217. for i = 1, MRA(2,7) do
  28218. local x = MRA(0.4*100, 0.9*100)/100
  28219. local z = MRA(0.7*100, 1.2*100)/100
  28220. local pp = Part(hu.Parent, false, false, 0, 0, "Bright red", 0.2, 0.2, 0.2)
  28221. local ms = Instance.new("SpecialMesh",pp)
  28222. ms.MeshType = "Sphere"
  28223. ms.Scale = Vector3.new(x*5, 1, z*5)
  28224. pp.CFrame = caf
  28225. local w = Weld(part, pp, 0, 0, 0, 0, 0, 0)
  28226. 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)
  28227. w.C0 = c0
  28228. Notime(function()
  28229. local moar = MRA(-1.1*1000, 1.1*1000)/1000
  28230. for i = 0, 1, MRA(0.02*1000, 0.06*1000)/1000 do
  28231. wait()
  28232. w.C0 = c0 * CN(0, 0, -moar*i)
  28233. ms.Scale = Vector3.new((x*5)-(moar/3)*i, 1, (z*5)+(moar/3)*i)
  28234. pp.Transparency = -0.5+1.5*i
  28235. end
  28236. pp:remove()
  28237. end)
  28238. end
  28239. end)
  28240. for i = 1, MRA(4,8) do
  28241. Notime(function()
  28242. local pp2 = Part(hu.Parent, true, false, 0, 0, "Bright red", 0.2, 0.2, 0.2)
  28243. pp2.CFrame = caf
  28244. local ms2 = Instance.new("SpecialMesh",pp2)
  28245. ms2.MeshType = "Sphere"
  28246. ms2.Scale = Vector3.new(1.5, 1.5, 1.5)
  28247. local face = CA(MR(MRA(-40, 40)+105), MR(MRA(-40, 40)), MR(MRA(-40, 40)))
  28248. local center = caf * face * CN(0, -5, 0)
  28249. Notime(function()
  28250. for i = 0, 1, 0.1 do
  28251. pp2.Transparency = -0.7+1.7*i
  28252. pp2.CFrame = center * CN(0, 0, -2.5*i) * CA(MR(-55*i), 0, 0) * CN(0, 5, 0)
  28253. wait()
  28254. end
  28255. pp2:remove()
  28256. end)
  28257. end)
  28258. end
  28259. else
  28260. Notime(function()
  28261. for i = 1, MRA(5,8) do
  28262. Notime(function()
  28263. local t = {"Bright yellow", "New Yeller", "Really black", "Institutional Really black", "Brick yellow"}
  28264. local pp = Part(workspace, true, false, 0, 0, t[MRA(1, #t)], 0.2, 0.2, 0.2)
  28265. local mes = Instance.new("SpecialMesh",pp)
  28266. mes.MeshType = "Sphere"
  28267. mes.Scale = Vector3.new(0.5, 0.5, 1)
  28268. local caa = CN(caf.p) * CA(MR(MRA(-180,180)), MR(MRA(-180,180)), MR(MRA(-180,180)))
  28269. pp.CFrame = caa
  28270. for i = 0.25, 1, 0.25 do
  28271. wait()
  28272. mes.Scale = Vector3.new(0.5+0.1*i, 0.5+0.1*i, 1+2*i)
  28273. pp.CFrame = caa * CN(0, 0, -0.4*i)
  28274. end
  28275. for i = 0.25, 1, 0.25 do
  28276. wait()
  28277. mes.Scale = Vector3.new(0.6, 0.6, 3+1.6*i)
  28278. pp.CFrame = caa * CN(0, 0, -0.6-0.32*i)
  28279. pp.Transparency = -0.2+1.2*i
  28280. end
  28281. pp:remove()
  28282. end)
  28283. end
  28284. end)
  28285. end
  28286. end)
  28287. end
  28288. function ShootArrow(pos, power, targ)
  28289. local Start = Handle.Position
  28290. local mag = (Start - pos).magnitude/200
  28291. if mag > 12.5 then mag = 12.5 end
  28292. if targ == nil then mag = 1 end
  28293. 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))
  28294. local Arr = Part(Mo, true, false, 0, 0, "Really black", 0.2, 0.2, 0.2)
  28295. local mes = Instance.new("SpecialMesh",Arr)
  28296. mes.MeshId = "http://www.roblox.com/asset/?id=15887356"
  28297. mes.TextureId = "http://www.roblox.com/asset/?id=15886781"
  28298. mes.Scale = Vector3.new(1, 1, 2.1)
  28299. Arr.CFrame = Face
  28300. local Go = 2.8+(power/30)
  28301. local Dist = 200+(power*2.8)
  28302. local Drop = 0.55/(Go*1.25)
  28303. local lastP = Start
  28304. local didhit = false
  28305. local omg = 0
  28306. local hit2, pos2 = RayC(torso.CFrame * CN(0, 0, -0.4).p, torso.CFrame * CN(0, 0, -2).p, 2.5, char)
  28307. local hu2 = nil
  28308. if hit2 then
  28309. local hh = getHumanoid(hit2.Parent)
  28310. if hh then
  28311. hit2 = nil
  28312. end
  28313. end
  28314. for i = Go, Dist, Go do
  28315. Drop = Drop + 1/(Go*3.5)
  28316. omg = omg + Drop
  28317. local dropping = CA(MR(-Drop), 0, 0)
  28318. if omg > 130 then
  28319. dropping = CN()
  28320. end
  28321. Face = Face * dropping * CN(0, 0, -Go)
  28322. Arr.CFrame = Face * CA(MR(-180), 0, 0)
  28323. local hit, p = RayC(lastP, Face.p, Go+0.5, char)
  28324. local eff = Part(Mo, true, false, 0, 0, "Really black", 0.2, 1, 0.2)
  28325. local magn = (lastP - Face.p).magnitude
  28326. local cf = CN(lastP, Face.p) * CA(MR(-90), 0, 0)
  28327. if hit then
  28328. magn = (lastP - p).magnitude
  28329. cf = CN(lastP, p) * CA(MR(-90), 0, 0)
  28330. end
  28331. local mes2 = Instance.new("SpecialMesh",eff)
  28332. mes2.Scale = Vector3.new(0.6, magn, 0.6)
  28333. eff.CFrame = cf * CN(0, magn/2, 0)
  28334. Notime(function()
  28335. for i = 0, 1, 0.12 do
  28336. wait()
  28337. eff.Transparency = i
  28338. eff.Reflectance = 0.15*i
  28339. mes2.Scale = Vector3.new(0.6-0.6*i, magn, 0.6-0.6*i)
  28340. end
  28341. eff:remove()
  28342. end)
  28343. local realhit = hit
  28344. if hit2 then realhit = hit2 p = pos2 end
  28345. if hit or hit2 then
  28346. local h = getHumanoid(realhit.Parent)
  28347. local sound = Sounds.Stick
  28348. if h and hit.Parent.className ~= "Hat" then
  28349. local d = MRA(12+DMG+(power/8), 20+DMG+(power/5.5))
  28350. hit:remove()
  28351. if hit.Name == "Head" then
  28352. d = math.floor(d*1.4)
  28353. hit:remove()
  28354. end
  28355. Dmg(h, d, p)
  28356. sound = Sounds.Hit
  28357. elseif h == nil and realhit.Parent.className ~= "Hat" then
  28358. if realhit.Anchored == false then
  28359. Notime(function()
  28360. wait(0.08)
  28361. local mas = realhit:GetMass()/5+2
  28362. local vel = (16+(power/3))/mas
  28363. if vel < 0 then vel = 0 end
  28364. realhit.Velocity = (CN(lastP, p).lookVector) * vel
  28365. end)
  28366. end
  28367. end
  28368. local a = -1.2
  28369. if realhit.Anchored then
  28370. Arr.CFrame = CN(p, lastP) * CN(0, 0, a)
  28371. if realhit == hit2 then
  28372. Arr.CFrame = CN(Start, pos2) * CN(0, 0, -1.9)
  28373. end
  28374. else
  28375. a = (power-200)/110
  28376. local w8 = 13
  28377. if realhit.Parent.className == "Hat" then
  28378. a = ((power/2)-170)/110
  28379. w8 = 5
  28380. end
  28381. Arr.Anchored = false
  28382. local w = Weld(realhit, Arr, 0, 0, 0, 0, 0, 0)
  28383. w.C1 = ((CN(p, lastP) * CN(0, 0, a)):toObjectSpace(realhit.CFrame))
  28384. if realhit == hit2 then
  28385. w.C1 = ((CN(Start, pos2) * CN(0, 0, -1.9)):toObjectSpace(realhit.CFrame))
  28386. end
  28387. Notime(function()
  28388. if power < 50 then
  28389. wait(w8+power/7.5)
  28390. local caa = Arr.CFrame
  28391. w:remove()
  28392. Arr.Size = Vector3.new(0.3, 0.3, 4)
  28393. Arr.CFrame = caa
  28394. Arr.CanCollide = true
  28395. end
  28396. end)
  28397. end
  28398. didhit = true
  28399. Notime(
  28400. function()
  28401. wait(26)
  28402. for i = 0, 1, 0.02 do
  28403. Arr.Transparency = i
  28404. wait()
  28405. end
  28406. Arr:remove()
  28407. end
  28408. )
  28409. Play(sound)
  28410. local Surface = DetectSurface(p, realhit)
  28411. AddDetail(Surface, p, h ~= nil and hit.Parent.className ~= "Hat", realhit, h)
  28412. wait(0.05)
  28413. break
  28414. end
  28415. lastP = Face.p
  28416. wait()
  28417. end
  28418. if didhit == false then
  28419. for i = 0, 1, 0.2 do
  28420. Arr.Transparency = i
  28421. wait()
  28422. end
  28423. Arr:remove()
  28424. end
  28425. end
  28426. function Shoot(mouse)
  28427. Shooting = true
  28428. RAW.Part1 = Rarm
  28429. Atch(FTorso)
  28430. FTorso.Transparency = 0
  28431. torso.Transparency = 1
  28432. local shoot = false
  28433. Spec.BorderColor3 = C3()
  28434. local amg, omg = false, false
  28435. Notime(function()
  28436. repeat
  28437. wait()
  28438. until Selected == false or omg
  28439. if omg == false then
  28440. omg = true
  28441. Shooting = false
  28442. Reloading = false
  28443. Hurt = false
  28444. Slashing = false
  28445. Normal()
  28446. EE()
  28447. return
  28448. end
  28449. end)
  28450. Notime(function()
  28451. mouse.Button1Up:wait()
  28452. shoot = true
  28453. end)
  28454. for i = 0.16, 1, 0.16 do
  28455. FWeld.C0 = CA(0, MR(-80*i), 0)
  28456. LAW.C0 = CA(MR(85*i), 0, MR(-30-25*i)) * CN(0.3*i, 0.4*i, -0.1*i)
  28457. RAW.C0 = CA(MR(85*i), 0, MR(-70*i)) * CN(0.65*i, -1.2*i, 0)
  28458. HW.C0 = CA(MR(180), 0, MR(150+60*i))
  28459. AW.C0 = CA(MR(85*i), 0, 0) * CN(0, 0, 2.1*i)
  28460. wait()
  28461. end
  28462. for i = 0.33, 1, 0.33 do
  28463. FWeld.C0 = CA(0, MR(-80-10*i), 0)
  28464. LAW.C0 = CA(MR(85+5*i), 0, MR(-55-5*i)) * CN(0.3, 0.4, -0.1)
  28465. RAW.C0 = CA(MR(85+5*i), 0, MR(-70-5*i)) * CN(0.65+0.05*i, -1.2-0.1*i, 0)
  28466. HW.C0 = CA(MR(180), 0, MR(210+5*i))
  28467. AW.C0 = CA(MR(85+5*i), MR(-15*i), 0) * CN(0, 0, 2.1+0.1*i)
  28468. wait()
  28469. end
  28470. LAW.C0 = CA(MR(90), 0, MR(-60)) * CN(0.3, 0.4, -0.1)
  28471. HW.C0 = CA(MR(180), 0, MR(215))
  28472. FWeld.C0 = CA(0, MR(-90), 0)
  28473. for i = 0.25, 1, 0.25 do
  28474. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
  28475. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
  28476. SUW.C1 = CN(0, -0.22*i, 0) * ORSU
  28477. SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28478. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
  28479. SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28480. SDW.C1 = CN(0, 0.25*i, 0) * ORSD
  28481. wait()
  28482. end
  28483. for i = 0.33, 1, 0.33 do
  28484. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
  28485. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
  28486. SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
  28487. SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28488. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
  28489. SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28490. SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
  28491. wait()
  28492. end
  28493. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, 0, 0)
  28494. local powe = 10
  28495. Main.Visible = true
  28496. Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
  28497. Notime(function()
  28498. repeat wait() until powe >= MaximumPower or shoot
  28499. wait(6)
  28500. if shoot == false then
  28501. shoot = true
  28502. end
  28503. end)
  28504. repeat
  28505. wait()
  28506. powe = powe + 4.8
  28507. if powe > MaximumPower then powe = MaximumPower end
  28508. Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
  28509. local sped = 16-((powe/MaximumPower)*9) if Selected == false then sped = 16 end
  28510. Hum.WalkSpeed = sped
  28511. until shoot
  28512. Main.Visible = false
  28513. Notime(function()
  28514. for i = 0.5, 1, 0.5 do
  28515. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-30+30*i), 0, 0)
  28516. SUW.C1 = CN(0, -0.25+0.25*i, 0) * ORSU
  28517. SUM.Scale = Vector3.new(0.4, 2.8-0.4*i, 0.4)
  28518. SDW.C0 = CN(0, -0.15, 0) * CA(MR(30-30*i), 0, 0)
  28519. SDM.Scale = Vector3.new(0.4, 2.8-0.4*i, 0.4)
  28520. SDW.C1 = CN(0, 0.25-0.25*i, 0) * ORSD
  28521. wait()
  28522. end
  28523. end)
  28524. local pos = mouse.Hit.p
  28525. ArrowOn = false
  28526. Arrow.Transparency = 1
  28527. Notime(function()
  28528. Play(Sounds.Shoot)
  28529. ShootArrow(pos, powe, mouse.Target)
  28530. end)
  28531. for i = 0.2, 1, 0.2 do
  28532. FWeld.C0 = CA(0, MR(-90+25*i), 0)
  28533. 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)
  28534. RAW.C0 = CA(MR(90+60*i), 0, MR(-75+55*i)) * CN(0.7-0.5*i, -0.1*i, 0)
  28535. HW.C0 = CA(MR(180), 0, MR(215-65*i))
  28536. wait()
  28537. end
  28538. Hum.WalkSpeed = 16
  28539. for i = 0.25, 1, 0.25 do
  28540. FWeld.C0 = CA(0, MR(-65+5*i), 0)
  28541. LAW.C0 = CA(MR(115+5*i), 0, MR(-75-5*i))
  28542. RAW.C0 = CA(MR(150+10*i), 0, MR(-20+5*i)) * CN(0.2-0.1*i, -0.1-0.05*i, 0)
  28543. HW.C0 = CA(MR(180), 0, MR(150))
  28544. wait()
  28545. end
  28546. for i = 0.14, 1, 0.14 do
  28547. FWeld.C0 = CA(0, MR(-60+55*i), 0)
  28548. LAW.C0 = CA(MR(120-110*i), 0, MR(-80+45*i))
  28549. RAW.C0 = CA(MR(160-150*i), 0, MR(-15+10*i)) * CN(0.1-0.1*i, -0.15+0.15*i, 0)
  28550. wait()
  28551. end
  28552. for i = 0.33, 1, 0.33 do
  28553. FWeld.C0 = CA(0, MR(-5+5*i), 0)
  28554. LAW.C0 = CA(MR(10-10*i), 0, MR(-35+5*i))
  28555. RAW.C0 = CA(MR(10-10*i), 0, MR(-5+5*i))
  28556. wait()
  28557. end
  28558. AW.C0 = CN()
  28559. FWeld.C0 = CN()
  28560. LAW.C0 = CA(0, 0, MR(-30))
  28561. HW.C0 = CA(MR(180), 0, MR(150))
  28562. FTorso.Transparency = 1
  28563. torso.Transparency = 0
  28564. Atch(torso)
  28565. Shooting = false
  28566. RAW.Part1 = nil
  28567. RAW.C0 = CN()
  28568. Spec.BorderColor3 = C3()
  28569. omg = true
  28570. end
  28571. function SpecialAtk(mouse)
  28572. if Special < 50 then return end
  28573. Shooting = true
  28574. Spec.BorderColor3 = C3(0, 1, 0)
  28575. RAW.Part1 = Rarm
  28576. Atch(FTorso)
  28577. FTorso.Transparency = 0
  28578. torso.Transparency = 1
  28579. local amg, omg = false, false
  28580. Notime(function()
  28581. repeat
  28582. wait()
  28583. until Selected == false or omg
  28584. if omg == false then
  28585. omg = true
  28586. Shooting = false
  28587. Reloading = false
  28588. Hurt = false
  28589. Slashing = false
  28590. Normal()
  28591. EE()
  28592. return
  28593. end
  28594. end)
  28595. local shoot = false
  28596. Notime(function()
  28597. mouse.Button1Up:wait()
  28598. shoot = true
  28599. end)
  28600. for i = 0.2, 1, 0.2 do
  28601. FWeld.C0 = CA(0, MR(-80*i), 0)
  28602. LAW.C0 = CA(MR(85*i), 0, MR(-30-25*i)) * CN(0.3*i, 0.4*i, -0.1*i)
  28603. RAW.C0 = CA(MR(85*i), 0, MR(-70*i)) * CN(0.65*i, -1.2*i, 0)
  28604. HW.C0 = CA(MR(180), 0, MR(150+60*i))
  28605. AW.C0 = CA(MR(85*i), 0, 0) * CN(0, 0, 2.1*i)
  28606. wait()
  28607. end
  28608. for i = 0.5, 1, 0.5 do
  28609. FWeld.C0 = CA(0, MR(-80-10*i), 0)
  28610. LAW.C0 = CA(MR(85+5*i), 0, MR(-55-5*i)) * CN(0.3, 0.4, -0.1)
  28611. RAW.C0 = CA(MR(85+5*i), 0, MR(-70-5*i)) * CN(0.65+0.05*i, -1.2-0.1*i, 0)
  28612. HW.C0 = CA(MR(180), 0, MR(210+5*i))
  28613. AW.C0 = CA(MR(85+5*i), MR(-15*i), 0) * CN(0, 0, 2.1+0.1*i)
  28614. wait()
  28615. end
  28616. LAW.C0 = CA(MR(90), 0, MR(-60)) * CN(0.3, 0.4, 0)
  28617. HW.C0 = CA(MR(180), 0, MR(215))
  28618. FWeld.C0 = CA(0, MR(-90), 0)
  28619. AW.C0 = CA(MR(90), MR(-15), 0) * CN(0, 0, 2.2)
  28620. for i = 0.33, 1, 0.33 do
  28621. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
  28622. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
  28623. SUW.C1 = CN(0, -0.22*i, 0) * ORSU
  28624. SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28625. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
  28626. SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28627. SDW.C1 = CN(0, 0.25*i, 0) * ORSD
  28628. wait()
  28629. end
  28630. for i = 0.5, 1, 0.5 do
  28631. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
  28632. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
  28633. SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
  28634. SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28635. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
  28636. SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28637. SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
  28638. wait()
  28639. end
  28640. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, 0, 0)
  28641. local powe = 0
  28642. Main.Visible = true
  28643. Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
  28644. Notime(function()
  28645. repeat wait() until powe >= MaximumPower or shoot
  28646. if shoot == false then
  28647. shoot = true
  28648. end
  28649. end)
  28650. repeat
  28651. wait()
  28652. powe = powe + 5
  28653. if powe > MaximumPower then powe = MaximumPower end
  28654. Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
  28655. local sped = 16-((powe/MaximumPower)*9) if Selected == false then sped = 16 end
  28656. Hum.WalkSpeed = sped
  28657. until shoot
  28658. Special = Special - 50
  28659. Main.Visible = false
  28660. local pos = mouse.Hit.p
  28661. Notime(function()
  28662. Play(Sounds.Shoot)
  28663. ShootArrow(pos, powe/1.2, mouse.Target)
  28664. end)
  28665. SUW.C0 = CN(0, 0.15, 0) * CA(0, 0, 0)
  28666. SUW.C1 = CN(0, 0, 0) * ORSU
  28667. SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
  28668. SDW.C0 = CN(0, -0.15, 0) * CA(0, 0, 0)
  28669. SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
  28670. SDW.C1 = CN(0, 0, 0) * ORSD
  28671. for i = 0.33, 1, 0.33 do
  28672. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3*i, 0)
  28673. wait()
  28674. end
  28675. for i = 0.33, 1, 0.33 do
  28676. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
  28677. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
  28678. SUW.C1 = CN(0, -0.22*i, 0) * ORSU
  28679. SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28680. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
  28681. SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  28682. SDW.C1 = CN(0, 0.25*i, 0) * ORSD
  28683. wait()
  28684. end
  28685. for i = 0.5, 1, 0.5 do
  28686. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
  28687. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
  28688. SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
  28689. SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28690. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
  28691. SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  28692. SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
  28693. wait()
  28694. end
  28695. Notime(function()
  28696. Arrow.Transparency = 1
  28697. ArrowOn = false
  28698. Play(Sounds.Shoot)
  28699. ShootArrow(pos, powe/1.2, mouse.Target)
  28700. end)
  28701. Notime(function()
  28702. for i = 0.5, 1, 0.5 do
  28703. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-30+30*i), 0, 0)
  28704. SUW.C1 = CN(0, -0.25+0.25*i, 0) * ORSU
  28705. SUM.Scale = Vector3.new(0.4, 2.9-0.5*i, 0.4)
  28706. SDW.C0 = CN(0, -0.15, 0) * CA(MR(30-30*i), 0, 0)
  28707. SDM.Scale = Vector3.new(0.4, 2.9-0.5*i, 0.4)
  28708. SDW.C1 = CN(0, 0.25-0.25*i, 0) * ORSD
  28709. wait()
  28710. end
  28711. end)
  28712. for i = 0.25, 1, 0.25 do
  28713. FWeld.C0 = CA(0, MR(-90+25*i), 0)
  28714. 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)
  28715. RAW.C0 = CA(MR(90+60*i), 0, MR(-75+55*i)) * CN(0.7-0.5*i, -0.1*i, 0)
  28716. HW.C0 = CA(MR(180), 0, MR(215-65*i))
  28717. wait()
  28718. end
  28719. Hum.WalkSpeed = 16
  28720. for i = 0.33, 1, 0.33 do
  28721. FWeld.C0 = CA(0, MR(-65+5*i), 0)
  28722. LAW.C0 = CA(MR(115+5*i), 0, MR(-75-5*i))
  28723. RAW.C0 = CA(MR(150+10*i), 0, MR(-20+5*i)) * CN(0.2-0.1*i, -0.1-0.05*i, 0)
  28724. HW.C0 = CA(MR(180), 0, MR(150))
  28725. wait()
  28726. end
  28727. for i = 0.16, 1, 0.16 do
  28728. FWeld.C0 = CA(0, MR(-60+55*i), 0)
  28729. LAW.C0 = CA(MR(120-110*i), 0, MR(-80+45*i))
  28730. RAW.C0 = CA(MR(160-150*i), 0, MR(-15+10*i)) * CN(0.1-0.1*i, -0.15+0.15*i, 0)
  28731. wait()
  28732. end
  28733. for i = 0.5, 1, 0.5 do
  28734. FWeld.C0 = CA(0, MR(-5+5*i), 0)
  28735. LAW.C0 = CA(MR(10-10*i), 0, MR(-35+5*i))
  28736. RAW.C0 = CA(MR(10-10*i), 0, MR(-5+5*i))
  28737. wait()
  28738. end
  28739. Spec.BorderColor3 = C3()
  28740. AW.C0 = CN()
  28741. FWeld.C0 = CN()
  28742. LAW.C0 = CA(0, 0, MR(-30))
  28743. HW.C0 = CA(MR(180), 0, MR(150))
  28744. FTorso.Transparency = 1
  28745. torso.Transparency = 0
  28746. Atch(torso)
  28747. Shooting = false
  28748. RAW.Part1 = nil
  28749. RAW.C0 = CN()
  28750. omg = false
  28751. end
  28752. function Sel(mouse)
  28753. mouse.Icon = Icon
  28754. SelectAnim()
  28755. Selected = true
  28756. mouse.KeyDown:connect(function(key)
  28757. key = key:lower()
  28758. if Reloading == false and Slashing == false and Shooting == false then
  28759. if key == "f" then
  28760. Reload()
  28761. end
  28762. end
  28763. if Shooting == false then
  28764. if key == "e" then
  28765. Keys.e = true
  28766. local k
  28767. Spec.BorderColor3 = C3(1, 1, 0.4)
  28768. repeat
  28769. wait()
  28770. k = mouse.KeyUp:wait()
  28771. until k == "e"
  28772. Keys.e = false
  28773. if Shooting == false then
  28774. Spec.BorderColor3 = C3()
  28775. end
  28776. end
  28777. end
  28778. end)
  28779. mouse.Button1Down:connect(function()
  28780. if Reloading == false and Slashing == false and Shooting == false then
  28781. if ArrowOn == false then
  28782. local yesh = true
  28783. Notime(function()
  28784. mouse.Button1Up:wait()
  28785. yesh = false
  28786. end)
  28787. local ah = Keys.e
  28788. Reload()
  28789. if yesh then
  28790. local mm = Special >= 50
  28791. if ah and mm or Keys.e and mm then
  28792. SpecialAtk(mouse)
  28793. else
  28794. Shoot(mouse)
  28795. end
  28796. end
  28797. else
  28798. local mm = Special >= 50
  28799. if Keys.e and mm then
  28800. SpecialAtk(mouse)
  28801. else
  28802. Shoot(mouse)
  28803. end
  28804. end
  28805. end
  28806. end)
  28807. end
  28808. function Desel(mouse)
  28809. Selected = false
  28810. Main.Visible = false
  28811. Hum.WalkSpeed = 16
  28812. DeselectAnim()
  28813. end
  28814. bin.Deselected:connect(Desel)
  28815. bin.Selected:connect(Sel)
  28816. while Mo.Parent == char do
  28817. wait()
  28818. Special = Special + 0.07
  28819. if Special > MaxSpecial then Special = MaxSpecial end
  28820. SpecialBar.Size = UDim2.new(Special/MaxSpecial, 0, 1, 0)
  28821. end    
  28822.         end)
  28823. local title = Instance.new("TextLabel")
  28824.         title.Parent = gt
  28825.         title.BackgroundColor3 = blak
  28826.         title.BorderColor3 = rede
  28827.         title.BorderSizePixel = 3
  28828.         title.Name = "Title"
  28829.         title.Size = UDim2.new(1,0,0,30)
  28830.         title.ZIndex = 2
  28831.         title.Font = "SourceSansBold"
  28832.         title.FontSize = "Size14"
  28833.         title.Text = "Gear/Tools"
  28834.         title.TextColor3 = whit
  28835. local title = Instance.new("TextLabel")
  28836.         title.Parent = ws
  28837.         title.BackgroundColor3 = blak
  28838.         title.BorderColor3 = rede
  28839.         title.BorderSizePixel = 3
  28840.         title.Name = "Title"
  28841.         title.Size = UDim2.new(1,0,0,30)
  28842.         title.ZIndex = 2
  28843.         title.Font = "SourceSansBold"
  28844.         title.FontSize = "Size14"
  28845.         title.Text = "Weapon Scripts"
  28846.         title.TextColor3 = whit
  28847. -- Page 2 End --
  28848.  
  28849.  
  28850.  
  28851.  
  28852. -- Misc --
  28853. local button = Instance.new("TextButton")
  28854.         button.Parent = misc
  28855.         button.BackgroundColor3 = blak
  28856.         button.BorderColor3 = rede
  28857.         button.BorderSizePixel = 3
  28858.         button.Name = "Become Owner in Personal Server"
  28859.         button.Position = UDim2.new(0,0,0,33)
  28860.         button.Size = UDim2.new(0.5,0,0,30)
  28861.         button.ZIndex = 2
  28862.         button.Font = tef
  28863.         button.FontSize = "Size14"
  28864.         button.Text = "Become Owner [PS]"
  28865.         button.TextColor3 = whit
  28866.         button.TextWrapped = true
  28867.         button.MouseButton1Down:connect(function()
  28868.                 while game.Players.LocalPlayer.PersonalServerRank<255 do
  28869.     game:GetService("PersonalServerService"):Promote(game.Players.LocalPlayer)
  28870. end
  28871.         end)
  28872. --
  28873. local button = Instance.new("TextButton")
  28874.         button.Parent = misc
  28875.         button.BackgroundColor3 = blak
  28876.         button.BorderColor3 = rede
  28877.         button.BorderSizePixel = 3
  28878.         button.Name = "Disco Fog"
  28879.         button.Position = UDim2.new(0.5,3,0,33)
  28880.         button.Size = UDim2.new(0.5,-3,0,30)
  28881.         button.ZIndex = 2
  28882.         button.Font = tef
  28883.         button.FontSize = "Size14"
  28884.         button.Text = "Disco Fog"
  28885.         button.TextColor3 = whit
  28886.         button.TextWrapped = true
  28887.         button.MouseButton1Down:connect(function()
  28888. 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)}
  28889. game.Lighting.FogStart = 25
  28890. game.Lighting.FogEnd = 300
  28891. while true do
  28892. wait(0.5)
  28893. game.Lighting.FogColor = basics[math.random(1,#basics)]
  28894. end
  28895.         end)
  28896. --
  28897. local button = Instance.new("TextButton")
  28898.         button.Parent = misc
  28899.         button.BackgroundColor3 = blak
  28900.         button.BorderColor3 = rede
  28901.         button.BorderSizePixel = 3
  28902.         button.Name = "Fencing Restore"
  28903.         button.Position = UDim2.new(0,0,0,66)
  28904.         button.Size = UDim2.new(0.5,0,0,30)
  28905.         button.ZIndex = 2
  28906.         button.Font = tef
  28907.         button.FontSize = "Size14"
  28908.         button.Text = "Fencing Restore"
  28909.         button.TextColor3 = whit
  28910.         button.TextWrapped = true
  28911.         button.MouseButton1Down:connect(function()
  28912.                 --Fencing Restore script made by Yelock--
  28913. --Now restoring fencing Please wait ----------
  28914. --Censore
  28915. --mediafire
  28916. --hitler
  28917. --megaupload
  28918. --globe of geeks
  28919. --lego
  28920. --cheez
  28921. --chicken
  28922. --requires c>2
  28923. function X(ws)
  28924. for _, v in pairs(ws:GetChildren()) do
  28925. v.Archivable = true
  28926. if v.Name ~= "UClear" and v.Name ~= "Terrain" and game.Players:GetPlayerFromCharacter(v)==nil and v~=game.Workspace.CurrentCamera then
  28927. if v:IsA("Script") or v:IsA("LocalScript") then
  28928. v.Disabled = true
  28929. v:remove()
  28930. else
  28931. v:remove()
  28932. end
  28933. end
  28934. if game.Workspace:findFirstChild("Base") ~= nil then
  28935. else
  28936. local Base=Instance.new("Part",game.Workspace)
  28937. Base.Name="Base"
  28938. Base.Size=Vector3.new(1000,1,1000)
  28939. Base.BrickColor=BrickColor.new("Earth green")
  28940. Base.Anchored=true
  28941. Base.Locked=true
  28942. Base.TopSurface="Universal"
  28943. Base.CFrame=CFrame.new(Vector3.new(0,0,0))
  28944. local Spawn=Instance.new("SpawnLocation",game.Workspace)
  28945. Spawn.Name="lol"
  28946. Spawn.Size=Vector3.new(6,1,6)
  28947. Spawn.Transparency=1
  28948. Spawn.CanCollide=false
  28949. Spawn.Anchored=true
  28950. Spawn.Locked=true
  28951. Spawn.CFrame=CFrame.new(Vector3.new(0,1,0))
  28952. end
  28953. end
  28954. end
  28955. X(game.Workspace)
  28956. X(game.Teams)
  28957. X(game.StarterGui)
  28958. wait()
  28959. game.Workspace:InsertContent("rbxassetid://118791953")
  28960. wait()
  28961. game.workspace.Base:Destroy()
  28962. wait()
  28963. game.workspace.lol:Destroy()
  28964. wait()
  28965. game.Lighting.Ambient = Color3.new(255,255,255)
  28966. game.Lighting.TimeOfDay = 12
  28967. game.Lighting.Brightness = 0.5
  28968. game.Lighting.FogEnd = 100000
  28969. game.Lighting.GlobalShadows = false
  28970. game.Lighting.Sky:Destroy()
  28971. game.Lighting.FogEnd = 100000
  28972. game.Lighting.Brightness = 1
  28973. game.Workspace.Terrain:clear()
  28974.         end)
  28975. --
  28976. local button = Instance.new("TextButton")
  28977.         button.Parent = misc
  28978.         button.BackgroundColor3 = blak
  28979.         button.BorderColor3 = rede
  28980.         button.BorderSizePixel = 3
  28981.         button.Name = "Leaderstat Add"
  28982.         button.Position = UDim2.new(0.5,3,0,66)
  28983.         button.Size = UDim2.new(0.5,-3,0,30)
  28984.         button.ZIndex = 2
  28985.         button.Font = tef
  28986.         button.FontSize = "Size14"
  28987.         button.Text = "Leaderstat Add"
  28988.         button.TextColor3 = whit
  28989.         button.TextWrapped = true
  28990.         button.MouseButton1Down:connect(function()
  28991.                 while true do
  28992. wait(.1)
  28993. 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)
  28994. end
  28995.         end)
  28996. --
  28997. local button = Instance.new("TextButton")
  28998.         button.Parent = misc
  28999.         button.BackgroundColor3 = blak
  29000.         button.BorderColor3 = rede
  29001.         button.BorderSizePixel = 3
  29002.         button.Name = "Leaderstat Change"
  29003.         button.Position = UDim2.new(0,0,0,99)
  29004.         button.Size = UDim2.new(0.5,0,0,30)
  29005.         button.ZIndex = 2
  29006.         button.Font = tef
  29007.         button.FontSize = "Size14"
  29008.         button.Text = "Leaderstat Change"
  29009.         button.TextColor3 = whit
  29010.         button.TextWrapped = true
  29011.         button.MouseButton1Down:connect(function()
  29012. game.Players.LocalPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Name"].TextBox.Text)game.Players.LocalPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Amount"].TextBox.Text)   
  29013.  
  29014.         end)
  29015. --
  29016. local button = Instance.new("TextButton")
  29017.         button.Parent = misc
  29018.         button.BackgroundColor3 = blak
  29019.         button.BorderColor3 = rede
  29020.         button.BorderSizePixel = 3
  29021.         button.Name = "Play Music"
  29022.         button.Position = UDim2.new(0.5,3,0,99)
  29023.         button.Size = UDim2.new(0.5,-3,0,30)
  29024.         button.ZIndex = 2
  29025.         button.Font = tef
  29026.         button.FontSize = "Size14"
  29027.         button.Text = "Play Music"
  29028.         button.TextColor3 = whit
  29029.         button.TextWrapped = true
  29030.         button.MouseButton1Down:connect(function()
  29031.                 for i,v in pairs(game.Workspace:GetChildren()) do
  29032. if v.className == "Sound" then
  29033. v:Stop()
  29034. v:Remove()     
  29035. end    
  29036. end
  29037. s = Instance.new("Sound",Workspace)
  29038. s.SoundId = "rbxassetid://"..frame.Settings.Page1["Music ID"].TextBox.Text
  29039. s.Volume = 1
  29040. s.Looped = true
  29041. s.Pitch = frame.Settings.Page1["Music Pitch"].TextBox.Text
  29042. s:Play()
  29043. wait(.1)
  29044. s:Play()
  29045.         end)
  29046. --
  29047. local button = Instance.new("TextButton")
  29048.         button.Parent = misc
  29049.         button.BackgroundColor3 = blak
  29050.         button.BorderColor3 = rede
  29051.         button.BorderSizePixel = 3
  29052.         button.Name = "Restore Skybox"
  29053.         button.Position = UDim2.new(0,0,0,132)
  29054.         button.Size = UDim2.new(0.5,0,0,30)
  29055.         button.ZIndex = 2
  29056.         button.Font = tef
  29057.         button.FontSize = "Size14"
  29058.         button.Text = "Restore Skybox"
  29059.         button.TextColor3 = whit
  29060.         button.TextWrapped = true
  29061.         button.MouseButton1Down:connect(function()
  29062.                 for i,v in pairs(game.Lighting:GetChildren()) do
  29063. v:Remove()
  29064. end
  29065.         end)
  29066. --
  29067. local button = Instance.new("TextButton")
  29068.         button.Parent = misc
  29069.         button.BackgroundColor3 = blak
  29070.         button.BorderColor3 = rede
  29071.         button.BorderSizePixel = 3
  29072.         button.Name = "Steal Player Points"
  29073.         button.Position = UDim2.new(0.5,3,0,132)
  29074.         button.Size = UDim2.new(0.5,-3,0,30)
  29075.         button.ZIndex = 2
  29076.         button.Font = tef
  29077.         button.FontSize = "Size14"
  29078.         button.Text = "Steal Player Points"
  29079.         button.TextColor3 = whit
  29080.         button.TextWrapped = true
  29081.         button.MouseButton1Down:connect(function()
  29082.                 local service = game:GetService("PointsService")
  29083. service:AwardPoints(game.Players.LocalPlayer.userId, service:GetAwardablePoints())
  29084.         end)
  29085. --
  29086. local button = Instance.new("TextButton")
  29087.         button.Parent = misc
  29088.         button.BackgroundColor3 = blak
  29089.         button.BorderColor3 = rede
  29090.         button.BorderSizePixel = 3
  29091.         button.Name = "Empty"
  29092.         button.Position = UDim2.new(0,0,0,165)
  29093.         button.Size = UDim2.new(0.499,0,0,30)
  29094.         button.ZIndex = 2
  29095.         button.Font = tef
  29096.         button.FontSize = "Size14"
  29097.         button.Text = "Empty"
  29098.         button.TextColor3 = whit
  29099.         button.TextWrapped = true
  29100.         button.MouseButton1Down:connect(function()
  29101.                
  29102.         end)
  29103. --
  29104. local button = Instance.new("TextButton")
  29105.         button.Parent = misc
  29106.         button.BackgroundColor3 = blak
  29107.         button.BorderColor3 = rede
  29108.         button.BorderSizePixel = 3
  29109.         button.Name = "Empty"
  29110.         button.Position = UDim2.new(0.5,3,0,165)
  29111.         button.Size = UDim2.new(0.5,-3,0,30)
  29112.         button.ZIndex = 2
  29113.         button.Font = tef
  29114.         button.FontSize = "Size14"
  29115.         button.Text = "Empty"
  29116.         button.TextColor3 = whit
  29117.         button.TextWrapped = true
  29118.         button.MouseButton1Down:connect(function()
  29119.                
  29120.         end)
  29121. --
  29122. local button = Instance.new("TextButton")
  29123.         button.Parent = misc
  29124.         button.BackgroundColor3 = blak
  29125.         button.BorderColor3 = rede
  29126.         button.BorderSizePixel = 3
  29127.         button.Name = "Empty"
  29128.         button.Position = UDim2.new(0,0,0,198)
  29129.         button.Size = UDim2.new(0.499,0,0,30)
  29130.         button.ZIndex = 3
  29131.         button.Font = tef
  29132.         button.FontSize = "Size14"
  29133.         button.Text = "Empty"
  29134.         button.TextColor3 = whit
  29135.         button.TextWrapped = true
  29136.         button.MouseButton1Down:connect(function()
  29137.                
  29138.         end)
  29139. --
  29140. local button = Instance.new("TextButton")
  29141.         button.Parent = misc
  29142.         button.BackgroundColor3 = blak
  29143.         button.BorderColor3 = rede
  29144.         button.BorderSizePixel = 3
  29145.         button.Name = "Empty"
  29146.         button.Position = UDim2.new(0.5,3,0,198)
  29147.         button.Size = UDim2.new(0.5,-3,0,30)
  29148.         button.ZIndex = 2
  29149.         button.Font = tef
  29150.         button.FontSize = "Size14"
  29151.         button.Text = "Empty"
  29152.         button.TextColor3 = whit
  29153.         button.TextWrapped = true
  29154.         button.MouseButton1Down:connect(function()
  29155.                
  29156.         end)
  29157.        
  29158. -- Local Player --
  29159. local button = Instance.new("TextButton")
  29160.         button.Parent = localp
  29161.         button.BackgroundColor3 = blak
  29162.         button.BorderColor3 = rede
  29163.         button.BorderSizePixel = 3
  29164.         button.Name = "Anti-Robloxian"
  29165.         button.Position = UDim2.new(0,0,0,33)
  29166.         button.Size = UDim2.new(0.5,0,0,30)
  29167.         button.ZIndex = 2
  29168.         button.Font = tef
  29169.         button.FontSize = "Size14"
  29170.         button.Text = "Anti-Robloxian"
  29171.         button.TextColor3 = whit
  29172.         button.TextWrapped = true
  29173.         button.MouseButton1Down:connect(function()
  29174.                 local Player = game.Players.LocalPlayer
  29175. while true do
  29176. local dist = frame.Settings.Page2["Anti Robloxian Range"].TextBox.Text
  29177. value = Instance.new("NumberValue", game.workspace)
  29178. value.Value = dist
  29179. local distance = 13
  29180. if Player then
  29181. c = game.Players:GetChildren()
  29182. for i = 1, #c do
  29183. if c[i].Name ~= Player.Name then
  29184. if c[i]:DistanceFromCharacter(game.Workspace[Player.Name].Torso.Position) <= distance then
  29185. c[i].Character:BreakJoints()
  29186. c2 = c[i].Character:GetChildren()
  29187. for i2 =1, #c2 do
  29188. if c2[i2]:IsA("BasePart") then
  29189. Instance.new("Fire", c2[i2])
  29190. end end end end end end wait() end
  29191.         end)
  29192. --
  29193. local button = Instance.new("TextButton")
  29194.         button.Parent = localp
  29195.         button.BackgroundColor3 = blak
  29196.         button.BorderColor3 = rede
  29197.         button.BorderSizePixel = 3
  29198.         button.Name = "Billboard Gui"
  29199.         button.Position = UDim2.new(0.5,3,0,33)
  29200.         button.Size = UDim2.new(0.5,-3,0,30)
  29201.         button.ZIndex = 2
  29202.         button.Font = tef
  29203.         button.FontSize = "Size14"
  29204.         button.Text = "Billboard Gui"
  29205.         button.TextColor3 = whit
  29206.         button.TextWrapped = true
  29207.         button.MouseButton1Down:connect(function()
  29208.                 if game.Players.LocalPlayer.Character.Head:FindFirstChild("BillboardGui") then
  29209. game.Players.LocalPlayer.Character.Head:FindFirstChild("BillboardGui"):Remove()
  29210. end
  29211. plr = game.Players.LocalPlayer.Name
  29212. y = Instance.new("BillboardGui")
  29213. y.Size = UDim2.new(0,100,0,150)
  29214. y.StudsOffset = Vector3.new(0,1,0)
  29215. y.Parent = game.Players[plr].Character.Head
  29216. y.Adornee = game.Players[plr].Character.Head
  29217. f = Instance.new("TextLabel")
  29218. f.Parent = y
  29219. f.BackgroundTransparency = 1
  29220. f.Position = UDim2.new(0,0,0,-50)
  29221. f.Size = UDim2.new(0,100,0,100)
  29222. f.Font = "Arial"
  29223. f.FontSize = "Size48"
  29224. f.Text = frame.Settings.Page1["Billboard Gui Text"].TextBox.Text
  29225. f.TextStrokeColor3 = Color3.new(0,0,0)
  29226. 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)
  29227. f.TextStrokeTransparency = 0
  29228. f.TextYAlignment = "Bottom"
  29229.         end)
  29230. --
  29231.  
  29232. --
  29233. local button = Instance.new("TextButton")
  29234.         button.Parent = localp
  29235.         button.BackgroundColor3 = blak
  29236.         button.BorderColor3 = rede
  29237.         button.BorderSizePixel = 3
  29238.         button.Name = "Chicken Arms"
  29239.         button.Position = UDim2.new(0.5,3,0,66)
  29240.         button.Size = UDim2.new(0.5,-3,0,30)
  29241.         button.ZIndex = 2
  29242.         button.Font = tef
  29243.         button.FontSize = "Size14"
  29244.         button.Text = "Chicken Arms"
  29245.         button.TextColor3 = whit
  29246.         button.TextWrapped = true
  29247.         button.MouseButton1Down:connect(function()
  29248.                 local Chicken = game.Players.LocalPlayer.Name
  29249. 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)
  29250. game.Workspace[Chicken].Torso["Left Shoulder"].C1 = CFrame.new(0, 0.5, 0)
  29251. 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)
  29252. game.Workspace[Chicken].Torso["Right Shoulder"].C1 = CFrame.new(0, 0.5, 0)
  29253.         end)
  29254. --
  29255. local button = Instance.new("TextButton")
  29256.         button.Parent = localp
  29257.         button.BackgroundColor3 = blak
  29258.         button.BorderColor3 = rede
  29259.         button.BorderSizePixel = 3
  29260.         button.Name = "Disco Character"
  29261.         button.Position = UDim2.new(0,0,0,99)
  29262.         button.Size = UDim2.new(0.499,0,0,30)
  29263.         button.ZIndex = 2
  29264.         button.Font = tef
  29265.         button.FontSize = "Size14"
  29266.         button.Text = "Disco Character"
  29267.         button.TextColor3 = whit
  29268.         button.TextWrapped = true
  29269.         button.MouseButton1Down:connect(function()
  29270.                 presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"}
  29271. while true do
  29272. wait(0.5)
  29273. ye = game.Workspace[game.Players.LocalPlayer.Name]:GetChildren()
  29274. for i,v in pairs(ye) do
  29275. if v.className == "Part" then
  29276. v.BrickColor = BrickColor.new(presets[math.random(1,#presets)])
  29277. end
  29278. end
  29279. end
  29280.         end)
  29281. --
  29282. local button = Instance.new("TextButton")
  29283.         button.Parent = localp
  29284.         button.BackgroundColor3 = blak
  29285.         button.BorderColor3 = rede
  29286.         button.BorderSizePixel = 3
  29287.         button.Name = "Dominus Ghost"
  29288.         button.Position = UDim2.new(0.5,3,0,99)
  29289.         button.Size = UDim2.new(0.5,-3,0,30)
  29290.         button.ZIndex = 2
  29291.         button.Font = tef
  29292.         button.FontSize = "Size14"
  29293.         button.Text = "Dominus Ghost"
  29294.         button.TextColor3 = whit
  29295.         button.TextWrapped = true
  29296.         button.MouseButton1Down:connect(function()
  29297.                 function nob(who,tra,hat)
  29298. c=who.Character
  29299. pcall(function()u=c["Body Colors"]
  29300. u.HeadColor=BrickColor.new("Black")
  29301. u.LeftLegColor=BrickColor.new("Black")
  29302. u.RightLegolor=BrickColor.new("Black")
  29303. u.LeftArmColor=BrickColor.new("Black")
  29304. u.TorsoColor=BrickColor.new("Black")
  29305. u.RightArmColor=BrickColor.new("Black")
  29306. end)
  29307. pcall(function()c.Shirt:Destroy() c.Pants:Destroy() end)
  29308. for i,v in pairs(c:GetChildren()) do
  29309. if v:IsA("BasePart") then
  29310. v.Transparency=tra
  29311. if v.Name=="HumanoidRootPart" or v.Name=="Head" then
  29312. v.Transparency=1
  29313. end
  29314. wait()
  29315. v.BrickColor=BrickColor.new("Black")
  29316. elseif v:IsA("Hat") then
  29317. v:Destroy()
  29318. end
  29319. end
  29320. xx=game:service("InsertService"):LoadAsset(hat)
  29321. xy=game:service("InsertService"):LoadAsset(47433)["LinkedSword"]
  29322. xy.Parent=who.Backpack
  29323. for a,hat in pairs(xx:children()) do
  29324. hat.Parent=c
  29325. end
  29326. xx:Destroy()
  29327. h=who.Character.Humanoid
  29328. h.MaxHealth=50000
  29329. wait(1.5)
  29330. h.Health=50000
  29331. h.WalkSpeed=32
  29332. end
  29333. nob(game.Players.LocalPlayer,0.6,21070012)
  29334.         end)
  29335. --
  29336. local button = Instance.new("TextButton")
  29337.         button.Parent = localp
  29338.         button.BackgroundColor3 = blak
  29339.         button.BorderColor3 = rede
  29340.         button.BorderSizePixel = 3
  29341.         button.Name = "Floating Pad"
  29342.         button.Position = UDim2.new(0,0,0,132)
  29343.         button.Size = UDim2.new(0.499,0,0,30)
  29344.         button.ZIndex = 2
  29345.         button.Font = tef
  29346.         button.FontSize = "Size14"
  29347.         button.Text = "Floating Pad"
  29348.         button.TextColor3 = whit
  29349.         button.TextWrapped = true
  29350.         button.MouseButton1Down:connect(function()
  29351.                 local name = game.Players.LocalPlayer.Name
  29352.  
  29353. local p = Instance.new("Part")
  29354. p.Parent = workspace
  29355. p.Locked = true
  29356. p.BrickColor = BrickColor.new("White")
  29357. p.BrickColor = BrickColor.new(104)
  29358. p.Size = Vector3.new(8, 1.2, 8)
  29359. p.Anchored = true
  29360. local m = Instance.new("CylinderMesh")
  29361. m.Scale = Vector3.new(1, 0.5, 1)
  29362. m.Parent = p
  29363. while true do
  29364.         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)
  29365.         wait()
  29366. end
  29367.         end)
  29368. --
  29369. local button = Instance.new("TextButton")
  29370.         button.Parent = localp
  29371.         button.BackgroundColor3 = blak
  29372.         button.BorderColor3 = rede
  29373.         button.BorderSizePixel = 3
  29374.         button.Name = "Head Shake"
  29375.         button.Position = UDim2.new(0.5,3,0,132)
  29376.         button.Size = UDim2.new(0.5,-3,0,30)
  29377.         button.ZIndex = 2
  29378.         button.Font = tef
  29379.         button.FontSize = "Size14"
  29380.         button.Text = "Head Shake"
  29381.         button.TextColor3 = whit
  29382.         button.TextWrapped = true
  29383.         button.MouseButton1Down:connect(function()
  29384.                 for X = 1, math.huge, 0.2 do
  29385. wait()
  29386. game.Workspace[game.Players.LocalPlayer.Name].Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0)
  29387. game.Workspace[game.Players.LocalPlayer.Name].Torso.Neck.C1 = CFrame.new(0,0,0)
  29388. end
  29389. for X = 1, math.huge, 0.1 do
  29390. wait()
  29391. game.Workspace[game.Players.LocalPlayer.Name].Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X)
  29392. game.Workspace[game.Players.LocalPlayer.Name].Torso.Neck.C1 = CFrame.new(0,0,0)
  29393. end
  29394. for _,c in pairs(game.Players:GetChildren()) do
  29395.         c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100)
  29396. end
  29397. for _,c in pairs(game.Players:GetChildren()) do
  29398.         c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  29399. end
  29400.         end)
  29401. --
  29402. local button = Instance.new("TextButton")
  29403.         button.Parent = localp
  29404.         button.BackgroundColor3 = blak
  29405.         button.BorderColor3 = rede
  29406.         button.BorderSizePixel = 3
  29407.         button.Name = "Heal"
  29408.         button.Position = UDim2.new(0,0,0,165)
  29409.         button.Size = UDim2.new(0.5,0,0,30)
  29410.         button.ZIndex = 2
  29411.         button.Font = tef
  29412.         button.FontSize = "Size14"
  29413.         button.Text = "Heal"
  29414.         button.TextColor3 = whit
  29415.         button.TextWrapped = true
  29416.         button.MouseButton1Down:connect(function()
  29417. game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth             
  29418.         end)
  29419. --
  29420. local button = Instance.new("TextButton")
  29421.         button.Parent = localp
  29422.         button.BackgroundColor3 = blak
  29423.         button.BorderColor3 = rede
  29424.         button.BorderSizePixel = 3
  29425.         button.Name = "Mesh Disco"
  29426.         button.Position = UDim2.new(0.5,3,0,165)
  29427.         button.Size = UDim2.new(0.5,-3,0,30)
  29428.         button.ZIndex = 2
  29429.         button.Font = tef
  29430.         button.FontSize = "Size14"
  29431.         button.Text = "Mesh Disco"
  29432.         button.TextColor3 = whit
  29433.         button.TextWrapped = true
  29434.         button.MouseButton1Down:connect(function()
  29435.         plr = game.Players.LocalPlayer.Name
  29436. meshes = {"Brick","Cylinder","Head","Sphere","Torso","Wedge"}
  29437. h = game.Workspace[plr].Head.Mesh
  29438. t = Instance.new("SpecialMesh",game.Workspace[plr].Torso)
  29439. la = Instance.new("SpecialMesh",game.Workspace[plr]["Left Arm"])
  29440. ra = Instance.new("SpecialMesh",game.Workspace[plr]["Right Arm"])
  29441. ll = Instance.new("SpecialMesh",game.Workspace[plr]["Left Leg"])
  29442. rl = Instance.new("SpecialMesh",game.Workspace[plr]["Right Leg"])
  29443. while true do
  29444. wait(0.1)
  29445. h.MeshType = meshes[math.random(1,#meshes)]
  29446. h.Parent.BrickColor = BrickColor.Random()
  29447. t.MeshType = meshes[math.random(1,#meshes)]
  29448. t.Parent.BrickColor = BrickColor.Random()
  29449. la.MeshType = meshes[math.random(1,#meshes)]
  29450. la.Parent.BrickColor = BrickColor.Random()
  29451. ra.MeshType = meshes[math.random(1,#meshes)]
  29452. ra.Parent.BrickColor = BrickColor.Random()
  29453. ll.MeshType = meshes[math.random(1,#meshes)]
  29454. ll.Parent.BrickColor = BrickColor.Random()
  29455. rl.MeshType = meshes[math.random(1,#meshes)]
  29456. rl.Parent.BrickColor = BrickColor.Random()
  29457. end    
  29458.         end)
  29459. --
  29460. local button = Instance.new("TextButton")
  29461.         button.Parent = localp
  29462.         button.BackgroundColor3 = blak
  29463.         button.BorderColor3 = rede
  29464.         button.BorderSizePixel = 3
  29465.         button.Name = "Set Walkspeed"
  29466.         button.Position = UDim2.new(0,0,0,198)
  29467.         button.Size = UDim2.new(0.5,0,0,30)
  29468.         button.ZIndex = 2
  29469.         button.Font = tef
  29470.         button.FontSize = "Size14"
  29471.         button.Text = "Set Walkspeed"
  29472.         button.TextColor3 = whit
  29473.         button.TextWrapped = true
  29474.         button.MouseButton1Down:connect(function()
  29475.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = frame.Settings.Page2["Walkspeed Amount"].TextBox.Text  
  29476.         end)
  29477. --
  29478. local button = Instance.new("TextButton")
  29479.         button.Parent = localp
  29480.         button.BackgroundColor3 = blak
  29481.         button.BorderColor3 = rede
  29482.         button.BorderSizePixel = 3
  29483.         button.Name = "Empty"
  29484.         button.Position = UDim2.new(0.5,3,0,198)
  29485.         button.Size = UDim2.new(0.48,0,0,30)
  29486.         button.ZIndex = 2
  29487.         button.Font = tef
  29488.         button.FontSize = "Size14"
  29489.         button.Text = "Empty"
  29490.         button.TextColor3 = whit
  29491.         button.TextWrapped = true
  29492.         button.MouseButton1Down:connect(function()
  29493.                
  29494.         end)
  29495. --
  29496. local button = Instance.new("TextButton")
  29497.         button.Parent = localp
  29498.         button.BackgroundColor3 = blak
  29499.         button.BorderColor3 = rede
  29500.         button.BorderSizePixel = 3
  29501.         button.Name = "Empty"
  29502.         button.Position = UDim2.new(0,0,0,231)
  29503.         button.Size = UDim2.new(0.5,0,0,30)
  29504.         button.ZIndex = 2
  29505.         button.Font = tef
  29506.         button.FontSize = "Size14"
  29507.         button.Text = "Empty"
  29508.         button.TextColor3 = whit
  29509.         button.TextWrapped = true
  29510.         button.MouseButton1Down:connect(function()
  29511.                
  29512.         end)
  29513. --
  29514. local button = Instance.new("TextButton")
  29515.         button.Parent = localp
  29516.         button.BackgroundColor3 = blak
  29517.         button.BorderColor3 = rede
  29518.         button.BorderSizePixel = 3
  29519.         button.Name = "Empty"
  29520.         button.Position = UDim2.new(0.5,3,0,231)
  29521.         button.Size = UDim2.new(0.5,-3,0,30)
  29522.         button.ZIndex = 2
  29523.         button.Font = tef
  29524.         button.FontSize = "Size14"
  29525.         button.Text = "Empty"
  29526.         button.TextColor3 = whit
  29527.         button.TextWrapped = true
  29528.         button.MouseButton1Down:connect(function()
  29529.                
  29530.         end)
  29531. local title = Instance.new("TextLabel")
  29532.         title.Parent = misc
  29533.         title.BackgroundColor3 = blak
  29534.         title.BorderColor3 = rede
  29535.         title.BorderSizePixel = 3
  29536.         title.Name = "Title"
  29537.         title.Size = UDim2.new(1,0,0,30)
  29538.         title.ZIndex = 2
  29539.         title.Font = "SourceSansBold"
  29540.         title.FontSize = "Size14"
  29541.         title.Text = "Misc."
  29542.         title.TextColor3 = whit
  29543. local title = Instance.new("TextLabel")
  29544.         title.Parent = localp
  29545.         title.BackgroundColor3 = blak
  29546.         title.BorderColor3 = rede
  29547.         title.BorderSizePixel = 3
  29548.         title.Name = "Title"
  29549.         title.Size = UDim2.new(1,0,0,30)
  29550.         title.ZIndex = 2
  29551.         title.Font = "SourceSansBold"
  29552.         title.FontSize = "Size14"
  29553.         title.Text = "LocalPlayer"
  29554.         title.TextColor3 = whit
  29555. -- Page 3 End --
  29556. -- Page 4 --
  29557. button = Instance.new("TextButton")
  29558.         button.Parent = pmi
  29559.         button.BackgroundColor3 = blak
  29560.         button.BorderColor3 = rede
  29561.         button.BorderSizePixel = 3
  29562.         button.Name = "Chop Suey"
  29563.         button.Position = UDim2.new(0,0,0,33)
  29564.         button.Size = UDim2.new(0.5,0,0,30)
  29565.         button.ZIndex = 2
  29566.         button.Font = tef
  29567.         button.FontSize = "Size14"
  29568.         button.Text = "Chop Suey"
  29569.         button.TextColor3 = whit
  29570.         button.TextWrapped = true
  29571.         button.MouseButton1Down:connect(function()
  29572.                 frame.Settings.Page1["Music ID"].TextBox.Text = 147407900
  29573.         end)
  29574. --
  29575. button = Instance.new("TextButton")
  29576.         button.Parent = pmi
  29577.         button.BackgroundColor3 = blak
  29578.         button.BorderColor3 = rede
  29579.         button.BorderSizePixel = 3
  29580.         button.Name = "Electro Sp00k"
  29581.         button.Position = UDim2.new(0.5,3,0,33)
  29582.         button.Size = UDim2.new(0.5,-3,0,30)
  29583.         button.ZIndex = 2
  29584.         button.Font = tef
  29585.         button.FontSize = "Size14"
  29586.         button.Text = "Electro Sp00k"
  29587.         button.TextColor3 = whit
  29588.         button.TextWrapped = true
  29589.         button.MouseButton1Down:connect(function()
  29590.         frame.Settings.Page1["Music ID"].TextBox.Text = 142930454      
  29591.         end)
  29592. --
  29593. button = Instance.new("TextButton")
  29594.         button.Parent = pmi
  29595.         button.BackgroundColor3 = blak
  29596.         button.BorderColor3 = rede
  29597.         button.BorderSizePixel = 3
  29598.         button.Name = "Scream"
  29599.         button.Position = UDim2.new(0,0,0,66)
  29600.         button.Size = UDim2.new(0.5,0,0,30)
  29601.         button.ZIndex = 2
  29602.         button.Font = tef
  29603.         button.FontSize = "Size14"
  29604.         button.Text = "Scream"
  29605.         button.TextColor3 = whit
  29606.         button.TextWrapped = true
  29607.         button.MouseButton1Down:connect(function()
  29608.         frame.Settings.Page1["Music ID"].TextBox.Text = 138097458      
  29609.         end)
  29610. --
  29611. button = Instance.new("TextButton")
  29612.         button.Parent = pmi
  29613.         button.BackgroundColor3 = blak
  29614.         button.BorderColor3 = rede
  29615.         button.BorderSizePixel = 3
  29616.         button.Name = "Wonga"
  29617.         button.Position = UDim2.new(0.5,3,0,66)
  29618.         button.Size = UDim2.new(0.5,-3,0,30)
  29619.         button.ZIndex = 2
  29620.         button.Font = tef
  29621.         button.FontSize = "Size14"
  29622.         button.Text = "Wonga"
  29623.         button.TextColor3 = whit
  29624.         button.TextWrapped = true
  29625.         button.MouseButton1Down:connect(function()
  29626.         frame.Settings.Page1["Music ID"].TextBox.Text = 147909316      
  29627.         end)
  29628. --
  29629. button = Instance.new("TextButton")
  29630.         button.Parent = pmi
  29631.         button.BackgroundColor3 = blak
  29632.         button.BorderColor3 = rede
  29633.         button.BorderSizePixel = 3
  29634.         button.Name = "Empty"
  29635.         button.Position = UDim2.new(0,0,0,99)
  29636.         button.Size = UDim2.new(0.5,0,0,30)
  29637.         button.ZIndex = 2
  29638.         button.Font = tef
  29639.         button.FontSize = "Size14"
  29640.         button.Text = "Empty"
  29641.         button.TextColor3 = whit
  29642.         button.TextWrapped = true
  29643. --
  29644. local button = Instance.new("TextButton")
  29645.         button.Parent = pmi
  29646.         button.BackgroundColor3 = blak
  29647.         button.BorderColor3 = rede
  29648.         button.BorderSizePixel = 3
  29649.         button.Name = "Empty"
  29650.         button.Position = UDim2.new(0.5,3,0,99)
  29651.         button.Size = UDim2.new(0.5,-3,0,30)
  29652.         button.ZIndex = 2
  29653.         button.Font = tef
  29654.         button.FontSize = "Size14"
  29655.         button.Text = "Empty"
  29656.         button.TextColor3 = whit
  29657.         button.TextWrapped = true
  29658. --
  29659. local button = Instance.new("TextButton")
  29660.         button.Parent = pmi
  29661.         button.BackgroundColor3 = blak
  29662.         button.BorderColor3 = rede
  29663.         button.BorderSizePixel = 3
  29664.         button.Name = "Empty"
  29665.         button.Position = UDim2.new(0,0,0,132)
  29666.         button.Size = UDim2.new(0.5,0,0,30)
  29667.         button.ZIndex = 2
  29668.         button.Font = tef
  29669.         button.FontSize = "Size14"
  29670.         button.Text = "Empty"
  29671.         button.TextColor3 = whit
  29672.         button.TextWrapped = true
  29673. --
  29674. local button = Instance.new("TextButton")
  29675.         button.Parent = pmi
  29676.         button.BackgroundColor3 = blak
  29677.         button.BorderColor3 = rede
  29678.         button.BorderSizePixel = 3
  29679.         button.Name = "Empty"
  29680.         button.Position = UDim2.new(0.5,3,0,132)
  29681.         button.Size = UDim2.new(0.5,-3,0,30)
  29682.         button.ZIndex = 2
  29683.         button.Font = tef
  29684.         button.FontSize = "Size14"
  29685.         button.Text = "Empty"
  29686.         button.TextColor3 = whit
  29687.         button.TextWrapped = true
  29688. --
  29689. local button = Instance.new("TextButton")
  29690.         button.Parent = pmi
  29691.         button.BackgroundColor3 = blak
  29692.         button.BorderColor3 = rede
  29693.         button.BorderSizePixel = 3
  29694.         button.Name = "Empty"
  29695.         button.Position = UDim2.new(0,0,0,165)
  29696.         button.Size = UDim2.new(0.499,0,0,30)
  29697.         button.ZIndex = 2
  29698.         button.Font = tef
  29699.         button.FontSize = "Size14"
  29700.         button.Text = "Empty"
  29701.         button.TextColor3 = whit
  29702.         button.TextWrapped = true
  29703. --
  29704. local button = Instance.new("TextButton")
  29705.         button.Parent = pmi
  29706.         button.BackgroundColor3 = blak
  29707.         button.BorderColor3 = rede
  29708.         button.BorderSizePixel = 3
  29709.         button.Name = "Empty"
  29710.         button.Position = UDim2.new(0.5,3,0,165)
  29711.         button.Size = UDim2.new(0.5,-3,0,30)
  29712.         button.ZIndex = 2
  29713.         button.Font = tef
  29714.         button.FontSize = "Size14"
  29715.         button.Text = "Empty"
  29716.         button.TextColor3 = whit
  29717.         button.TextWrapped = true
  29718. --
  29719. local button = Instance.new("TextButton")
  29720.         button.Parent = pmi
  29721.         button.BackgroundColor3 = blak
  29722.         button.BorderColor3 = rede
  29723.         button.BorderSizePixel = 3
  29724.         button.Name = "Empty"
  29725.         button.Position = UDim2.new(0,0,0,198)
  29726.         button.Size = UDim2.new(0.499,0,0,30)
  29727.         button.ZIndex = 3
  29728.         button.Font = tef
  29729.         button.FontSize = "Size14"
  29730.         button.Text = "Empty"
  29731.         button.TextColor3 = whit
  29732.         button.TextWrapped = true
  29733. --
  29734. local button = Instance.new("TextButton")
  29735.         button.Parent = pmi
  29736.         button.BackgroundColor3 = blak
  29737.         button.BorderColor3 = rede
  29738.         button.BorderSizePixel = 3
  29739.         button.Name = "Empty"
  29740.         button.Position = UDim2.new(0.5,3,0,198)
  29741.         button.Size = UDim2.new(0.5,-3,0,30)
  29742.         button.ZIndex = 2
  29743.         button.Font = tef
  29744.         button.FontSize = "Size14"
  29745.         button.Text = "Empty"
  29746.         button.TextColor3 = whit
  29747.         button.TextWrapped = true
  29748.        
  29749. -- Preset Images --
  29750. local button = Instance.new("TextButton")
  29751.         button.Parent = psd
  29752.         button.BackgroundColor3 = blak
  29753.         button.BorderColor3 = rede
  29754.         button.BorderSizePixel = 3
  29755.         button.Name = "Team c00lkidd Logo 1"
  29756.         button.Position = UDim2.new(0,0,0,33)
  29757.         button.Size = UDim2.new(0.5,0,0,30)
  29758.         button.ZIndex = 2
  29759.         button.Font = tef
  29760.         button.FontSize = "Size14"
  29761.         button.Text = "Team c00lkidd Logo 1"
  29762.         button.TextColor3 = whit
  29763.         button.TextWrapped = true
  29764.         button.MouseButton1Down:connect(function()
  29765.         frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 158118263       
  29766.         end)
  29767. --
  29768. local button = Instance.new("TextButton")
  29769.         button.Parent = psd
  29770.         button.BackgroundColor3 = blak
  29771.         button.BorderColor3 = rede
  29772.         button.BorderSizePixel = 3
  29773.         button.Name = "Team c00lkidd Logo 2"
  29774.         button.Position = UDim2.new(0.5,3,0,33)
  29775.         button.Size = UDim2.new(0.5,-3,0,30)
  29776.         button.ZIndex = 2
  29777.         button.Font = tef
  29778.         button.FontSize = "Size14"
  29779.         button.Text = "Team c00lkidd Logo 2"
  29780.         button.TextColor3 = whit
  29781.         button.TextWrapped = true
  29782.         button.MouseButton1Down:connect(function()
  29783.         frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 164661730       
  29784.         end)
  29785. --
  29786. local button = Instance.new("TextButton")
  29787.         button.Parent = psd
  29788.         button.BackgroundColor3 = blak
  29789.         button.BorderColor3 = rede
  29790.         button.BorderSizePixel = 3
  29791.         button.Name = "Thomas"
  29792.         button.Position = UDim2.new(0,0,0,66)
  29793.         button.Size = UDim2.new(0.5,0,0,30)
  29794.         button.ZIndex = 2
  29795.         button.Font = tef
  29796.         button.FontSize = "Size14"
  29797.         button.Text = "Thomas"
  29798.         button.TextColor3 = whit
  29799.         button.TextWrapped = true
  29800.         button.MouseButton1Down:connect(function()
  29801.         frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 160456772       
  29802.         end)
  29803. --
  29804. local button = Instance.new("TextButton")
  29805.         button.Parent = psd
  29806.         button.BackgroundColor3 = blak
  29807.         button.BorderColor3 = rede
  29808.         button.BorderSizePixel = 3
  29809.         button.Name = "c00lkidd"
  29810.         button.Position = UDim2.new(0.5,3,0,66)
  29811.         button.Size = UDim2.new(0.5,-3,0,30)
  29812.         button.ZIndex = 2
  29813.         button.Font = tef
  29814.         button.FontSize = "Size14"
  29815.         button.Text = "c00lkidd"
  29816.         button.TextColor3 = whit
  29817.         button.TextWrapped = true
  29818.         button.MouseButton1Down:connect(function()
  29819.         frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 157755295       
  29820.         end)
  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 = "team skrubl0rd"
  29828.         button.Position = UDim2.new(0,0,0,99)
  29829.         button.Size = UDim2.new(0.499,0,0,30)
  29830.         button.ZIndex = 2
  29831.         button.Font = tef
  29832.         button.FontSize = "Size14"
  29833.         button.Text = "old team skrubl0rd"
  29834.         button.TextColor3 = whit
  29835.         button.TextWrapped = true
  29836.         button.MouseButton1Down:connect(function()
  29837.                 frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 358313209
  29838.         end)
  29839. --
  29840. local button = Instance.new("TextButton")
  29841.         button.Parent = psd
  29842.         button.BackgroundColor3 = blak
  29843.         button.BorderColor3 = rede
  29844.         button.BorderSizePixel = 3
  29845.         button.Name = "Empty"
  29846.         button.Position = UDim2.new(0.5,3,0,99)
  29847.         button.Size = UDim2.new(0.5,-3,0,30)
  29848.         button.ZIndex = 2
  29849.         button.Font = tef
  29850.         button.FontSize = "Size14"
  29851.         button.Text = "Empty"
  29852.         button.TextColor3 = whit
  29853.         button.TextWrapped = true
  29854. --
  29855. local button = Instance.new("TextButton")
  29856.         button.Parent = psd
  29857.         button.BackgroundColor3 = blak
  29858.         button.BorderColor3 = rede
  29859.         button.BorderSizePixel = 3
  29860.         button.Name = "Empty"
  29861.         button.Position = UDim2.new(0,0,0,132)
  29862.         button.Size = UDim2.new(0.499,0,0,30)
  29863.         button.ZIndex = 2
  29864.         button.Font = tef
  29865.         button.FontSize = "Size14"
  29866.         button.Text = "Empty"
  29867.         button.TextColor3 = whit
  29868.         button.TextWrapped = true
  29869. --
  29870. local button = Instance.new("TextButton")
  29871.         button.Parent = psd
  29872.         button.BackgroundColor3 = blak
  29873.         button.BorderColor3 = rede
  29874.         button.BorderSizePixel = 3
  29875.         button.Name = "Empty"
  29876.         button.Position = UDim2.new(0.5,3,0,132)
  29877.         button.Size = UDim2.new(0.5,-3,0,30)
  29878.         button.ZIndex = 2
  29879.         button.Font = tef
  29880.         button.FontSize = "Size14"
  29881.         button.Text = "Empty"
  29882.         button.TextColor3 = whit
  29883.         button.TextWrapped = true
  29884. --
  29885. local button = Instance.new("TextButton")
  29886.         button.Parent = psd
  29887.         button.BackgroundColor3 = blak
  29888.         button.BorderColor3 = rede
  29889.         button.BorderSizePixel = 3
  29890.         button.Name = "Empty"
  29891.         button.Position = UDim2.new(0,0,0,165)
  29892.         button.Size = UDim2.new(0.5,0,0,30)
  29893.         button.ZIndex = 2
  29894.         button.Font = tef
  29895.         button.FontSize = "Size14"
  29896.         button.Text = "Empty"
  29897.         button.TextColor3 = whit
  29898.         button.TextWrapped = true
  29899. --
  29900. local button = Instance.new("TextButton")
  29901.         button.Parent = psd
  29902.         button.BackgroundColor3 = blak
  29903.         button.BorderColor3 = rede
  29904.         button.BorderSizePixel = 3
  29905.         button.Name = "Empty"
  29906.         button.Position = UDim2.new(0.5,3,0,165)
  29907.         button.Size = UDim2.new(0.5,-3,0,30)
  29908.         button.ZIndex = 2
  29909.         button.Font = tef
  29910.         button.FontSize = "Size14"
  29911.         button.Text = "Empty"
  29912.         button.TextColor3 = whit
  29913.         button.TextWrapped = true
  29914. --
  29915. local button = Instance.new("TextButton")
  29916.         button.Parent = psd
  29917.         button.BackgroundColor3 = blak
  29918.         button.BorderColor3 = rede
  29919.         button.BorderSizePixel = 3
  29920.         button.Name = "Empty"
  29921.         button.Position = UDim2.new(0,0,0,198)
  29922.         button.Size = UDim2.new(0.5,0,0,30)
  29923.         button.ZIndex = 2
  29924.         button.Font = tef
  29925.         button.FontSize = "Size14"
  29926.         button.Text = "Empty"
  29927.         button.TextColor3 = whit
  29928.         button.TextWrapped = true
  29929. --
  29930. local button = Instance.new("TextButton")
  29931.         button.Parent = psd
  29932.         button.BackgroundColor3 = blak
  29933.         button.BorderColor3 = rede
  29934.         button.BorderSizePixel = 3
  29935.         button.Name = "Empty"
  29936.         button.Position = UDim2.new(0.5,3,0,198)
  29937.         button.Size = UDim2.new(0.48,0,0,30)
  29938.         button.ZIndex = 2
  29939.         button.Font = tef
  29940.         button.FontSize = "Size14"
  29941.         button.Text = "Empty"
  29942.         button.TextColor3 = whit
  29943.         button.TextWrapped = true
  29944. --
  29945. local button = Instance.new("TextButton")
  29946.         button.Parent = psd
  29947.         button.BackgroundColor3 = blak
  29948.         button.BorderColor3 = rede
  29949.         button.BorderSizePixel = 3
  29950.         button.Name = "Empty"
  29951.         button.Position = UDim2.new(0,0,0,231)
  29952.         button.Size = UDim2.new(0.5,0,0,30)
  29953.         button.ZIndex = 2
  29954.         button.Font = tef
  29955.         button.FontSize = "Size14"
  29956.         button.Text = "Empty"
  29957.         button.TextColor3 = whit
  29958.         button.TextWrapped = true
  29959. --
  29960. local button = Instance.new("TextButton")
  29961.         button.Parent = psd
  29962.         button.BackgroundColor3 = blak
  29963.         button.BorderColor3 = rede
  29964.         button.BorderSizePixel = 3
  29965.         button.Name = "Empty"
  29966.         button.Position = UDim2.new(0.5,3,0,231)
  29967.         button.Size = UDim2.new(0.5,-3,0,30)
  29968.         button.ZIndex = 2
  29969.         button.Font = tef
  29970.         button.FontSize = "Size14"
  29971.         button.Text = "Empty"
  29972.         button.TextColor3 = whit
  29973.         button.TextWrapped = true
  29974.        
  29975. local title = Instance.new("TextLabel")
  29976.         title.Parent = pmi
  29977.         title.BackgroundColor3 = blak
  29978.         title.BorderColor3 = rede
  29979.         title.BorderSizePixel = 3
  29980.         title.Name = "Title"
  29981.         title.Size = UDim2.new(1,0,0,30)
  29982.         title.ZIndex = 2
  29983.         title.Font = "SourceSansBold"
  29984.         title.FontSize = "Size14"
  29985.         title.Text = "Preset Music IDs"
  29986.         title.TextColor3 = whit
  29987.         title.TextWrapped = true
  29988. local title = Instance.new("TextLabel")
  29989.         title.Parent = psd
  29990.         title.BackgroundColor3 = blak
  29991.         title.BorderColor3 = rede
  29992.         title.BorderSizePixel = 3
  29993.         title.Name = "Title"
  29994.         title.Size = UDim2.new(1,0,0,30)
  29995.         title.ZIndex = 2
  29996.         title.Font = "SourceSansBold"
  29997.         title.FontSize = "Size14"
  29998.         title.Text = "Preset Skybox/Decal IDs"
  29999.         title.TextColor3 = whit
  30000.         --page 5--
  30001. local t3xt = Instance.new("TextLabel")
  30002.         t3xt.Parent = edn
  30003.         t3xt.BackgroundColor3 = blak
  30004.         t3xt.BorderColor3 = rede
  30005.         t3xt.BorderSizePixel = 3
  30006.         t3xt.Name = "Empty"
  30007.         t3xt.Position = UDim2.new(0,0,0,0)
  30008.         t3xt.Size = UDim2.new(1,0,1,0)
  30009.         t3xt.ZIndex = 2
  30010.         t3xt.Font = tef
  30011.         t3xt.FontSize = "Size14"
  30012.         t3xt.Text = "Thank you for using c00lgui scripted! Addons coming soon! Post Ideas in the Thread!!!"
  30013.         t3xt.TextColor3 = whit
  30014.         t3xt.TextWrapped = true
  30015.         t3xt.TextYAlignment = "Top"
  30016.        
  30017. -- Preset Gear IDs --
  30018. local button = Instance.new("TextButton")
  30019.         button.Parent = pgi
  30020.         button.BackgroundColor3 = blak
  30021.         button.BorderColor3 = rede
  30022.         button.BorderSizePixel = 3
  30023.         button.Name = "Airstrike"
  30024.         button.Position = UDim2.new(0,0,0,33)
  30025.         button.Size = UDim2.new(0.5,0,0,30)
  30026.         button.ZIndex = 2
  30027.         button.Font = tef
  30028.         button.FontSize = "Size14"
  30029.         button.Text = "Airstrike"
  30030.         button.TextColor3 = whit
  30031.         button.TextWrapped = true
  30032.         button.MouseButton1Down:connect(function()
  30033.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 88885539
  30034.         end)
  30035. --
  30036. local button = Instance.new("TextButton")
  30037.         button.Parent = pgi
  30038.         button.BackgroundColor3 = blak
  30039.         button.BorderColor3 = rede
  30040.         button.BorderSizePixel = 3
  30041.         button.Name = "Dual Darkhearts"
  30042.         button.Position = UDim2.new(0.5,3,0,33)
  30043.         button.Size = UDim2.new(0.5,-3,0,30)
  30044.         button.ZIndex = 2
  30045.         button.Font = tef
  30046.         button.FontSize = "Size14"
  30047.         button.Text = "Dual Darkhearts"
  30048.         button.TextColor3 = whit
  30049.         button.TextWrapped = true
  30050.         button.MouseButton1Down:connect(function()
  30051.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 108149175
  30052.         end)
  30053. --
  30054. local button = Instance.new("TextButton")
  30055.         button.Parent = pgi
  30056.         button.BackgroundColor3 = blak
  30057.         button.BorderColor3 = rede
  30058.         button.BorderSizePixel = 3
  30059.         button.Name = "Dual Venomshanks"
  30060.         button.Position = UDim2.new(0,0,0,66)
  30061.         button.Size = UDim2.new(0.5,0,0,30)
  30062.         button.ZIndex = 2
  30063.         button.Font = tef
  30064.         button.FontSize = "Size14"
  30065.         button.Text = "Dual Venomshanks"
  30066.         button.TextColor3 = whit
  30067.         button.TextWrapped = true
  30068.         button.MouseButton1Down:connect(function()
  30069.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 158069180
  30070.         end)
  30071. --
  30072. local button = Instance.new("TextButton")
  30073.         button.Parent = pgi
  30074.         button.BackgroundColor3 = blak
  30075.         button.BorderColor3 = rede
  30076.         button.BorderSizePixel = 3
  30077.         button.Name = "Ghostfire Sword"
  30078.         button.Position = UDim2.new(0.5,3,0,66)
  30079.         button.Size = UDim2.new(0.5,-3,0,30)
  30080.         button.ZIndex = 2
  30081.         button.Font = tef
  30082.         button.FontSize = "Size14"
  30083.         button.Text = "Ghostfire Sword"
  30084.         button.TextColor3 = whit
  30085.         button.TextWrapped = true
  30086.         button.MouseButton1Down:connect(function()
  30087.         frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 64220933 
  30088.         end)
  30089. --
  30090. local button = Instance.new("TextButton")
  30091.         button.Parent = pgi
  30092.         button.BackgroundColor3 = blak
  30093.         button.BorderColor3 = rede
  30094.         button.BorderSizePixel = 3
  30095.         button.Name = "Gravity Coil"
  30096.         button.Position = UDim2.new(0,0,0,99)
  30097.         button.Size = UDim2.new(0.499,0,0,30)
  30098.         button.ZIndex = 2
  30099.         button.Font = tef
  30100.         button.FontSize = "Size14"
  30101.         button.Text = "Gravity Coil"
  30102.         button.TextColor3 = whit
  30103.         button.TextWrapped = true
  30104.         button.MouseButton1Down:connect(function()
  30105.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 16688968
  30106.         end)
  30107. --
  30108. local button = Instance.new("TextButton")
  30109.         button.Parent = pgi
  30110.         button.BackgroundColor3 = blak
  30111.         button.BorderColor3 = rede
  30112.         button.BorderSizePixel = 3
  30113.         button.Name = "Hyperbike"
  30114.         button.Position = UDim2.new(0.5,3,0,99)
  30115.         button.Size = UDim2.new(0.5,-3,0,30)
  30116.         button.ZIndex = 2
  30117.         button.Font = tef
  30118.         button.FontSize = "Size14"
  30119.         button.Text = "Hyperbike"
  30120.         button.TextColor3 = whit
  30121.         button.TextWrapped = true
  30122.         button.MouseButton1Down:connect(function()
  30123.         frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 130113061
  30124.         end)
  30125. --
  30126. local button = Instance.new("TextButton")
  30127.         button.Parent = pgi
  30128.         button.BackgroundColor3 = blak
  30129.         button.BorderColor3 = rede
  30130.         button.BorderSizePixel = 3
  30131.         button.Name = "Icedagger"
  30132.         button.Position = UDim2.new(0,0,0,132)
  30133.         button.Size = UDim2.new(0.499,0,0,30)
  30134.         button.ZIndex = 2
  30135.         button.Font = tef
  30136.         button.FontSize = "Size14"
  30137.         button.Text = "Icedagger"
  30138.         button.TextColor3 = whit
  30139.         button.TextWrapped = true
  30140.         button.MouseButton1Down:connect(function()
  30141.                 frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 83704165
  30142.         end)
  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 = "Linked Sword"
  30150.         button.Position = UDim2.new(0.5,3,0,132)
  30151.         button.Size = UDim2.new(0.5,-3,0,30)
  30152.         button.ZIndex = 2
  30153.         button.Font = tef
  30154.         button.FontSize = "Size14"
  30155.         button.Text = "Linked Sword"
  30156.         button.TextColor3 = whit
  30157.         button.TextWrapped = true
  30158.         button.MouseButton1Down:connect(function()
  30159. frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 125013769        
  30160.         end)
  30161. --
  30162. local button = Instance.new("TextButton")
  30163.         button.Parent = pgi
  30164.         button.BackgroundColor3 = blak
  30165.         button.BorderColor3 = rede
  30166.         button.BorderSizePixel = 3
  30167.         button.Name = "Empty"
  30168.         button.Position = UDim2.new(0,0,0,165)
  30169.         button.Size = UDim2.new(0.5,0,0,30)
  30170.         button.ZIndex = 2
  30171.         button.Font = tef
  30172.         button.FontSize = "Size14"
  30173.         button.Text = "Empty"
  30174.         button.TextColor3 = whit
  30175.         button.TextWrapped = true
  30176. --
  30177. local button = Instance.new("TextButton")
  30178.         button.Parent = pgi
  30179.         button.BackgroundColor3 = blak
  30180.         button.BorderColor3 = rede
  30181.         button.BorderSizePixel = 3
  30182.         button.Name = "Empty"
  30183.         button.Position = UDim2.new(0.5,3,0,165)
  30184.         button.Size = UDim2.new(0.5,-3,0,30)
  30185.         button.ZIndex = 2
  30186.         button.Font = tef
  30187.         button.FontSize = "Size14"
  30188.         button.Text = "Empty"
  30189.         button.TextColor3 = whit
  30190.         button.TextWrapped = true
  30191. --
  30192. local button = Instance.new("TextButton")
  30193.         button.Parent = pgi
  30194.         button.BackgroundColor3 = blak
  30195.         button.BorderColor3 = rede
  30196.         button.BorderSizePixel = 3
  30197.         button.Name = "Empty"
  30198.         button.Position = UDim2.new(0,0,0,198)
  30199.         button.Size = UDim2.new(0.5,0,0,30)
  30200.         button.ZIndex = 2
  30201.         button.Font = tef
  30202.         button.FontSize = "Size14"
  30203.         button.Text = "Empty"
  30204.         button.TextColor3 = whit
  30205.         button.TextWrapped = true
  30206. --
  30207. local button = Instance.new("TextButton")
  30208.         button.Parent = pgi
  30209.         button.BackgroundColor3 = blak
  30210.         button.BorderColor3 = rede
  30211.         button.BorderSizePixel = 3
  30212.         button.Name = "Empty"
  30213.         button.Position = UDim2.new(0.5,3,0,198)
  30214.         button.Size = UDim2.new(0.48,0,0,30)
  30215.         button.ZIndex = 2
  30216.         button.Font = tef
  30217.         button.FontSize = "Size14"
  30218.         button.Text = "Empty"
  30219.         button.TextColor3 = whit
  30220.         button.TextWrapped = true
  30221. --
  30222. local button = Instance.new("TextButton")
  30223.         button.Parent = pgi
  30224.         button.BackgroundColor3 = blak
  30225.         button.BorderColor3 = rede
  30226.         button.BorderSizePixel = 3
  30227.         button.Name = "Empty"
  30228.         button.Position = UDim2.new(0,0,0,231)
  30229.         button.Size = UDim2.new(0.5,0,0,30)
  30230.         button.ZIndex = 2
  30231.         button.Font = tef
  30232.         button.FontSize = "Size14"
  30233.         button.Text = "Empty"
  30234.         button.TextColor3 = whit
  30235.         button.TextWrapped = true
  30236. --
  30237.  
  30238.  
  30239.                        
  30240. --Settings--
  30241. local pge1 = Instance.new("Frame")
  30242. pge1.Parent = page
  30243. pge1.BorderColor3 = rede
  30244. pge1.BackgroundColor3 = blak
  30245. pge1.BorderSizePixel = 3
  30246. pge1.Name = "Page1"
  30247. pge1.Position = UDim2.new(0,0,0,83)
  30248. pge1.Size = UDim2.new(1,0,1,-83)
  30249. pge1.ZIndex = 1
  30250.  
  30251. local pge2 = Instance.new("Frame")
  30252. pge2.Parent = page
  30253. pge2.BorderColor3 = rede
  30254. pge2.BackgroundColor3 = blak
  30255. pge2.BorderSizePixel = 3
  30256. pge2.Name = "Page2"
  30257. pge2.Position = UDim2.new(0,0,0,83)
  30258. pge2.Size = UDim2.new(1,0,1,-83)
  30259. pge2.ZIndex = 1
  30260. pge2.Visible = false
  30261. local lft = Instance.new("TextButton")
  30262.         lft.Parent = page
  30263.         lft.BorderColor3 = rede
  30264.         lft.BackgroundColor3 = blak
  30265.         lft.BorderSizePixel = 3
  30266.         lft.Name = ">"
  30267.         lft.Position = UDim2.new(0.5,3,0,40)
  30268.         lft.Size = UDim2.new(0.5,-3,0,40)
  30269.         lft.ZIndex = 1
  30270.         lft.Font = tef
  30271.         lft.FontSize = "Size48"
  30272.         lft.Text = ">"
  30273.         lft.TextColor3 = whit
  30274.         lft.MouseButton1Down:connect(function()
  30275.                 if pge1.Visible == true then
  30276.                         pge1.Visible = false
  30277.                         pge2.Visible = true
  30278.                 elseif pge2.Visible == true then
  30279.                         pge2.Visible = false
  30280.                         pge1.Visible = true
  30281.                 end    
  30282.         end)
  30283. local rgt = Instance.new("TextButton")
  30284.         rgt.Parent = page
  30285.         rgt.BorderColor3 = rede
  30286.         rgt.BackgroundColor3 = blak
  30287.         rgt.BorderSizePixel = 3
  30288.         rgt.Name = "<"
  30289.         rgt.Position = UDim2.new(0,0,0,40)
  30290.         rgt.Size = UDim2.new(0.5,0,0,40)
  30291.         rgt.ZIndex = 1
  30292.         rgt.Font = tef
  30293.         rgt.FontSize = "Size48"
  30294.         rgt.Text = "<"
  30295.         rgt.TextColor3 = whit
  30296.         rgt.MouseButton1Down:connect(function()
  30297.                 if pge1.Visible == true then
  30298.                         pge1.Visible = false
  30299.                         pge2.Visible = true
  30300.                 elseif pge2.Visible == true then
  30301.                         pge2.Visible = false
  30302.                         pge1.Visible = true
  30303.                 end    
  30304.         end)
  30305.  
  30306. local sbutton = Instance.new("TextButton")
  30307.         sbutton.Parent = page
  30308.         sbutton.BackgroundColor3 = blak
  30309.         sbutton.BorderColor3 = rede
  30310.         sbutton.BorderSizePixel = 3
  30311.         sbutton.Name = "SettingsButton"
  30312.         sbutton.Position = UDim2.new(1,3,0,0)
  30313.         sbutton.Size = UDim2.new(0,27,1,0)
  30314.         sbutton.Font = tef
  30315.         sbutton.FontSize = "Size48"
  30316.         sbutton.TextColor3 = whit
  30317.         sbutton.Text = "<"
  30318.         cango = true
  30319.         sbutton.MouseButton1Down:connect(function()
  30320.                 if cango == true then
  30321.                         if sbutton.Text == "<" then
  30322.                         sbutton.Text = ">"
  30323.                         cango = false
  30324.                                 repeat
  30325.                                 wait()
  30326.                                 page.Position = UDim2.new(1,page.Position.X.Offset-10,0,0)
  30327.                                 until page.Position.X.Offset <= -293
  30328.                                 wait()
  30329.                                 page.Position = UDim2.new(1,-300,0,0)
  30330.                                 cango = true
  30331.                         else
  30332.                         sbutton.Text = "<"
  30333.                         cango = false
  30334.                                 repeat
  30335.                                 wait()
  30336.                                 page.Position = UDim2.new(1,page.Position.X.Offset+10,0,0)
  30337.                                 until page.Position.X.Offset >= -10
  30338.                                 wait()
  30339.                                 page.Position = UDim2.new(1,3,0,0)
  30340.                                 cango = true
  30341.                         end    
  30342.                 end
  30343.         end)
  30344. local title = Instance.new("TextLabel")
  30345.         title.Parent = page
  30346.         title.BackgroundColor3 = blak
  30347.         title.BorderColor3 = rede
  30348.         title.BorderSizePixel = 3
  30349.         title.Name = "Title"
  30350.         title.Position = UDim2.new(0,0,0,0)
  30351.         title.Size = UDim2.new(1,0,0,40)
  30352.         title.ZIndex = 1
  30353.         title.Font = tef
  30354.         title.FontSize = "Size24"
  30355.         title.Text = "Settings"
  30356.         title.TextColor3 = whit
  30357.        
  30358.        
  30359. local bgt = Instance.new("Frame")
  30360.         bgt.Parent = pge1
  30361.         bgt.BackgroundColor3 = blak
  30362.         bgt.BorderColor3 = rede
  30363.         bgt.BorderSizePixel = 3
  30364.         bgt.Name = "Billboard Gui Text"
  30365.         bgt.Position = UDim2.new(0.5,3,0,198)
  30366.         bgt.Size = UDim2.new(0.5,-3,0,63)
  30367. local cgid = Instance.new("Frame")
  30368.         cgid.Parent = pge1
  30369.         cgid.BackgroundColor3 = blak
  30370.         cgid.BorderColor3 = rede
  30371.         cgid.BorderSizePixel = 3
  30372.         cgid.Name = "Custom Gear ID"
  30373.         cgid.Position = UDim2.new(0,0,0,198)
  30374.         cgid.Size = UDim2.new(0.5,0,0,63)
  30375. local god = Instance.new("Frame")
  30376.         god.Parent = pge1
  30377.         god.BackgroundColor3 = blak
  30378.         god.BorderColor3 = rede
  30379.         god.BorderSizePixel = 3
  30380.         god.Name = "God"
  30381.         god.Position = UDim2.new(0,0,0,132)
  30382.         god.Size = UDim2.new(0.5,0,0,63)
  30383. local Inv = Instance.new("Frame")
  30384.         Inv.Parent = pge1
  30385.         Inv.BackgroundColor3 = blak
  30386.         Inv.BorderColor3 = rede
  30387.         Inv.BorderSizePixel = 3
  30388.         Inv.Name = "Invisibility"
  30389.         Inv.Position = UDim2.new(0.5,3,0,132)
  30390.         Inv.Size = UDim2.new(0.5,-3,0,63)
  30391. local mid = Instance.new("Frame")
  30392.         mid.Parent = pge1
  30393.         mid.BackgroundColor3 = blak
  30394.         mid.BorderColor3 = rede
  30395.         mid.BorderSizePixel = 3
  30396.         mid.Name = "Music ID"
  30397.         mid.Position = UDim2.new(0,0,0,66)
  30398.         mid.Size = UDim2.new(0.5,0,0,63)
  30399. local mp = Instance.new("Frame")
  30400.         mp.Parent = pge1
  30401.         mp.BackgroundColor3 = blak
  30402.         mp.BorderColor3 = rede
  30403.         mp.BorderSizePixel = 3
  30404.         mp.Name = "Music Pitch"
  30405.         mp.Position = UDim2.new(0.5,3,0,66)
  30406.         mp.Size = UDim2.new(0.5,-3,0,63)
  30407. local pi = Instance.new("Frame")
  30408.         pi.Parent = pge1
  30409.         pi.BackgroundColor3 = blak
  30410.         pi.BorderColor3 = rede
  30411.         pi.BorderSizePixel = 3
  30412.         pi.Name = "Place ID"
  30413.         pi.Position = UDim2.new(0.5,3,0,0)
  30414.         pi.Size = UDim2.new(0.5,-3,0,63)
  30415. local sdi = Instance.new("Frame")
  30416.         sdi.Parent = pge1
  30417.         sdi.BackgroundColor3 = blak
  30418.         sdi.BorderColor3 = rede
  30419.         sdi.BorderSizePixel = 3
  30420.         sdi.Name = "Skybox/Decal ID"
  30421.         sdi.Position = UDim2.new(0,0,0,0)
  30422.         sdi.Size = UDim2.new(0.5,0,0,63)
  30423.         local textbx = Instance.new("TextBox")
  30424.                 textbx.Parent = sdi
  30425.                 textbx.BackgroundColor3 = blak
  30426.                 textbx.BorderColor3 = rede
  30427.                 textbx.BorderSizePixel = 3
  30428.                 textbx.ClearTextOnFocus = true
  30429.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30430.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30431.                 textbx.Font = tef
  30432.                 textbx.FontSize = "Size14"
  30433.                 textbx.Text = "158118263"
  30434.                 textbx.TextColor3 = whit
  30435.         local titl = Instance.new("TextLabel")
  30436.                 titl.Parent = sdi
  30437.                 titl.BackgroundColor3 = blak
  30438.                 titl.BorderColor3 = rede
  30439.                 titl.BorderSizePixel = 3
  30440.                 titl.Name = "Title"
  30441.                 titl.Size = UDim2.new(1,0,0,30)
  30442.                 titl.Font = tef.."Bold"
  30443.                 titl.FontSize = "Size14"
  30444.                 titl.Text = "Skybox/Decal ID"
  30445.                 titl.TextColor3 = whit
  30446.         local textbx = Instance.new("TextBox")
  30447.                 textbx.Parent = pi
  30448.                 textbx.BackgroundColor3 = blak
  30449.                 textbx.BorderColor3 = rede
  30450.                 textbx.BorderSizePixel = 3
  30451.                 textbx.ClearTextOnFocus = true
  30452.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30453.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30454.                 textbx.Font = tef
  30455.                 textbx.FontSize = "Size14"
  30456.                 textbx.Text = "149559312"
  30457.                 textbx.TextColor3 = whit
  30458.         local titl = Instance.new("TextLabel")
  30459.                 titl.Parent = pi
  30460.                 titl.BackgroundColor3 = blak
  30461.                 titl.BorderColor3 = rede
  30462.                 titl.BorderSizePixel = 3
  30463.                 titl.Name = "Title"
  30464.                 titl.Size = UDim2.new(1,0,0,30)
  30465.                 titl.Font = tef.."Bold"
  30466.                 titl.FontSize = "Size14"
  30467.                 titl.Text = "Place ID"
  30468.                 titl.TextColor3 = whit
  30469.         local textbx = Instance.new("TextBox")
  30470.                 textbx.Parent = mp
  30471.                 textbx.BackgroundColor3 = blak
  30472.                 textbx.BorderColor3 = rede
  30473.                 textbx.BorderSizePixel = 3
  30474.                 textbx.ClearTextOnFocus = true
  30475.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30476.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30477.                 textbx.Font = tef
  30478.                 textbx.FontSize = "Size14"
  30479.                 textbx.Text = "1"
  30480.                 textbx.TextColor3 = whit
  30481.         local titl = Instance.new("TextLabel")
  30482.                 titl.Parent = mp
  30483.                 titl.BackgroundColor3 = blak
  30484.                 titl.BorderColor3 = rede
  30485.                 titl.BorderSizePixel = 3
  30486.                 titl.Name = "Title"
  30487.                 titl.Size = UDim2.new(1,0,0,30)
  30488.                 titl.Font = tef.."Bold"
  30489.                 titl.FontSize = "Size14"
  30490.                 titl.Text = "Music Pitch"
  30491.                 titl.TextColor3 = whit
  30492.         local textbx = Instance.new("TextBox")
  30493.                 textbx.Parent = mid
  30494.                 textbx.BackgroundColor3 = blak
  30495.                 textbx.BorderColor3 = rede
  30496.                 textbx.BorderSizePixel = 3
  30497.                 textbx.ClearTextOnFocus = true
  30498.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30499.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30500.                 textbx.Font = tef
  30501.                 textbx.FontSize = "Size14"
  30502.                 textbx.Text = "142930454"
  30503.                 textbx.TextColor3 = whit
  30504.         local titl = Instance.new("TextLabel")
  30505.                 titl.Parent = mid
  30506.                 titl.BackgroundColor3 = blak
  30507.                 titl.BorderColor3 = rede
  30508.                 titl.BorderSizePixel = 3
  30509.                 titl.Name = "Title"
  30510.                 titl.Size = UDim2.new(1,0,0,30)
  30511.                 titl.Font = tef.."Bold"
  30512.                 titl.FontSize = "Size14"
  30513.                 titl.Text = "Music ID"
  30514.                 titl.TextColor3 = whit
  30515.         local textbx = Instance.new("TextBox")
  30516.                 textbx.Parent = cgid
  30517.                 textbx.BackgroundColor3 = blak
  30518.                 textbx.BorderColor3 = rede
  30519.                 textbx.BorderSizePixel = 3
  30520.                 textbx.ClearTextOnFocus = true
  30521.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30522.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30523.                 textbx.Font = tef
  30524.                 textbx.FontSize = "Size14"
  30525.                 textbx.Text = "108149175"
  30526.                 textbx.TextColor3 = whit
  30527.         local titl = Instance.new("TextLabel")
  30528.                 titl.Parent = cgid
  30529.                 titl.BackgroundColor3 = blak
  30530.                 titl.BorderColor3 = rede
  30531.                 titl.BorderSizePixel = 3
  30532.                 titl.Name = "Title"
  30533.                 titl.Size = UDim2.new(1,0,0,30)
  30534.                 titl.Font = tef.."Bold"
  30535.                 titl.FontSize = "Size14"
  30536.                 titl.Text = "Custom Gear ID"
  30537.                 titl.TextColor3 = whit
  30538.         local textbx = Instance.new("TextBox")
  30539.                 textbx.Parent = bgt
  30540.                 textbx.BackgroundColor3 = blak
  30541.                 textbx.BorderColor3 = rede
  30542.                 textbx.BorderSizePixel = 3
  30543.                 textbx.ClearTextOnFocus = true
  30544.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30545.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30546.                 textbx.Font = tef
  30547.                 textbx.FontSize = "Size14"
  30548.                 textbx.Text = "c00lkidd"
  30549.                 textbx.TextColor3 = whit
  30550.         local titl = Instance.new("TextLabel")
  30551.                 titl.Parent = bgt
  30552.                 titl.BackgroundColor3 = blak
  30553.                 titl.BorderColor3 = rede
  30554.                 titl.BorderSizePixel = 3
  30555.                 titl.Name = "Title"
  30556.                 titl.Size = UDim2.new(1,0,0,30)
  30557.                 titl.Font = tef.."Bold"
  30558.                 titl.FontSize = "Size14"
  30559.                 titl.Text = "Billboard Gui Text"
  30560.                 titl.TextColor3 = whit
  30561.                 titl.TextWrapped = true
  30562.                
  30563.         local button = Instance.new("TextButton")
  30564.                 button.Parent = Inv
  30565.                 button.BackgroundColor3 = blak
  30566.                 button.BorderColor3 = rede
  30567.                 button.BorderSizePixel = 3
  30568.                 button.Position = UDim2.new(0,0,0.5,0)
  30569.                 button.Size = UDim2.new(0.99,1,0.5,-1)
  30570.                 button.Font = tef
  30571.                 button.FontSize = "Size14"
  30572.                 button.Text = "On"
  30573.                 button.TextColor3 = whit
  30574.                 button.MouseButton1Down:connect(function()
  30575.                         if button.Text == "Off" then
  30576. game.Players.LocalPlayer.Character.Head.Transparency = 1
  30577. game.Players.LocalPlayer.Character.Head.face.Transparency = 1
  30578. game.Players.LocalPlayer.Character.Torso.Transparency = 1
  30579. game.Players.LocalPlayer.Character["Right Arm"].Transparency = 1
  30580. game.Players.LocalPlayer.Character["Left Arm"].Transparency = 1
  30581. game.Players.LocalPlayer.Character["Right Leg"].Transparency = 1
  30582. game.Players.LocalPlayer.Character["Left Leg"].Transparency = 1
  30583. button.Text = "On"
  30584. else
  30585. game.Players.LocalPlayer.Character.Head.Transparency = 0
  30586. game.Players.LocalPlayer.Character.Head.face.Transparency = 0
  30587. game.Players.LocalPlayer.Character.Torso.Transparency = 0
  30588. game.Players.LocalPlayer.Character["Right Arm"].Transparency = 0
  30589. game.Players.LocalPlayer.Character["Left Arm"].Transparency = 0
  30590. game.Players.LocalPlayer.Character["Right Leg"].Transparency = 0
  30591. game.Players.LocalPlayer.Character["Left Leg"].Transparency = 0
  30592. button.Text = "Off"
  30593. end
  30594.                 end)
  30595.         local titl = Instance.new("TextLabel")
  30596.                 titl.Parent = Inv
  30597.                 titl.BackgroundColor3 = blak
  30598.                 titl.BorderColor3 = rede
  30599.                 titl.BorderSizePixel = 3
  30600.                 titl.Name = "Title"
  30601.                 titl.Size = UDim2.new(1,0,0,30)
  30602.                 titl.Font = tef.."Bold"
  30603.                 titl.FontSize = "Size14"
  30604.                 titl.Text = "Invisibility"
  30605.                 titl.TextColor3 = whit
  30606.                 titl.TextWrapped = true
  30607.         local button = Instance.new("TextButton")
  30608.                 button.Parent = god
  30609.                 button.BackgroundColor3 = blak
  30610.                 button.BorderColor3 = rede
  30611.                 button.BorderSizePixel = 3
  30612.                 button.Position = UDim2.new(0,0,0.5,0)
  30613.                 button.Size = UDim2.new(0.99,1,0.5,-1)
  30614.                 button.Font = tef
  30615.                 button.FontSize = "Size14"
  30616.                 button.Text = "On"
  30617.                 button.TextColor3 = whit
  30618.                 button.MouseButton1Down:connect(function()
  30619. if button.Text == "Off" then
  30620.         game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  30621.         game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  30622.         button.Text = "On"
  30623.         else
  30624.         game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 100
  30625.         game.Players.LocalPlayer.Character.Humanoid.Health = 100
  30626.         button.Text = "Off"
  30627. end
  30628.                 end)
  30629.         local titl = Instance.new("TextLabel")
  30630.                 titl.Parent = god
  30631.                 titl.BackgroundColor3 = blak
  30632.                 titl.BorderColor3 = rede
  30633.                 titl.BorderSizePixel = 3
  30634.                 titl.Name = "Title"
  30635.                 titl.Size = UDim2.new(1,0,0,30)
  30636.                 titl.Font = tef.."Bold"
  30637.                 titl.FontSize = "Size14"
  30638.                 titl.Text = "God"
  30639.                 titl.TextColor3 = whit
  30640.                 titl.TextWrapped = true        
  30641. --Page 2--
  30642. local arr = Instance.new("Frame")
  30643.         arr.Parent = pge2
  30644.         arr.BackgroundColor3 = blak
  30645.         arr.BorderColor3 = rede
  30646.         arr.BorderSizePixel = 3
  30647.         arr.Name = "Anti Robloxian Range"
  30648.         arr.Position = UDim2.new(0.5,3,0,198)
  30649.         arr.Size = UDim2.new(0.5,-3,0,63)
  30650. local bgc = Instance.new("Frame")
  30651.         bgc.Parent = pge2
  30652.         bgc.BackgroundColor3 = blak
  30653.         bgc.BorderColor3 = rede
  30654.         bgc.BorderSizePixel = 3
  30655.         bgc.Name = "Billboard Gui Color"
  30656.         bgc.Position = UDim2.new(0,0,0,198)
  30657.         bgc.Size = UDim2.new(0.5,0,0,63)
  30658. local cst = Instance.new("Frame")
  30659.         cst.Parent = pge2
  30660.         cst.BackgroundColor3 = blak
  30661.         cst.BorderColor3 = rede
  30662.         cst.BorderSizePixel = 3
  30663.         cst.Name = "Chat Spam Text"
  30664.         cst.Position = UDim2.new(0,0,0,132)
  30665.         cst.Size = UDim2.new(0.5,0,0,63)
  30666. local lsa = Instance.new("Frame")
  30667.         lsa.Parent = pge2
  30668.         lsa.BackgroundColor3 = blak
  30669.         lsa.BorderColor3 = rede
  30670.         lsa.BorderSizePixel = 3
  30671.         lsa.Name = "Leaderstat Amount"
  30672.         lsa.Position = UDim2.new(0.5,3,0,132)
  30673.         lsa.Size = UDim2.new(0.5,-3,0,63)
  30674. local lsn = Instance.new("Frame")
  30675.         lsn.Parent = pge2
  30676.         lsn.BackgroundColor3 = blak
  30677.         lsn.BorderColor3 = rede
  30678.         lsn.BorderSizePixel = 3
  30679.         lsn.Name = "Leaderstat Name"
  30680.         lsn.Position = UDim2.new(0,0,0,66)
  30681.         lsn.Size = UDim2.new(0.5,0,0,63)
  30682. local nmb = Instance.new("Frame")
  30683.         nmb.Parent = pge2
  30684.         nmb.BackgroundColor3 = blak
  30685.         nmb.BorderColor3 = rede
  30686.         nmb.BorderSizePixel = 3
  30687.         nmb.Name = "Name Box"
  30688.         nmb.Position = UDim2.new(0.5,3,0,66)
  30689.         nmb.Size = UDim2.new(0.5,-3,0,63)
  30690.  
  30691.  
  30692.  
  30693. local wsa = Instance.new("Frame")
  30694.         wsa.Parent = pge2
  30695.         wsa.BackgroundColor3 = blak
  30696.         wsa.BorderColor3 = rede
  30697.         wsa.BorderSizePixel = 3
  30698.         wsa.Name = "Walkspeed Amount"
  30699.         wsa.Position = UDim2.new(0.5,3,0,0)
  30700.         wsa.Size = UDim2.new(0.5,-3,0,63)
  30701.  
  30702.  
  30703. local textbx = Instance.new("TextBox")
  30704.                 textbx.Parent = arr
  30705.                 textbx.BackgroundColor3 = blak
  30706.                 textbx.BorderColor3 = rede
  30707.                 textbx.BorderSizePixel = 3
  30708.                 textbx.ClearTextOnFocus = true
  30709.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30710.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30711.                 textbx.Font = tef
  30712.                 textbx.FontSize = "Size14"
  30713.                 textbx.Text = "4"
  30714.                 textbx.TextColor3 = whit
  30715.         local titl = Instance.new("TextLabel")
  30716.                 titl.Parent = arr
  30717.                 titl.BackgroundColor3 = blak
  30718.                 titl.BorderColor3 = rede
  30719.                 titl.BorderSizePixel = 3
  30720.                 titl.Name = "Title"
  30721.                 titl.Size = UDim2.new(1,0,0,30)
  30722.                 titl.Font = tef.."Bold"
  30723.                 titl.FontSize = "Size14"
  30724.                 titl.Text = "Anti Robloxian Rage"
  30725.                 titl.TextColor3 = whit
  30726.                 titl.TextWrapped = true
  30727.  textbx1 = Instance.new("TextBox")
  30728.                 textbx1.Parent = bgc
  30729.                 textbx1.BackgroundColor3 = blak
  30730.                 textbx1.BorderColor3 = rede
  30731.                 textbx1.BorderSizePixel = 3
  30732.                 textbx1.ClearTextOnFocus = true
  30733.                 textbx1.Position = UDim2.new(0,0,0.5,0)
  30734.                 textbx1.Size = UDim2.new(0,50,0.5,-1)
  30735.                 textbx1.Font = tef
  30736.                 textbx1.FontSize = "Size14"
  30737.                 textbx1.Text = "200"
  30738.                 textbx1.TextColor3 = whit
  30739.                 textbx1.Name = "TextBox1"
  30740.  textbx2 = Instance.new("TextBox")
  30741.                 textbx2.Parent = bgc
  30742.                 textbx2.BackgroundColor3 = blak
  30743.                 textbx2.BorderColor3 = rede
  30744.                 textbx2.BorderSizePixel = 3
  30745.                 textbx2.ClearTextOnFocus = true
  30746.                 textbx2.Position = UDim2.new(0,50,0.5,0)
  30747.                 textbx2.Size = UDim2.new(0,50,0.5,-1)
  30748.                 textbx2.Font = tef
  30749.                 textbx2.FontSize = "Size14"
  30750.                 textbx2.Text = "0"
  30751.                 textbx2.TextColor3 = whit
  30752.                 textbx2.Name = "TextBox2"
  30753.  textbx3 = Instance.new("TextBox")
  30754.                 textbx3.Parent = bgc
  30755.                 textbx3.BackgroundColor3 = blak
  30756.                 textbx3.BorderColor3 = rede
  30757.                 textbx3.BorderSizePixel = 3
  30758.                 textbx3.ClearTextOnFocus = true
  30759.                 textbx3.Position = UDim2.new(0,100,0.5,0)
  30760.                 textbx3.Size = UDim2.new(0,50,0.5,-1)
  30761.                 textbx3.Font = tef
  30762.                 textbx3.FontSize = "Size14"
  30763.                 textbx3.Text = "0"
  30764.                 textbx3.TextColor3 = whit
  30765.                 textbx3.Name = "TextBox3"
  30766.         local titl = Instance.new("TextLabel")
  30767.                 titl.Parent = bgc
  30768.                 titl.BackgroundColor3 = blak
  30769.                 titl.BorderColor3 = rede
  30770.                 titl.BorderSizePixel = 3
  30771.                 titl.Name = "Title"
  30772.                 titl.Size = UDim2.new(1,0,0,30)
  30773.                 titl.Font = tef.."Bold"
  30774.                 titl.FontSize = "Size14"
  30775.                 titl.Text = "Billboard Gui Color"
  30776.                 titl.TextColor3 = whit
  30777.                 titl.TextWrapped = true        
  30778. local textbx = Instance.new("TextBox")
  30779.                 textbx.Parent = cst
  30780.                 textbx.BackgroundColor3 = blak
  30781.                 textbx.BorderColor3 = rede
  30782.                 textbx.BorderSizePixel = 3
  30783.                 textbx.ClearTextOnFocus = true
  30784.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30785.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30786.                 textbx.Font = tef
  30787.                 textbx.FontSize = "Size14"
  30788.                 textbx.Text = "join team c00lkidd!"
  30789.                 textbx.TextColor3 = whit
  30790.         local titl = Instance.new("TextLabel")
  30791.                 titl.Parent = cst
  30792.                 titl.BackgroundColor3 = blak
  30793.                 titl.BorderColor3 = rede
  30794.                 titl.BorderSizePixel = 3
  30795.                 titl.Name = "Title"
  30796.                 titl.Size = UDim2.new(1,0,0,30)
  30797.                 titl.Font = tef.."Bold"
  30798.                 titl.FontSize = "Size14"
  30799.                 titl.Text = "Chat Spam Text"
  30800.                 titl.TextColor3 = whit
  30801.                 titl.TextWrapped = true
  30802. local textbx = Instance.new("TextBox")
  30803.                 textbx.Parent = lsa
  30804.                 textbx.BackgroundColor3 = blak
  30805.                 textbx.BorderColor3 = rede
  30806.                 textbx.BorderSizePixel = 3
  30807.                 textbx.ClearTextOnFocus = true
  30808.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30809.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30810.                 textbx.Font = tef
  30811.                 textbx.FontSize = "Size14"
  30812.                 textbx.Text = "50"
  30813.                 textbx.TextColor3 = whit
  30814.         local titl = Instance.new("TextLabel")
  30815.                 titl.Parent = lsa
  30816.                 titl.BackgroundColor3 = blak
  30817.                 titl.BorderColor3 = rede
  30818.                 titl.BorderSizePixel = 3
  30819.                 titl.Name = "Title"
  30820.                 titl.Size = UDim2.new(1,0,0,30)
  30821.                 titl.Font = tef.."Bold"
  30822.                 titl.FontSize = "Size14"
  30823.                 titl.Text = "Leaderstat Amount"
  30824.                 titl.TextColor3 = whit
  30825.                 titl.TextWrapped = true
  30826. local textbx = Instance.new("TextBox")
  30827.                 textbx.Parent = lsn
  30828.                 textbx.BackgroundColor3 = blak
  30829.                 textbx.BorderColor3 = rede
  30830.                 textbx.BorderSizePixel = 3
  30831.                 textbx.ClearTextOnFocus = true
  30832.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30833.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30834.                 textbx.Font = tef
  30835.                 textbx.FontSize = "Size14"
  30836.                 textbx.Text = "KOs"
  30837.                 textbx.TextColor3 = whit
  30838.         local titl = Instance.new("TextLabel")
  30839.                 titl.Parent = lsn
  30840.                 titl.BackgroundColor3 = blak
  30841.                 titl.BorderColor3 = rede
  30842.                 titl.BorderSizePixel = 3
  30843.                 titl.Name = "Title"
  30844.                 titl.Size = UDim2.new(1,0,0,30)
  30845.                 titl.Font = tef.."Bold"
  30846.                 titl.FontSize = "Size14"
  30847.                 titl.Text = "Leaderstat Name"
  30848.                 titl.TextColor3 = whit
  30849.                 titl.TextWrapped = true
  30850.         local titl = Instance.new("TextLabel")
  30851.                 titl.Parent = nmb
  30852.                 titl.BackgroundColor3 = blak
  30853.                 titl.BorderColor3 = rede
  30854.                 titl.BorderSizePixel = 3
  30855.                 titl.Name = "Title"
  30856.                 titl.Size = UDim2.new(1,0,0,30)
  30857.                 titl.Font = tef.."Bold"
  30858.                 titl.FontSize = "Size14"
  30859.                 titl.Text = "Name"
  30860.                 titl.TextColor3 = whit
  30861.                 titl.TextWrapped = true
  30862. local textbxx = Instance.new("TextBox",nmb)
  30863.                 textbxx.BackgroundColor3 = blak
  30864.                 textbxx.BorderColor3 = rede
  30865.                 textbxx.BorderSizePixel = 3
  30866.                 textbxx.ClearTextOnFocus = true
  30867.                 textbxx.Position = UDim2.new(0,0,0.5,0)
  30868.                 textbxx.Size = UDim2.new(0.99,1,0.5,-1)
  30869.                 textbxx.Font = tef
  30870.                 textbxx.FontSize = "Size14"
  30871.                 textbxx.Text = "God"
  30872.                 textbxx.TextColor3 = whit
  30873.  
  30874. local button = Instance.new("TextButton")
  30875.         button.Parent = localp
  30876.         button.BackgroundColor3 = blak
  30877.         button.BorderColor3 = rede
  30878.         button.BorderSizePixel = 3
  30879.         button.Name = "Change Name"
  30880.         button.Position = UDim2.new(0,0,0,66)
  30881.         button.Size = UDim2.new(0.5,0,0,30)
  30882.         button.ZIndex = 2
  30883.         button.Font = tef
  30884.         button.FontSize = "Size14"
  30885.         button.Text = "Change Name"
  30886.         button.TextColor3 = whit
  30887.         button.TextWrapped = true
  30888.         button.MouseButton1Down:connect(function()
  30889.                 for a, mod in pairs(game.Players.LocalPlayer.Character:children()) do
  30890.                 if mod:FindFirstChild("TAG") then
  30891.                 game.Players.LocalPlayer.Character.Head.Transparency = 0
  30892.                 mod:Destroy()
  30893.                 end
  30894.                 end
  30895.                
  30896.                 local char = game.Players.LocalPlayer.Character
  30897.                 local model = Instance.new("Model", char)
  30898.                 local clone = char.Head:Clone()
  30899.                 local hum = Instance.new("Humanoid", model)
  30900.                 local weld = Instance.new("Weld", clone)
  30901.                         model.Name =textbxx.Text
  30902.                         clone.Parent = model
  30903.                         hum.Name = "TAG"
  30904.                         hum.MaxHealth = 100
  30905.                         hum.Health = 100
  30906.                         weld.Part0 = clone
  30907.                         weld.Part1 = char.Head
  30908.                         char.Head.Transparency = 1
  30909. end)
  30910.  
  30911. local textbx = Instance.new("TextBox")
  30912.                 textbx.Parent = wsa
  30913.                 textbx.BackgroundColor3 = blak
  30914.                 textbx.BorderColor3 = rede
  30915.                 textbx.BorderSizePixel = 3
  30916.                 textbx.ClearTextOnFocus = true
  30917.                 textbx.Position = UDim2.new(0,0,0.5,0)
  30918.                 textbx.Size = UDim2.new(0.99,1,0.5,-1)
  30919.                 textbx.Font = tef
  30920.                 textbx.FontSize = "Size14"
  30921.                 textbx.Text = "50"
  30922.                 textbx.TextColor3 = whit
  30923.         local titl = Instance.new("TextLabel")
  30924.                 titl.Parent = wsa
  30925.                 titl.BackgroundColor3 = blak
  30926.                 titl.BorderColor3 = rede
  30927.                 titl.BorderSizePixel = 3
  30928.                 titl.Name = "Title"
  30929.                 titl.Size = UDim2.new(1,0,0,30)
  30930.                 titl.Font = tef.."Bold"
  30931.                 titl.FontSize = "Size14"
  30932.                 titl.Text = "Walkspeed Amount"
  30933.                 titl.TextColor3 = whit
  30934.                 titl.TextWrapped = true
  30935. --Settings--
  30936.  
  30937. -----------------------------------------------------------------------------
  30938. --Important Script to make tabs work! DONT TOUCH--
  30939. CurrentPage = 1
  30940.  
  30941. function FlipPage(Way)
  30942.         local NewPage = CurrentPage+Way
  30943.         if pges:findFirstChild("Page"..NewPage)~=nil then
  30944.                 CurrentPage = NewPage
  30945.                 local P = pges:GetChildren()
  30946.                 for i = 1, #P do
  30947.                         P[i].Visible = false
  30948.                 end
  30949.                 pges:findFirstChild("Page"..NewPage).Visible = true
  30950.         end
  30951. end
  30952. right.MouseButton1Down:connect(function()FlipPage(1) end)
  30953. left.MouseButton1Down:connect(function()FlipPage(-1) end)
  30954. page1.addonl.MouseButton1Down:connect(function()CurrentPage=6 FlipPage(-1) end)
  30955. page5.addonr.MouseButton1Down:connect(function()CurrentPage=0 FlipPage(1) end)
  30956. -----------------------------------------------------------------------------

Replies to Untitled rss

Title Name Language When
Re: Untitled Unique Macaque text 11 Months ago.
Re: Untitled Edgy Pig text 1 Year ago.
Re: Untitled Beefy Coyote text 1 Year ago.
Re: Untitled Cream Prairie Dog text 1 Year ago.
Re: Untitled Edgy Dolphin text 1 Year ago.
Re: Untitled Colorant Eider text 1 Year ago.
Re: Untitled Unique Partdridge text 1 Year ago.
Re: Untitled Botched Hog text 1 Year ago.
Re: Untitled Sharp Bongo text 1 Year ago.
Re: Untitled Cute Hedgehog text 1 Year ago.
Re: Untitled Cute Lemur text 1 Year ago.
Re: Untitled Aqua Curlew text 1 Year ago.
Re: Untitled Tinct Macaque text 1 Year ago.
Re: Untitled Funky Tamarin text 1 Year ago.
Re: Untitled Trivial Penguin text 1 Year ago.
Re: Untitled Wet Water Vole text 1 Year ago.
Re: Untitled Chunky Crow text 1 Year ago.
Re: Untitled Sole Meerkat text 1 Year ago.
Re: Untitled irokaka text 1 Year ago.
Re: Untitled Speedy Finch text 1 Year ago.
Re: Untitled Bulky Human text 1 Year ago.
Re: Untitled Gentle Madrill text 1 Year ago.
Re: Untitled Putrid Bushbaby text 1 Year ago.
Re: Untitled Bitty Finch text 1 Year ago.
Re: Untitled ben bener text 1 Year ago.
Re: Untitled Sole Penguin text 1 Year ago.
Re: Untitled Violet Bird text 1 Year ago.
Re: Untitled Buff Frog text 1 Year ago.
Re: Untitled Bistre Elephant text 1 Year ago.
Re: Untitled Sweet Meerkat text 1 Year ago.
 1 2 3 >