Upscalefanatic3

Sans Script

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