Advertisement
epicboi

Untitled

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