lafur

Untitled

Sep 9th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 63.15 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 --- note dreamer is better then you
  6. --ahahahahahahahahahs
  7. --[[
  8. req list
  9.  
  10. heart control (the force)
  11.  
  12. teleport
  13.  
  14. bone zone
  15.  
  16. throw bones
  17. --]]
  18.  
  19. local Level=999999999
  20. local function RiseLevel(hum,dmg)
  21. if tonumber(Level)then
  22. if hum.Health>0 and hum.Health-dmg<=0 then Level=Level+1
  23. local s=Instance.new("Sound")end--s. end
  24. else warn'String is not able to level up , or having issure to level.'end
  25. end
  26.  
  27. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  28. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  29. local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  30. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  31. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  32. local R3 = {N=Region3.new}
  33. local De = S.Debris
  34. local WS = workspace
  35. local Lght = S.Lighting
  36. local RepS = S.ReplicatedStorage
  37. local IN = Instance.new
  38. local Plrs = S.Players
  39. local Plr = Plrs.LocalPlayer
  40. local Char = Plr.Character
  41. local Hum = Char:FindFirstChildOfClass'Humanoid'
  42. local RArm = Char["Right Arm"]
  43. local LArm = Char["Left Arm"]
  44. local RLeg = Char["Right Leg"]
  45. local LLeg = Char["Left Leg"]
  46. local Root = Char:FindFirstChild'HumanoidRootPart'
  47. local Torso = Char.Torso
  48. local Head = Char.Head
  49. local NeutralAnims = true
  50. local Attack = false
  51. local Debounces = {Debounces={}}
  52. local Mouse = Plr:GetMouse()
  53. local Hit = {}
  54. local Sine = 0
  55. local Change = 1
  56. local BloodPuddles = {}
  57. local Glitching = false
  58. local Target;
  59. local Cam = workspace.CurrentCamera
  60. local Effects = IN("Folder",Char)
  61. Effects.Name = "Effects"
  62. local Kills = 0;
  63. local PlrGui = Plr:WaitForChild'PlayerGui'
  64. local Tired={n=0,m=10000,d=false}local DefAble=true
  65. local p = game:service'Players'.LocalPlayer
  66. local char = p.Character
  67. local mouse = p:GetMouse()
  68. local larm = char["Left Arm"]
  69. local rarm = char["Right Arm"]
  70. local lleg = char["Left Leg"]
  71. local rleg = char["Right Leg"]
  72. local hed = char.Head
  73. local Torso = char.Torso
  74. local hum = char.Humanoid
  75. local cam = workspace.CurrentCamera
  76. local root = char.HumanoidRootPart
  77. local deb = false
  78. local shot = 0
  79. local potential = false
  80. local debris=game:service"Debris"
  81. local l = game:GetService("Lighting")
  82. local rs = game:GetService("RunService").RenderStepped
  83. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  84. math.randomseed(os.time())
  85. for i,v in pairs(char:children()) do
  86. if v:IsA("Accessory") then
  87. v:Destroy()
  88. end
  89. end
  90. for i,v in pairs (hed:GetChildren()) do
  91. if v:IsA("Sound") then
  92. v:Destroy()
  93. end
  94. end
  95. music = Instance.new("Sound",c)
  96. music2 = Instance.new("Sound",c)
  97. local pl = game:service'Players'.LocalPlayer
  98. local chara = pl.Character
  99. local hum = chara:FindFirstChildOfClass("Humanoid")
  100. hum.MaxHealth = math.huge
  101. hum.Health = math.huge
  102. maincol = "White"
  103. increment = 20
  104. if 1 then
  105. local MovesGui=Instance.new("ScreenGui",p:FindFirstChildOfClass("PlayerGui"))
  106. local Frm=Instance.new("Frame",MovesGui)Frm.BackgroundColor3=Color3.new()Frm.BorderSizePixel=0
  107. Frm.BackgroundTransparency=.5 Frm.Size=UDim2.new(.3,0,.5,0)local Show=true Frm.Position=UDim2.new(.7,0,.5,0)
  108. local idk=Instance.new("TextButton",Frm)idk.Size=UDim2.new(.5,0,.1,0)idk.Position=UDim2.new(-.5,0,.8,0)
  109. idk.Text="Hide"idk.TextStrokeTransparency=0 idk.BackgroundTransparency=.5 idk.BackgroundColor3=Color3.new()
  110. idk.BorderSizePixel=0 idk.TextColor3=Color3.new(1,1,1)
  111. idk.MouseButton1Click:connect(function()Show=not Show idk.Text=Show and "Hide"or"Show"end)
  112. local normal=Instance.new("TextLabel",Frm)normal.Size=UDim2.new(1,0,1,0)normal.TextStrokeTransparency=0
  113. normal.BackgroundTransparency=1 normal.TextColor3=Color3.new(1,1,1)
  114. normal.TextXAlignment="Left"normal.TextYAlignment="Top"
  115. normal.Text=[[* Able to hold
  116. ! It changes function when sprint
  117. ----------------------------------
  118. K: Passive
  119. !*Q :Gaster Blaster (quick)
  120. ! E :Gaster Blaster (high damage)
  121. T :Teleport
  122. F :Bone Zone
  123. *G :Bone Throw
  124. *C :Heart Control
  125. Shift : Sprint
  126.  
  127. Void is comming
  128. ]]
  129. spawn(function()
  130. while game:service'RunService'.RenderStepped:wait()do
  131. Frm.Position=Frm.Position:lerp(UDim2.new(not Show and 1 or .7,0,.5,0),.1)
  132. end end)
  133. end
  134. --------------------------------------------------------
  135.  
  136. function Debounces:New(name,cooldown)
  137. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  138. setmetatable(aaaaa,{__index = Debounces})
  139. Debounces.Debounces[name] = aaaaa
  140. return aaaaa
  141. end
  142. function Debounces:Use(overrideUsable)
  143. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  144. if(self.Usable or overrideUsable)then
  145. self.Usable = false
  146. self.CoolingDown = true
  147. local LastUse = time()
  148. self.LastUse = LastUse
  149. delay(self.Cooldown or 2,function()
  150. if(self.LastUse == LastUse)then
  151. self.CoolingDown = false
  152. self.Usable = true
  153. end
  154. end)
  155. end
  156. end
  157. function Debounces:Get(name)
  158. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  159. for i,v in next, Debounces.Debounces do
  160. if(i == name)then
  161. return v;
  162. end
  163. end
  164. end
  165. function Debounces:GetProgressPercentage()
  166. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  167. if(self.CoolingDown and not self.Usable)then
  168. return math.max(
  169. math.floor(
  170. (
  171. (time()-self.LastUse)/self.Cooldown or 2
  172. )*100
  173. )
  174. )
  175. else
  176. return 100
  177. end
  178. end
  179.  
  180. local ArtificialHB = IN("BindableEvent", script)
  181. ArtificialHB.Name = "Heartbeat"
  182.  
  183. local baseSound = IN("Sound")
  184. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  185. local Sound = baseSound:Clone()
  186. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  187. Sound.Pitch = pitch or 1
  188. Sound.Volume = volume or 1
  189. Sound.Looped = looped or false
  190. if(autoPlay)then
  191. coroutine.wrap(function()
  192. repeat wait() until Sound.IsLoaded
  193. Sound.Playing = autoPlay or false
  194. end)()
  195. end
  196. if(not looped and effect)then
  197. Sound.Stopped:connect(function()
  198. Sound.Volume = 0
  199. Sound:destroy()
  200. end)
  201. elseif(effect)then
  202. warn("Sound can't be looped and a sound effect!")
  203. end
  204. Sound.Parent =parent or Torso
  205. return Sound
  206. end
  207. function Part(parent,color,material,size,cframe,anchored,cancollide)
  208. local part = IN("Part")
  209. part.Parent = parent or Char
  210. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  211. part.Material = material or Enum.Material.SmoothPlastic
  212. part.TopSurface,part.BottomSurface=10,10
  213. part.Size = size or V3.N(1,1,1)
  214. part.CFrame = cframe or CF.N(0,0,0)
  215. part.CanCollide = cancollide or false
  216. part.Anchored = anchored or false
  217. return part
  218. end
  219. function Weld(part0,part1,c0,c1)
  220. local weld = IN("Weld")
  221. weld.Parent = part0
  222. weld.Part0 = part0
  223. weld.Part1 = part1
  224. weld.C0 = c0 or CF.N()
  225. weld.C1 = c1 or CF.N()
  226. return weld
  227. end
  228. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  229. local part = IN("SpecialMesh")
  230. part.MeshId = meshid or ""
  231. part.TextureId = textid or ""
  232. part.Scale = scale or V3.N(1,1,1)
  233. part.Offset = offset or V3.N(0,0,0)
  234. part.MeshType = meshtype or Enum.MeshType.Sphere
  235. part.Parent = parent
  236. return part
  237. end
  238. NewInstance = function(instance,parent,properties)
  239. local inst = Instance.new(instance)
  240. inst.Parent = parent
  241. if(properties)then
  242. for i,v in next, properties do
  243. pcall(function() inst[i] = v end)
  244. end
  245. end
  246. return inst;
  247. end
  248. function Clone(instance,parent,properties)
  249. local inst = instance:Clone()
  250. inst.Parent = parent
  251. if(properties)then
  252. for i,v in next, properties do
  253. pcall(function() inst[i] = v end)
  254. end
  255. end
  256. return inst;
  257. end
  258. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  259. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  260. local Sound = IN("Sound")
  261. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  262. Sound.Pitch = pitch or 1
  263. Sound.Volume = volume or 1
  264. Sound.Looped = looped or false
  265. if(autoPlay)then
  266. coroutine.wrap(function()
  267. repeat wait() until Sound.IsLoaded
  268. Sound.Playing = autoPlay or false
  269. end)()
  270. end
  271. if(not looped and effect)then
  272. Sound.Stopped:connect(function()
  273. Sound.Volume = 0
  274. soundPart:destroy()
  275. end)
  276. elseif(effect)then
  277. warn("Sound can't be looped and a sound effect!")
  278. end
  279. Sound.Parent = soundPart
  280. return Sound
  281. end
  282.  
  283. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  284. function CamShake(who,times,intense,origin)
  285. coroutine.wrap(function()
  286. if(script:FindFirstChild'CamShake')then
  287. local cam = script.CamShake:Clone()
  288. cam:WaitForChild'intensity'.Value = intense
  289. cam:WaitForChild'times'.Value = times
  290.  
  291. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  292. cam.Parent = who
  293. wait()
  294. cam.Disabled = false
  295. elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then
  296. local intensity = intense
  297. if(Hum and not Hum:FindFirstChild'CamShaking')then
  298. local cam = workspace.CurrentCamera
  299. local oCO = Hum.CameraOffset
  300. local cs = Instance.new("BoolValue",Hum)
  301. cs.Name = "CamShaking"
  302. for i = 1, times do
  303. local camDistFromOrigin
  304. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  305. camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin.Position).magnitude )/25
  306. elseif(typeof(origin) == 'Vector3')then
  307. camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin).magnitude )/25
  308. end
  309. if(camDistFromOrigin)then
  310. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  311. end
  312. if(Hum)then
  313. Hum.CameraOffset = Vector3.new(math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200)
  314. end
  315. swait()
  316. end
  317. if(Hum)then
  318. Hum.CameraOffset = oCO
  319. end
  320. cs:destroy()
  321. end
  322. end
  323. end)()
  324. end
  325.  
  326.  
  327. local gui = NewInstance("ScreenGui",PlrGui,{})
  328. local txt = NewInstance("TextLabel",gui,{TextStrokeTransparency=.3,TextStrokeColor3=C3.RGB(0,0,0),Font=Enum.Font.Antique,BackgroundTransparency=1,Size=UDim2.new(.48,0,.1,0),Position=UDim2.new(.279,0,.842,0),Text='GASTER',TextColor3=C3.RGB(255,255,255),TextScaled=true,TextWrapped=true,})
  329. local ktxt = NewInstance("TextLabel",gui,{TextStrokeTransparency=.3,TextStrokeColor3=C3.RGB(0,0,0),Font=Enum.Font.Antique,BackgroundTransparency=1,Size=UDim2.new(.48,0,.1,0),Position=UDim2.new(.279,0,.742,0),Text='W.D.',TextColor3=C3.RGB(255,255,255),TextScaled=true,TextWrapped=true,})
  330.  
  331. function CastRay(startPos,endPos,range,ignoreList)
  332. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  333. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  334. return part,pos,norm,(pos and (startPos-pos).magnitude)
  335. end
  336.  
  337. function getRegion(point,range,ignore)
  338. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  339. end
  340.  
  341. function clerp(startCF,endCF,alpha)
  342. return startCF:lerp(endCF, alpha)
  343. end
  344.  
  345. function GetTorso(char)
  346. return char and (char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart')
  347. end
  348.  
  349. function swait(num)
  350. if num == 0 or num == nil then
  351. ArtificialHB.Event:wait()
  352. else
  353. for i = 0, num do
  354. ArtificialHB.Event:wait()
  355. end
  356. end
  357. end
  358.  
  359. coroutine.wrap(function()
  360. while true do
  361. if(M.RNG(1,350) == 1 and not Glitching)then
  362. for i = 1, M.RNG(100,300)/100 do
  363. local TP = mus.TimePosition
  364. Glitching = true
  365. swait(M.RNG(15,30))
  366. Glitching = false
  367. mus.TimePosition = TP
  368. end
  369. end
  370. swait()
  371. end
  372. end)()
  373.  
  374. local Texts = {"INSANITY","BURN","DIE","CRY","VOODOO","NO STRINGS ATTACHED"}
  375. coroutine.wrap(function()
  376. while true do
  377. if(M.RNG(1,65) >= (Glitching and 5 or 40))then
  378. local frame = NewInstance("Frame",gui,{Size=UDim2.new(.26,0,.07,0),BackgroundTransparency=1,Position=UDim2.new(M.RNG(0,100)/100,0,M.RNG(0,100)/100,0)})
  379. local fat = Texts[M.RNG(1,#Texts)]
  380. local toxt = "";
  381. for i = 1, #fat do
  382. if(M.RNG(1,2) == 1)then
  383. toxt = toxt..fat:sub(i,i):lower()
  384. else
  385. toxt = toxt..fat:sub(i,i)
  386. end
  387. end
  388. local rot = M.RNG(-15,15)
  389. local txt = NewInstance('TextLabel',frame,{Rotation=rot,TextTransparency=1,Text=toxt,TextColor3=C3.N(M.RNG(50,100)/100,0,0),FontSize=M.RNG(8,14),Font=Enum.Font.Antique})
  390. coroutine.wrap(function()
  391. for i = 1, 30 do
  392. swait()
  393. txt.Rotation = rot+M.RNG(-15,15)
  394. txt.TextTransparency = txt.TextTransparency - 1/30
  395. end
  396. for i = 1, 30 do
  397. swait()
  398. txt.Rotation = rot+M.RNG(-15,15)
  399. txt.TextTransparency = txt.TextTransparency + 1/30
  400. end
  401. txt:destroy()
  402. end)()
  403. end
  404. wait()
  405. end
  406. end) ()
  407. --------------------------------------------------------
  408. hed.face.Texture = "rbxassetid://382064532"
  409. chara:WaitForChild"Body Colors"
  410. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  411. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  412. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  413. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  414. char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
  415. char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
  416. ---------------------------------------
  417. ypcall(function()
  418. shirt = Instance.new("Shirt", char)
  419. shirt.Name = "Shirt"
  420. pants = Instance.new("Pants", char)
  421. pants.Name = "Pants"
  422. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=415270465"
  423. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=380670039"
  424. end)
  425. --------------------------------------------------------
  426.  
  427. mus = Instance.new("Sound", game.Players.LocalPlayer.Character)
  428. mus.Volume = 3
  429. mus.SoundId = "rbxassetid://632244280"
  430. mus.Looped = true
  431.  
  432. intro = Instance.new("Sound", game.Players.LocalPlayer.Character)
  433. intro.Volume = 3
  434. intro.SoundId = "rbxassetid://366168126"
  435. intro.Looped = true
  436. intro:Play()
  437.  
  438. --------------------------------------------------------
  439. CV="Eggplant"
  440. p = game.Players.LocalPlayer
  441. char = p.Character
  442. local txt = Instance.new("BillboardGui", char)
  443. txt.Adornee = char .Head
  444. txt.Name = "_status"
  445. txt.Size = UDim2.new(2, 0, 0.5, 0)
  446. txt.StudsOffset = Vector3.new(-9, 8, 0)
  447. local text = Instance.new("TextLabel", txt)
  448. text.Size = UDim2.new(10, 0, 7, 0)
  449. text.FontSize = "Size24"
  450. text.TextScaled = true
  451. text.TextTransparency = 0
  452. text.BackgroundTransparency = 1
  453. text.TextTransparency = 0
  454. text.TextStrokeTransparency = 0
  455. text.Font = "Arcade"
  456. text.TextStrokeColor3 = Color3.new(255,255,255)
  457.  
  458. v=Instance.new("Part")
  459. v.Name = "ColorBrick"
  460. v.Parent=p.Character
  461. v.FormFactor="Symmetric"
  462. v.Anchored=true
  463. v.CanCollide=false
  464. v.BottomSurface="Smooth"
  465. v.TopSurface="Smooth"
  466. v.Size=Vector3.new(10,5,3)
  467. v.Transparency=1
  468. v.CFrame=char.Torso.CFrame
  469. v.BrickColor=BrickColor.new(CV)
  470. v.Transparency=1
  471. text.TextColor3 = Color3.new(0,0,0)
  472. v.Shape="Block"
  473. wait()
  474. text.Text = "DARK..."
  475. wait(2)
  476. text.Text = "DARKER..."
  477. wait(2)
  478. text.Text = "YET DARKER..."
  479. wait(2)
  480. text.Text = "THE DARKNESS KEEPS GROWING"
  481. wait(4)
  482. text.Text = "THE SHADOWS CUTTING DEEPER"
  483. wait(4)
  484. text.Text = "PHOTON READINGS NEGATIVE"
  485. wait(4)
  486. text.Text = "THIS NEXT EXPERIMENT"
  487. wait(3)
  488. text.Text = "SEEMS"
  489. wait(3)
  490. text.Text = "VERY..."
  491. wait(3)
  492. text.Text = "VERY"
  493. wait(3)
  494. text.Text = "INTERESTING"
  495. wait(5)
  496. text.Text = "..."
  497. wait(5)
  498. text.Text = "WHAT DO YOU TWO THINK?";
  499. wait(3)
  500. intro:Stop()
  501. mus:Play()
  502. text.TextColor3 = Color3.new(0,0,0)
  503. spawn(function()while wait()do text.Text = "Gaster LV"..tostring(Level)end end)
  504. hed.face.Texture = "rbxassetid://382064532"
  505. --------------------------------------------------------
  506. pls = game:GetService'Players'
  507. rs = game:GetService'RunService'
  508. uinps = game:GetService'UserInputService'
  509. lp = pls.LocalPlayer
  510. mouse = lp:GetMouse()
  511. c = lp.Character
  512. human = c.Humanoid
  513. human.MaxHealth = 1/0
  514. wait()
  515. human.Health = 0/0
  516. c.Health:Destroy()
  517. --------------------------------------------------------
  518.  
  519. --------------------------------------------------------
  520.  
  521. Debounces = {
  522. AnimationCycles = 0;
  523. FPS = 0;
  524. scalingDamage = false;
  525. damageLevel = 0;
  526. attackNumber = 0;
  527. isAttacking = false;
  528. isMoving = false;
  529. isSprinting = false;
  530. isBoosting = false;
  531. isPassive = false;
  532. isTyping = false;
  533. }
  534.  
  535. --------------------------------------------------------
  536.  
  537. numLerp = function(start, goal, alpha)
  538. return(((goal - start) * alpha) + start)
  539. end
  540.  
  541. CFrameZero = function()
  542. return CFrame.new(Vector3.new())
  543. end
  544.  
  545. rad = function(value)
  546. return math.rad(value)
  547. end
  548.  
  549. CFAngles = function(Vector)
  550. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  551. end
  552.  
  553. --------------------------------------------------------
  554.  
  555. AnimStat = {
  556. lerpSpeed = .2;
  557. lerpSpeed2 = .35;
  558. lerpTween = 0;
  559. }
  560.  
  561. Joints = {
  562. c.HumanoidRootPart.RootJoint;
  563. c.Torso.Neck;
  564. c.Torso['Left Shoulder'];
  565. c.Torso['Right Shoulder'];
  566. c.Torso['Left Hip'];
  567. c.Torso['Right Hip'];
  568. }
  569.  
  570. JointTargets = {
  571. CFrameZero();
  572. CFrameZero();
  573. CFrameZero();
  574. CFrameZero();
  575. CFrameZero();
  576. CFrameZero();
  577. }
  578.  
  579. --------------------------------------------------------
  580.  
  581. BodyColors = {
  582. HeadColor = BrickColor.new("Institutional white");
  583. LeftArmColor = BrickColor.new("Institutional white");
  584. RightArmColor = BrickColor.new("Institutional white");
  585. LeftLegColor = BrickColor.new("Institutional white");
  586. RightLegColor = BrickColor.new("Institutional white");
  587. TorsoColor = BrickColor.new("Mid gray");
  588. }
  589.  
  590. Customs = {
  591. Face = "http://www.roblox.com/asset/?id=871052201";
  592. Shirt = "http://www.roblox.com/asset/?id=357134155";
  593. Pants = "http://www.roblox.com/asset/?id=343128366";
  594. }
  595.  
  596. --------------------------------------------------------
  597.  
  598. prepareCharacter = function()
  599. local transPoints = {
  600. NumberSequenceKeypoint.new(0,.819,.0375),
  601. NumberSequenceKeypoint.new(.207,.594,.0187),
  602. NumberSequenceKeypoint.new(.4,.55,.031),
  603. NumberSequenceKeypoint.new(.57,.619,.05),
  604. NumberSequenceKeypoint.new(.76,.8,.0375),
  605. NumberSequenceKeypoint.new(1,1,0),
  606. }
  607. local sizePoints = {
  608. NumberSequenceKeypoint.new(0,.687,0),
  609. NumberSequenceKeypoint.new(.111,.875,0),
  610. NumberSequenceKeypoint.new(.327,1.19,0),
  611. NumberSequenceKeypoint.new(.646,1.56,0),
  612. NumberSequenceKeypoint.new(.805,1.37,0),
  613. NumberSequenceKeypoint.new(.905,1.06,0),
  614. NumberSequenceKeypoint.new(.968,.938,0),
  615. NumberSequenceKeypoint.new(.984,1.13,0),
  616. NumberSequenceKeypoint.new(1,1.62,0),
  617. }
  618. local Size = NumberSequence.new(sizePoints)
  619. local Transparency = NumberSequence.new(transPoints)
  620. rayModel = Instance.new("Model",c)
  621. efcModel = Instance.new("Model",c)
  622. efxBlock = Instance.new("Part",c)
  623. efxBlock.BrickColor = BrickColor.new("Bright violet")
  624. efxBlock.Material = "Neon"
  625. efxBlock.FormFactor = "Custom"
  626. efxBlock.Transparency = 1
  627. efxBlock.Size = Vector3.new(.1,.1,.1)
  628. local mesh = Instance.new("SpecialMesh",efxBlock)
  629. mesh.MeshType = Enum.MeshType.Sphere
  630. mesh.Scale = Vector3.new(1,1,1)
  631. light = Instance.new("PointLight",c.Head)
  632. light.Range = 10
  633. light.Color = Color3.new(61, 21/255, 133)
  634. light.Shadows = false
  635. local particles = Instance.new("ParticleEmitter",efxBlock)
  636. particles.Color = ColorSequence.new(Color3.fromRGB(48,17,109))
  637. particles.LightEmission = .5
  638. particles.Size = Size
  639. particles.Name = "Fire"
  640. particles.Transparency = Transparency
  641. particles.LockedToPart = true
  642. particles.VelocityInheritance = .5
  643. particles.LockedToPart = true
  644. particles.Rate = 0
  645. particles.Texture = "rbxassetid://170478388"
  646. particles.Lifetime = NumberRange.new(2,2)
  647. particles.RotSpeed = NumberRange.new(100,100)
  648. particles.Speed = NumberRange.new(7,7)
  649. script.Parent = efxBlock
  650. fire = particles
  651. local offset = Vector3.new(-0.11, .23, -0.5)
  652. local weld = Instance.new("Weld",c.Head)
  653. weld.Part0 = c.Head
  654. weld.Part1 = efxBlock
  655. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40))
  656. efxBlock.Parent = c
  657. music.SoundId = "rbxassetid://316012176"
  658. music.Looped = true
  659. music.Volume = 0
  660. fight = music
  661. music2.SoundId = "rbxassetid://316014309"
  662. music2.Looped = true
  663. music2.Volume = 0
  664. sans = music2
  665. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  666. pointGyro.P = 1e7
  667. pointGyro.D = 1e3
  668. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  669. animator = c.Humanoid:FindFirstChild("Animator")
  670. if animator then
  671. animator:Destroy()
  672. end
  673. c.Torso.roblox:Destroy()
  674. for i,v in pairs (c.Head:children()) do
  675. if v.ClassName == "Sound" then
  676. v:Destroy()
  677. end
  678. end
  679. for i = 1,#Joints do
  680. Joints[i].C1 = CFrame.new(Vector3.new())
  681. end
  682. human.WalkSpeed = 0
  683. human.JumpPower = 0
  684. end
  685.  
  686. uinps.InputBegan:connect(function(InputObject)
  687. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  688. Debounces.isPassive = not Debounces.isPassive
  689. end
  690. end)
  691.  
  692. setJointCFrames = function(table)
  693. for i = 1,#table do
  694. JointTargets[i] = table[i]
  695. end
  696. AnimationCycles = 0
  697. end
  698.  
  699. setLerp = function(speed)
  700. AnimStat.lerpSpeed = speed
  701. end
  702.  
  703. setTween = function(tween)
  704. AnimStat.lerpTween = tween
  705. end
  706.  
  707. takeDamage = function(position,damage,distance,platformStand)
  708. for i,v in pairs (pls:children()) do
  709. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  710. local torso = v.Character:FindFirstChild("Torso")
  711. if torso and (torso.Position - position).magnitude < distance then
  712. RiseLevel(v.Character.Humanoid,damage)
  713. v.Character.Humanoid:TakeDamage(damage)
  714. if platformStand == true then
  715. v.Character.PlatformStand = platformStand
  716. end
  717. end
  718. end
  719. end
  720. end
  721.  
  722. --------------------------------------------------------
  723.  
  724. prepareCharacter()
  725.  
  726. --------------------------------------------------------
  727. hldng={}Player=p
  728. function chatfunc(text)
  729. spawn(function()local function lerp(a,b,t)return a*(1-t)+(b*t)end
  730. local rs=game:service'RunService'.RenderStepped
  731. local function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
  732. local Character=game:service'Players'.LocalPlayer.Character local RootPart=Character.HumanoidRootPart
  733. local se=Instance.new("Sound",root)se.Volume=5 se.SoundId="rbxassetid://417445954"
  734. if Character:FindFirstChild("cht")then Character.cht:Destroy()end
  735. local b=Instance.new("BillboardGui",Character)b.AlwaysOnTop=true b.Adornee=RootPart b.StudsOffsetWorldSpace=Vector3.new(0,4,0)b.Name="cht"
  736. local snum=text:len()b.Size=UDim2.new(snum/1.7,0,2,0)
  737. local texts={}
  738. for i=1,snum do
  739. texts[i]=Instance.new("TextButton",b)
  740. texts[i].Size=UDim2.new(1/snum,0,1,0)texts[i].Name=text:sub(i,i)--texts[i].TextSize=30
  741. texts[i].Text=text:sub(i,i)texts[i].Position=UDim2.new((i-1)/snum,0,.3,0)
  742. texts[i].BackgroundTransparency=1 texts[i].TextColor3=Color3.new(1)
  743. texts[i].TextStrokeTransparency=1 texts[i].Font="Cartoon"texts[i].TextScaled=1 texts[i].TextTransparency=1
  744. end
  745. local DoOpt=function(Set,Val,LerpB)for i=1,#texts do if texts[i].Parent and b.Parent then if LerpB~=nil then
  746. if typeof(texts[i][Set])=="UDim2"then texts[i][Set]=texts[i][Set]:lerp(Val,LerpB)else texts[i][Set]=lerp(texts[i][Set],Val,LerpB)end
  747. else texts[i][Set]=Val end end end end
  748. for i=1,#texts do
  749. if texts[i].Parent then
  750. texts[i].TextTransparency=0 texts[i].TextStrokeTransparency=0
  751. end
  752. if texts[i].Text~=" "then se.TimePosition=.06 se:Play()end
  753. sw(3)
  754. end
  755. sw(180)
  756. for i=1,0,-.025 do
  757. DoOpt("TextTransparency",1-i)--DoOpt("TextStrokeTransparency",1-i)
  758. sw()
  759. end
  760. b:Destroy()
  761. end)
  762. end Player.Chatted:connect(function(m)chatfunc(game:service'Chat':FilterStringAsync(m,Player,Player))end)
  763. mouse.KeyUp:connect(function(k)
  764. hldng[k]=nil
  765. end)
  766.  
  767. local function doit()
  768. if DefAble then
  769. return
  770. else
  771. if human.Health~=human.MaxHealth then
  772. DefAble=false
  773. human:Destroy()
  774. human=Instance.new("Humanoid",chara)Instance.new("Model",human).Name="Status"
  775. human.MaxHealth=1 human.Health=1
  776. human.HealthChanged:connect(doit)
  777. root.CFrame=root.CFrame*CFrame.new(0,0,10)
  778. hldng.r=nil warn"Dodged"
  779. Tired.n=Tired.n+10
  780. end
  781. end
  782. end
  783. dodge=human.HealthChanged:connect(doit)
  784. local sw=function(n)if n then for i=1,n do rs.RenderStepped:wait()end else rs.RenderStepped:wait()end end
  785. spawn(function()
  786. local sine = 0
  787. local idk=Instance.new("ScreenGui",p:FindFirstChildOfClass'PlayerGui')
  788. local frm=Instance.new("Frame",idk)frm.BorderSizePixel=0
  789. frm.BackgroundTransparency=.5 frm.Size=UDim2.new(.4,0,.03,0)
  790. frm.Position=UDim2.new(.3,0,.7,0)
  791.  
  792. local t=Instance.new("TextLabel",frm)t.Text="wait"t.BorderSizePixel=0
  793. t.TextColor3=Color3.new(1,1,1)t.TextStrokeTransparency=0-- t.TextScaled=1
  794. t.BackgroundTransparency=0 t.TextXAlignment="Left" t.BackgroundColor3=Color3.new(1)
  795. while wait()do
  796. t.Size=UDim2.new(Tired.n/Tired.m,0,1,0)
  797. if Tired.n>=Tired.m then
  798. Tired.n=Tired.m
  799. Tired.d=true
  800. end
  801. if Tired.d then
  802. Tired.n=Tired.n-5 DefAble=true hldng.r=nil
  803. end t.Text=tostring(math.floor(Tired.n*10)/10).."/"..tostring(Tired.m)
  804. if Tired.n<=0 then Tired.n=0 Tired.d=false end
  805. if DefAble then human.MaxHealth=1 human.Health=1 human.Name="Humanoid"else
  806. dodge:disconnect()human.MaxHealth=1 human.Health=1 dodge=human.HealthChanged:connect(doit)
  807.  
  808. end
  809.  
  810. if hldng.r then DefAble=false else DefAble=1 end
  811.  
  812. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  813. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  814. setLerp(.1)
  815. if Debounces.isPassive == true then --walk
  816. setJointCFrames({
  817. CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0));
  818. CFrame.new(Vector3.new(-0.001, 1.52 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(-10.861 + math.sin((-tick() + 2) * 1.5) * 5, 13.765, -1.658));
  819. CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0));
  820. CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15));
  821. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489));
  822. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001));
  823. })
  824. else
  825. setJointCFrames({
  826. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  827. 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));
  828. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  829. 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));
  830. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  831. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  832. })
  833. end
  834. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  835. sine = sine + math.rad(12) --else jump
  836. human.WalkSpeed = 15
  837. setLerp(.15)
  838. setJointCFrames({
  839. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  840. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  841. 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));
  842. 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));
  843. 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));
  844. 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));
  845. })
  846. end
  847. if Debounces.scalingDamage == true then
  848. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  849. end
  850. end
  851. end)
  852. human.Changed:connect(function(prop)
  853. if prop == "MoveDirection" then
  854. if human.MoveDirection.magnitude > .02 then
  855. Debounces.isMoving = true
  856. else
  857. Debounces.isMoving = false
  858. end
  859. end
  860. end)
  861. local dunkedon=false
  862. mouse.KeyDown:connect(function(k)
  863. hldng[k]=true
  864. if not Debounces.isAttacking then
  865. if k=="c"and not Tired.d and Debounces.isPassive then
  866. local GrabObj=mouse.Target
  867. local hum=nil
  868. if GrabObj then
  869. if not GrabObj.Anchored then
  870. if GrabObj.Parent then
  871. if GrabObj.Parent:FindFirstChild'Humanoid'then
  872. hum=GrabObj.Parent.Humanoid
  873. end
  874. end
  875. local jet=Instance.new("BodyPosition",GrabObj)
  876. if not hum then jet.D=2000 jet.P=2000 end
  877. while hldng.c and not Tired.d do
  878. jet.MaxForce=Vector3.new(10,10,10)*10000000
  879. jet.Position=mouse.Target~=nil and mouse.Hit.p or jet.Position
  880. Tired.n=Tired.n+((not hum or hum.Health==0) and 1 or 2)
  881. local vel=GrabObj.Velocity.x+GrabObj.Velocity.y+GrabObj.Velocity.z
  882. if hum and vel>20 then RiseLevel(hum,vel/400)hum.Health=hum.Health-vel/400 end
  883. sw()
  884. end
  885. jet:Destroy()
  886. else
  887. warn'The object is anchored!'
  888. end
  889. end
  890. end
  891. if k=="f"and not Tired.d and not dunkedon and Debounces.isPassive then
  892. dunkedon=true local pos=mouse.Hit.p
  893. Tired.n=Tired.n+100
  894. local idk=Instance.new("Part",efcModel)
  895. idk.Size=Vector3.new(2,80,80)local sp=Instance.new("SpecialMesh",idk)idk.Anchored=1 idk.CanCollide=nil
  896. sp.Scale=idk.Size*20 idk.Size=Vector3.new()idk.Color=Color3.new(1,.1,.1)sp.MeshType="Cylinder"
  897. idk.Transparency=.5 idk.CFrame=CFrame.new(pos)*CFrame.Angles(0,0,math.rad(90))
  898. idk.Material="SmoothPlastic"
  899. idk.Transparency=.5 sw(20)idk:Destroy()
  900. spawn(function()for i=1,300 do
  901. local pos=CFrame.new(pos)*CFrame.Angles(0,math.rad(math.random(360)),0)*CFrame.new(0,0,math.random(380)/10)*CFrame.Angles(0,math.rad(math.random(180)),0)+Vector3.new(0,-6,0)
  902. spawn(function()
  903. local p=Instance.new("Part",efcModel)
  904. p.Touched:connect(function(p)if p.Parent:FindFirstChild("Humanoid")then if p.Parent.Humanoid~=human then RiseLevel(p.Parent.Humanoid,1)p.Parent.Humanoid.Health=p.Parent.Humanoid.Health-1 end end end)
  905. p.Color=Color3.new(1,1,1)p.Size=Vector3.new(10,1,10)p.CFrame=pos
  906. local j=Instance.new("BodyVelocity",p)j.MaxForce=Vector3.new(1,1,1)/0 j.Velocity=Vector3.new()p.CanCollide=nil
  907. local m=Instance.new("SpecialMesh",p)m.MeshId="rbxassetid://465130937"
  908. m.Scale=Vector3.new(.05,.08,.05)/1.2
  909. spawn(function()
  910. for i=0,1,.05 do p.CFrame=p.CFrame+Vector3.new(0,.6,0)sw()end
  911. sw(10)for i=0,1,.05 do p.Transparency=i sw()end p:Destroy()
  912. end)
  913. end)
  914. sw()
  915. end
  916. end)
  917. wait(5)
  918.  
  919. dunkedon=false
  920. end
  921. end
  922. if Debounces.isPassive and k=="g"then
  923. while hldng.g and not Tired.d do
  924. sw(10)
  925. Tired.n=Tired.n+1
  926. local pos=CFrame.new((root.CFrame+Vector3.new(0,4,0))*CFrame.new(math.random(-70,70)/10,math.random(-10,10)/10,math.random(-70,70)/10).p,mouse.Hit.p)
  927. spawn(function()
  928. local p=Instance.new("Part",efcModel)
  929. p.Touched:connect(function(p)if p.Parent:FindFirstChild("Humanoid")then if p.Parent.Humanoid~=human then RiseLevel(p.Parent.Humanoid,1)p.Parent.Humanoid.Health=p.Parent.Humanoid.Health-1 end end end)
  930. p.Color=Color3.new(1,1,1)p.Size=Vector3.new(4,4,4)p.CFrame=pos
  931. local j=Instance.new("BodyVelocity",p)j.MaxForce=Vector3.new(1,1,1)/0 j.Velocity=Vector3.new()p.CanCollide=nil
  932. local m=Instance.new("SpecialMesh",p)m.MeshId="rbxassetid://465130937"
  933. m.Scale=Vector3.new(.05,.08,.05)/2.5
  934. spawn(function()
  935. for i=0,1,.005 do p.CFrame=pos*CFrame.new(0,0,-i*300)*CFrame.Angles(math.rad(90),0,0)sw()end
  936. sw(10)for i=0,1,.05 do p.Transparency=i sw()end p:Destroy()
  937. end)
  938. end)
  939. end
  940. end
  941.  
  942. end)
  943. uinps.InputBegan:connect(function(InputObject)
  944. 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
  945. Debounces.isBoosting = true
  946. Debounces.damageLevel = 10
  947. Debounces.scalingDamage = true
  948. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  949. setLerp(.15)
  950. setJointCFrames({
  951. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  952. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  953. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  954. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  955. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  956. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  957. })
  958. local boostSpeed = 250
  959. local efx = Instance.new("Sound",c.Head)
  960. efx.SoundId = "rbxassetid://200632875"
  961. efx.Pitch = math.random(1100,1300)/1000
  962. efx.Volume = .5
  963. efx:Play()
  964. spawn(function()
  965. wait(5)
  966. efx:Destroy()
  967. end)
  968. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  969. vel.P = 1e3
  970. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  971. wait(.15)
  972. vel.P = 1000
  973. vel.MaxForce = Vector3.new(3000,0,3000)
  974. vel.Velocity = Vector3.new()
  975. wait(.3)
  976. setLerp(.3)
  977. setJointCFrames({
  978. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  979. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  980. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  981. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  982. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  983. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  984. })
  985. wait(.2)
  986. vel:Destroy()
  987. Debounces.damageLevel = 0
  988. Debounces.scalingDamage = false
  989. Debounces.isBoosting = false
  990. end
  991. end)
  992.  
  993. uinps.InputBegan:connect(function(InputObject)
  994. 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
  995. Debounces.isBoosting = true
  996. Debounces.damageLevel = 10
  997. Debounces.scalingDamage = true
  998. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  999. setLerp(.15)
  1000. setJointCFrames({
  1001. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  1002. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  1003. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  1004. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  1005. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  1006. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  1007. })
  1008. local boostSpeed = 250
  1009. local efx = Instance.new("Sound",c.Head)
  1010. efx.SoundId = "rbxassetid://200632875"
  1011. efx.Pitch = math.random(1100,1300)/1000
  1012. efx.Volume = .5
  1013. efx:Play()
  1014. spawn(function()
  1015. wait(5)
  1016. efx:Destroy()
  1017. end)
  1018. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  1019. vel.P = 1e3
  1020. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1021. wait(.15)
  1022. vel.P = 1000
  1023. vel.MaxForce = Vector3.new(3000,0,3000)
  1024. vel.Velocity = Vector3.new()
  1025. wait(.3)
  1026. setLerp(.3)
  1027. setJointCFrames({
  1028. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  1029. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1030. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1031. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1032. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1033. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1034. })
  1035. wait(.2)
  1036. vel:Destroy()
  1037. Debounces.damageLevel = 0
  1038. Debounces.scalingDamage = false
  1039. Debounces.isBoosting = false
  1040. end
  1041. end)
  1042.  
  1043. uinps.InputBegan:connect(function(InputObject)
  1044. 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
  1045. Debounces.isBoosting = true
  1046. Debounces.damageLevel = 10
  1047. Debounces.scalingDamage = true
  1048. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1049. setLerp(.15)
  1050. setJointCFrames({
  1051. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  1052. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  1053. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  1054. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  1055. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  1056. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1057. })
  1058. local boostSpeed = 250
  1059. local efx = Instance.new("Sound",c.Head)
  1060. efx.SoundId = "rbxassetid://200632875"
  1061. efx.Pitch = math.random(1100,1300)/1000
  1062. efx.Volume = .5
  1063. efx:Play()
  1064. spawn(function()
  1065. wait(5)
  1066. efx:Destroy()
  1067. end)
  1068. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  1069. vel.P = 1e3
  1070. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1071. wait(.15)
  1072. vel.P = 1000
  1073. vel.MaxForce = Vector3.new(3000,0,3000)
  1074. vel.Velocity = Vector3.new()
  1075. wait(.3)
  1076. setLerp(.3)
  1077. setJointCFrames({
  1078. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  1079. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1080. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1081. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1082. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1083. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1084. })
  1085. wait(.2)
  1086. vel:Destroy()
  1087. Debounces.damageLevel = 0
  1088. Debounces.scalingDamage = false
  1089. Debounces.isBoosting = false
  1090. end
  1091. end)
  1092.  
  1093. uinps.InputBegan:connect(function(InputObject)
  1094. 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
  1095. Debounces.isBoosting = true
  1096. Debounces.damageLevel = 10
  1097. Debounces.scalingDamage = true
  1098. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1099. setLerp(.15)
  1100. setJointCFrames({
  1101. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  1102. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  1103. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  1104. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  1105. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  1106. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1107. })
  1108. local boostSpeed = 150
  1109. local boostSpeed = 250
  1110. local efx = Instance.new("Sound",c.Head)
  1111. efx.SoundId = "rbxassetid://200632875"
  1112. efx.Pitch = math.random(1100,1300)/1000
  1113. efx.Volume = .5
  1114. efx:Play()
  1115. spawn(function()
  1116. wait(5)
  1117. efx:Destroy()
  1118. end)
  1119. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  1120. vel.P = 1e3
  1121. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1122. wait(.15)
  1123. vel.P = 1000
  1124. vel.MaxForce = Vector3.new(3000,0,3000)
  1125. vel.Velocity = Vector3.new()
  1126. wait(.3)
  1127. setLerp(.3)
  1128. setJointCFrames({
  1129. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  1130. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  1131. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  1132. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  1133. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  1134. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  1135. })
  1136. wait(.2)
  1137. vel:Destroy()
  1138. Debounces.damageLevel = 0
  1139. Debounces.scalingDamage = false
  1140. Debounces.isBoosting = false
  1141. end
  1142. end)
  1143.  
  1144. uinps.InputBegan:connect(function(InputObject)
  1145. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false and not Tired.d then
  1146. local isLooping = true
  1147. uinps.InputEnded:connect(function(InputObject2)
  1148. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1149. isLooping = false
  1150. end
  1151. end)
  1152. while not Tired.d do
  1153. if isLooping == false then
  1154. break
  1155. end
  1156. Debounces.attackNumber = Debounces.attackNumber + 1
  1157. local aimPos = mouse.Hit.p
  1158. local head = Instance.new("Part",c)
  1159. head.Size = Vector3.new(12,.2,12)
  1160. head.CanCollide = false
  1161. head.Anchored = true
  1162. head.Transparency = 1
  1163. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1164. mesh.Scale=Vector3.new(.05,.05,.05)
  1165. local decal = Instance.new("Decal",head)
  1166. decal.Texture = "rbxassetid://441975828"
  1167. if Debounces.attackNumber%2 == 1 then
  1168. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1169. else
  1170. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1171. end head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1172. spawn(function()
  1173. local timer = 0
  1174. while rs.RenderStepped:wait() do
  1175. if timer >= 1.55 then
  1176. break
  1177. end
  1178. head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
  1179. timer = timer + 1/30/(Debounces.FPS/60)
  1180. end
  1181. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1182. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1183. local hit, pos = workspace:FindPartOnRay(ray,c)
  1184. local dis = (head.CFrame.p - pos).magnitude
  1185. local rayPart = Instance.new("Part",rayModel)
  1186. rayPart.Material = "Neon"
  1187. rayPart.FormFactor = "Custom"
  1188. rayPart.BrickColor = BrickColor.new"Royal purple"
  1189. rayPart.Anchored = true
  1190. rayPart.CanCollide = false
  1191. rayPart.Size = Vector3.new(7,7,dis + 400)
  1192. 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)
  1193. rayPart.CFrame = rayCFrame
  1194. head:Destroy()
  1195. end)
  1196. wait()
  1197. local s = Instance.new("Sound",head)
  1198. s.Volume = 1
  1199. s.SoundId = "rbxassetid://332223043"
  1200. s:Play()
  1201. wait()
  1202. Tired.n=Tired.n+2
  1203. end
  1204. end
  1205. end)
  1206.  
  1207. uinps.InputBegan:connect(function(InputObj)
  1208. if InputObj.KeyCode == Enum.KeyCode.E and not Debounces.isAttacking and not Debounces.isSprinting and Debounces.isPassive and not Debounces.isTyping and not Tired.d then
  1209. Debounces.isAttacking = true
  1210. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1211. local head = Instance.new("Part",c)
  1212. head.Size = Vector3.new(18,.2,18)
  1213. head.CanCollide = false
  1214. head.Anchored = true
  1215. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1216. head.Transparency = 1 head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1217. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1218. mesh.Scale=Vector3.new(.1,.1,.1)
  1219. local decal = Instance.new("Decal",head)
  1220. decal.Texture = "rbxassetid://441975828"
  1221. setLerp(.1)
  1222. setJointCFrames({
  1223. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1224. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1225. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1226. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1227. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1228. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1229. })
  1230. spawn(function()
  1231. local timer = 0
  1232. while rs.RenderStepped:wait() do
  1233. if timer >= 1.55/.8 then
  1234. break
  1235. end
  1236. head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
  1237. timer = timer + 1/30/(Debounces.FPS/60)
  1238. end
  1239. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1240. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1241. local hit, pos = workspace:FindPartOnRay(ray,c)
  1242. local dis = (head.CFrame.p - pos).magnitude
  1243. local rayPart = Instance.new("Part",rayModel)
  1244. rayPart.Material = "Neon"
  1245. rayPart.FormFactor = "Custom"
  1246. rayPart.Name = "Punch"
  1247. rayPart.BrickColor = BrickColor.new"Royal purple"
  1248. rayPart.Anchored = true
  1249. rayPart.CanCollide = false
  1250. rayPart.Size = Vector3.new(28,28,dis + 400)
  1251. 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)
  1252. rayPart.CFrame = rayCFrame
  1253. head:Destroy()
  1254. end)
  1255. wait()
  1256. local s = Instance.new("Sound",head)
  1257. s.Volume = 1
  1258. s.SoundId = "rbxassetid://332223043"
  1259. s.Pitch = .8
  1260. s:Play()
  1261. wait()
  1262. setLerp()
  1263. setJointCFrames({
  1264. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1265. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1266. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1267. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1268. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1269. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1270. })
  1271. Tired.n=Tired.n+15
  1272. wait()
  1273. Debounces.isAttacking = false
  1274. end
  1275. end)
  1276.  
  1277. reflect = function(d,n)
  1278. local i, n = -1 * d.unit, n.unit
  1279. local dot = n:Dot(i)
  1280. return 2*dot*n - i
  1281. end
  1282.  
  1283. makeReflectionBeam = function(pos,look,isCrit)
  1284. local ray = Ray.new(pos,look)
  1285. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  1286. local e = Instance.new("Part",rayModel)
  1287. e.Anchored = true
  1288. e.CanCollide = false
  1289. e.BrickColor = BrickColor.new("Bright violet")
  1290. e.Material = "Neon"
  1291. e.FormFactor = "Custom"
  1292. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  1293. if isCrit == true then
  1294. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  1295. e.Name = "Punch"
  1296. end
  1297. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  1298. local e = Instance.new("Sound",c)
  1299. if isCrit == true then
  1300. e.Volume = .5
  1301. else
  1302. e.Volume = .3
  1303. e.Pitch = 1.5
  1304. end
  1305. e.SoundId = "rbxassetid://200632875"
  1306. e:Play()
  1307. spawn(function()
  1308. wait(6)
  1309. e:Destroy()
  1310. end)
  1311. wait(.05)
  1312. if hit ~= nil then
  1313. newDir = reflect(look.unit,norm,isCrit)
  1314. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  1315. end
  1316. end
  1317.  
  1318. uinps.InputBegan:connect(function(InputObject)
  1319. if InputObject.KeyCode == Enum.KeyCode.Q and not Debounces.isAttacking and Debounces.isSprinting and Debounces.isPassive and not Debounces.isTyping and not Tired.d then
  1320. local isLooping = true
  1321. uinps.InputEnded:connect(function(InputObject2)
  1322. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1323. isLooping = false
  1324. end
  1325. end)
  1326. while not Tired.d do
  1327. if isLooping == false then
  1328. break
  1329. end
  1330. Debounces.attackNumber = Debounces.attackNumber + 1
  1331. local aimPos = mouse.Hit.p
  1332. local head = Instance.new("Part",c)
  1333. head.Size = Vector3.new(12,.2,12)
  1334. head.CanCollide = false
  1335. head.Anchored = true
  1336. head.Transparency=1
  1337. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1338. mesh.Scale=Vector3.new(.05,.05,.05)
  1339. local decal = Instance.new("Decal",head)
  1340. decal.Texture = "rbxassetid://441975828"
  1341.  
  1342. if Debounces.attackNumber%2 == 1 then
  1343. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1344. else
  1345. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1346. end
  1347. head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1348. spawn(function()
  1349. local timer = 0
  1350. while rs.RenderStepped:wait() do
  1351. if timer >= 1.55 then
  1352. break
  1353. end
  1354. head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
  1355. timer = timer + 1/30/(Debounces.FPS/60)
  1356. end
  1357. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1358. head:Destroy()
  1359. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  1360. end)
  1361.  
  1362. wait()
  1363. local s = Instance.new("Sound",head)
  1364. s.Volume = 1
  1365. s.SoundId = "rbxassetid://332223043"
  1366. s.Pitch = 1.02
  1367. s:Play()
  1368. Tired.n=Tired.n+15
  1369. wait(.2)
  1370. end
  1371. end
  1372. end)
  1373.  
  1374. uinps.InputBegan:connect(function(InputObj)
  1375. if InputObj.KeyCode == Enum.KeyCode.E and not Debounces.isAttacking and Debounces.isSprinting and Debounces.isPassive and not Debounces.isTyping and not Tired.d then
  1376. Debounces.isAttacking = true
  1377. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1378. local head = Instance.new("Part",c)
  1379. head.Size = Vector3.new(18,.2,18)
  1380. head.CanCollide = false
  1381. head.Anchored = true
  1382. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1383. head.Transparency = 1
  1384. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1385. mesh.Scale=Vector3.new(.1,.1,.1)
  1386. local decal = Instance.new("Decal",head)
  1387. decal.Texture = "rbxassetid://441975828"
  1388. head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1389. setLerp(.1)
  1390. setJointCFrames({
  1391. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1392. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1393. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1394. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1395. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1396. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1397. })
  1398. spawn(function()
  1399. local timer = 0
  1400. while rs.RenderStepped:wait() do
  1401. if timer >= 1.55/.8 then
  1402. break
  1403. end
  1404. head.CFrame = head.CFrame --* CFrame.new(0,0,-timer/10)
  1405. timer = timer + 1/30/(Debounces.FPS/60)
  1406. end
  1407. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1408. head:Destroy()
  1409. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  1410. end)
  1411. wait()
  1412. local s = Instance.new("Sound",head)
  1413. s.Volume = 2
  1414. s.SoundId = "rbxassetid://332223043"
  1415. s.Pitch = .8
  1416. s:Play()
  1417. wait(.75)
  1418. setLerp(.17)
  1419. setJointCFrames({
  1420. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1421. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1422. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1423. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1424. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1425. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1426. })
  1427. Tired.n=Tired.n+30
  1428. wait(.5)
  1429. Debounces.isAttacking = false
  1430. end
  1431. end)
  1432.  
  1433. uinps.InputBegan:connect(function(InputObj)
  1434. if InputObj.KeyCode == Enum.KeyCode.Slash then
  1435. local finishEvent = nil
  1436. Debounces.isTyping = true
  1437. finishEvent = uinps.InputBegan:connect(function(InputObj)
  1438. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  1439. Debounces.isTyping = false
  1440. finishEvent:disconnect()
  1441. end
  1442. end)
  1443. end
  1444. end)
  1445.  
  1446. uinps.InputBegan:connect(function(InputObj)
  1447. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1448. Debounces.isSprinting = true
  1449. end
  1450. end)
  1451.  
  1452. uinps.InputEnded:connect(function(InputObj)
  1453. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1454. Debounces.isSprinting = false
  1455. end
  1456. end)
  1457. uinps.InputBegan:connect(function(InputObj)
  1458.  
  1459. end)
  1460.  
  1461. rs.RenderStepped:connect(function()
  1462. Debounces.FPS = 1/rs.RenderStepped:wait()
  1463. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  1464. if Debounces.isPassive == false then
  1465. fire.Enabled = false
  1466. light.Range = 0
  1467. fight:Pause()
  1468. sans:Resume()
  1469. efxBlock.Transparency = 1
  1470. else
  1471. fire.Enabled = true
  1472. light.Range = 10
  1473. fight:Resume()
  1474. sans:Pause()
  1475. efxBlock.Transparency = 0
  1476. end local tD=3
  1477. for i,v in pairs (rayModel:children()) do
  1478. if v.Transparency >= 1 then
  1479. v:Destroy()
  1480. else
  1481. v.CanCollide = true
  1482. local parts = v:GetTouchingParts()
  1483. v.CanCollide = false
  1484. for i = 1,#parts do
  1485. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  1486. RiseLevel(parts[i].Parent.Humanoid,.5/(Debounces.FPS/60))parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  1487. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  1488. RiseLevel(parts[i].Parent.Humanoid,3.1/(Debounces.FPS/60))parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  1489. end
  1490. end
  1491. v.Size = v.Size / Vector3.new(1+(v.Transparency/tD),1+(v.Transparency/tD),1)--- Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  1492. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  1493. end
  1494. end
  1495. for i = 1,#Joints do
  1496. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  1497. end
  1498. local sineval = math.sin(tick() * 2) * 3
  1499. fire.Acceleration = Vector3.new(sineval,1,sineval)
  1500. light.Brightness = math.sin(math.cos(tick() * 2) * 1.5)
  1501. end)
  1502.  
  1503. local root = char.HumanoidRootPart
  1504. function teleport(key)
  1505. key = key:lower()
  1506. if key == "t" then
  1507. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  1508. wait(0.25)
  1509. Tired.n=Tired.n+5
  1510. end
  1511. end
  1512. mouse.KeyDown:connect(teleport)
  1513.  
  1514. function sandbox(var,func)
  1515. local env = getfenv(func)
  1516. local newenv = setmetatable({},{
  1517. __index = function(self,k)
  1518. if k=="script" then
  1519. return var
  1520. else
  1521. return env[k]
  1522. end
  1523. end,
  1524. })
  1525. setfenv(func,newenv)
  1526. return func
  1527. end
  1528. cors = {}
  1529. mas = Instance.new("Model",game:GetService("Lighting"))
  1530. Part0 = Instance.new("Part")
  1531. SpecialMesh1 = Instance.new("SpecialMesh")
  1532. Script2 = Instance.new("Script")
  1533. Part0.Name = "MainSky"
  1534. Part0.Parent = mas
  1535. Part0.CFrame = CFrame.new(-8.5, 2.5, 87.5, 0, 1, 0, 0, 0, 1, 1, 0, 0)
  1536. Part0.Orientation = Vector3.new(-90, -90, 0)
  1537. Part0.Position = Vector3.new(-8.5, 2.5, 87.5)
  1538. Part0.Rotation = Vector3.new(-90, 0, -90)
  1539. Part0.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1540. Part0.Size = Vector3.new(1, 1, 1)
  1541. Part0.Anchored = true
  1542. Part0.BottomSurface = Enum.SurfaceType.Smooth
  1543. Part0.BrickColor = BrickColor.new("Black")
  1544. Part0.Locked = true
  1545. Part0.Reflectance = 0.10000000149012
  1546. Part0.TopSurface = Enum.SurfaceType.Smooth
  1547. Part0.brickColor = BrickColor.new("Black")
  1548. Part0.FormFactor = Enum.FormFactor.Symmetric
  1549. Part0.formFactor = Enum.FormFactor.Symmetric
  1550. Part0.Shape = Enum.PartType.Ball
  1551. SpecialMesh1.Parent = Part0
  1552. SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=1185246"
  1553. SpecialMesh1.Scale = Vector3.new(-4700, -4700, -4700)
  1554. SpecialMesh1.VertexColor = Vector3.new(0.600000024, -1, 1)
  1555. SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=123629402"
  1556. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  1557. Script2.Name = "Spin"
  1558. Script2.Parent = Part0
  1559. table.insert(cors,sandbox(Script2,function()
  1560. spinning = script.Parent
  1561.  
  1562. while true do
  1563. spinning.CFrame = spinning.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.05)
  1564. wait(0.00)
  1565. end
  1566.  
  1567. end))
  1568. for i,v in pairs(mas:GetChildren()) do
  1569. v.Parent = workspace
  1570. pcall(function() v:MakeJoints() end)
  1571. end
  1572. mas:Destroy()
  1573. for i,v in pairs(cors) do
  1574. spawn(function()
  1575. pcall(v)
  1576. end)
  1577. end
Add Comment
Please, Sign In to add comment