SHOW:
|
|
- or go back to the newest paste.
1 | - | wait(1) |
1 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player,game,owner = owner,game | |
4 | local RealPlayer = Player | |
5 | do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end wait(1) | |
6 | local plr = game.Players.LocalPlayer | |
7 | local char = plr.Character | |
8 | ||
9 | Sound2 = Instance.new("Sound") | |
10 | Sound2.Name = "bGmemes" | |
11 | Sound2.Parent = plr.Character.HumanoidRootPart | |
12 | Sound2.SoundId = "rbxassetid://178357202 " | |
13 | Sound2.Volume = 5 | |
14 | Sound2.Pitch =1 | |
15 | Sound2.Looped = true | |
16 | Sound2.EmitterSize = 80 | |
17 | Sound2.MaxDistance = 80 | |
18 | Sound2:Play() | |
19 | ||
20 | hum=char.Humanoid | |
21 | print("This person name is ".. plr.name) | |
22 | for i,v in pairs (char:GetChildren()) do | |
23 | if v.Name~="Humanoid" and v.ClassName~="Part" then | |
24 | v:Destroy() | |
25 | end | |
26 | end | |
27 | ||
28 | for i,v in pairs (char:WaitForChild("Head"):GetChildren()) do | |
29 | if v.ClassName=="Sound" then | |
30 | v:Destroy() | |
31 | end | |
32 | end | |
33 | ||
34 | ac = Instance.new("Accessory",workspace) | |
35 | ac.AttachmentPos=Vector3.new(0, 0.2, 0) | |
36 | ac.Name = "Hood" | |
37 | o2 = Instance.new("Part") | |
38 | o3 = Instance.new("SpecialMesh") | |
39 | o4 = Instance.new("Vector3Value") | |
40 | o2.Name = "Handle" | |
41 | o2.Parent = ac | |
42 | o2.Position = char.Torso.Position | |
43 | ||
44 | ac2 = Instance.new("Accessory",workspace) | |
45 | ac2.AttachmentPos=Vector3.new(0, -0.1, 0.2) | |
46 | o22 = Instance.new("Part") | |
47 | o32 = Instance.new("SpecialMesh") | |
48 | o42 = Instance.new("Vector3Value") | |
49 | o22.Name = "Handle" | |
50 | o22.Parent = ac2 | |
51 | o22.Position = char.Torso.Position | |
52 | spawn(function() | |
53 | repeat | |
54 | if ac.Parent~=char then | |
55 | o2.Position = char.Torso.Position | |
56 | else | |
57 | break | |
58 | end | |
59 | wait() | |
60 | until ac.Parent==char | |
61 | end) | |
62 | o2.Rotation = Vector3.new(0, -0.75999999, 0) | |
63 | o2.CanCollide = false | |
64 | o2.Locked = true | |
65 | o2.FormFactor = Enum.FormFactor.Custom | |
66 | o2.Size = Vector3.new(1.60000014, 0.800000012, 1.60000014) | |
67 | o2.CFrame = CFrame.new(0.128948003, 5.08735895, -0.544525981, 0.999912918, 1.17847014e-26, -0.0131900534, -4.89980362e-24, 1, -3.70551116e-22, 0.013190059, 3.70583553e-22, 0.999912918) | |
68 | o2.BottomSurface = Enum.SurfaceType.Smooth | |
69 | o2.TopSurface = Enum.SurfaceType.Smooth | |
70 | o2.Position = Vector3.new(0.128948003, 5.08735895, -0.544525981) | |
71 | o3.Parent = o2 | |
72 | o3.MeshId = "rbxassetid://1047579555" | |
73 | o3.Scale = Vector3.new(1.3,1.3,1.3) | |
74 | o3.TextureId = "rbxassetid://1047579559" | |
75 | o3.MeshType = Enum.MeshType.FileMesh | |
76 | o4.Name = "OriginalSize" | |
77 | o4.Parent = o2 | |
78 | o4.Value = Vector3.new(1.60000014, 0.800000012, 1.60000014) | |
79 | ||
80 | o22.Rotation = Vector3.new(0, -0.75999999, 0) | |
81 | o22.CanCollide = false | |
82 | o22.Locked = true | |
83 | o22.FormFactor = Enum.FormFactor.Custom | |
84 | o22.Size = Vector3.new(1.60000014, 0.800000012, 1.60000014) | |
85 | o22.CFrame = CFrame.new(0.128948003, 5.08735895, -0.544525981, 0.999912918, 1.17847014e-26, -0.0131900534, -4.89980362e-24, 1, -3.70551116e-22, 0.013190059, 3.70583553e-22, 0.999912918) | |
86 | o22.BottomSurface = Enum.SurfaceType.Smooth | |
87 | o22.TopSurface = Enum.SurfaceType.Smooth | |
88 | o22.Position = Vector3.new(0.128948003, 5.08735895, -0.544525981) | |
89 | o32.Parent = o22 | |
90 | o32.MeshId = "rbxassetid://1047579555" | |
91 | o32.Scale = Vector3.new(0.899999976, 0.819999993, 0.819999993) | |
92 | o32.TextureId = "rbxassetid://1047579559" | |
93 | o32.MeshType = Enum.MeshType.FileMesh | |
94 | o42.Name = "OriginalSize" | |
95 | o42.Parent = o22 | |
96 | o42.Value = Vector3.new(1.60000014, 0.800000012, 1.60000014) | |
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | ||
106 | ||
107 | ||
108 | ||
109 | ||
110 | ||
111 | ||
112 | ||
113 | local mouse = plr:GetMouse() | |
114 | local torso = char.Torso | |
115 | local RightArm1 = torso["Right Shoulder"] | |
116 | local LeftArm1 = torso["Left Shoulder"] | |
117 | local RightLeg1 = torso["Right Hip"] | |
118 | local LeftLeg1 = torso["Left Hip"] | |
119 | local Torso1 = char.HumanoidRootPart.RootJoint | |
120 | local Head1 = torso.Neck | |
121 | ||
122 | local RightArm = torso["Right Shoulder"]:Clone() | |
123 | local LeftArm = torso["Left Shoulder"]:Clone() | |
124 | local RightLeg = torso["Right Hip"]:Clone() | |
125 | local LeftLeg = torso["Left Hip"]:Clone() | |
126 | local Torso = char.HumanoidRootPart.RootJoint:Clone() | |
127 | local Head = torso.Neck:Clone() | |
128 | ||
129 | RightArm1:Destroy() | |
130 | LeftArm1:Destroy() | |
131 | RightLeg1:Destroy() | |
132 | LeftLeg1:Destroy() | |
133 | Torso1:Destroy() | |
134 | Head1:Destroy() | |
135 | ||
136 | RightArm.Parent=torso | |
137 | LeftArm.Parent=torso | |
138 | RightLeg.Parent=torso | |
139 | LeftLeg.Parent=torso | |
140 | Head.Parent=torso | |
141 | Torso.Parent=char.HumanoidRootPart | |
142 | ||
143 | ||
144 | ||
145 | ||
146 | local animpose = "Idle" | |
147 | cananim = true | |
148 | num=0 | |
149 | ||
150 | local attacking = false | |
151 | if char:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator") then char:FindFirstChildOfClass("Humanoid").Animator:Destroy() end | |
152 | if char:FindFirstChild("Animate") then char.Animate:Destroy() end | |
153 | ||
154 | ||
155 | ||
156 | ||
157 | ||
158 | spawn(function() | |
159 | while wait() do | |
160 | if torso then | |
161 | local velocity=torso.Velocity | |
162 | if hum==nil then | |
163 | return | |
164 | end | |
165 | if hum.MoveDirection==Vector3.new(0,0,0) then | |
166 | animpose="Idle" | |
167 | else | |
168 | animpose="Running" | |
169 | end | |
170 | if velocity.Y>0.5 then | |
171 | animpose="Jumping" | |
172 | end | |
173 | if velocity.Y<-0.5 then | |
174 | animpose="Falling" | |
175 | end | |
176 | end | |
177 | end | |
178 | end) | |
179 | ||
180 | ||
181 | function sound(id,loop,tim,endtim,eff) | |
182 | local s=Instance.new("Sound",char.Torso) | |
183 | s.SoundId=id | |
184 | if loop==true then | |
185 | s.Looped=true | |
186 | s.Name="Music" | |
187 | else | |
188 | s.Volume=2 | |
189 | if id~="rbxassetid://135362176" and id~='rbxassetid://483000073' and id~='rbxassetid://142449703' then | |
190 | s.PlaybackSpeed = 1+math.random(-100,100)/1000 | |
191 | end | |
192 | end | |
193 | if tim then | |
194 | s.TimePosition=tim | |
195 | end | |
196 | spawn(function() | |
197 | if endtim then | |
198 | repeat wait() until s.TimePosition==endtim or s.TimePosition>=endtim | |
199 | s:Stop() | |
200 | end | |
201 | end) | |
202 | if eff=="echo" then | |
203 | spawn(function() | |
204 | wait(1) | |
205 | local echo=Instance.new("EchoSoundEffect",s) | |
206 | echo.Delay=0.05 | |
207 | echo.WetLevel=11 | |
208 | echo.DryLevel=-1 | |
209 | end) | |
210 | end | |
211 | if eff=="quiet" then | |
212 | s.Volume=0.3 | |
213 | end | |
214 | s:Play() | |
215 | end | |
216 | --SCREEEEM | |
217 | function lazor() | |
218 | sound("rbxassetid://282913215",false,5.3,7.7,'echo') | |
219 | cananim=false | |
220 | for i=1,30 do | |
221 | wait(1/60) | |
222 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.934085608, 0.339979589, -0.10907802, -0.102499805, 0.0373069048, 0.994033217, 0.342020363, 0.939692557, 0),0.2) | |
223 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.50000006, 0.365961194, 0.435137242, -0.173563123, -0.0313025787, -0.984325111, -0.00543563766, 0.999509931, -0.0308270231, 0.98480773, 0, -0.173648223),0.2) | |
224 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, -7.4505806e-09, 0.0094302753, 0.0843551308, 0.996391118, 0.110700019, 0.990222573, -0.0848806128, -0.993809104, 0.111100972, -4.34407745e-08),0.2) | |
225 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.499999881, 0.49999997, 0, 0.686760783, 0.0407644771, -0.725739539, 0.724464417, 0.0430024639, 0.687969565, 0.0592533089, -0.998242974, -2.59004374e-09),0.2) | |
226 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, -0.0484665036, 2.98023224e-08, -0.31701979, -0.00180978479, 0.948417187, -0.948401749, -0.00541418325, -0.317024946, 0.00570865162, -0.999983728, 2.49531951e-10),0.2) | |
227 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),0.2) | |
228 | end | |
229 | ||
230 | local keeprunning=true | |
231 | spawn(function() | |
232 | while wait() do | |
233 | local ray = Ray.new(char['Right Arm'].CFrame.p,(mouse.Hit.p-char['Right Arm'].CFrame.p).unit*300) | |
234 | local part,position = workspace:FindPartOnRay(ray,char, false, true) | |
235 | local distance = (char['Right Arm'].CFrame.p - position).magnitude | |
236 | if keeprunning==false then | |
237 | break | |
238 | end | |
239 | if part then | |
240 | if part.Parent:FindFirstChild("Humanoid") then | |
241 | part:BreakJoints() | |
242 | part.Anchored=false | |
243 | ||
244 | end | |
245 | end | |
246 | ||
247 | local ex=Instance.new("Explosion",workspace) | |
248 | ex.Position=position | |
249 | ex.Visible=false | |
250 | ex.DestroyJointRadiusPercent=0 | |
251 | ex.BlastPressure=100001 | |
252 | ex.BlastRadius=1 | |
253 | ||
254 | local ex=Instance.new("Explosion",workspace) | |
255 | ex.Position=position | |
256 | ex.Visible=false | |
257 | ex.DestroyJointRadiusPercent=0 | |
258 | ex.BlastPressure=100 | |
259 | ex.BlastRadius=30 | |
260 | ||
261 | Torso.C1 = Torso.C1:lerp(CFrame.new(0.45384407, 3.25962901e-09, -0.163368881, -0.840329647, -0.538628399, 0.061037913, 0.12248569, -0.0789824352, 0.989322543, -0.528056264, 0.838833332, 0.132345542),0.2) | |
262 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.486327916, 0.918347716, -0.0835282654, -0.139580116, -0.193979532, -0.971024871, -0.210418463, 0.96403873, -0.162337258, 0.967595696, 0.18166253, -0.175377563),0.2) | |
263 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.504761815, 1.01941562, -0.072208859, -0.0534072705, 0.0794541091, 0.995406747, -0.0726492628, 0.993878722, -0.083230041, -0.995926619, -0.0767606497, -0.0473080687),0.2) | |
264 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.49999994, -5.96046448e-08, -0.0783533007, -0.155531406, -0.984718561, -0.400697172, 0.909370303, -0.111747369, 0.912854075, 0.385818183, -0.1335731),0.2) | |
265 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.267708331, 0.709498703, -0.021721065, -0.500156283, -0.117081404, 0.85798347, -0.864884198, 0.0187412351, -0.501621544, 0.0426508784, -0.992945492, -0.110635392),0.2) | |
266 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.951892793, 0.28452459, 0.113780133, 0, -0.371307135, 0.928510129, 0.306431323, 0.883842111, 0.353444576),0.2) | |
267 | ||
268 | local beam = Instance.new("Part", char) | |
269 | beam.BrickColor = BrickColor.new("Institutional white") | |
270 | beam.FormFactor = "Custom" | |
271 | beam.Material = "Neon" | |
272 | beam.Transparency = 0.5 | |
273 | beam.Anchored = true | |
274 | beam.Locked = true | |
275 | beam.CanCollide = false | |
276 | beam.Size = Vector3.new(0.3, 0.3, distance) | |
277 | beam.CFrame = CFrame.new((char['Right Arm'].CFrame*CFrame.new(0,-3,0)).p, mouse.Hit.p) * CFrame.new(0, 0, -distance/2) | |
278 | spawn(function() | |
279 | for i=1,10 do | |
280 | beam.Transparency=i/10 | |
281 | wait() | |
282 | end | |
283 | beam:Destroy() | |
284 | end) | |
285 | spawn(function() | |
286 | for i=1,20 do | |
287 | beam.Size=Vector3.new(i,i,beam.Size.Z) | |
288 | wait() | |
289 | end | |
290 | end) | |
291 | end | |
292 | end) | |
293 | for i=1,10 do | |
294 | sound("rbxassetid://282913215",false) | |
295 | end | |
296 | wait(3) | |
297 | keeprunning=false | |
298 | cananim=true | |
299 | end | |
300 | dodamage=false | |
301 | deb=false | |
302 | hum.Touched:connect(function(part) | |
303 | local ded=part.Parent:FindFirstChildOfClass("Humanoid") | |
304 | if deb==true then | |
305 | return | |
306 | end | |
307 | deb=true | |
308 | if ded then | |
309 | if dodamage == true then | |
310 | ded.Health=ded.Health-(math.random(5,10)) | |
311 | sound("rbxassetid://251309043",false,0,0.36,'quiet') | |
312 | if supermode==true then | |
313 | local ex=Instance.new("Explosion",workspace) | |
314 | if math.random(1,3) ==1 then | |
315 | ex.Visible=false | |
316 | end | |
317 | ex.DestroyJointRadiusPercent=0 | |
318 | ex.Position=part.Position | |
319 | ex.BlastPressure=1000 | |
320 | part:BreakJoints() | |
321 | part.Anchored=false | |
322 | end | |
323 | end | |
324 | end | |
325 | wait(0.1) | |
326 | deb=false | |
327 | end) | |
328 | function SUPERlazor() | |
329 | sound("rbxassetid://282913215",false,'echo') | |
330 | ||
331 | wait(2) | |
332 | cananim=false | |
333 | for i=1,30 do | |
334 | wait(1/60) | |
335 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.934085608, 0.339979589, -0.10907802, -0.102499805, 0.0373069048, 0.994033217, 0.342020363, 0.939692557, 0),0.2) | |
336 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.50000006, 0.365961194, 0.435137242, -0.173563123, -0.0313025787, -0.984325111, -0.00543563766, 0.999509931, -0.0308270231, 0.98480773, 0, -0.173648223),0.2) | |
337 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, -7.4505806e-09, 0.0094302753, 0.0843551308, 0.996391118, 0.110700019, 0.990222573, -0.0848806128, -0.993809104, 0.111100972, -4.34407745e-08),0.2) | |
338 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.499999881, 0.49999997, 0, 0.686760783, 0.0407644771, -0.725739539, 0.724464417, 0.0430024639, 0.687969565, 0.0592533089, -0.998242974, -2.59004374e-09),0.2) | |
339 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, -0.0484665036, 2.98023224e-08, -0.31701979, -0.00180978479, 0.948417187, -0.948401749, -0.00541418325, -0.317024946, 0.00570865162, -0.999983728, 2.49531951e-10),0.2) | |
340 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),0.2) | |
341 | end | |
342 | ||
343 | local keeprunning=true | |
344 | spawn(function() | |
345 | while wait() do | |
346 | local ray = Ray.new(char['Right Arm'].CFrame.p,(mouse.Hit.p-char['Right Arm'].CFrame.p).unit*300) | |
347 | local part,position = workspace:FindPartOnRay(ray,char, false, true) | |
348 | local distance = (char['Right Arm'].CFrame.p - position).magnitude | |
349 | if keeprunning==false then | |
350 | break | |
351 | end | |
352 | if part then | |
353 | if part.Parent:FindFirstChild("Humanoid") then | |
354 | part:BreakJoints() | |
355 | part.Anchored=false | |
356 | part.Velocity = Vector3.new(math.random(-160,160),math.random(-160,160),math.random(-160,160)) | |
357 | if math.random(1,3) == 1 then | |
358 | part:Destroy() | |
359 | end | |
360 | end | |
361 | end | |
362 | ||
363 | local ex=Instance.new("Explosion",workspace) | |
364 | ex.Position=position | |
365 | ex.Visible=false | |
366 | ex.DestroyJointRadiusPercent=0 | |
367 | ex.BlastPressure=100 | |
368 | ex.BlastRadius=10 | |
369 | ex.Hit:connect(function(part) | |
370 | if part.Parent~=char and part.Parent~=char:WaitForChild("Accessory") then | |
371 | ||
372 | end | |
373 | end) | |
374 | if math.random(1,5)==5 then | |
375 | sound("rbxassetid://314970761",false) | |
376 | end | |
377 | Torso.C1 = Torso.C1:lerp(CFrame.new(0.45384407, 3.25962901e-09, -0.163368881, -0.840329647, -0.538628399, 0.061037913, 0.12248569, -0.0789824352, 0.989322543, -0.528056264, 0.838833332, 0.132345542),0.2) | |
378 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.486327916, 0.918347716, -0.0835282654, -0.139580116, -0.193979532, -0.971024871, -0.210418463, 0.96403873, -0.162337258, 0.967595696, 0.18166253, -0.175377563),0.2) | |
379 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.504761815, 1.01941562, -0.072208859, -0.0534072705, 0.0794541091, 0.995406747, -0.0726492628, 0.993878722, -0.083230041, -0.995926619, -0.0767606497, -0.0473080687),0.2) | |
380 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.49999994, -5.96046448e-08, -0.0783533007, -0.155531406, -0.984718561, -0.400697172, 0.909370303, -0.111747369, 0.912854075, 0.385818183, -0.1335731),0.2) | |
381 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.267708331, 0.709498703, -0.021721065, -0.500156283, -0.117081404, 0.85798347, -0.864884198, 0.0187412351, -0.501621544, 0.0426508784, -0.992945492, -0.110635392),0.2) | |
382 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.951892793, 0.28452459, 0.113780133, 0, -0.371307135, 0.928510129, 0.306431323, 0.883842111, 0.353444576),0.2) | |
383 | ||
384 | local beam = Instance.new("Part", char) | |
385 | local colorz = {"Royal purple", "Toothpaste"} | |
386 | beam.BrickColor = BrickColor.new(colorz[math.random(1,#colorz)]) | |
387 | beam.FormFactor = "Custom" | |
388 | beam.Material = "Neon" | |
389 | beam.Transparency = 0.5 | |
390 | beam.Anchored = true | |
391 | beam.Locked = true | |
392 | beam.CanCollide = false | |
393 | beam.Size = Vector3.new(0.3, 0.3, distance) | |
394 | beam.CFrame = CFrame.new((char['Right Arm'].CFrame*CFrame.new(0,-3,0)).p, mouse.Hit.p) * CFrame.new(0, 0, -distance/2) | |
395 | spawn(function() | |
396 | while beam do | |
397 | if beam==nil then break end | |
398 | beam.Anchored=true | |
399 | swait() | |
400 | end | |
401 | end) | |
402 | spawn(function() | |
403 | for i=1,10 do | |
404 | beam.Transparency=i/10 | |
405 | beam.CFrame=beam.CFrame*CFrame.new(0,0,-i/10) | |
406 | wait() | |
407 | end | |
408 | beam:Destroy() | |
409 | end) | |
410 | spawn(function() | |
411 | for i=5,70, 3 do | |
412 | beam.Size=Vector3.new(i,i,beam.Size.Z) | |
413 | wait() | |
414 | end | |
415 | end) | |
416 | end | |
417 | end) | |
418 | for i=1,10 do | |
419 | sound("rbxassetid://251309043",false) | |
420 | end | |
421 | wait(6) | |
422 | keeprunning=false | |
423 | cananim=true | |
424 | end | |
425 | ||
426 | ||
427 | mouse.Button1Down:connect(function() | |
428 | normpunch() | |
429 | end) | |
430 | ||
431 | ||
432 | supermode=false | |
433 | mouse.KeyDown:connect(function(key) | |
434 | local k=string.lower(key) | |
435 | if attacking==true then | |
436 | return | |
437 | end | |
438 | if k=="q" then | |
439 | attacking=true | |
440 | if supermode==false then | |
441 | lazor() | |
442 | else | |
443 | SUPERlazor() | |
444 | end | |
445 | attacking=false | |
446 | end | |
447 | if k=="l" then | |
448 | transition() | |
449 | end | |
450 | end) | |
451 | ||
452 | punch = 1 | |
453 | function normpunch() | |
454 | if attacking==true then | |
455 | return | |
456 | end | |
457 | dodamage=true | |
458 | attacking=true | |
459 | cananim=false | |
460 | sound("rbxassetid://211059855",false) | |
461 | if punch==1 then | |
462 | for i=1,10 do | |
463 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.910118103, -0.41434893, 0, 0, 0, 1, -0.41434893, 0.910118103, 0),0.3) | |
464 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 1, 3.7252903e-09, 0.00116646651, 0.0136213535, -0.99990654, 0.023496937, 0.999630809, 0.0136450082, 0.999723256, -0.0235106573, 0.000845975766),0.3) | |
465 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, 4.65661287e-10, -4.35437997e-08, 0.0874831304, 0.996165991, 0.00556585658, 0.996150553, -0.0874817744, -0.999984503, 0.00554451346, -0.000486961944),0.3) | |
466 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, 0, 0.0391717218, -0.188973963, -0.981200516, -0.199156061, 0.960776389, -0.192991138, 0.979184568, 0.202971816, -4.2801517e-08),0.3) | |
467 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.312758863, 0.804995358, -0.0404221117, -0.349137038, 0.0591336042, 0.935203969, -0.937045753, -0.0294431858, -0.347962916, 0.0069590779, -0.997815788, 0.0656905994),0.3) | |
468 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.957687616, 0.287809789, 0, 0, 0, 1, 0.287809789, 0.957687616, 0),0.3) | |
469 | swait() | |
470 | end | |
471 | end | |
472 | ||
473 | if punch==2 then | |
474 | for i=1,10 do | |
475 | swait() | |
476 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.983417749, -0.116297476, 0.139156267, 0.140106976, 0, 0.990136385, -0.115150362, 0.993214428, 0.0162940882),0.3) | |
477 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 0.86816901, 0, -4.32735874e-08, -0.141177684, -0.989984274, -6.17107254e-09, 0.989984274, -0.141177684, 1, 0, -4.37113883e-08),0.3) | |
478 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1.23575175, 0.176770806, -0.0336775407, -0.11687994, 0.992574871, -0.983614028, 0.179874539, -0.0121925017, -0.177113876, -0.976721108, -0.12102247),0.3) | |
479 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.49999994, 0, -4.33072991e-08, -0.135659724, -0.990755498, -0.144958332, 0.98029089, -0.134226859, 0.989437759, 0.143618271, -0.0196650494),0.3) | |
480 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.49999997, 0, 0.0339012295, 0.115021303, 0.992784381, 0.280674934, 0.952282727, -0.119913273, -0.959203959, 0.282714903, -4.19281356e-08),0.3) | |
481 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.0711001009, 0.997469187, 0, 0.997469187, 0.0711001009),0.3) | |
482 | end | |
483 | end | |
484 | ||
485 | if punch==3 then | |
486 | for i=1,10 do | |
487 | swait() | |
488 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.93749547, 0.347997427, 0, 0, 0, 1, 0.347997427, 0.93749547, 0),0.3) | |
489 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.50000006, 1, 0, 0.0109365005, -0.0829221606, -0.996496022, -0.130298764, 0.98794055, -0.083640255, 0.991414428, 0.13075693, -4.33361009e-08),0.3) | |
490 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.49999997, 1, -3.7252903e-09, 0.114501342, 0.0127837732, 0.99334085, 5.62495939e-10, 0.999917209, -0.0128684072, -0.993423104, 0.00147345045, 0.114491865),0.3) | |
491 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.352809936, 1.3686024, 0.0138391852, -4.37113883e-08, 0, -1, 0.999440074, -0.0334585831, -4.36869136e-08, -0.0334585831, -0.999440074, 1.4625211e-09),0.3) | |
492 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, 0, -4.33629381e-08, 0.126015082, 0.992028356, 0.172522247, 0.97715348, -0.124125555, -0.985005617, 0.171146959, -0.0217404477),0.3) | |
493 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.07533779, 0.997158051, 0, 0.997158051, 0.07533779),0.3) | |
494 | end | |
495 | end | |
496 | if punch~=3 then | |
497 | punch=punch+1 | |
498 | else | |
499 | punch=1 | |
500 | end | |
501 | cananim=true | |
502 | dodamage=false | |
503 | attacking=false | |
504 | end | |
505 | ||
506 | ||
507 | ||
508 | ---transiton | |
509 | function transition() | |
510 | if supermode==false then | |
511 | sound("rbxassetid://277083316",false,0,5) | |
512 | ||
513 | cananim=false | |
514 | attacking=true | |
515 | local stord = false | |
516 | spawn(function() | |
517 | wait(3) | |
518 | stord=true | |
519 | end) | |
520 | local ParticleEmitter0 = Instance.new("ParticleEmitter") | |
521 | sound("rbxassetid://277083316",false,0,5) | |
522 | ParticleEmitter0.Parent = torso | |
523 | ParticleEmitter0.Transparency = NumberSequence.new(0.20000000298023,0.20000000298023) | |
524 | ParticleEmitter0.Size = NumberSequence.new(3.2240438461304,1.0928964614868,3.7158470153809,0) | |
525 | ParticleEmitter0.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)) | |
526 | ParticleEmitter0.Texture = "http://www.roblox.com/asset/?id=232918622" | |
527 | ParticleEmitter0.Lifetime = NumberRange.new(3) | |
528 | ParticleEmitter0.Rate = 1000 | |
529 | ParticleEmitter0.VelocitySpread = 180 | |
530 | ParticleEmitter0.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)) | |
531 | repeat | |
532 | sound("rbxassetid://277083316",false,0,5) | |
533 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0.787846208, 0.138918549, -1, 0, 0, 0, -0.173648179, 0.98480773, 0, 0.98480773, 0.173648179),0.2) | |
534 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.45286727, 0.316941619, 0.628786147, -4.36354597e-08, -0.058915928, -0.998262942, 0.21313341, 0.975326002, -0.0575622357, 0.977023065, -0.21276319, 0.0125569087),0.2) | |
535 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 0.627124608, -0.0240803957, -4.37113883e-08, 0, 1, 0.551679194, 0.834056437, 2.4114664e-08, -0.834056437, 0.551679194, -3.6457763e-08),0.2) | |
536 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, 0, 0.774880886, 0.296248376, -0.558387458, 0.52156949, 0.199403673, 0.829580307, 0.357106328, -0.934063733, -1.56096132e-08),0.2) | |
537 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, 0, -0.00304316962, 0.0175396204, 0.999841511, -0.170919135, 0.985124171, -0.0178016629, -0.985280335, -0.170946226, -4.30679705e-08),0.2) | |
538 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.362809777, 0.931863308, 0, 0.931863308, 0.362809777),0.2) | |
539 | swait() | |
540 | until stord==true | |
541 | sound("rbxassetid://245537790",false) | |
542 | ParticleEmitter0.Speed=NumberRange.new(50) | |
543 | local mas = char | |
544 | sound("rbxassetid://277083316",false,0,5) | |
545 | o3.MeshId = "rbxassetid://431035980" | |
546 | o3.TextureId = "rbxassetid://431036179" | |
547 | o3.Scale = Vector3.new(2,2,2) | |
548 | for i=1,90 do | |
549 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, -1.06972265, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),0.2) | |
550 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, -0.0906665474, 0.995881319, 3.96316047e-09, 0.995881319, 0.0906665474, -4.35313545e-08),0.2) | |
551 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.0595862567, 0.998223186, 2.60459809e-09, -0.998223186, 0.0595862567, -4.36337224e-08),0.2) | |
552 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, 0, -4.34208935e-08, -0.115096748, -0.993354261, -5.0310387e-09, 0.993354261, -0.115096748, 1, 0, -4.37113883e-08),0.2) | |
553 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, 0, -4.36014211e-08, 0.0708893314, 0.997484207, 3.0986711e-09, 0.997484207, -0.0708893314, -1, 0, -4.37113883e-08),0.2) | |
554 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.249942318, 0.968260705, 0, 0.968260705, -0.249942318),0.2) | |
555 | swait() | |
556 | end | |
557 | ParticleEmitter0.Enabled=false | |
558 | supermode=true | |
559 | cananim=true | |
560 | attacking=false | |
561 | end | |
562 | end | |
563 | ||
564 | ||
565 | ||
566 | ||
567 | ||
568 | ||
569 | ||
570 | ||
571 | ||
572 | ||
573 | ||
574 | function swait(t) | |
575 | if t == nil or t == 0 then | |
576 | game:service('RunService').Stepped:wait(0) | |
577 | return true | |
578 | else | |
579 | for i = 0, t do | |
580 | game:service('RunService').Stepped:wait(0) | |
581 | end | |
582 | return true | |
583 | end | |
584 | end | |
585 | ||
586 | function scream() | |
587 | sound("rbxassetid://251309043",false,5.3509586219885250102) | |
588 | cananim = false | |
589 | for i=0,1.5, 0.1 do | |
590 | swait() | |
591 | end | |
592 | ||
593 | attacking=true | |
594 | for i=0,1.5, 0.1 do | |
595 | swait() | |
596 | end | |
597 | wait() | |
598 | cananim = true | |
599 | attacking=false | |
600 | end | |
601 | ||
602 | ||
603 | spawn(function() | |
604 | while swait() do | |
605 | if animpose=="Idle" then | |
606 | for i=0,0.1,0.0025 do | |
607 | if animpose == "Idle" and cananim then | |
608 | swait() | |
609 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.500000238, 0.500000238, -2.38418579e-07, 0.000574484526, -0.0482845455, -0.998833477, -0.00805476494, 0.998800993, -0.0482876077, 0.999967396, 0.0080731092, 0.000184875054),i) | |
610 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.50000006, 0.500000238, 0, -0.000810533762, 0.0540908612, 0.998535693, -0.00984518789, 0.998487175, -0.0540962256, -0.999951184, -0.00987461861, -0.000276772887),i) | |
611 | else | |
612 | break | |
613 | end | |
614 | end | |
615 | for i=0,0.1,0.0025 do | |
616 | if animpose == "Idle" and cananim then | |
617 | swait() | |
618 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.50000006, 0.50000006, -9.47312119e-16, -4.35179714e-08, -0.0939683169, -0.99557513, -4.10748546e-09, 0.99557513, -0.0939683169, 1, 0, -4.37113883e-08),i) | |
619 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, -1.77635684e-15, -4.34464624e-08, 0.109930925, 0.993939221, 4.80523354e-09, 0.993939221, -0.109930925, -1, 0, -4.37113883e-08),i) | |
620 | else | |
621 | break | |
622 | end | |
623 | end | |
624 | end | |
625 | end | |
626 | end) | |
627 | ||
628 | while swait() do | |
629 | num = num + 0.05 | |
630 | local sin = math.sin(num) | |
631 | if animpose == "Falling" and cananim then | |
632 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.089640595, 0.995974183, 0, 0.995974183, 0.089640595),0.2) | |
633 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 0.940049231, 0.240459353, -4.37113883e-08, 0, -1, 0.0583860278, 0.998294055, -2.55213428e-09, 0.998294055, -0.0583860278, -4.36368204e-08),0.2) | |
634 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.144062787, 0.989568532, 6.29718455e-09, -0.989568532, 0.144062787, -4.32554152e-08),0.2) | |
635 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.635436773, 0, -4.28449951e-08, -0.198112398, -0.98017925, -8.65976801e-09, 0.98017925, -0.198112398, 1, 0, -4.37113883e-08),0.2) | |
636 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.599987805, 0, -4.26205062e-08, 0.222013503, 0.975043535, 9.70451808e-09, 0.975043535, -0.222013503, -1, 0, -4.37113883e-08),0.2) | |
637 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.231759518, 0.972773135, 0, 0.972773135, 0.231759518),0.2) | |
638 | end | |
639 | ||
640 | ||
641 | if animpose == "Idle" and cananim then | |
642 | for i=0,0.1,0.001 do | |
643 | if animpose == "Idle" and cananim then | |
644 | swait() | |
645 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0.200000048, 0, -0.98480767, -0.173648626, 0, 0, 0, 1, -0.173648626, 0.98480767, 0),i) | |
646 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.506504774, 0.77988106, 0.0818042755, 0.00300081098, -0.0723684728, -0.997373462, -0.186295643, 0.979876935, -0.0716594532, 0.982489169, 0.186021373, -0.0105415061),i) | |
647 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.485123575, 0.800115585, 0.135903358, -0.000153154135, -0.00734659936, 0.999972999, -0.0196102634, 0.999780715, 0.0073421835, -0.999807715, -0.0196086094, -0.000297189312),i) | |
648 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.98480767, 0.173648402, 0, 0, 0, 1, 0.173648402, 0.98480767, 0),i) | |
649 | i=i/2 | |
650 | else | |
651 | break | |
652 | end | |
653 | end | |
654 | for i=0,0.1,0.001 do | |
655 | if animpose == "Idle" and cananim then | |
656 | swait() | |
657 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.98480767, -0.173648626, 0, 0, 0, 1, -0.173648626, 0.98480767, 0),i) | |
658 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.49999994, 1, 0, -4.3619707e-08, -0.0647336245, -0.997902572, -0.143231794, 0.98761338, -0.0640661567, 0.989689171, 0.142931372, -0.00927195605),i) | |
659 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1.00000012, 0.0391067117, -4.37113883e-08, 0, 1, -0.0612497553, 0.998122454, -2.67731193e-09, -0.998122454, -0.0612497553, -4.3629317e-08),i) | |
660 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.98480767, 0.173648402, 0, 0, 0, 1, 0.173648402, 0.98480767, 0),i) | |
661 | i=i/2 | |
662 | else | |
663 | break | |
664 | end | |
665 | end | |
666 | end | |
667 | if animpose == "Running" and cananim then | |
668 | for i = 0, 0.25, 0.01 do | |
669 | if animpose == "Running" and cananim then | |
670 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.0358745977, 0.99935627, 0, 0.99935627, 0.0358745977),i) | |
671 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 0.999999821, 8.94069672e-08, -4.37113883e-08, 0, -1, 0.342020363, 0.939692557, -1.49501851e-08, 0.939692557, -0.342020363, -4.10752676e-08),i) | |
672 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1.00000024, 5.96046448e-08, -4.37113883e-08, 0, 1, 0.500000179, 0.866025269, 2.18557012e-08, -0.866025269, 0.500000179, -3.78551661e-08),i) | |
673 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, -2.98023224e-08, -4.37113883e-08, 0, -1, -0.5, 0.866025388, 2.18556941e-08, 0.866025388, 0.5, -3.78551732e-08),i) | |
674 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, -1.49011612e-08, -4.37113883e-08, 0, 1, -0.5, 0.866025388, -2.18556941e-08, -0.866025388, -0.5, -3.78551732e-08),i) | |
675 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.106743492, 0.994286597, 0, 0.994286597, 0.106743492),i) | |
676 | swait() | |
677 | i=i/i*1.5 | |
678 | else | |
679 | break | |
680 | end | |
681 | end | |
682 | for i = 0, 0.25, 0.01 do | |
683 | if animpose == "Running" and cananim then | |
684 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.999985278, 0, -0.00542885857, -0.00542835938, -0.0135572571, 0.999893367, -7.36004295e-05, 0.99990809, 0.0135570578),i) | |
685 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 0.999999821, -1.1920929e-07, -4.37113883e-08, 0, -1, -0.499999791, 0.866025567, 2.18556853e-08, 0.866025567, 0.499999791, -3.78551803e-08),i) | |
686 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1.00000012, -2.38418579e-07, -4.37113883e-08, 0, 1, -0.342020005, 0.939692616, -1.49501691e-08, -0.939692616, -0.342020005, -4.10752676e-08),i) | |
687 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.483990371, 0.00582697988, -4.37113883e-08, 0, -1, 0.57357651, 0.819151998, -2.50718255e-08, 0.819151998, -0.57357651, -3.58062699e-08),i) | |
688 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.49999997, -2.98023224e-08, -4.37113883e-08, 0, 1, 0.500000179, 0.866025329, 2.18557012e-08, -0.866025329, 0.500000179, -3.78551697e-08),i) | |
689 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.103604339, 0.994618595, 0, 0.994618595, 0.103604339),i) | |
690 | swait() | |
691 | i=i/i*1.5 | |
692 | else | |
693 | break | |
694 | end | |
695 | end | |
696 | end | |
697 | ||
698 | if animpose == "Jumping" and cananim then | |
699 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.082511276, 0.996590137, 0, 0.996590137, 0.082511276),0.2) | |
700 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.495160788, 0.605178833, 0.315436631, 0.00363327051, -0.0117048975, -0.999924898, -0.296433508, 0.95497489, -0.012255826, 0.955046594, 0.296455771, -4.17464108e-08),0.2) | |
701 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.10612049, 0.994353294, 4.63867389e-09, -0.994353294, 0.10612049, -4.34645635e-08),0.2) | |
702 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, 0, -4.36747598e-08, -0.0409301594, -0.999162018, -1.78911408e-09, 0.999162018, -0.0409301594, 1, 0, -4.37113883e-08),0.2) | |
703 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, 0, -4.36556142e-08, 0.0504997671, 0.998724043, 2.20741492e-09, 0.998724043, -0.0504997671, -1, 0, -4.37113883e-08),0.2) | |
704 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.106113546, 0.99435401, 0, 0.99435401, -0.106113546),0.2) | |
705 | end | |
706 | end |