Advertisement
jasonskg1234

--[[ ~~ GENOCIDE SANS SCRIPT ~~ VERSION BETA V3.0.3 Whats N

May 6th, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.49 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6. --[[
  7. ~~ GENOCIDE SANS SCRIPT ~~
  8.  
  9. VERSION BETA V3.0.3
  10. Whats New:
  11. *1st attempt in adding skull (failed lol)
  12. *Patched some more bugs
  13. *1st attempt in adding bones (failed lol)
  14. *removed ball spawning
  15. - AzuLX
  16.  
  17. Genocide Sans script from the Undertale game Script is edited by Xeradius, Isaac and Pingu.
  18. Full credit to whoever made the base
  19. Please do not leak this script.
  20. Full credit to 'KrystalTeam' and 'rocky2u' for the Telek script.
  21. TeamAzuL2K16
  22. ]]--
  23. ID = '319332735'
  24. Looped = false
  25.  
  26. Music=Instance.new("Sound" ,workspace)
  27. Music.Name = "Music"
  28. if Looped == true then
  29. Music.Looped = true
  30. end
  31. Music.SoundId = "http://roblox.com/asset/?id=319332735"
  32. Music:Play() --Demonic Laugh. (Omega Flowey) You can remove if you wish. Its very loud (To not make play, remove 'Music:Play()')
  33.  
  34. --full credit to krystal and rocky2u for below
  35. Fire = false
  36.  
  37. Sparkles = false
  38.  
  39. Box = false
  40.  
  41. local Players = game.Players
  42.  
  43. local Player = Players.LocalPlayer
  44.  
  45. local Mouse = Player:GetMouse()
  46.  
  47.  
  48. local dist = 25
  49.  
  50. local trans = 0
  51.  
  52. local dwn=false
  53.  
  54. local Bin = Instance.new("HopperBin")
  55.  
  56. Bin.Name = "Sans' Telekinesis"
  57.  
  58. Bin.Parent = Player.Backpack
  59.  
  60.  
  61. local ScreenGUI = Instance.new("ScreenGui", Player.PlayerGui)
  62.  
  63. local Color = Instance.new("Color3Value", ScreenGUI)
  64.  
  65. local ColorValue = Color.Value
  66.  
  67. local Blue = Instance.new("TextButton", ScreenGUI)
  68.  
  69. local Red = Instance.new("TextButton", ScreenGUI)
  70.  
  71. local Green = Instance.new("TextButton", ScreenGUI)
  72.  
  73. local Yellow = Instance.new("TextButton", ScreenGUI)
  74.  
  75. local Pink = Instance.new("TextButton", ScreenGUI)
  76.  
  77. local LightBlue = Instance.new("TextButton", ScreenGUI)
  78.  
  79. local White = Instance.new("TextButton", ScreenGUI)
  80.  
  81. local FireTrue = Instance.new("TextButton", ScreenGUI)
  82.  
  83. local FireFalse = Instance.new("TextButton", ScreenGUI)
  84.  
  85. local SparklesTrue = Instance.new("TextButton", ScreenGUI)
  86.  
  87. local SparklesFalse = Instance.new("TextButton", ScreenGUI)
  88.  
  89. local BoxTrue = Instance.new("TextButton", ScreenGUI)
  90.  
  91. local BoxFalse = Instance.new("TextButton", ScreenGUI)
  92.  
  93. Color.Name = "Color"
  94.  
  95. Blue.BackgroundColor3 = BrickColor.new("Bright blue").Color
  96.  
  97. Blue.Transparency = 0.5
  98.  
  99. Blue.Size = UDim2.new(0, 20 ,0, 20)
  100.  
  101. Blue.Position = UDim2.new(1, -35, 1, -35)
  102.  
  103. Blue.Name = "Blue"
  104.  
  105. Blue.Text = ""
  106.  
  107. Blue.Visible = false
  108.  
  109. Red.BackgroundColor3 = BrickColor.new("Bright red").Color
  110.  
  111. Red.Transparency = 0.5
  112.  
  113. Red.Size = UDim2.new(0, 20 ,0, 20)
  114.  
  115. Red.Position = UDim2.new(1,-65, 1, -35)
  116.  
  117. Red.Name = "Red"
  118.  
  119. Red.Text = ""
  120.  
  121. Red.Visible = false
  122.  
  123. Green.BackgroundColor3 = BrickColor.new("Bright green").Color
  124.  
  125. Green.Transparency = 0.5
  126.  
  127. Green.Size = UDim2.new(0, 20 ,0, 20)
  128.  
  129. Green.Position = UDim2.new(1,-95, 1, -35)
  130.  
  131. Green.Name = "Green"
  132.  
  133. Green.Text = ""
  134.  
  135. Green.Visible = false
  136.  
  137. Yellow.BackgroundColor3 = BrickColor.new("New Yeller").Color
  138.  
  139. Yellow.Transparency = 0.5
  140.  
  141. Yellow.Size = UDim2.new(0, 20 ,0, 20)
  142.  
  143. Yellow.Position = UDim2.new(1,-125, 1, -35)
  144.  
  145. Yellow.Name = "Yellow"
  146.  
  147. Yellow.Text = ""
  148.  
  149. Yellow.Visible = false
  150.  
  151. Pink.BackgroundColor3 = BrickColor.new("Hot pink").Color
  152.  
  153. Pink.Transparency = 0.5
  154.  
  155. Pink.Size = UDim2.new(0, 20 ,0, 20)
  156.  
  157. Pink.Position = UDim2.new(1,-155, 1, -35)
  158.  
  159. Pink.Name = "Pink"
  160.  
  161. Pink.Text = ""
  162.  
  163. Pink.Visible = false
  164.  
  165. LightBlue.BackgroundColor3 = BrickColor.new("Cyan").Color
  166.  
  167. LightBlue.Transparency = 0.5
  168.  
  169. LightBlue.Size = UDim2.new(0, 20 ,0, 20)
  170.  
  171. LightBlue.Position = UDim2.new(1,-185, 1, -35)
  172.  
  173. LightBlue.Name = "LightBlue"
  174.  
  175. LightBlue.Text = ""
  176.  
  177. LightBlue.Visible = false
  178.  
  179. White.BackgroundColor3 = BrickColor.new("White").Color
  180.  
  181. White.Transparency = 0.5
  182.  
  183. White.Size = UDim2.new(0, 20 ,0, 20)
  184.  
  185. White.Position = UDim2.new(1,-215, 1, -35)
  186.  
  187. White.Name = "White"
  188.  
  189. White.Text = ""
  190.  
  191. White.Visible = false
  192.  
  193. FireFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  194.  
  195. FireFalse.Transparency = 0.5
  196.  
  197. FireFalse.Size = UDim2.new(0, 50 ,0, 20)
  198.  
  199. FireFalse.Position = UDim2.new(1,-65, 1, -65)
  200.  
  201. FireFalse.Name = "FireFalse"
  202.  
  203. FireFalse.Text = "Fire: F"
  204.  
  205. FireFalse.Visible = false
  206.  
  207. FireFalse.FontSize = "Size12"
  208.  
  209. FireFalse.Font = "ArialBold"
  210.  
  211. FireFalse.TextColor = BrickColor.new(255,255,255)
  212.  
  213. FireFalse.TextTransparency = 0
  214.  
  215. FireTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  216.  
  217. FireTrue.Transparency = 0.5
  218.  
  219. FireTrue.Size = UDim2.new(0, 50 ,0, 20)
  220.  
  221. FireTrue.Position = UDim2.new(1,-65, 1, -65)
  222.  
  223. FireTrue.Name = "FireTrue"
  224.  
  225. FireTrue.Text = "Fire: T"
  226.  
  227. FireTrue.Visible = false
  228.  
  229. FireTrue.FontSize = "Size12"
  230.  
  231. FireTrue.Font = "ArialBold"
  232.  
  233. FireTrue.TextColor = BrickColor.new(255,255,255)
  234.  
  235. FireTrue.TextTransparency = 0
  236.  
  237. SparklesTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  238.  
  239. SparklesTrue.Transparency = 0.5
  240.  
  241. SparklesTrue.Size = UDim2.new(0, 50 ,0, 20)
  242.  
  243. SparklesTrue.Position = UDim2.new(1,-125, 1, -65)
  244.  
  245. SparklesTrue.Name = "SparklesTrue"
  246.  
  247. SparklesTrue.Text = "SP: T"
  248.  
  249. SparklesTrue.Visible = false
  250.  
  251. SparklesTrue.FontSize = "Size12"
  252.  
  253. SparklesTrue.Font = "ArialBold"
  254.  
  255. SparklesTrue.TextColor = BrickColor.new(255,255,255)
  256.  
  257. SparklesTrue.TextTransparency = 0
  258.  
  259. SparklesFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  260.  
  261. SparklesFalse.Transparency = 0.5
  262.  
  263. SparklesFalse.Size = UDim2.new(0, 50 ,0, 20)
  264.  
  265. SparklesFalse.Position = UDim2.new(1,-125, 1, -65)
  266.  
  267. SparklesFalse.Name = "SparklesFalse"
  268.  
  269. SparklesFalse.Text = "SP: F"
  270.  
  271. SparklesFalse.Visible = false
  272.  
  273. SparklesFalse.FontSize = "Size12"
  274.  
  275. SparklesFalse.Font = "ArialBold"
  276.  
  277. SparklesFalse.TextColor = BrickColor.new(255,255,255)
  278.  
  279. SparklesFalse.TextTransparency = 0
  280.  
  281. BoxTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  282.  
  283. BoxTrue.Transparency = 0.5
  284.  
  285. BoxTrue.Size = UDim2.new(0, 50 ,0, 20)
  286.  
  287. BoxTrue.Position = UDim2.new(1,-185, 1, -65)
  288.  
  289. BoxTrue.Name = "BoxTrue"
  290.  
  291. BoxTrue.Text = "Box: T"
  292.  
  293. BoxTrue.Visible = false
  294.  
  295. BoxTrue.FontSize = "Size12"
  296.  
  297. BoxTrue.Font = "ArialBold"
  298.  
  299. BoxTrue.TextColor = BrickColor.new(255,255,255)
  300.  
  301. BoxTrue.TextTransparency = 0
  302.  
  303. BoxFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  304.  
  305. BoxFalse.Transparency = 0.5
  306.  
  307. BoxFalse.Size = UDim2.new(0, 50 ,0, 20)
  308.  
  309. BoxFalse.Position = UDim2.new(1,-185, 1, -65)
  310.  
  311. BoxFalse.Name = "BoxFalse"
  312.  
  313. BoxFalse.Text = "Box: F"
  314.  
  315. BoxFalse.Visible = false
  316.  
  317. BoxFalse.FontSize = "Size12"
  318.  
  319. BoxFalse.Font = "ArialBold"
  320.  
  321. BoxFalse.TextColor = BrickColor.new(255, 255, 255)
  322.  
  323. BoxFalse.TextTransparency = 0
  324.  
  325. local Credits = Instance.new("ScreenGui",Player.PlayerGui)
  326.  
  327. local Text = Instance.new("TextLabel",Credits)
  328.  
  329. Text.BackgroundTransparency = 1
  330.  
  331. Text.Position = UDim2.new(0, 0, 1, -25)
  332.  
  333. Text.Size = UDim2.new(0, 200, 0, 25)
  334.  
  335. Text.Font = "SourceSans"
  336.  
  337. Text.FontSize = "Size24"
  338.  
  339. Text.Text = "By AzuLX, Issac and Pingu - GSans Script."
  340.  
  341. Text.TextColor3 = Color3.new(255, 255, 255)
  342.  
  343. Text.TextXAlignment = "Left"
  344.  
  345. local bawl = Instance.new("Part", game.Lighting)
  346.  
  347. bawl.Name="TelekinesisGrab"
  348.  
  349. local bp = Instance.new("BodyPosition", bawl)
  350.  
  351. local w = Instance.new("Weld", bawl)
  352.  
  353. function onButton1Down(mouse)
  354.  
  355. bawl.Size = Vector3.new(2,2,2)
  356.  
  357. bawl.Material="Neon"
  358.  
  359. bawl.Shape=0
  360.  
  361. bawl.Transparency=trans
  362.  
  363. bawl.Name="TelekinesisGrab"
  364.  
  365. bawl.CanCollide = false
  366.  
  367. bawl.Parent = game.Workspace
  368.  
  369. w.Parent = bawl
  370.  
  371. w.Name = "Weld"
  372.  
  373. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  374.  
  375. bp.Parent = bawl
  376.  
  377. bp.Name="lolx"
  378.  
  379. bawl.Parent = workspace
  380.  
  381. if mouse ~= nil then
  382.  
  383. if mouse.Target ~= nil then
  384.  
  385. w.Part0 = mouse.Target
  386.  
  387. w.Part1 = bawl
  388.  
  389. dwn = true
  390.  
  391. if mouse.Target.Parent:FindFirstChild("Humanoid") then
  392.  
  393. mouse.Target.Parent:FindFirstChild("Humanoid").PlatformStand=true
  394.  
  395. else
  396.  
  397. print('no humanoid')
  398.  
  399. end
  400.  
  401. end
  402.  
  403. end
  404.  
  405. spawn(function()
  406.  
  407. while dwn == true do
  408.  
  409. ypcall(function()
  410.  
  411. bp.Parent = bawl
  412.  
  413. bp.position = Player.Character.Torso.Position + (mouse.Hit.lookVector*dist)
  414.  
  415. wait()
  416.  
  417. end)
  418.  
  419. end
  420.  
  421. end)
  422.  
  423. end
  424.  
  425. function onButton1Up(mouse)
  426.  
  427. dwn=false
  428.  
  429. if bawl ~= nil then
  430.  
  431. bawl.Parent=game.Lighting
  432.  
  433. else
  434.  
  435. print('not found')
  436.  
  437. end
  438.  
  439. end
  440.  
  441. function onKeyDown(key, mouse)
  442.  
  443. key:lower()
  444.  
  445. if key == "r" then
  446.  
  447. if bawl ~= nil then
  448.  
  449. --bawl.Parent=nil
  450.  
  451. end
  452.  
  453. elseif key == "e" then
  454.  
  455. local p = Instance.new("Part", workspace)
  456.  
  457. p.Size = Vector3.new(3,3,3)
  458.  
  459. p.Material = "Neon"
  460.  
  461. p.Position = mouse.Hit.p + Vector3.new(0,2,0)
  462.  
  463. p.BrickColor = bawl.BrickColor
  464.  
  465. p.Shape = "Ball"
  466.  
  467. p.BottomSurface = "Smooth"
  468.  
  469. p.TopSurface = "Smooth"
  470.  
  471. elseif key == "h" then
  472.  
  473. if bawl ~= nil then
  474.  
  475. if bawl:FindFirstChild("Weld") ~= nil then
  476.  
  477. if bawl:FindFirstChild("Weld").Part0 ~= nil then
  478.  
  479. bawl:FindFirstChild("Weld").Part0.Anchored=false
  480.  
  481. end
  482.  
  483. end
  484.  
  485. end
  486.  
  487. elseif key == "g" then
  488.  
  489. if bawl ~= nil then
  490.  
  491. local x = Instance.new("Explosion",workspace)
  492.  
  493. x.Position=bawl.Position
  494.  
  495. else
  496.  
  497. print('some sort of error')
  498.  
  499. end
  500.  
  501. elseif key == "x" then
  502.  
  503. dist=dist - 5
  504.  
  505. elseif key == "c" then
  506.  
  507. dist=15
  508.  
  509. elseif key == "v" then
  510.  
  511. dist=100
  512.  
  513. elseif key == "z" then
  514.  
  515. dist=dist + 5
  516.  
  517. end
  518.  
  519. end
  520.  
  521. FireX = 0
  522.  
  523. FireY = 0
  524.  
  525. FireZ = 0
  526.  
  527. SPX = 0
  528.  
  529. SPY = 0
  530.  
  531. SPZ = 0
  532.  
  533. BoxColor = "White"
  534.  
  535. FireFalse.MouseButton1Down:connect(function ()
  536.  
  537. local Fire = Instance.new("Fire", bawl)
  538. Fire.Color = Color3.new(FireX,FireY,FireZ)
  539.  
  540. Player.PlayerGui.ScreenGui.FireFalse.Visible = false
  541.  
  542. Player.PlayerGui.ScreenGui.FireTrue.Visible = true
  543.  
  544. Fire.Color = Color3.new(FireX,FireY,FireZ)
  545.  
  546. end)
  547.  
  548. FireTrue.MouseButton1Down:connect(function ()
  549.  
  550. bawl.Fire:remove()
  551.  
  552. Player.PlayerGui.ScreenGui.FireFalse.Visible = true
  553.  
  554. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  555.  
  556. end)
  557.  
  558. SparklesFalse.MouseButton1Down:connect(function ()
  559.  
  560. local SP = Instance.new("Sparkles", bawl)
  561. SP.Color = Color3.new(SPX,SPY,SPZ)
  562.  
  563. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
  564.  
  565. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = true
  566.  
  567. end)
  568.  
  569. SparklesTrue.MouseButton1Down:connect(function ()
  570.  
  571. bawl.Sparkles:remove()
  572.  
  573. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
  574.  
  575. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  576.  
  577. end)
  578.  
  579. BoxFalse.MouseButton1Down:connect(function ()
  580.  
  581. local Box = Instance.new("SelectionBox", bawl)
  582. Box.Color = BrickColor.new(BoxColor)
  583. Box.Adornee = Box.Parent
  584.  
  585. Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
  586.  
  587. Player.PlayerGui.ScreenGui.BoxTrue.Visible = true
  588.  
  589. end)
  590.  
  591. BoxTrue.MouseButton1Down:connect(function ()
  592.  
  593. bawl.SelectionBox:remove()
  594.  
  595. Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
  596.  
  597. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  598.  
  599. end)
  600.  
  601. Blue.MouseButton1Down:connect(function ()
  602.  
  603. if bawl ~= nil then
  604.  
  605. bawl.BrickColor = BrickColor.new("Bright blue")
  606.  
  607. FireX = 0
  608. FireY = 0
  609. FireZ = 255
  610.  
  611. SPX = 0
  612. SPY = 0
  613. SPZ = 255
  614.  
  615. BoxColor = "Bright blue"
  616.  
  617. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,0,255)
  618.  
  619. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,0,255)
  620.  
  621. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright blue")
  622.  
  623. end
  624.  
  625. end)
  626.  
  627. Red.MouseButton1Down:connect(function ()
  628.  
  629. if bawl ~= nil then
  630.  
  631. bawl.BrickColor = BrickColor.new("Bright red")
  632.  
  633. FireX = 255
  634. FireY = 0
  635. FireZ = 0
  636.  
  637. SPX = 255
  638. SPY = 0
  639. SPZ = 0
  640.  
  641. BoxColor = "Bright red"
  642.  
  643. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,0)
  644.  
  645. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,0)
  646.  
  647. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright red")
  648.  
  649. end
  650.  
  651. end)
  652.  
  653. Green.MouseButton1Down:connect(function ()
  654.  
  655. if bawl ~= nil then
  656.  
  657. bawl.BrickColor = BrickColor.new("Bright green")
  658.  
  659. FireX = 0
  660. FireY = 255
  661. FireZ = 0
  662.  
  663. SPX = 0
  664. SPY = 255
  665. SPZ = 0
  666.  
  667. BoxColor = "Bright green"
  668.  
  669. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,0)
  670.  
  671. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,0)
  672.  
  673. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright green")
  674.  
  675. end
  676.  
  677. end)
  678.  
  679. Yellow.MouseButton1Down:connect(function ()
  680.  
  681. if bawl ~= nil then
  682.  
  683. bawl.BrickColor = BrickColor.new("New Yeller")
  684.  
  685. FireX = 255
  686. FireY = 255
  687. FireZ = 0
  688.  
  689. SPX = 255
  690. SPY = 255
  691. SPZ = 0
  692.  
  693. BoxColor = "New Yeller"
  694.  
  695. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,0)
  696.  
  697. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,0)
  698.  
  699. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("New Yeller")
  700.  
  701. end
  702.  
  703. end)
  704.  
  705. Pink.MouseButton1Down:connect(function ()
  706.  
  707. if bawl ~= nil then
  708.  
  709. bawl.BrickColor = BrickColor.new("Hot pink")
  710.  
  711. FireX = 255
  712. FireY = 0
  713. FireZ = 255
  714.  
  715. SPX = 255
  716. SPY = 0
  717. SPZ = 255
  718.  
  719. BoxColor = "Hot pink"
  720.  
  721. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,255)
  722.  
  723. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,255)
  724.  
  725. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Hot pink")
  726.  
  727. end
  728.  
  729. end)
  730.  
  731. LightBlue.MouseButton1Down:connect(function ()
  732.  
  733. if bawl ~= nil then
  734.  
  735. bawl.BrickColor = BrickColor.new("Cyan")
  736.  
  737. FireX = 0
  738. FireY = 255
  739. FireZ = 255
  740.  
  741. SPX = 0
  742. SPY = 255
  743. SPZ = 255
  744.  
  745. BoxColor = "Cyan"
  746.  
  747. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,255)
  748.  
  749. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,255)
  750.  
  751. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Cyan")
  752.  
  753. end
  754.  
  755. end)
  756.  
  757.  
  758. White.MouseButton1Down:connect(function ()
  759.  
  760. if bawl ~= nil then
  761.  
  762. bawl.BrickColor = BrickColor.new("White")
  763.  
  764. FireX = 255
  765. FireY = 255
  766. FireZ = 255
  767.  
  768. SPX = 255
  769. SPY = 255
  770. SPZ = 255
  771.  
  772. BoxColor = "White"
  773.  
  774. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,255)
  775.  
  776. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,255)
  777.  
  778. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("White")
  779.  
  780. end
  781.  
  782. end)
  783.  
  784. Bin.Selected:connect(function ()
  785.  
  786. Fire = false
  787.  
  788. Player.PlayerGui.ScreenGui.Blue.Visible = true
  789.  
  790. Player.PlayerGui.ScreenGui.Red.Visible = true
  791.  
  792. Player.PlayerGui.ScreenGui.Green.Visible = true
  793.  
  794. Player.PlayerGui.ScreenGui.Yellow.Visible = true
  795.  
  796. Player.PlayerGui.ScreenGui.Pink.Visible = true
  797.  
  798. Player.PlayerGui.ScreenGui.LightBlue.Visible = true
  799.  
  800. Player.PlayerGui.ScreenGui.White.Visible = true
  801.  
  802. Player.PlayerGui.ScreenGui.FireFalse.Visible = true
  803.  
  804. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  805.  
  806. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
  807.  
  808. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  809.  
  810. Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
  811.  
  812. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  813.  
  814. end)
  815.  
  816. Bin.Deselected:connect(function ()
  817.  
  818. Fire = false
  819.  
  820. Player.PlayerGui.ScreenGui.Blue.Visible = false
  821.  
  822. Player.PlayerGui.ScreenGui.Red.Visible = false
  823.  
  824. Player.PlayerGui.ScreenGui.Green.Visible = false
  825.  
  826. Player.PlayerGui.ScreenGui.Yellow.Visible = false
  827.  
  828. Player.PlayerGui.ScreenGui.Pink.Visible = false
  829.  
  830. Player.PlayerGui.ScreenGui.LightBlue.Visible = false
  831.  
  832. Player.PlayerGui.ScreenGui.White.Visible = false
  833.  
  834. Player.PlayerGui.ScreenGui.FireFalse.Visible = false
  835.  
  836. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  837.  
  838. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
  839.  
  840. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  841.  
  842. Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
  843.  
  844. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  845.  
  846. end)
  847.  
  848. Bin.Selected:connect(function(mouse)
  849.  
  850. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  851.  
  852. mouse.Button1Up:connect(function() onButton1Up(mouse) end)
  853.  
  854. mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end)
  855.  
  856. end)
  857. print 'Telek script has loaded, credit to Krystal and rocky2u'
  858. dot = false
  859. des = false
  860. local ChatService = game:GetService("Chat")
  861. local player = game.Players.LocalPlayer
  862. char = player.Character
  863. hum = char.Humanoid
  864. torso = hum.Torso
  865. lig = Instance.new("PointLight",player.Character.Torso)
  866. lig.Color=Color3.new(0,255,255)
  867. m=player:GetMouse()
  868. bb = Instance.new("BillboardGui",player.Character.Head)
  869. bb.Enabled = true
  870. bb.AlwaysOnTop = true
  871. bb.Size = UDim2.new(0,200,0,50)
  872. bb.StudsOffset = Vector3.new(0,1,0)
  873. gui=Instance.new("TextBox",bb)
  874. gui.Text = "* "
  875. gui.Size = UDim2.new(0,133,0,45)
  876. gui.Position=UDim2.new(0,57,0,-40)
  877. gui.TextColor3 = Color3.new(255,255,255)
  878. gui.BackgroundColor3=Color3.new(0,0,0)
  879. gui.TextWrapped = true
  880. gui.TextScaled = true
  881. gui.TextXAlignment = "Left"
  882. gui.TextYAlignment = "Top"
  883. gui.Visible = false
  884. gui.BorderColor3 = Color3.new(0,0,0)
  885.  
  886. gui1=Instance.new("TextButton",bb)
  887. gui1.Position=UDim2.new(0,5,0,-43)
  888. gui1.Size = UDim2.new(0,190,0,51)
  889.  
  890. gui1.TextColor3 = Color3.new(255,255,255)
  891. gui1.BackgroundColor3=Color3.new(255,255,255)
  892.  
  893. gui1.Visible = false
  894. img = Instance.new("ImageLabel",bb)
  895. img.Size = UDim2.new(0,46,0,47)
  896. img.Position = UDim2.new(0,10,0,-41)
  897. img.Image = "rbxassetid://388166921"
  898. img.BorderColor3 = Color3.new(0,0,0)
  899. img.Visible = false
  900. asd = Instance.new("Sound",player.Character.Torso)
  901. asd.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  902.  
  903. asd1 = Instance.new("Sound",player.Character.Torso)
  904. asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  905.  
  906. asd2 = Instance.new("Sound",player.Character.Torso)
  907. asd2.SoundId = "http://www.roblox.com/asset/?id = 940531164"
  908. asd2.Looped = true
  909. asd3 = Instance.new("Sound",player.Character.Torso)
  910. asd3.SoundId = "http://www.roblox.com/asset/?id = 316014309"
  911. asd3.Looped = true
  912. asd4 = Instance.new("Sound",player.Character.Torso)
  913. asd4.SoundId = "http://www.roblox.com/asset/?id = 388938813"
  914. asd4.Looped = false
  915. asd5 = Instance.new("Sound",player.Character.Torso)
  916. asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
  917. asd5.Looped = true
  918. dunkd = Instance.new("Sound",player.Character.Torso)
  919. dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
  920. dunkd.Looped = false
  921. function play(play)
  922. asd:Play()
  923. asd1:Play()
  924. end
  925. eye = Instance.new("Part",player.Character)
  926. eye.BrickColor = BrickColor.new("Toothpaste")
  927. eye.Material = "Neon"
  928. eye.FormFactor = 3
  929. eye.Shape = "Ball"
  930. eye.Size = Vector3.new(0.37,0.37,0.1)
  931. weld = Instance.new("Weld",eye)
  932. weld.Part0 = eye
  933. weld.Part1 = player.Character.Head
  934. weld.C0 = CFrame.new(0.1,-0.2,0.45)
  935. eye.Transparency = 1
  936. -- listen for their chatting
  937. player.Chatted:connect(function(message)
  938. a = string.len(message)
  939. gui.Text = "* "
  940. gui.Visible = true
  941. gui1.Visible = true
  942. des = false
  943. img.Visible = true
  944. print(a)
  945. if dot == false then
  946. for i = 1,string.len(message) do wait(0.07)
  947. gui.Text =gui.Text..message:sub(i,i)
  948.  
  949. play()
  950. end
  951. end
  952.  
  953. des = true
  954. end)
  955. m.KeyDown:connect(function(k)
  956. if k == "g" then
  957. asd2:Play()
  958. eye.Transparency = 0
  959.  
  960. end
  961. end)
  962. m.KeyDown:connect(function(k)
  963. if k == "p" then
  964. eye.Transparency = 1
  965. asd3:Play()
  966. end
  967. end)
  968. m.KeyDown:connect(function(k)
  969. if k == "r" then
  970. eye.Transparency = 0
  971. asd4:Play()
  972. end
  973. end)
  974. m.KeyDown:connect(function(k)
  975. if k == "q" then
  976. eye.Transparency = 1
  977. asd5:Play()
  978. end
  979. end)
  980. m.KeyDown:connect(function(k)
  981. if k == "z" then
  982.  
  983. img.Image = "rbxassetid://388167098"
  984. end
  985. end)
  986. m.KeyDown:connect(function(k)
  987. if k == "c" then
  988. img.Image = "rbxassetid://388166921"
  989. end
  990. end)
  991. m.KeyDown:connect(function(k)
  992. if k == "n" then
  993. img.Image = "rbxassetid://388166991"
  994. end
  995. end)
  996. m.KeyDown:connect(function(k)
  997. if k == "b" then
  998. img.Image = "rbxassetid://378060690"
  999. end
  1000. end)
  1001. m.KeyDown:connect(function(k)
  1002. if k == "m" then
  1003. img.Image = "rbxassetid://378609498"
  1004. end
  1005. end)
  1006. m.KeyDown:connect(function(k)
  1007. if k == "v" then
  1008. img.Image = "rbxassetid://388166961"
  1009. end
  1010. end)
  1011. m.KeyDown:connect(function(k)
  1012. if k == "h" then
  1013. img.Image = "rbxassetid://378577428"
  1014. end
  1015. end)
  1016. m.KeyDown:connect(function(k)
  1017. if k == "j" then
  1018. img.Image = "rbxassetid://388167116"
  1019. end
  1020. end)
  1021. m.KeyDown:connect(function(k)
  1022. if k == "l" then
  1023. img.Image = "rbxassetid://388167154"
  1024. print("You take your very last breath...")
  1025. asdd = Instance.new("Sound",player.Character.Torso)
  1026. asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055"
  1027. asdd.Looped = false
  1028. spawn(function()
  1029. wait()
  1030. asdd:Play()
  1031. end)
  1032. wait(2)
  1033. asddd = Instance.new("Sound",player.Character.Torso)
  1034. asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672"
  1035. asddd.Looped = false
  1036. spawn(function()
  1037. wait()
  1038. asddd:Play()
  1039. end)
  1040. wait(2)
  1041. asdded = Instance.new("Sound",player.Character.Torso)
  1042. asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
  1043. asdded.Looped = false
  1044. spawn(function()
  1045. wait()
  1046. asdded:Play()
  1047. end)
  1048. char:BreakJoints()
  1049. end
  1050. end)
  1051. m.KeyDown:connect(function(k)
  1052. if k == "x" then
  1053. if des == true then
  1054. gui.Visible = false
  1055. gui.Text = "* "
  1056. gui1.Visible = false
  1057. img.Visible = false
  1058. end
  1059. end
  1060. end)
  1061. m.KeyDown:connect(function(k)
  1062. if k == "f" then
  1063. asd3:Stop()
  1064. asd2:Stop()
  1065. asd4:Stop()
  1066. dunkd:Stop()
  1067. eye.Transparency = 1
  1068. asd5:Stop()
  1069. end
  1070. end)
  1071. m.KeyDown:connect(function(k)
  1072. if k == "u" then
  1073. dunkd = Instance.new("Sound",player.Character.Torso)
  1074. dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
  1075. dunkd.Looped = false
  1076. dunkd:Play()
  1077. end
  1078. end)
  1079. m.KeyDown:connect(function(k)
  1080. if k == "y" then
  1081. img.Image = "rbxassetid://378198656"
  1082. end
  1083. end)
  1084. -- my god...
  1085. -- Suck_HiyaThere moves to arizona
  1086.  
  1087. --------------------------------------------------------
  1088.  
  1089. pls = game:GetService'Players'
  1090. rs = game:GetService'RunService'
  1091. uinps = game:GetService'UserInputService'
  1092. lp = pls.LocalPlayer
  1093. mouse = lp:GetMouse()
  1094. c = lp.Character
  1095. human = c.Humanoid
  1096. human.MaxHealth = 50
  1097. soundVol = 0
  1098. wait()
  1099. human.Health = 50
  1100. c.Health:Destroy()
  1101.  
  1102. --------------------------------------------------------
  1103.  
  1104. Debounces = {
  1105. AnimationCycles = 0;
  1106. FPS = 0;
  1107. scalingDamage = false;
  1108. damageLevel = 0;
  1109. attackNumber = 0;
  1110. isAttacking = false;
  1111. isMoving = false;
  1112. isSprinting = false;
  1113. isBoosting = false;
  1114. isPassive = false;
  1115. isTyping = false;
  1116. }
  1117.  
  1118. --------------------------------------------------------
  1119.  
  1120. numLerp = function(start, goal, alpha)
  1121. return(((goal - start) * alpha) + start)
  1122. end
  1123.  
  1124. CFrameZero = function()
  1125. return CFrame.new(Vector3.new())
  1126. end
  1127.  
  1128. rad = function(value)
  1129. return math.rad(value)
  1130. end
  1131.  
  1132. CFAngles = function(Vector)
  1133. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  1134. end
  1135.  
  1136. --------------------------------------------------------
  1137.  
  1138. AnimStat = {
  1139. lerpSpeed = .2;
  1140. lerpSpeed2 = .35;
  1141. lerpTween = 0;
  1142. }
  1143.  
  1144. Joints = {
  1145. c.HumanoidRootPart.RootJoint;
  1146. c.Torso.Neck;
  1147. c.Torso['Left Shoulder'];
  1148. c.Torso['Right Shoulder'];
  1149. c.Torso['Left Hip'];
  1150. c.Torso['Right Hip'];
  1151. }
  1152.  
  1153. JointTargets = {
  1154. CFrameZero();
  1155. CFrameZero();
  1156. CFrameZero();
  1157. CFrameZero();
  1158. CFrameZero();
  1159. CFrameZero();
  1160. }
  1161.  
  1162. --------------------------------------------------------
  1163.  
  1164. BodyColors = {
  1165. HeadColor = BrickColor.new("Institutional white");
  1166. LeftArmColor = BrickColor.new("Institutional white");
  1167. RightArmColor = BrickColor.new("Institutional white");
  1168. LeftLegColor = BrickColor.new("Institutional white");
  1169. RightLegColor = BrickColor.new("Institutional white");
  1170. TorsoColor = BrickColor.new("Mid gray");
  1171. }
  1172.  
  1173. Customs = {
  1174. Face = "http://www.roblox.com/asset/?id=8560915";
  1175. Shirt = "http://www.roblox.com/asset/?id=334781688";
  1176. Pants = "http://www.roblox.com/asset/?id=335237283";
  1177. }
  1178.  
  1179. --------------------------------------------------------
  1180.  
  1181. prepareCharacter = function()
  1182. local transPoints = {
  1183. NumberSequenceKeypoint.new(0,0,0),
  1184. NumberSequenceKeypoint.new(.4,.05,0),
  1185. NumberSequenceKeypoint.new(.8,.16,0),
  1186. NumberSequenceKeypoint.new(1,.25,0)
  1187. }
  1188. local sizePoints = {
  1189. NumberSequenceKeypoint.new(0,.5,0),
  1190. NumberSequenceKeypoint.new(.18,.5,0),
  1191. NumberSequenceKeypoint.new(.49,.69,0),
  1192. NumberSequenceKeypoint.new(.74,.5,0),
  1193. NumberSequenceKeypoint.new(.92,.25,0),
  1194. NumberSequenceKeypoint.new(1,.0625,0)
  1195. }
  1196. local Size = NumberSequence.new(sizePoints)
  1197. local Transparency = NumberSequence.new(transPoints)
  1198. rayModel = Instance.new("Model",c)
  1199. efxBlock = Instance.new("Part",c)
  1200. efxBlock.Material = "Neon"
  1201. efxBlock.FormFactor = "Custom"
  1202. efxBlock.Size = Vector3.new(.3,.3,.3)
  1203. light = Instance.new("PointLight",c.Head)
  1204. light.Range = 8
  1205. light.Color = Color3.new(1,1,1)
  1206. light.Shadows = false
  1207. local particles = Instance.new("ParticleEmitter",efxBlock)
  1208. particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1))
  1209. particles.ZOffset = 1
  1210. particles.LightEmission = .96
  1211. particles.Size = Size
  1212. particles.Name = "Fire"
  1213. particles.Transparency = Transparency
  1214. particles.LockedToPart = true
  1215. particles.Rate = 25
  1216. particles.EmissionDirection = "Right"
  1217. particles.Acceleration = Vector3.new(-.5,0,0)
  1218. particles.Texture = "rbxassetid://24378732"
  1219. particles.Lifetime = NumberRange.new(.25,.25)
  1220. particles.Speed = NumberRange.new(-.5,5)
  1221. script.Parent = efxBlock
  1222. fire = particles
  1223. local offset = Vector3.new(0.2, .23, -0.5)
  1224. local weld = Instance.new("Weld",c.Head)
  1225. weld.Part0 = c.Head
  1226. weld.Part1 = efxBlock
  1227. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1228. efxBlock.Parent = c
  1229. local music = Instance.new("Sound",c.Torso)
  1230. music.SoundId = "rbxassetid://316012176"
  1231. music.Looped = true
  1232. music.Volume = soundVol
  1233. fight = music
  1234. local music2 = Instance.new("Sound",c.Torso)
  1235. music2.SoundId = "rbxassetid://316014309"
  1236. music2.Looped = true
  1237. music2.Volume = soundVol
  1238. sans = music2
  1239. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  1240. pointGyro.P = 1e7
  1241. pointGyro.D = 1e3
  1242. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  1243. animator = c.Humanoid:FindFirstChild("Animator")
  1244. if animator then
  1245. animator:Destroy()
  1246. end
  1247. c.Torso.roblox:Destroy()
  1248. for i,v in pairs (c.Head:children()) do
  1249. if v.ClassName == "Sound" then
  1250. v:Destroy()
  1251. end
  1252. end
  1253. for i = 1,#Joints do
  1254. Joints[i].C1 = CFrame.new(Vector3.new())
  1255. end
  1256. human.WalkSpeed = 0
  1257. human.JumpPower = 0
  1258. end
  1259.  
  1260. uinps.InputBegan:connect(function(InputObject)
  1261. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  1262. Debounces.isPassive = not Debounces.isPassive
  1263. end
  1264. end)
  1265.  
  1266. setJointCFrames = function(table)
  1267. for i = 1,#table do
  1268. JointTargets[i] = table[i]
  1269. end
  1270. AnimationCycles = 0
  1271. end
  1272.  
  1273. setLerp = function(speed)
  1274. AnimStat.lerpSpeed = speed
  1275. end
  1276.  
  1277. setTween = function(tween)
  1278. AnimStat.lerpTween = tween
  1279. end
  1280.  
  1281. takeDamage = function(position,damage,distance,platformStand)
  1282. for i,v in pairs (pls:children()) do
  1283. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  1284. local torso = v.Character:FindFirstChild("Torso")
  1285. if torso and (torso.Position - position).magnitude < distance then
  1286. if v.Character.Humanoid.MaxHealth > 1000 then
  1287. v.Character.Humanoid.MaxHealth = 100;
  1288. v.Character.Humanoid.Breakjoints()
  1289. end
  1290.  
  1291.  
  1292. v.Character.Humanoid:TakeDamage(damage)
  1293. if platformStand == true then
  1294. v.Character.PlatformStand = platformStand
  1295. end
  1296. end
  1297. end
  1298. end
  1299. end
  1300.  
  1301. --------------------------------------------------------
  1302.  
  1303. prepareCharacter()
  1304.  
  1305. --------------------------------------------------------
  1306.  
  1307. spawn(function()
  1308. local sine = 0
  1309. while wait() do
  1310. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  1311. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  1312. setLerp(.1)
  1313. if Debounces.isPassive == true then
  1314. setJointCFrames({
  1315. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1316. CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001));
  1317. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  1318. CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511));
  1319. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  1320. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  1321. })
  1322. else
  1323. setJointCFrames({
  1324. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1325. CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001));
  1326. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  1327. CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511));
  1328. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  1329. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  1330. })
  1331. end
  1332. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  1333. sine = sine + math.rad(12)
  1334. human.WalkSpeed = 15
  1335. setLerp(.15)
  1336. setJointCFrames({
  1337. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  1338. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  1339. CFrame.new(Vector3.new(-1.97, 0 + math.sin(sine + .5)/20, 0.1 + math.sin(-sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(sine) * 23, 0, 0));
  1340. CFrame.new(Vector3.new(1.97, 0 - math.sin(sine + .5)/20, 0.1 + math.sin(sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(-sine) * 23, 0, 0));
  1341. CFrame.new(Vector3.new(-0.5, -1.93 - math.cos(sine)/8.7, 0.2 + math.sin(sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(-sine) * 30, 0, 0));
  1342. CFrame.new(Vector3.new(0.5, -1.93 + math.cos(sine)/8.7, 0.2 + math.sin(-sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(sine) * 30, 0, 0));
  1343. })
  1344. end
  1345. if Debounces.scalingDamage == true then
  1346. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  1347. end
  1348. end
  1349. end)
  1350.  
  1351. human.Changed:connect(function(prop)
  1352. if prop == "MoveDirection" then
  1353. if human.MoveDirection.magnitude > .02 then
  1354. Debounces.isMoving = true
  1355. else
  1356. Debounces.isMoving = false
  1357. end
  1358. end
  1359. end)
  1360.  
  1361. uinps.InputBegan:connect(function(InputObject)
  1362. if InputObject.KeyCode == Enum.KeyCode.A and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1363. Debounces.isBoosting = true
  1364. Debounces.damageLevel = 10
  1365. Debounces.scalingDamage = true
  1366. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1367. setLerp(.15)
  1368. setJointCFrames({
  1369. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  1370. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  1371. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  1372. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  1373. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  1374. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  1375. })
  1376. local boostSpeed = 250
  1377. local efx = Instance.new("Sound",c.Head)
  1378. efx.SoundId = "rbxassetid://200632875"
  1379. efx.Pitch = math.random(1100,1300)/1000
  1380. efx.Volume = .5
  1381. efx:Play()
  1382. spawn(function()
  1383. wait(5)
  1384. efx:Destroy()
  1385. end)
  1386. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  1387. vel.P = 1e3
  1388. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1389. wait(.15)
  1390. vel.P = 1000
  1391. vel.MaxForce = Vector3.new(3000,0,3000)
  1392. vel.Velocity = Vector3.new()
  1393. wait(.3)
  1394. setLerp(.3)
  1395. setJointCFrames({
  1396. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  1397. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  1398. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  1399. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  1400. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  1401. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  1402. })
  1403. wait(.2)
  1404. vel:Destroy()
  1405. Debounces.damageLevel = 0
  1406. Debounces.scalingDamage = false
  1407. Debounces.isBoosting = false
  1408. end
  1409. end)
  1410.  
  1411. uinps.InputBegan:connect(function(InputObject)
  1412. if InputObject.KeyCode == Enum.KeyCode.D and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1413. Debounces.isBoosting = true
  1414. Debounces.damageLevel = 10
  1415. Debounces.scalingDamage = true
  1416. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1417. setLerp(.15)
  1418. setJointCFrames({
  1419. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  1420. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  1421. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  1422. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  1423. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  1424. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  1425. })
  1426. local boostSpeed = 250
  1427. local efx = Instance.new("Sound",c.Head)
  1428. efx.SoundId = "rbxassetid://200632875"
  1429. efx.Pitch = math.random(1100,1300)/1000
  1430. efx.Volume = .5
  1431. efx:Play()
  1432. spawn(function()
  1433. wait(5)
  1434. efx:Destroy()
  1435. end)
  1436. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  1437. vel.P = 1e3
  1438. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1439. wait(.15)
  1440. vel.P = 1000
  1441. vel.MaxForce = Vector3.new(3000,0,3000)
  1442. vel.Velocity = Vector3.new()
  1443. wait(.3)
  1444. setLerp(.3)
  1445. setJointCFrames({
  1446. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  1447. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1448. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1449. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1450. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1451. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1452. })
  1453. wait(.2)
  1454. vel:Destroy()
  1455. Debounces.damageLevel = 0
  1456. Debounces.scalingDamage = false
  1457. Debounces.isBoosting = false
  1458. end
  1459. end)
  1460.  
  1461. uinps.InputBegan:connect(function(InputObject)
  1462. if InputObject.KeyCode == Enum.KeyCode.W and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1463. Debounces.isBoosting = true
  1464. Debounces.damageLevel = 10
  1465. Debounces.scalingDamage = true
  1466. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1467. setLerp(.15)
  1468. setJointCFrames({
  1469. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  1470. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  1471. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  1472. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  1473. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  1474. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1475. })
  1476. local boostSpeed = 250
  1477. local efx = Instance.new("Sound",c.Head)
  1478. efx.SoundId = "rbxassetid://200632875"
  1479. efx.Pitch = math.random(1100,1300)/1000
  1480. efx.Volume = .5
  1481. efx:Play()
  1482. spawn(function()
  1483. wait(5)
  1484. efx:Destroy()
  1485. end)
  1486. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  1487. vel.P = 1e3
  1488. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1489. wait(.15)
  1490. vel.P = 1000
  1491. vel.MaxForce = Vector3.new(3000,0,3000)
  1492. vel.Velocity = Vector3.new()
  1493. wait(.3)
  1494. setLerp(.3)
  1495. setJointCFrames({
  1496. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  1497. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1498. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1499. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1500. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1501. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1502. })
  1503. wait(.2)
  1504. vel:Destroy()
  1505. Debounces.damageLevel = 0
  1506. Debounces.scalingDamage = false
  1507. Debounces.isBoosting = false
  1508. end
  1509. end)
  1510.  
  1511. uinps.InputBegan:connect(function(InputObject)
  1512. if InputObject.KeyCode == Enum.KeyCode.S and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1513. Debounces.isBoosting = true
  1514. Debounces.damageLevel = 10
  1515. Debounces.scalingDamage = true
  1516. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1517. setLerp(.15)
  1518. setJointCFrames({
  1519. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  1520. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  1521. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  1522. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  1523. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  1524. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1525. })
  1526. local boostSpeed = 150
  1527. local boostSpeed = 250
  1528. local efx = Instance.new("Sound",c.Head)
  1529. efx.SoundId = "rbxassetid://200632875"
  1530. efx.Pitch = math.random(1100,1300)/1000
  1531. efx.Volume = .5
  1532. efx:Play()
  1533. spawn(function()
  1534. wait(5)
  1535. efx:Destroy()
  1536. end)
  1537. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  1538. vel.P = 1e3
  1539. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1540. wait(.15)
  1541. vel.P = 1000
  1542. vel.MaxForce = Vector3.new(3000,0,3000)
  1543. vel.Velocity = Vector3.new()
  1544. wait(.3)
  1545. setLerp(.3)
  1546. setJointCFrames({
  1547. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  1548. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  1549. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  1550. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  1551. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  1552. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  1553. })
  1554. wait(.2)
  1555. vel:Destroy()
  1556. Debounces.damageLevel = 0
  1557. Debounces.scalingDamage = false
  1558. Debounces.isBoosting = false
  1559. end
  1560. end)
  1561.  
  1562. uinps.InputBegan:connect(function(InputObject)
  1563. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1564. local isLooping = true
  1565. uinps.InputEnded:connect(function(InputObject2)
  1566. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1567. isLooping = false
  1568. end
  1569. end)
  1570. while true do
  1571. if isLooping == false then
  1572. break
  1573. end
  1574. Debounces.attackNumber = Debounces.attackNumber + 1
  1575. local aimPos = mouse.Hit.p
  1576. local head = Instance.new("Part",c)
  1577. head.Size = Vector3.new(12,.2,12)
  1578. head.CanCollide = false
  1579. head.Anchored = true
  1580. head.Transparency = 1
  1581. for i = 1,2 do
  1582. local decal = Instance.new("Decal",head)
  1583. decal.Texture = "rbxassetid://323497117"
  1584. if i == 1 then
  1585. decal.Face = Enum.NormalId.Top
  1586. else
  1587. decal.Face = Enum.NormalId.Bottom
  1588. end
  1589. end
  1590. if Debounces.attackNumber%2 == 1 then
  1591. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1592. else
  1593. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1594. end
  1595. spawn(function()
  1596. local timer = 0
  1597. while rs.RenderStepped:wait() do
  1598. if timer >= 1.55 then
  1599. break
  1600. end
  1601. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1602. timer = timer + 1/30/(Debounces.FPS/60)
  1603. end
  1604. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1605. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1606. local hit, pos = workspace:FindPartOnRay(ray,c)
  1607. local dis = (head.CFrame.p - pos).magnitude
  1608. local rayPart = Instance.new("Part",rayModel)
  1609. rayPart.Material = "Neon"
  1610. rayPart.FormFactor = "Custom"
  1611. rayPart.BrickColor = BrickColor.new(1,1,1)
  1612. rayPart.Anchored = true
  1613. rayPart.CanCollide = false
  1614. rayPart.Size = Vector3.new(7,7,dis + 400)
  1615. local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
  1616. rayPart.CFrame = rayCFrame
  1617. head:Destroy()
  1618. end)
  1619. wait()
  1620. local s = Instance.new("Sound",head)
  1621. s.Volume = 1
  1622. s.SoundId = "rbxassetid://332223043"
  1623. s:Play()
  1624. wait(.04)
  1625. end
  1626. end
  1627. end)
  1628.  
  1629. uinps.InputBegan:connect(function(InputObj)
  1630. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1631. Debounces.isAttacking = true
  1632. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1633. local head = Instance.new("Part",c)
  1634. head.Size = Vector3.new(18,.2,18)
  1635. head.CanCollide = false
  1636. head.Anchored = true
  1637. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1638. head.Transparency = 1
  1639. for i = 1,2 do
  1640. local decal = Instance.new("Decal",head)
  1641. decal.Texture = "rbxassetid://323497117"
  1642. if i == 1 then
  1643. decal.Face = Enum.NormalId.Top
  1644. else
  1645. decal.Face = Enum.NormalId.Bottom
  1646. end
  1647. end
  1648. setLerp(.1)
  1649. setJointCFrames({
  1650. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1651. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1652. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1653. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1654. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1655. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1656. })
  1657. spawn(function()
  1658. local timer = 0
  1659. while rs.RenderStepped:wait() do
  1660. if timer >= 1.55/.8 then
  1661. break
  1662. end
  1663. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1664. timer = timer + 1/30/(Debounces.FPS/60)
  1665. end
  1666. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1667. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1668. local hit, pos = workspace:FindPartOnRay(ray,c)
  1669. local dis = (head.CFrame.p - pos).magnitude
  1670. local rayPart = Instance.new("Part",rayModel)
  1671. rayPart.Material = "Neon"
  1672. rayPart.FormFactor = "Custom"
  1673. rayPart.Name = "Punch"
  1674. rayPart.BrickColor = BrickColor.new(1,1,1)
  1675. rayPart.Anchored = true
  1676. rayPart.CanCollide = false
  1677. rayPart.Size = Vector3.new(28,28,dis + 400)
  1678. local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
  1679. rayPart.CFrame = rayCFrame
  1680. head:Destroy()
  1681. end)
  1682. wait()
  1683. local s = Instance.new("Sound",head)
  1684. s.Volume = 1
  1685. s.SoundId = "rbxassetid://332223043"
  1686. s.Pitch = .8
  1687. s:Play()
  1688. wait(.75)
  1689. setLerp(.17)
  1690. setJointCFrames({
  1691. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1692. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1693. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1694. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1695. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1696. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1697. })
  1698. wait(.5)
  1699. Debounces.isAttacking = false
  1700. end
  1701. end)
  1702.  
  1703. reflect = function(d,n)
  1704. local i, n = -1 * d.unit, n.unit
  1705. local dot = n:Dot(i)
  1706. return 2*dot*n - i
  1707. end
  1708.  
  1709. makeReflectionBeam = function(pos,look,isCrit)
  1710. local ray = Ray.new(pos,look)
  1711. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  1712. local e = Instance.new("Part",rayModel)
  1713. e.Anchored = true
  1714. e.CanCollide = false
  1715. e.BrickColor = BrickColor.new("White")
  1716. e.Material = "Neon"
  1717. e.FormFactor = "Custom"
  1718. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  1719. if isCrit == true then
  1720. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  1721. e.Name = "Punch"
  1722. end
  1723. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  1724. local e = Instance.new("Sound",c)
  1725. if isCrit == true then
  1726. e.Volume = .5
  1727. else
  1728. e.Volume = .3
  1729. e.Pitch = 1.5
  1730. end
  1731. e.SoundId = "rbxassetid://200632875"
  1732. e:Play()
  1733. spawn(function()
  1734. wait(6)
  1735. e:Destroy()
  1736. end)
  1737. wait(.05)
  1738. if hit ~= nil then
  1739. newDir = reflect(look.unit,norm,isCrit)
  1740. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  1741. end
  1742. end
  1743.  
  1744. uinps.InputBegan:connect(function(InputObject)
  1745. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  1746. local isLooping = true
  1747. uinps.InputEnded:connect(function(InputObject2)
  1748. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1749. isLooping = false
  1750. end
  1751. end)
  1752. while true do
  1753. if isLooping == false then
  1754. break
  1755. end
  1756. Debounces.attackNumber = Debounces.attackNumber + 1
  1757. local aimPos = mouse.Hit.p
  1758. local head = Instance.new("Part",c)
  1759. head.Size = Vector3.new(12,.2,12)
  1760. head.CanCollide = false
  1761. head.Anchored = true
  1762. head.Transparency = 1
  1763. for i = 1,2 do
  1764. local decal = Instance.new("Decal",head)
  1765. decal.Texture = "rbxassetid://323497117"
  1766. if i == 1 then
  1767. decal.Face = Enum.NormalId.Top
  1768. else
  1769. decal.Face = Enum.NormalId.Bottom
  1770. end
  1771. end
  1772. if Debounces.attackNumber%2 == 1 then
  1773. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1774. else
  1775. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1776. end
  1777. spawn(function()
  1778. local timer = 0
  1779. while rs.RenderStepped:wait() do
  1780. if timer >= 1.55 then
  1781. break
  1782. end
  1783. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1784. timer = timer + 1/30/(Debounces.FPS/60)
  1785. end
  1786. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1787. head:Destroy()
  1788. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  1789. end)
  1790.  
  1791. wait()
  1792. local s = Instance.new("Sound",head)
  1793. s.Volume = 1
  1794. s.SoundId = "rbxassetid://332223043"
  1795. s.Pitch = 1.02
  1796. s:Play()
  1797. wait(.2)
  1798. end
  1799. end
  1800. end)
  1801.  
  1802. uinps.InputBegan:connect(function(InputObj)
  1803. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  1804. Debounces.isAttacking = true
  1805. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1806. local head = Instance.new("Part",c)
  1807. head.Size = Vector3.new(18,.2,18)
  1808. head.CanCollide = false
  1809. head.Anchored = true
  1810. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1811. head.Transparency = 1
  1812. for i = 1,2 do
  1813. local decal = Instance.new("Decal",head)
  1814. decal.Texture = "rbxassetid://323497117"
  1815. if i == 1 then
  1816. decal.Face = Enum.NormalId.Top
  1817. else
  1818. decal.Face = Enum.NormalId.Bottom
  1819. end
  1820. end
  1821. setLerp(.1)
  1822. setJointCFrames({
  1823. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1824. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1825. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1826. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1827. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1828. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1829. })
  1830. spawn(function()
  1831. local timer = 0
  1832. while rs.RenderStepped:wait() do
  1833. if timer >= 1.55/.8 then
  1834. break
  1835. end
  1836. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1837. timer = timer + 1/30/(Debounces.FPS/60)
  1838. end
  1839. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1840. head:Destroy()
  1841. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  1842. end)
  1843. wait()
  1844. local s = Instance.new("Sound",head)
  1845. s.Volume = 2
  1846. s.SoundId = "rbxassetid://332223043"
  1847. s.Pitch = .8
  1848. s:Play()
  1849. wait(.75)
  1850. setLerp(.17)
  1851. setJointCFrames({
  1852. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1853. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1854. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1855. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1856. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1857. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1858. })
  1859. wait(.5)
  1860. Debounces.isAttacking = false
  1861. end
  1862. end)
  1863.  
  1864. uinps.InputBegan:connect(function(InputObj)
  1865. if InputObj.KeyCode == Enum.KeyCode.Slash then
  1866. local finishEvent = nil
  1867. Debounces.isTyping = true
  1868. finishEvent = uinps.InputBegan:connect(function(InputObj)
  1869. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  1870. Debounces.isTyping = false
  1871. finishEvent:disconnect()
  1872. end
  1873. end)
  1874. end
  1875. end)
  1876.  
  1877. uinps.InputBegan:connect(function(InputObj)
  1878. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1879. Debounces.isSprinting = true
  1880. end
  1881. end)
  1882.  
  1883. uinps.InputEnded:connect(function(InputObj)
  1884. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1885. Debounces.isSprinting = false
  1886. end
  1887. end)
  1888.  
  1889. rs.RenderStepped:connect(function()
  1890. Debounces.FPS = 1/rs.RenderStepped:wait()
  1891. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  1892. if Debounces.isPassive == false then
  1893. fight:Pause()
  1894. sans:Resume()
  1895. efxBlock.Transparency = 1
  1896. else
  1897. fight:Resume()
  1898. sans:Pause()
  1899. efxBlock.Transparency = 0
  1900. end
  1901. for i,v in pairs (rayModel:children()) do
  1902. if v.Transparency >= 1 then
  1903. v:Destroy()
  1904. else
  1905. v.CanCollide = true
  1906. local parts = v:GetTouchingParts()
  1907. v.CanCollide = false
  1908. for i = 1,#parts do
  1909. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  1910. parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  1911. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  1912. parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  1913. end
  1914. end
  1915. v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  1916. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  1917. end
  1918. end
  1919. for i = 1,#Joints do
  1920. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  1921. end
  1922. light.Brightness = math.random(1,4)
  1923. end)
  1924. -- ~CLarramore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement