SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | req list | |
3 | ||
4 | heart control (the force) | |
5 | ||
6 | teleport | |
7 | ||
8 | bone zone | |
9 | ||
10 | throw bones | |
11 | --]] | |
12 | ||
13 | - | local Level=5481 |
13 | + | local Level=548167549378456 |
14 | local function RiseLevel(hum,dmg) | |
15 | if tonumber(Level)then | |
16 | if hum.Health>0 and hum.Health-dmg<=0 then Level=Level+34 | |
17 | local s=Instance.new("Sound")end--s. end | |
18 | else warn'String is not able to level up , or having issure to level.'end | |
19 | end | |
20 | ||
21 | local Tired={n=0,m=1000000,d=false}local DefAble=true | |
22 | local p = game:service'Players'.LocalPlayer | |
23 | local char = p.Character | |
24 | local mouse = p:GetMouse() | |
25 | local larm = char["Left Arm"] | |
26 | local rarm = char["Right Arm"] | |
27 | local lleg = char["Left Leg"] | |
28 | local rleg = char["Right Leg"] | |
29 | local hed = char.Head | |
30 | local Torso = char.Torso | |
31 | local hum = char.Humanoid | |
32 | local cam = workspace.CurrentCamera | |
33 | local root = char.HumanoidRootPart | |
34 | local deb = false | |
35 | local shot = 0 | |
36 | local potential = false | |
37 | local debris=game:service"Debris" | |
38 | local l = game:GetService("Lighting") | |
39 | local rs = game:GetService("RunService").RenderStepped | |
40 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
41 | math.randomseed(os.time()) | |
42 | for i,v in pairs(char:children()) do | |
43 | if v:IsA("Accessory") then | |
44 | v:Destroy() | |
45 | end | |
46 | end | |
47 | for i,v in pairs (hed:GetChildren()) do | |
48 | if v:IsA("Sound") then | |
49 | v:Destroy() | |
50 | end | |
51 | end | |
52 | music = Instance.new("Sound",c) | |
53 | music2 = Instance.new("Sound",c) | |
54 | local pl = game:service'Players'.LocalPlayer | |
55 | local chara = pl.Character | |
56 | local hum = chara:FindFirstChildOfClass("Humanoid") | |
57 | hum.MaxHealth = 10000000000000 | |
58 | hum.Health = 100000000000 | |
59 | maincol = "White" | |
60 | increment = 20 | |
61 | if 1 then | |
62 | local MovesGui=Instance.new("ScreenGui",p:FindFirstChildOfClass("PlayerGui")) | |
63 | local Frm=Instance.new("Frame",MovesGui)Frm.BackgroundColor3=Color3.new()Frm.BorderSizePixel=0 | |
64 | Frm.BackgroundTransparency=.5 Frm.Size=UDim2.new(.3,0,.5,0)local Show=true Frm.Position=UDim2.new(.7,0,.5,0) | |
65 | local idk=Instance.new("TextButton",Frm)idk.Size=UDim2.new(.5,0,.1,0)idk.Position=UDim2.new(-.5,0,.8,0) | |
66 | idk.Text="Hide"idk.TextStrokeTransparency=0 idk.BackgroundTransparency=.5 idk.BackgroundColor3=Color3.new() | |
67 | idk.BorderSizePixel=0 idk.TextColor3=Color3.new(1,1,1) | |
68 | idk.MouseButton1Click:connect(function()Show=not Show idk.Text=Show and "Hide"or"Show"end) | |
69 | local normal=Instance.new("TextLabel",Frm)normal.Size=UDim2.new(1,0,1,0)normal.TextStrokeTransparency=0 | |
70 | normal.BackgroundTransparency=1 normal.TextColor3=Color3.new(1,1,1) | |
71 | normal.TextXAlignment="Left"normal.TextYAlignment="Top" | |
72 | normal.Text=[[* Able to hold | |
73 | ! It changes function when sprint | |
74 | ---------------------------------- | |
75 | K: Passive | |
76 | !*Q :Gaster Blaster (quick) | |
77 | ! E :Gaster Blaster (high damage) | |
78 | T :Teleport | |
79 | F :Bone Zone | |
80 | *G :Bone Throw | |
81 | *C :Heart Control | |
82 | Shift : Sprint | |
83 | ||
84 | Script By PowerSans1234 | |
85 | Made By progr1717 | |
86 | :DD | |
87 | channel: Power Sans | |
88 | channel: Papyrus1717 | |
89 | ]] | |
90 | spawn(function() | |
91 | while game:service'RunService'.RenderStepped:wait()do | |
92 | Frm.Position=Frm.Position:lerp(UDim2.new(not Show and 1 or .7,0,.5,0),.1) | |
93 | end end) | |
94 | end | |
95 | -------------------------------------------------------- | |
96 | - | hed.face.Texture = "rbxassetid://4168" |
96 | + | hed.face.Texture = "rbxassetid://888434012" |
97 | chara:WaitForChild"Body Colors" | |
98 | char["Body Colors"].HeadColor = BrickColor.new("Institutional white") | |
99 | char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white") | |
100 | char["Body Colors"].RightArmColor = BrickColor.new("Institutional white") | |
101 | char["Body Colors"].TorsoColor = BrickColor.new("Institutional white") | |
102 | char["Body Colors"].RightLegColor = BrickColor.new("Institutional white") | |
103 | char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white") | |
104 | --------------------------------------- | |
105 | ypcall(function() | |
106 | shirt = Instance.new("Shirt", char) | |
107 | shirt.Name = "Shirt" | |
108 | pants = Instance.new("Pants", char) | |
109 | pants.Name = "Pants" | |
110 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1145883171" |
110 | + | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=527139198" |
111 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=454688894" |
111 | + | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1002356841" |
112 | end) | |
113 | -------------------------------------------------------- | |
114 | KG = Instance.new("Sound", game.Players.LocalPlayer.Character) | |
115 | KG.Volume = 3 | |
116 | - | KG.SoundId = "rbxassetid://583633630" |
116 | + | KG.SoundId = "rbxassetid://1100698694" |
117 | KG.Looped = true | |
118 | KG:Play() | |
119 | ||
120 | -------------------------------------------------------- | |
121 | CV="Eggplant" | |
122 | p = game.Players.LocalPlayer | |
123 | char = p.Character | |
124 | local txt = Instance.new("BillboardGui", char) | |
125 | txt.Adornee = char .Head | |
126 | txt.Name = "_status" | |
127 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
128 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
129 | local text = Instance.new("TextLabel", txt) | |
130 | text.Size = UDim2.new(10, 0, 7, 0) | |
131 | text.FontSize = "Size24" | |
132 | text.TextScaled = true | |
133 | text.TextTransparency = 0 | |
134 | text.BackgroundTransparency = 1 | |
135 | text.TextTransparency = 0 | |
136 | text.TextStrokeTransparency = 0 | |
137 | text.Font = "Arcade" | |
138 | text.TextStrokeColor3 = Color3.new(255,255,255) | |
139 | ||
140 | v=Instance.new("Part") | |
141 | v.Name = "ColorBrick" | |
142 | v.Parent=p.Character | |
143 | v.FormFactor="Symmetric" | |
144 | v.Anchored=true | |
145 | v.CanCollide=false | |
146 | v.BottomSurface="Smooth" | |
147 | v.TopSurface="Smooth" | |
148 | v.Size=Vector3.new(10,5,3) | |
149 | v.Transparency=1 | |
150 | v.CFrame=char.Torso.CFrame | |
151 | v.BrickColor=BrickColor.new(CV) | |
152 | v.Transparency=1 | |
153 | - | text.TextColor3 = Color3.new(255,0,0) |
153 | + | text.TextColor3 = Color3.new(0,0,0) |
154 | v.Shape="Block" | |
155 | wait() | |
156 | - | text.Text = "Really You Here???" |
156 | + | text.Text = "So Thats It Huh?" |
157 | wait(2) | |
158 | - | text.Text = "WHY" |
158 | + | text.Text = "I WONT FORGIVE YOU" |
159 | spawn(function()while wait()do text.Text = "Disbelief Papyrus LV"..tostring(Level)end end) | |
160 | - | text.Text = "not angry me" |
160 | + | hed.face.Texture = "rbxassetid://888434012" |
161 | -------------------------------------------------------- | |
162 | - | text.Text = "It's Bad Day Outside"; |
162 | + | |
163 | - | wait(3) |
163 | + | |
164 | - | text.Text = "birds are not sing flowers are bad" |
164 | + | |
165 | - | wait(3) |
165 | + | |
166 | - | text.Text = "bad days like these kids like you. . ." |
166 | + | |
167 | - | wait(3) |
167 | + | |
168 | - | text.Text = "NEEDS BE DIEDS IN HELL" |
168 | + | |
169 | - | wait(6) |
169 | + | |
170 | - | text.TextColor3 = Color3.new(255,0,0) |
170 | + | |
171 | - | spawn(function()while wait()do text.Text = "UnderFell Sans LV"..tostring(Level)end end) |
171 | + | |
172 | - | hed.face.Texture = "rbxassetid://416" |
172 | + | |
173 | -------------------------------------------------------- | |
174 | Debounces = { | |
175 | AnimationCycles = 0; | |
176 | FPS = 0; | |
177 | scalingDamage = false; | |
178 | damageLevel = 0; | |
179 | attackNumber = 0; | |
180 | isAttacking = false; | |
181 | isMoving = false; | |
182 | isSprinting = false; | |
183 | isBoosting = false; | |
184 | isPassive = false; | |
185 | isTyping = false; | |
186 | } | |
187 | ||
188 | -------------------------------------------------------- | |
189 | ||
190 | numLerp = function(start, goal, alpha) | |
191 | return(((goal - start) * alpha) + start) | |
192 | end | |
193 | ||
194 | CFrameZero = function() | |
195 | return CFrame.new(Vector3.new()) | |
196 | end | |
197 | ||
198 | rad = function(value) | |
199 | return math.rad(value) | |
200 | end | |
201 | ||
202 | CFAngles = function(Vector) | |
203 | return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z)) | |
204 | end | |
205 | ||
206 | -------------------------------------------------------- | |
207 | ||
208 | AnimStat = { | |
209 | lerpSpeed = .2; | |
210 | lerpSpeed2 = .35; | |
211 | lerpTween = 0; | |
212 | } | |
213 | ||
214 | Joints = { | |
215 | c.HumanoidRootPart.RootJoint; | |
216 | c.Torso.Neck; | |
217 | c.Torso['Left Shoulder']; | |
218 | c.Torso['Right Shoulder']; | |
219 | c.Torso['Left Hip']; | |
220 | c.Torso['Right Hip']; | |
221 | } | |
222 | ||
223 | JointTargets = { | |
224 | CFrameZero(); | |
225 | CFrameZero(); | |
226 | CFrameZero(); | |
227 | CFrameZero(); | |
228 | CFrameZero(); | |
229 | CFrameZero(); | |
230 | } | |
231 | ||
232 | -------------------------------------------------------- | |
233 | ||
234 | BodyColors = { | |
235 | HeadColor = BrickColor.new("Institutional white"); | |
236 | LeftArmColor = BrickColor.new("Institutional white"); | |
237 | RightArmColor = BrickColor.new("Institutional white"); | |
238 | LeftLegColor = BrickColor.new("Institutional white"); | |
239 | RightLegColor = BrickColor.new("Institutional white"); | |
240 | TorsoColor = BrickColor.new("Mid gray"); | |
241 | } | |
242 | ||
243 | Customs = { | |
244 | Face = "http://www.roblox.com/asset/?id=1376936209"; | |
245 | Shirt = "http://www.roblox.com/asset/?id=357134155"; | |
246 | Pants = "http://www.roblox.com/asset/?id=343128366"; | |
247 | } | |
248 | ||
249 | -------------------------------------------------------- | |
250 | ||
251 | prepareCharacter = function() | |
252 | local transPoints = { | |
253 | NumberSequenceKeypoint.new(0,.819,.0375), | |
254 | NumberSequenceKeypoint.new(.207,.594,.0187), | |
255 | NumberSequenceKeypoint.new(.4,.55,.031), | |
256 | - | Face = "http://www.roblox.com/asset/?id=871052201"; |
256 | + | |
257 | NumberSequenceKeypoint.new(.76,.8,.0375), | |
258 | NumberSequenceKeypoint.new(1,1,0), | |
259 | } | |
260 | local sizePoints = { | |
261 | NumberSequenceKeypoint.new(0,.687,0), | |
262 | NumberSequenceKeypoint.new(.111,.875,0), | |
263 | NumberSequenceKeypoint.new(.327,1.19,0), | |
264 | NumberSequenceKeypoint.new(.646,1.56,0), | |
265 | NumberSequenceKeypoint.new(.805,1.37,0), | |
266 | NumberSequenceKeypoint.new(.905,1.06,0), | |
267 | NumberSequenceKeypoint.new(.968,.938,0), | |
268 | NumberSequenceKeypoint.new(.984,1.13,0), | |
269 | NumberSequenceKeypoint.new(1,1.62,0), | |
270 | } | |
271 | local Size = NumberSequence.new(sizePoints) | |
272 | local Transparency = NumberSequence.new(transPoints) | |
273 | rayModel = Instance.new("Model",c) | |
274 | efcModel = Instance.new("Model",c) | |
275 | efxBlock = Instance.new("Part",c) | |
276 | efxBlock.BrickColor = BrickColor.new("Bright orange") | |
277 | efxBlock.Material = "Neon" | |
278 | efxBlock.FormFactor = "Custom" | |
279 | efxBlock.Transparency = .3 | |
280 | efxBlock.Size = Vector3.new(.3,.3,.3) | |
281 | local mesh = Instance.new("SpecialMesh",efxBlock) | |
282 | mesh.MeshType = Enum.MeshType.Sphere | |
283 | mesh.Scale = Vector3.new(1,1,1) | |
284 | light = Instance.new("PointLight",c.Head) | |
285 | light.Range = 10 | |
286 | light.Color = Color3.new(0,200/255,1) | |
287 | light.Shadows = false | |
288 | - | efxBlock.BrickColor = BrickColor.new("Bright violet") |
288 | + | |
289 | particles.Color = ColorSequence.new(Color3.fromRGB(218,133,65)) | |
290 | particles.LightEmission = .5 | |
291 | particles.Size = Size | |
292 | particles.Name = "Fire" | |
293 | particles.Transparency = Transparency | |
294 | particles.LockedToPart = true | |
295 | particles.VelocityInheritance = .5 | |
296 | particles.LockedToPart = true | |
297 | particles.Rate = 35 | |
298 | particles.Texture = "rbxassetid://594656663" | |
299 | particles.Lifetime = NumberRange.new(2,2) | |
300 | particles.RotSpeed = NumberRange.new(100,100) | |
301 | - | particles.Color = ColorSequence.new(Color3.fromRGB(255,0,0)) |
301 | + | |
302 | script.Parent = efxBlock | |
303 | fire = particles | |
304 | local offset = Vector3.new(-0.11, .23, -0.5) | |
305 | local weld = Instance.new("Weld",c.Head) | |
306 | weld.Part0 = c.Head | |
307 | weld.Part1 = efxBlock | |
308 | weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40)) | |
309 | - | particles.Rate = 70 |
309 | + | |
310 | - | particles.Texture = "rbxassetid://170478388" |
310 | + | |
311 | music.Looped = true | |
312 | music.Volume = 0 | |
313 | fight = music | |
314 | music2.SoundId = "rbxassetid://316014309" | |
315 | music2.Looped = true | |
316 | music2.Volume = 0 | |
317 | sans = music2 | |
318 | pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart) | |
319 | pointGyro.P = 1e7 | |
320 | pointGyro.D = 1e3 | |
321 | pointGyro.MaxTorque = Vector3.new(0,1e7,0) | |
322 | animator = c.Humanoid:FindFirstChild("Animator") | |
323 | if animator then | |
324 | animator:Destroy() | |
325 | end | |
326 | c.Torso.roblox:Destroy() | |
327 | for i,v in pairs (c.Head:children()) do | |
328 | if v.ClassName == "Sound" then | |
329 | v:Destroy() | |
330 | end | |
331 | end | |
332 | for i = 1,#Joints do | |
333 | Joints[i].C1 = CFrame.new(Vector3.new()) | |
334 | end | |
335 | human.WalkSpeed = 0 | |
336 | human.JumpPower = 0 | |
337 | end | |
338 | ||
339 | uinps.InputBegan:connect(function(InputObject) | |
340 | if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then | |
341 | Debounces.isPassive = not Debounces.isPassive | |
342 | end | |
343 | end) | |
344 | ||
345 | setJointCFrames = function(table) | |
346 | for i = 1,#table do | |
347 | JointTargets[i] = table[i] | |
348 | end | |
349 | AnimationCycles = 0 | |
350 | end | |
351 | ||
352 | setLerp = function(speed) | |
353 | AnimStat.lerpSpeed = speed | |
354 | end | |
355 | ||
356 | setTween = function(tween) | |
357 | AnimStat.lerpTween = tween | |
358 | end | |
359 | ||
360 | takeDamage = function(position,damage,distance,platformStand) | |
361 | for i,v in pairs (pls:children()) do | |
362 | if v.ClassName == "Player" and v:FindFirstChild("Character") then | |
363 | local torso = v.Character:FindFirstChild("Torso") | |
364 | if torso and (torso.Position - position).magnitude < distance then | |
365 | RiseLevel(v.Character.Humanoid,damage) | |
366 | v.Character.Humanoid:TakeDamage(damage) | |
367 | if platformStand == true then | |
368 | v.Character.PlatformStand = platformStand | |
369 | end | |
370 | end | |
371 | end | |
372 | end | |
373 | end | |
374 | ||
375 | -------------------------------------------------------- | |
376 | ||
377 | prepareCharacter() | |
378 | ||
379 | -------------------------------------------------------- | |
380 | hldng={}Player=p | |
381 | function chatfunc(text) | |
382 | spawn(function()local function lerp(a,b,t)return a*(1-t)+(b*t)end | |
383 | local rs=game:service'RunService'.RenderStepped | |
384 | local function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end | |
385 | local Character=game:service'Players'.LocalPlayer.Character local RootPart=Character.HumanoidRootPart | |
386 | local se=Instance.new("Sound",root)se.Volume=5 se.SoundId="rbxassetid://0" | |
387 | if Character:FindFirstChild("cht")then Character.cht:Destroy()end | |
388 | local b=Instance.new("BillboardGui",Character)b.AlwaysOnTop=true b.Adornee=RootPart b.StudsOffsetWorldSpace=Vector3.new(0,4,0)b.Name="cht" | |
389 | local snum=text:len()b.Size=UDim2.new(snum/1.7,0,2,0) | |
390 | local texts={} | |
391 | for i=1,snum do | |
392 | texts[i]=Instance.new("TextButton",b) | |
393 | texts[i].Size=UDim2.new(1/snum,0,1,0)texts[i].Name=text:sub(i,i)--texts[i].TextSize=30 | |
394 | texts[i].Text=text:sub(i,i)texts[i].Position=UDim2.new((i-1)/snum,0,.3,0) | |
395 | texts[i].BackgroundTransparency=1 texts[i].TextColor3=Color3.new(1) | |
396 | texts[i].TextStrokeTransparency=1 texts[i].Font="Cartoon"texts[i].TextScaled=1 texts[i].TextTransparency=1 | |
397 | end | |
398 | - | local se=Instance.new("Sound",root)se.Volume=5 se.SoundId="rbxassetid://417445954" |
398 | + | |
399 | 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 | |
400 | else texts[i][Set]=Val end end end end | |
401 | for i=1,#texts do | |
402 | if texts[i].Parent then | |
403 | texts[i].TextTransparency=0 texts[i].TextStrokeTransparency=0 | |
404 | end | |
405 | if texts[i].Text~=" "then se.TimePosition=.06 se:Play()end | |
406 | sw(3) | |
407 | end | |
408 | sw(180) | |
409 | for i=1,0,-.025 do | |
410 | DoOpt("TextTransparency",1-i)--DoOpt("TextStrokeTransparency",1-i) | |
411 | sw() | |
412 | end | |
413 | b:Destroy() | |
414 | end) | |
415 | end Player.Chatted:connect(function(m)chatfunc(game:service'Chat':FilterStringAsync(m,Player,Player))end) | |
416 | mouse.KeyUp:connect(function(k) | |
417 | hldng[k]=nil | |
418 | end) | |
419 | ||
420 | local function doit() | |
421 | if DefAble then | |
422 | return | |
423 | else | |
424 | if human.Health~=human.MaxHealth then | |
425 | DefAble=false | |
426 | human:Destroy() | |
427 | human=Instance.new("Humanoid",chara)Instance.new("Model",human).Name="Status" | |
428 | human.MaxHealth=1 human.Health=1 | |
429 | human.HealthChanged:connect(doit) | |
430 | root.CFrame=root.CFrame*CFrame.new(0,0,10) | |
431 | hldng.r=nil warn"Dodged" | |
432 | Tired.n=Tired.n+10 | |
433 | end | |
434 | end | |
435 | end | |
436 | dodge=human.HealthChanged:connect(doit) | |
437 | local sw=function(n)if n then for i=1,n do rs.RenderStepped:wait()end else rs.RenderStepped:wait()end end | |
438 | spawn(function() | |
439 | local sine = 0 | |
440 | local idk=Instance.new("ScreenGui",p:FindFirstChildOfClass'PlayerGui') | |
441 | local frm=Instance.new("Frame",idk)frm.BorderSizePixel=0 | |
442 | frm.BackgroundTransparency=.5 frm.Size=UDim2.new(.4,0,.03,0) | |
443 | frm.Position=UDim2.new(.3,0,.7,0) | |
444 | ||
445 | local t=Instance.new("TextLabel",frm)t.Text="wait"t.BorderSizePixel=0 | |
446 | t.TextColor3=Color3.new(1,1,1)t.TextStrokeTransparency=0-- t.TextScaled=1 | |
447 | t.BackgroundTransparency=0 t.TextXAlignment="Left" t.BackgroundColor3=Color3.new(1) | |
448 | while wait()do | |
449 | t.Size=UDim2.new(Tired.n/Tired.m,0,1,0) | |
450 | if Tired.n>=Tired.m then | |
451 | Tired.n=Tired.m | |
452 | Tired.d=true | |
453 | end | |
454 | if Tired.d then | |
455 | Tired.n=Tired.n-5 DefAble=true hldng.r=nil | |
456 | end t.Text=tostring(math.floor(Tired.n*10)/10).."/"..tostring(Tired.m) | |
457 | if Tired.n<=0 then Tired.n=0 Tired.d=false end | |
458 | if DefAble then human.MaxHealth=1 human.Health=1 human.Name="Humanoid"else | |
459 | dodge:disconnect()human.MaxHealth=1 human.Health=1 dodge=human.HealthChanged:connect(doit) | |
460 | ||
461 | end | |
462 | ||
463 | if hldng.r then DefAble=false else DefAble=1 end | |
464 | ||
465 | pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100) | |
466 | if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then | |
467 | setLerp(.1) | |
468 | if Debounces.isPassive == true then --walk | |
469 | setJointCFrames({ | |
470 | CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0)); | |
471 | 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)); | |
472 | CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0)); | |
473 | CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15)); | |
474 | CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489)); | |
475 | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001)); | |
476 | }) | |
477 | else | |
478 | setJointCFrames({ | |
479 | CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0)); | |
480 | 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)); | |
481 | CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51)); | |
482 | 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)); | |
483 | CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0)); | |
484 | CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0)); | |
485 | }) | |
486 | end | |
487 | elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then | |
488 | sine = sine + math.rad(12) --else jump | |
489 | human.WalkSpeed = 16 | |
490 | setLerp(.15) | |
491 | setJointCFrames({ | |
492 | CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0)); | |
493 | CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001)); | |
494 | 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)); | |
495 | 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)); | |
496 | 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)); | |
497 | 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)); | |
498 | }) | |
499 | end | |
500 | if Debounces.scalingDamage == true then | |
501 | - | human.WalkSpeed = 15 |
501 | + | |
502 | end | |
503 | end | |
504 | end) | |
505 | human.Changed:connect(function(prop) | |
506 | if prop == "MoveDirection" then | |
507 | if human.MoveDirection.magnitude > .02 then | |
508 | Debounces.isMoving = true | |
509 | else | |
510 | Debounces.isMoving = false | |
511 | end | |
512 | end | |
513 | end) | |
514 | local dunkedon=false | |
515 | mouse.KeyDown:connect(function(k) | |
516 | hldng[k]=true | |
517 | if not Debounces.isAttacking then | |
518 | if k=="c"and not Tired.d and Debounces.isPassive then | |
519 | local GrabObj=mouse.Target | |
520 | local hum=nil | |
521 | if GrabObj then | |
522 | if not GrabObj.Anchored then | |
523 | if GrabObj.Parent then | |
524 | if GrabObj.Parent:FindFirstChild'Humanoid'then | |
525 | hum=GrabObj.Parent.Humanoid | |
526 | end | |
527 | end | |
528 | local jet=Instance.new("BodyPosition",GrabObj) | |
529 | if not hum then jet.D=2000 jet.P=2000 end | |
530 | while hldng.c and not Tired.d do | |
531 | jet.MaxForce=Vector3.new(10,10,10)*10000000 | |
532 | jet.Position=mouse.Target~=nil and mouse.Hit.p or jet.Position | |
533 | Tired.n=Tired.n+((not hum or hum.Health==0) and 1 or 2) | |
534 | local vel=GrabObj.Velocity.x+GrabObj.Velocity.y+GrabObj.Velocity.z | |
535 | if hum and vel>20 then RiseLevel(hum,vel/400)hum.Health=hum.Health-vel/400 end | |
536 | sw() | |
537 | end | |
538 | jet:Destroy() | |
539 | else | |
540 | warn'The object is anchored!' | |
541 | end | |
542 | end | |
543 | end | |
544 | if k=="t"and not Tired.d then -- TELEPORT | |
545 | if mouse.Target then Debounces.isAttacking=true | |
546 | local pos=mouse.Hit KG:Pause() | |
547 | root.Anchored=1 root.CFrame=CFrame.new(9999,9999,109999) | |
548 | local jam=Instance.new("ScreenGui",p:FindFirstChildOfClass("PlayerGui")) | |
549 | jam.DisplayOrder=12 local j=Instance.new("Frame",jam)j.BackgroundColor3=Color3.new() | |
550 | j.BorderSizePixel=0 j.Size=UDim2.new(1,0,1,0) | |
551 | wait(1)Debounces.isAttacking=false KG:Resume() | |
552 | root.CFrame=pos+Vector3.new(0,3,0) | |
553 | jam:Destroy()root.Anchored=false | |
554 | end | |
555 | Tired.n=Tired.n+50 | |
556 | end | |
557 | if k=="f"and not Tired.d and not dunkedon and Debounces.isPassive then | |
558 | dunkedon=true local pos=mouse.Hit.p | |
559 | Tired.n=Tired.n+100 | |
560 | local idk=Instance.new("Part",efcModel) | |
561 | idk.Size=Vector3.new(2,80,80)local sp=Instance.new("SpecialMesh",idk)idk.Anchored=1 idk.CanCollide=nil | |
562 | sp.Scale=idk.Size*20 idk.Size=Vector3.new()idk.Color=Color3.new(1,.1,.1)sp.MeshType="Cylinder" | |
563 | idk.Transparency=.5 idk.CFrame=CFrame.new(pos)*CFrame.Angles(0,0,math.rad(90)) | |
564 | idk.Material="SmoothPlastic" | |
565 | idk.Transparency=.5 sw(20)idk:Destroy() | |
566 | spawn(function()for i=1,300 do | |
567 | 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) | |
568 | spawn(function() | |
569 | local p=Instance.new("Part",efcModel) | |
570 | 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) | |
571 | p.Color=Color3.new(1,1,1)p.Size=Vector3.new(10,1,10)p.CFrame=pos | |
572 | local j=Instance.new("BodyVelocity",p)j.MaxForce=Vector3.new(1,1,1)/0 j.Velocity=Vector3.new()p.CanCollide=nil | |
573 | local m=Instance.new("SpecialMesh",p)m.MeshId="rbxassetid://465130937" | |
574 | m.Scale=Vector3.new(.05,.08,.05)/1.2 | |
575 | spawn(function() | |
576 | for i=0,1,.05 do p.CFrame=p.CFrame+Vector3.new(0,.6,0)sw()end | |
577 | sw(10)for i=0,1,.05 do p.Transparency=i sw()end p:Destroy() | |
578 | end) | |
579 | end) | |
580 | sw() | |
581 | end | |
582 | end) | |
583 | wait(5) | |
584 | ||
585 | dunkedon=false | |
586 | end | |
587 | end | |
588 | if Debounces.isPassive and k=="g"then | |
589 | while hldng.g and not Tired.d do | |
590 | sw(10) | |
591 | Tired.n=Tired.n+1 | |
592 | 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) | |
593 | spawn(function() | |
594 | local p=Instance.new("Part",efcModel) | |
595 | 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) | |
596 | p.Color=Color3.new(1,1,1)p.Size=Vector3.new(4,4,4)p.CFrame=pos | |
597 | local j=Instance.new("BodyVelocity",p)j.MaxForce=Vector3.new(1,1,1)/0 j.Velocity=Vector3.new()p.CanCollide=nil | |
598 | local m=Instance.new("SpecialMesh",p)m.MeshId="rbxassetid://465130937" | |
599 | m.Scale=Vector3.new(.05,.08,.05)/2.5 | |
600 | spawn(function() | |
601 | for i=0,1,.005 do p.CFrame=pos*CFrame.new(0,0,-i*300)*CFrame.Angles(math.rad(90),0,0)sw()end | |
602 | sw(10)for i=0,1,.05 do p.Transparency=i sw()end p:Destroy() | |
603 | end) | |
604 | end) | |
605 | end | |
606 | end | |
607 | ||
608 | end) | |
609 | uinps.InputBegan:connect(function(InputObject) | |
610 | 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 | |
611 | Debounces.isBoosting = true | |
612 | Debounces.damageLevel = 10 | |
613 | Debounces.scalingDamage = true | |
614 | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart) | |
615 | setLerp(.15) | |
616 | setJointCFrames({ | |
617 | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20)); | |
618 | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837)); | |
619 | CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45)); | |
620 | CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45)); | |
621 | CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495)); | |
622 | CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999)); | |
623 | }) | |
624 | local boostSpeed = 250 | |
625 | local efx = Instance.new("Sound",c.Head) | |
626 | efx.SoundId = "rbxassetid://200632875" | |
627 | efx.Pitch = math.random(1100,1300)/1000 | |
628 | efx.Volume = .5 | |
629 | efx:Play() | |
630 | spawn(function() | |
631 | wait(5) | |
632 | efx:Destroy() | |
633 | end) | |
634 | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed | |
635 | vel.P = 1e3 | |
636 | vel.MaxForce = Vector3.new(math.huge,0,math.huge) | |
637 | wait(.15) | |
638 | vel.P = 1000 | |
639 | vel.MaxForce = Vector3.new(3000,0,3000) | |
640 | vel.Velocity = Vector3.new() | |
641 | wait(.3) | |
642 | setLerp(.3) | |
643 | setJointCFrames({ | |
644 | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13)); | |
645 | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879)); | |
646 | CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45)); | |
647 | CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383)); | |
648 | CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457)); | |
649 | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968)); | |
650 | }) | |
651 | wait(.2) | |
652 | vel:Destroy() | |
653 | Debounces.damageLevel = 0 | |
654 | Debounces.scalingDamage = false | |
655 | Debounces.isBoosting = false | |
656 | end | |
657 | end) | |
658 | ||
659 | uinps.InputBegan:connect(function(InputObject) | |
660 | 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 | |
661 | Debounces.isBoosting = true | |
662 | Debounces.damageLevel = 10 | |
663 | Debounces.scalingDamage = true | |
664 | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart) | |
665 | setLerp(.15) | |
666 | setJointCFrames({ | |
667 | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15)); | |
668 | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645)); | |
669 | CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853)); | |
670 | CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102)); | |
671 | CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566)); | |
672 | CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528)); | |
673 | }) | |
674 | local boostSpeed = 250 | |
675 | local efx = Instance.new("Sound",c.Head) | |
676 | efx.SoundId = "rbxassetid://200632875" | |
677 | efx.Pitch = math.random(1100,1300)/1000 | |
678 | efx.Volume = .5 | |
679 | efx:Play() | |
680 | spawn(function() | |
681 | wait(5) | |
682 | efx:Destroy() | |
683 | end) | |
684 | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed | |
685 | vel.P = 1e3 | |
686 | vel.MaxForce = Vector3.new(math.huge,0,math.huge) | |
687 | wait(.15) | |
688 | vel.P = 1000 | |
689 | vel.MaxForce = Vector3.new(3000,0,3000) | |
690 | vel.Velocity = Vector3.new() | |
691 | wait(.3) | |
692 | setLerp(.3) | |
693 | setJointCFrames({ | |
694 | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13)); | |
695 | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327)); | |
696 | CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60)); | |
697 | CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342)); | |
698 | CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729)); | |
699 | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999)); | |
700 | }) | |
701 | wait(.2) | |
702 | vel:Destroy() | |
703 | Debounces.damageLevel = 0 | |
704 | Debounces.scalingDamage = false | |
705 | Debounces.isBoosting = false | |
706 | end | |
707 | end) | |
708 | ||
709 | uinps.InputBegan:connect(function(InputObject) | |
710 | 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 | |
711 | Debounces.isBoosting = true | |
712 | Debounces.damageLevel = 10 | |
713 | Debounces.scalingDamage = true | |
714 | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart) | |
715 | setLerp(.15) | |
716 | setJointCFrames({ | |
717 | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5)); | |
718 | CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878)); | |
719 | CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0)); | |
720 | CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087)); | |
721 | CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5)); | |
722 | CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968)); | |
723 | }) | |
724 | local boostSpeed = 250 | |
725 | local efx = Instance.new("Sound",c.Head) | |
726 | efx.SoundId = "rbxassetid://200632875" | |
727 | efx.Pitch = math.random(1100,1300)/1000 | |
728 | efx.Volume = .5 | |
729 | efx:Play() | |
730 | spawn(function() | |
731 | wait(5) | |
732 | efx:Destroy() | |
733 | end) | |
734 | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed | |
735 | vel.P = 1e3 | |
736 | vel.MaxForce = Vector3.new(math.huge,0,math.huge) | |
737 | wait(.15) | |
738 | vel.P = 1000 | |
739 | vel.MaxForce = Vector3.new(3000,0,3000) | |
740 | vel.Velocity = Vector3.new() | |
741 | wait(.3) | |
742 | setLerp(.3) | |
743 | setJointCFrames({ | |
744 | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13)); | |
745 | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327)); | |
746 | CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60)); | |
747 | CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342)); | |
748 | CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729)); | |
749 | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999)); | |
750 | }) | |
751 | wait(.2) | |
752 | vel:Destroy() | |
753 | Debounces.damageLevel = 0 | |
754 | Debounces.scalingDamage = false | |
755 | Debounces.isBoosting = false | |
756 | end | |
757 | end) | |
758 | ||
759 | uinps.InputBegan:connect(function(InputObject) | |
760 | 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 | |
761 | Debounces.isBoosting = true | |
762 | Debounces.damageLevel = 10 | |
763 | Debounces.scalingDamage = true | |
764 | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart) | |
765 | setLerp(.15) | |
766 | setJointCFrames({ | |
767 | CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0)); | |
768 | CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093)); | |
769 | CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939)); | |
770 | CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465)); | |
771 | CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373)); | |
772 | CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968)); | |
773 | }) | |
774 | local boostSpeed = 150 | |
775 | local boostSpeed = 250 | |
776 | local efx = Instance.new("Sound",c.Head) | |
777 | efx.SoundId = "rbxassetid://200632875" | |
778 | efx.Pitch = math.random(1100,1300)/1000 | |
779 | efx.Volume = .5 | |
780 | efx:Play() | |
781 | spawn(function() | |
782 | wait(5) | |
783 | efx:Destroy() | |
784 | end) | |
785 | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed | |
786 | vel.P = 1e3 | |
787 | vel.MaxForce = Vector3.new(math.huge,0,math.huge) | |
788 | wait(.15) | |
789 | vel.P = 1000 | |
790 | vel.MaxForce = Vector3.new(3000,0,3000) | |
791 | vel.Velocity = Vector3.new() | |
792 | wait(.3) | |
793 | setLerp(.3) | |
794 | setJointCFrames({ | |
795 | CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0)); | |
796 | CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598)); | |
797 | CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511)); | |
798 | CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887)); | |
799 | CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524)); | |
800 | CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631)); | |
801 | }) | |
802 | wait(.2) | |
803 | vel:Destroy() | |
804 | Debounces.damageLevel = 0 | |
805 | Debounces.scalingDamage = false | |
806 | Debounces.isBoosting = false | |
807 | end | |
808 | end) | |
809 | ||
810 | uinps.InputBegan:connect(function(InputObject) | |
811 | 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 | |
812 | local isLooping = true | |
813 | uinps.InputEnded:connect(function(InputObject2) | |
814 | if InputObject2.KeyCode == Enum.KeyCode.Q then | |
815 | isLooping = false | |
816 | end | |
817 | end) | |
818 | while not Tired.d do | |
819 | if isLooping == false then | |
820 | break | |
821 | end | |
822 | Debounces.attackNumber = Debounces.attackNumber + 1 | |
823 | local aimPos = mouse.Hit.p | |
824 | local head = Instance.new("Part",c) | |
825 | head.Size = Vector3.new(12,.2,12) | |
826 | head.CanCollide = false | |
827 | head.Anchored = true | |
828 | head.Transparency = 1 | |
829 | local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407" | |
830 | mesh.Scale=Vector3.new(.05,.05,.05) | |
831 | local decal = Instance.new("Decal",head) | |
832 | decal.Texture = "rbxassetid://441975828" | |
833 | if Debounces.attackNumber%2 == 1 then | |
834 | head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos) | |
835 | else | |
836 | head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos) | |
837 | end head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0) | |
838 | spawn(function() | |
839 | local timer = 0 | |
840 | while rs.RenderStepped:wait() do | |
841 | if timer >= 1.55 then | |
842 | break | |
843 | end | |
844 | head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10) | |
845 | timer = timer + 1/30/(Debounces.FPS/60) | |
846 | end | |
847 | head.CFrame = CFrame.new(head.CFrame.p,aimPos) | |
848 | local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999) | |
849 | local hit, pos = workspace:FindPartOnRay(ray,c) | |
850 | local dis = (head.CFrame.p - pos).magnitude | |
851 | local rayPart = Instance.new("Part",rayModel) | |
852 | rayPart.Material = "Neon" | |
853 | rayPart.FormFactor = "Custom" | |
854 | rayPart.BrickColor = BrickColor.new"Institutional white" | |
855 | rayPart.Anchored = true | |
856 | rayPart.CanCollide = false | |
857 | rayPart.Size = Vector3.new(7,7,dis + 400) | |
858 | 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) | |
859 | rayPart.CFrame = rayCFrame | |
860 | head:Destroy() | |
861 | end) | |
862 | wait() | |
863 | local s = Instance.new("Sound",head) | |
864 | s.Volume = 1 | |
865 | s.SoundId = "rbxassetid://332223043" | |
866 | - | rayPart.BrickColor = BrickColor.new"Royal purple" |
866 | + | |
867 | wait(.04) | |
868 | Tired.n=Tired.n+2 | |
869 | end | |
870 | end | |
871 | end) | |
872 | ||
873 | uinps.InputBegan:connect(function(InputObj) | |
874 | 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 | |
875 | Debounces.isAttacking = true | |
876 | local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p | |
877 | local head = Instance.new("Part",c) | |
878 | head.Size = Vector3.new(18,.2,18) | |
879 | head.CanCollide = false | |
880 | head.Anchored = true | |
881 | head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos) | |
882 | head.Transparency = 1 head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0) | |
883 | local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407" | |
884 | mesh.Scale=Vector3.new(.1,.1,.1) | |
885 | local decal = Instance.new("Decal",head) | |
886 | decal.Texture = "rbxassetid://441975828" | |
887 | setLerp(.1) | |
888 | setJointCFrames({ | |
889 | CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0)); | |
890 | CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001)); | |
891 | CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502)); | |
892 | CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928)); | |
893 | CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001)); | |
894 | CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0)); | |
895 | }) | |
896 | spawn(function() | |
897 | local timer = 0 | |
898 | while rs.RenderStepped:wait() do | |
899 | if timer >= 1.55/.8 then | |
900 | break | |
901 | end | |
902 | head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10) | |
903 | timer = timer + 1/30/(Debounces.FPS/60) | |
904 | end | |
905 | head.CFrame = CFrame.new(head.CFrame.p,aimPos) | |
906 | local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999) | |
907 | local hit, pos = workspace:FindPartOnRay(ray,c) | |
908 | local dis = (head.CFrame.p - pos).magnitude | |
909 | local rayPart = Instance.new("Part",rayModel) | |
910 | rayPart.Material = "Neon" | |
911 | rayPart.FormFactor = "Custom" | |
912 | rayPart.Name = "Punch" | |
913 | rayPart.BrickColor = BrickColor.new"Institutional white" | |
914 | rayPart.Anchored = true | |
915 | rayPart.CanCollide = false | |
916 | rayPart.Size = Vector3.new(28,28,dis + 400) | |
917 | 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) | |
918 | rayPart.CFrame = rayCFrame | |
919 | head:Destroy() | |
920 | end) | |
921 | wait() | |
922 | local s = Instance.new("Sound",head) | |
923 | s.Volume = 1 | |
924 | s.SoundId = "rbxassetid://332223043" | |
925 | - | rayPart.BrickColor = BrickColor.new"Royal purple" |
925 | + | |
926 | s:Play() | |
927 | wait(.75) | |
928 | setLerp(.17) | |
929 | setJointCFrames({ | |
930 | CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0)); | |
931 | CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001)); | |
932 | CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76)); | |
933 | CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155)); | |
934 | CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001)); | |
935 | CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0)); | |
936 | }) | |
937 | Tired.n=Tired.n+15 | |
938 | wait(.5) | |
939 | Debounces.isAttacking = false | |
940 | end | |
941 | end) | |
942 | ||
943 | reflect = function(d,n) | |
944 | local i, n = -1 * d.unit, n.unit | |
945 | local dot = n:Dot(i) | |
946 | return 2*dot*n - i | |
947 | end | |
948 | ||
949 | makeReflectionBeam = function(pos,look,isCrit) | |
950 | local ray = Ray.new(pos,look) | |
951 | local hit,hitpos,norm = workspace:FindPartOnRay(ray,c) | |
952 | local e = Instance.new("Part",rayModel) | |
953 | e.Anchored = true | |
954 | e.CanCollide = false | |
955 | e.BrickColor = BrickColor.new("Institutional white") | |
956 | e.Material = "Neon" | |
957 | e.FormFactor = "Custom" | |
958 | e.Size = Vector3.new(6,6,(pos - hitpos).magnitude) | |
959 | if isCrit == true then | |
960 | e.Size = Vector3.new(16,16,(pos - hitpos).magnitude) | |
961 | e.Name = "Punch" | |
962 | end | |
963 | e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos) | |
964 | local e = Instance.new("Sound",c) | |
965 | if isCrit == true then | |
966 | e.Volume = .5 | |
967 | - | e.BrickColor = BrickColor.new("Bright violet") |
967 | + | |
968 | e.Volume = .3 | |
969 | e.Pitch = 1.5 | |
970 | end | |
971 | e.SoundId = "rbxassetid://200632875" | |
972 | e:Play() | |
973 | spawn(function() | |
974 | wait(6) | |
975 | e:Destroy() | |
976 | end) | |
977 | wait(.05) | |
978 | if hit ~= nil then | |
979 | newDir = reflect(look.unit,norm,isCrit) | |
980 | makeReflectionBeam(hitpos,newDir * 999,isCrit) | |
981 | end | |
982 | end | |
983 | ||
984 | uinps.InputBegan:connect(function(InputObject) | |
985 | 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 | |
986 | local isLooping = true | |
987 | uinps.InputEnded:connect(function(InputObject2) | |
988 | if InputObject2.KeyCode == Enum.KeyCode.Q then | |
989 | isLooping = false | |
990 | end | |
991 | end) | |
992 | while not Tired.d do | |
993 | if isLooping == false then | |
994 | break | |
995 | end | |
996 | Debounces.attackNumber = Debounces.attackNumber + 1 | |
997 | local aimPos = mouse.Hit.p | |
998 | local head = Instance.new("Part",c) | |
999 | head.Size = Vector3.new(12,.2,12) | |
1000 | head.CanCollide = false | |
1001 | head.Anchored = true | |
1002 | head.Transparency=1 | |
1003 | local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407" | |
1004 | mesh.Scale=Vector3.new(.05,.05,.05) | |
1005 | local decal = Instance.new("Decal",head) | |
1006 | decal.Texture = "rbxassetid://441975828" | |
1007 | ||
1008 | if Debounces.attackNumber%2 == 1 then | |
1009 | head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos) | |
1010 | else | |
1011 | head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos) | |
1012 | end | |
1013 | head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0) | |
1014 | spawn(function() | |
1015 | local timer = 0 | |
1016 | while rs.RenderStepped:wait() do | |
1017 | if timer >= 1.55 then | |
1018 | break | |
1019 | end | |
1020 | head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10) | |
1021 | timer = timer + 1/30/(Debounces.FPS/60) | |
1022 | end | |
1023 | head.CFrame = CFrame.new(head.CFrame.p,aimPos) | |
1024 | head:Destroy() | |
1025 | makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false) | |
1026 | end) | |
1027 | ||
1028 | wait() | |
1029 | local s = Instance.new("Sound",head) | |
1030 | s.Volume = 1 | |
1031 | s.SoundId = "rbxassetid://332223043" | |
1032 | s.Pitch = 1.02 | |
1033 | s:Play() | |
1034 | Tired.n=Tired.n+15 | |
1035 | wait(.2) | |
1036 | end | |
1037 | end | |
1038 | end) | |
1039 | ||
1040 | uinps.InputBegan:connect(function(InputObj) | |
1041 | 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 | |
1042 | Debounces.isAttacking = true | |
1043 | local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p | |
1044 | local head = Instance.new("Part",c) | |
1045 | head.Size = Vector3.new(18,.2,18) | |
1046 | head.CanCollide = false | |
1047 | head.Anchored = true | |
1048 | head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos) | |
1049 | head.Transparency = 1 | |
1050 | local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407" | |
1051 | mesh.Scale=Vector3.new(.1,.1,.1) | |
1052 | local decal = Instance.new("Decal",head) | |
1053 | decal.Texture = "rbxassetid://441975828" | |
1054 | head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0) | |
1055 | setLerp(.1) | |
1056 | setJointCFrames({ | |
1057 | CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0)); | |
1058 | CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001)); | |
1059 | CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502)); | |
1060 | CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928)); | |
1061 | CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001)); | |
1062 | CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0)); | |
1063 | }) | |
1064 | spawn(function() | |
1065 | local timer = 0 | |
1066 | while rs.RenderStepped:wait() do | |
1067 | if timer >= 1.55/.8 then | |
1068 | break | |
1069 | end | |
1070 | head.CFrame = head.CFrame --* CFrame.new(0,0,-timer/10) | |
1071 | timer = timer + 1/30/(Debounces.FPS/60) | |
1072 | end | |
1073 | head.CFrame = CFrame.new(head.CFrame.p,aimPos) | |
1074 | head:Destroy() | |
1075 | makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true) | |
1076 | end) | |
1077 | wait() | |
1078 | local s = Instance.new("Sound",head) | |
1079 | s.Volume = 2 | |
1080 | s.SoundId = "rbxassetid://332223043" | |
1081 | s.Pitch = .8 | |
1082 | s:Play() | |
1083 | wait(.75) | |
1084 | setLerp(.17) | |
1085 | setJointCFrames({ | |
1086 | CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0)); | |
1087 | CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001)); | |
1088 | CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76)); | |
1089 | CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155)); | |
1090 | CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001)); | |
1091 | CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0)); | |
1092 | }) | |
1093 | Tired.n=Tired.n+30 | |
1094 | wait(.5) | |
1095 | Debounces.isAttacking = false | |
1096 | end | |
1097 | end) | |
1098 | ||
1099 | uinps.InputBegan:connect(function(InputObj) | |
1100 | if InputObj.KeyCode == Enum.KeyCode.Slash then | |
1101 | local finishEvent = nil | |
1102 | Debounces.isTyping = true | |
1103 | finishEvent = uinps.InputBegan:connect(function(InputObj) | |
1104 | if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then | |
1105 | Debounces.isTyping = false | |
1106 | finishEvent:disconnect() | |
1107 | end | |
1108 | end) | |
1109 | end | |
1110 | end) | |
1111 | ||
1112 | uinps.InputBegan:connect(function(InputObj) | |
1113 | if InputObj.KeyCode == Enum.KeyCode.LeftShift then | |
1114 | Debounces.isSprinting = true | |
1115 | end | |
1116 | end) | |
1117 | ||
1118 | uinps.InputEnded:connect(function(InputObj) | |
1119 | if InputObj.KeyCode == Enum.KeyCode.LeftShift then | |
1120 | Debounces.isSprinting = false | |
1121 | end | |
1122 | end) | |
1123 | uinps.InputBegan:connect(function(InputObj) | |
1124 | ||
1125 | end) | |
1126 | ||
1127 | rs.RenderStepped:connect(function() | |
1128 | Debounces.FPS = 1/rs.RenderStepped:wait() | |
1129 | local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60) | |
1130 | if Debounces.isPassive == false then | |
1131 | fire.Enabled = false | |
1132 | light.Range = 0 | |
1133 | fight:Pause() | |
1134 | sans:Resume() | |
1135 | efxBlock.Transparency = 1 | |
1136 | else | |
1137 | fire.Enabled = true | |
1138 | light.Range = 10 | |
1139 | fight:Resume() | |
1140 | sans:Pause() | |
1141 | efxBlock.Transparency = 0 | |
1142 | end local tD=3 | |
1143 | for i,v in pairs (rayModel:children()) do | |
1144 | if v.Transparency >= 1 then | |
1145 | v:Destroy() | |
1146 | else | |
1147 | v.CanCollide = true | |
1148 | local parts = v:GetTouchingParts() | |
1149 | v.CanCollide = false | |
1150 | for i = 1,#parts do | |
1151 | if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then | |
1152 | RiseLevel(parts[i].Parent.Humanoid,.5/(Debounces.FPS/60))parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60)) | |
1153 | elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then | |
1154 | RiseLevel(parts[i].Parent.Humanoid,3.1/(Debounces.FPS/60))parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60)) | |
1155 | end | |
1156 | end | |
1157 | 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) | |
1158 | v.Transparency = v.Transparency + .05/(Debounces.FPS/60) | |
1159 | end | |
1160 | end | |
1161 | for i = 1,#Joints do | |
1162 | Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp) | |
1163 | end | |
1164 | local sineval = math.sin(tick() * 2) * 3 | |
1165 | fire.Acceleration = Vector3.new(sineval,1,sineval) | |
1166 | light.Brightness = math.sin(math.cos(tick() * 2) * 1.5) | |
1167 | end) |