SHOW:
|
|
- or go back to the newest paste.
1 | ----Made by tyefoodmania | |
2 | ----Credits go to moneypro123 aka speedoflightpro123 | |
3 | ----Noobs | |
4 | ||
5 | wait(0.2) | |
6 | ||
7 | ||
8 | --https://github.com/Mokiros/roblox-FE-compatibility | |
9 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
10 | local Player,game,owner = owner,game | |
11 | local RealPlayer = Player | |
12 | 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 | |
13 | ||
14 | ||
15 | local Player = game.Players.localPlayer | |
16 | local Character = Player.Character | |
17 | local Humanoid = Character.Humanoid | |
18 | local Mouse = Player:GetMouse() | |
19 | local LeftArm = Character["Left Arm"] | |
20 | local RightArm = Character["Right Arm"] | |
21 | local LeftLeg = Character["Left Leg"] | |
22 | local RightLeg = Character["Right Leg"] | |
23 | local Head = Character.Head | |
24 | local Torso = Character.Torso | |
25 | local Camera = game.Workspace.CurrentCamera | |
26 | local RootPart = Character.HumanoidRootPart | |
27 | local RootJoint = RootPart.RootJoint | |
28 | local Pause = false | |
29 | local attack = false | |
30 | local LOL = false | |
31 | local Anim = 'Idle' | |
32 | local attacktype = 1 | |
33 | local delays = false | |
34 | local play = true | |
35 | local targetted = nil | |
36 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
37 | local velocity = RootPart.Velocity.y | |
38 | local sine = 0 | |
39 | local change = 1 | |
40 | local doe = 0 | |
41 | local Create = LoadLibrary("RbxUtility").Create | |
42 | for i,v in pairs(Character:children()) do | |
43 | if v:IsA("Hat") then | |
44 | v:Destroy() | |
45 | end | |
46 | end | |
47 | for i,v in pairs(Character:children()) do | |
48 | if v:IsA("Accessory") then | |
49 | v:Destroy() | |
50 | end | |
51 | end | |
52 | for i,v in pairs(Character:children()) do | |
53 | if v:IsA("Clothing") then | |
54 | v:Destroy() | |
55 | end | |
56 | end | |
57 | for i,v in pairs(Character:children()) do | |
58 | if v:IsA("Accoutrement") then | |
59 | v:Destroy() | |
60 | end | |
61 | end | |
62 | local Shirt = Instance.new("Shirt",Character) | |
63 | local Pants = Instance.new("Pants",Character) | |
64 | Head.face.Texture = "rbxassetid://403828505" | |
65 | local Hat = Instance.new("Part",Character) | |
66 | Hat.Size = Vector3.new(1,1,1) | |
67 | Hat.CanCollide = false | |
68 | Hat.BrickColor = BrickColor.new("Really black") | |
69 | local Hat2 = Instance.new("SpecialMesh",Hat) | |
70 | Hat2.MeshId = "rbxassetid://922015392" | |
71 | Hat2.TextureId = "rbxassetid://922016290" | |
72 | Hat2.Scale = Vector3.new(0.08,0.08,0.08) | |
73 | local Hat3 = Instance.new("Weld",Hat) | |
74 | Hat3.Part0 = Head | |
75 | Hat3.Part1 = Hat | |
76 | Hat3.C0 = CFrame.new(-0.1,1,0)*CFrame.Angles(0,0,0.4) | |
77 | Shirt.ShirtTemplate = "rbxassetid://578666808" | |
78 | Pants.PantsTemplate = "rbxassetid://578667800" | |
79 | local M = Instance.new("Sound",Torso) | |
80 | M.SoundId = "rbxassetid://538732827" | |
81 | M.Looped = true | |
82 | M.Volume = 0.5 | |
83 | M.Pitch = 1 | |
84 | M:play() | |
85 | Humanoid.WalkSpeed = 25 | |
86 | Humanoid.Animator.Parent = nil | |
87 | Character.Animate.Parent = nil | |
88 | ||
89 | local newMotor = function(part0, part1, c0, c1) | |
90 | local w = Create('Motor'){ | |
91 | Parent = part0, | |
92 | Part0 = part0, | |
93 | Part1 = part1, | |
94 | C0 = c0, | |
95 | C1 = c1, | |
96 | } | |
97 | return w | |
98 | end | |
99 | function clerp(a, b, t) | |
100 | return a:lerp(b, t) | |
101 | end | |
102 | ||
103 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
104 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
105 | ||
106 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
107 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
108 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
109 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
110 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
111 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
112 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
113 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
114 | ||
115 | local rarmc1 = RW.C1 | |
116 | local larmc1 = LW.C1 | |
117 | local rlegc1 = RH.C1 | |
118 | local llegc1 = LH.C1 | |
119 | ||
120 | local resetc1 = false | |
121 | ||
122 | function PlayAnimationFromTable(table, speed, bool) | |
123 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
124 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
125 | RW.C0 = clerp(RW.C0, table[3], speed) | |
126 | LW.C0 = clerp(LW.C0, table[4], speed) | |
127 | RH.C0 = clerp(RH.C0, table[5], speed) | |
128 | LH.C0 = clerp(LH.C0, table[6], speed) | |
129 | if bool == true then | |
130 | if resetc1 == false then | |
131 | resetc1 = true | |
132 | RootJoint.C1 = RootJoint.C1 | |
133 | Torso.Neck.C1 = Torso.Neck.C1 | |
134 | RW.C1 = rarmc1 | |
135 | LW.C1 = larmc1 | |
136 | RH.C1 = rlegc1 | |
137 | LH.C1 = llegc1 | |
138 | end | |
139 | end | |
140 | end | |
141 | ||
142 | ArtificialHB = Create("BindableEvent", script){ | |
143 | Parent = script, | |
144 | Name = "Heartbeat", | |
145 | } | |
146 | ||
147 | script:WaitForChild("Heartbeat") | |
148 | ||
149 | frame = 1 / 30 | |
150 | tf = 0 | |
151 | allowframeloss = false | |
152 | tossremainder = false | |
153 | lastframe = tick() | |
154 | script.Heartbeat:Fire() | |
155 | ||
156 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
157 | tf = tf + s | |
158 | if tf >= frame then | |
159 | if allowframeloss then | |
160 | script.Heartbeat:Fire() | |
161 | lastframe = tick() | |
162 | else | |
163 | for i = 1, math.floor(tf / frame) do | |
164 | script.Heartbeat:Fire() | |
165 | end | |
166 | lastframe = tick() | |
167 | end | |
168 | if tossremainder then | |
169 | tf = 0 | |
170 | else | |
171 | tf = tf - frame * math.floor(tf / frame) | |
172 | end | |
173 | end | |
174 | end) | |
175 | ||
176 | function swait(num) | |
177 | if num == 0 or num == nil then | |
178 | ArtificialHB.Event:wait() | |
179 | else | |
180 | for i = 0, num do | |
181 | ArtificialHB.Event:wait() | |
182 | end | |
183 | end | |
184 | end | |
185 | function Hit1() | |
186 | if not D then D = true | |
187 | Pause = true | |
188 | for i = 0,0.5,0.1 do | |
189 | swait() | |
190 | PlayAnimationFromTable({ | |
191 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0.2) * CFrame.Angles(0, -0.3, 0), | |
192 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
193 | CFrame.new(1.9,0.5,0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,1), | |
194 | CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
195 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
196 | CFrame.new(-0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.1), | |
197 | }, .5, false) | |
198 | end | |
199 | local Grab = Instance.new("Part",RightArm) | |
200 | Grab.Size = Vector3.new(1,1,1) | |
201 | Grab.CanCollide = false | |
202 | Grab.BrickColor = BrickColor.new("Deep orange") | |
203 | Grab.Transparency = math.huge | |
204 | local Grabo = Instance.new("Weld",Grab) | |
205 | Grabo.Part0 = RightArm | |
206 | Grabo.Part1 = Grab | |
207 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
208 | local RA = Instance.new("Part",RightArm) | |
209 | RA.Size = Vector3.new(1.1,2.1,1.1) | |
210 | RA.BrickColor = BrickColor.new("New Yeller") | |
211 | RA.Material = "Neon" | |
212 | RA.Transparency = 0 | |
213 | local RA2 = Instance.new("Weld",RA) | |
214 | RA2.Part0 = RightArm | |
215 | RA2.Part1 = RA | |
216 | RA2.C0 = CFrame.new(0,0,0) | |
217 | local Sou = Instance.new("Sound",Torso) | |
218 | Sou.SoundId = "rbxassetid://727821717" | |
219 | Sou.Pitch = 1 | |
220 | Sou.Looped = false | |
221 | Sou.Volume = 1 | |
222 | Sou:play() | |
223 | coroutine.resume(coroutine.create(function() | |
224 | for i = 1,2 do | |
225 | for i = 1,5 do | |
226 | RA.Transparency = RA.Transparency + 0.1 | |
227 | game:GetService("RunService").RenderStepped:wait() | |
228 | end | |
229 | wait(0.1) | |
230 | for i = 1,5 do | |
231 | RA.Transparency = RA.Transparency - 0.1 | |
232 | game:GetService("RunService").RenderStepped:wait() | |
233 | end | |
234 | game:GetService("RunService").RenderStepped:wait() | |
235 | end | |
236 | for i = 1,10 do | |
237 | RA.Transparency = RA.Transparency + 0.1 | |
238 | game:GetService("RunService").RenderStepped:wait() | |
239 | end | |
240 | RA:remove() | |
241 | end)) | |
242 | local SFXZ = Instance.new("Sound",Torso) | |
243 | SFXZ.SoundId = "rbxassetid://169259383" | |
244 | SFXZ.Volume = 1 | |
245 | SFXZ.Pitch = 1.5 | |
246 | SFXZ.Looped = false | |
247 | wait(0.01) | |
248 | SFXZ:Play() | |
249 | Grab.Touched:connect(function(hit) | |
250 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
251 | Grab:remove() | |
252 | hit.Parent.Humanoid:TakeDamage(13) | |
253 | local SFXZ = Instance.new("Sound",Torso) | |
254 | SFXZ.SoundId = "rbxassetid://743886825" | |
255 | SFXZ.Volume = 1 | |
256 | SFXZ.Pitch = 1 | |
257 | SFXZ.Looped = false | |
258 | wait(0.01) | |
259 | SFXZ:Play() | |
260 | local Fl = Instance.new("BodyVelocity",hit.Parent.Torso) | |
261 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
262 | Fl.velocity = Torso.CFrame.lookVector*33 | |
263 | wait(0.05) | |
264 | Fl:remove() | |
265 | end | |
266 | end) | |
267 | for i = 0,1,0.1 do | |
268 | swait() | |
269 | PlayAnimationFromTable({ | |
270 | CFrame.new(0,0,0) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, 0.6, 0), | |
271 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.2, 0), | |
272 | CFrame.new(1.7,0.5,-0.6) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.4), | |
273 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1.2, 0, 0), | |
274 | CFrame.new(0.6,-1.8,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1), | |
275 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,-0.1), | |
276 | }, .5, false) | |
277 | end | |
278 | Grab:remove() | |
279 | Pause = false | |
280 | wait(0.2) | |
281 | D = false | |
282 | end | |
283 | end | |
284 | function Hit2() | |
285 | if not D then D = true | |
286 | Pause = true | |
287 | for i = 0,0.5,0.1 do | |
288 | swait() | |
289 | PlayAnimationFromTable({ | |
290 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0.2) * CFrame.Angles(0, 0.3, 0), | |
291 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
292 | CFrame.new(1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0), | |
293 | CFrame.new(-1.9,0.5,0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -1), | |
294 | CFrame.new(0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1), | |
295 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
296 | }, .5, false) | |
297 | end | |
298 | local Grab = Instance.new("Part",RightArm) | |
299 | Grab.Size = Vector3.new(1,1,1) | |
300 | Grab.CanCollide = false | |
301 | Grab.BrickColor = BrickColor.new("Deep orange") | |
302 | Grab.Transparency = math.huge | |
303 | local Grabo = Instance.new("Weld",Grab) | |
304 | Grabo.Part0 = LeftArm | |
305 | Grabo.Part1 = Grab | |
306 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
307 | local LA = Instance.new("Part",LeftArm) | |
308 | LA.Size = Vector3.new(1.1,2.1,1.1) | |
309 | LA.BrickColor = BrickColor.new("New Yeller") | |
310 | LA.Material = "Neon" | |
311 | LA.Transparency = 0 | |
312 | local LA2 = Instance.new("Weld",LA) | |
313 | LA2.Part0 = LeftArm | |
314 | LA2.Part1 = LA | |
315 | LA2.C0 = CFrame.new(0,0,0) | |
316 | local Sou = Instance.new("Sound",Torso) | |
317 | Sou.SoundId = "rbxassetid://727821717" | |
318 | Sou.Pitch = 1 | |
319 | Sou.Looped = false | |
320 | Sou.Volume = 1 | |
321 | Sou:play() | |
322 | coroutine.resume(coroutine.create(function() | |
323 | for i = 1,2 do | |
324 | for i = 1,5 do | |
325 | LA.Transparency = LA.Transparency + 0.1 | |
326 | game:GetService("RunService").RenderStepped:wait() | |
327 | end | |
328 | wait(0.1) | |
329 | for i = 1,5 do | |
330 | LA.Transparency = LA.Transparency - 0.1 | |
331 | game:GetService("RunService").RenderStepped:wait() | |
332 | end | |
333 | game:GetService("RunService").RenderStepped:wait() | |
334 | end | |
335 | for i = 1,10 do | |
336 | LA.Transparency = LA.Transparency + 0.1 | |
337 | game:GetService("RunService").RenderStepped:wait() | |
338 | end | |
339 | LA:remove() | |
340 | end)) | |
341 | local SFXZ = Instance.new("Sound",Torso) | |
342 | SFXZ.SoundId = "rbxassetid://169259383" | |
343 | SFXZ.Volume = 1 | |
344 | SFXZ.Pitch = 1.5 | |
345 | SFXZ.Looped = false | |
346 | wait(0.01) | |
347 | SFXZ:Play() | |
348 | Grab.Touched:connect(function(hit) | |
349 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
350 | Grab:remove() | |
351 | hit.Parent.Humanoid:TakeDamage(13) | |
352 | local SFXZ = Instance.new("Sound",Torso) | |
353 | SFXZ.SoundId = "rbxassetid://743886825" | |
354 | SFXZ.Volume = 1 | |
355 | SFXZ.Pitch = 1 | |
356 | SFXZ.Looped = false | |
357 | wait(0.01) | |
358 | SFXZ:Play() | |
359 | local Fl = Instance.new("BodyVelocity",hit.Parent.Torso) | |
360 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
361 | Fl.velocity = Torso.CFrame.lookVector*33 | |
362 | wait(0.05) | |
363 | Fl:remove() | |
364 | end | |
365 | end) | |
366 | for i = 0,1,0.1 do | |
367 | swait() | |
368 | PlayAnimationFromTable({ | |
369 | CFrame.new(0,0,0) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, -0.6, 0), | |
370 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.2, 0), | |
371 | CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2,0,0.4), | |
372 | CFrame.new(-1.7,0.5,-0.6) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -0.4), | |
373 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
374 | CFrame.new(-0.6,-1.8,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,-0.1), | |
375 | }, .5, false) | |
376 | end | |
377 | Grab:remove() | |
378 | Pause = false | |
379 | wait(0.2) | |
380 | D = false | |
381 | end | |
382 | end | |
383 | function Torn() | |
384 | if not D then D = true | |
385 | Pause = true | |
386 | for i = 0,1.2,0.1 do | |
387 | swait() | |
388 | PlayAnimationFromTable({ | |
389 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
390 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
391 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
392 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
393 | CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
394 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
395 | }, .5, false) | |
396 | end | |
397 | for i = 0,3,0.1 do | |
398 | swait() | |
399 | PlayAnimationFromTable({ | |
400 | CFrame.new(0,0,0) * CFrame.new(0, -0.7, 0) * CFrame.Angles(0, 0, 0), | |
401 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
402 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
403 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
404 | CFrame.new(0.5,-1.8,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.9, 0, 0), | |
405 | CFrame.new(-0.5,-1.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0), | |
406 | }, .1, false) | |
407 | end | |
408 | local RA = Instance.new("Part",RightArm) | |
409 | RA.Size = Vector3.new(1.1,2.1,1.1) | |
410 | RA.BrickColor = BrickColor.new("New Yeller") | |
411 | RA.Material = "Neon" | |
412 | RA.Transparency = 0 | |
413 | local RA2 = Instance.new("Weld",RA) | |
414 | RA2.Part0 = RightLeg | |
415 | RA2.Part1 = RA | |
416 | RA2.C0 = CFrame.new(0,0,0) | |
417 | local E = Instance.new("Sound",Torso) | |
418 | E.SoundId = "rbxassetid://727821717" | |
419 | E.Volume = 112 | |
420 | E.Pitch = 1 | |
421 | E.Looped = false | |
422 | E:play() | |
423 | for i = 1,2 do ----15 | |
424 | for i = 1,5 do | |
425 | RA.Transparency = RA.Transparency + 0.1 | |
426 | game:GetService("RunService").RenderStepped:wait() | |
427 | end | |
428 | wait(0.1) | |
429 | for i = 1,5 do | |
430 | RA.Transparency = RA.Transparency - 0.1 | |
431 | game:GetService("RunService").RenderStepped:wait() | |
432 | end | |
433 | end | |
434 | for i = 1,10 do | |
435 | RA.Transparency = RA.Transparency + 0.1 | |
436 | game:GetService("RunService").RenderStepped:wait() | |
437 | end | |
438 | for i = 0,1.1,0.1 do | |
439 | swait() | |
440 | PlayAnimationFromTable({ | |
441 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
442 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
443 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
444 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
445 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
446 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
447 | }, .5, false) | |
448 | end | |
449 | --- | |
450 | local To = Instance.new("Part",Torso) | |
451 | To.Size = Vector3.new(10,10,10) | |
452 | To.BrickColor = BrickColor.new("New Yeller") | |
453 | To.Transparency = 0 | |
454 | To.CanCollide = false | |
455 | To.CFrame = Torso.CFrame*CFrame.new(0,0,0) | |
456 | coroutine.resume(coroutine.create(function() | |
457 | for i = 1,26 do | |
458 | local Ef = Instance.new("Part",Torso) | |
459 | Ef.Size = Vector3.new(1,1,1) | |
460 | Ef.Anchored = true | |
461 | Ef.CanCollide = false | |
462 | Ef.BrickColor = BrickColor.new("New Yeller") | |
463 | Ef.CFrame = To.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
464 | local Ef2 = Instance.new("SpecialMesh",Ef) | |
465 | Ef2.MeshId = "rbxassetid://3270017" | |
466 | Ef2.Scale = Vector3.new(1,1,0.01) | |
467 | coroutine.resume(coroutine.create(function() | |
468 | for i = 1,300 do | |
469 | Ef2.Scale = Ef2.Scale + Vector3.new(1,1,0.1) | |
470 | Ef.Transparency = Ef.Transparency + 0.005 | |
471 | game:GetService("RunService").RenderStepped:wait() | |
472 | end | |
473 | Ef:remove() | |
474 | end)) | |
475 | wait(0.3) | |
476 | end | |
477 | end)) | |
478 | To.Touched:connect(function(hit) | |
479 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then | |
480 | if not ZC then ZC = true | |
481 | hit.Parent.Humanoid:TakeDamage(20) | |
482 | local FlyIn = Instance.new("BodyPosition",hit.Parent.Torso) | |
483 | FlyIn.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
484 | FlyIn.Position = Torso.Position | |
485 | wait(0.3) | |
486 | FlyIn:remove() | |
487 | ZC = false | |
488 | end | |
489 | end | |
490 | end) | |
491 | local To2 = Instance.new("SpecialMesh",To) | |
492 | To2.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
493 | To2.Scale = Vector3.new(6,6,6) | |
494 | local Spa = Instance.new("ParticleEmitter",To) | |
495 | Spa.Texture = "rbxassetid://569507414" | |
496 | Spa.Size = NumberSequence.new(0.8,0.2) | |
497 | Spa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0)) | |
498 | Spa.Lifetime = NumberRange.new(1,2) | |
499 | Spa.Rate = 99 | |
500 | Spa.Transparency = NumberSequence.new(0.5,0.6) | |
501 | Spa.LightEmission = 0.75 | |
502 | Spa.Speed = NumberRange.new(2) | |
503 | Spa.Acceleration = Vector3.new(0, 0, 0) | |
504 | Spa.VelocitySpread = 1212 | |
505 | coroutine.resume(coroutine.create(function() | |
506 | for i = 1,300 do | |
507 | To.CFrame = Torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1,0) | |
508 | To.Transparency = To.Transparency + 0.00009 | |
509 | To2.Scale = To2.Scale + Vector3.new(0.05,0.05,0.05) | |
510 | game:GetService("RunService").RenderStepped:wait() | |
511 | end | |
512 | To:remove() | |
513 | end)) | |
514 | for i = 1,28 do | |
515 | for i = 0,0.1,0.1 do | |
516 | swait() | |
517 | PlayAnimationFromTable({ | |
518 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0), | |
519 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
520 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
521 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
522 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
523 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
524 | }, .5, false) | |
525 | end | |
526 | for i = 0,0.1,0.1 do | |
527 | swait() | |
528 | PlayAnimationFromTable({ | |
529 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -3, 0), | |
530 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
531 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
532 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
533 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
534 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
535 | }, .5, false) | |
536 | end | |
537 | for i = 0,0.1,0.1 do | |
538 | swait() | |
539 | PlayAnimationFromTable({ | |
540 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -4, 0), | |
541 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
542 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
543 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
544 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
545 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
546 | }, .5, false) | |
547 | end | |
548 | for i = 0,0.1,0.1 do | |
549 | swait() | |
550 | PlayAnimationFromTable({ | |
551 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -5, 0), | |
552 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
553 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
554 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
555 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
556 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
557 | }, .5, false) | |
558 | end | |
559 | game:GetService("RunService").RenderStepped:wait() | |
560 | end | |
561 | Pause = false | |
562 | To:remove() | |
563 | --- | |
564 | wait(1) | |
565 | D = false | |
566 | end | |
567 | end | |
568 | function Zoom() | |
569 | if not D then D = true | |
570 | Pause = true | |
571 | Character.Humanoid.WalkSpeed = 0 | |
572 | for i = 0,1.2,0.1 do | |
573 | swait() | |
574 | PlayAnimationFromTable({ | |
575 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.55, 0), | |
576 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.15, 0), | |
577 | CFrame.new(0.45,0.5,-1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(0,-0.5,-1.55), | |
578 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0), | |
579 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
580 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
581 | }, .5, false) | |
582 | end | |
583 | local RA = Instance.new("Part",RightArm) | |
584 | RA.Size = Vector3.new(1.1,2.1,1.1) | |
585 | RA.BrickColor = BrickColor.new("New Yeller") | |
586 | RA.Material = "Neon" | |
587 | RA.Transparency = 0 | |
588 | local RA2 = Instance.new("Weld",RA) | |
589 | RA2.Part0 = RightArm | |
590 | RA2.Part1 = RA | |
591 | RA2.C0 = CFrame.new(0,0,0) | |
592 | local E = Instance.new("Sound",Torso) | |
593 | E.SoundId = "rbxassetid://727821717" | |
594 | E.Volume = 112 | |
595 | E.Pitch = 1 | |
596 | E.Looped = false | |
597 | E:play() | |
598 | for i = 1,2 do ----15 | |
599 | for i = 1,5 do | |
600 | RA.Transparency = RA.Transparency + 0.1 | |
601 | game:GetService("RunService").RenderStepped:wait() | |
602 | end | |
603 | wait(0.1) | |
604 | for i = 1,5 do | |
605 | RA.Transparency = RA.Transparency - 0.1 | |
606 | game:GetService("RunService").RenderStepped:wait() | |
607 | end | |
608 | end | |
609 | for i = 1,10 do | |
610 | RA.Transparency = RA.Transparency + 0.1 | |
611 | game:GetService("RunService").RenderStepped:wait() | |
612 | end | |
613 | RightArm.Transparency = 1 | |
614 | local owo = Instance.new("Model",Torso) | |
615 | Instance.new("Humanoid",owo) | |
616 | Shirt:Clone().Parent = owo | |
617 | local R = Instance.new("Part",owo) | |
618 | R.Size = Vector3.new(1,2,1) | |
619 | R.TopSurface = 0 | |
620 | R.BottomSurface = 0 | |
621 | R.Name = 'Right Arm' | |
622 | R.BrickColor = RightArm.BrickColor | |
623 | R.CanCollide = false | |
624 | R.Anchored = true | |
625 | R.CFrame = RightArm.CFrame*CFrame.new(0,0,0) | |
626 | R.Touched:connect(function(hit) | |
627 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then | |
628 | if not ZZ then ZZ = true | |
629 | hit.Parent.Humanoid:TakeDamage(40) | |
630 | hit.Parent.Humanoid.Sit = true | |
631 | local Fl = Instance.new("BodyVelocity",hit.Parent.Torso) | |
632 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
633 | Fl.velocity = RootPart.CFrame.lookVector*130 | |
634 | wait(0.1) | |
635 | Fl:remove() | |
636 | wait(0.00001) | |
637 | ZZ = false | |
638 | end | |
639 | end | |
640 | end) | |
641 | coroutine.resume(coroutine.create(function() | |
642 | for i = 1,20 do | |
643 | R.Size = R.Size + Vector3.new(0,0.8,0) | |
644 | R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.5,0) | |
645 | game:GetService("RunService").RenderStepped:wait() | |
646 | end | |
647 | end)) | |
648 | for i = 0,1,0.1 do | |
649 | swait() | |
650 | PlayAnimationFromTable({ | |
651 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.5, 0), | |
652 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.2, 0), | |
653 | CFrame.new(1.95,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
654 | CFrame.new(-1.5,0,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.7, 0, 0), | |
655 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
656 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1) | |
657 | }, .5, false) | |
658 | end | |
659 | wait(1) | |
660 | for i = 1,20 do | |
661 | R.Size = R.Size - Vector3.new(0,0.8,0) | |
662 | R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.75,0) | |
663 | game:GetService("RunService").RenderStepped:wait() | |
664 | end | |
665 | RightArm.Transparency = 0 | |
666 | R:remove() | |
667 | Pause = false | |
668 | Character.Humanoid.WalkSpeed = 25 | |
669 | wait(1) | |
670 | D = false | |
671 | end | |
672 | end | |
673 | function Baby() | |
674 | if not D then D = true | |
675 | Pause = true | |
676 | for i = 0,1.2,0.1 do | |
677 | swait() | |
678 | PlayAnimationFromTable({ | |
679 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
680 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
681 | CFrame.new(1.5,1,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(2.8,0,0), | |
682 | CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
683 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
684 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
685 | }, .5, false) | |
686 | end | |
687 | wait(0.5) | |
688 | local Ba = Instance.new("Sound",Torso) | |
689 | Ba.SoundId = "rbxassetid://1037853116" | |
690 | Ba.Volume = math.huge | |
691 | Ba.Pitch = 1 | |
692 | Ba.Looped = false | |
693 | Ba:play() | |
694 | for i = 0,1.2,0.1 do | |
695 | swait() | |
696 | PlayAnimationFromTable({ | |
697 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
698 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
699 | CFrame.new(1.5,1,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(2.4,0,0), | |
700 | CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
701 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
702 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
703 | }, .5, false) | |
704 | end | |
705 | wait(0.8) | |
706 | Pause = false | |
707 | wait(0.5) | |
708 | D = false | |
709 | end | |
710 | end | |
711 | ||
712 | function Breathe() | |
713 | if not DZ then DZ = true | |
714 | Pause = true | |
715 | Character.Humanoid.WalkSpeed = 0 | |
716 | for i = 0,3,0.1 do | |
717 | swait() | |
718 | PlayAnimationFromTable({ | |
719 | CFrame.new(0,0.01,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0), | |
720 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.1, 0, 0), | |
721 | CFrame.new(1.5,0,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,0), | |
722 | CFrame.new(-1.5,0,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0), | |
723 | CFrame.new(0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1), | |
724 | CFrame.new(-0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.1), | |
725 | }, .5, false) | |
726 | end | |
727 | local P = Instance.new("Part",Character) | |
728 | P.Size = Vector3.new(0.1,0.1,0.1) | |
729 | P.Anchored = true | |
730 | P.Transparency = math.huge | |
731 | P.CanCollide = false | |
732 | P.CFrame = Head.CFrame*CFrame.new(0,-0.1,-1.9) | |
733 | local FlA = Instance.new("ParticleEmitter",P) | |
734 | FlA.Texture = "rbxassetid://833874434" | |
735 | FlA.Size = NumberSequence.new(0.7,0.1) | |
736 | FlA.EmissionDirection = "Back" | |
737 | FlA.Rotation = NumberRange.new(-100, 100) | |
738 | FlA.RotSpeed = NumberRange.new(-100, 100) | |
739 | FlA.Transparency = NumberSequence.new(0,1) | |
740 | FlA.Drag = 4 | |
741 | FlA.Lifetime = NumberRange.new(0.5) | |
742 | FlA.Rate = 1111 | |
743 | wait(2) | |
744 | FlA.Enabled = false | |
745 | wait(1) | |
746 | P:remove() | |
747 | for i = 0,3,0.1 do | |
748 | swait() | |
749 | PlayAnimationFromTable({ | |
750 | CFrame.new(0,0.01,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
751 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0), | |
752 | CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3,0,0), | |
753 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0), | |
754 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
755 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
756 | }, .5, false) | |
757 | end | |
758 | local RA = Instance.new("Part",RightArm) | |
759 | RA.Size = Vector3.new(1.1,2.1,1.1) | |
760 | RA.BrickColor = BrickColor.new("New Yeller") | |
761 | RA.Material = "Neon" | |
762 | RA.Transparency = 0 | |
763 | local RA2 = Instance.new("Weld",RA) | |
764 | RA2.Part0 = RightArm | |
765 | RA2.Part1 = RA | |
766 | RA2.C0 = CFrame.new(0,0,0) | |
767 | local LA = Instance.new("Part",LeftArm) | |
768 | LA.Size = Vector3.new(1.1,2.1,1.1) | |
769 | LA.BrickColor = BrickColor.new("New Yeller") | |
770 | LA.Material = "Neon" | |
771 | LA.Transparency = 0 | |
772 | local LA2 = Instance.new("Weld",LA) | |
773 | LA2.Part0 = LeftArm | |
774 | LA2.Part1 = LA | |
775 | LA2.C0 = CFrame.new(0,0,0) | |
776 | local AZZ = Instance.new("ParticleEmitter",LA) | |
777 | AZZ.Texture = "rbxassetid://998225956" | |
778 | AZZ.EmissionDirection = "Top" | |
779 | AZZ.Rotation = NumberRange.new(-100, 100) | |
780 | AZZ.Size = NumberSequence.new(1) | |
781 | AZZ.Lifetime = NumberRange.new(0.8,1) | |
782 | AZZ.Rate = 50 | |
783 | AZZ.Speed = NumberRange.new(0.3) | |
784 | AZZ.LightEmission = 1 | |
785 | AZZ.VelocitySpread = 100 | |
786 | local LAZZ = Instance.new("ParticleEmitter",RA) | |
787 | LAZZ.Texture = "rbxassetid://998225956" | |
788 | LAZZ.EmissionDirection = "Top" | |
789 | LAZZ.Rotation = NumberRange.new(-100, 100) | |
790 | LAZZ.Size = NumberSequence.new(1) | |
791 | LAZZ.Lifetime = NumberRange.new(0.8,1) | |
792 | LAZZ.Rate = 50 | |
793 | LAZZ.Speed = NumberRange.new(0.3) | |
794 | LAZZ.LightEmission = 1 | |
795 | LAZZ.VelocitySpread = 100 | |
796 | local Spa = Instance.new("ParticleEmitter",RA) | |
797 | Spa.Texture = "rbxassetid://569507414" | |
798 | Spa.Size = NumberSequence.new(0.8,0.2) | |
799 | Spa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0)) | |
800 | Spa.Lifetime = NumberRange.new(1,2) | |
801 | Spa.Rate = 99 | |
802 | Spa.Transparency = NumberSequence.new(0.5,0.6) | |
803 | Spa.LightEmission = 0.75 | |
804 | Spa.Speed = NumberRange.new(2) | |
805 | Spa.Acceleration = Vector3.new(0, 0, 0) | |
806 | Spa.VelocitySpread = 1212 | |
807 | local Rpa = Instance.new("ParticleEmitter",LA) | |
808 | Rpa.Texture = "rbxassetid://569507414" | |
809 | Rpa.Size = NumberSequence.new(0.8,0.2) | |
810 | Rpa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0)) | |
811 | Rpa.EmissionDirection = "Top" | |
812 | Rpa.Lifetime = NumberRange.new(1,2) | |
813 | Rpa.Rate = 99 | |
814 | Rpa.Transparency = NumberSequence.new(0.5,0.6) | |
815 | Rpa.LightEmission = 0.75 | |
816 | Rpa.Speed = NumberRange.new(2) | |
817 | Rpa.Acceleration = Vector3.new(0, 0, 0) | |
818 | Rpa.VelocitySpread = 1212 | |
819 | for i = 1,5 do ----15 | |
820 | local E = Instance.new("Sound",Torso) | |
821 | E.SoundId = "rbxassetid://186130717" | |
822 | E.Volume = 1 | |
823 | E.Pitch = 1 | |
824 | E.Looped = false | |
825 | local E1 = Instance.new("Sound",Torso) | |
826 | E1.SoundId = "rbxassetid://727821717" | |
827 | E1.Volume = 0.1 | |
828 | E1.Pitch = 1 | |
829 | E1.Looped = false | |
830 | E1:play() | |
831 | E:play() | |
832 | for i = 1,5 do | |
833 | RA.Transparency = RA.Transparency + 0.1 | |
834 | LA.Transparency = LA.Transparency + 0.1 | |
835 | game:GetService("RunService").RenderStepped:wait() | |
836 | end | |
837 | wait(0.1) | |
838 | for i = 1,5 do | |
839 | RA.Transparency = RA.Transparency - 0.1 | |
840 | LA.Transparency = LA.Transparency - 0.1 | |
841 | game:GetService("RunService").RenderStepped:wait() | |
842 | end | |
843 | wait(0.1) | |
844 | for i = 1,9 do | |
845 | RA.Transparency = RA.Transparency + 0.1 | |
846 | LA.Transparency = LA.Transparency + 0.1 | |
847 | game:GetService("RunService").RenderStepped:wait() | |
848 | end | |
849 | wait(0.1) | |
850 | for i = 1,9 do | |
851 | RA.Transparency = RA.Transparency - 0.1 | |
852 | LA.Transparency = LA.Transparency - 0.1 | |
853 | game:GetService("RunService").RenderStepped:wait() | |
854 | end | |
855 | game:GetService("RunService").RenderStepped:wait() | |
856 | end | |
857 | Rpa.Enabled = false | |
858 | Spa.Enabled = false | |
859 | LAZZ.Enabled = false | |
860 | AZZ.Enabled = false | |
861 | local FlA = Instance.new("ParticleEmitter",LeftArm) | |
862 | FlA.Texture = "rbxassetid://313742348" | |
863 | FlA.Size = NumberSequence.new(0.7) | |
864 | FlA.Transparency = NumberSequence.new(0) | |
865 | FlA.Lifetime = NumberRange.new(0.4) | |
866 | FlA.Rate = 20 | |
867 | FlA.Rotation = NumberRange.new(-100, 100) | |
868 | FlA.Speed = NumberRange.new(0) | |
869 | FlA.LockedToPart = true | |
870 | local LP = Instance.new("ParticleEmitter",LeftArm) | |
871 | LP.Texture = "rbxassetid://1298571523" | |
872 | LP.Transparency = NumberSequence.new(0,1) | |
873 | LP.Size = NumberSequence.new(0.06) | |
874 | LP.Color = ColorSequence.new(Color3.fromRGB(255,255,0)) | |
875 | LP.Lifetime = NumberRange.new(1.5) | |
876 | LP.Rate = 4000 | |
877 | LP.ZOffset = 1 | |
878 | LP.VelocitySpread = 35 | |
879 | LP.Speed = NumberRange.new(0.3) | |
880 | LP.LightEmission = 1 | |
881 | LP.LightInfluence = 1 | |
882 | LP.LockedToPart = true | |
883 | local ZXA = Instance.new("ParticleEmitter",RightArm) | |
884 | ZXA.Texture = "rbxassetid://313742348" | |
885 | ZXA.Size = NumberSequence.new(0.7) | |
886 | ZXA.Transparency = NumberSequence.new(0) | |
887 | ZXA.Lifetime = NumberRange.new(0.4) | |
888 | ZXA.Rate = 20 | |
889 | ZXA.Rotation = NumberRange.new(-100, 100) | |
890 | ZXA.Speed = NumberRange.new(0) | |
891 | ZXA.LockedToPart = true | |
892 | local LLP = Instance.new("ParticleEmitter",RightArm) | |
893 | LLP.Texture = "rbxassetid://1298571523" | |
894 | LLP.Transparency = NumberSequence.new(0,1) | |
895 | LLP.Size = NumberSequence.new(0.06) | |
896 | LLP.Color = ColorSequence.new(Color3.fromRGB(255,255,0)) | |
897 | LLP.Lifetime = NumberRange.new(1.5) | |
898 | LLP.Rate = 4000 | |
899 | LLP.ZOffset = 1 | |
900 | LLP.VelocitySpread = 35 | |
901 | LLP.Speed = NumberRange.new(0.3) | |
902 | LLP.LightEmission = 1 | |
903 | LLP.LightInfluence = 1 | |
904 | LLP.LockedToPart = true | |
905 | Character.Humanoid.WalkSpeed = 25 | |
906 | wait(1) | |
907 | Pause = false | |
908 | for i = 1,11 do | |
909 | RA.Transparency = RA.Transparency + 0.1 | |
910 | LA.Transparency = LA.Transparency + 0.1 | |
911 | game:GetService("RunService").RenderStepped:wait() | |
912 | end | |
913 | LA:remove() | |
914 | RA:remove() | |
915 | Humanoid.MaxHealth = 400 | |
916 | wait(0.01) | |
917 | Humanoid.Health = 500 | |
918 | Mouse.KeyDown:connect(function(key) | |
919 | if key == "e" then | |
920 | Zoom() | |
921 | end | |
922 | if key == "r" then | |
923 | Torn() | |
924 | end | |
925 | end) | |
926 | Mouse.Button1Down:connect(function() | |
927 | if attack == false and attacktype == 1 then | |
928 | Hit1() | |
929 | attacktype = 2 | |
930 | elseif attack == false and attacktype == 2 then | |
931 | Hit2() | |
932 | attacktype = 1 | |
933 | end | |
934 | end) | |
935 | wait(12412412) | |
936 | DZ = false | |
937 | end | |
938 | end | |
939 | Mouse.KeyDown:connect(function(key) | |
940 | if key == "m" then | |
941 | Baby() | |
942 | end | |
943 | if key == "z" then | |
944 | Breathe() | |
945 | end | |
946 | end) | |
947 | ||
948 | New = function(Object, Parent, Name, Data) | |
949 | local Object = Instance.new(Object) | |
950 | for Index, Value in pairs(Data or {}) do | |
951 | Object[Index] = Value | |
952 | end | |
953 | Object.Parent = Parent | |
954 | Object.Name = Name | |
955 | return Object | |
956 | end | |
957 | function rayCast(Position, Direction, Range, Ignore) | |
958 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
959 | end | |
960 | ||
961 | ||
962 | ||
963 | ||
964 | coroutine.wrap(function() | |
965 | while 1 do | |
966 | swait() | |
967 | if doe <= 360 then | |
968 | doe = doe + 2 | |
969 | else | |
970 | doe = 0 | |
971 | end | |
972 | end | |
973 | end)() | |
974 | while true do | |
975 | swait() | |
976 | for i, v in pairs(Character:GetChildren()) do | |
977 | if v:IsA("Part") then | |
978 | v.Material = "SmoothPlastic" | |
979 | elseif v:IsA("Accessory") then | |
980 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
981 | end | |
982 | end | |
983 | ||
984 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
985 | velocity = RootPart.Velocity.y | |
986 | sine = sine + change | |
987 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
988 | if RootPart.Velocity.y > 1 and hit == nil then | |
989 | Anim = "Jump" | |
990 | if Pause == false then | |
991 | PlayAnimationFromTable({ | |
992 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
993 | CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
994 | CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
995 | CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
996 | CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
997 | CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
998 | }, .3, false) | |
999 | end | |
1000 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1001 | Anim = "Fall" | |
1002 | if Pause == false then | |
1003 | PlayAnimationFromTable({ | |
1004 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1005 | CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1006 | CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1007 | CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1008 | CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1009 | CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1010 | }, .3, false) | |
1011 | end | |
1012 | elseif Torsovelocity < 1 and hit ~= nil then | |
1013 | Anim = "Idle" | |
1014 | if Pause == false then | |
1015 | change = 1 | |
1016 | PlayAnimationFromTable({ | |
1017 | CFrame.new(0,0,0) * CFrame.new(0, 0-.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0), | |
1018 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0-.08*math.sin(tick()*2),0,0)*CFrame.Angles(-0.2, 0, 0), | |
1019 | CFrame.new(1.1,1,-0.8) * CFrame.new(0, 0-.08*math.sin(tick()*2), 0) * CFrame.Angles(3.1,0,-0.4), | |
1020 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0-.08*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0), | |
1021 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0.1), | |
1022 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, -0.1), | |
1023 | }, .3, false) | |
1024 | end | |
1025 | elseif Torsovelocity > 2 and hit ~= nil then | |
1026 | Anim = "Walk" | |
1027 | if Pause == false then | |
1028 | PlayAnimationFromTable({ | |
1029 | CFrame.new(0,0,0) * CFrame.new(0,0,0)*CFrame.Angles(-0.3,0-.1*math.sin(tick()*9),0+RootPart.RotVelocity.Y/29), | |
1030 | CFrame.new(0,1.5,0) * CFrame.new(0,0,0) * CFrame.Angles(0,0,0)*CFrame.Angles(-0.3, 0, 0), | |
1031 | CFrame.new(1.1,1,-0.8) * CFrame.new(0,0,0) * CFrame.Angles(3.1,0,-0.4), | |
1032 | CFrame.new(-1.5,0,0) * CFrame.new(0,0,0+.5 * math.cos((sine) / 3.5))*CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 3.5)),0,0), | |
1033 | CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 3.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 3.5)), 0, 0-RootPart.RotVelocity.Y/33), | |
1034 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 3.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 3.5)), 0, 0-RootPart.RotVelocity.Y/33), | |
1035 | }, .3, false) | |
1036 | end | |
1037 | end | |
1038 | end |