SHOW:
|
|
- or go back to the newest paste.
1 | --//Evelyn\\Script//Made\\By//Zalgo_exe\\-- | |
2 | --\\Evelyn Character Originally Made By Gargeodd//-- | |
3 | ||
4 | wait(0.2) | |
5 | ||
6 | - | local Player = game:GetService("Players").algumacoisa90--<=== Replace With Your Name |
6 | + | local Player = game:GetService("Players").SNEAKY_Dodge--<=== Replace With Your Name |
7 | ||
8 | ||
9 | local Mouse,mouse,UserInputService,ContextActionService | |
10 | do | |
11 | script.Parent = Player.Character | |
12 | local CAS = {Actions={}} | |
13 | local Event = Instance.new("RemoteEvent") | |
14 | Event.Name = "UserInput_Event" | |
15 | Event.Parent = Player.Character | |
16 | local fakeEvent = function() | |
17 | local t = {_fakeEvent=true} | |
18 | t.Connect = function(self,f)self.Function=f end | |
19 | t.connect = t.Connect | |
20 | return t | |
21 | end | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | function CAS:BindAction(name,fun,touch,...) | |
25 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
26 | end | |
27 | function CAS:UnbindAction(name) | |
28 | CAS.Actions[name] = nil | |
29 | end | |
30 | local function te(self,ev,...) | |
31 | local t = m[ev] | |
32 | if t and t._fakeEvent and t.Function then | |
33 | t.Function(...) | |
34 | end | |
35 | end | |
36 | m.TrigEvent = te | |
37 | UIS.TrigEvent = te | |
38 | Event.OnServerEvent:Connect(function(plr,io) | |
39 | if plr~=Player then return end | |
40 | if io.isMouse then | |
41 | m.Target = io.Target | |
42 | m.Hit = io.Hit | |
43 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
44 | if io.UserInputState == Enum.UserInputState.Begin then | |
45 | m:TrigEvent("Button1Down") | |
46 | else | |
47 | m:TrigEvent("Button1Up") | |
48 | end | |
49 | else | |
50 | for n,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | if io.UserInputState == Enum.UserInputState.Begin then | |
58 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
59 | UIS:TrigEvent("InputBegan",io,false) | |
60 | else | |
61 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
62 | UIS:TrigEvent("InputEnded",io,false) | |
63 | end | |
64 | end | |
65 | end) | |
66 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
67 | end | |
68 | ||
69 | wait(0.2) | |
70 | - | local Player, Character = game:service("Players").algumacoisa90, game:GetService("Players").algumacoisa90.Character; |
70 | + | local Player, Character = game:service("Players").SNEAKY_Dodge, game:GetService("Players").SNEAKY_Dodge.Character; |
71 | local Torso = Character:FindFirstChild("Torso") | |
72 | local rootPart = Character:FindFirstChild("HumanoidRootPart") | |
73 | local Humanoid = Character:FindFirstChild("Humanoid") | |
74 | local Head = Character:FindFirstChild("Head") | |
75 | local Right_Arm = Character:FindFirstChild("Right Arm") | |
76 | local Left_Arm = Character:FindFirstChild("Left Arm") | |
77 | local Right_Leg = Character:FindFirstChild("Right Leg") | |
78 | local Left_Leg = Character:FindFirstChild("Left Leg") | |
79 | local Right_Shoulder = Torso:FindFirstChild("Right Shoulder") | |
80 | local Left_Shoulder = Torso:FindFirstChild("Left Shoulder") | |
81 | local Right_Hip = Torso:FindFirstChild("Right Hip") | |
82 | local Left_Hip = Torso:FindFirstChild("Left Hip") | |
83 | local Neck = Torso:FindFirstChild("Neck") | |
84 | local rootPart = Character:FindFirstChild("HumanoidRootPart") | |
85 | local rootJoint = rootPart:FindFirstChild("RootJoint") | |
86 | local CurrentIdle = "Idling1" | |
87 | local Degree = 0.0175438596491228 | |
88 | local canremove = false | |
89 | local debounce = false | |
90 | local UIService=game:GetService'UserInputService' | |
91 | _G.SongName = math.random(1,9025232) | |
92 | sin = math.sin | |
93 | Right_Leg.FormFactor = "Custom"; | |
94 | Left_Leg.FormFactor = "Custom"; | |
95 | rootPart.Archivable = true; | |
96 | rootJoint.Archivable = true; | |
97 | c_new = CFrame.new; | |
98 | c_angles = CFrame.Angles; | |
99 | i_new = Instance.new | |
100 | Humanoid:ClearAllChildren(); | |
101 | local isAttacking = true | |
102 | local isSprinting = true | |
103 | local Animations = false | |
104 | local Angle = 0 | |
105 | local Axis = 0 | |
106 | local angleSpeed = 1 | |
107 | local axisSpeed = angleSpeed | |
108 | local currentAnim | |
109 | local levetatingheight = 3 | |
110 | idly = 0 | |
111 | idle = idly | |
112 | local Effects = Instance.new("Folder",Character) | |
113 | Effects.Name = "Effects" | |
114 | local SansAnim = false | |
115 | V="Really black" | |
116 | ||
117 | local txt = Instance.new("BillboardGui", Character) | |
118 | txt.Adornee = Head | |
119 | txt.Name = "_status" | |
120 | txt.Size = UDim2.new(2, 0, 2, 0) | |
121 | txt.StudsOffset = Vector3.new(-6.1, 6, 0) | |
122 | local text = Instance.new("TextLabel", txt) | |
123 | text.Size = UDim2.new(7, 0, 3, 0) | |
124 | text.FontSize = "Size24" | |
125 | text.TextScaled = true | |
126 | text.TextTransparency = 0 | |
127 | text.BackgroundTransparency = 1 | |
128 | text.TextTransparency = 0 | |
129 | text.TextStrokeTransparency = 0 | |
130 | text.Font = "Garamond" | |
131 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
132 | text.TextColor3 = Color3.new(1,1,1) | |
133 | text.Text = "Evelyn" | |
134 | ||
135 | for i,v in pairs(Character:GetChildren()) do | |
136 | if v:IsA('Shirt') or v:IsA('Pants') then | |
137 | v:Destroy() | |
138 | end | |
139 | end | |
140 | ||
141 | for i,v in pairs(Character:GetChildren()) do | |
142 | if v:IsA('CharacterMesh') then | |
143 | v:Destroy() | |
144 | end | |
145 | end | |
146 | ||
147 | Humanoid.MaxHealth = 200 | |
148 | Humanoid.Health = 200 | |
149 | ||
150 | function Trace() | |
151 | local ch = Character:GetChildren() | |
152 | for i = 1, #ch do | |
153 | if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then | |
154 | local trace = Instance.new("Part",game.Workspace) | |
155 | trace.Size = ch[i].Size | |
156 | trace.Material = "Neon" | |
157 | trace.Color = Color3.new(0,0,0) | |
158 | trace.Transparency = 0.3 | |
159 | trace.CanCollide = false | |
160 | trace.Anchored = true | |
161 | trace.CFrame = ch[i].CFrame | |
162 | if ch[i].Name == "Head" then | |
163 | mehs = Instance.new("BlockMesh",trace) | |
164 | mehs.Scale = Vector3.new(0.5,1.25,1.25) | |
165 | end | |
166 | tracedisappear = coroutine.wrap(function() | |
167 | for i = 1, 7 do | |
168 | wait() | |
169 | trace.Transparency = trace.Transparency + .1 | |
170 | end | |
171 | trace:Destroy() | |
172 | end) | |
173 | tracedisappear() | |
174 | end | |
175 | end | |
176 | end | |
177 | ||
178 | local Theme = Instance.new('Sound',Character.Torso) | |
179 | Theme.Looped = true | |
180 | Theme.Volume = 10 | |
181 | Theme.MaxDistance=1000 | |
182 | Theme.EmitterSize=20 | |
183 | Theme.SoundId = 'rbxassetid://0' | |
184 | Theme:Play() | |
185 | ||
186 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
187 | wld = Instance.new("Weld", wp1) | |
188 | wld.Part0 = wp0 | |
189 | wld.Part1 = wp1 | |
190 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
191 | return wld | |
192 | end | |
193 | ||
194 | it=Instance.new | |
195 | ||
196 | function nooutline(part) | |
197 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
198 | end | |
199 | ||
200 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
201 | local fp=it("Part") | |
202 | fp.formFactor=formfactor | |
203 | fp.Parent=parent | |
204 | fp.Reflectance=reflectance | |
205 | fp.Transparency=transparency | |
206 | fp.CanCollide=false | |
207 | fp.Locked=true | |
208 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
209 | fp.Name=name | |
210 | fp.Size=size | |
211 | fp.Position=Character.Torso.Position | |
212 | nooutline(fp) | |
213 | fp.Material=material | |
214 | fp:BreakJoints() | |
215 | return fp | |
216 | end | |
217 | ||
218 | function weld(parent, part0, part1, c0, c1) | |
219 | local Weld = Instance.new("Weld") | |
220 | Weld.Parent = parent | |
221 | Weld.Part0 = part0 | |
222 | Weld.Part1 = part1 | |
223 | Weld.C0 = c0 | |
224 | Weld.C1 = c1 | |
225 | ||
226 | return Weld | |
227 | end | |
228 | ||
229 | function noOutline(part) | |
230 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
231 | end | |
232 | ||
233 | local function Part(Name,Color, Material, Transparency,Shape, Size, CFrame,CanCollide,Anchored,parent) | |
234 | local partie = i_new("Part",parent) | |
235 | partie.Name=Name | |
236 | partie.BrickColor = BrickColor.new(Color) | |
237 | partie.Material = Material | |
238 | partie.Shape = Shape | |
239 | partie.Transparency = Transparency | |
240 | partie.Size = Size | |
241 | partie.CFrame = CFrame | |
242 | partie.CanCollide = CanCollide | |
243 | partie.Anchored = Anchored | |
244 | return partie | |
245 | end | |
246 | ||
247 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
248 | ||
249 | --//=================================\\ | |
250 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
251 | --\\=================================// | |
252 | ||
253 | ArtificialHB = Instance.new("BindableEvent", script) | |
254 | ArtificialHB.Name = "ArtificialHB" | |
255 | ||
256 | script:WaitForChild("ArtificialHB") | |
257 | ||
258 | frame = Frame_Speed | |
259 | tf = 0 | |
260 | allowframeloss = false | |
261 | tossremainder = false | |
262 | lastframe = tick() | |
263 | script.ArtificialHB:Fire() | |
264 | ||
265 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
266 | tf = tf + s | |
267 | if tf >= frame then | |
268 | if allowframeloss then | |
269 | script.ArtificialHB:Fire() | |
270 | lastframe = tick() | |
271 | else | |
272 | for i = 1, math.floor(tf / frame) do | |
273 | script.ArtificialHB:Fire() | |
274 | end | |
275 | lastframe = tick() | |
276 | end | |
277 | if tossremainder then | |
278 | tf = 0 | |
279 | else | |
280 | tf = tf - frame * math.floor(tf / frame) | |
281 | end | |
282 | end | |
283 | end) | |
284 | ||
285 | --//=================================\\ | |
286 | --\\=================================// | |
287 | ||
288 | ||
289 | ||
290 | function swait(num) | |
291 | if num == 0 or num == nil then | |
292 | ArtificialHB.Event:wait() | |
293 | else | |
294 | for i = 1, num do | |
295 | ArtificialHB.Event:wait() | |
296 | end | |
297 | end | |
298 | end | |
299 | ||
300 | function mesh(Mesh, part, meshtype, meshid, offset, scale) | |
301 | local mesh = i_new(Mesh) | |
302 | mesh.Parent = part | |
303 | if Mesh == "SpecialMesh" then | |
304 | mesh.MeshType = meshtype | |
305 | mesh.MeshId = meshid | |
306 | end | |
307 | mesh.Offset = offset | |
308 | mesh.Scale = scale | |
309 | return mesh | |
310 | end | |
311 | ||
312 | Head.Transparency = 1 | |
313 | ||
314 | local _Face = Instance.new("Part",Head) | |
315 | _Face.Name = "_Face" | |
316 | _Face.Shape = Enum.PartType.Block | |
317 | _Face.CanCollide = false | |
318 | _Face.Color = Color3.new(0,0,0) | |
319 | _Face.Transparency = 1 | |
320 | _Face.Material = "SmoothPlastic" | |
321 | _Face.Size = Vector3.new(1.95, 1.85, 1.85) | |
322 | _Face.TopSurface = Enum.SurfaceType.Smooth | |
323 | _Face.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", _Face) | |
324 | Weld.Part0 = Head | |
325 | Weld.Part1 = _Face | |
326 | Weld.C1 = CFrame.new(0,-0.3,-0.186) | |
327 | _FaceMesh = Instance.new("SpecialMesh",_Face) | |
328 | _FaceMesh.MeshType = "Sphere" | |
329 | _FaceMesh.Scale = Vector3.new(1,1,1) | |
330 | ||
331 | Eyes = Instance.new("Decal",_Face) | |
332 | Eyes.Texture = "rbxassetid://1572409210" | |
333 | ||
334 | Mouth = Instance.new("Decal",_Face) | |
335 | Mouth.Texture = "rbxassetid://1572409375" | |
336 | ||
337 | attack = false | |
338 | attack2 = false | |
339 | ||
340 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
341 | if SinglePlayer then | |
342 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
343 | end | |
344 | local List = {} | |
345 | for i, v in pairs(workspace:GetChildren()) do | |
346 | if v:IsA("Model") then | |
347 | if v:findFirstChild("Torso") then | |
348 | if v ~= Character then | |
349 | if (v.Torso.Position - Position).magnitude <= Distance then | |
350 | table.insert(List, v) | |
351 | end | |
352 | end | |
353 | end | |
354 | end | |
355 | end | |
356 | return List | |
357 | end | |
358 | ||
359 | function Normal_Face() | |
360 | if Transformed == false then | |
361 | Eyes.Texture = "rbxassetid://1572409210" | |
362 | Mouth.Texture = "rbxassetid://1572409375" | |
363 | else | |
364 | Eyes.Texture = "rbxassetid://1572409968" | |
365 | Mouth.Texture = "rbxassetid://1572411867" | |
366 | end | |
367 | end | |
368 | ||
369 | function Charm() | |
370 | attack = false | |
371 | attack2 = false | |
372 | Animations = false | |
373 | Eyes.Texture = "rbxassetid://1572409670" | |
374 | Mouth.Texture = "rbxassetid://1572411867" | |
375 | S = Instance.new("Sound") | |
376 | S.Parent = Character.Torso | |
377 | S.SoundId = "rbxassetid://875978120" | |
378 | S.Volume = 10 | |
379 | S.Looped = false | |
380 | S.Pitch = 1 | |
381 | S:Play() | |
382 | for i = 0,0.8,0.01 do | |
383 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-15),math.rad(0),math.rad(-30)), 0.15) | |
384 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-15),math.rad(0),math.rad(30)), 0.15) | |
385 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-45),math.rad(0) + math.sin(sine/7.5)/5,math.rad(0)), 0.15) | |
386 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0),math.rad(0) - math.sin(sine/7.5)/5,math.rad(0)), 0.15) | |
387 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0) + math.sin(sine/7.5)/5,math.rad(0)), 0.15) | |
388 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0),math.rad(0) - math.sin(sine/7.5)/5, math.rad(-25)), 0.15) | |
389 | swait() | |
390 | end | |
391 | Normal_Face() | |
392 | Animations = false | |
393 | attack = false | |
394 | attack2 = false | |
395 | end | |
396 | ||
397 | function Laugh() | |
398 | attack = false | |
399 | Animations = false | |
400 | Lauhg = Instance.new("Sound") | |
401 | Lauhg.Parent = Character.Torso | |
402 | Lauhg.SoundId = "rbxassetid://1098076461" | |
403 | Lauhg.Volume = 8 | |
404 | Lauhg.Looped = false | |
405 | Lauhg.Pitch = 1 | |
406 | Lauhg.TimePosition = 0.55 | |
407 | Lauhg:Play() | |
408 | Eyes.Texture = "rbxassetid://1572408983" | |
409 | Mouth.Texture = "rbxassetid://1572411867" | |
410 | for i = 0,1,0.01 do | |
411 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(-20),math.rad(0)), 0.15) | |
412 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(20),math.rad(0)), 0.15) | |
413 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-30),math.rad(0),math.rad(0)), 0.15) | |
414 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-35),math.rad(0),math.rad(0)), 0.15) | |
415 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
416 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/1)/4, -0.25) * c_angles(math.rad(30),math.rad(0), math.rad(0)), 0.15) | |
417 | swait() | |
418 | end | |
419 | Normal_Face() | |
420 | Animations = false | |
421 | attack = false | |
422 | end | |
423 | ||
424 | local target = nil | |
425 | function Attackone() | |
426 | attack = false | |
427 | Animations = false | |
428 | Eyes.Texture = "rbxassetid://1572409968" | |
429 | Mouth.Texture = "rbxassetid://1572411867" | |
430 | for i = 0,0.15,0.01 do | |
431 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(130),math.rad(0),math.rad(20)), 0.2) | |
432 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(90),math.rad(0),math.rad(-35)), 0.2) | |
433 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(0)), 0.2) | |
434 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(0)), 0.2) | |
435 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-60),math.rad(0)), 0.2) | |
436 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5, 0) * c_angles(math.rad(0),math.rad(60), math.rad(0)), 0.2) | |
437 | swait() | |
438 | end | |
439 | S = Instance.new("Sound") | |
440 | S.Parent = Character.Torso | |
441 | S.SoundId = "rbxassetid://417624771" | |
442 | S.Volume = 8 | |
443 | S.Looped = false | |
444 | S.Pitch = 1 | |
445 | S:Play() | |
446 | coroutine.wrap(function() | |
447 | con1=Right_Arm.Touched:connect(function(hit) | |
448 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then | |
449 | target = hit.Parent.Name | |
450 | hit.Parent.Humanoid:TakeDamage(math.random(10,20)) | |
451 | S = Instance.new("Sound") | |
452 | S.Parent = Character.Torso | |
453 | S.SoundId = "rbxassetid://1907654067" | |
454 | S.Volume = 8 | |
455 | S.Looped = false | |
456 | S.Pitch = 1 | |
457 | S:Play() | |
458 | end | |
459 | end) | |
460 | wait(0.1) | |
461 | con1:disconnect() | |
462 | end)() | |
463 | for i = 0,0.12,0.01 do | |
464 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(75),math.rad(-30),math.rad(25)), 0.15) | |
465 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(20),math.rad(0),math.rad(-15)), 0.15) | |
466 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(5),math.rad(0),math.rad(0)), 0.15) | |
467 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-5),math.rad(0),math.rad(0)), 0.15) | |
468 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(80),math.rad(0)), 0.15) | |
469 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5, 0) * c_angles(math.rad(-20),math.rad(-80), math.rad(0)), 0.15) | |
470 | swait() | |
471 | end | |
472 | Normal_Face() | |
473 | target = nil | |
474 | Animations = false | |
475 | attack = false | |
476 | end | |
477 | ||
478 | function Attacktwo() | |
479 | attack = false | |
480 | Animations = false | |
481 | Eyes.Texture = "rbxassetid://1572409968" | |
482 | Mouth.Texture = "rbxassetid://1572411867" | |
483 | for i = 0,0.15,0.01 do | |
484 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90),math.rad(0),math.rad(20)), 0.2) | |
485 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(130),math.rad(0),math.rad(-35)), 0.2) | |
486 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(0)), 0.2) | |
487 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(0)), 0.2) | |
488 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(60),math.rad(0)), 0.2) | |
489 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5, 0) * c_angles(math.rad(0),math.rad(-60), math.rad(0)), 0.2) | |
490 | swait() | |
491 | end | |
492 | S = Instance.new("Sound") | |
493 | S.Parent = Character.Torso | |
494 | S.SoundId = "rbxassetid://417624771" | |
495 | S.Volume = 8 | |
496 | S.Looped = false | |
497 | S.Pitch = 1 | |
498 | S:Play() | |
499 | coroutine.wrap(function() | |
500 | con1=Left_Arm.Touched:connect(function(hit) | |
501 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then | |
502 | target = hit.Parent.Name | |
503 | hit.Parent.Humanoid:TakeDamage(math.random(10,20)) | |
504 | S = Instance.new("Sound") | |
505 | S.Parent = Character.Torso | |
506 | S.SoundId = "rbxassetid://1907654067" | |
507 | S.Volume = 8 | |
508 | S.Looped = false | |
509 | S.Pitch = 1 | |
510 | S:Play() | |
511 | end | |
512 | end) | |
513 | wait(0.1) | |
514 | con1:disconnect() | |
515 | end)() | |
516 | for i = 0,0.12,0.01 do | |
517 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20),math.rad(0),math.rad(15)), 0.15) | |
518 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(75),math.rad(30),math.rad(-25)), 0.15) | |
519 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5),math.rad(0),math.rad(0)), 0.15) | |
520 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5),math.rad(0),math.rad(0)), 0.15) | |
521 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(-80),math.rad(0)), 0.15) | |
522 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5, 0) * c_angles(math.rad(-20),math.rad(80), math.rad(0)), 0.15) | |
523 | swait() | |
524 | end | |
525 | Normal_Face() | |
526 | target = nil | |
527 | Animations = false | |
528 | attack = false | |
529 | end | |
530 | ||
531 | function Attackthree() | |
532 | attack = false | |
533 | Animations = true | |
534 | Eyes.Texture = "rbxassetid://1572409968" | |
535 | Mouth.Texture = "rbxassetid://1572411867" | |
536 | S = Instance.new("Sound") | |
537 | S.Parent = Character.Torso | |
538 | S.SoundId = "rbxassetid://1031614266" | |
539 | S.Volume = 10 | |
540 | S.Looped = false | |
541 | S.Pitch = 1 | |
542 | S:Play() | |
543 | coroutine.wrap(function() | |
544 | for i, v in pairs(FindNearestTorso(rootPart.CFrame.p, 5)) do | |
545 | if v:FindFirstChild('HumanoidRootPart') then | |
546 | wait(0.25) | |
547 | v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(15,25) | |
548 | S = Instance.new("Sound") | |
549 | S.Parent = v:FindFirstChild('HumanoidRootPart') | |
550 | S.SoundId = "rbxassetid://884538090" | |
551 | S.Volume = 10 | |
552 | S.Looped = false | |
553 | S.Pitch = 1 | |
554 | S:Play() | |
555 | end | |
556 | end | |
557 | end)() | |
558 | for i = 0,0.3,0.01 do | |
559 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-90) - i * 14,math.rad(0),math.rad(20)), 0.2) | |
560 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-90) - i * 14,math.rad(0),math.rad(-20)), 0.2) | |
561 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(0)), 0.2) | |
562 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.8, 0) * c_angles(math.rad(45),math.rad(0),math.rad(0)), 0.2) | |
563 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, 0.2, -1.5 + i * 2) * c_angles(math.rad(45) + i * 20, math.rad(0),math.rad(0)), 0.2) | |
564 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-45),math.rad(0), math.rad(0)), 0.2) | |
565 | swait() | |
566 | end | |
567 | ||
568 | Normal_Face() | |
569 | target = nil | |
570 | Animations = false | |
571 | attack = false | |
572 | end | |
573 | ||
574 | function Attackfour() | |
575 | attack = false | |
576 | Animations = false | |
577 | Eyes.Texture = "rbxassetid://1572408983" | |
578 | Mouth.Texture = "rbxassetid://1572410439" | |
579 | for i = 0,0.01,0.01 do | |
580 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
581 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
582 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
583 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
584 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
585 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15) | |
586 | end | |
587 | for i = 0,0.08,0.01 do | |
588 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 1.2, 0) * c_angles(math.rad(180),math.rad(0),math.rad(0)), 0.15) | |
589 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 1.2, 0) * c_angles(math.rad(180),math.rad(0),math.rad(0)), 0.15) | |
590 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-25),math.rad(0),math.rad(0)), 0.15) | |
591 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-25),math.rad(0),math.rad(0)), 0.15) | |
592 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
593 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20),math.rad(0), math.rad(0)), 0.15) | |
594 | swait() | |
595 | end | |
596 | Eyes.Texture = "rbxassetid://1572409968" | |
597 | Mouth.Texture = "rbxassetid://1572411867" | |
598 | S = Instance.new("Sound") | |
599 | S.Parent = Character.Torso | |
600 | S.SoundId = "rbxassetid://755646516" | |
601 | S.Volume = 10 | |
602 | S.Looped = false | |
603 | S.Pitch = 1 | |
604 | S:Play() | |
605 | for i = 0,0.05,0.01 do | |
606 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.25) * c_angles(math.rad(200),math.rad(0),math.rad(-40)), 0.15) | |
607 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.25) * c_angles(math.rad(200),math.rad(0),math.rad(40)), 0.15) | |
608 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
609 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
610 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
611 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20),math.rad(0), math.rad(0)), 0.15) | |
612 | swait() | |
613 | end | |
614 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 4)) do | |
615 | if v:FindFirstChild('HumanoidRootPart') then | |
616 | v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25,30) | |
617 | S = Instance.new("Sound") | |
618 | S.Parent = Character.Torso | |
619 | S.SoundId = "rbxassetid://1907654067" | |
620 | S.Volume = 8 | |
621 | S.Looped = false | |
622 | S.Pitch = 1 | |
623 | S:Play() | |
624 | end | |
625 | end | |
626 | for i = 0,0.01,0.01 do | |
627 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(-40)), 0.15) | |
628 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(40)), 0.15) | |
629 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
630 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
631 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
632 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20),math.rad(0), math.rad(0)), 0.15) | |
633 | swait() | |
634 | end | |
635 | for i = 0,0.04,0.01 do | |
636 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.2, -1) * c_angles(math.rad(0),math.rad(0),math.rad(-40)), 0.15) | |
637 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.2, -1) * c_angles(math.rad(0),math.rad(0),math.rad(40)), 0.15) | |
638 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(0)), 0.15) | |
639 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(0)), 0.15) | |
640 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(0),math.rad(0)), 0.15) | |
641 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15) | |
642 | swait() | |
643 | end | |
644 | wait(0.1) | |
645 | Normal_Face() | |
646 | Animations = false | |
647 | attack = false | |
648 | end | |
649 | ||
650 | function Attackfive() | |
651 | attack = false | |
652 | Animations = false | |
653 | Eyes.Texture = "rbxassetid://1572409968" | |
654 | Mouth.Texture = "rbxassetid://1572411867" | |
655 | Wh = Instance.new("Sound") | |
656 | Wh.Parent = Character.Torso | |
657 | Wh.SoundId = "rbxassetid://1152719084" | |
658 | Wh.Volume = 10 | |
659 | Wh.Looped = false | |
660 | Wh.Pitch = 1.2 | |
661 | Wh.TimePosition = 0.3 | |
662 | Wh:Play() | |
663 | for i = 0,0.25,0.01 do | |
664 | Trace() | |
665 | Humanoid.WalkSpeed = 50 | |
666 | rootPart.Velocity = rootPart.CFrame.lookVector * 200 | |
667 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(20)), 0.2) | |
668 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
669 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
670 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.8, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
671 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, 0.2, 0) * c_angles(math.rad(90), math.rad(0) + i * 50,math.rad(0)), 0.2) | |
672 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0) - i * 50, math.rad(0)), 0.2) | |
673 | coroutine.wrap(function() | |
674 | for i, v in pairs(FindNearestTorso(rootPart.CFrame.p, 6)) do | |
675 | if v:FindFirstChild('HumanoidRootPart') then | |
676 | v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - 1.5 | |
677 | end | |
678 | end | |
679 | end)() | |
680 | swait() | |
681 | end | |
682 | Wh:Destroy() | |
683 | Normal_Face() | |
684 | target = nil | |
685 | Animations = false | |
686 | attack = false | |
687 | end | |
688 | ||
689 | function Rage() | |
690 | attack = false | |
691 | attack2 = false | |
692 | Animations = false | |
693 | Eyes.Texture = "rbxassetid://1572409830" | |
694 | Mouth.Texture = "rbxassetid://1572410763" | |
695 | S = Instance.new("Sound") | |
696 | S.Parent = Torso | |
697 | S.SoundId = "rbxassetid://298660207" | |
698 | S.Volume = 10 | |
699 | S.Looped = false | |
700 | S.Pitch = 1 | |
701 | S:Play() | |
702 | for i = 0,0.6,0.01 do | |
703 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60),math.rad(0),math.rad(-60)), 0.15) | |
704 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(60)), 0.15) | |
705 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15) | |
706 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15) | |
707 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/0.2)/2, -2 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
708 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 + math.sin(sine/0.2)/2, 1.5 + math.sin(sine/7.5)/15, -0.8) * c_angles(math.rad(-80),math.rad(0), math.rad(0)), 0.15) | |
709 | swait() | |
710 | end | |
711 | Eyes.Texture = "rbxassetid://1572410332" | |
712 | Mouth.Texture = "rbxassetid://1572411867" | |
713 | local rng2 = Instance.new("Part",Character) | |
714 | rng2.Anchored = true | |
715 | rng2.Color = Color3.new(0,0,0) | |
716 | rng2.CanCollide = false | |
717 | rng2.Material = "Neon" | |
718 | rng2.FormFactor = 3 | |
719 | rng2.Name = "Shockwave" | |
720 | rng2.Size = Vector3.new(1, 1, 1) | |
721 | rng2.Transparency = 0.35 | |
722 | rng2.TopSurface = 0 | |
723 | rng2.BottomSurface = 0 | |
724 | rng2.CFrame = rootPart.CFrame | |
725 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
726 | rngm2.Scale = Vector3.new(1, 0, 1) | |
727 | rngm2.Offset = Vector3.new(0,0.5,0) | |
728 | rngm2.MeshType = "Sphere" | |
729 | ||
730 | local rng = Instance.new("Part",Character) | |
731 | rng.Anchored = true | |
732 | rng.Color = Color3.new(0,0,0) | |
733 | rng.CanCollide = false | |
734 | rng.Material = "Neon" | |
735 | rng.FormFactor = 3 | |
736 | rng.Name = "Shockwave" | |
737 | rng.Size = Vector3.new(1, 1, 1) | |
738 | rng.Transparency = 0.35 | |
739 | rng.TopSurface = 0 | |
740 | rng.BottomSurface = 0 | |
741 | rng.CFrame = rootPart.CFrame | |
742 | local rngm = Instance.new("SpecialMesh", rng) | |
743 | rngm.Scale = Vector3.new(0, 0, 0) | |
744 | rngm.Offset = Vector3.new(0,0.5,0) | |
745 | rngm.MeshType = "Sphere" | |
746 | ||
747 | local rng3 = Instance.new("Part",Character) | |
748 | rng3.Anchored = true | |
749 | rng3.Color = Color3.new(0,0,0) | |
750 | rng3.CanCollide = false | |
751 | rng3.Material = "Neon" | |
752 | rng3.FormFactor = 3 | |
753 | rng3.Name = "Shockwave" | |
754 | rng3.Size = Vector3.new(1, 1, 1) | |
755 | rng3.Transparency = 0.35 | |
756 | rng3.TopSurface = 0 | |
757 | rng3.BottomSurface = 0 | |
758 | rng3.CFrame = rootPart.CFrame | |
759 | local rngm3 = Instance.new("SpecialMesh", rng3) | |
760 | rngm3.Scale = Vector3.new(0, 0, 0) | |
761 | rngm3.Offset = Vector3.new(0,0.5,0) | |
762 | rngm3.MeshType = "Sphere" | |
763 | S = Instance.new("Sound") | |
764 | S.Parent = Torso | |
765 | S.SoundId = "rbxassetid://1913279584" | |
766 | S.Volume = 8 | |
767 | S.Looped = false | |
768 | S.Pitch = 1 | |
769 | S:Play() | |
770 | ||
771 | spawn(function() | |
772 | for i = 1, 60, 2 do | |
773 | rng2.Color = Color3.new(i/60,0,0) | |
774 | rngm2.Scale = Vector3.new(5 + i*0.5, 5 + i*0.5 ,5 + i*0.5) | |
775 | rng2.Transparency = i/60 | |
776 | rngm.Scale = Vector3.new(2.5 + i*0.25, 2.5 + i*0.25 ,2.5 + i*0.25) | |
777 | rng.Transparency = i/60 | |
778 | rngm3.Scale = Vector3.new(1.25 + i*0.125, 1.25 + i*0.125 ,1.25 + i*0.125) | |
779 | rng3.Transparency = i/60 | |
780 | swait() | |
781 | end | |
782 | wait() | |
783 | rng3:Destroy() | |
784 | rng2:Destroy() | |
785 | rng:Destroy() | |
786 | end) | |
787 | ||
788 | coroutine.wrap(function() | |
789 | for i = 1,360 do | |
790 | local fx = Instance.new("Part",Effects) | |
791 | fx.Anchored = true | |
792 | fx.Color = Color3.new(0,0,0) | |
793 | fx.CanCollide = false | |
794 | fx.FormFactor = 3 | |
795 | fx.Name = "Shockwave" | |
796 | fx.Material = "Neon" | |
797 | fx.Size = Vector3.new(1, 1, 1) | |
798 | fx.Transparency = 0.35 | |
799 | fx.TopSurface = 0 | |
800 | fx.BottomSurface = 0 | |
801 | fx.CFrame = rootPart.CFrame | |
802 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
803 | local fxm = Instance.new("SpecialMesh", fx) | |
804 | fxm.Scale = Vector3.new(0,0,0) | |
805 | fxm.Offset = Vector3.new(0,0,0) | |
806 | fxm.MeshType = "Sphere" | |
807 | spawn(function() | |
808 | for i = 1, 60, 2 do | |
809 | fx.Color = Color3.new(i/30,0,0) | |
810 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
811 | fx.CFrame = fx.CFrame * CFrame.new(0,2.5,0) | |
812 | fx.Transparency = i/30 | |
813 | swait() | |
814 | end | |
815 | wait() | |
816 | fx:Destroy() | |
817 | end) | |
818 | end | |
819 | end)() | |
820 | ||
821 | coroutine.wrap(function() | |
822 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 15)) do | |
823 | if v:FindFirstChild('HumanoidRootPart') then | |
824 | v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25,55) | |
825 | S = Instance.new("Sound") | |
826 | S.Parent = v:FindFirstChild('HumanoidRootPart') | |
827 | S.SoundId = "rbxassetid://884538090" | |
828 | S.Volume = 10 | |
829 | S.Looped = false | |
830 | S.Pitch = 1 | |
831 | S:Play() | |
832 | coroutine.wrap(function() | |
833 | for i = 1,20 do | |
834 | v:FindFirstChild('Torso').Velocity=(v:FindFirstChild('Torso').CFrame.lookVector*150)+Vector3.new(0,1,0)*80 | |
835 | swait() | |
836 | end | |
837 | end)() | |
838 | end | |
839 | end | |
840 | end)() | |
841 | for i = 0,0.7,0.01 do | |
842 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15) | |
843 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15) | |
844 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-10)), 0.15) | |
845 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(10)), 0.15) | |
846 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
847 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(30),math.rad(0), math.rad(0)), 0.15) | |
848 | ||
849 | swait() | |
850 | end | |
851 | Normal_Face() | |
852 | target = nil | |
853 | Animations = false | |
854 | attack2 = false | |
855 | attack = false | |
856 | end | |
857 | ||
858 | ||
859 | function nooutline(part) | |
860 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
861 | end | |
862 | function perts(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
863 | local fp=it("Part") | |
864 | fp.formFactor=formfactor | |
865 | fp.Parent=parent | |
866 | fp.Reflectance=reflectance | |
867 | fp.Transparency=transparency | |
868 | fp.CanCollide=false | |
869 | fp.Locked=true | |
870 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
871 | fp.Name=name | |
872 | fp.Size=size | |
873 | fp.Position=Character.Torso.Position | |
874 | nooutline(fp) | |
875 | fp.Material=material | |
876 | fp:BreakJoints() | |
877 | return fp | |
878 | end | |
879 | ||
880 | function mush(Mesh,part,meshtype,meshid,offset,scale) | |
881 | local mush=it(Mesh) | |
882 | mush.Parent=part | |
883 | if Mesh=="SpecialMesh" then | |
884 | mush.MeshType=meshtype | |
885 | mush.MeshId=meshid | |
886 | end | |
887 | mush.Offset=offset | |
888 | mush.Scale=scale | |
889 | return mush | |
890 | end | |
891 | ||
892 | function wald2(parent,part0,part1,c0,c1) | |
893 | local wald2=it("Weld") | |
894 | wald2.Parent=parent | |
895 | wald2.Part0=part0 | |
896 | wald2.Part1=part1 | |
897 | wald2.C0=c0 | |
898 | wald2.C1=c1 | |
899 | return wald2 | |
900 | end | |
901 | ||
902 | Damagefunc2=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
903 | if hit.Parent==nil then | |
904 | return | |
905 | end | |
906 | h=hit.Parent:FindFirstChild("Humanoid") | |
907 | for _,v in pairs(hit.Parent:children()) do | |
908 | if v:IsA("Humanoid") then | |
909 | h=v | |
910 | end | |
911 | end | |
912 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
913 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
914 | end | |
915 | if hit.Parent.className=="Hat" then | |
916 | hit=hit.Parent.Parent:findFirstChild("Head") | |
917 | end | |
918 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
919 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
920 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
921 | return | |
922 | end]] | |
923 | -- hs(hit,1.2) | |
924 | c=Instance.new("ObjectValue") | |
925 | c.Name="creator" | |
926 | c.Value=game:service("Players").REPLACENAME | |
927 | c.Parent=h | |
928 | game:GetService("Debris"):AddItem(c,.5) | |
929 | Damage=math.random(minim,maxim) | |
930 | -- h:TakeDamage(Damage) | |
931 | blocked=false | |
932 | block=hit.Parent:findFirstChild("Block") | |
933 | if block~=nil then | |
934 | print(block.className) | |
935 | if block.className=="NumberValue" then | |
936 | if block.Value>0 then | |
937 | blocked=true | |
938 | if decreaseblock==nil then | |
939 | block.Value=block.Value-1 | |
940 | end | |
941 | end | |
942 | end | |
943 | if block.className=="IntValue" then | |
944 | if block.Value>0 then | |
945 | blocked=true | |
946 | if decreaseblock~=nil then | |
947 | block.Value=block.Value-1 | |
948 | end | |
949 | end | |
950 | end | |
951 | end | |
952 | if blocked==false then | |
953 | -- h:TakeDamage(Damage) | |
954 | h.Health=h.Health-Damage | |
955 | else | |
956 | h.Health=h.Health-(Damage/2) | |
957 | end | |
958 | if Type=="Knockdown" then | |
959 | hum=hit.Parent.Humanoid | |
960 | hum.PlatformStand=true | |
961 | coroutine.resume(coroutine.create(function(HHumanoid) | |
962 | swait(1) | |
963 | HHumanoid.PlatformStand=false | |
964 | end),hum) | |
965 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
966 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
967 | local bodvol=Instance.new("BodyVelocity") | |
968 | bodvol.velocity=angle*knockback | |
969 | bodvol.P=5000 | |
970 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
971 | bodvol.Parent=hit | |
972 | rl=Instance.new("BodyAngularVelocity") | |
973 | rl.P=3000 | |
974 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
975 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
976 | rl.Parent=hit | |
977 | game:GetService("Debris"):AddItem(bodvol,.5) | |
978 | game:GetService("Debris"):AddItem(rl,.5) | |
979 | elseif Type=="Normal" then | |
980 | vp=Instance.new("BodyVelocity") | |
981 | vp.P=500 | |
982 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
983 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
984 | if KnockbackType==1 then | |
985 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
986 | elseif KnockbackType==2 then | |
987 | vp.velocity=Property.CFrame.lookVector*knockback | |
988 | end | |
989 | if knockback>0 then | |
990 | vp.Parent=hit.Parent.Torso | |
991 | end | |
992 | game:GetService("Debris"):AddItem(vp,.5) | |
993 | elseif Type=="Up" then | |
994 | local bodyVelocity=Instance.new("BodyVelocity") | |
995 | bodyVelocity.velocity=vt(0,60,0) | |
996 | bodyVelocity.P=5000 | |
997 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
998 | bodyVelocity.Parent=hit | |
999 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
1000 | rl=Instance.new("BodyAngularVelocity") | |
1001 | rl.P=3000 | |
1002 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
1003 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
1004 | rl.Parent=hit | |
1005 | game:GetService("Debris"):AddItem(rl,.5) | |
1006 | elseif Type=="Snare" then | |
1007 | bp=Instance.new("BodyPosition") | |
1008 | bp.P=2000 | |
1009 | bp.D=100 | |
1010 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1011 | bp.position=hit.Parent.Torso.Position | |
1012 | bp.Parent=hit.Parent.Torso | |
1013 | game:GetService("Debris"):AddItem(bp,1) | |
1014 | elseif Type=="Target" then | |
1015 | if Targetting==false then | |
1016 | ZTarget=hit.Parent.Torso | |
1017 | coroutine.resume(coroutine.create(function(Part) | |
1018 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
1019 | swait(5) | |
1020 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
1021 | end),ZTarget) | |
1022 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
1023 | targetgui=Instance.new("BillboardGui") | |
1024 | targetgui.Parent=ZTarget | |
1025 | targetgui.Size=UDim2.new(10,100,10,100) | |
1026 | targ=Instance.new("ImageLabel") | |
1027 | targ.Parent=targetgui | |
1028 | targ.BackgroundTransparency=1 | |
1029 | targ.Image="rbxassetid://4834067" | |
1030 | targ.Size=UDim2.new(1,0,1,0) | |
1031 | cam.CameraType="Scriptable" | |
1032 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1033 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1034 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1035 | Targetting=true | |
1036 | RocketTarget=ZTarget | |
1037 | for i=1,Property do | |
1038 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
1039 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
1040 | swait() | |
1041 | end | |
1042 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
1043 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1044 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1045 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*CFrame.new(0,5,10)*CFrame.fromEulerAnglesXYZ(-0.3,0,0) | |
1046 | end | |
1047 | Targetting=false | |
1048 | RocketTarget=nil | |
1049 | targetgui.Parent=nil | |
1050 | cam.CameraType="Custom" | |
1051 | end | |
1052 | end | |
1053 | debounce=Instance.new("BoolValue") | |
1054 | debounce.Name="DebounceHit" | |
1055 | debounce.Parent=hit.Parent | |
1056 | debounce.Value=true | |
1057 | game:GetService("Debris"):AddItem(debounce,Delay) | |
1058 | c=Instance.new("ObjectValue") | |
1059 | c.Name="creator" | |
1060 | c.Value=Player | |
1061 | c.Parent=h | |
1062 | game:GetService("Debris"):AddItem(c,.5) | |
1063 | CRIT=false | |
1064 | hitDeb=true | |
1065 | AttackPos=6 | |
1066 | end | |
1067 | end | |
1068 | ||
1069 | function rayCast2(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1070 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1071 | end | |
1072 | function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1073 | local pat2 = perts(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1074 | pat2.Anchored = true | |
1075 | pat2.CFrame = cframe | |
1076 | pat2.Material = "Neon" | |
1077 | local mash2 = mush("CylinderMesh", pat2, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1078 | game:GetService("Debris"):AddItem(pat2, 2) | |
1079 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1080 | for i = 0, 1, delay do | |
1081 | swait() | |
1082 | Part.CFrame = Part.CFrame | |
1083 | Part.Transparency = i | |
1084 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1085 | end | |
1086 | Part.Parent = nil | |
1087 | end), pat2, mash2) | |
1088 | end | |
1089 | ||
1090 | function Shockwave2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1091 | local pat2 = perts(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1092 | pat2.Anchored = true | |
1093 | pat2.CFrame = cframe | |
1094 | pat2.Material = "Neon" | |
1095 | local mash2 = mush("SpecialMesh", pat2, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1096 | game:GetService("Debris"):AddItem(pat2, 2) | |
1097 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1098 | for i = 0, 1, delay do | |
1099 | swait() | |
1100 | Part.CFrame = Part.CFrame | |
1101 | Part.Transparency = i * 2 | |
1102 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1103 | end | |
1104 | Part.Parent = nil | |
1105 | end), pat2, mash2) | |
1106 | end | |
1107 | --brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay | |
1108 | ||
1109 | Firem = Instance.new("Part",Character) | |
1110 | Firem.Anchored = false | |
1111 | Firem.CanCollide = false | |
1112 | Firem.Size = Vector3.new(0.1,0.1,0.1) | |
1113 | Firem.Transparency = 1 | |
1114 | Weld = Instance.new("Weld",Firem) | |
1115 | Weld.Part0 = Head | |
1116 | Weld.Part1 = Firem | |
1117 | Weld.C1 = CFrame.new(0,-1.5,0) | |
1118 | Fire = Instance.new("Fire",Firem) | |
1119 | Fire.Color = Color3.new(1,0,0) | |
1120 | Fire.Size = 0 | |
1121 | Fire.SecondaryColor = Color3.new(1,0,0) | |
1122 | Fire.Enabled = false | |
1123 | ||
1124 | atk = 1 | |
1125 | function LaserBlaster() | |
1126 | attack = true | |
1127 | Animations = true | |
1128 | Point= Instance.new("BodyGyro") | |
1129 | Point.Parent = rootPart | |
1130 | Point.D = 175 | |
1131 | Point.P = 20000 | |
1132 | Point.MaxTorque = Vector3.new(0,4000000,0) | |
1133 | Eyes.Texture = "rbxassetid://1572409968" | |
1134 | Mouth.Texture = "rbxassetid://1572410439" | |
1135 | if atk == 1 then | |
1136 | for i = 0,0.08,0.01 do | |
1137 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1138 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(90),math.rad(0),math.rad(60)), 0.15) | |
1139 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(-25)), 0.15) | |
1140 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0), math.rad(5) + math.sin(sine/7.5)/15), 0.15) | |
1141 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/15), 0.15) | |
1142 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(60),math.rad(0)), 0.15) | |
1143 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(-60), math.rad(0)), 0.15) | |
1144 | swait() | |
1145 | end | |
1146 | S = Instance.new("Sound") | |
1147 | S.Parent = Character.Torso | |
1148 | S.SoundId = "rbxassetid://1336753255" | |
1149 | S.Volume = 10 | |
1150 | S.Looped = false | |
1151 | S.Pitch = 1 | |
1152 | S:Play() | |
1153 | local MouseLook=CFrame.new((Right_Arm.Position+mouse.Hit.p)/2,mouse.Hit.p) | |
1154 | local hit,pos = rayCast2(Right_Arm.Position,MouseLook.lookVector,999,rootPart.Parent) | |
1155 | local mag=(Right_Arm.Position-pos).magnitude | |
1156 | Laser(BrickColor.new("Really black"),CFrame.new((Right_Arm.Position+pos)/2,pos)*CFrame.Angles(1.57,0,0),1,mag*2,1,2.5,0,0.005,0.05) | |
1157 | if hit~=nil then | |
1158 | local refa=perts(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",Vector3.new()) | |
1159 | refa.Anchored=true | |
1160 | refa.CFrame=CFrame.new(pos) | |
1161 | game:GetService("Debris"):AddItem(refa,1) | |
1162 | Shockwave2(BrickColor.new("Really black"),CFrame.new(pos),0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.01*2) | |
1163 | Damagefunc2(hit,5,10,0,"Normal",rootPart,0) | |
1164 | Eyes.Texture = "rbxassetid://1572409968" | |
1165 | Mouth.Texture = "rbxassetid://1572411867" | |
1166 | for i = 0,0.1,0.01 do | |
1167 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1168 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.8) * c_angles(math.rad(90),math.rad(0),math.rad(-45)), 0.15) | |
1169 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(-25)), 0.15) | |
1170 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0), math.rad(5) + math.sin(sine/7.5)/15), 0.15) | |
1171 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/15), 0.15) | |
1172 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(-45),math.rad(0)), 0.15) | |
1173 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-20),math.rad(45), math.rad(0)), 0.15) | |
1174 | swait() | |
1175 | end | |
1176 | for i = 0,0.25,0.01 do | |
1177 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1178 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(90),math.rad(0),math.rad(0)), 0.15) | |
1179 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(-25)), 0.15) | |
1180 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0), math.rad(5) + math.sin(sine/7.5)/15), 0.15) | |
1181 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/15), 0.15) | |
1182 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1183 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0), math.rad(0)), 0.15) | |
1184 | swait() | |
1185 | end | |
1186 | end | |
1187 | Point:Destroy() | |
1188 | atk = atk + 1 | |
1189 | elseif atk == 2 then | |
1190 | ||
1191 | for i = 0,0.08,0.01 do | |
1192 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1193 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(25)), 0.15) | |
1194 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(90),math.rad(0),math.rad(-60)), 0.15) | |
1195 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0), math.rad(5) + math.sin(sine/7.5)/15), 0.15) | |
1196 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/15), 0.15) | |
1197 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(-60),math.rad(0)), 0.15) | |
1198 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(60), math.rad(0)), 0.15) | |
1199 | swait() | |
1200 | end | |
1201 | S = Instance.new("Sound") | |
1202 | S.Parent = Character.Torso | |
1203 | S.SoundId = "rbxassetid://1336753453" | |
1204 | S.Volume = 10 | |
1205 | S.Looped = false | |
1206 | S.Pitch = 1 | |
1207 | S:Play() | |
1208 | local MouseLook=CFrame.new((Left_Arm.Position+mouse.Hit.p)/2,mouse.Hit.p) | |
1209 | local hit,pos = rayCast2(Left_Arm.Position,MouseLook.lookVector,999,rootPart.Parent) | |
1210 | local mag=(Left_Arm.Position-pos).magnitude | |
1211 | Laser(BrickColor.new("Really black"),CFrame.new((Left_Arm.Position+pos)/2,pos)*CFrame.Angles(1.57,0,0),1,mag*2,1,2.5,0,0.005,0.05) | |
1212 | if hit~=nil then | |
1213 | local refa=perts(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",Vector3.new()) | |
1214 | refa.Anchored=true | |
1215 | refa.CFrame=CFrame.new(pos) | |
1216 | game:GetService("Debris"):AddItem(refa,1) | |
1217 | Shockwave2(BrickColor.new("Really black"),CFrame.new(pos),0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.01*2) | |
1218 | Damagefunc2(hit,5,10,0,"Normal",rootPart,0) | |
1219 | Eyes.Texture = "rbxassetid://1572409968" | |
1220 | Mouth.Texture = "rbxassetid://1572411867" | |
1221 | for i = 0,0.1,0.01 do | |
1222 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1223 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(25)), 0.15) | |
1224 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.8) * c_angles(math.rad(90),math.rad(0),math.rad(45)), 0.15) | |
1225 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0), math.rad(5) + math.sin(sine/7.5)/15), 0.15) | |
1226 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/15), 0.15) | |
1227 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(45),math.rad(0)), 0.15) | |
1228 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-20),math.rad(-45), math.rad(0)), 0.15) | |
1229 | swait() | |
1230 | end | |
1231 | for i = 0,0.25,0.01 do | |
1232 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1233 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(25)), 0.15) | |
1234 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(90),math.rad(0),math.rad(0)), 0.15) | |
1235 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0), math.rad(5) + math.sin(sine/7.5)/15), 0.15) | |
1236 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/15), 0.15) | |
1237 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1238 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0), math.rad(0)), 0.15) | |
1239 | swait() | |
1240 | end | |
1241 | end | |
1242 | Point:Destroy() | |
1243 | atk = 1 | |
1244 | end | |
1245 | Normal_Face() | |
1246 | Animations = false | |
1247 | attack = false | |
1248 | end | |
1249 | ||
1250 | ||
1251 | function LaserBarrage() | |
1252 | attack = true | |
1253 | Animations = true | |
1254 | Eyes.Texture = "rbxassetid://1572409968" | |
1255 | Mouth.Texture = "rbxassetid://1572410439" | |
1256 | if atk == 1 then | |
1257 | for i = 0,0.04,0.01 do | |
1258 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(90),math.rad(0),math.rad(60)), 0.5) | |
1259 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(-25)), 0.5) | |
1260 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.5) | |
1261 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.5) | |
1262 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(60),math.rad(0)), 0.5) | |
1263 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(-60), math.rad(0)), 0.5) | |
1264 | swait() | |
1265 | end | |
1266 | S = Instance.new("Sound") | |
1267 | S.Parent = Character.Torso | |
1268 | S.SoundId = "rbxassetid://1336753255" | |
1269 | S.Volume = 10 | |
1270 | S.Looped = false | |
1271 | S.Pitch = 1 | |
1272 | S:Play() | |
1273 | local MouseLook=CFrame.new((Right_Arm.Position+mouse.Hit.p)/2,mouse.Hit.p) | |
1274 | local hit,pos = rayCast2(Right_Arm.Position,MouseLook.lookVector,999,rootPart.Parent) | |
1275 | local mag=(Right_Arm.Position-pos).magnitude | |
1276 | Laser(BrickColor.new("Really red"),CFrame.new((Right_Arm.Position+pos)/2,pos)*CFrame.Angles(1.57,0,0),1,mag*2,1,2.5,0,0.005,0.05) | |
1277 | if hit~=nil then | |
1278 | local refa=perts(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really red"),"Effect",Vector3.new()) | |
1279 | refa.Anchored=true | |
1280 | refa.CFrame=CFrame.new(pos) | |
1281 | game:GetService("Debris"):AddItem(refa,1) | |
1282 | Shockwave2(BrickColor.new("Really red"),CFrame.new(pos),0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.01*2) | |
1283 | coroutine.wrap(function() | |
1284 | ||
1285 | ||
1286 | spawn(function() | |
1287 | for i = 1, 60, 2 do | |
1288 | ||
1289 | swait() | |
1290 | end | |
1291 | wait() | |
1292 | ||
1293 | end) | |
1294 | ||
1295 | end)() | |
1296 | Damagefunc2(hit,20,40,0,"Normal",rootPart,0) | |
1297 | Eyes.Texture = "rbxassetid://1572409968" | |
1298 | Mouth.Texture = "rbxassetid://1572411867" | |
1299 | end | |
1300 | atk = atk + 1 | |
1301 | elseif atk == 2 then | |
1302 | ||
1303 | for i = 0,0.04,0.01 do | |
1304 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(25)), 0.5) | |
1305 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(90),math.rad(0),math.rad(-60)), 0.5) | |
1306 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.5) | |
1307 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.5) | |
1308 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(-60),math.rad(0)), 0.5) | |
1309 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(60), math.rad(0)), 0.5) | |
1310 | swait() | |
1311 | end | |
1312 | S = Instance.new("Sound") | |
1313 | S.Parent = Character.Torso | |
1314 | S.SoundId = "rbxassetid://1336753453" | |
1315 | S.Volume = 10 | |
1316 | S.Looped = false | |
1317 | S.Pitch = 1 | |
1318 | S:Play() | |
1319 | local MouseLook=CFrame.new((Left_Arm.Position+mouse.Hit.p)/2,mouse.Hit.p) | |
1320 | local hit,pos = rayCast2(Left_Arm.Position,MouseLook.lookVector,999,rootPart.Parent) | |
1321 | local mag=(Left_Arm.Position-pos).magnitude | |
1322 | Laser(BrickColor.new("Really red"),CFrame.new((Left_Arm.Position+pos)/2,pos)*CFrame.Angles(1.57,0,0),1,mag*2,1,2.5,0,0.005,0.05) | |
1323 | if hit~=nil then | |
1324 | local refa=perts(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really red"),"Effect",Vector3.new()) | |
1325 | refa.Anchored=true | |
1326 | refa.CFrame=CFrame.new(pos) | |
1327 | game:GetService("Debris"):AddItem(refa,1) | |
1328 | Shockwave2(BrickColor.new("Really red"),CFrame.new(pos),0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.01*2) | |
1329 | coroutine.wrap(function() | |
1330 | ||
1331 | ||
1332 | local fxm = Instance.new("SpecialMesh", fx) | |
1333 | fxm.Scale = Vector3.new(0,0,0) | |
1334 | fxm.Offset = Vector3.new(0,0,0) | |
1335 | fxm.MeshType = "Sphere" | |
1336 | spawn(function() | |
1337 | for i = 1, 60, 2 do | |
1338 | fxm.Scale = Vector3.new(0.25 - i*0.00416,2.5 - i*0.0416 ,0.25 - i*0.00416) | |
1339 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
1340 | fx.Transparency = i/30 | |
1341 | swait() | |
1342 | end | |
1343 | wait() | |
1344 | fx:Destroy() | |
1345 | end) | |
1346 | ||
1347 | end)() | |
1348 | Damagefunc2(hit,20,40,0,"Normal",rootPart,0) | |
1349 | Eyes.Texture = "rbxassetid://1572409968" | |
1350 | Mouth.Texture = "rbxassetid://1572411867" | |
1351 | end | |
1352 | atk = 1 | |
1353 | end | |
1354 | Normal_Face() | |
1355 | Animations = false | |
1356 | attack = false | |
1357 | end | |
1358 | ||
1359 | function Shrug() | |
1360 | attack = true | |
1361 | attack2 = true | |
1362 | Animations = true | |
1363 | Eyes.Texture = "rbxassetid://1572409670" | |
1364 | Mouth.Texture = "rbxassetid://1572410439" | |
1365 | for i = 0,0.2,0.01 do | |
1366 | angleSpeed = 1 | |
1367 | axisSpeed = 1 | |
1368 | change = 0.5 | |
1369 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(20) + math.sin(sine/7.5)/15), 0.15) | |
1370 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(-20) - math.sin(sine/7.5)/15), 0.15) | |
1371 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(2) + math.sin(sine/7.5)/66), 0.15) | |
1372 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-2) - math.sin(sine/7.5)/66), 0.15) | |
1373 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1374 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(-5)), 0.15) | |
1375 | swait() | |
1376 | end | |
1377 | ||
1378 | for i = 0,0.1,0.01 do | |
1379 | angleSpeed = 1 | |
1380 | axisSpeed = 1 | |
1381 | change = 0.5 | |
1382 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(25) + math.sin(sine/7.5)/15), 0.15) | |
1383 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(-25) - math.sin(sine/7.5)/15), 0.15) | |
1384 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(2) + math.sin(sine/7.5)/66), 0.15) | |
1385 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-2) - math.sin(sine/7.5)/66), 0.15) | |
1386 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1387 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(-20)), 0.15) | |
1388 | swait() | |
1389 | end | |
1390 | ||
1391 | for i = 0,0.2,0.01 do | |
1392 | angleSpeed = 1 | |
1393 | axisSpeed = 1 | |
1394 | change = 0.5 | |
1395 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(20) + math.sin(sine/7.5)/15), 0.15) | |
1396 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(-20) - math.sin(sine/7.5)/15), 0.15) | |
1397 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(2) + math.sin(sine/7.5)/66), 0.15) | |
1398 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-2) - math.sin(sine/7.5)/66), 0.15) | |
1399 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1400 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(-5)), 0.15) | |
1401 | swait() | |
1402 | end | |
1403 | Normal_Face() | |
1404 | Animations = false | |
1405 | attack2 = false | |
1406 | attack = false | |
1407 | end | |
1408 | ||
1409 | function Surprised() | |
1410 | attack = true | |
1411 | attack2 = true | |
1412 | Animations = true | |
1413 | Eyes.Texture = "rbxassetid://1572411695" | |
1414 | Mouth.Texture = "rbxassetid://1572410763" | |
1415 | ||
1416 | for i = 0,0.05,0.01 do | |
1417 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(30) - math.sin(sine/7.5)/15), 0.15) | |
1418 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-30) + math.sin(sine/7.5)/15), 0.15) | |
1419 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15) | |
1420 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15) | |
1421 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
1422 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15) | |
1423 | swait() | |
1424 | end | |
1425 | S = Instance.new("Sound") | |
1426 | S.Parent = Character.Torso | |
1427 | S.SoundId = "rbxassetid://2019251766" | |
1428 | S.Volume = 10 | |
1429 | S.Looped = false | |
1430 | S.Pitch = 1 | |
1431 | S:Play() | |
1432 | for i = 0,0.05,0.01 do | |
1433 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15) | |
1434 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15) | |
1435 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-10)), 0.15) | |
1436 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(10)), 0.15) | |
1437 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0.1) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
1438 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15) | |
1439 | swait() | |
1440 | end | |
1441 | ||
1442 | for i = 0,0.7,0.01 do | |
1443 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(30) - math.sin(sine/7.5)/15), 0.15) | |
1444 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-30) + math.sin(sine/7.5)/15), 0.15) | |
1445 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15) | |
1446 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15) | |
1447 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
1448 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15) | |
1449 | swait() | |
1450 | end | |
1451 | ||
1452 | Normal_Face() | |
1453 | Animations = false | |
1454 | attack2 = false | |
1455 | attack = false | |
1456 | end | |
1457 | ||
1458 | function No() | |
1459 | attack = true | |
1460 | attack2 = true | |
1461 | Animations = true | |
1462 | Eyes.Texture = "rbxassetid://1572409830" | |
1463 | Mouth.Texture = "rbxassetid://1572410763" | |
1464 | ||
1465 | for i = 1,3 do | |
1466 | for i = 0,0.2,0.01 do | |
1467 | angleSpeed = 1 | |
1468 | axisSpeed = 1 | |
1469 | change = 0.5 | |
1470 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1471 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1472 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1473 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1474 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1475 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20),math.rad(25), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1476 | swait() | |
1477 | end | |
1478 | ||
1479 | for i = 0,0.2,0.01 do | |
1480 | angleSpeed = 1 | |
1481 | axisSpeed = 1 | |
1482 | change = 0.5 | |
1483 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1484 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1485 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1486 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1487 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1488 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20),math.rad(-25), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1489 | swait() | |
1490 | end | |
1491 | end | |
1492 | ||
1493 | for i = 0,0.2,0.01 do | |
1494 | angleSpeed = 1 | |
1495 | axisSpeed = 1 | |
1496 | change = 0.5 | |
1497 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1498 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1499 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1500 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1501 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1502 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20),math.rad(25), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1503 | swait() | |
1504 | end | |
1505 | ||
1506 | Normal_Face() | |
1507 | Animations = false | |
1508 | attack2 = false | |
1509 | attack = false | |
1510 | end | |
1511 | ||
1512 | function Nuh_Uh() | |
1513 | attack = true | |
1514 | attack2 = true | |
1515 | Animations = true | |
1516 | Eyes.Texture = "rbxassetid://1572409830" | |
1517 | Mouth.Texture = "rbxassetid://1572410439" | |
1518 | ||
1519 | for i = 1,3 do | |
1520 | for i = 0,0.2,0.01 do | |
1521 | angleSpeed = 1 | |
1522 | axisSpeed = 1 | |
1523 | change = 0.5 | |
1524 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1525 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1526 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15) | |
1527 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.15) | |
1528 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1529 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20),math.rad(25), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1530 | swait() | |
1531 | end | |
1532 | ||
1533 | for i = 0,0.2,0.01 do | |
1534 | angleSpeed = 1 | |
1535 | axisSpeed = 1 | |
1536 | change = 0.5 | |
1537 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1538 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1539 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15) | |
1540 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.15) | |
1541 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1542 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20),math.rad(-25), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1543 | swait() | |
1544 | end | |
1545 | end | |
1546 | ||
1547 | for i = 0,0.2,0.01 do | |
1548 | angleSpeed = 1 | |
1549 | axisSpeed = 1 | |
1550 | change = 0.5 | |
1551 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1552 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1553 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15) | |
1554 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.15) | |
1555 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1556 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20),math.rad(25), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1557 | swait() | |
1558 | end | |
1559 | ||
1560 | Normal_Face() | |
1561 | Animations = false | |
1562 | attack2 = false | |
1563 | attack = false | |
1564 | end | |
1565 | ||
1566 | function Wave() | |
1567 | attack = true | |
1568 | attack2 = true | |
1569 | Animations = true | |
1570 | Eyes.Texture = "rbxassetid://1572409210" | |
1571 | Mouth.Texture = "rbxassetid://1572410439" | |
1572 | ||
1573 | for i = 1,2 do | |
1574 | for i = 0,0.2,0.01 do | |
1575 | angleSpeed = 1 | |
1576 | axisSpeed = 1 | |
1577 | change = 0.5 | |
1578 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(150) + math.sin(sine/7.5)/15), 0.15) | |
1579 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(20) - math.sin(sine/7.5)/15), 0.15) | |
1580 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1581 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1582 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1583 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(10) + math.sin(sine/15)/15), 0.15) | |
1584 | swait() | |
1585 | end | |
1586 | ||
1587 | for i = 0,0.2,0.01 do | |
1588 | angleSpeed = 1 | |
1589 | axisSpeed = 1 | |
1590 | change = 0.5 | |
1591 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(100) + math.sin(sine/7.5)/15), 0.15) | |
1592 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(20) - math.sin(sine/7.5)/15), 0.15) | |
1593 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1594 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1595 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1596 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(10) + math.sin(sine/15)/15), 0.15) | |
1597 | swait() | |
1598 | end | |
1599 | end | |
1600 | ||
1601 | for i = 0,0.2,0.01 do | |
1602 | angleSpeed = 1 | |
1603 | axisSpeed = 1 | |
1604 | change = 0.5 | |
1605 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(150) + math.sin(sine/7.5)/15), 0.15) | |
1606 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(20) - math.sin(sine/7.5)/15), 0.15) | |
1607 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1608 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1609 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1610 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(10) + math.sin(sine/15)/15), 0.15) | |
1611 | swait() | |
1612 | end | |
1613 | ||
1614 | ||
1615 | Normal_Face() | |
1616 | Animations = false | |
1617 | attack2 = false | |
1618 | attack = false | |
1619 | end | |
1620 | ||
1621 | ||
1622 | function Nod() | |
1623 | attack = true | |
1624 | attack2 = true | |
1625 | Animations = true | |
1626 | Eyes.Texture = "rbxassetid://1572409210" | |
1627 | Mouth.Texture = "rbxassetid://1572410439" | |
1628 | ||
1629 | for i = 0,0.15,0.01 do | |
1630 | angleSpeed = 1 | |
1631 | axisSpeed = 1 | |
1632 | change = 0.5 | |
1633 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1634 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1635 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1636 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1637 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1638 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1639 | swait() | |
1640 | end | |
1641 | ||
1642 | for i = 0,0.15,0.01 do | |
1643 | angleSpeed = 1 | |
1644 | axisSpeed = 1 | |
1645 | change = 0.5 | |
1646 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1647 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1648 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1649 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1650 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1651 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1652 | swait() | |
1653 | end | |
1654 | ||
1655 | for i = 0,0.15,0.01 do | |
1656 | angleSpeed = 1 | |
1657 | axisSpeed = 1 | |
1658 | change = 0.5 | |
1659 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1660 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1661 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1662 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1663 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1664 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1665 | swait() | |
1666 | end | |
1667 | ||
1668 | Normal_Face() | |
1669 | Animations = false | |
1670 | attack2 = false | |
1671 | attack = false | |
1672 | end | |
1673 | ||
1674 | ||
1675 | TimePerSpike = 2 | |
1676 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
1677 | function Ink_Spikes() | |
1678 | attack = true | |
1679 | attack2 = true | |
1680 | Animations = true | |
1681 | Point= Instance.new("BodyGyro") | |
1682 | Point.Parent = rootPart | |
1683 | Point.D = 175 | |
1684 | Point.P = 20000 | |
1685 | Point.MaxTorque = Vector3.new(0,4000000,0) | |
1686 | Eyes.Texture = "rbxassetid://1572409968" | |
1687 | Mouth.Texture = "rbxassetid://1572411867" | |
1688 | for i = 0,0.15,0.01 do | |
1689 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1690 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(60) - math.sin(sine/7.5)/15,math.rad(0),math.rad(40) + math.sin(sine/7.5)/15), 0.15) | |
1691 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20), math.rad(0),math.rad(-10) - math.sin(sine/7.5)/15), 0.15) | |
1692 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-10) - math.sin(sine/7.5)/15, math.rad(50), math.rad(-2) + math.sin(sine/7.5)/66), 0.15) | |
1693 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-10), math.rad(50), math.rad(2) - math.sin(sine/7.5)/66), 0.15) | |
1694 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(-50),math.rad(0)), 0.15) | |
1695 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(45), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1696 | swait() | |
1697 | end | |
1698 | coroutine.wrap(function() | |
1699 | getroot = rootPart.CFrame | |
1700 | for i = 1,math.random(10,12) do | |
1701 | TimePerSpike = TimePerSpike + math.random(4,6) | |
1702 | local rng2 = Instance.new("Part",Character) | |
1703 | rng2.Anchored = true | |
1704 | rng2.Color = Color3.new(0,0,0) | |
1705 | rng2.CanCollide = true | |
1706 | rng2.Material = "Neon" | |
1707 | rng2.FormFactor = 3 | |
1708 | rng2.Name = "Shockwave" | |
1709 | rng2.Size = Vector3.new(0.5, 8, 0.5) | |
1710 | rng2.Transparency = 0 | |
1711 | rng2.TopSurface = 0 | |
1712 | rng2.BottomSurface = 0 | |
1713 | rng2.CFrame = getroot | |
1714 | rng2.CFrame = rng2.CFrame * CFrame.new(math.random(-20,20)/10,-10,-TimePerSpike) * CFrame.Angles(math.rad(math.random(-20,20)/10),math.rad(math.random(-3600,3600)/10),math.rad(math.random(-200,200)/10)) | |
1715 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
1716 | rngm2.Scale = Vector3.new(1,5,1) | |
1717 | rngm2.Offset = Vector3.new(0,0,0) | |
1718 | rngm2.MeshType = "FileMesh" | |
1719 | rngm2.MeshId = "rbxassetid://1873091214" | |
1720 | local HIT = rng2.Touched:Connect(function(hit) | |
1721 | if hit.Parent ~= Character then | |
1722 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 2 | |
1723 | end | |
1724 | end) | |
1725 | S = Instance.new("Sound",rng2) | |
1726 | S.Volume = 2 | |
1727 | S.SoundId = "rbxassetid://"..HITWEAPONSOUNDS[math.random(1,#HITWEAPONSOUNDS)] | |
1728 | S:Play() | |
1729 | spawn(function() | |
1730 | for i = 1,5 do | |
1731 | rng2.CFrame = rng2.CFrame * CFrame.new(0,2,0) | |
1732 | swait() | |
1733 | end | |
1734 | HIT:disconnect() | |
1735 | wait(0.05) | |
1736 | for i = 1,15 do | |
1737 | rng2.CFrame = rng2.CFrame * CFrame.new(0,-0.6,0) | |
1738 | swait() | |
1739 | end | |
1740 | rng2:Destroy() | |
1741 | end) | |
1742 | wait(0.02) | |
1743 | end | |
1744 | TimePerSpike = 2 | |
1745 | end)() | |
1746 | for i = 0,0.3,0.01 do | |
1747 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(120) - math.sin(sine/7.5)/15,math.rad(0),math.rad(-10) + math.sin(sine/7.5)/15), 0.2) | |
1748 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0),math.rad(-20) - math.sin(sine/7.5)/15), 0.2) | |
1749 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0) - math.sin(sine/7.5)/15, math.rad(0), math.rad(-2) + math.sin(sine/7.5)/66), 0.2) | |
1750 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(2) - math.sin(sine/7.5)/66), 0.2) | |
1751 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(10),math.rad(0)), 0.2) | |
1752 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.2) | |
1753 | swait() | |
1754 | end | |
1755 | Normal_Face() | |
1756 | Point:Destroy() | |
1757 | Animations = false | |
1758 | attack2 = false | |
1759 | attack = false | |
1760 | end | |
1761 | ||
1762 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
1763 | function Ink_Spikes2() | |
1764 | attack = true | |
1765 | attack2 = true | |
1766 | Animations = true | |
1767 | Point= Instance.new("BodyGyro") | |
1768 | Point.Parent = rootPart | |
1769 | Point.D = 175 | |
1770 | Point.P = 20000 | |
1771 | Point.MaxTorque = Vector3.new(0,4000000,0) | |
1772 | Eyes.Texture = "rbxassetid://1572409968" | |
1773 | Mouth.Texture = "rbxassetid://1572411867" | |
1774 | for i = 0,0.15,0.01 do | |
1775 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1776 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(60) - math.sin(sine/7.5)/15,math.rad(0),math.rad(40) + math.sin(sine/7.5)/15), 0.15) | |
1777 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20), math.rad(0),math.rad(-10) - math.sin(sine/7.5)/15), 0.15) | |
1778 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-10) - math.sin(sine/7.5)/15, math.rad(50), math.rad(-2) + math.sin(sine/7.5)/66), 0.15) | |
1779 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-10), math.rad(50), math.rad(2) - math.sin(sine/7.5)/66), 0.15) | |
1780 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(-50),math.rad(0)), 0.15) | |
1781 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(45), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1782 | swait() | |
1783 | end | |
1784 | coroutine.wrap(function() | |
1785 | getroot = rootPart.CFrame | |
1786 | for i = 1,math.random(10,12) do | |
1787 | TimePerSpike = TimePerSpike + math.random(4,6) | |
1788 | local rng2 = Instance.new("Part",Effects) | |
1789 | rng2.Anchored = true | |
1790 | rng2.Color = Color3.new(0,0,0) | |
1791 | rng2.CanCollide = true | |
1792 | rng2.Material = "Neon" | |
1793 | rng2.FormFactor = 3 | |
1794 | rng2.Name = "Shockwave" | |
1795 | rng2.Size = Vector3.new(0.5, 14, 0.5) | |
1796 | rng2.Transparency = 0 | |
1797 | rng2.TopSurface = 0 | |
1798 | rng2.BottomSurface = 0 | |
1799 | rng2.CFrame = getroot | |
1800 | rng2.CFrame = rng2.CFrame * CFrame.new(math.random(-20,20)/10,-10,-TimePerSpike) * CFrame.Angles(math.rad(math.random(-20,20)/10),math.rad(math.random(-3600,3600)/10),math.rad(math.random(-200,200)/10)) | |
1801 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
1802 | rngm2.Scale = Vector3.new(1,8,1) | |
1803 | rngm2.Offset = Vector3.new(0,0,0) | |
1804 | rngm2.MeshType = "FileMesh" | |
1805 | rngm2.MeshId = "rbxassetid://1873091214" | |
1806 | local HIT = rng2.Touched:Connect(function(hit) | |
1807 | if hit.Parent ~= Character then | |
1808 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 4 | |
1809 | end | |
1810 | end) | |
1811 | S = Instance.new("Sound",rng2) | |
1812 | S.Volume = 2 | |
1813 | S.SoundId = "rbxassetid://"..HITWEAPONSOUNDS[math.random(1,#HITWEAPONSOUNDS)] | |
1814 | S:Play() | |
1815 | spawn(function() | |
1816 | for i = 1,5 do | |
1817 | rng2.CFrame = rng2.CFrame * CFrame.new(0,2,0) | |
1818 | swait() | |
1819 | end | |
1820 | HIT:disconnect() | |
1821 | wait(1) | |
1822 | for i = 1,15 do | |
1823 | rng2.CFrame = rng2.CFrame * CFrame.new(0,-0.6,0) | |
1824 | swait() | |
1825 | end | |
1826 | rng2:Destroy() | |
1827 | end) | |
1828 | wait(0.02) | |
1829 | end | |
1830 | TimePerSpike = 2 | |
1831 | end) | |
1832 | coroutine.wrap(function() | |
1833 | getroot = rootPart.CFrame | |
1834 | for i = 1,math.random(10,25) do | |
1835 | TimePerSpike2 = TimePerSpike2 + math.random(2,4) | |
1836 | local rng2 = Instance.new("Part",Effects) | |
1837 | rng2.Anchored = true | |
1838 | rng2.Color = Color3.new(0,0,0) | |
1839 | rng2.CanCollide = true | |
1840 | rng2.Material = "Neon" | |
1841 | rng2.FormFactor = 3 | |
1842 | rng2.Name = "Shockwave" | |
1843 | rng2.Size = Vector3.new(0.5, 8, 0.5) | |
1844 | rng2.Transparency = 0 | |
1845 | rng2.TopSurface = 0 | |
1846 | rng2.BottomSurface = 0 | |
1847 | rng2.CFrame = getroot | |
1848 | rng2.CFrame = rng2.CFrame * CFrame.new(math.random(-200,200)/10,-10,-TimePerSpike2) * CFrame.Angles(math.rad(math.random(-20,20)/10),math.rad(math.random(-3600,3600)/10),math.rad(math.random(-200,200)/10)) | |
1849 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
1850 | rngm2.Scale = Vector3.new(1,5,1) | |
1851 | rngm2.Offset = Vector3.new(0,0,0) | |
1852 | rngm2.MeshType = "FileMesh" | |
1853 | rngm2.MeshId = "rbxassetid://1873091214" | |
1854 | local HIT = rng2.Touched:Connect(function(hit) | |
1855 | if hit.Parent ~= Character then | |
1856 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 2 | |
1857 | end | |
1858 | end) | |
1859 | S = Instance.new("Sound",rng2) | |
1860 | S.Volume = 2 | |
1861 | S.SoundId = "rbxassetid://"..HITWEAPONSOUNDS[math.random(1,#HITWEAPONSOUNDS)] | |
1862 | S:Play() | |
1863 | spawn(function() | |
1864 | for i = 1,5 do | |
1865 | rng2.CFrame = rng2.CFrame * CFrame.new(0,2,0) | |
1866 | swait() | |
1867 | end | |
1868 | HIT:disconnect() | |
1869 | swait() | |
1870 | for i = 1,15 do | |
1871 | rng2.CFrame = rng2.CFrame * CFrame.new(0,-0.6,0) | |
1872 | swait() | |
1873 | end | |
1874 | rng2:Destroy() | |
1875 | end) | |
1876 | local rng2 = Instance.new("Part",Effects) | |
1877 | rng2.Anchored = true | |
1878 | rng2.Color = Color3.new(0,0,0) | |
1879 | rng2.CanCollide = true | |
1880 | rng2.Material = "Neon" | |
1881 | rng2.FormFactor = 3 | |
1882 | rng2.Name = "Shockwave" | |
1883 | rng2.Size = Vector3.new(0.5, 8, 0.5) | |
1884 | rng2.Transparency = 0 | |
1885 | rng2.TopSurface = 0 | |
1886 | rng2.BottomSurface = 0 | |
1887 | rng2.CFrame = getroot | |
1888 | rng2.CFrame = rng2.CFrame * CFrame.new(math.random(-200,200)/10,-10,-TimePerSpike2) * CFrame.Angles(math.rad(math.random(-20,20)/10),math.rad(math.random(-3600,3600)/10),math.rad(math.random(-200,200)/10)) | |
1889 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
1890 | rngm2.Scale = Vector3.new(1,5,1) | |
1891 | rngm2.Offset = Vector3.new(0,0,0) | |
1892 | rngm2.MeshType = "FileMesh" | |
1893 | rngm2.MeshId = "rbxassetid://1873091214" | |
1894 | local HIT = rng2.Touched:Connect(function(hit) | |
1895 | if hit.Parent ~= Character then | |
1896 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 2 | |
1897 | end | |
1898 | end) | |
1899 | S = Instance.new("Sound",rng2) | |
1900 | S.Volume = 2 | |
1901 | S.SoundId = "rbxassetid://"..HITWEAPONSOUNDS[math.random(1,#HITWEAPONSOUNDS)] | |
1902 | S:Play() | |
1903 | spawn(function() | |
1904 | for i = 1,5 do | |
1905 | rng2.CFrame = rng2.CFrame * CFrame.new(0,2,0) | |
1906 | swait() | |
1907 | end | |
1908 | HIT:disconnect() | |
1909 | swait() | |
1910 | for i = 1,15 do | |
1911 | rng2.CFrame = rng2.CFrame * CFrame.new(0,-0.6,0) | |
1912 | swait() | |
1913 | end | |
1914 | rng2:Destroy() | |
1915 | end) | |
1916 | wait(math.random(10,20)/-100) | |
1917 | end | |
1918 | TimePerSpike2 = 2 | |
1919 | end)() | |
1920 | for i = 0,0.3,0.01 do | |
1921 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(120) - math.sin(sine/7.5)/15,math.rad(0),math.rad(-10) + math.sin(sine/7.5)/15), 0.2) | |
1922 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0),math.rad(-20) - math.sin(sine/7.5)/15), 0.2) | |
1923 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0) - math.sin(sine/7.5)/15, math.rad(0), math.rad(-2) + math.sin(sine/7.5)/66), 0.2) | |
1924 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(2) - math.sin(sine/7.5)/66), 0.2) | |
1925 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(10),math.rad(0)), 0.2) | |
1926 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.2) | |
1927 | swait() | |
1928 | end | |
1929 | Normal_Face() | |
1930 | Point:Destroy() | |
1931 | Animations = false | |
1932 | attack2 = false | |
1933 | attack = false | |
1934 | end | |
1935 | ||
1936 | function Attacksix() | |
1937 | attack = true | |
1938 | Animations = true | |
1939 | Eyes.Texture = "rbxassetid://1572409968" | |
1940 | Mouth.Texture = "rbxassetid://1572411867" | |
1941 | sfx = Instance.new("Sound",Left_Arm) | |
1942 | sfx.Volume = 2 | |
1943 | sfx.SoundId = "rbxassetid://1180449290" | |
1944 | sfx:Play() | |
1945 | for i = 0,0.4,0.01 do | |
1946 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90),math.rad(0),math.rad(20)), 0.2) | |
1947 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(130 + math.random(-50,50)),math.rad(0),math.rad(-35) + math.random(-10,10)/10), 0.2) | |
1948 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(0)), 0.2) | |
1949 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(0)), 0.2) | |
1950 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(60),math.rad(0)), 0.2) | |
1951 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5, 0) * c_angles(math.rad(0),math.rad(-60), math.rad(0)), 0.2) | |
1952 | coroutine.wrap(function() | |
1953 | for i = 1,2 do | |
1954 | local fx = Instance.new("Part",Effects) | |
1955 | fx.Anchored = true | |
1956 | fx.Color = Color3.fromRGB(159, 243, 233) | |
1957 | fx.CanCollide = false | |
1958 | fx.FormFactor = 3 | |
1959 | fx.Name = "Shockwave" | |
1960 | fx.Material = "Neon" | |
1961 | fx.Size = Vector3.new(1, 1, 1) | |
1962 | fx.Transparency = 0.35 | |
1963 | fx.TopSurface = 0 | |
1964 | fx.BottomSurface = 0 | |
1965 | fx.CFrame = Left_Arm.CFrame | |
1966 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
1967 | local fxm = Instance.new("SpecialMesh", fx) | |
1968 | fxm.Scale = Vector3.new(0,0,0) | |
1969 | fxm.Offset = Vector3.new(0,0,0) | |
1970 | fxm.MeshType = "Sphere" | |
1971 | spawn(function() | |
1972 | for i = 1, 60, 2 do | |
1973 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
1974 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
1975 | fx.Transparency = i/15 | |
1976 | swait() | |
1977 | end | |
1978 | wait() | |
1979 | fx:Destroy() | |
1980 | end) | |
1981 | end | |
1982 | end)() | |
1983 | swait() | |
1984 | end | |
1985 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do | |
1986 | if v:FindFirstChild('HumanoidRootPart') and v:FindFirstChild('Humanoid') then | |
1987 | v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25,52) | |
1988 | v:FindFirstChild('Torso').Velocity=(v:FindFirstChild('Torso').CFrame.lookVector*150)+Vector3.new(0,1,0)*20 | |
1989 | coroutine.wrap(function() | |
1990 | for i = 1,25 do | |
1991 | local fx = Instance.new("Part",Effects) | |
1992 | fx.Anchored = true | |
1993 | fx.Color = Color3.new(1,0,0) | |
1994 | fx.CanCollide = false | |
1995 | fx.FormFactor = 3 | |
1996 | fx.Name = "Shockwave" | |
1997 | fx.Material = "Neon" | |
1998 | fx.Size = Vector3.new(1, 1, 1) | |
1999 | fx.Transparency = 0.35 | |
2000 | fx.TopSurface = 0 | |
2001 | fx.BottomSurface = 0 | |
2002 | fx.CFrame = v:FindFirstChild('HumanoidRootPart').CFrame | |
2003 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) | |
2004 | local fxm = Instance.new("SpecialMesh", fx) | |
2005 | fxm.Scale = Vector3.new(0,-1,0) | |
2006 | fxm.Offset = Vector3.new(0,0,0) | |
2007 | fxm.MeshType = "Sphere" | |
2008 | spawn(function() | |
2009 | for i = 1, 60, 2 do | |
2010 | fx.Color = Color3.new(i/15,0,0) | |
2011 | fxm.Scale = Vector3.new(.25 + i/10,.25 + i/10,.25 + i/10) | |
2012 | fx.CFrame = fx.CFrame * CFrame.new(0,math.random(-10,10)/10,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2013 | fx.Transparency = i/15 | |
2014 | swait() | |
2015 | end | |
2016 | wait() | |
2017 | fx:Destroy() | |
2018 | end) | |
2019 | end | |
2020 | end)() | |
2021 | else | |
2022 | ||
2023 | end | |
2024 | end | |
2025 | sfx:Destroy() | |
2026 | S = Instance.new("Sound") | |
2027 | S.Parent = Character.Torso | |
2028 | S.SoundId = "rbxassetid://1236459264" | |
2029 | S.Volume = 8 | |
2030 | S.TimePosition = 0.2 | |
2031 | S.Looped = false | |
2032 | S.Pitch = 1 | |
2033 | S:Play() | |
2034 | coroutine.wrap(function() | |
2035 | wait(0.1) | |
2036 | for i = 1,25 do | |
2037 | local fx = Instance.new("Part",Effects) | |
2038 | fx.Anchored = true | |
2039 | fx.Color = Color3.new(1,0,0) | |
2040 | fx.CanCollide = false | |
2041 | fx.FormFactor = 3 | |
2042 | fx.Name = "Shockwave" | |
2043 | fx.Material = "Neon" | |
2044 | fx.Size = Vector3.new(1, 1, 1) | |
2045 | fx.Transparency = 0.35 | |
2046 | fx.TopSurface = 0 | |
2047 | fx.BottomSurface = 0 | |
2048 | fx.CFrame = Left_Arm.CFrame | |
2049 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2050 | local fxm = Instance.new("SpecialMesh", fx) | |
2051 | fxm.Scale = Vector3.new(0,0,0) | |
2052 | fxm.Offset = Vector3.new(0,0,0) | |
2053 | fxm.MeshType = "Sphere" | |
2054 | spawn(function() | |
2055 | for i = 1, 60, 2 do | |
2056 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
2057 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
2058 | fx.Transparency = i/7.5 | |
2059 | swait() | |
2060 | end | |
2061 | wait() | |
2062 | fx:Destroy() | |
2063 | end) | |
2064 | end | |
2065 | end)() | |
2066 | for i = 0,0.15,0.01 do | |
2067 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20),math.rad(0),math.rad(15)), 0.15) | |
2068 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(75),math.rad(30),math.rad(-25)), 0.15) | |
2069 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5),math.rad(0),math.rad(0)), 0.15) | |
2070 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5),math.rad(0),math.rad(0)), 0.15) | |
2071 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(-90),math.rad(0)), 0.15) | |
2072 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5, 0) * c_angles(math.rad(-20),math.rad(90), math.rad(0)), 0.15) | |
2073 | coroutine.wrap(function() | |
2074 | for i = 1,2 do | |
2075 | local fx = Instance.new("Part",Effects) | |
2076 | fx.Anchored = true | |
2077 | fx.Color = Color3.new(0,0,0) | |
2078 | fx.CanCollide = false | |
2079 | fx.FormFactor = 3 | |
2080 | fx.Name = "Shockwave" | |
2081 | fx.Material = "Neon" | |
2082 | fx.Size = Vector3.new(1, 1, 1) | |
2083 | fx.Transparency = 0.35 | |
2084 | fx.TopSurface = 0 | |
2085 | fx.BottomSurface = 0 | |
2086 | fx.CFrame = Left_Arm.CFrame | |
2087 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) | |
2088 | local fxm = Instance.new("SpecialMesh", fx) | |
2089 | fxm.Scale = Vector3.new(0,-1,0) | |
2090 | fxm.Offset = Vector3.new(0,0,0) | |
2091 | fxm.MeshType = "Sphere" | |
2092 | spawn(function() | |
2093 | for i = 1, 60, 2 do | |
2094 | fx.Color = Color3.new(i/15,0,0) | |
2095 | fxm.Scale = Vector3.new(.25 + i/10,.25 + i/10,.25 + i/10) | |
2096 | fx.CFrame = fx.CFrame * CFrame.new(0,math.random(-10,10)/10,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2097 | fx.Transparency = i/15 | |
2098 | swait() | |
2099 | end | |
2100 | wait() | |
2101 | fx:Destroy() | |
2102 | end) | |
2103 | end | |
2104 | end)() | |
2105 | swait() | |
2106 | end | |
2107 | Normal_Face() | |
2108 | target = nil | |
2109 | Animations = false | |
2110 | attack = false | |
2111 | end | |
2112 | ||
2113 | function ShadowBallBarrage() | |
2114 | attack = true | |
2115 | Animations = true | |
2116 | local SB = Instance.new("Part",Effects) | |
2117 | SB.Name = "ShadowBallz" | |
2118 | SB.Shape = Enum.PartType.Block | |
2119 | SB.CanCollide = false | |
2120 | SB.BrickColor = BrickColor.new("Really red") | |
2121 | SB.Transparency = 0 | |
2122 | SB.Material = "Neon" | |
2123 | SB.Size = Vector3.new(0.25, 0.25, 0.25) | |
2124 | SB.TopSurface = Enum.SurfaceType.Smooth | |
2125 | SB.BottomSurface = Enum.SurfaceType.Smooth local SBWeld = Instance.new("Weld", SB) | |
2126 | SBWeld.Part0 = Right_Arm | |
2127 | SBWeld.Part1 = SB | |
2128 | SBWeld.C1 = CFrame.new(0,1,0) | |
2129 | boom = Instance.new("SpecialMesh",SB) | |
2130 | boom.MeshType = "Sphere" | |
2131 | boom.Scale = Vector3.new(3,3,3) | |
2132 | S = Instance.new("Sound") | |
2133 | S.Parent = SB | |
2134 | S.SoundId = "rbxassetid://315746833" | |
2135 | S.Volume = 5 | |
2136 | S.Looped = false | |
2137 | S.Pitch = 2 | |
2138 | S:Play() | |
2139 | ||
2140 | S = Instance.new("Sound") | |
2141 | S.Parent = SB | |
2142 | S.SoundId = "rbxassetid://203691653" | |
2143 | S.Volume = 8 | |
2144 | S.Looped = false | |
2145 | S.Pitch = 1 | |
2146 | S.PlayOnRemove = true | |
2147 | for i = 0,0.15,0.01 do | |
2148 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(120),math.rad(0),math.rad(0)), 0.2) | |
2149 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-25)), 0.2) | |
2150 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(10),math.rad(0),math.rad(0)), 0.2) | |
2151 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.2) | |
2152 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-50),math.rad(0)), 0.2) | |
2153 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-15),math.rad(50), math.rad(0)), 0.2) | |
2154 | coroutine.wrap(function() | |
2155 | for i = 1,2 do | |
2156 | local fx = Instance.new("Part",Effects) | |
2157 | fx.Anchored = true | |
2158 | fx.Color = Color3.new(1,0,0) | |
2159 | fx.CanCollide = false | |
2160 | fx.FormFactor = 3 | |
2161 | fx.Name = "Shockwave" | |
2162 | fx.Material = "Neon" | |
2163 | fx.Size = Vector3.new(1, 1, 1) | |
2164 | fx.Transparency = 0.35 | |
2165 | fx.TopSurface = 0 | |
2166 | fx.BottomSurface = 0 | |
2167 | fx.CFrame = Right_Arm.CFrame | |
2168 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2169 | local fxm = Instance.new("SpecialMesh", fx) | |
2170 | fxm.Scale = Vector3.new(0,0,0) | |
2171 | fxm.Offset = Vector3.new(0,0,0) | |
2172 | fxm.MeshType = "Sphere" | |
2173 | spawn(function() | |
2174 | for i = 1, 60, 2 do | |
2175 | fxm.Scale = Vector3.new(0.2 - i*0.0083,5 - i*0.083 ,0.2 - i*0.0083) | |
2176 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
2177 | fx.Transparency = i/15 | |
2178 | swait() | |
2179 | end | |
2180 | wait() | |
2181 | fx:Destroy() | |
2182 | end) | |
2183 | end | |
2184 | end)() | |
2185 | swait() | |
2186 | end | |
2187 | for i = 0,0.05,0.01 do | |
2188 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(75),math.rad(0),math.rad(20)), 0.6) | |
2189 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-25)), 0.6) | |
2190 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(10),math.rad(0),math.rad(0)), 0.6) | |
2191 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.6) | |
2192 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(55),math.rad(0)), 0.6) | |
2193 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20),math.rad(-55), math.rad(0)), 0.6) | |
2194 | swait() | |
2195 | end | |
2196 | ||
2197 | SBWeld:Destroy() | |
2198 | SB.CanCollide = true | |
2199 | local bodyVelocity2 = LoadLibrary("RbxUtility").Create("BodyVelocity")({ | |
2200 | velocity = (mouse.Hit.p - SB.CFrame.p).unit * 165, | |
2201 | P = 5000, | |
2202 | maxForce = Vector3.new(8000, 8000, 8000), | |
2203 | Parent = SB | |
2204 | }) | |
2205 | ||
2206 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05) | |
2207 | SB.Touched:connect(function(hit) | |
2208 | if(not Character:IsAncestorOf(hit) or hit.Name == "ShadowBallz") then | |
2209 | for i, v in pairs(FindNearestTorso(SB.CFrame.p, 7)) do | |
2210 | if v:FindFirstChild('Humanoid') then | |
2211 | v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(255,666)/10 | |
2212 | end | |
2213 | end | |
2214 | ||
2215 | coroutine.wrap(function() | |
2216 | for i = 1,180 do | |
2217 | local fx = Instance.new("Part",Effects) | |
2218 | fx.Anchored = true | |
2219 | fx.Color = Color3.new(1,0,0) | |
2220 | fx.CanCollide = false | |
2221 | fx.FormFactor = 3 | |
2222 | fx.Name = "Shockwave" | |
2223 | fx.Material = "Neon" | |
2224 | fx.Size = Vector3.new(1, 1, 1) | |
2225 | fx.Transparency = 0.35 | |
2226 | fx.TopSurface = 0 | |
2227 | fx.BottomSurface = 0 | |
2228 | fx.CFrame = SB.CFrame | |
2229 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2230 | local fxm = Instance.new("SpecialMesh", fx) | |
2231 | fxm.Scale = Vector3.new(0,0,0) | |
2232 | fxm.Offset = Vector3.new(0,0,0) | |
2233 | fxm.MeshType = "Sphere" | |
2234 | spawn(function() | |
2235 | for i = 1, 60, 2 do | |
2236 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
2237 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
2238 | fx.Transparency = i/60 | |
2239 | swait() | |
2240 | end | |
2241 | wait() | |
2242 | fx:Destroy() | |
2243 | end) | |
2244 | end | |
2245 | end)() | |
2246 | ||
2247 | local rng2 = Instance.new("Part",Effects) | |
2248 | rng2.Anchored = true | |
2249 | rng2.BrickColor = BrickColor.new("Really red") | |
2250 | rng2.CanCollide = false | |
2251 | rng2.FormFactor = 3 | |
2252 | rng2.Name = "Shockwave" | |
2253 | rng2.Material = "Neon" | |
2254 | rng2.Size = Vector3.new(1, 1, 1) | |
2255 | rng2.Transparency = 0.35 | |
2256 | rng2.TopSurface = 0 | |
2257 | rng2.BottomSurface = 0 | |
2258 | rng2.CFrame = SB.CFrame | |
2259 | SB:Destroy() | |
2260 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
2261 | rngm2.Scale = Vector3.new(1, 0, 1) | |
2262 | rngm2.Offset = Vector3.new(0,0,0) | |
2263 | rngm2.MeshType = "Sphere" | |
2264 | spawn(function() | |
2265 | for i = 1, 60, 2 do | |
2266 | rngm2.Scale = Vector3.new(13 + i*0.3, 13 + i*0.3 ,13 + i*0.3) | |
2267 | rng2.Transparency = i/60 | |
2268 | swait() | |
2269 | end | |
2270 | wait() | |
2271 | rng2:Destroy() | |
2272 | end) | |
2273 | for i = 1,6 do | |
2274 | local rng2 = Instance.new("Part",Character) | |
2275 | rng2.Anchored = true | |
2276 | rng2.BrickColor = BrickColor.new("Really red") | |
2277 | rng2.CanCollide = false | |
2278 | rng2.FormFactor = 3 | |
2279 | rng2.Name = "Shockwave" | |
2280 | rng2.Size = Vector3.new(1, 1, 1) | |
2281 | rng2.Transparency = 0.35 | |
2282 | rng2.TopSurface = 0 | |
2283 | rng2.BottomSurface = 0 | |
2284 | rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2285 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
2286 | rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2287 | rngm2.Scale = Vector3.new(0, 0, 0) | |
2288 | rngm2.Offset = Vector3.new(0,0,-0.5) | |
2289 | spawn(function() | |
2290 | for i = 1, 60, 2 do | |
2291 | rngm2.Scale = Vector3.new(13 + i*1, 13 + i*1 ,2 + i*0.3) | |
2292 | rng2.Transparency = i/30 | |
2293 | rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0) | |
2294 | swait() | |
2295 | end | |
2296 | wait() | |
2297 | rng2:Destroy() | |
2298 | end) | |
2299 | ||
2300 | local rng2 = Instance.new("Part",Character) | |
2301 | rng2.Anchored = true | |
2302 | rng2.BrickColor = BrickColor.new("Really red") | |
2303 | rng2.CanCollide = false | |
2304 | rng2.FormFactor = 3 | |
2305 | rng2.Name = "Shockwave" | |
2306 | rng2.Size = Vector3.new(1, 1, 1) | |
2307 | rng2.Transparency = 0.35 | |
2308 | rng2.TopSurface = 0 | |
2309 | rng2.BottomSurface = 0 | |
2310 | rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2311 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
2312 | rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2313 | rngm2.Scale = Vector3.new(0, 0, 0) | |
2314 | rngm2.Offset = Vector3.new(0,0,-0.5) | |
2315 | spawn(function() | |
2316 | for i = 1, 60, 2 do | |
2317 | rngm2.Scale = Vector3.new(13 + i*1, 13 + i*1 ,2 + i*0.3) | |
2318 | rng2.Transparency = i/30 | |
2319 | rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0) | |
2320 | swait() | |
2321 | end | |
2322 | wait() | |
2323 | rng2:Destroy() | |
2324 | end) | |
2325 | end | |
2326 | ||
2327 | local rng2 = Instance.new("Part",Effects) | |
2328 | rng2.Anchored = true | |
2329 | rng2.BrickColor = BrickColor.new("Really black") | |
2330 | rng2.CanCollide = false | |
2331 | rng2.FormFactor = 3 | |
2332 | rng2.Name = "Shockwave" | |
2333 | rng2.Material = "Neon" | |
2334 | rng2.Size = Vector3.new(1, 1, 1) | |
2335 | rng2.Transparency = 0.35 | |
2336 | rng2.TopSurface = 0 | |
2337 | rng2.BottomSurface = 0 | |
2338 | rng2.CFrame = SB.CFrame | |
2339 | SB:Destroy() | |
2340 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
2341 | rngm2.Scale = Vector3.new(1, 0, 1) | |
2342 | rngm2.Offset = Vector3.new(0,0,0) | |
2343 | rngm2.MeshType = "Sphere" | |
2344 | spawn(function() | |
2345 | for i = 1, 60, 2 do | |
2346 | rngm2.Scale = Vector3.new(5 + i*0.3, 5 + i*0.3 ,5 + i*0.3) | |
2347 | rng2.Transparency = i/60 | |
2348 | swait() | |
2349 | end | |
2350 | wait() | |
2351 | rng2:Destroy() | |
2352 | end) | |
2353 | end | |
2354 | end) | |
2355 | Animations = false | |
2356 | attack = false | |
2357 | end | |
2358 | ||
2359 | ||
2360 | -- Moves -- | |
2361 | ||
2362 | ||
2363 | mouse.KeyDown:connect(function(key) | |
2364 | if key == "y" and attack == false then | |
2365 | if Transformed == false then | |
2366 | Charm() | |
2367 | else | |
2368 | Laugh() | |
2369 | end | |
2370 | end | |
2371 | ||
2372 | sprint = false | |
2373 | ||
2374 | if key == "q" and sprint == false then | |
2375 | Humanoid.WalkSpeed = 8 | |
2376 | Humanoid.JumpPower = 50 | |
2377 | sprint = true | |
2378 | end | |
2379 | ||
2380 | if key == "q" and sprint == true then | |
2381 | Humanoid.WalkSpeed = 25 | |
2382 | Humanoid.JumpPower = 100 | |
2383 | end | |
2384 | ||
2385 | if key == "z" and attack == false then | |
2386 | idle = 2500 | |
2387 | end | |
2388 | ||
2389 | ||
2390 | if key == "u" and attack == false then | |
2391 | if Transformed == false then | |
2392 | Shrug() | |
2393 | end | |
2394 | end | |
2395 | ||
2396 | ||
2397 | if key == "g" and attack == false and Transformed == true then | |
2398 | ShadowBallBarrage() | |
2399 | end | |
2400 | ||
2401 | ||
2402 | ||
2403 | if key == "j" and attack == false then | |
2404 | if Transformed == false then | |
2405 | Surprised() | |
2406 | end | |
2407 | end | |
2408 | ||
2409 | ||
2410 | if key == "k" and attack == false then | |
2411 | if Transformed == false then | |
2412 | Wave() | |
2413 | end | |
2414 | end | |
2415 | ||
2416 | --[[mouse.KeyDown:connect(function(key) | |
2417 | if key == "k" and attack == false then | |
2418 | if Transformed == false then | |
2419 | Nod() | |
2420 | end | |
2421 | end end)]]-- | |
2422 | ||
2423 | ||
2424 | if key == "h" and attack == false then | |
2425 | if Transformed == false then | |
2426 | No() | |
2427 | else | |
2428 | Nuh_Uh() | |
2429 | end | |
2430 | end | |
2431 | ||
2432 | ||
2433 | ||
2434 | ||
2435 | if key == "f" and attack == false and Transformed == false then | |
2436 | LaserBlaster() | |
2437 | end | |
2438 | ||
2439 | ||
2440 | if key == "f" and attack == false and Transformed == true then | |
2441 | LaserBarrage() | |
2442 | end | |
2443 | ||
2444 | ||
2445 | if key == "r" and attack == false and Transformed == false then | |
2446 | Ink_Spikes() | |
2447 | end | |
2448 | ||
2449 | ||
2450 | if key == "r" and attack == false and Transformed == true then | |
2451 | Ink_Spikes2() | |
2452 | end | |
2453 | ||
2454 | ||
2455 | if key == "c" and attack == false and Transformed == true then | |
2456 | Rage() | |
2457 | end | |
2458 | Sanim = 0.15 | |
2459 | ||
2460 | if key == "nine" then | |
2461 | if SansAnim == false then | |
2462 | SansAnim = true | |
2463 | else | |
2464 | SansAnim = false | |
2465 | end | |
2466 | end | |
2467 | ||
2468 | ||
2469 | ||
2470 | ||
2471 | tp = true | |
2472 | ||
2473 | if key == "t" and attack == false and Transformed == false then | |
2474 | if tp == true then | |
2475 | tp = false | |
2476 | Trace() | |
2477 | coroutine.wrap(function() | |
2478 | for i = 1,50 do | |
2479 | local fx = Instance.new("Part",Effects) | |
2480 | fx.Anchored = true | |
2481 | fx.Color = Color3.new(0,0,0) | |
2482 | fx.CanCollide = false | |
2483 | fx.FormFactor = 3 | |
2484 | fx.Name = "Shockwave" | |
2485 | fx.Material = "Neon" | |
2486 | fx.Size = Vector3.new(1, 1, 1) | |
2487 | fx.Transparency = 0.35 | |
2488 | fx.TopSurface = 0 | |
2489 | fx.BottomSurface = 0 | |
2490 | fx.CFrame = rootPart.CFrame | |
2491 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2492 | local fxm = Instance.new("SpecialMesh", fx) | |
2493 | fxm.Scale = Vector3.new(0,0,0) | |
2494 | fxm.Offset = Vector3.new(0,0,0) | |
2495 | fxm.MeshType = "Sphere" | |
2496 | spawn(function() | |
2497 | for i = 1, 60, 2 do | |
2498 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
2499 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
2500 | fx.Transparency = i/15 | |
2501 | swait() | |
2502 | end | |
2503 | wait() | |
2504 | fx:Destroy() | |
2505 | end) | |
2506 | end | |
2507 | end)() | |
2508 | Character.Head.face.Parent = game.Lighting | |
2509 | Character.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3.5, 0) | |
2510 | game.Lighting.face.Parent = Character.Head | |
2511 | coroutine.wrap(function() | |
2512 | for i = 1,50 do | |
2513 | local fx = Instance.new("Part",Effects) | |
2514 | fx.Anchored = true | |
2515 | fx.Color = Color3.new(0,0,0) | |
2516 | fx.CanCollide = false | |
2517 | fx.FormFactor = 3 | |
2518 | fx.Name = "Shockwave" | |
2519 | fx.Material = "Neon" | |
2520 | fx.Size = Vector3.new(1, 1, 1) | |
2521 | fx.Transparency = 0.35 | |
2522 | fx.TopSurface = 0 | |
2523 | fx.BottomSurface = 0 | |
2524 | fx.CFrame = rootPart.CFrame | |
2525 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2526 | local fxm = Instance.new("SpecialMesh", fx) | |
2527 | fxm.Scale = Vector3.new(0,0,0) | |
2528 | fxm.Offset = Vector3.new(0,0,0) | |
2529 | fxm.MeshType = "Sphere" | |
2530 | spawn(function() | |
2531 | for i = 1, 60, 2 do | |
2532 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
2533 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
2534 | fx.Transparency = i/15 | |
2535 | swait() | |
2536 | end | |
2537 | wait() | |
2538 | fx:Destroy() | |
2539 | end) | |
2540 | end | |
2541 | end)() | |
2542 | tp = true | |
2543 | end | |
2544 | end | |
2545 | ||
2546 | if key == "one" and attack == false then | |
2547 | Transform() | |
2548 | end | |
2549 | if key == "two" and Transformed == true then | |
2550 | Revert() | |
2551 | end | |
2552 | ||
2553 | ||
2554 | ||
2555 | if key == "p" then | |
2556 | if Theme.MaxDistance == 0 then | |
2557 | Theme.MaxDistance=1000 | |
2558 | else | |
2559 | Theme.MaxDistance=0 | |
2560 | end | |
2561 | end | |
2562 | end) | |
2563 | ||
2564 | ||
2565 | -- End of Moves -- | |
2566 | ||
2567 | ||
2568 | -- Clothes -- | |
2569 | ||
2570 | Clothes = Instance.new("Model",Character) | |
2571 | Clothes.Name = "Clothing" | |
2572 | ||
2573 | local _Head = Instance.new("Part",Head) | |
2574 | _Head.Name = "_Head" | |
2575 | _Head.Shape = Enum.PartType.Block | |
2576 | _Head.CanCollide = false | |
2577 | _Head.Color = Color3.new(0,0,0) | |
2578 | _Head.Transparency = 0 | |
2579 | _Head.Material = "Metal" | |
2580 | _Head.Size = Vector3.new(1.6, 1.5, 1.4) | |
2581 | _Head.TopSurface = Enum.SurfaceType.Smooth | |
2582 | _Head.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", _Head) | |
2583 | Weld.Part0 = Head | |
2584 | Weld.Part1 = _Head | |
2585 | Weld.C1 = CFrame.new(0,-0.3,0) | |
2586 | _HeadMesh = Instance.new("SpecialMesh",_Head) | |
2587 | _HeadMesh.MeshType = "Sphere" | |
2588 | _HeadMesh.Scale = Vector3.new(1,1,1) | |
2589 | ||
2590 | local _Head2 = Instance.new("Part",Head) | |
2591 | _Head2.Name = "_Head2" | |
2592 | _Head2.Shape = Enum.PartType.Block | |
2593 | _Head2.CanCollide = false | |
2594 | _Head2.Color = Color3.new(0,0,0) | |
2595 | _Head2.Transparency = 0 | |
2596 | _Head2.Material = "Metal" | |
2597 | _Head2.Size = Vector3.new(1.4, 1.2, 1) | |
2598 | _Head2.TopSurface = Enum.SurfaceType.Smooth | |
2599 | _Head2.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", _Head2) | |
2600 | Weld.Part0 = Head | |
2601 | Weld.Part1 = _Head2 | |
2602 | Weld.C1 = CFrame.new(0,-0.2,0.2) | |
2603 | _HeadMesh = Instance.new("SpecialMesh",_Head2) | |
2604 | _HeadMesh.MeshType = "Sphere" | |
2605 | _HeadMesh.Scale = Vector3.new(1,1,1) | |
2606 | ||
2607 | local Horn = Instance.new("Part",Head) | |
2608 | Horn.Name = "Horn" | |
2609 | Horn.Shape = Enum.PartType.Ball | |
2610 | Horn.CanCollide = false | |
2611 | Horn.Color = Color3.new(0,0,0) | |
2612 | Horn.Transparency = 0 | |
2613 | Horn.Material = "SmoothPlastic" | |
2614 | Horn.Size = Vector3.new(0.1, 0.1, 0.1) | |
2615 | Horn.TopSurface = Enum.SurfaceType.Smooth | |
2616 | Horn.BottomSurface = Enum.SurfaceType.Smooth | |
2617 | local Weld = Instance.new("Weld", Horn) | |
2618 | Weld.Part0 = Head | |
2619 | Weld.Part1 = Horn | |
2620 | Weld.C1 = CFrame.new(-1.05,-0.6,0.1)*CFrame.fromEulerAnglesXYZ(math.rad(-5),math.rad(5),math.rad(-15)) | |
2621 | HornMesh = Instance.new("FileMesh",Horn) | |
2622 | HornMesh.MeshId = "http://www.roblox.com/asset/?id=1474286922" | |
2623 | HornMesh.Scale = Vector3.new(1,0.8,0.8) | |
2624 | ||
2625 | local Horn = Instance.new("Part",Head) | |
2626 | Horn.Name = "Horn" | |
2627 | Horn.Shape = Enum.PartType.Ball | |
2628 | Horn.CanCollide = false | |
2629 | Horn.Color = Color3.new(0,0,0) | |
2630 | Horn.Transparency = 0 | |
2631 | Horn.Material = "SmoothPlastic" | |
2632 | Horn.Size = Vector3.new(0.1, 0.1, 0.1) | |
2633 | Horn.TopSurface = Enum.SurfaceType.Smooth | |
2634 | Horn.BottomSurface = Enum.SurfaceType.Smooth | |
2635 | local Weld = Instance.new("Weld", Horn) | |
2636 | Weld.Part0 = Head | |
2637 | Weld.Part1 = Horn | |
2638 | Weld.C1 = CFrame.new(-1.05,-0.6,-0.1)*CFrame.fromEulerAnglesXYZ(math.rad(5),math.rad(175),math.rad(15)) | |
2639 | HornMesh = Instance.new("FileMesh",Horn) | |
2640 | HornMesh.MeshId = "http://www.roblox.com/asset/?id=1474286922" | |
2641 | HornMesh.Scale = Vector3.new(1,0.8,0.8) | |
2642 | ||
2643 | local Boob = Instance.new("Part",Torso) | |
2644 | Boob.Name = "Boob" | |
2645 | Boob.Shape = Enum.PartType.Block | |
2646 | Boob.CanCollide = false | |
2647 | Boob.Color = Color3.new(0,0,0) | |
2648 | Boob.Transparency = 0 | |
2649 | Boob.Material = "Metal" | |
2650 | Boob.Size = Vector3.new(1.34, 1.1, 1) | |
2651 | Boob.TopSurface = Enum.SurfaceType.Smooth | |
2652 | Boob.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boob) | |
2653 | Weld.Part0 = Torso | |
2654 | Weld.Part1 = Boob | |
2655 | Weld.C1 = CFrame.new(0.4,-0.5,0.5) | |
2656 | _HeadMesh = Instance.new("SpecialMesh",Boob) | |
2657 | _HeadMesh.MeshType = "Sphere" | |
2658 | _HeadMesh.Scale = Vector3.new(1,1,1) | |
2659 | ||
2660 | mec=Instance.new('CharacterMesh',Character) | |
2661 | mec.BodyPart='Torso' | |
2662 | mec.MeshId='48112070' | |
2663 | Torso.Material = "Metal" | |
2664 | ||
2665 | local Boob2 = Instance.new("Part",Torso) | |
2666 | Boob2.Name = "Boob2" | |
2667 | Boob2.Shape = Enum.PartType.Block | |
2668 | Boob2.CanCollide = false | |
2669 | Boob2.Color = Color3.new(0,0,0) | |
2670 | Boob2.Transparency = 0 | |
2671 | Boob2.Material = "Metal" | |
2672 | Boob2.Size = Vector3.new(1.34, 1.1, 1) | |
2673 | Boob2.TopSurface = Enum.SurfaceType.Smooth | |
2674 | Boob2.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boob2) | |
2675 | Weld.Part0 = Torso | |
2676 | Weld.Part1 = Boob2 | |
2677 | Weld.C1 = CFrame.new(-0.4,-0.5,0.5) | |
2678 | _HeadMesh = Instance.new("SpecialMesh",Boob2) | |
2679 | _HeadMesh.MeshType = "Sphere" | |
2680 | _HeadMesh.Scale = Vector3.new(1,1,1) | |
2681 | ||
2682 | local Jacket = Instance.new("WedgePart",Clothes) | |
2683 | Jacket.Name = "Jacket" | |
2684 | Jacket.CanCollide = false | |
2685 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2686 | Jacket.Transparency = 0 | |
2687 | Jacket.Material = "Sand" | |
2688 | Jacket.Size = Vector3.new(1.01/4, 0.87/4, 0.45/4) | |
2689 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2690 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2691 | Weld.Part0 = Torso | |
2692 | Weld.Part1 = Jacket | |
2693 | Weld.C1 = CFrame.new(0,0.6,0.92)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(0)) | |
2694 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2695 | _HeadMesh.MeshType = "Wedge" | |
2696 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2697 | local Jacket = Instance.new("WedgePart",Clothes) | |
2698 | Jacket.Name = "Jacket" | |
2699 | Jacket.CanCollide = false | |
2700 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2701 | Jacket.Transparency = 0 | |
2702 | Jacket.Material = "Sand" | |
2703 | Jacket.Size = Vector3.new(1.01/4, 0.87/4, 0.45/4) | |
2704 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2705 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2706 | Weld.Part0 = Torso | |
2707 | Weld.Part1 = Jacket | |
2708 | Weld.C1 = CFrame.new(0,0.2,0.92)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-90),math.rad(180)) | |
2709 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2710 | _HeadMesh.MeshType = "Wedge" | |
2711 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2712 | ||
2713 | local Jacket = Instance.new("WedgePart",Clothes) | |
2714 | Jacket.Name = "Jacket" | |
2715 | Jacket.CanCollide = false | |
2716 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2717 | Jacket.Transparency = 0 | |
2718 | Jacket.Material = "Sand" | |
2719 | Jacket.Size = Vector3.new(1.01/4, 0.87/4, 0.45/4) | |
2720 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2721 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2722 | Weld.Part0 = Torso | |
2723 | Weld.Part1 = Jacket | |
2724 | Weld.C1 = CFrame.new(0,0.6,0.92)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-90),math.rad(0)) | |
2725 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2726 | _HeadMesh.MeshType = "Wedge" | |
2727 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2728 | local Jacket = Instance.new("WedgePart",Clothes) | |
2729 | Jacket.Name = "Jacket" | |
2730 | Jacket.CanCollide = false | |
2731 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2732 | Jacket.Transparency = 0 | |
2733 | Jacket.Material = "Sand" | |
2734 | Jacket.Size = Vector3.new(1.01/4, 0.87/4, 0.45/4) | |
2735 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2736 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2737 | Weld.Part0 = Torso | |
2738 | Weld.Part1 = Jacket | |
2739 | Weld.C1 = CFrame.new(0,0.2,0.92)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(180)) | |
2740 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2741 | _HeadMesh.MeshType = "Wedge" | |
2742 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2743 | ||
2744 | local Jacket = Instance.new("Part",Clothes) | |
2745 | Jacket.Name = "Jacket" | |
2746 | Jacket.Shape = Enum.PartType.Block | |
2747 | Jacket.CanCollide = false | |
2748 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2749 | Jacket.Transparency = 0 | |
2750 | Jacket.Material = "Sand" | |
2751 | Jacket.Size = Vector3.new(2.3/4, 0.45/4, 1/4) | |
2752 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2753 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2754 | Weld.Part0 = Torso | |
2755 | Weld.Part1 = Jacket | |
2756 | Weld.C1 = CFrame.new(0,-0.8,0) | |
2757 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2758 | _HeadMesh.MeshType = "Brick" | |
2759 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2760 | ||
2761 | local Jacket = Instance.new("Part",Clothes) | |
2762 | Jacket.Name = "Jacket" | |
2763 | Jacket.Shape = Enum.PartType.Block | |
2764 | Jacket.CanCollide = false | |
2765 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2766 | Jacket.Transparency = 0 | |
2767 | Jacket.Material = "Sand" | |
2768 | Jacket.Size = Vector3.new(1.4/4, 1.7/4, 0.51/4) | |
2769 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2770 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2771 | Weld.Part0 = Torso | |
2772 | Weld.Part1 = Jacket | |
2773 | Weld.C1 = CFrame.new(0,0.21,-0.25) | |
2774 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2775 | _HeadMesh.MeshType = "Brick" | |
2776 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2777 | ||
2778 | local Jacket = Instance.new("Part",Clothes) | |
2779 | Jacket.Name = "Jacket" | |
2780 | Jacket.Shape = Enum.PartType.Block | |
2781 | Jacket.CanCollide = false | |
2782 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2783 | Jacket.Transparency = 0 | |
2784 | Jacket.Material = "Sand" | |
2785 | Jacket.Size = Vector3.new(0.6/4, 1.7/4, 0.51/4) | |
2786 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2787 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2788 | Weld.Part0 = Torso | |
2789 | Weld.Part1 = Jacket | |
2790 | Weld.C1 = CFrame.new(0.45,0.21,0.26) | |
2791 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2792 | _HeadMesh.MeshType = "Brick" | |
2793 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2794 | ||
2795 | local Jacket = Instance.new("Part",Clothes) | |
2796 | Jacket.Name = "Jacket" | |
2797 | Jacket.Shape = Enum.PartType.Block | |
2798 | Jacket.CanCollide = false | |
2799 | Jacket.BrickColor = BrickColor.new("Medium stone grey") | |
2800 | Jacket.Transparency = 0 | |
2801 | Jacket.Material = "DiamondPlate" | |
2802 | Jacket.Size = Vector3.new(0.6/4, 1.7/4, 0.49/4) | |
2803 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2804 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2805 | Weld.Part0 = Torso | |
2806 | Weld.Part1 = Jacket | |
2807 | Weld.C1 = CFrame.new(0.4,0.21,0.255) | |
2808 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2809 | _HeadMesh.MeshType = "Brick" | |
2810 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2811 | ||
2812 | local Jacket = Instance.new("Part",Clothes) | |
2813 | Jacket.Name = "Jacket" | |
2814 | Jacket.Shape = Enum.PartType.Block | |
2815 | Jacket.CanCollide = false | |
2816 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2817 | Jacket.Transparency = 0 | |
2818 | Jacket.Material = "Sand" | |
2819 | Jacket.Size = Vector3.new(0.6/4, 1.7/4, 0.51/4) | |
2820 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2821 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2822 | Weld.Part0 = Torso | |
2823 | Weld.Part1 = Jacket | |
2824 | Weld.C1 = CFrame.new(-0.45,0.21,0.26) | |
2825 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2826 | _HeadMesh.MeshType = "Brick" | |
2827 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2828 | ||
2829 | local Jacket = Instance.new("Part",Clothes) | |
2830 | Jacket.Name = "Jacket" | |
2831 | Jacket.Shape = Enum.PartType.Block | |
2832 | Jacket.CanCollide = false | |
2833 | Jacket.BrickColor = BrickColor.new("Medium stone grey") | |
2834 | Jacket.Transparency = 0 | |
2835 | Jacket.Material = "DiamondPlate" | |
2836 | Jacket.Size = Vector3.new(0.6/4, 1.7/4, 0.49/4) | |
2837 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2838 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2839 | Weld.Part0 = Torso | |
2840 | Weld.Part1 = Jacket | |
2841 | Weld.C1 = CFrame.new(-0.4,0.21,0.255) | |
2842 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2843 | _HeadMesh.MeshType = "Brick" | |
2844 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2845 | ||
2846 | local Jacket = Instance.new("Part",Clothes) | |
2847 | Jacket.Name = "Jacket" | |
2848 | Jacket.Shape = Enum.PartType.Block | |
2849 | Jacket.CanCollide = false | |
2850 | Jacket.BrickColor = BrickColor.new("Cocoa") | |
2851 | Jacket.Transparency = 0 | |
2852 | Jacket.Material = "Sand" | |
2853 | Jacket.Size = Vector3.new(1/4, 0.15/4, 1.08/4) | |
2854 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2855 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2856 | Weld.Part0 = Torso | |
2857 | Weld.Part1 = Jacket | |
2858 | Weld.C1 = CFrame.new(0.65,1,0) | |
2859 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2860 | _HeadMesh.MeshType = "Brick" | |
2861 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2862 | ||
2863 | local Jacket = Instance.new("Part",Clothes) | |
2864 | Jacket.Name = "Jacket" | |
2865 | Jacket.Shape = Enum.PartType.Block | |
2866 | Jacket.CanCollide = false | |
2867 | Jacket.BrickColor = BrickColor.new("Cocoa") | |
2868 | Jacket.Transparency = 0 | |
2869 | Jacket.Material = "Sand" | |
2870 | Jacket.Size = Vector3.new(2.3/4, 0.15/4, 0.5/4) | |
2871 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2872 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2873 | Weld.Part0 = Torso | |
2874 | Weld.Part1 = Jacket | |
2875 | Weld.C1 = CFrame.new(0,1,-0.3) | |
2876 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2877 | _HeadMesh.MeshType = "Brick" | |
2878 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2879 | ||
2880 | local Jacket = Instance.new("Part",Clothes) | |
2881 | Jacket.Name = "Jacket" | |
2882 | Jacket.Shape = Enum.PartType.Block | |
2883 | Jacket.CanCollide = false | |
2884 | Jacket.BrickColor = BrickColor.new("Cocoa") | |
2885 | Jacket.Transparency = 0 | |
2886 | Jacket.Material = "Sand" | |
2887 | Jacket.Size = Vector3.new(1/4, 0.15/4, 1.08/4) | |
2888 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2889 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2890 | Weld.Part0 = Torso | |
2891 | Weld.Part1 = Jacket | |
2892 | Weld.C1 = CFrame.new(-0.65,1,0) | |
2893 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2894 | _HeadMesh.MeshType = "Brick" | |
2895 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2896 | ||
2897 | local Jacket = Instance.new("Part",Clothes) | |
2898 | Jacket.Name = "Jacket" | |
2899 | Jacket.Shape = Enum.PartType.Block | |
2900 | Jacket.CanCollide = false | |
2901 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2902 | Jacket.Transparency = 0 | |
2903 | Jacket.Material = "Sand" | |
2904 | Jacket.Size = Vector3.new(1.1/4, 1.1/4, 1.1/4) | |
2905 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2906 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2907 | Weld.Part0 = Torso | |
2908 | Weld.Part1 = Jacket | |
2909 | Weld.C1 = CFrame.new(-0.6,-0.5,0.5) | |
2910 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2911 | _HeadMesh.MeshType = "Sphere" | |
2912 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2913 | ||
2914 | local Jacket = Instance.new("Part",Clothes) | |
2915 | Jacket.Name = "Jacket" | |
2916 | Jacket.Shape = Enum.PartType.Block | |
2917 | Jacket.CanCollide = false | |
2918 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2919 | Jacket.Transparency = 0 | |
2920 | Jacket.Material = "Sand" | |
2921 | Jacket.Size = Vector3.new(0.05/4, 1.1/4, 1.1/4) | |
2922 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2923 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2924 | Weld.Part0 = Torso | |
2925 | Weld.Part1 = Jacket | |
2926 | Weld.C1 = CFrame.new(-0.5,-0.5,0.5) | |
2927 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2928 | _HeadMesh.MeshType = "Cylinder" | |
2929 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2930 | ||
2931 | local Jacket = Instance.new("Part",Clothes) | |
2932 | Jacket.Name = "Jacket" | |
2933 | Jacket.Shape = Enum.PartType.Block | |
2934 | Jacket.CanCollide = false | |
2935 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2936 | Jacket.Transparency = 0 | |
2937 | Jacket.Material = "Sand" | |
2938 | Jacket.Size = Vector3.new(0.05/4, 1.1/4, 1.1/4) | |
2939 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2940 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2941 | Weld.Part0 = Torso | |
2942 | Weld.Part1 = Jacket | |
2943 | Weld.C1 = CFrame.new(-0.3,-0.53,0.5) *CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(5)) | |
2944 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2945 | _HeadMesh.MeshType = "Cylinder" | |
2946 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2947 | ||
2948 | local Jacket = Instance.new("Part",Clothes) | |
2949 | Jacket.Name = "Jacket" | |
2950 | Jacket.Shape = Enum.PartType.Block | |
2951 | Jacket.CanCollide = false | |
2952 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2953 | Jacket.Transparency = 0 | |
2954 | Jacket.Material = "Sand" | |
2955 | Jacket.Size = Vector3.new(0.01/4, 1.1/4, 1.1/4) | |
2956 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2957 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2958 | Weld.Part0 = Torso | |
2959 | Weld.Part1 = Jacket | |
2960 | Weld.C1 = CFrame.new(-0.23,-0.54,0.5) *CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(10)) | |
2961 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2962 | _HeadMesh.MeshType = "Cylinder" | |
2963 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2964 | ||
2965 | local Jacket = Instance.new("Part",Clothes) | |
2966 | Jacket.Name = "Jacket" | |
2967 | Jacket.Shape = Enum.PartType.Block | |
2968 | Jacket.CanCollide = false | |
2969 | Jacket.BrickColor = BrickColor.new("Medium stone grey") | |
2970 | Jacket.Transparency = 0 | |
2971 | Jacket.Material = "DiamondPlate" | |
2972 | Jacket.Size = Vector3.new(0.01, 1.08/4, 1.05/4) | |
2973 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2974 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2975 | Weld.Part0 = Torso | |
2976 | Weld.Part1 = Jacket | |
2977 | Weld.C1 = CFrame.new(-0.12,-0.54,0.5) *CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(10)) | |
2978 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2979 | _HeadMesh.MeshType = "Cylinder" | |
2980 | _HeadMesh.Scale = Vector3.new(1,4,4) | |
2981 | ||
2982 | -- | |
2983 | ||
2984 | local Jacket = Instance.new("Part",Clothes) | |
2985 | Jacket.Name = "Jacket" | |
2986 | Jacket.Shape = Enum.PartType.Block | |
2987 | Jacket.CanCollide = false | |
2988 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2989 | Jacket.Transparency = 0 | |
2990 | Jacket.Material = "Sand" | |
2991 | Jacket.Size = Vector3.new(1.1/4, 1.1/4, 1.1/4) | |
2992 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2993 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2994 | Weld.Part0 = Torso | |
2995 | Weld.Part1 = Jacket | |
2996 | Weld.C1 = CFrame.new(0.6,-0.5,0.5) | |
2997 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2998 | _HeadMesh.MeshType = "Sphere" | |
2999 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3000 | ||
3001 | local Jacket = Instance.new("Part",Clothes) | |
3002 | Jacket.Name = "Jacket" | |
3003 | Jacket.Shape = Enum.PartType.Block | |
3004 | Jacket.CanCollide = false | |
3005 | Jacket.BrickColor = BrickColor.new("Crimson") | |
3006 | Jacket.Transparency = 0 | |
3007 | Jacket.Material = "Sand" | |
3008 | Jacket.Size = Vector3.new(0.05/4, 1.1/4, 1.1/4) | |
3009 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3010 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3011 | Weld.Part0 = Torso | |
3012 | Weld.Part1 = Jacket | |
3013 | Weld.C1 = CFrame.new(0.5,-0.5,0.5) | |
3014 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3015 | _HeadMesh.MeshType = "Cylinder" | |
3016 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3017 | ||
3018 | local Jacket = Instance.new("Part",Clothes) | |
3019 | Jacket.Name = "Jacket" | |
3020 | Jacket.Shape = Enum.PartType.Block | |
3021 | Jacket.CanCollide = false | |
3022 | Jacket.BrickColor = BrickColor.new("Crimson") | |
3023 | Jacket.Transparency = 0 | |
3024 | Jacket.Material = "Sand" | |
3025 | Jacket.Size = Vector3.new(0.05/4, 1.1/4, 1.1/4) | |
3026 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3027 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3028 | Weld.Part0 = Torso | |
3029 | Weld.Part1 = Jacket | |
3030 | Weld.C1 = CFrame.new(0.3,-0.53,0.5) *CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-5)) | |
3031 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3032 | _HeadMesh.MeshType = "Cylinder" | |
3033 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3034 | ||
3035 | local Jacket = Instance.new("Part",Clothes) | |
3036 | Jacket.Name = "Jacket" | |
3037 | Jacket.Shape = Enum.PartType.Block | |
3038 | Jacket.CanCollide = false | |
3039 | Jacket.BrickColor = BrickColor.new("Crimson") | |
3040 | Jacket.Transparency = 0 | |
3041 | Jacket.Material = "Sand" | |
3042 | Jacket.Size = Vector3.new(0.01/4, 1.1/4, 1.1/4) | |
3043 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3044 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3045 | Weld.Part0 = Torso | |
3046 | Weld.Part1 = Jacket | |
3047 | Weld.C1 = CFrame.new(0.22,-0.54,0.5) *CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-10)) | |
3048 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3049 | _HeadMesh.MeshType = "Cylinder" | |
3050 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3051 | ||
3052 | local Jacket = Instance.new("Part",Clothes) | |
3053 | Jacket.Name = "Jacket" | |
3054 | Jacket.Shape = Enum.PartType.Block | |
3055 | Jacket.CanCollide = false | |
3056 | Jacket.BrickColor = BrickColor.new("Medium stone grey") | |
3057 | Jacket.Transparency = 0 | |
3058 | Jacket.Material = "DiamondPlate" | |
3059 | Jacket.Size = Vector3.new(0.01, 1.08/4, 1.05/4) | |
3060 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3061 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3062 | Weld.Part0 = Torso | |
3063 | Weld.Part1 = Jacket | |
3064 | Weld.C1 = CFrame.new(0.12,-0.54,0.5) *CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-10)) | |
3065 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3066 | _HeadMesh.MeshType = "Cylinder" | |
3067 | _HeadMesh.Scale = Vector3.new(1,4,4) | |
3068 | ||
3069 | --Torso finished | |
3070 | ||
3071 | Right_Arm.Transparency = 1 | |
3072 | Left_Arm.Transparency = 1 | |
3073 | ||
3074 | local Jacket = Instance.new("Part",Clothes) | |
3075 | Jacket.Name = "Jacket" | |
3076 | Jacket.Shape = Enum.PartType.Block | |
3077 | Jacket.CanCollide = false | |
3078 | Jacket.BrickColor = BrickColor.new("Crimson") | |
3079 | Jacket.Transparency = 0 | |
3080 | Jacket.Material = "Sand" | |
3081 | Jacket.Size = Vector3.new(1.054/4, 1.514/4, 0.94/4) | |
3082 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3083 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3084 | Weld.Part0 = Left_Arm | |
3085 | Weld.Part1 = Jacket | |
3086 | Weld.C1 = CFrame.new(0,-0.266,0) | |
3087 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3088 | _HeadMesh.MeshType = "Brick" | |
3089 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3090 | ||
3091 | local Jacket = Instance.new("Part",Clothes) | |
3092 | Jacket.Name = "Jacket" | |
3093 | Jacket.Shape = Enum.PartType.Block | |
3094 | Jacket.CanCollide = false | |
3095 | Jacket.BrickColor = BrickColor.new("Maroon") | |
3096 | Jacket.Transparency = 0 | |
3097 | Jacket.Material = "Sand" | |
3098 | Jacket.Size = Vector3.new(1.1/4, 0.244/4, 1/4) | |
3099 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3100 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3101 | Weld.Part0 = Left_Arm | |
3102 | Weld.Part1 = Jacket | |
3103 | Weld.C1 = CFrame.new(0,0.4,0) | |
3104 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3105 | _HeadMesh.MeshType = "Brick" | |
3106 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3107 | ||
3108 | local Jacket = Instance.new("Part",Clothes) | |
3109 | Jacket.Name = "Jacket" | |
3110 | Jacket.Shape = Enum.PartType.Block | |
3111 | Jacket.CanCollide = false | |
3112 | Jacket.Color = Color3.new(0,0,0) | |
3113 | Jacket.Transparency = 0 | |
3114 | Jacket.Material = "Metal" | |
3115 | Jacket.Size = Vector3.new(1.054/4, 0.1/4, 0.94/4) | |
3116 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3117 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3118 | Weld.Part0 = Left_Arm | |
3119 | Weld.Part1 = Jacket | |
3120 | Weld.C1 = CFrame.new(0,0.45,0) | |
3121 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3122 | _HeadMesh.MeshType = "Brick" | |
3123 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3124 | ||
3125 | local Jacket = Instance.new("Part",Clothes) | |
3126 | Jacket.Name = "Jacket" | |
3127 | Jacket.Shape = Enum.PartType.Block | |
3128 | Jacket.CanCollide = false | |
3129 | Jacket.Color = Color3.new(0,0,0) | |
3130 | Jacket.Transparency = 0 | |
3131 | Jacket.Material = "Metal" | |
3132 | Jacket.Size = Vector3.new(1.054/4, 0.414/4, 0.94/4) | |
3133 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3134 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3135 | Weld.Part0 = Left_Arm | |
3136 | Weld.Part1 = Jacket | |
3137 | Weld.C1 = CFrame.new(0,1,0) | |
3138 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3139 | _HeadMesh.MeshType = "Brick" | |
3140 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3141 | ||
3142 | local Jacket = Instance.new("Part",Clothes) | |
3143 | Jacket.Name = "Jacket" | |
3144 | Jacket.Shape = Enum.PartType.Block | |
3145 | Jacket.CanCollide = false | |
3146 | Jacket.BrickColor = BrickColor.new("Crimson") | |
3147 | Jacket.Transparency = 0 | |
3148 | Jacket.Material = "Sand" | |
3149 | Jacket.Size = Vector3.new(1.054/4, 1.514/4, 0.94/4) | |
3150 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3151 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3152 | Weld.Part0 = Right_Arm | |
3153 | Weld.Part1 = Jacket | |
3154 | Weld.C1 = CFrame.new(0,-0.266,0) | |
3155 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3156 | _HeadMesh.MeshType = "Brick" | |
3157 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3158 | ||
3159 | local Jacket = Instance.new("Part",Clothes) | |
3160 | Jacket.Name = "Jacket" | |
3161 | Jacket.Shape = Enum.PartType.Block | |
3162 | Jacket.CanCollide = false | |
3163 | Jacket.BrickColor = BrickColor.new("Maroon") | |
3164 | Jacket.Transparency = 0 | |
3165 | Jacket.Material = "Sand" | |
3166 | Jacket.Size = Vector3.new(1.1/4, 0.244/4, 1/4) | |
3167 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3168 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3169 | Weld.Part0 = Right_Arm | |
3170 | Weld.Part1 = Jacket | |
3171 | Weld.C1 = CFrame.new(0,0.4,0) | |
3172 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3173 | _HeadMesh.MeshType = "Brick" | |
3174 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3175 | ||
3176 | local Jacket = Instance.new("Part",Clothes) | |
3177 | Jacket.Name = "Jacket" | |
3178 | Jacket.Shape = Enum.PartType.Block | |
3179 | Jacket.CanCollide = false | |
3180 | Jacket.Color = Color3.new(0,0,0) | |
3181 | Jacket.Transparency = 0 | |
3182 | Jacket.Material = "Metal" | |
3183 | Jacket.Size = Vector3.new(1.054/4, 0.1/4, 0.94/4) | |
3184 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3185 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3186 | Weld.Part0 = Right_Arm | |
3187 | Weld.Part1 = Jacket | |
3188 | Weld.C1 = CFrame.new(0,0.45,0) | |
3189 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3190 | _HeadMesh.MeshType = "Brick" | |
3191 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3192 | ||
3193 | local Jacket = Instance.new("Part",Clothes) | |
3194 | Jacket.Name = "Jacket" | |
3195 | Jacket.Shape = Enum.PartType.Block | |
3196 | Jacket.CanCollide = false | |
3197 | Jacket.Color = Color3.new(0,0,0) | |
3198 | Jacket.Transparency = 0 | |
3199 | Jacket.Material = "Metal" | |
3200 | Jacket.Size = Vector3.new(1.054/4, 0.414/4, 0.94/4) | |
3201 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3202 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3203 | Weld.Part0 = Right_Arm | |
3204 | Weld.Part1 = Jacket | |
3205 | Weld.C1 = CFrame.new(0,1,0) | |
3206 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3207 | _HeadMesh.MeshType = "Brick" | |
3208 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3209 | ||
3210 | local Hoodie = Instance.new("Part",Clothes) | |
3211 | Hoodie.Name = "Hoodie" | |
3212 | Hoodie.Shape = Enum.PartType.Block | |
3213 | Hoodie.CanCollide = false | |
3214 | Hoodie.BrickColor = BrickColor.new("Maroon") | |
3215 | Hoodie.Transparency = 0 | |
3216 | Hoodie.Material = "Slate" | |
3217 | Hoodie.Size = Vector3.new(1.6, 0.05, 1.4) | |
3218 | Hoodie.TopSurface = Enum.SurfaceType.Smooth | |
3219 | Hoodie.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Hoodie) | |
3220 | Weld.Part0 = Torso | |
3221 | Weld.Part1 = Hoodie | |
3222 | Weld.C1 = CFrame.new(0,-0.6,-0.4) | |
3223 | HoodieMesh = Instance.new("SpecialMesh",Hoodie) | |
3224 | HoodieMesh.MeshType = "Sphere" | |
3225 | HoodieMesh.Scale = Vector3.new(1,1,1) | |
3226 | ||
3227 | local Hoodie = Instance.new("Part",Clothes) | |
3228 | Hoodie.Name = "Hoodie" | |
3229 | Hoodie.Shape = Enum.PartType.Block | |
3230 | Hoodie.CanCollide = false | |
3231 | Hoodie.Color = Color3.new(0,0,0) | |
3232 | Hoodie.Transparency = 0 | |
3233 | Hoodie.Material = "Metal" | |
3234 | Hoodie.Size = Vector3.new(1.5, 0.5, 1) | |
3235 | Hoodie.TopSurface = Enum.SurfaceType.Smooth | |
3236 | Hoodie.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Hoodie) | |
3237 | Weld.Part0 = Torso | |
3238 | Weld.Part1 = Hoodie | |
3239 | Weld.C1 = CFrame.new(0,-0.9,0.2) | |
3240 | HoodieMesh = Instance.new("SpecialMesh",Hoodie) | |
3241 | HoodieMesh.MeshType = "Sphere" | |
3242 | HoodieMesh.Scale = Vector3.new(1,1,1) | |
3243 | ||
3244 | handle=part(Enum.FormFactor.Brick,Clothes,Enum.Material.Slate,0,0,"Maroon","Handle",Vector3.new(0.900000036, 1, 2)) | |
3245 | handleweld=weld(Clothes,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.94452858, -1, -0.135944366, 0.866025388, 6.9388815e-018, 0.5, -1.36697535e-017, 0.999998212, 0, -0.5, 1.3877763e-017, 0.866025388)) | |
3246 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
3247 | handle=part(Enum.FormFactor.Brick,Clothes,Enum.Material.Slate,0,0,"Maroon","Handle",Vector3.new(0.900000036, 1, 2)) | |
3248 | handleweld=weld(Clothes,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.09449005, -1, -0.229496002, 0.939692557, -6.9388815e-018, -0.342020363, -1.36697535e-017, 0.999998212, 0, 0.342020363, -1.3877763e-017, 0.939692557)) | |
3249 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
3250 | handle=part(Enum.FormFactor.Brick,Clothes,Enum.Material.Slate,0,0,"Maroon","Handle",Vector3.new(0.900000036, 1, 2)) | |
3251 | handleweld=weld(Clothes,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.2899704, -1, 0.0504355431, -0.000345305598, -3.01991037e-007, -0.99999994, -5.21397127e-011, 0.999998212, -3.01991577e-007, 0.99999994, -5.21396225e-011, -0.000345305598)) | |
3252 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
3253 | handle=part(Enum.FormFactor.Brick,Clothes,Enum.Material.Slate,0,0,"Maroon","Handle",Vector3.new(0.900000036, 1, 2)) | |
3254 | handleweld=weld(Clothes,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.950009823, -1, -0.0899963379, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
3255 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
3256 | handle=part(Enum.FormFactor.Brick,Clothes,Enum.Material.Slate,0,0,"Maroon","Handle",Vector3.new(0.900000036, 1, 2)) | |
3257 | handleweld=weld(Clothes,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04999018, -1, -0.0899963379, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
3258 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
3259 | handle=part(Enum.FormFactor.Brick,Clothes,Enum.Material.Slate,0,0,"Maroon","Handle",Vector3.new(0.900000036, 1, 2)) | |
3260 | handleweld=weld(Clothes,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02066422, -1, -0.317581177, 0.98480773, -6.9388815e-018, 0.173648179, -1.36697535e-017, 0.999998212, 0, -0.173648179, 1.3877763e-017, 0.98480773)) | |
3261 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
3262 | ||
3263 | -- Pants | |
3264 | ||
3265 | Right_Leg.Transparency = 1 | |
3266 | Left_Leg.Transparency = 1 | |
3267 | ||
3268 | local Jeans = Instance.new("Part",Clothes) | |
3269 | Jeans.Name = "Jeans" | |
3270 | Jeans.Shape = Enum.PartType.Block | |
3271 | Jeans.CanCollide = false | |
3272 | Jeans.BrickColor = BrickColor.new("Smoky grey") | |
3273 | Jeans.Transparency = 0 | |
3274 | Jeans.Material = "Sand" | |
3275 | Jeans.Size = Vector3.new(2.1/4, 0.1/4, 0.995/4) | |
3276 | Jeans.TopSurface = Enum.SurfaceType.Smooth | |
3277 | Jeans.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jeans) | |
3278 | Weld.Part0 = Torso | |
3279 | Weld.Part1 = Jeans | |
3280 | Weld.C1 = CFrame.new(0,1.05,0) | |
3281 | _HeadMesh = Instance.new("SpecialMesh",Jeans) | |
3282 | _HeadMesh.MeshType = "Brick" | |
3283 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3284 | ||
3285 | ||
3286 | local Jeans = Instance.new("Part",Clothes) | |
3287 | Jeans.Name = "Jeans" | |
3288 | Jeans.Shape = Enum.PartType.Block | |
3289 | Jeans.CanCollide = false | |
3290 | Jeans.BrickColor = BrickColor.new("Smoky grey") | |
3291 | Jeans.Transparency = 0 | |
3292 | Jeans.Material = "Sand" | |
3293 | Jeans.Size = Vector3.new(1.094/4, 1.114/4, 0.934/4) | |
3294 | Jeans.TopSurface = Enum.SurfaceType.Smooth | |
3295 | Jeans.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jeans) | |
3296 | Weld.Part0 = Left_Leg | |
3297 | Weld.Part1 = Jeans | |
3298 | Weld.C1 = CFrame.new(0,-0.5,0) | |
3299 | _HeadMesh = Instance.new("SpecialMesh",Jeans) | |
3300 | _HeadMesh.MeshType = "Brick" | |
3301 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3302 | ||
3303 | local Jeans = Instance.new("Part",Clothes) | |
3304 | Jeans.Name = "Jeans" | |
3305 | Jeans.Shape = Enum.PartType.Block | |
3306 | Jeans.CanCollide = false | |
3307 | Jeans.Color = Color3.fromRGB(113, 116, 131) | |
3308 | Jeans.Transparency = 0 | |
3309 | Jeans.Material = "Sand" | |
3310 | Jeans.Size = Vector3.new(1.1/4, 0.24/4, 0.95/4) | |
3311 | Jeans.TopSurface = Enum.SurfaceType.Smooth | |
3312 | Jeans.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jeans) | |
3313 | Weld.Part0 = Left_Leg | |
3314 | Weld.Part1 = Jeans | |
3315 | Weld.C1 = CFrame.new(0,0,0) | |
3316 | _HeadMesh = Instance.new("SpecialMesh",Jeans) | |
3317 | _HeadMesh.MeshType = "Brick" | |
3318 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3319 | ||
3320 | local Boot = Instance.new("Part",Clothes) | |
3321 | Boot.Name = "Boot" | |
3322 | Boot.Shape = Enum.PartType.Block | |
3323 | Boot.CanCollide = false | |
3324 | Boot.BrickColor = BrickColor.new("Burnt Sienna") | |
3325 | Boot.Transparency = 0 | |
3326 | Boot.Material = "Slate" | |
3327 | Boot.Size = Vector3.new(1.1/4, 0.15/4, 0.95/4) | |
3328 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3329 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3330 | Weld.Part0 = Left_Leg | |
3331 | Weld.Part1 = Boot | |
3332 | Weld.C1 = CFrame.new(0,0.22,0) | |
3333 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3334 | _HeadMesh.MeshType = "Brick" | |
3335 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3336 | ||
3337 | local Boot = Instance.new("Part",Clothes) | |
3338 | Boot.Name = "Boot" | |
3339 | Boot.Shape = Enum.PartType.Block | |
3340 | Boot.CanCollide = false | |
3341 | Boot.BrickColor = BrickColor.new("Rust") | |
3342 | Boot.Transparency = 0 | |
3343 | Boot.Material = "Slate" | |
3344 | Boot.Size = Vector3.new(1.064/4, 0.463/4, 0.94/4) | |
3345 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3346 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3347 | Weld.Part0 = Left_Leg | |
3348 | Weld.Part1 = Boot | |
3349 | Weld.C1 = CFrame.new(0,0.35,0) | |
3350 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3351 | _HeadMesh.MeshType = "Brick" | |
3352 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3353 | ||
3354 | local Boot = Instance.new("Part",Clothes) | |
3355 | Boot.Name = "Boot" | |
3356 | Boot.Shape = Enum.PartType.Block | |
3357 | Boot.CanCollide = false | |
3358 | Boot.BrickColor = BrickColor.new("Rust") | |
3359 | Boot.Transparency = 0 | |
3360 | Boot.Material = "Slate" | |
3361 | Boot.Size = Vector3.new(1.064/4, 0.2/4, 0.98/4) | |
3362 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3363 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3364 | Weld.Part0 = Left_Leg | |
3365 | Weld.Part1 = Boot | |
3366 | Weld.C1 = CFrame.new(0,0.66,0.02) | |
3367 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3368 | _HeadMesh.MeshType = "Brick" | |
3369 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3370 | ||
3371 | local Boot = Instance.new("Part",Clothes) | |
3372 | Boot.Name = "Boot" | |
3373 | Boot.Shape = Enum.PartType.Block | |
3374 | Boot.CanCollide = false | |
3375 | Boot.BrickColor = BrickColor.new("Burnt Sienna") | |
3376 | Boot.Transparency = 0 | |
3377 | Boot.Material = "Slate" | |
3378 | Boot.Size = Vector3.new(1.1/4, 0.25/4, 0.98/4) | |
3379 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3380 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3381 | Weld.Part0 = Left_Leg | |
3382 | Weld.Part1 = Boot | |
3383 | Weld.C1 = CFrame.new(0,0.86,0.02) | |
3384 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3385 | _HeadMesh.MeshType = "Brick" | |
3386 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3387 | ||
3388 | local Jeans = Instance.new("Part",Clothes) | |
3389 | Jeans.Name = "Jeans" | |
3390 | Jeans.Shape = Enum.PartType.Block | |
3391 | Jeans.CanCollide = false | |
3392 | Jeans.BrickColor = BrickColor.new("Smoky grey") | |
3393 | Jeans.Transparency = 0 | |
3394 | Jeans.Material = "Sand" | |
3395 | Jeans.Size = Vector3.new(1.094/4, 1.114/4, 0.934/4) | |
3396 | Jeans.TopSurface = Enum.SurfaceType.Smooth | |
3397 | Jeans.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jeans) | |
3398 | Weld.Part0 = Right_Leg | |
3399 | Weld.Part1 = Jeans | |
3400 | Weld.C1 = CFrame.new(0,-0.5,0) | |
3401 | _HeadMesh = Instance.new("SpecialMesh",Jeans) | |
3402 | _HeadMesh.MeshType = "Brick" | |
3403 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3404 | ||
3405 | local Jeans = Instance.new("Part",Clothes) | |
3406 | Jeans.Name = "Jeans" | |
3407 | Jeans.Shape = Enum.PartType.Block | |
3408 | Jeans.CanCollide = false | |
3409 | Jeans.Color = Color3.fromRGB(113, 116, 131) | |
3410 | Jeans.Transparency = 0 | |
3411 | Jeans.Material = "Sand" | |
3412 | Jeans.Size = Vector3.new(1.1/4, 0.24/4, 0.95/4) | |
3413 | Jeans.TopSurface = Enum.SurfaceType.Smooth | |
3414 | Jeans.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jeans) | |
3415 | Weld.Part0 = Right_Leg | |
3416 | Weld.Part1 = Jeans | |
3417 | Weld.C1 = CFrame.new(0,0,0) | |
3418 | _HeadMesh = Instance.new("SpecialMesh",Jeans) | |
3419 | _HeadMesh.MeshType = "Brick" | |
3420 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3421 | ||
3422 | local Boot = Instance.new("Part",Clothes) | |
3423 | Boot.Name = "Boot" | |
3424 | Boot.Shape = Enum.PartType.Block | |
3425 | Boot.CanCollide = false | |
3426 | Boot.BrickColor = BrickColor.new("Burnt Sienna") | |
3427 | Boot.Transparency = 0 | |
3428 | Boot.Material = "Slate" | |
3429 | Boot.Size = Vector3.new(1.1/4, 0.15/4, 0.95/4) | |
3430 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3431 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3432 | Weld.Part0 = Right_Leg | |
3433 | Weld.Part1 = Boot | |
3434 | Weld.C1 = CFrame.new(0,0.22,0) | |
3435 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3436 | _HeadMesh.MeshType = "Brick" | |
3437 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3438 | ||
3439 | local Boot = Instance.new("Part",Clothes) | |
3440 | Boot.Name = "Boot" | |
3441 | Boot.Shape = Enum.PartType.Block | |
3442 | Boot.CanCollide = false | |
3443 | Boot.BrickColor = BrickColor.new("Rust") | |
3444 | Boot.Transparency = 0 | |
3445 | Boot.Material = "Slate" | |
3446 | Boot.Size = Vector3.new(1.064/4, 0.463/4, 0.94/4) | |
3447 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3448 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3449 | Weld.Part0 = Right_Leg | |
3450 | Weld.Part1 = Boot | |
3451 | Weld.C1 = CFrame.new(0,0.35,0) | |
3452 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3453 | _HeadMesh.MeshType = "Brick" | |
3454 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3455 | ||
3456 | local Boot = Instance.new("Part",Clothes) | |
3457 | Boot.Name = "Boot" | |
3458 | Boot.Shape = Enum.PartType.Block | |
3459 | Boot.CanCollide = false | |
3460 | Boot.BrickColor = BrickColor.new("Rust") | |
3461 | Boot.Transparency = 0 | |
3462 | Boot.Material = "Slate" | |
3463 | Boot.Size = Vector3.new(1.064/4, 0.2/4, 0.98/4) | |
3464 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3465 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3466 | Weld.Part0 = Right_Leg | |
3467 | Weld.Part1 = Boot | |
3468 | Weld.C1 = CFrame.new(0,0.66,0.02) | |
3469 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3470 | _HeadMesh.MeshType = "Brick" | |
3471 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3472 | ||
3473 | local Boot = Instance.new("Part",Clothes) | |
3474 | Boot.Name = "Boot" | |
3475 | Boot.Shape = Enum.PartType.Block | |
3476 | Boot.CanCollide = false | |
3477 | Boot.BrickColor = BrickColor.new("Burnt Sienna") | |
3478 | Boot.Transparency = 0 | |
3479 | Boot.Material = "Slate" | |
3480 | Boot.Size = Vector3.new(1.1/4, 0.25/4, 0.98/4) | |
3481 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3482 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3483 | Weld.Part0 = Right_Leg | |
3484 | Weld.Part1 = Boot | |
3485 | Weld.C1 = CFrame.new(0,0.86,0.02) | |
3486 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3487 | _HeadMesh.MeshType = "Brick" | |
3488 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3489 | ||
3490 | almostdead = false | |
3491 | Transformed = false | |
3492 | ||
3493 | ||
3494 | Shirt = Instance.new("Shirt",Character) | |
3495 | Pants = Instance.new("Pants",Character) | |
3496 | Shirt.ShirtTemplate = "" | |
3497 | Pants.PantsTemplate = "" | |
3498 | ||
3499 | Deku = Instance.new("Decal",Boob) | |
3500 | Deku.Face = "Front" | |
3501 | Deku.Texture = "rbxassetid://7634756" | |
3502 | Deku = Instance.new("Decal",Boob) | |
3503 | Deku.Face = "Left" | |
3504 | Deku.Texture = "rbxassetid://7634756" | |
3505 | Deku = Instance.new("Decal",Boob2) | |
3506 | Deku.Face = "Front" | |
3507 | Deku.Texture = "rbxassetid://7634756" | |
3508 | Deku = Instance.new("Decal",Boob2) | |
3509 | Deku.Face = "Right" | |
3510 | Deku.Texture = "rbxassetid://7634756" | |
3511 | ||
3512 | for i,v in pairs(Clothes:GetChildren()) do | |
3513 | if v:IsA('Part') or v:IsA('WedgePart') then | |
3514 | noOutline(v) | |
3515 | end | |
3516 | end | |
3517 | ||
3518 | for i,v in pairs(Boob:GetChildren()) do | |
3519 | if v:IsA('Decal') then | |
3520 | v.Texture = "rbxassetid://" | |
3521 | end | |
3522 | end | |
3523 | ||
3524 | for i,v in pairs(Boob2:GetChildren()) do | |
3525 | if v:IsA('Decal') then | |
3526 | v.Texture = "rbxassetid://" | |
3527 | end | |
3528 | end | |
3529 | ||
3530 | function Transform() | |
3531 | Humanoid.MaxHealth = 500 | |
3532 | Humanoid.Health = 500 | |
3533 | attack = true | |
3534 | attack2 = true | |
3535 | Transformed = true | |
3536 | Animations = true | |
3537 | local rng2 = Instance.new("Part",Character) | |
3538 | rng2.Anchored = true | |
3539 | rng2.Color = Color3.new(0,0,0) | |
3540 | rng2.CanCollide = false | |
3541 | rng2.Material = "Neon" | |
3542 | rng2.FormFactor = 3 | |
3543 | rng2.Name = "Shockwave" | |
3544 | rng2.Size = Vector3.new(1, 1, 1) | |
3545 | rng2.Transparency = 0 | |
3546 | rng2.TopSurface = 0 | |
3547 | rng2.BottomSurface = 0 | |
3548 | rng2.CFrame = rootPart.CFrame | |
3549 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
3550 | rngm2.Scale = Vector3.new(0,0,0) | |
3551 | rngm2.Offset = Vector3.new(0,0.5,0) | |
3552 | rngm2.MeshType = "Sphere" | |
3553 | ||
3554 | spawn(function() | |
3555 | for i = 1, 60, 2 do | |
3556 | rng2.Color = Color3.new(i/60,0,0) | |
3557 | rngm2.Scale = rngm2.Scale + Vector3.new(0.4,0.4,0.4) | |
3558 | swait() | |
3559 | end | |
3560 | wait(1) | |
3561 | rng2.Transparency = 0.35 | |
3562 | coroutine.wrap(function() | |
3563 | for i = 1,180 do | |
3564 | local fx = Instance.new("Part",Effects) | |
3565 | fx.Anchored = true | |
3566 | fx.Color = Color3.new(1,0,0) | |
3567 | fx.CanCollide = false | |
3568 | fx.FormFactor = 3 | |
3569 | fx.Name = "Shockwave" | |
3570 | fx.Material = "Neon" | |
3571 | fx.Size = Vector3.new(1, 1, 1) | |
3572 | fx.Transparency = 0.35 | |
3573 | fx.TopSurface = 0 | |
3574 | fx.BottomSurface = 0 | |
3575 | fx.CFrame = rootPart.CFrame | |
3576 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
3577 | local fxm = Instance.new("SpecialMesh", fx) | |
3578 | fxm.Scale = Vector3.new(0,0,0) | |
3579 | fxm.Offset = Vector3.new(0,0,0) | |
3580 | fxm.MeshType = "Sphere" | |
3581 | spawn(function() | |
3582 | for i = 1, 60, 2 do | |
3583 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
3584 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
3585 | fx.Transparency = i/60 | |
3586 | swait() | |
3587 | end | |
3588 | wait() | |
3589 | fx:Destroy() | |
3590 | end) | |
3591 | end | |
3592 | end)() | |
3593 | for i = 1, 60, 2 do | |
3594 | rngm2.Scale = rngm2.Scale + Vector3.new(2,2,2) | |
3595 | rng2.Transparency = i/30 | |
3596 | swait() | |
3597 | end | |
3598 | wait() | |
3599 | rng2:Destroy() | |
3600 | end) | |
3601 | ||
3602 | S = Instance.new("Sound") | |
3603 | S.Parent = Character.Torso | |
3604 | S.SoundId = "rbxassetid://268008984" | |
3605 | S.Volume = 10 | |
3606 | S.Looped = false | |
3607 | S.Pitch = 1 | |
3608 | S:Play() | |
3609 | Eyes.Texture = "rbxassetid://1572409968" | |
3610 | Mouth.Texture = "rbxassetid://1572410763" | |
3611 | Theme.SoundId = "rbxassetid://969583926" | |
3612 | Theme:Play() | |
3613 | for i = 0,1,0.01 do | |
3614 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60),math.rad(0),math.rad(-60)), 0.15) | |
3615 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(60)), 0.15) | |
3616 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15) | |
3617 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15) | |
3618 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/0.2)/2, -2 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
3619 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 + math.sin(sine/0.2)/2, 1.5 + math.sin(sine/7.5)/15, -0.8) * c_angles(math.rad(-80),math.rad(0), math.rad(0)), 0.15) | |
3620 | swait() | |
3621 | end | |
3622 | text.TextColor3 = Color3.new(1,0,0) | |
3623 | text.Text = "Evelyn\n ~Demon Form~" | |
3624 | Fire.Enabled = true | |
3625 | Eyes.Color3 = Color3.new(1,0,0) | |
3626 | Mouth.Color3 = Color3.new(1,0,0) | |
3627 | for i,v in pairs(Boob:GetChildren()) do | |
3628 | if v:IsA('Decal') then | |
3629 | v.Texture = "rbxassetid://7634756" | |
3630 | end | |
3631 | end | |
3632 | ||
3633 | for i,v in pairs(Boob2:GetChildren()) do | |
3634 | if v:IsA('Decal') then | |
3635 | v.Texture = "rbxassetid://7634756" | |
3636 | end | |
3637 | end | |
3638 | Right_Arm.Transparency = 0 | |
3639 | Left_Arm.Transparency = 0 | |
3640 | Right_Leg.Transparency = 0 | |
3641 | Left_Leg.Transparency = 0 | |
3642 | for i,v in pairs (Clothes:GetChildren()) do | |
3643 | if v:IsA('Part') or v:IsA('WedgePart') then | |
3644 | v.Transparency = 1 | |
3645 | end | |
3646 | end | |
3647 | Shirt.ShirtTemplate = "rbxassetid://787990331" | |
3648 | Pants.PantsTemplate = "rbxassetid://983141459" | |
3649 | S = Instance.new("Sound") | |
3650 | S.Parent = Character.Torso | |
3651 | S.SoundId = "rbxassetid://178452221" | |
3652 | S.Volume = 5 | |
3653 | S.Looped = false | |
3654 | S.Pitch = 1 | |
3655 | S:Play() | |
3656 | for i = 0,0.7,0.01 do | |
3657 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15) | |
3658 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15) | |
3659 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-10)), 0.15) | |
3660 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(10)), 0.15) | |
3661 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
3662 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(-25),math.rad(0), math.rad(0)), 0.15) | |
3663 | swait() | |
3664 | end | |
3665 | Normal_Face() | |
3666 | Animations = false | |
3667 | attack2 = false | |
3668 | attack = false | |
3669 | end | |
3670 | dedebounce = false | |
3671 | ||
3672 | function Revert() | |
3673 | Humanoid.MaxHealth = 150 | |
3674 | Humanoid.Health = 150 | |
3675 | attack = true | |
3676 | attack2 = true | |
3677 | Animations = true | |
3678 | Transformed = false | |
3679 | Fire.Enabled = false | |
3680 | for i = 0,0.15,0.01 do | |
3681 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60),math.rad(0),math.rad(-60)), 0.15) | |
3682 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(60)), 0.15) | |
3683 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15) | |
3684 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15) | |
3685 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, 0 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
3686 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.8) * c_angles(math.rad(-80),math.rad(0), math.rad(0)), 0.15) | |
3687 | swait() | |
3688 | end | |
3689 | Theme.SoundId = "rbxassetid://1825836370" | |
3690 | Theme:Play() | |
3691 | local rng2 = Instance.new("Part",Character.Effects) | |
3692 | rng2.Anchored = true | |
3693 | rng2.Color = Color3.new(0,0,0) | |
3694 | rng2.CanCollide = false | |
3695 | rng2.Material = "Neon" | |
3696 | rng2.FormFactor = 3 | |
3697 | rng2.Name = "Shockwave" | |
3698 | rng2.Size = Vector3.new(1, 1, 1) | |
3699 | rng2.Transparency = 0 | |
3700 | rng2.TopSurface = 0 | |
3701 | rng2.BottomSurface = 0 | |
3702 | rng2.CFrame = rootPart.CFrame | |
3703 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
3704 | rngm2.Scale = Vector3.new(0,0,0) | |
3705 | rngm2.Offset = Vector3.new(0,0.5,0) | |
3706 | rngm2.MeshType = "Sphere" | |
3707 | ||
3708 | spawn(function() | |
3709 | for i = 1, 60, 2 do | |
3710 | rngm2.Scale = rngm2.Scale + Vector3.new(0.4,0.4,0.4) | |
3711 | swait() | |
3712 | end | |
3713 | wait(0.5) | |
3714 | rng2.Transparency = 0.35 | |
3715 | for i = 1, 60, 2 do | |
3716 | rngm2.Scale = rngm2.Scale + Vector3.new(2,2,2) | |
3717 | rng2.Transparency = i/60 | |
3718 | swait() | |
3719 | end | |
3720 | wait() | |
3721 | rng2:Destroy() | |
3722 | end) | |
3723 | ||
3724 | for i = 0,0.08,0.01 do | |
3725 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60),math.rad(0),math.rad(-60)), 0.15) | |
3726 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(60)), 0.15) | |
3727 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15) | |
3728 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15) | |
3729 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, 0 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
3730 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.1) * c_angles(math.rad(-80),math.rad(0), math.rad(0)), 0.15) | |
3731 | swait() | |
3732 | end | |
3733 | text.TextColor3 = Color3.new(1,1,1) | |
3734 | text.Text = "Evelyn" | |
3735 | Eyes.Color3 = Color3.new(1,1,1) | |
3736 | Mouth.Color3 = Color3.new(1,1,1) | |
3737 | Shirt.ShirtTemplate = "" | |
3738 | Pants.PantsTemplate = "" | |
3739 | for i,v in pairs(Boob:GetChildren()) do | |
3740 | if v:IsA('Decal') then | |
3741 | v.Texture = "rbxassetid://" | |
3742 | end | |
3743 | end | |
3744 | ||
3745 | for i,v in pairs(Boob2:GetChildren()) do | |
3746 | if v:IsA('Decal') then | |
3747 | v.Texture = "rbxassetid://" | |
3748 | end | |
3749 | end | |
3750 | Right_Arm.Transparency = 1 | |
3751 | Left_Arm.Transparency = 1 | |
3752 | Right_Leg.Transparency = 1 | |
3753 | Left_Leg.Transparency = 1 | |
3754 | for i,v in pairs (Clothes:GetChildren()) do | |
3755 | if v:IsA('Part') or v:IsA('WedgePart') then | |
3756 | v.Transparency = 0 | |
3757 | end | |
3758 | end | |
3759 | Eyes.Texture = "rbxassetid://1572409210" | |
3760 | Mouth.Texture = "rbxassetid://1572409375" | |
3761 | ||
3762 | for i = 0,0.7,0.01 do | |
3763 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15) | |
3764 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15) | |
3765 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-10)), 0.15) | |
3766 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(10)), 0.15) | |
3767 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
3768 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.1) * c_angles(math.rad(-5),math.rad(0), math.rad(0)), 0.15) | |
3769 | swait() | |
3770 | end | |
3771 | S = Instance.new("Sound") | |
3772 | S.Parent = Character.Torso | |
3773 | S.SoundId = "rbxassetid://178452221" | |
3774 | S.Volume = 8 | |
3775 | S.Looped = false | |
3776 | S.Pitch = 1 | |
3777 | S:Play() | |
3778 | Animations = false | |
3779 | attack2 = false | |
3780 | attack = false | |
3781 | end | |
3782 | ||
3783 | ||
3784 | local attk = 1 | |
3785 | mouse.Button1Down:Connect(function(key) | |
3786 | ||
3787 | if attack == false then | |
3788 | if attk == 1 then | |
3789 | attk = 2 | |
3790 | Attackone() | |
3791 | elseif attk == 2 then | |
3792 | attk = 3 | |
3793 | Attacktwo() | |
3794 | elseif attk == 3 then | |
3795 | attk = 4 | |
3796 | Attackthree() | |
3797 | elseif attk == 4 then | |
3798 | attk = 5 | |
3799 | Attackfour() | |
3800 | elseif attk == 5 then | |
3801 | attk = 6 | |
3802 | Attackfive() | |
3803 | elseif attk == 6 then | |
3804 | attk = 1 | |
3805 | Attacksix() | |
3806 | end | |
3807 | end | |
3808 | end) | |
3809 | ||
3810 | ||
3811 | ||
3812 | ||
3813 | function sound(id,position,vol,pitch,start,finish) | |
3814 | coroutine.resume(coroutine.create(function() | |
3815 | ||
3816 | local part = Instance.new("Part",workspace) | |
3817 | part.Position = position | |
3818 | part.Size = Vector3.new(0,0,0) | |
3819 | part.CanCollide = false | |
3820 | part.Transparency = 1 | |
3821 | ||
3822 | local sound = Instance.new("Sound",part) | |
3823 | ||
3824 | sound.SoundId = "rbxassetid://"..id | |
3825 | ||
3826 | repeat ArtificialHB.Event:wait() until sound.IsLoaded | |
3827 | ||
3828 | if vol ~= nil then | |
3829 | sound.Volume = vol | |
3830 | end | |
3831 | ||
3832 | if pitch ~= nil then | |
3833 | sound.PlaybackSpeed = pitch | |
3834 | end | |
3835 | ||
3836 | if start ~= nil then | |
3837 | sound.TimePosition = start | |
3838 | end | |
3839 | ||
3840 | if finish ~= nil then | |
3841 | game:GetService("Debris"):AddItem(part,finish-start) | |
3842 | else | |
3843 | game:GetService("Debris"):AddItem(part,sound.TimeLength) | |
3844 | end | |
3845 | ||
3846 | sound:Play() | |
3847 | ||
3848 | return sound | |
3849 | ||
3850 | end)) | |
3851 | end | |
3852 | ||
3853 | function Dead() | |
3854 | attack = true | |
3855 | attack2 = true | |
3856 | Animations = true | |
3857 | Eyes.Texture = "rbxassetid://1572410332" | |
3858 | Mouth.Texture = "rbxassetid://1572410763" | |
3859 | Dizz = Instance.new("Sound") | |
3860 | Dizz.Parent = Character.Torso | |
3861 | Dizz.SoundId = "rbxassetid://266278159" | |
3862 | Dizz.Volume = 10 | |
3863 | Dizz.Looped = false | |
3864 | Dizz.Pitch = 1 | |
3865 | Dizz:Play() | |
3866 | ||
3867 | text.Text = "" | |
3868 | for i = 0,1,0.01 do | |
3869 | Theme.Pitch = Theme.Pitch - 0.01 | |
3870 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(-20),math.rad(0)), 0.15) | |
3871 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(20),math.rad(0)), 0.15) | |
3872 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(20),math.rad(0)), 0.15) | |
3873 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(-20),math.rad(0)), 0.15) | |
3874 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
3875 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/15)/10, 0) * c_angles(math.rad(20),math.rad(0) + i*10, math.rad(0) + math.sin(sine/15)/5), 0.15) | |
3876 | swait() | |
3877 | end | |
3878 | local Soul1 = Instance.new("Part", Character) | |
3879 | Soul1.Name = "Soul" | |
3880 | Soul1.Anchored = true | |
3881 | Soul1.Shape = Enum.PartType.Block | |
3882 | Soul1.CanCollide = false | |
3883 | Soul1.BrickColor = BrickColor.new("Institutional white") | |
3884 | Soul1.Transparency = 0 | |
3885 | Soul1.Material = "Neon" | |
3886 | Soul1.Size = Vector3.new(0.26, 0.5, 0.21) | |
3887 | Soul1.TopSurface = Enum.SurfaceType.Smooth | |
3888 | Soul1.BottomSurface = Enum.SurfaceType.Smooth | |
3889 | ||
3890 | ||
3891 | local M1 = Instance.new("SpecialMesh") | |
3892 | M1.Parent = Soul1 | |
3893 | M1.MeshType = "Sphere" | |
3894 | M1.Scale = Vector3.new(1,1,1) | |
3895 | ||
3896 | local Soul2 = Instance.new("Part", Character) | |
3897 | Soul2.Name = "Soul" | |
3898 | Soul2.Anchored = true | |
3899 | Soul2.Shape = Enum.PartType.Block | |
3900 | Soul2.CanCollide = false | |
3901 | Soul2.BrickColor = BrickColor.new("Institutional white") | |
3902 | Soul2.Transparency = 0 | |
3903 | Soul2.Material = "Neon" | |
3904 | Soul2.Size = Vector3.new(0.26, 0.5, 0.21) | |
3905 | Soul2.TopSurface = Enum.SurfaceType.Smooth | |
3906 | Soul2.BottomSurface = Enum.SurfaceType.Smooth | |
3907 | ||
3908 | ||
3909 | local M1 = Instance.new("SpecialMesh") | |
3910 | M1.Parent = Soul2 | |
3911 | M1.MeshType = "Sphere" | |
3912 | M1.Scale = Vector3.new(1,1,1) | |
3913 | Dizz:Destroy() | |
3914 | Torso.Transparency = 1 | |
3915 | Theme.Volume = 0 | |
3916 | Eyes.Texture = "rbxassetid://1572409830" | |
3917 | Mouth.Texture = "rbxassetid://1572410763" | |
3918 | S = Instance.new("Sound") | |
3919 | S.Parent = Character.Torso | |
3920 | S.SoundId = "rbxassetid://1292392651" | |
3921 | S.Volume = 10 | |
3922 | S.Looped = false | |
3923 | S.Pitch = 1 | |
3924 | S:Play() | |
3925 | ||
3926 | Soul1.CFrame = rootPart.CFrame * CFrame.new(0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)) | |
3927 | Soul2.CFrame = rootPart.CFrame * CFrame.new(-0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)) | |
3928 | ||
3929 | for i = 0,1.7,0.01 do | |
3930 | Soul1.CFrame = rootPart.CFrame * CFrame.new(math.random(5,15)/100, math.random(95,105)/100, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)) | |
3931 | Soul2.CFrame = rootPart.CFrame * CFrame.new(math.random(-15,-5)/100, math.random(95,105)/100, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)) | |
3932 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(150),math.rad(-25),math.rad(66)), 0.2) | |
3933 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(150),math.rad(16),math.rad(-50)), 0.2) | |
3934 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
3935 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(20)), 0.2) | |
3936 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -2.5, 0) * c_angles(math.rad(-80), math.rad(0),math.rad(0)), 0.2) | |
3937 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 2, -0.3) * c_angles(math.rad(50),math.rad(0), math.rad(45)), 0.2) | |
3938 | swait() | |
3939 | end | |
3940 | Soul1.CFrame = rootPart.CFrame * CFrame.new(0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)) | |
3941 | Soul2.CFrame = rootPart.CFrame * CFrame.new(-0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)) | |
3942 | wait(1) | |
3943 | S = Instance.new("Sound") | |
3944 | S.Parent = Character.Torso | |
3945 | S.SoundId = "rbxassetid://973028066" | |
3946 | S.Volume = 10 | |
3947 | S.Looped = false | |
3948 | S.Pitch = 1 | |
3949 | S:Play() | |
3950 | Soul1.CFrame = rootPart.CFrame * CFrame.new(0.25, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)) | |
3951 | Soul2.CFrame = rootPart.CFrame * CFrame.new(-0.25, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)) | |
3952 | wait(1) | |
3953 | Soul1.Anchored = false | |
3954 | Soul2.Anchored = false | |
3955 | Soul1.Velocity = ((Soul1.CFrame*CFrame.new(5,0,math.random(-2,2))).p-Soul1.CFrame.p)*5 | |
3956 | Soul2.Velocity = ((Soul2.CFrame*CFrame.new(-5,0,math.random(-2,2))).p-Soul2.CFrame.p)*5 | |
3957 | for i = 1,60,2 do | |
3958 | Soul1.Transparency = i/30 | |
3959 | Soul2.Transparency = i/30 | |
3960 | swait() | |
3961 | end | |
3962 | wait(2) | |
3963 | Humanoid:SetStateEnabled("Dead",true) | |
3964 | Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, true) | |
3965 | ||
3966 | ||
3967 | Character.Archivable = true | |
3968 | Character.Head:ClearAllChildren() | |
3969 | Character.Head.Size = Vector3.new(1,1,1) | |
3970 | Character.Clothing:Destroy() | |
3971 | Character.Torso.Boob:Destroy() | |
3972 | Character.Torso.Boob2:Destroy() | |
3973 | local clone = Character:Clone() | |
3974 | clone.Parent = workspace | |
3975 | clone.Name = "DED" | |
3976 | local emitters={} | |
3977 | for i,v in pairs(clone:GetChildren()) do | |
3978 | if v:IsA("Accoutrement") then | |
3979 | v:Destroy() | |
3980 | end | |
3981 | if v:IsA("Part") or v:IsA("MeshPart") or v:IsA("WedgePart") then | |
3982 | v.Anchored = true | |
3983 | v.CanCollide = false | |
3984 | v.Color = Color3.new(1,1,1) | |
3985 | v.Material = "Neon" | |
3986 | local emitter = Instance.new("ParticleEmitter",v) | |
3987 | emitter.LightEmission = 1 | |
3988 | emitter.Transparency = NumberSequence.new(0,1) | |
3989 | emitter.Size = NumberSequence.new(0,0.2) | |
3990 | emitter.SpreadAngle = Vector2.new(360,360) | |
3991 | emitter.Speed = NumberRange.new(0.5) | |
3992 | emitter.Lifetime = NumberRange.new(0.75) | |
3993 | emitter.Texture = "rbxassetid://241812810" | |
3994 | emitter.Rate = 1000 | |
3995 | emitter.Color = ColorSequence.new(Color3.new(1,1,1)) | |
3996 | emitter.LockedToPart = false | |
3997 | table.insert(emitters,emitter) | |
3998 | end | |
3999 | end | |
4000 | coroutine.wrap(function() | |
4001 | for i,v in pairs(clone:GetChildren()) do | |
4002 | if v:IsA("Part") or v:IsA("MeshPart") or v:IsA("WedgePart") or v:IsA("Decal") then | |
4003 | coroutine.wrap(function() | |
4004 | for i = 1,20 do | |
4005 | v.Transparency = v.Transparency + 0.05 | |
4006 | wait() | |
4007 | end | |
4008 | end)() | |
4009 | end | |
4010 | end | |
4011 | end)() | |
4012 | delay(1, function() | |
4013 | S = Instance.new("Sound") | |
4014 | S.Parent = clone.Torso | |
4015 | S.SoundId = "rbxassetid://427025525" | |
4016 | S.Volume = 10 | |
4017 | S.Looped = false | |
4018 | S.Pitch = 1 | |
4019 | S:Play() | |
4020 | for i,v in pairs(emitters) do | |
4021 | v.Speed = NumberRange.new(8) | |
4022 | v.Acceleration = Vector3.new(0,10,0) | |
4023 | delay(0.5, function() | |
4024 | v.Enabled = false | |
4025 | game:GetService("Debris"):AddItem(clone,0.75) | |
4026 | end) | |
4027 | end | |
4028 | end) | |
4029 | ||
4030 | end | |
4031 | ||
4032 | Humanoid:SetStateEnabled("Dead",false) | |
4033 | Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
4034 | ||
4035 | coroutine.wrap(function() | |
4036 | while true do | |
4037 | if dedebounce == false then | |
4038 | if Humanoid.Health <= 0 and Transformed == false then | |
4039 | dedebounce = true | |
4040 | Humanoid.MaxHealth = 800 | |
4041 | Humanoid.Health = 800 | |
4042 | Dead() | |
4043 | return | |
4044 | end | |
4045 | else | |
4046 | swait() | |
4047 | return | |
4048 | end | |
4049 | swait() | |
4050 | end | |
4051 | end)() | |
4052 | ||
4053 | coroutine.wrap(function() | |
4054 | while true and wait() do | |
4055 | if Humanoid.Health <= 20 and Transformed == true then | |
4056 | Revert() | |
4057 | end | |
4058 | end | |
4059 | end)() | |
4060 | ||
4061 | ||
4062 | ||
4063 | function findCloseHumanoid(centre, distance) | |
4064 | local tab = {} | |
4065 | for _, child in pairs(game.Workspace:GetChildren()) do | |
4066 | if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= Humanoid and child:findFirstChild("Torso") then | |
4067 | local vtors = child.Torso | |
4068 | local mag = math.abs((vtors.Position - centre).magnitude) | |
4069 | if distance >= mag then | |
4070 | table.insert(tab, child.Humanoid) | |
4071 | end | |
4072 | end | |
4073 | end | |
4074 | return tab | |
4075 | end | |
4076 | ||
4077 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position, Direction, MaxDistance, IgnoreDescendants | |
4078 | return game:GetService("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
4079 | end | |
4080 | ||
4081 | function QuaternionFromCFrame(cf) | |
4082 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
4083 | local trace = m00 + m11 + m22 | |
4084 | if trace > 0 then | |
4085 | local s = math.sqrt(1 + trace) | |
4086 | local recip = 0.5/s | |
4087 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
4088 | else | |
4089 | local i = 0 | |
4090 | if m11 > m00 then | |
4091 | i = 1 | |
4092 | end | |
4093 | if m22 > (i == 0 and m00 or m11) then | |
4094 | i = 2 | |
4095 | end | |
4096 | if i == 0 then | |
4097 | local s = math.sqrt(m00-m11-m22+1) | |
4098 | local recip = 0.5/s | |
4099 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
4100 | elseif i == 1 then | |
4101 | local s = math.sqrt(m11-m22-m00+1) | |
4102 | local recip = 0.5/s | |
4103 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
4104 | elseif i == 2 then | |
4105 | local s = math.sqrt(m22-m00-m11+1) | |
4106 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
4107 | end | |
4108 | end | |
4109 | end | |
4110 | ||
4111 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
4112 | local xs, ys, zs = x + x, y + y, z + z | |
4113 | local wx, wy, wz = w*xs, w*ys, w*zs | |
4114 | local xx = x*xs | |
4115 | local xy = x*ys | |
4116 | local xz = x*zs | |
4117 | local yy = y*ys | |
4118 | local yz = y*zs | |
4119 | local zz = z*zs | |
4120 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
4121 | end | |
4122 | ||
4123 | function QuaternionSlerp(a, b, t) | |
4124 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
4125 | local startInterp, finishInterp; | |
4126 | if cosTheta >= 0.0001 then | |
4127 | if (1 - cosTheta) > 0.0001 then | |
4128 | local theta = math.acos(cosTheta) | |
4129 | local invSinTheta = 1/math.sin(theta) | |
4130 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
4131 | finishInterp = math.sin(t*theta)*invSinTheta | |
4132 | else | |
4133 | startInterp = 1-t | |
4134 | finishInterp = t | |
4135 | end | |
4136 | else | |
4137 | if (1+cosTheta) > 0.0001 then | |
4138 | local theta = math.acos(-cosTheta) | |
4139 | local invSinTheta = 1/math.sin(theta) | |
4140 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
4141 | finishInterp = math.sin(t*theta)*invSinTheta | |
4142 | else | |
4143 | startInterp = t-1 | |
4144 | finishInterp = t | |
4145 | end | |
4146 | end | |
4147 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
4148 | end | |
4149 | ||
4150 | function clerp(a, b, t) | |
4151 | local qa = {QuaternionFromCFrame(a)} | |
4152 | local qb = {QuaternionFromCFrame(b)} | |
4153 | local ax, ay, az = a.x, a.y, a.z | |
4154 | local bx, by, bz = b.x, b.y, b.z | |
4155 | local _t = 1-t | |
4156 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
4157 | end | |
4158 | ||
4159 | swait() | |
4160 | LA_Weld = newWeld(Torso, Left_Arm, -1.5, 0.5, 0) | |
4161 | Left_Arm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
4162 | RA_Weld = newWeld(Torso, Right_Arm, 1.5, 0.5, 0) | |
4163 | Right_Arm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
4164 | LL_Weld = newWeld(Torso, Left_Leg, -0.5, -1, 0) | |
4165 | Left_Leg.Weld.C1 = CFrame.new(0, 1, 0) -- Left_Leg.Weld.C1 = CFrame.new(0, 1, 0.15) | |
4166 | RL_Weld = newWeld(Torso, Right_Leg, 0.5, -1, 0) | |
4167 | Right_Leg.Weld.C1 = CFrame.new(0, 1, 0) -- Right_Leg.Weld.C1 = CFrame.new(0, 1, 0.15) | |
4168 | Torso_Weld = newWeld(rootPart, Torso, 0, -1, 0) | |
4169 | Torso.Weld.C1 = CFrame.new(0, -1, 0) | |
4170 | Head_Weld = newWeld(Torso, Head, 0, 1.5, 0) | |
4171 | ||
4172 | for i,v in pairs(Character:GetChildren()) do | |
4173 | if v:IsA('Accoutrement') then | |
4174 | v:Destroy() | |
4175 | elseif v:IsA('Part') and v.Name=='Head' then | |
4176 | v.face.Transparency = 1 | |
4177 | end | |
4178 | end | |
4179 | ||
4180 | Character['Body Colors'].HeadColor3=Color3.new(0,0,0) | |
4181 | Character['Body Colors'].TorsoColor3=Color3.new(0,0,0) | |
4182 | Character['Body Colors'].RightArmColor3=Color3.new(0,0,0) | |
4183 | Character['Body Colors'].LeftArmColor3=Color3.new(0,0,0) | |
4184 | Character['Body Colors'].RightLegColor3=Color3.new(0,0,0) | |
4185 | Character['Body Colors'].LeftLegColor3=Color3.new(0,0,0) | |
4186 | ||
4187 | Humanoid.DisplayDistanceType='None' | |
4188 | ||
4189 | sine = 0 | |
4190 | change = 1 | |
4191 | sprint=false | |
4192 | local punches={ | |
4193 | a=false, | |
4194 | b=false, | |
4195 | c=false | |
4196 | } | |
4197 | ||
4198 | ||
4199 | ||
4200 | UIService.InputBegan:connect(function(Input,GUIProcessed) | |
4201 | if not GUIProcessed and Input.UserInputType==Enum.UserInputType.MouseButton1 then | |
4202 | if punches.a==false then | |
4203 | punches.a=true wait(.4) punches.a=false | |
4204 | else | |
4205 | punches.a=true | |
4206 | if punches.b==false then | |
4207 | punches.b=true wait(.4) punches.b=false | |
4208 | else | |
4209 | punches.b=true | |
4210 | if punches.c==false then | |
4211 | punches.c=true wait(.4) punches.c=false | |
4212 | else | |
4213 | punches.c=true | |
4214 | end | |
4215 | end | |
4216 | end | |
4217 | elseif not GUIProcessed and Input.KeyCode==Enum.KeyCode.LeftShift then | |
4218 | sprint=true | |
4219 | end | |
4220 | end) | |
4221 | ||
4222 | UIService.InputEnded:connect(function(Input,GUIProcessed) | |
4223 | if not GUIProcessed and Input.KeyCode==Enum.KeyCode.LeftShift then | |
4224 | sprint=false | |
4225 | end | |
4226 | end) | |
4227 | ||
4228 | --[[ Base Animation | |
4229 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
4230 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
4231 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
4232 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
4233 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
4234 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15) | |
4235 | --]] | |
4236 | ||
4237 | --[[ Idle Anim | |
4238 | angleSpeed = 1 | |
4239 | axisSpeed = 1 | |
4240 | change = 0.5 | |
4241 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(-20) + math.sin(sine/7.5)/15), 0.15) | |
4242 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(20) - math.sin(sine/7.5)/15), 0.15) | |
4243 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
4244 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
4245 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
4246 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
4247 | --]] | |
4248 | coroutine.wrap(function() | |
4249 | while true do | |
4250 | if sprint == false then | |
4251 | if attack2 == false then | |
4252 | Humanoid.WalkSpeed = 8 | |
4253 | Humanoid.JumpPower = 50 | |
4254 | elseif attack2 == true then | |
4255 | Humanoid.WalkSpeed = 0 | |
4256 | Humanoid.JumpPower = 0 | |
4257 | end | |
4258 | elseif sprint == true then | |
4259 | if attack2 == false then | |
4260 | Humanoid.WalkSpeed = 25 | |
4261 | Humanoid.JumpPower = 100 | |
4262 | elseif attack2 == true then | |
4263 | Humanoid.WalkSpeed = 0 | |
4264 | Humanoid.JumpPower = 0 | |
4265 | end | |
4266 | end | |
4267 | wait() | |
4268 | end | |
4269 | end)() | |
4270 | ||
4271 | coroutine.wrap(function() | |
4272 | while true do | |
4273 | if currentAnim == "Idling" and attack == false and attack2 == false then | |
4274 | idle=idle+1 | |
4275 | swait() | |
4276 | else | |
4277 | idle=idly | |
4278 | swait() | |
4279 | end | |
4280 | end | |
4281 | end)() | |
4282 | ||
4283 | local Zzz = Instance.new("ParticleEmitter",Head) | |
4284 | Zzz.EmissionDirection = "Left" | |
4285 | Zzz.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)}) | |
4286 | Zzz.LightEmission = 1 | |
4287 | Zzz.Rate = 1 | |
4288 | Zzz.ZOffset = 1 | |
4289 | Zzz.Lifetime = NumberRange.new(2) | |
4290 | Zzz.Speed = NumberRange.new(2) | |
4291 | Zzz.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6, 0.3), NumberSequenceKeypoint.new(1, 0.2, 0.1)}) | |
4292 | Zzz.Rotation = NumberRange.new(0, 0) | |
4293 | Zzz.RotSpeed = NumberRange.new(30, 30) | |
4294 | Zzz.Texture = "http://www.roblox.com/asset/?id=386098098" | |
4295 | Zzz.Color = ColorSequence.new(Color3.new(1,1,1),Color3.new(1,1,1)) | |
4296 | Zzz.VelocitySpread = 360 | |
4297 | Zzz.LockedToPart = false | |
4298 | Zzz.Acceleration = Vector3.new(0,5,0) | |
4299 | Zzz.Enabled = false | |
4300 | ||
4301 | coroutine.wrap(function() | |
4302 | while true and wait() do | |
4303 | if Transformed == false and dedebounce == false and attack == false then | |
4304 | if idle >= 2500 then | |
4305 | Sanim = 0.01 | |
4306 | Theme.Volume = 0 | |
4307 | Zzz.Enabled = true | |
4308 | Eyes.Texture = "rbxassetid://1572409830" | |
4309 | Mouth.Texture = "rbxassetid://1572410763" | |
4310 | elseif idle >= 1500 and idle < 2500 then | |
4311 | Sanim = 0.025 | |
4312 | Eyes.Texture = "rbxassetid://1572408983" | |
4313 | Mouth.Texture = "rbxassetid://1572410439" | |
4314 | elseif idle == idly then | |
4315 | Zzz.Enabled = false | |
4316 | Sanim = 0.15 | |
4317 | Theme.Volume = 10 | |
4318 | Normal_Face() | |
4319 | end | |
4320 | end | |
4321 | end | |
4322 | end)() | |
4323 | ||
4324 | coroutine.wrap(function() | |
4325 | while true and wait() do | |
4326 | if Transformed == true and dedebounce == false and attack == false then | |
4327 | if idle >= 2200 then | |
4328 | Zzz.Enabled = true | |
4329 | Theme.Volume = 0 | |
4330 | Eyes.Texture = "rbxassetid://1572409830" | |
4331 | Mouth.Texture = "rbxassetid://1572410439" | |
4332 | elseif idle >= 1500 and idle < 2000 then | |
4333 | Eyes.Texture = "rbxassetid://1572408983" | |
4334 | Mouth.Texture = "rbxassetid://1572409375" | |
4335 | elseif idle == idly then | |
4336 | Zzz.Enabled = false | |
4337 | Theme.Volume = 10 | |
4338 | Normal_Face() | |
4339 | end | |
4340 | end | |
4341 | end | |
4342 | end)() | |
4343 | ||
4344 | ||
4345 | ||
4346 | NoClipCons = {} | |
4347 | if #NoClipCons == 0 then | |
4348 | local con = game:service("RunService").Stepped:connect(function() | |
4349 | pcall(function() | |
4350 | Player.Character.Head.CanCollide = false | |
4351 | end) | |
4352 | end) | |
4353 | table.insert(NoClipCons, con) | |
4354 | else | |
4355 | for i, v in pairs(NoClipCons) do | |
4356 | v:disconnect() | |
4357 | table.remove(NoClipCons, i) | |
4358 | end | |
4359 | end | |
4360 | ||
4361 | game:GetService("RunService").Stepped:connect(function() | |
4362 | Angle = (Angle % 100) + angleSpeed/10 | |
4363 | Axis = (Axis % 100) + axisSpeed/10 | |
4364 | walkingMagnitude = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z).magnitude | |
4365 | jumpVel = Torso.Velocity.Y | |
4366 | sine = change + sine | |
4367 | ||
4368 | if Transformed == true then | |
4369 | if not(idle >= 2000) then | |
4370 | local rng2 = Instance.new("Part",Effects) | |
4371 | rng2.Anchored = true | |
4372 | rng2.Color = Color3.new(1,0,0) | |
4373 | rng2.CanCollide = false | |
4374 | rng2.FormFactor = 3 | |
4375 | rng2.Name = "Shockwave" | |
4376 | rng2.Material = "Neon" | |
4377 | rng2.Size = Vector3.new(1, 1, 1) | |
4378 | rng2.Transparency = 0.35 | |
4379 | rng2.TopSurface = 0 | |
4380 | rng2.BottomSurface = 0 | |
4381 | rng2.CFrame = rootPart.CFrame | |
4382 | rng2.CFrame = rng2.CFrame * CFrame.new(math.random(-80,80)/10,math.random(-90,80)/10,math.random(-80,80)/10) * CFrame.Angles(math.rad(math.random(-350,350)/10),math.rad(math.random(-350,-350)/10),math.rad(math.random(-350,350)/10)) | |
4383 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
4384 | rngm2.Scale = Vector3.new(0,0,0) | |
4385 | rngm2.Offset = Vector3.new(0,0,0) | |
4386 | rngm2.MeshType = "Sphere" | |
4387 | spawn(function() | |
4388 | for i = 1, 60, 1 do | |
4389 | rngm2.Scale = Vector3.new(0.5 - i*0.0083,1 - i*0.016 ,0.5 - i*0.0083) | |
4390 | rng2.CFrame = rng2.CFrame * CFrame.new(0,0.8,0) * CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))) | |
4391 | rng2.Transparency = i/30 | |
4392 | swait() | |
4393 | end | |
4394 | wait() | |
4395 | rng2:Destroy() | |
4396 | end) | |
4397 | twitch = math.random(1,25) | |
4398 | if twitch == 20 then | |
4399 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(math.random(-200,350)/10),math.rad(math.random(-200,200)/10), math.rad(math.random(-200,200)/10)), 1) | |
4400 | end | |
4401 | swait() | |
4402 | end | |
4403 | end | |
4404 | ||
4405 | if jumpVel > 1 then | |
4406 | currentAnim = "Jumping" | |
4407 | elseif Humanoid.Sit == true then | |
4408 | currentAnim = "Seated" | |
4409 | elseif jumpVel < -1 then | |
4410 | currentAnim = "Falling" | |
4411 | elseif walkingMagnitude < 2 then | |
4412 | currentAnim = "Idling" | |
4413 | elseif isSprinting == true then | |
4414 | currentAnim = "Sprinting" | |
4415 | elseif walkingMagnitude > 2 then | |
4416 | currentAnim = "Walking" | |
4417 | elseif isAttacking == true then | |
4418 | currentAnim = "Attacking" | |
4419 | end | |
4420 | ||
4421 | if currentAnim == "Jumping" and Animations == false then | |
4422 | angleSpeed = 2 | |
4423 | axisSpeed = 2 | |
4424 | change = 0.5 | |
4425 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(15),math.rad(0),math.rad(20)), 0.15) | |
4426 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-15),math.rad(0),math.rad(-20)), 0.15) | |
4427 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.15) | |
4428 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
4429 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
4430 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20),math.rad(0), math.rad(0)), 0.15) | |
4431 | elseif currentAnim == "Falling" and Animations == false then | |
4432 | angleSpeed = 2 | |
4433 | axisSpeed = 2 | |
4434 | change = 0.5 | |
4435 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20),math.rad(0),math.rad(80)), 0.15) | |
4436 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(20),math.rad(0),math.rad(-80)), 0.15) | |
4437 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8, 0.2) * c_angles(math.rad(-20),math.rad(0),math.rad(0)), 0.15) | |
4438 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.8, -0.5) * c_angles(math.rad(15),math.rad(0),math.rad(0)), 0.15) | |
4439 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0.5) * c_angles(math.rad(-15), math.rad(0),math.rad(0)), 0.15) | |
4440 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.3) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15) | |
4441 | elseif currentAnim == "Seated" and Animations == false then | |
4442 | if Transformed == false then | |
4443 | angleSpeed = 2 | |
4444 | axisSpeed = 2 | |
4445 | change = 0.5 | |
4446 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
4447 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
4448 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(60) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30,math.rad(30)), 0.15) | |
4449 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(50) - math.sin(sine/7.5)/30,math.rad(0),math.rad(-20)), 0.15) | |
4450 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/30, math.rad(0),math.rad(0)), 0.15) | |
4451 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(25) + math.sin(sine/7.5)/30), 0.15) | |
4452 | elseif Transformed == true then | |
4453 | angleSpeed = 2 | |
4454 | axisSpeed = 2 | |
4455 | change = 0.5 | |
4456 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.6) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
4457 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.6) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
4458 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(60) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30,math.rad(30)), 0.15) | |
4459 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(50) - math.sin(sine/7.5)/30,math.rad(0),math.rad(-20)), 0.15) | |
4460 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/30, math.rad(0),math.rad(0)), 0.15) | |
4461 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0)), 0.15) | |
4462 | elseif Transformed == true then | |
4463 | end | |
4464 | elseif currentAnim == "Idling" and Animations == false then | |
4465 | if Transformed == false then | |
4466 | if SansAnim == false then | |
4467 | if idle >= 1200 and idle < 2650 then -- Resting | |
4468 | angleSpeed = 1 | |
4469 | axisSpeed = 1 | |
4470 | change = 0.5 | |
4471 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.4, 0) * c_angles(math.rad(-20),math.rad(0) - math.sin(sine/7.5)/15,math.rad(-20)), 0.15) | |
4472 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1 + math.sin(sine/7.5)/15, 1 , -0.3) * c_angles(math.rad(190),math.rad(0),math.rad(45) - math.sin(sine/7.5)/30), 0.15) | |
4473 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(5) - math.sin(sine/7.5)/30), 0.15) | |
4474 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) - math.sin(sine/7.5)/30), 0.15) | |
4475 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(1, -2, 0) * c_angles(math.rad(0), math.rad(0),math.rad(80) + math.sin(sine/7.5)/30), 0.15) | |
4476 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2 + math.sin(sine/7.5)/15 - math.sin(sine/7.5)/30, 2.5, -0.3) * c_angles(math.rad(0),math.rad(-15), math.rad(-45) + math.sin(sine/7.5)/30), 0.15) | |
4477 | elseif idle >= 2650 then | |
4478 | angleSpeed = 1 | |
4479 | axisSpeed = 1 | |
4480 | change = 0.5 | |
4481 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.4, 0) * c_angles(math.rad(-20),math.rad(0) - math.sin(sine/7.5)/15,math.rad(-20)), 0.15) | |
4482 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1 + math.sin(sine/7.5)/15, 1 , -0.3) * c_angles(math.rad(190),math.rad(0),math.rad(-10) - math.sin(sine/7.5)/30), 0.15) | |
4483 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(5) - math.sin(sine/7.5)/30), 0.15) | |
4484 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) - math.sin(sine/7.5)/30), 0.15) | |
4485 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(1, -2, 0) * c_angles(math.rad(0), math.rad(0),math.rad(80) + math.sin(sine/7.5)/30), 0.15) | |
4486 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(-1.3 + math.sin(sine/7.5)/5, 4, -0.3) * c_angles(math.rad(0),math.rad(-90), math.rad(0)), 0.15) | |
4487 | elseif idle >= 500 and idle < 1200 then | |
4488 | angleSpeed = 1 | |
4489 | axisSpeed = 1 | |
4490 | change = 0.5 | |
4491 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(20) + math.sin(sine/7.5)/15), 0.15) | |
4492 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-150), math.rad(0),math.rad(20) - math.sin(sine/7.5)/15), 0.15) | |
4493 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.625, -0.85 - math.sin(sine/7.5)/15, -0.3) * c_angles(math.rad(-20), math.rad(20) + math.sin(sine/7.5)/15, math.rad(5)), 0.15) | |
4494 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5)), 0.15) | |
4495 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
4496 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(-0.2 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(20) + math.sin(sine/15)/15), 0.15) | |
4497 | else -- Neutral Idle | |
4498 | angleSpeed = 1 | |
4499 | axisSpeed = 1 | |
4500 | change = 0.5 | |
4501 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(-20) + math.sin(sine/7.5)/15), 0.15) | |
4502 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(20) - math.sin(sine/7.5)/15), 0.15) | |
4503 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
4504 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
4505 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
4506 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
4507 | end | |
4508 | elseif SansAnim == true then | |
4509 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-15)), Sanim) | |
4510 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(15)), Sanim) | |
4511 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5, 0) * c_angles(math.rad(0) - math.sin(sine/15)/5,math.rad(0),math.rad(-10)), Sanim) | |
4512 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5 , 0) * c_angles(math.rad(0) - math.sin(sine/15)/5,math.rad(0),math.rad(10)), Sanim) | |
4513 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/15)/6, -0.95 + math.sin(sine/7.5)/5, 0) * c_angles(math.rad(0) + math.sin(sine/15)/5, math.rad(0),math.rad(0)), Sanim) | |
4514 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/6, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/5,math.rad(0), math.rad(0) + math.sin(sine/15)/4), Sanim) | |
4515 | end | |
4516 | else | |
4517 | if idle >= 1000 and idle < 2000 then -- Resting Demon | |
4518 | angleSpeed = 1 | |
4519 | axisSpeed = 1 | |
4520 | change = 0.5 | |
4521 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(60) - math.sin(sine/15)/25,math.rad(-35) + math.sin(sine/15)/25,math.rad(-10)), 0.15) | |
4522 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0 + math.sin(sine/7.5)/15, 0.5) * c_angles(math.rad(-30),math.rad(0),math.rad(20)), 0.15) | |
4523 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(80) - math.sin(sine/7.5)/15,math.rad(20) + math.sin(sine/7.5)/15,math.rad(0)), 0.15) | |
4524 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.8, 0 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(40) - math.sin(sine/7.5)/15,math.rad(-20),math.rad(20)), 0.15) | |
4525 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -2.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-1) + math.sin(sine/7.5)/5, math.rad(80),math.rad(-1) - math.sin(sine/7.5)/5), 0.15) | |
4526 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(30) + math.sin(sine/7.5)/15,math.rad(-70) + math.sin(sine/7.5)/15, math.rad(0)), 0.15) | |
4527 | elseif idle >= 2000 then | |
4528 | angleSpeed = 1 | |
4529 | axisSpeed = 1 | |
4530 | change = 0.5 | |
4531 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(40) - math.sin(sine/15)/25,math.rad(-35) + math.sin(sine/15)/25,math.rad(-10)), 0.15) | |
4532 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.4 + math.sin(sine/7.5)/15, 0.5) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
4533 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15,math.rad(20) + math.sin(sine/7.5)/15,math.rad(0)), 0.15) | |
4534 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.6, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(40) - math.sin(sine/7.5)/15,math.rad(-20),math.rad(20)), 0.15) | |
4535 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/5, 0) * c_angles(math.rad(-1) + math.sin(sine/7.5)/5, math.rad(80),math.rad(-1) - math.sin(sine/7.5)/5), 0.15) | |
4536 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(30) + math.sin(sine/7.5)/15,math.rad(-70) + math.sin(sine/7.5)/15, math.rad(0)), 0.15) | |
4537 | else -- Demon Idle | |
4538 | angleSpeed = 1 | |
4539 | axisSpeed = 1 | |
4540 | change = 0.5 | |
4541 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(30) - math.sin(sine/7.5)/15,math.rad(25) - math.sin(sine/7.5)/15), 0.15) | |
4542 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) + math.sin(sine/7.5)/15,math.rad(-25) + math.sin(sine/7.5)/15), 0.15) | |
4543 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10) - math.sin(sine/7.5)/30,math.rad(0),math.rad(0)), 0.15) | |
4544 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15) - math.sin(sine/7.5)/15,math.rad(0),math.rad(0)), 0.15) | |
4545 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/30, math.rad(0),math.rad(0)), 0.15) | |
4546 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10) - math.sin(sine/7.5)/30,math.rad(0), math.rad(0) + math.sin(sine/7.5)/15), 0.15) | |
4547 | end | |
4548 | end | |
4549 | elseif currentAnim == "Walking" and Animations == false then | |
4550 | if sprint==false then | |
4551 | if Transformed == false then | |
4552 | angleSpeed = 1 | |
4553 | axisSpeed = 1 | |
4554 | Humanoid.WalkSpeed = 6 | |
4555 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + 0.5 * math.cos(sine/7.5)/15, 0) * c_angles(math.rad(0) +math.sin(sine/4)/3, math.rad(0), math.rad(10)), 0.15) | |
4556 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + 0.5 * math.cos(sine/7.5)/15, 0) * c_angles(math.rad(0) -math.sin(sine/4)/3,math.rad(0), math.rad(-10)), 0.15) | |
4557 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1.15 + 0.5 * math.cos(sine/4)/3, -0.6 * math.cos(sine / 4) / 3) * c_angles(math.rad(-1 - 5 * math.cos(sine / 4)) + Left_Leg.RotVelocity.Y / 75 + math.sin(sine / 4) / 3, math.rad(0) - math.sin(sine/4)/6, math.rad(5)), 0.15) | |
4558 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1.15 - 0.5 * math.cos(sine/4)/3, 0.6 * math.cos(sine / 4) / 3) * c_angles( math.rad(-1 + 5 * math.cos(sine / 4)) - Right_Leg.RotVelocity.Y / 75 + -math.sin(sine / 4) / 3, math.rad(0) - math.sin(sine/4)/6, math.rad(-5)), 0.15) | |
4559 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0 - 2.5 * math.sin(sine / 8)), math.rad(0) + math.sin(sine/4)/6 , math.sin((rootPart.RotVelocity.Y/15))/4), 0.15) | |
4560 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/7.5)/15,math.sin((rootPart.RotVelocity.Y/2.5))/2, math.sin((rootPart.RotVelocity.Y/15))/2), 0.15) | |
4561 | else | |
4562 | Humanoid.WalkSpeed = 18 | |
4563 | angleSpeed = 1 | |
4564 | axisSpeed = 1 | |
4565 | change = 0.5 | |
4566 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(30),math.rad(25)), 0.15) | |
4567 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(-25)), 0.15) | |
4568 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(0)), 0.15) | |
4569 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-25),math.rad(0),math.rad(0)), 0.15) | |
4570 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-10), math.rad(0),math.rad(0)), 0.15) | |
4571 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15) | |
4572 | end | |
4573 | else | |
4574 | if Transformed == false then | |
4575 | angleSpeed = 10 | |
4576 | axisSpeed = 10 | |
4577 | Humanoid.WalkSpeed = 18 | |
4578 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/15)/15, 0) * c_angles(math.sin(sine/3)/1, math.rad(0),math.rad(20) - math.sin(sine/1.5)/5), 0.15) | |
4579 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/15)/15, 0) * c_angles(-math.sin(sine/3)/1, math.rad(0),math.rad(-20) + math.sin(sine/1.5)/5), 0.15) | |
4580 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.9 + math.cos(sine/3)/1, -1 * math.cos(sine / 3) / 1) * c_angles(math.rad(-3)+math.sin(sine/3)/1, math.rad(0) + math.sin(sine/3)/15, math.rad(0)), 0.15) | |
4581 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.9 - math.cos(sine/3)/1, 1 * math.cos(sine / 3) / 1) * c_angles( math.rad(3)-math.sin(sine/3)/1, math.rad(0) + math.sin(sine/3)/15, math.rad(0)), 0.15) | |
4582 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/1.5)/5, 0) * c_angles(math.rad(-20) + math.sin(sine/1.5)/5, math.rad(0) + math.sin(sine/3)/15, math.sin((rootPart.RotVelocity.Y/15))/2), 0.15) | |
4583 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/15)/15) * c_angles(math.rad(20) + math.sin(sine/7.5)/15,math.sin((rootPart.RotVelocity.Y/2.5))/2, math.sin((rootPart.RotVelocity.Y/15))/2), 0.15) | |
4584 | else | |
4585 | Trace() | |
4586 | angleSpeed = 10 | |
4587 | axisSpeed = 10 | |
4588 | Humanoid.WalkSpeed = 200 | |
4589 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(30),math.rad(45)), 0.15) | |
4590 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(-45)), 0.15) | |
4591 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15) | |
4592 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.15) | |
4593 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-45), math.rad(0),math.sin((rootPart.RotVelocity.Y/15))/2), 0.15) | |
4594 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(30),math.sin((rootPart.RotVelocity.Y/2.5))/2, math.sin((rootPart.RotVelocity.Y/15))/2), 0.15) | |
4595 | end | |
4596 | end | |
4597 | end | |
4598 | end) |