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