SHOW:
|
|
- or go back to the newest paste.
1 | -----------//THE NIGHTFALL\\----------- | |
2 | --[[Movelist | |
3 | Mouseclick = 3 combos | |
4 | -Attack 1 = Downwards slash | |
5 | -Attack 2 = Power slash | |
6 | -Attack 3 = Whirlwind slash | |
7 | Q = Impale | |
8 | E = Forward dash | |
9 | R = Ear destroyer | |
10 | T = Taunt | |
11 | Y = Cutting storm | |
12 | U = Homing Cutting storm | |
13 | ---------]] | |
14 | ||
15 | --Recreated from the game Before the dawn: Redux.-- | |
16 | --Those who used this right when it was released, yes it was broken, it's fixed now-- | |
17 | --Impale dem suckazz and reeeeeeeeee-- | |
18 | ||
19 | if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {} | |
20 | do | |
21 | script.Parent = owner.Character | |
22 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
23 | local function NewFakeEvent() | |
24 | local Bind = Instance.new("BindableEvent") | |
25 | local Fake;Fake = {Connections = {}, | |
26 | fakeEvent=true; | |
27 | Connect=function(self,Func) | |
28 | Bind.Event:connect(Func) | |
29 | self.Connections[Bind] = true | |
30 | return setmetatable({Connected = true},{ | |
31 | __index = function (self,Index) | |
32 | if Index:lower() == "disconnect" then | |
33 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
34 | end | |
35 | return Fake[Index] | |
36 | end; | |
37 | __tostring = function() return "Connection" end; | |
38 | }) | |
39 | end} | |
40 | Fake.connect = Fake.Connect;return Fake; | |
41 | end | |
42 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
43 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
44 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
45 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
46 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
47 | local function TriggerEvent(self,Event,...) | |
48 | local Trigger = Mouse[Event] | |
49 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
50 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
51 | end | |
52 | end | |
53 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
54 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
55 | if FiredBy.Name ~= owner.Name then return end | |
56 | if Input.MouseEvent then | |
57 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
58 | else | |
59 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
60 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
61 | for _,Action in pairs(ContextActionService.Actions) do | |
62 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
63 | end | |
64 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
65 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
66 | end | |
67 | end) | |
68 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
69 | Event.Parent = NLS([[ | |
70 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
71 | local Input = function(Input,gameProcessedEvent) | |
72 | if gameProcessedEvent then return end | |
73 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
74 | end | |
75 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
76 | local Hit,Target | |
77 | while wait(1/30) do | |
78 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
79 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
80 | end | |
81 | end | |
82 | ]],owner.Character) | |
83 | end | |
84 | RealGame = game;game = setmetatable({},{ | |
85 | __index = function (self,Index) | |
86 | local Sandbox = function (Thing) | |
87 | if Thing:IsA("Player") then | |
88 | local RealPlayer = Thing | |
89 | return setmetatable({},{ | |
90 | __index = function (self,Index) | |
91 | local Type = type(RealPlayer[Index]) | |
92 | if Type == "function" then | |
93 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
94 | return function (self)return InternalData["Mouse"] end | |
95 | end | |
96 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
97 | end | |
98 | return RealPlayer[Index] | |
99 | end; | |
100 | __tostring = function(self) return RealPlayer.Name end | |
101 | }) | |
102 | end | |
103 | end | |
104 | if RealGame[Index] then | |
105 | local Type = type(RealGame[Index]) | |
106 | if Type == "function" then | |
107 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
108 | return function (self,Service) | |
109 | local FakeServices = { | |
110 | ["players"] = function() | |
111 | return setmetatable({},{ | |
112 | __index = function (self2,Index2) | |
113 | local RealService = RealGame:GetService(Service) | |
114 | local Type2 = type(Index2) | |
115 | if Type2 == "function" then | |
116 | return function (self,...) return RealService[Index2](RealService,...)end | |
117 | else | |
118 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
119 | return RealService[Index2] | |
120 | end | |
121 | end; | |
122 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
123 | }) | |
124 | end; | |
125 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
126 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
127 | ["runservice"] = function() | |
128 | return setmetatable({},{ | |
129 | __index = function(self2,Index2) | |
130 | local RealService = RealGame:GetService(Service) | |
131 | local Type2 = type(Index2) | |
132 | if Type2 == "function" then | |
133 | return function (self,...) return RealService[Index2](RealService,...) end | |
134 | else | |
135 | local RunServices = { | |
136 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
137 | ["renderstepped"] = function() return RealService["Stepped"] end | |
138 | } | |
139 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
140 | return RealService[Index2] | |
141 | end | |
142 | end | |
143 | }) | |
144 | end | |
145 | } | |
146 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
147 | return RealGame:GetService(Service) | |
148 | end | |
149 | end | |
150 | return function (self,...) return RealGame[Index](RealGame,...) end | |
151 | else | |
152 | if game:GetService(Index) then return game:GetService(Index) end | |
153 | return RealGame[Index] | |
154 | end | |
155 | end | |
156 | return nil | |
157 | end | |
158 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...") | |
159 | ||
160 | -----------//THE NIGHTFALL\\----------- | |
161 | --[[Movelist | |
162 | Mouseclick = 3 combos | |
163 | -Attack 1 = Downwards slash | |
164 | -Attack 2 = Power slash | |
165 | -Attack 3 = Whirlwind slash | |
166 | Q = Impale | |
167 | E = Forward dash | |
168 | R = Ear destroyer | |
169 | T = Taunt | |
170 | Y = Cutting storm | |
171 | U = Homing Cutting storm | |
172 | ---------]] | |
173 | ||
174 | --Recreated from the game Before the dawn: Redux.-- | |
175 | --For those who used this when it was just released, it was broken, it's fixed now as of 12-18-2018-- | |
176 | --Impale dem suckazz and reeeeeeee-- | |
177 | ||
178 | Player=game.Players.LocalPlayer | |
179 | Character=Player.Character | |
180 | Character.Humanoid.Name = "nightfall" | |
181 | hum = Character.nightfall | |
182 | LeftArm=Character["Left Arm"] | |
183 | LeftLeg=Character["Left Leg"] | |
184 | RightArm=Character["Right Arm"] | |
185 | RightLeg=Character["Right Leg"] | |
186 | Root=Character["HumanoidRootPart"] | |
187 | Head=Character["Head"] | |
188 | Torso=Character["Torso"] | |
189 | Neck=Torso["Neck"] | |
190 | walking = false | |
191 | singularitybounce = false | |
192 | jumping = false | |
193 | targetfound = false | |
194 | grabbed = false | |
195 | attacking = false | |
196 | firsttime = false | |
197 | dash1 = true | |
198 | dash2 = false | |
199 | tauntdebounce = false | |
200 | mouse = Player:GetMouse() | |
201 | position = nil | |
202 | MseGuide = true | |
203 | running = false | |
204 | settime = 0 | |
205 | sine = 0 | |
206 | t = 0 | |
207 | ws = 19 | |
208 | jp = 85 | |
209 | secondform = false | |
210 | change = 1 | |
211 | combo1 = true | |
212 | dancing = false | |
213 | equip = false | |
214 | dgs = 75 | |
215 | dedlaff = false | |
216 | combo2 = false | |
217 | spin1 = true | |
218 | spin2 = false | |
219 | switch1 = true | |
220 | switch2 = false | |
221 | firsttime2 = false | |
222 | isattacking = false | |
223 | combo3 = false | |
224 | gunallowance = false | |
225 | cooldown = false | |
226 | shooting = false | |
227 | RunSrv = game:GetService("RunService") | |
228 | RenderStepped = game:GetService("RunService").RenderStepped | |
229 | removeuseless = game:GetService("Debris") | |
230 | local slasher = {1543186629,1543187082,1543187280,1543186883} | |
231 | local slasher2 = {220834019,220834000,220833976,220833967} | |
232 | slash = #slasher | |
233 | slash2 = #slasher2 | |
234 | screenGui = Instance.new("ScreenGui") | |
235 | screenGui.Parent = script.Parent | |
236 | ||
237 | local HEADLERP = Instance.new("ManualWeld") | |
238 | HEADLERP.Parent = Head | |
239 | HEADLERP.Part0 = Head | |
240 | HEADLERP.Part1 = Head | |
241 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
242 | ||
243 | local TORSOLERP = Instance.new("ManualWeld") | |
244 | TORSOLERP.Parent = Root | |
245 | TORSOLERP.Part0 = Torso | |
246 | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
247 | ||
248 | local ROOTLERP = Instance.new("ManualWeld") | |
249 | ROOTLERP.Parent = Root | |
250 | ROOTLERP.Part0 = Root | |
251 | ROOTLERP.Part1 = Torso | |
252 | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
253 | ||
254 | local RIGHTARMLERP = Instance.new("ManualWeld") | |
255 | RIGHTARMLERP.Parent = RightArm | |
256 | RIGHTARMLERP.Part0 = RightArm | |
257 | RIGHTARMLERP.Part1 = Torso | |
258 | RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
259 | ||
260 | local LEFTARMLERP = Instance.new("ManualWeld") | |
261 | LEFTARMLERP.Parent = LeftArm | |
262 | LEFTARMLERP.Part0 = LeftArm | |
263 | LEFTARMLERP.Part1 = Torso | |
264 | LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
265 | ||
266 | local RIGHTLEGLERP = Instance.new("ManualWeld") | |
267 | RIGHTLEGLERP.Parent = RightLeg | |
268 | RIGHTLEGLERP.Part0 = RightLeg | |
269 | RIGHTLEGLERP.Part1 = Torso | |
270 | RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
271 | ||
272 | local LEFTLEGLERP = Instance.new("ManualWeld") | |
273 | LEFTLEGLERP.Parent = LeftLeg | |
274 | LEFTLEGLERP.Part0 = LeftLeg | |
275 | LEFTLEGLERP.Part1 = Torso | |
276 | LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
277 | ||
278 | local function weldBetween(a, b) | |
279 | local weld = Instance.new("ManualWeld", a) | |
280 | weld.Part0 = a | |
281 | weld.Part1 = b | |
282 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
283 | return weld | |
284 | end | |
285 | ||
286 | function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR) | |
287 | A = Instance.new("Attachment", PARENT) | |
288 | A.Position = POSITION1 | |
289 | A.Name = "A" | |
290 | B = Instance.new("Attachment", PARENT) | |
291 | B.Position = POSITION2 | |
292 | B.Name = "B" | |
293 | tr1 = Instance.new("Trail", PARENT) | |
294 | tr1.Attachment0 = A | |
295 | tr1.Attachment1 = B | |
296 | tr1.Enabled = true | |
297 | tr1.Lifetime = LIFETIME | |
298 | tr1.TextureMode = "Static" | |
299 | tr1.LightInfluence = 0 | |
300 | tr1.Color = COLOR | |
301 | tr1.Transparency = NumberSequence.new(0, 1) | |
302 | end | |
303 | ||
304 | footsteps = Instance.new("Sound",Torso) | |
305 | - | footsteps.SoundId = "rbxassetid://1244506786" |
305 | + | footsteps.SoundId = "rbxassetid://252965149" |
306 | footsteps.Volume = 0 | |
307 | footsteps.Looped = true | |
308 | footsteps.Pitch = 1.6 | |
309 | footsteps.Name = "fp" | |
310 | footsteps:Play() | |
311 | ||
312 | slash = slasher[math.random(1,#slasher)] | |
313 | slashs = Instance.new("Sound",RightArm) | |
314 | slashs.SoundId = "rbxassetid://"..slash | |
315 | slashs.Volume = 10 | |
316 | slashs.Pitch = 1 | |
317 | slashs.Name = "slashs" | |
318 | ||
319 | introsound = Instance.new("Sound",Torso) | |
320 | - | introsound.SoundId = "rbxassetid://1842444810" |
320 | + | introsound.SoundId = "rbxassetid://1447540455" |
321 | introsound.Volume = 4 | |
322 | introsound:Play() | |
323 | ||
324 | coroutine.wrap(function() | |
325 | doomtheme = Instance.new("Sound",Torso) | |
326 | doomtheme.Volume = 0 | |
327 | - | doomtheme.SoundId = "rbxassetid://2114921530" |
327 | + | doomtheme.SoundId = "rbxassetid://27697735" |
328 | doomtheme.Looped = true | |
329 | doomtheme:Play() | |
330 | doomtheme.Name = "doomtheme" | |
331 | for i = 1, 20 do | |
332 | doomtheme.Volume = doomtheme.Volume + .1 | |
333 | wait() | |
334 | end | |
335 | end)() | |
336 | ||
337 | Torso.ChildRemoved:connect(function(removed) | |
338 | if removed.Name == "doomtheme" then | |
339 | doomtheme = Instance.new("Sound",Torso) | |
340 | - | doomtheme.SoundId = "rbxassetid://2114921530" |
340 | + | doomtheme.SoundId = "rbxassetid://27697735" |
341 | doomtheme.Looped = true | |
342 | doomtheme.Volume = 2 | |
343 | doomtheme:Play() | |
344 | doomtheme.Name = "doomtheme" | |
345 | end | |
346 | end) | |
347 | ||
348 | Torso.ChildRemoved:connect(function(removed) | |
349 | if removed.Name == "slashs" then | |
350 | slash = slasher[math.random(1,#slasher)] | |
351 | slashs = Instance.new("Sound",RightArm) | |
352 | slashs.SoundId = "rbxassetid://"..slash | |
353 | slashs.Volume = 10 | |
354 | slashs.Pitch = 1 | |
355 | slashs.Name = "slashs" | |
356 | end | |
357 | end) | |
358 | ||
359 | Torso.ChildRemoved:connect(function(removed) | |
360 | if removed.Name == "fp" then | |
361 | footsteps = Instance.new("Sound",Torso) | |
362 | - | footsteps.SoundId = "rbxassetid://1244506786" |
362 | + | footsteps.SoundId = "rbxassetid://252965149" |
363 | footsteps.Volume = 0 | |
364 | footsteps.Looped = true | |
365 | footsteps.Pitch = 1.6 | |
366 | footsteps.Name = "fp" | |
367 | footsteps:Play() | |
368 | end | |
369 | end) | |
370 | ||
371 | leftlocation = Instance.new("Part",LeftArm) | |
372 | leftlocation.Size = Vector3.new(1,1,1) | |
373 | leftlocation.Transparency = 1 | |
374 | leftlocation.Name = "leftlocation" | |
375 | leftlocationweld = weldBetween(leftlocation,LeftArm) | |
376 | leftlocationweld.C0 = CFrame.new(0,1.2,0) | |
377 | rightlocation = Instance.new("Part",RightArm) | |
378 | rightlocation.Size = Vector3.new(1,1,1) | |
379 | rightlocation.Transparency = 1 | |
380 | rightlocation.Name = "rightlocation" | |
381 | rightlocationweld = weldBetween(rightlocation,RightArm) | |
382 | rightlocationweld.C0 = CFrame.new(0,1.2,0) | |
383 | ||
384 | A = Instance.new("Attachment", rightlocation) | |
385 | A.Position = Vector3.new(.1,.3,.1) | |
386 | A.Name = "A" | |
387 | B = Instance.new("Attachment", rightlocation) | |
388 | B.Position = Vector3.new(-.1,-.3,-.1) | |
389 | B.Name = "B" | |
390 | tr1 = Instance.new("Trail", rightlocation) | |
391 | tr1.Attachment0 = A | |
392 | tr1.Attachment1 = B | |
393 | tr1.Enabled = false | |
394 | tr1.Lifetime = .6 | |
395 | tr1.TextureMode = "Static" | |
396 | tr1.LightInfluence = 0 | |
397 | tr1.Color = ColorSequence.new(BrickColor.new("Eggplant").Color,BrickColor.new("Really black").Color) | |
398 | tr1.Transparency = NumberSequence.new(0, 1) | |
399 | ||
400 | shirt = Instance.new("Shirt", Character) | |
401 | shirt.Name = "Shirt" | |
402 | Character.Shirt.ShirtTemplate = "rbxassetid://302262616" | |
403 | ||
404 | particlecolor = ColorSequence.new(Color3.new(255, 255, 255)) | |
405 | ||
406 | leftlocation = Instance.new("Part",LeftArm) | |
407 | leftlocation.Size = Vector3.new(1,1,1) | |
408 | leftlocation.Transparency = 1 | |
409 | leftlocation.Name = "leftlocation" | |
410 | leftlocationweld = weldBetween(leftlocation,LeftArm) | |
411 | leftlocationweld.C0 = CFrame.new(0,1.2,0) | |
412 | rightlocation = Instance.new("Part",RightArm) | |
413 | rightlocation.Size = Vector3.new(1,1,1) | |
414 | rightlocation.Transparency = 1 | |
415 | rightlocation.Name = "rightlocation" | |
416 | rightlocationweld = weldBetween(rightlocation,RightArm) | |
417 | rightlocationweld.C0 = CFrame.new(0,1.2,0) | |
418 | ||
419 | particlemiter1 = Instance.new("ParticleEmitter", LeftArm) | |
420 | particlemiter1.Enabled = false | |
421 | particlemiter1.Color = particlecolor | |
422 | particlemiter1.Texture = "rbxassetid://886346744" | |
423 | particlemiter1.Lifetime = NumberRange.new(.05) | |
424 | particlemiter1.Size = NumberSequence.new(1.75,1.75) | |
425 | particlemiter1.Rate = 4 | |
426 | particlemiter1.Rotation = NumberRange.new(0,360) | |
427 | particlemiter1.RotSpeed = NumberRange.new(0) | |
428 | particlemiter1.Speed = NumberRange.new(0) | |
429 | particlemiter2 = Instance.new("ParticleEmitter", RightArm) | |
430 | particlemiter2.Enabled = false | |
431 | particlemiter2.Color = particlecolor | |
432 | particlemiter2.Texture = "rbxassetid://886346744" | |
433 | particlemiter2.Rotation = NumberRange.new(0,360) | |
434 | particlemiter2.Lifetime = NumberRange.new(.05) | |
435 | particlemiter2.Size = NumberSequence.new(1.75,1.75) | |
436 | particlemiter2.Rate = 4 | |
437 | particlemiter2.RotSpeed = NumberRange.new(0) | |
438 | particlemiter2.Speed = NumberRange.new(0) | |
439 | particlemiter4 = Instance.new("ParticleEmitter", LeftLeg) | |
440 | particlemiter4.Enabled = false | |
441 | particlemiter4.Color = particlecolor | |
442 | particlemiter4.Texture = "rbxassetid://886346744" | |
443 | particlemiter4.Lifetime = NumberRange.new(.05) | |
444 | particlemiter4.Rotation = NumberRange.new(0,360) | |
445 | particlemiter4.Size = NumberSequence.new(1.75,1.75) | |
446 | particlemiter4.Rate = 4 | |
447 | particlemiter4.RotSpeed = NumberRange.new(0) | |
448 | particlemiter4.Speed = NumberRange.new(0) | |
449 | particlemiter5 = Instance.new("ParticleEmitter", RightLeg) | |
450 | particlemiter5.Enabled = false | |
451 | particlemiter5.Color = particlecolor | |
452 | particlemiter5.Texture = "rbxassetid://886346744" | |
453 | particlemiter5.Rotation = NumberRange.new(0,360) | |
454 | particlemiter5.Lifetime = NumberRange.new(.05) | |
455 | particlemiter5.Size = NumberSequence.new(1.75,1.75) | |
456 | particlemiter5.Rate = 4 | |
457 | particlemiter5.RotSpeed = NumberRange.new(0) | |
458 | particlemiter5.Speed = NumberRange.new(0) | |
459 | particlemiter6 = Instance.new("ParticleEmitter", Torso) | |
460 | particlemiter6.Enabled = false | |
461 | particlemiter6.Color = particlecolor | |
462 | particlemiter6.Texture = "rbxassetid://886346744" | |
463 | particlemiter6.Rotation = NumberRange.new(0,360) | |
464 | particlemiter6.Lifetime = NumberRange.new(.05) | |
465 | particlemiter6.Size = NumberSequence.new(1.75,1.75) | |
466 | particlemiter6.Rate = 4 | |
467 | particlemiter6.RotSpeed = NumberRange.new(0) | |
468 | particlemiter6.Speed = NumberRange.new(0) | |
469 | particlemiter7 = Instance.new("ParticleEmitter", Head) | |
470 | particlemiter7.Enabled = false | |
471 | particlemiter7.Color = particlecolor | |
472 | particlemiter7.Texture = "rbxassetid://886346744" | |
473 | particlemiter7.Rotation = NumberRange.new(0,360) | |
474 | particlemiter7.Lifetime = NumberRange.new(.05) | |
475 | particlemiter7.Size = NumberSequence.new(1.75,1.75) | |
476 | particlemiter7.Rate = 4 | |
477 | particlemiter7.RotSpeed = NumberRange.new(0) | |
478 | particlemiter7.Speed = NumberRange.new(0) | |
479 | ||
480 | coroutine.wrap(function() | |
481 | while true do | |
482 | wait(7) | |
483 | particlemiter1.Enabled = true | |
484 | particlemiter2.Enabled = true | |
485 | particlemiter4.Enabled = true | |
486 | particlemiter5.Enabled = true | |
487 | particlemiter6.Enabled = true | |
488 | particlemiter7.Enabled = true | |
489 | swait(60) | |
490 | particlemiter1.Enabled = false | |
491 | particlemiter2.Enabled = false | |
492 | particlemiter4.Enabled = false | |
493 | particlemiter5.Enabled = false | |
494 | particlemiter6.Enabled = false | |
495 | particlemiter7.Enabled = false | |
496 | wait(11) | |
497 | particlemiter1.Enabled = true | |
498 | particlemiter2.Enabled = true | |
499 | particlemiter4.Enabled = true | |
500 | particlemiter5.Enabled = true | |
501 | particlemiter6.Enabled = true | |
502 | particlemiter7.Enabled = true | |
503 | swait(60) | |
504 | particlemiter1.Enabled = false | |
505 | particlemiter2.Enabled = false | |
506 | particlemiter4.Enabled = false | |
507 | particlemiter5.Enabled = false | |
508 | particlemiter6.Enabled = false | |
509 | particlemiter7.Enabled = false | |
510 | wait(4) | |
511 | particlemiter1.Enabled = true | |
512 | particlemiter2.Enabled = true | |
513 | particlemiter4.Enabled = true | |
514 | particlemiter5.Enabled = true | |
515 | particlemiter6.Enabled = true | |
516 | particlemiter7.Enabled = true | |
517 | swait(60) | |
518 | particlemiter1.Enabled = false | |
519 | particlemiter2.Enabled = false | |
520 | particlemiter4.Enabled = false | |
521 | particlemiter5.Enabled = false | |
522 | particlemiter6.Enabled = false | |
523 | particlemiter7.Enabled = false | |
524 | swait() | |
525 | end | |
526 | end)() | |
527 | ||
528 | Head.BrickColor = BrickColor.new("Really black") | |
529 | ||
530 | ||
531 | mas = Instance.new("Model",Head) | |
532 | mas.Name = "Model2Script" | |
533 | o1 = Instance.new("Model") | |
534 | o2 = Instance.new("Part") | |
535 | o3 = Instance.new("Part") | |
536 | o4 = Instance.new("Part") | |
537 | o5 = Instance.new("Part") | |
538 | o6 = Instance.new("Part") | |
539 | o7 = Instance.new("Part") | |
540 | o8 = Instance.new("Part") | |
541 | o9 = Instance.new("Part") | |
542 | o10 = Instance.new("Part") | |
543 | o11 = Instance.new("Part") | |
544 | o12 = Instance.new("Part") | |
545 | o13 = Instance.new("Part") | |
546 | o14 = Instance.new("Part") | |
547 | o15 = Instance.new("Part") | |
548 | o16 = Instance.new("Part") | |
549 | o17 = Instance.new("Part") | |
550 | o18 = Instance.new("Part") | |
551 | o19 = Instance.new("Part") | |
552 | o20 = Instance.new("Part") | |
553 | o21 = Instance.new("Part") | |
554 | o22 = Instance.new("Part") | |
555 | o23 = Instance.new("Part") | |
556 | o24 = Instance.new("Part") | |
557 | o25 = Instance.new("Part") | |
558 | o26 = Instance.new("Part") | |
559 | o27 = Instance.new("Part") | |
560 | o28 = Instance.new("Part") | |
561 | o29 = Instance.new("Part") | |
562 | o30 = Instance.new("Part") | |
563 | o31 = Instance.new("Part") | |
564 | o32 = Instance.new("Part") | |
565 | o33 = Instance.new("Part") | |
566 | o34 = Instance.new("Part") | |
567 | o35 = Instance.new("Part") | |
568 | o36 = Instance.new("Part") | |
569 | o37 = Instance.new("Part") | |
570 | o1.Parent = mas | |
571 | o2.Name = "Head" | |
572 | o2.Parent = o1 | |
573 | o2.Material = Enum.Material.SmoothPlastic | |
574 | o2.BrickColor = BrickColor.new("Really black") | |
575 | o2.Transparency = 1 | |
576 | o2.Rotation = Vector3.new(-0.00999999978, 3.26999998, 0.00999999978) | |
577 | o2.FormFactor = Enum.FormFactor.Symmetric | |
578 | o2.Size = Vector3.new(1.99999988, 0.99999994, 0.99999994) | |
579 | o2.CFrame = CFrame.new(12.5892553, 4.50960207, -3.75727963, 0.998376548, -0.000250246754, 0.0569584854, 0.000245001953, 1.00000846, 9.91025372e-05, -0.056957975, -8.49864373e-05, 0.998385131) | |
580 | o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
581 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
582 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
583 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
584 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
585 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
586 | o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
587 | o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
588 | o3.Parent = o2 | |
589 | o3.BrickColor = BrickColor.new("Fossil") | |
590 | o3.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
591 | o3.CanCollide = false | |
592 | o3.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
593 | o3.CFrame = CFrame.new(12.3422012, 4.47093582, -4.18185663, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
594 | o3.BottomSurface = Enum.SurfaceType.Smooth | |
595 | o3.TopSurface = Enum.SurfaceType.Smooth | |
596 | o3.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
597 | o3.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
598 | o4.Parent = o2 | |
599 | o4.Material = Enum.Material.Neon | |
600 | o4.BrickColor = BrickColor.new("Eggplant") | |
601 | o4.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
602 | o4.CanCollide = false | |
603 | o4.Shape = Enum.PartType.Ball | |
604 | o4.Size = Vector3.new(0.190001294, 0.190001294, 0.190001294) | |
605 | o4.CFrame = CFrame.new(12.6813383, 4.85306978, -4.3403945, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
606 | o4.BottomSurface = Enum.SurfaceType.Smooth | |
607 | o4.TopSurface = Enum.SurfaceType.Smooth | |
608 | o4.Color = Color3.new(0.482353, 0, 0.482353) | |
609 | o4.Color = Color3.new(0.482353, 0, 0.482353) | |
610 | o5.Parent = o2 | |
611 | o5.BrickColor = BrickColor.new("Fossil") | |
612 | o5.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
613 | o5.CanCollide = false | |
614 | o5.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
615 | o5.CFrame = CFrame.new(12.25453, 4.47092152, -4.12017584, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
616 | o5.BottomSurface = Enum.SurfaceType.Smooth | |
617 | o5.TopSurface = Enum.SurfaceType.Smooth | |
618 | o5.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
619 | o5.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
620 | o6.Parent = o2 | |
621 | o6.BrickColor = BrickColor.new("Fossil") | |
622 | o6.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
623 | o6.CanCollide = false | |
624 | o6.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
625 | o6.CFrame = CFrame.new(12.3307505, 4.47093344, -4.19189453, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
626 | o6.BottomSurface = Enum.SurfaceType.Smooth | |
627 | o6.TopSurface = Enum.SurfaceType.Smooth | |
628 | o6.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
629 | o6.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
630 | o7.Parent = o2 | |
631 | o7.BrickColor = BrickColor.new("Fossil") | |
632 | o7.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
633 | o7.CanCollide = false | |
634 | o7.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
635 | o7.CFrame = CFrame.new(12.4249439, 4.47095871, -4.24005365, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
636 | o7.BottomSurface = Enum.SurfaceType.Smooth | |
637 | o7.TopSurface = Enum.SurfaceType.Smooth | |
638 | o7.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
639 | o7.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
640 | o8.Parent = o2 | |
641 | o8.BrickColor = BrickColor.new("Fossil") | |
642 | o8.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
643 | o8.CanCollide = false | |
644 | o8.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
645 | o8.CFrame = CFrame.new(12.8379145, 4.46701479, -4.16434002, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
646 | o8.BottomSurface = Enum.SurfaceType.Smooth | |
647 | o8.TopSurface = Enum.SurfaceType.Smooth | |
648 | o8.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
649 | o8.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
650 | o9.Parent = o2 | |
651 | o9.BrickColor = BrickColor.new("Fossil") | |
652 | o9.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
653 | o9.CanCollide = false | |
654 | o9.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
655 | o9.CFrame = CFrame.new(12.9631338, 4.46704054, -4.09174585, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
656 | o9.BottomSurface = Enum.SurfaceType.Smooth | |
657 | o9.TopSurface = Enum.SurfaceType.Smooth | |
658 | o9.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
659 | o9.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
660 | o10.Parent = o2 | |
661 | o10.BrickColor = BrickColor.new("Fossil") | |
662 | o10.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
663 | o10.CanCollide = false | |
664 | o10.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
665 | o10.CFrame = CFrame.new(12.2429972, 4.4709177, -4.11946106, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
666 | o10.BottomSurface = Enum.SurfaceType.Smooth | |
667 | o10.TopSurface = Enum.SurfaceType.Smooth | |
668 | o10.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
669 | o10.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
670 | o11.Parent = o2 | |
671 | o11.Material = Enum.Material.Metal | |
672 | o11.BrickColor = BrickColor.new("Pearl") | |
673 | o11.Rotation = Vector3.new(-179.959991, 70.5100021, 179.970001) | |
674 | o11.CanCollide = false | |
675 | o11.Size = Vector3.new(0.250002503, 0.350000173, 0.2900002) | |
676 | o11.CFrame = CFrame.new(13.0351248, 4.18798542, -4.05297899, -0.333613515, -0.000202421492, 0.942709923, -1.74622983e-10, 1.00000834, 0.000214724801, -0.942718267, 7.16352733e-05, -0.333615392) | |
677 | o11.BottomSurface = Enum.SurfaceType.Smooth | |
678 | o11.TopSurface = Enum.SurfaceType.Smooth | |
679 | o11.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
680 | o11.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
681 | o12.Parent = o2 | |
682 | o12.Material = Enum.Material.Metal | |
683 | o12.BrickColor = BrickColor.new("Pearl") | |
684 | o12.Rotation = Vector3.new(-0.0199999996, 59.8599968, 0.0299999993) | |
685 | o12.CanCollide = false | |
686 | o12.Size = Vector3.new(0.250002503, 0.330000162, 0.2900002) | |
687 | o12.CFrame = CFrame.new(12.1336823, 4.17776823, -4.01179171, 0.502042472, -0.000225768134, 0.864842951, 0.000113000759, 1.00000834, 0.000195456203, -0.864849985, -3.99100827e-07, 0.502047539) | |
688 | o12.BottomSurface = Enum.SurfaceType.Smooth | |
689 | o12.TopSurface = Enum.SurfaceType.Smooth | |
690 | o12.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
691 | o12.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
692 | o13.Parent = o2 | |
693 | o13.BrickColor = BrickColor.new("Fossil") | |
694 | o13.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
695 | o13.CanCollide = false | |
696 | o13.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
697 | o13.CFrame = CFrame.new(12.4135151, 4.13782883, -4.25640917, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
698 | o13.BottomSurface = Enum.SurfaceType.Smooth | |
699 | o13.TopSurface = Enum.SurfaceType.Smooth | |
700 | o13.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
701 | o13.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
702 | o14.Parent = o2 | |
703 | o14.Material = Enum.Material.SmoothPlastic | |
704 | o14.BrickColor = BrickColor.new("Really black") | |
705 | o14.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
706 | o14.CanCollide = false | |
707 | o14.Size = Vector3.new(0.370002419, 0.380000234, 0.300000221) | |
708 | o14.CFrame = CFrame.new(12.5940952, 4.50669909, -4.2362237, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
709 | o14.BottomSurface = Enum.SurfaceType.Smooth | |
710 | o14.TopSurface = Enum.SurfaceType.Smooth | |
711 | o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
712 | o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
713 | o15.Parent = o2 | |
714 | o15.Material = Enum.Material.Metal | |
715 | o15.BrickColor = BrickColor.new("Pearl") | |
716 | o15.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
717 | o15.CanCollide = false | |
718 | o15.Size = Vector3.new(0.0800024197, 0.250000238, 0.300000221) | |
719 | o15.CFrame = CFrame.new(12.720789, 4.13790607, -4.30649519, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
720 | o15.BottomSurface = Enum.SurfaceType.Smooth | |
721 | o15.TopSurface = Enum.SurfaceType.Smooth | |
722 | o15.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
723 | o15.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
724 | o16.Parent = o2 | |
725 | o16.BrickColor = BrickColor.new("Fossil") | |
726 | o16.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
727 | o16.CanCollide = false | |
728 | o16.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
729 | o16.CFrame = CFrame.new(12.8739166, 4.14795494, -4.19200373, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
730 | o16.BottomSurface = Enum.SurfaceType.Smooth | |
731 | o16.TopSurface = Enum.SurfaceType.Smooth | |
732 | o16.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
733 | o16.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
734 | o17.Parent = o2 | |
735 | o17.Material = Enum.Material.Metal | |
736 | o17.BrickColor = BrickColor.new("Pearl") | |
737 | o17.Rotation = Vector3.new(0, 0.629999995, 30.0699997) | |
738 | o17.CanCollide = false | |
739 | o17.Size = Vector3.new(0.370002478, 0.120000228, 0.130000144) | |
740 | o17.CFrame = CFrame.new(13.0013018, 5.05734348, -4.35467005, 0.865364432, -0.501023412, 0.0109602921, 0.501057446, 0.865423858, 2.24432806e-05, -0.00949566439, 0.00547180884, 0.999948561) | |
741 | o17.BottomSurface = Enum.SurfaceType.Smooth | |
742 | o17.TopSurface = Enum.SurfaceType.Smooth | |
743 | o17.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
744 | o17.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
745 | o18.Parent = o2 | |
746 | o18.Material = Enum.Material.Neon | |
747 | o18.BrickColor = BrickColor.new("Eggplant") | |
748 | o18.Rotation = Vector3.new(0, 0.629999995, -89.9899979) | |
749 | o18.CanCollide = false | |
750 | o18.Shape = Enum.PartType.Cylinder | |
751 | o18.Size = Vector3.new(0.48999992, 1.15999997, 1.30999982) | |
752 | o18.CFrame = CFrame.new(12.586771, 4.26036596, -3.78879094, 0.000245000003, 0.999939919, 0.0109635293, -1.00000846, 0.000244855793, 1.46855382e-05, 1.19998876e-05, -0.0109626055, 0.999948502) | |
753 | o18.BottomSurface = Enum.SurfaceType.Smooth | |
754 | o18.TopSurface = Enum.SurfaceType.Smooth | |
755 | o18.Color = Color3.new(0.482353, 0, 0.482353) | |
756 | o18.Color = Color3.new(0.482353, 0, 0.482353) | |
757 | o19.Parent = o2 | |
758 | o19.Material = Enum.Material.Metal | |
759 | o19.BrickColor = BrickColor.new("Pearl") | |
760 | o19.Rotation = Vector3.new(0, 0.629999995, 12.8699999) | |
761 | o19.CanCollide = false | |
762 | o19.Size = Vector3.new(0.0800024197, 0.170000225, 0.2900002) | |
763 | o19.CFrame = CFrame.new(12.6530409, 4.55379057, -4.27083921, 0.974806547, -0.22278282, 0.0109562129, 0.222797751, 0.974873364, 2.55261766e-05, -0.0106856115, 0.00241591129, 0.999948502) | |
764 | o19.BottomSurface = Enum.SurfaceType.Smooth | |
765 | o19.TopSurface = Enum.SurfaceType.Smooth | |
766 | o19.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
767 | o19.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
768 | o20.Parent = o2 | |
769 | o20.Material = Enum.Material.Metal | |
770 | o20.BrickColor = BrickColor.new("Pearl") | |
771 | o20.Rotation = Vector3.new(-0.00999999978, 29.6299992, 0.0199999996) | |
772 | o20.CanCollide = false | |
773 | o20.Size = Vector3.new(0.420002431, 0.200000226, 0.2900002) | |
774 | o20.CFrame = CFrame.new(12.2898045, 4.11280489, -4.19457197, 0.869223297, -0.000238353008, 0.494419813, 0.000207001765, 1.00000846, 0.000118167409, -0.494423091, -3.67785105e-07, 0.869231284) | |
775 | o20.BottomSurface = Enum.SurfaceType.Smooth | |
776 | o20.TopSurface = Enum.SurfaceType.Smooth | |
777 | o20.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
778 | o20.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
779 | o21.Parent = o2 | |
780 | o21.Material = Enum.Material.Metal | |
781 | o21.BrickColor = BrickColor.new("Pearl") | |
782 | o21.Rotation = Vector3.new(0, 0.629999995, 30.0699997) | |
783 | o21.CanCollide = false | |
784 | o21.Size = Vector3.new(0.350002438, 0.120000228, 0.130000204) | |
785 | o21.CFrame = CFrame.new(13.0757389, 4.90882826, -4.35546923, 0.865364432, -0.501023412, 0.0109602921, 0.501057446, 0.865423858, 2.24432806e-05, -0.00949566439, 0.00547180884, 0.999948561) | |
786 | o21.BottomSurface = Enum.SurfaceType.Smooth | |
787 | o21.TopSurface = Enum.SurfaceType.Smooth | |
788 | o21.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
789 | o21.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
790 | o22.Parent = o2 | |
791 | o22.Material = Enum.Material.Metal | |
792 | o22.BrickColor = BrickColor.new("Pearl") | |
793 | o22.Rotation = Vector3.new(0, 0.629999995, 30.0699997) | |
794 | o22.CanCollide = false | |
795 | o22.Size = Vector3.new(0.330002487, 0.110000268, 0.140000194) | |
796 | o22.CFrame = CFrame.new(13.142314, 4.7739563, -4.35119486, 0.865364432, -0.501023412, 0.0109602921, 0.501057446, 0.865423858, 2.24432806e-05, -0.00949566439, 0.00547180884, 0.999948561) | |
797 | o22.BottomSurface = Enum.SurfaceType.Smooth | |
798 | o22.TopSurface = Enum.SurfaceType.Smooth | |
799 | o22.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
800 | o22.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
801 | o23.Parent = o2 | |
802 | o23.Material = Enum.Material.Metal | |
803 | o23.BrickColor = BrickColor.new("Pearl") | |
804 | o23.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
805 | o23.CanCollide = false | |
806 | o23.Size = Vector3.new(0.0800024197, 0.250000238, 0.2900002) | |
807 | o23.CFrame = CFrame.new(12.4452009, 4.13783503, -4.29846525, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
808 | o23.BottomSurface = Enum.SurfaceType.Smooth | |
809 | o23.TopSurface = Enum.SurfaceType.Smooth | |
810 | o23.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
811 | o23.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
812 | o24.Parent = o2 | |
813 | o24.Material = Enum.Material.Metal | |
814 | o24.BrickColor = BrickColor.new("Pearl") | |
815 | o24.Rotation = Vector3.new(0, 0.629999995, -30.1299992) | |
816 | o24.CanCollide = false | |
817 | o24.Size = Vector3.new(0.330002487, 0.110000268, 0.130000249) | |
818 | o24.CFrame = CFrame.new(13.0381289, 4.67515135, -4.35506392, 0.864809334, 0.501980901, 0.0109607317, -0.502015352, 0.864868522, 1.60243653e-05, -0.00947066396, -0.00551580451, 0.999948561) | |
819 | o24.BottomSurface = Enum.SurfaceType.Smooth | |
820 | o24.TopSurface = Enum.SurfaceType.Smooth | |
821 | o24.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
822 | o24.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
823 | o25.Parent = o2 | |
824 | o25.BrickColor = BrickColor.new("Fossil") | |
825 | o25.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
826 | o25.CanCollide = false | |
827 | o25.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
828 | o25.CFrame = CFrame.new(12.2344007, 4.13779402, -4.13043022, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
829 | o25.BottomSurface = Enum.SurfaceType.Smooth | |
830 | o25.TopSurface = Enum.SurfaceType.Smooth | |
831 | o25.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
832 | o25.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
833 | o26.Parent = o2 | |
834 | o26.BrickColor = BrickColor.new("Fossil") | |
835 | o26.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
836 | o26.CanCollide = false | |
837 | o26.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
838 | o26.CFrame = CFrame.new(12.7699385, 4.14792395, -4.25231028, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
839 | o26.BottomSurface = Enum.SurfaceType.Smooth | |
840 | o26.TopSurface = Enum.SurfaceType.Smooth | |
841 | o26.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
842 | o26.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
843 | o27.Parent = o2 | |
844 | o27.Material = Enum.Material.SmoothPlastic | |
845 | o27.BrickColor = BrickColor.new("Really black") | |
846 | o27.Rotation = Vector3.new(180, -3.27999997, 179.98999) | |
847 | o27.Shape = Enum.PartType.Cylinder | |
848 | o27.Size = Vector3.new(0.0500000007, 0.250000238, 1.6000005) | |
849 | o27.CFrame = CFrame.new(12.2895432, 4.72786093, -4.26638556, -0.998360634, -0.000245401112, -0.0572395623, -0.000245002186, 1.00000846, -1.40238844e-05, 0.0572390407, 2.32175807e-08, -0.998369098) | |
850 | o27.BottomSurface = Enum.SurfaceType.Smooth | |
851 | o27.TopSurface = Enum.SurfaceType.Smooth | |
852 | o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
853 | o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
854 | o28.Parent = o2 | |
855 | o28.Material = Enum.Material.SmoothPlastic | |
856 | o28.BrickColor = BrickColor.new("Really black") | |
857 | o28.Rotation = Vector3.new(0, 0.629999995, -89.9899979) | |
858 | o28.CanCollide = false | |
859 | o28.Shape = Enum.PartType.Cylinder | |
860 | o28.Size = Vector3.new(0.24999994, 1.25999975, 1.54999959) | |
861 | o28.CFrame = CFrame.new(12.5879374, 4.09035969, -3.785882, 0.000245000003, 0.999939919, 0.0109635293, -1.00000846, 0.000244855793, 1.46855382e-05, 1.19998876e-05, -0.0109626055, 0.999948502) | |
862 | o28.BottomSurface = Enum.SurfaceType.Smooth | |
863 | o28.TopSurface = Enum.SurfaceType.Smooth | |
864 | o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
865 | o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
866 | o29.Parent = o2 | |
867 | o29.Material = Enum.Material.Neon | |
868 | o29.BrickColor = BrickColor.new("Eggplant") | |
869 | o29.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
870 | o29.CanCollide = false | |
871 | o29.Shape = Enum.PartType.Ball | |
872 | o29.Size = Vector3.new(0.190001294, 0.190001294, 0.190001294) | |
873 | o29.CFrame = CFrame.new(12.8344183, 4.76740217, -4.34208727, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
874 | o29.BottomSurface = Enum.SurfaceType.Smooth | |
875 | o29.TopSurface = Enum.SurfaceType.Smooth | |
876 | o29.Color = Color3.new(0.482353, 0, 0.482353) | |
877 | o29.Color = Color3.new(0.482353, 0, 0.482353) | |
878 | o30.Parent = o2 | |
879 | o30.Material = Enum.Material.Neon | |
880 | o30.BrickColor = BrickColor.new("Eggplant") | |
881 | o30.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
882 | o30.CanCollide = false | |
883 | o30.Shape = Enum.PartType.Ball | |
884 | o30.Size = Vector3.new(0.190001294, 0.190001294, 0.190001294) | |
885 | o30.CFrame = CFrame.new(12.6813812, 4.67232227, -4.34039068, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
886 | o30.BottomSurface = Enum.SurfaceType.Smooth | |
887 | o30.TopSurface = Enum.SurfaceType.Smooth | |
888 | o30.Color = Color3.new(0.482353, 0, 0.482353) | |
889 | o30.Color = Color3.new(0.482353, 0, 0.482353) | |
890 | o31.Parent = o2 | |
891 | o31.BrickColor = BrickColor.new("Fossil") | |
892 | o31.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
893 | o31.CanCollide = false | |
894 | o31.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
895 | o31.CFrame = CFrame.new(12.9933138, 4.14798307, -4.12279606, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
896 | o31.BottomSurface = Enum.SurfaceType.Smooth | |
897 | o31.TopSurface = Enum.SurfaceType.Smooth | |
898 | o31.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
899 | o31.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
900 | o32.Name = "r" | |
901 | o32.Parent = o2 | |
902 | o32.Material = Enum.Material.SmoothPlastic | |
903 | o32.BrickColor = BrickColor.new("Really black") | |
904 | o32.Rotation = Vector3.new(0, 0.629999995, -89.9899979) | |
905 | o32.CanCollide = false | |
906 | o32.Shape = Enum.PartType.Cylinder | |
907 | o32.Size = Vector3.new(0.46999985, 1.25999975, 1.54999959) | |
908 | o32.CFrame = CFrame.new(12.5878134, 4.61972094, -3.7858963, 0.000245000003, 0.999939919, 0.0109635293, -1.00000846, 0.000244855793, 1.46855382e-05, 1.19998876e-05, -0.0109626055, 0.999948502) | |
909 | o32.BottomSurface = Enum.SurfaceType.Smooth | |
910 | o32.TopSurface = Enum.SurfaceType.Smooth | |
911 | o32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
912 | o32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
913 | o33.Parent = o2 | |
914 | o33.BrickColor = BrickColor.new("Fossil") | |
915 | o33.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
916 | o33.CanCollide = false | |
917 | o33.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
918 | o33.CFrame = CFrame.new(12.3250799, 4.13780499, -4.19420767, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
919 | o33.BottomSurface = Enum.SurfaceType.Smooth | |
920 | o33.TopSurface = Enum.SurfaceType.Smooth | |
921 | o33.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
922 | o33.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
923 | o34.Parent = o2 | |
924 | o34.Material = Enum.Material.Neon | |
925 | o34.BrickColor = BrickColor.new("Eggplant") | |
926 | o34.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
927 | o34.CanCollide = false | |
928 | o34.Shape = Enum.PartType.Ball | |
929 | o34.Size = Vector3.new(0.230001301, 0.230001301, 0.230001301) | |
930 | o34.CFrame = CFrame.new(12.320076, 4.73971415, -4.26470613, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
931 | o34.BottomSurface = Enum.SurfaceType.Smooth | |
932 | o34.TopSurface = Enum.SurfaceType.Smooth | |
933 | o34.Color = Color3.new(0.482353, 0, 0.482353) | |
934 | o34.Color = Color3.new(0.482353, 0, 0.482353) | |
935 | o35.Parent = o2 | |
936 | o35.Material = Enum.Material.Metal | |
937 | o35.BrickColor = BrickColor.new("Pearl") | |
938 | o35.Rotation = Vector3.new(0, 0.629999995, 12.8699999) | |
939 | o35.CanCollide = false | |
940 | o35.Size = Vector3.new(0.520002484, 0.440000206, 0.2900002) | |
941 | o35.CFrame = CFrame.new(12.8338127, 4.79513836, -4.27282286, 0.974806547, -0.22278282, 0.0109562129, 0.222797751, 0.974873364, 2.55261766e-05, -0.0106856115, 0.00241591129, 0.999948502) | |
942 | o35.BottomSurface = Enum.SurfaceType.Smooth | |
943 | o35.TopSurface = Enum.SurfaceType.Smooth | |
944 | o35.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
945 | o35.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
946 | o36.Parent = o2 | |
947 | o36.Material = Enum.Material.Metal | |
948 | o36.BrickColor = BrickColor.new("Pearl") | |
949 | o36.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
950 | o36.CanCollide = false | |
951 | o36.Size = Vector3.new(0.420002431, 0.200000226, 0.2900002) | |
952 | o36.CFrame = CFrame.new(12.8746452, 4.11295271, -4.2049346, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
953 | o36.BottomSurface = Enum.SurfaceType.Smooth | |
954 | o36.TopSurface = Enum.SurfaceType.Smooth | |
955 | o36.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
956 | o36.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
957 | o37.Parent = o2 | |
958 | o37.BrickColor = BrickColor.new("Fossil") | |
959 | o37.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
960 | o37.CanCollide = false | |
961 | o37.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
962 | o37.CFrame = CFrame.new(12.7551317, 4.46699476, -4.21234465, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
963 | o37.BottomSurface = Enum.SurfaceType.Smooth | |
964 | o37.TopSurface = Enum.SurfaceType.Smooth | |
965 | o37.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
966 | o37.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
967 | mas.Parent = workspace | |
968 | mas:MakeJoints() | |
969 | ||
970 | mas2 = Instance.new("Model",RightArm) | |
971 | mas2.Name = "Model2Script2" | |
972 | ov = Instance.new("Model") | |
973 | o2 = Instance.new("WedgePart") | |
974 | o3 = Instance.new("WedgePart") | |
975 | o4 = Instance.new("WedgePart") | |
976 | o5 = Instance.new("Part") | |
977 | o6 = Instance.new("Part") | |
978 | o7 = Instance.new("Part") | |
979 | o8 = Instance.new("WedgePart") | |
980 | o9m = Instance.new("Part") | |
981 | ov.Parent = mas2 | |
982 | o2.Parent = ov | |
983 | o2.Material = Enum.Material.Neon | |
984 | o2.BrickColor = BrickColor.new("Alder") | |
985 | o2.Transparency = 0.1 | |
986 | o2.Rotation = Vector3.new(-76.2299957, 74.5199966, -102.399994) | |
987 | o2.Anchored = true | |
988 | o2.Size = Vector3.new(0.104009911, 0.654072165, 0.0998701826) | |
989 | o2.CFrame = CFrame.new(-6.25214577, 2.5895319, -11.5024309, -0.057314001, 0.260602951, 0.963743508, -0.0313595012, -0.965332747, 0.259167373, 0.997871935, -0.015368619, 0.0634972602) | |
990 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
991 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
992 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
993 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
994 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
995 | o2.Color = Color3.new(0.705882, 0.501961, 1) | |
996 | o2.Color = Color3.new(0.705882, 0.501961, 1) | |
997 | o3.Parent = ov | |
998 | o3.Material = Enum.Material.Neon | |
999 | o3.BrickColor = BrickColor.new("Alder") | |
1000 | o3.Transparency = 0.1 | |
1001 | o3.Rotation = Vector3.new(-88.5499954, -6.10999966, 86.6899948) | |
1002 | o3.Anchored = true | |
1003 | o3.Size = Vector3.new(0.10142266, 0.186803788, 0.632338703) | |
1004 | o3.CFrame = CFrame.new(-5.97627115, 1.30611134, -11.5261898, 0.0573620088, -0.992660284, -0.106466688, 0.0314275026, -0.104794614, 0.994006455, -0.997867048, -0.0603620112, 0.0251852907) | |
1005 | o3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1006 | o3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1007 | o3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1008 | o3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1009 | o3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1010 | o3.Color = Color3.new(0.705882, 0.501961, 1) | |
1011 | o3.Color = Color3.new(0.705882, 0.501961, 1) | |
1012 | o4.Parent = ov | |
1013 | o4.Material = Enum.Material.Neon | |
1014 | o4.BrickColor = BrickColor.new("Alder") | |
1015 | o4.Transparency = 0.1 | |
1016 | o4.Rotation = Vector3.new(103.110001, -74.5599976, -78.2399979) | |
1017 | o4.Anchored = true | |
1018 | o4.Size = Vector3.new(0.104009911, 0.472443491, 0.0998701826) | |
1019 | o4.CFrame = CFrame.new(-5.85783195, 2.78958607, -11.4734116, 0.0542620048, 0.26058802, -0.96392411, 0.0306074936, -0.965335786, -0.25924623, -0.998065889, -0.0154361119, -0.0603548028) | |
1020 | o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1021 | o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1022 | o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1023 | o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1024 | o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1025 | o4.Color = Color3.new(0.705882, 0.501961, 1) | |
1026 | o4.Color = Color3.new(0.705882, 0.501961, 1) | |
1027 | o5.Parent = ov | |
1028 | o5.Material = Enum.Material.Neon | |
1029 | o5.BrickColor = BrickColor.new("Alder") | |
1030 | o5.Transparency = 0.1 | |
1031 | o5.Rotation = Vector3.new(-178.199997, 3.28999996, -105.129997) | |
1032 | o5.Anchored = true | |
1033 | o5.Size = Vector3.new(0.701161206, 0.538160622, 0.103492416) | |
1034 | o5.CFrame = CFrame.new(-6.22018671, 3.29966021, -11.4774265, -0.260599941, 0.963741541, 0.0573597625, 0.965332747, 0.259159267, 0.0314289927, 0.0154241361, 0.0635594428, -0.997867107) | |
1035 | o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1036 | o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1037 | o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1038 | o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1039 | o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1040 | o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1041 | o5.Color = Color3.new(0.705882, 0.501961, 1) | |
1042 | o5.Color = Color3.new(0.705882, 0.501961, 1) | |
1043 | o6.Parent = ov | |
1044 | o6.Material = Enum.Material.Neon | |
1045 | o6.BrickColor = BrickColor.new("Alder") | |
1046 | o6.Transparency = 0.1 | |
1047 | o6.Rotation = Vector3.new(-178.199997, 3.28999996, -101.059998) | |
1048 | o6.Anchored = true | |
1049 | o6.Size = Vector3.new(0.701161206, 0.371020257, 0.103492416) | |
1050 | o6.CFrame = CFrame.new(-6.05381966, 2.6474514, -11.4884119, -0.191533148, 0.979808867, 0.0573569275, 0.981293619, 0.189983174, 0.0314286686, 0.0198971108, 0.062301416, -0.997867286) | |
1051 | o6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1052 | o6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1053 | o6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1054 | o6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1055 | o6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1056 | o6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1057 | o6.Color = Color3.new(0.705882, 0.501961, 1) | |
1058 | o6.Color = Color3.new(0.705882, 0.501961, 1) | |
1059 | o7.Parent = ov | |
1060 | o7.Material = Enum.Material.Neon | |
1061 | o7.BrickColor = BrickColor.new("Alder") | |
1062 | o7.Transparency = 0.1 | |
1063 | o7.Rotation = Vector3.new(-178.199997, 3.28999996, -96.1199951) | |
1064 | o7.Anchored = true | |
1065 | o7.Size = Vector3.new(0.701161206, 0.371020257, 0.103492416) | |
1066 | o7.CFrame = CFrame.new(-5.95285225, 1.97883701, -11.5036192, -0.106464036, 0.99266082, 0.057359308, 0.994006693, 0.104791857, 0.0314288139, 0.025187036, 0.0603593886, -0.997867167) | |
1067 | o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1068 | o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1069 | o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1070 | o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1071 | o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1072 | o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1073 | o7.Color = Color3.new(0.705882, 0.501961, 1) | |
1074 | o7.Color = Color3.new(0.705882, 0.501961, 1) | |
1075 | o8.Parent = ov | |
1076 | o8.Material = Enum.Material.Neon | |
1077 | o8.BrickColor = BrickColor.new("Alder") | |
1078 | o8.Transparency = 0.1 | |
1079 | o8.Rotation = Vector3.new(-88.5499954, -6.10999966, -93.3099976) | |
1080 | o8.Anchored = true | |
1081 | o8.Size = Vector3.new(0.10142266, 0.186803788, 0.632338703) | |
1082 | o8.CFrame = CFrame.new(-5.79092312, 1.32566071, -11.5148821, -0.0573620088, 0.992660284, -0.106466688, -0.0314275026, 0.104794614, 0.994006455, 0.997867048, 0.0603620112, 0.0251852907) | |
1083 | o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1084 | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1085 | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1086 | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1087 | o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1088 | o8.Color = Color3.new(0.705882, 0.501961, 1) | |
1089 | o8.Color = Color3.new(0.705882, 0.501961, 1) | |
1090 | o9m.Parent = ov | |
1091 | o9m.Material = Enum.Material.Neon | |
1092 | o9m.BrickColor = BrickColor.new("Alder") | |
1093 | o9m.Transparency = 0.1 | |
1094 | o9m.Rotation = Vector3.new(-178.199997, 3.28999996, -118.769997) | |
1095 | o9m.Anchored = true | |
1096 | o9m.Size = Vector3.new(1.56116068, 0.538160563, 0.102974951) | |
1097 | o9m.CFrame = CFrame.new(-6.66080666, 4.25504208, -11.4726496, -0.480506241, 0.875113606, 0.0573588945, 0.876999617, 0.479481548, 0.031427063, 2.6898428e-07, 0.065402478, -0.997867227) | |
1098 | o9m.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1099 | o9m.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1100 | o9m.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1101 | o9m.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1102 | o9m.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1103 | o9m.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1104 | o9m.Color = Color3.new(0.705882, 0.501961, 1) | |
1105 | o9m.Color = Color3.new(0.705882, 0.501961, 1) | |
1106 | mas2.Parent = workspace | |
1107 | mas2:MakeJoints() | |
1108 | ||
1109 | nightfallknifelocater = Instance.new("Part",RightArm) | |
1110 | nightfallknifelocater.CanCollide = false | |
1111 | nightfallknifelocater.Transparency = 1 | |
1112 | nightfallknifelocater.Size = Vector3.new(1,1,1) | |
1113 | ng2 = weldBetween(nightfallknifelocater,RightArm) | |
1114 | ng2.C0 = CFrame.new(-6.2,4.3,-11.35) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-18)) | |
1115 | ||
1116 | ||
1117 | nightfallmasklocater = Instance.new("Part",Head) | |
1118 | nightfallmasklocater.CanCollide = false | |
1119 | nightfallmasklocater.Transparency = 1 | |
1120 | nightfallmasklocater.Size = Vector3.new(1,1,1) | |
1121 | ng = weldBetween(nightfallmasklocater,Head) | |
1122 | ng.C0 = CFrame.new(12.6,4.5,-3.72) | |
1123 | ||
1124 | hair = Instance.new("Part",Character) | |
1125 | hair.Size = Vector3.new(2,2,2) | |
1126 | hair.CFrame = Head.CFrame | |
1127 | hair.CanCollide = false | |
1128 | hairweld = Instance.new("Weld",hair) | |
1129 | hairweld.Part0 = hair | |
1130 | hairweld.Part1 = Head | |
1131 | hairweld.C0 = hair.CFrame:inverse() * Head.CFrame * CFrame.new(0,.6,-.78) | |
1132 | mhair = Instance.new("SpecialMesh", hair) | |
1133 | mhair.MeshType = "FileMesh" | |
1134 | mhair.Scale = Vector3.new(1.1,1.1,1.1) | |
1135 | mhair.MeshId,mhair.TextureId = 'http://www.roblox.com/asset/?id=398618628','http://www.roblox.com/asset/?id=857871959' | |
1136 | ||
1137 | function weld() | |
1138 | local parts,last = {} | |
1139 | local function scan(o1) | |
1140 | for _,v in pairs(o1:GetChildren()) do | |
1141 | if (v:IsA("BasePart")) then | |
1142 | if (last) then | |
1143 | local w = Instance.new("Weld") | |
1144 | w.Name = ("%s_Weld"):format(v.Name) | |
1145 | w.Part0,w.Part1 = last,nightfallmasklocater | |
1146 | w.C0 = last.CFrame:inverse() | |
1147 | w.Parent = last | |
1148 | end | |
1149 | last = v | |
1150 | table.insert(parts,v) | |
1151 | end | |
1152 | scan(v) | |
1153 | end | |
1154 | end | |
1155 | scan(o1) | |
1156 | for _,v in pairs(parts) do | |
1157 | v.CanCollide = false | |
1158 | v.Anchored = false | |
1159 | v.Parent = Head | |
1160 | end | |
1161 | end | |
1162 | ||
1163 | weld() | |
1164 | ||
1165 | function weld2() | |
1166 | local parts,last = {} | |
1167 | local function scan(ov) | |
1168 | for _,v in pairs(ov:GetChildren()) do | |
1169 | if (v:IsA("BasePart")) then | |
1170 | if (last) then | |
1171 | local w = Instance.new("Weld") | |
1172 | w.Name = ("%s_Weld"):format(v.Name) | |
1173 | w.Part0,w.Part1 = last,nightfallknifelocater | |
1174 | w.C0 = last.CFrame:inverse() | |
1175 | w.Parent = last | |
1176 | end | |
1177 | last = v | |
1178 | table.insert(parts,v) | |
1179 | end | |
1180 | scan(v) | |
1181 | end | |
1182 | end | |
1183 | scan(ov) | |
1184 | for _,v in pairs(parts) do | |
1185 | v.CanCollide = false | |
1186 | v.Anchored = false | |
1187 | v.Parent = RightArm | |
1188 | end | |
1189 | end | |
1190 | ||
1191 | weld2() | |
1192 | ||
1193 | for i,v in pairs(Character:GetChildren()) do | |
1194 | if v.ClassName == "Pants" or v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then | |
1195 | v:Remove() | |
1196 | end | |
1197 | end | |
1198 | ||
1199 | shirt = Instance.new("Shirt", Character) | |
1200 | shirt.Name = "Shirt" | |
1201 | Character.Shirt.ShirtTemplate = "rbxassetid://863473913" | |
1202 | ||
1203 | leg1 = Instance.new("SpecialMesh", LeftLeg) | |
1204 | leg1.MeshType = "FileMesh" | |
1205 | leg1.Scale = Vector3.new(1, 1, 1) | |
1206 | leg1.MeshId,leg1.TextureId = 'http://www.roblox.com/asset/?id=1243660338','http://www.roblox.com/asset/?id=1539341292' | |
1207 | ||
1208 | leg2 = Instance.new("SpecialMesh", RightLeg) | |
1209 | leg2.MeshType = "FileMesh" | |
1210 | leg2.Scale = Vector3.new(1, 1, 1) | |
1211 | leg2.MeshId,leg2.TextureId = 'http://www.roblox.com/asset/?id=1243660660','http://www.roblox.com/asset/?id=1539341292' | |
1212 | ||
1213 | torso1 = Instance.new("CharacterMesh",Character) | |
1214 | torso1.MeshId = 319346857 | |
1215 | torso1.BodyPart = "Torso" | |
1216 | ||
1217 | arm1 = Instance.new("CharacterMesh",Character) | |
1218 | arm1.MeshId = 303665934 | |
1219 | arm1.OverlayTextureId = 1539341292 | |
1220 | arm1.BodyPart = "LeftArm" | |
1221 | ||
1222 | arm2 = Instance.new("CharacterMesh",Character) | |
1223 | arm2.MeshId = 98332573 | |
1224 | arm2.OverlayTextureId = 6347925 | |
1225 | arm2.BodyPart = "RightArm" | |
1226 | ||
1227 | coroutine.wrap(function() | |
1228 | while wait() do | |
1229 | if secondform then | |
1230 | Head.face.Texture = "rbxassetid://1127768638" | |
1231 | else | |
1232 | Head.face.Texture = "rbxassetid://629947734" | |
1233 | end | |
1234 | hum.WalkSpeed = ws | |
1235 | hum.JumpPower = jp | |
1236 | LeftArm.BrickColor = BrickColor.new("Really black") | |
1237 | RightArm.BrickColor = BrickColor.new("Really black") | |
1238 | Head.BrickColor = BrickColor.new("Really black") | |
1239 | Torso.BrickColor = BrickColor.new("Really black") | |
1240 | LeftLeg.BrickColor = BrickColor.new("Really black") | |
1241 | RightLeg.BrickColor = BrickColor.new("Really black") | |
1242 | end | |
1243 | end)() | |
1244 | godmode = coroutine.wrap(function() | |
1245 | for i,v in pairs(Character:GetChildren()) do | |
1246 | if v:IsA("BasePart") and v ~= Root then | |
1247 | v.Anchored = false | |
1248 | end | |
1249 | end | |
1250 | hum.MaxHealth = math.huge | |
1251 | wait(.00001) | |
1252 | hum.Health = math.huge | |
1253 | end) | |
1254 | godmode() | |
1255 | ff = Instance.new("ForceField", Character) | |
1256 | ff.Visible = false | |
1257 | ||
1258 | coroutine.wrap(function() | |
1259 | for i,v in pairs(Character:GetChildren()) do | |
1260 | if v.Name == "Animate" then v:Remove() | |
1261 | end | |
1262 | end | |
1263 | end)() | |
1264 | ||
1265 | function damagealll(Radius,Position) | |
1266 | local Returning = {} | |
1267 | for _,v in pairs(workspace:GetChildren()) do | |
1268 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then | |
1269 | if v:FindFirstChild("Torso") then | |
1270 | local Mag = (v.Torso.Position - Position).magnitude | |
1271 | if Mag < Radius then | |
1272 | table.insert(Returning,v) | |
1273 | end | |
1274 | elseif v:FindFirstChild("UpperTorso") then | |
1275 | local Mag = (v.UpperTorso.Position - Position).magnitude | |
1276 | if Mag < Radius then | |
1277 | table.insert(Returning,v) | |
1278 | end | |
1279 | end | |
1280 | end | |
1281 | end | |
1282 | return Returning | |
1283 | end | |
1284 | ||
1285 | ArtificialHB = Instance.new("BindableEvent", script) | |
1286 | ArtificialHB.Name = "Heartbeat" | |
1287 | script:WaitForChild("Heartbeat") | |
1288 | ||
1289 | frame = 1 / 60 | |
1290 | tf = 0 | |
1291 | allowframeloss = false | |
1292 | tossremainder = false | |
1293 | ||
1294 | ||
1295 | lastframe = tick() | |
1296 | script.Heartbeat:Fire() | |
1297 | ||
1298 | ||
1299 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1300 | tf = tf + s | |
1301 | if tf >= frame then | |
1302 | if allowframeloss then | |
1303 | script.Heartbeat:Fire() | |
1304 | lastframe = tick() | |
1305 | else | |
1306 | for i = 1, math.floor(tf / frame) do | |
1307 | script.Heartbeat:Fire() | |
1308 | end | |
1309 | lastframe = tick() | |
1310 | end | |
1311 | if tossremainder then | |
1312 | tf = 0 | |
1313 | else | |
1314 | tf = tf - frame * math.floor(tf / frame) | |
1315 | end | |
1316 | end | |
1317 | end) | |
1318 | ||
1319 | function swait(num) | |
1320 | if num == 0 or num == nil then | |
1321 | game:service("RunService").Stepped:wait(0) | |
1322 | else | |
1323 | for i = 0, num do | |
1324 | game:service("RunService").Stepped:wait(0) | |
1325 | end | |
1326 | end | |
1327 | end | |
1328 | ||
1329 | for _,n in pairs(Character:GetChildren()) do | |
1330 | if n:IsA("Accessory") then n:Remove() end | |
1331 | end | |
1332 | for _,x in pairs(Character:GetChildren()) do | |
1333 | if x:IsA("Decal") then x:Remove() end | |
1334 | end | |
1335 | ||
1336 | function ray(pos, dir, rang, ignoredesc) | |
1337 | return workspace:FindPartOnRay(Ray.new(pos, dir.unit * rang), ignoredesc) | |
1338 | end | |
1339 | ||
1340 | function ray2(startpos, endpos, distance, ignore) | |
1341 | local dir = CFrame.new(startpos,endpos).lookVector | |
1342 | return ray(startpos, dir, distance, ignore) | |
1343 | end | |
1344 | ||
1345 | coroutine.wrap(function() | |
1346 | while true do | |
1347 | for i,v in pairs(Torso:GetChildren()) do | |
1348 | if v.Name == "explodball" then | |
1349 | v.Size = v.Size + Vector3.new(2,2,2) | |
1350 | v.Transparency = v.Transparency + .08 | |
1351 | end | |
1352 | end | |
1353 | for i,v in pairs(Torso:GetDescendants()) do | |
1354 | if v.Name == "explodmesh" then | |
1355 | v.Scale = v.Scale + Vector3.new(.01,0,.01) | |
1356 | v.Parent.Transparency = v.Parent.Transparency + .06 | |
1357 | end | |
1358 | end | |
1359 | for i,v in pairs(Torso:GetDescendants()) do | |
1360 | if v.Name == "explodmesh2" then | |
1361 | v.Scale = v.Scale + Vector3.new(1.5,0,1.5) | |
1362 | v.Parent.Transparency = v.Parent.Transparency + .06 | |
1363 | end | |
1364 | end | |
1365 | swait() | |
1366 | end | |
1367 | end)() | |
1368 | ||
1369 | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
1370 | so = Instance.new("Sound") | |
1371 | so.Parent = PARENT | |
1372 | so.SoundId = "rbxassetid://"..ID | |
1373 | so.Volume = VOL | |
1374 | so.Looped = LOOP | |
1375 | so:Play() | |
1376 | removeuseless:AddItem(so,REMOVE) | |
1377 | end | |
1378 | ||
1379 | mouse.Button1Down:connect(function() | |
1380 | if debounce then return end | |
1381 | debounce = true | |
1382 | if combo1 then | |
1383 | combo1 = false | |
1384 | combo2 = true | |
1385 | combo3 = false | |
1386 | attacking = true | |
1387 | ws = 12 | |
1388 | g1 = Instance.new("BodyGyro", Root) | |
1389 | g1.D = 175 | |
1390 | g1.P = 20000 | |
1391 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1392 | for i = 1, 12 do | |
1393 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1394 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(.4,-.2,-.2) * CFrame.Angles(math.rad(90),math.rad(130),math.rad(0)),.3) | |
1395 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1396 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(-2), math.rad(40), math.rad(0)), 0.3) | |
1397 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1398 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1399 | swait() | |
1400 | end | |
1401 | tr1.Enabled = true | |
1402 | slash = slasher[math.random(1,#slasher)] | |
1403 | slashs.SoundId = "rbxassetid://"..slash | |
1404 | slashs:Play() | |
1405 | hitbox = Instance.new("Part",Torso) | |
1406 | hitbox.CFrame = Root.CFrame * CFrame.new(1,0,-3) | |
1407 | hitbox.Anchored = true | |
1408 | hitbox.Transparency = 1 | |
1409 | hitbox.Size = Vector3.new(1,1,1) | |
1410 | hitbox.CanCollide = false | |
1411 | Hit = damagealll(3,hitbox.Position) | |
1412 | for _,v in pairs(Hit) do | |
1413 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1414 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1415 | slash2 = slasher2[math.random(1,#slasher2)] | |
1416 | local damagesound = Instance.new("Sound",slachtoffer.Parent:FindFirstChild("Torso") or slachtoffer.Parent:FindFirstChild("UpperTorso")) | |
1417 | damagesound.SoundId = "rbxassetid://"..slash2 | |
1418 | damagesound.Volume = 8 | |
1419 | damagesound:Play() | |
1420 | removeuseless:AddItem(damagesound,4) | |
1421 | slachtoffer:TakeDamage(math.random(29,52)) | |
1422 | end | |
1423 | end | |
1424 | ws = 6 | |
1425 | for i = 1, 12 do | |
1426 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1427 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(.2,1.4,-.3) * CFrame.Angles(math.rad(90),math.rad(230),math.rad(0)),.3) | |
1428 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1429 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(2), math.rad(-60), math.rad(0)), 0.3) | |
1430 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1431 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1432 | swait() | |
1433 | end | |
1434 | removeuseless:AddItem(g1,.001) | |
1435 | hitbox:Remove() | |
1436 | tr1.Enabled = false | |
1437 | attacking = false | |
1438 | debounce = false | |
1439 | ws = 19 | |
1440 | elseif combo2 then | |
1441 | combo1 = false | |
1442 | combo2 = false | |
1443 | combo3 = true | |
1444 | attacking = true | |
1445 | ws = 12 | |
1446 | g1 = Instance.new("BodyGyro", Root) | |
1447 | g1.D = 175 | |
1448 | g1.P = 20000 | |
1449 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1450 | for i = 1, 12 do | |
1451 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1452 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1453 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(2), math.rad(-40), math.rad(0)), 0.3) | |
1454 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.8,-0) * CFrame.Angles(math.rad(-120),math.rad(99),math.rad(0)),.3) | |
1455 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1456 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1457 | swait() | |
1458 | end | |
1459 | tr1.Enabled = true | |
1460 | slash = slasher[math.random(1,#slasher)] | |
1461 | slashs.SoundId = "rbxassetid://"..slash | |
1462 | slashs:Play() | |
1463 | hitbox = Instance.new("Part",Torso) | |
1464 | hitbox.CFrame = Root.CFrame * CFrame.new(1,0,-3) | |
1465 | hitbox.Anchored = true | |
1466 | hitbox.Transparency = 1 | |
1467 | hitbox.Size = Vector3.new(1,1,1) | |
1468 | hitbox.CanCollide = false | |
1469 | Hit = damagealll(3,hitbox.Position) | |
1470 | for _,v in pairs(Hit) do | |
1471 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1472 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1473 | slachtoffer:TakeDamage(math.random(34,42)) | |
1474 | slash2 = slasher2[math.random(1,#slasher2)] | |
1475 | local damagesound = Instance.new("Sound",slachtoffer.Parent:FindFirstChild("Torso") or slachtoffer.Parent:FindFirstChild("UpperTorso")) | |
1476 | damagesound.SoundId = "rbxassetid://"..slash2 | |
1477 | damagesound.Volume = 8 | |
1478 | damagesound:Play() | |
1479 | removeuseless:AddItem(damagesound,4) | |
1480 | end | |
1481 | end | |
1482 | for i = 1, 12 do | |
1483 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1484 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1485 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(-2), math.rad(40), math.rad(0)), 0.3) | |
1486 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.8,-.25,0) * CFrame.Angles(math.rad(-60),math.rad(-70),math.rad(0)),.3) | |
1487 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1488 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1489 | swait() | |
1490 | end | |
1491 | removeuseless:AddItem(g1,.001) | |
1492 | tr1.Enabled = false | |
1493 | debounce = false | |
1494 | hitbox:Remove() | |
1495 | attacking = false | |
1496 | ws = 19 | |
1497 | elseif combo3 then | |
1498 | combo1 = true | |
1499 | combo2 = false | |
1500 | combo3 = false | |
1501 | attacking = true | |
1502 | spinny = 0 | |
1503 | ws = 16 | |
1504 | local spinnysound = Instance.new("Sound",Torso) | |
1505 | spinnysound.SoundId = "rbxassetid://1290491542" | |
1506 | spinnysound.Volume = 8 | |
1507 | spinnysound.Pitch = .8 | |
1508 | spinnysound:Play() | |
1509 | tr1.Enabled = true | |
1510 | hitbox = Instance.new("Part",Torso) | |
1511 | hitbox.CFrame = Root.CFrame * CFrame.new(1,0,-3) | |
1512 | hitbox.Anchored = true | |
1513 | hitbox.Transparency = 1 | |
1514 | hitbox.Size = Vector3.new(1,1,1) | |
1515 | hitbox.CanCollide = false | |
1516 | if spin1 then | |
1517 | spin1 = false | |
1518 | spin2 = true | |
1519 | else | |
1520 | spin1 = true | |
1521 | spin2 = false | |
1522 | end | |
1523 | for i = 1, 45 do | |
1524 | hitbox.CFrame = Root.CFrame * CFrame.new(1,0,-3) | |
1525 | local Hit = damagealll(3,hitbox.Position) | |
1526 | for _,v in pairs(Hit) do | |
1527 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1528 | local slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1529 | slachtoffer:TakeDamage(math.random(1,3)) | |
1530 | end | |
1531 | end | |
1532 | if spin1 then | |
1533 | spinny = spinny - 45 | |
1534 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.4,.5) * CFrame.Angles(math.rad(-90),math.rad(90),math.rad(0)),.3) | |
1535 | LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.55,.55,0)* CFrame.Angles(math.rad(10),math.rad(-5),math.rad(35)),.3) | |
1536 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.3) | |
1537 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(spinny), math.rad(0)), 0.3) | |
1538 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1539 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1540 | elseif spin2 then | |
1541 | spinny = spinny - 45 | |
1542 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.4,.5) * CFrame.Angles(math.rad(-90),math.rad(90),math.rad(0)),.3) | |
1543 | LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.55,.55,0)* CFrame.Angles(math.rad(10),math.rad(-5),math.rad(35)),.3) | |
1544 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
1545 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(spinny), math.rad(0)), 0.3) | |
1546 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1547 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1548 | end | |
1549 | swait() | |
1550 | end | |
1551 | tr1.Enabled = false | |
1552 | spinnysound:Remove() | |
1553 | attacking = false | |
1554 | debounce = false | |
1555 | spinny = 0 | |
1556 | ROOTLERP.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1557 | ws = 19 | |
1558 | end | |
1559 | end) | |
1560 | ||
1561 | mouse.KeyDown:connect(function(Press) | |
1562 | Press=Press:lower() | |
1563 | if Press=='q' then | |
1564 | if mouse.Target ~= nil then | |
1565 | if mouse.Target.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1566 | if debounce then return end | |
1567 | debounce = true | |
1568 | attacking = true | |
1569 | enemy = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1570 | SOUND(Torso,862693565,10,false,5) | |
1571 | Character.Shirt.ShirtTemplate = "rbxassetid://0" | |
1572 | arm1.OverlayTextureId = 0 | |
1573 | arm2.OverlayTextureId = 653553298 | |
1574 | RightArm.BrickColor = BrickColor.new("Really black") | |
1575 | for i = 1, 400 do | |
1576 | if targetfound then break end | |
1577 | local Hit = damagealll(5,Torso.Position) | |
1578 | for _,v in pairs(Hit) do | |
1579 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Parent.Name == enemy.Parent.Name then | |
1580 | targetfound = true | |
1581 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1582 | end | |
1583 | end | |
1584 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1585 | hum:MoveTo(enemy.Parent:FindFirstChild("UpperTorso").Position) | |
1586 | else | |
1587 | hum:MoveTo(enemy.Parent:FindFirstChild("Torso").Position) | |
1588 | end | |
1589 | footsteps.Volume = 2 | |
1590 | footsteps.Pitch = 2.2 | |
1591 | ws = 30 | |
1592 | change = 2 | |
1593 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.15,-.3) * CFrame.Angles(math.rad(50 + 5 * math.sin(sine/8)),math.rad(0),math.rad(-10)),.3) | |
1594 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.1,-.15,.5) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(-20)),.3) | |
1595 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.07 + 0.2*math.sin(sine/3.5), 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/7))), 0.3) | |
1596 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9 - 0.35 * math.cos(sine/7)/2.8, -.3 + 0.2 - math.sin(sine/7)/3.4) * CFrame.Angles(math.rad(25 - 35) + -math.sin(sine/7)/2.3, math.rad(0)*math.cos(sine/7), math.rad(0), math.cos(-15 * 75 * math.cos(sine/7))), 0.3) | |
1597 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9 + 0.35 * math.cos(sine/7)/2.8, -.3 + 0.2 + math.sin(sine/7)/3.4) * CFrame.Angles(math.rad(25 - 35) - -math.sin(sine/7)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(-15 * 75 * math.cos(sine/7))), 0.3) | |
1598 | swait() | |
1599 | end | |
1600 | if targetfound then | |
1601 | ws = 0 | |
1602 | enemy.WalkSpeed = 0 | |
1603 | SOUND(rightlocation,862701802,9,false,5) | |
1604 | footsteps.Volume = 0 | |
1605 | footsteps.Pitch = 1.6 | |
1606 | for i = 1, 12 do | |
1607 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1608 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.175, 0) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(0)), 0.3) | |
1609 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1610 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1611 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.79,.05) * CFrame.Angles(math.rad(190),math.rad(0),math.rad(-10)),.3) | |
1612 | swait() | |
1613 | end | |
1614 | locationpartz = Instance.new("Part",Torso) | |
1615 | locationpartz.Size = Vector3.new(1,1,1) | |
1616 | locationpartz.Anchored = false | |
1617 | locationpartz.Transparency = 1 | |
1618 | locationpartz.CanCollide = false | |
1619 | locationpartz.CFrame = rightlocation.CFrame * CFrame.new(0,-1.5,0) | |
1620 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1621 | enemy.Parent.UpperTorso.CFrame = locationpartz.CFrame * CFrame.new(1,0,0) * CFrame.Angles(math.rad(-90),0,0) | |
1622 | else | |
1623 | enemy.Parent.Torso.CFrame = locationpartz.CFrame * CFrame.new(1,0,0) * CFrame.Angles(math.rad(-90),0,0) | |
1624 | end | |
1625 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1626 | weldofweld = weldBetween(locationpartz,enemy.Parent.UpperTorso) | |
1627 | else | |
1628 | weldofweld = weldBetween(locationpartz,enemy.Parent.Torso) | |
1629 | end | |
1630 | weldofweld.C0 = CFrame.Angles(math.rad(-90),0,0) | |
1631 | locationpartz.Anchored = true | |
1632 | SOUND(RightArm,877870515,7,false,6) | |
1633 | for i = 1, 250 do | |
1634 | locationpartz.CFrame = rightlocation.CFrame * CFrame.new(0,-1.5,0) | |
1635 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.44,-.125) * CFrame.Angles(math.rad(48),math.rad(0),math.rad(30)), 0.02) | |
1636 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.175, 0) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(0)), 0.03) | |
1637 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.03) | |
1638 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.03) | |
1639 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.79,.05) * CFrame.Angles(math.rad(190),math.rad(0),math.rad(-12)),.03) | |
1640 | swait() | |
1641 | end | |
1642 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1643 | ded = Instance.new("Sound",enemy.Parent.UpperTorso) | |
1644 | else | |
1645 | ded = Instance.new("Sound",enemy.Parent.Torso) | |
1646 | end | |
1647 | ded.SoundId = "rbxassetid://429400881" | |
1648 | ded.Volume = 9 | |
1649 | ded.Pitch = .9 | |
1650 | ded:Play() | |
1651 | coroutine.wrap(function() | |
1652 | local energyplosion = Instance.new("Part",Torso) | |
1653 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1654 | energyplosion.CFrame = enemy.Parent.UpperTorso.CFrame | |
1655 | else | |
1656 | energyplosion.CFrame = enemy.Parent.Torso.CFrame | |
1657 | end | |
1658 | energyplosion.Size = Vector3.new(.1,.1,.1) | |
1659 | energyplosion.BrickColor = BrickColor.new("Alder") | |
1660 | energyplosion.Anchored = true | |
1661 | energyplosion.CanCollide = false | |
1662 | energyplosion.Transparency = 0 | |
1663 | energyplosion.Shape = "Ball" | |
1664 | energyplosion.Material = "Neon" | |
1665 | for i = 1, 20 do | |
1666 | enemy.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
1667 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
1668 | energyplosion.Size = energyplosion.Size + Vector3.new(2,2,2) | |
1669 | energyplosion.Transparency = energyplosion.Transparency + .05 | |
1670 | swait() | |
1671 | end | |
1672 | hum.CameraOffset = Vector3.new(0,0,0) | |
1673 | enemy.CameraOffset = Vector3.new(0,0,0) | |
1674 | energyplosion:Remove() | |
1675 | end)() | |
1676 | locationpartz:Remove() | |
1677 | targetfound = false | |
1678 | arm1.MeshId = 303665934 | |
1679 | arm1.OverlayTextureId = 1539341292 | |
1680 | arm2.MeshId = 98332573 | |
1681 | arm2.OverlayTextureId = 6347925 | |
1682 | footsteps.Volume = 0 | |
1683 | Character.Shirt.ShirtTemplate = "rbxassetid://863473913" | |
1684 | enemy.Parent:BreakJoints() | |
1685 | coroutine.wrap(function() | |
1686 | tauntsoundz = Instance.new("Sound", Head) | |
1687 | tauntsoundz.Volume = 10 | |
1688 | tauntsoundz.SoundId = "rbxassetid://246480487" | |
1689 | tauntsoundz.Looped = false | |
1690 | tauntsoundz:Play() | |
1691 | wait(3) | |
1692 | wait(tauntsoundz.TimeLength) | |
1693 | tauntsoundz:Remove() | |
1694 | end)() | |
1695 | change = .5 | |
1696 | for i = 1, 90 do | |
1697 | swait() | |
1698 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
1699 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2) | |
1700 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
1701 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.64 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2) | |
1702 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.9 + .02 * math.sin(sine/12),.05) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2) | |
1703 | end | |
1704 | attacking = false | |
1705 | debounce = false | |
1706 | else | |
1707 | footsteps.Pitch = 1.6 | |
1708 | targetfound = false | |
1709 | arm1.MeshId = 303665934 | |
1710 | arm1.OverlayTextureId = 1539341292 | |
1711 | arm2.MeshId = 98332573 | |
1712 | arm2.OverlayTextureId = 6347925 | |
1713 | footsteps.Volume = 0 | |
1714 | Character.Shirt.ShirtTemplate = "rbxassetid://863473913" | |
1715 | debounce = false | |
1716 | attacking = false | |
1717 | end | |
1718 | end | |
1719 | end | |
1720 | elseif Press=='y' then | |
1721 | if debounce then return end | |
1722 | debounce = true | |
1723 | attacking = true | |
1724 | ws = 12 | |
1725 | g1 = Instance.new("BodyGyro", Root) | |
1726 | g1.D = 175 | |
1727 | g1.P = 20000 | |
1728 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1729 | local chargo = Instance.new("Sound",rightlocation) | |
1730 | chargo.SoundId = "rbxassetid://306181935" | |
1731 | chargo.Volume = 7 | |
1732 | chargo.Looped = false | |
1733 | chargo.Pitch = 1.1 | |
1734 | chargo:Play() | |
1735 | removeuseless:AddItem(chargo,5) | |
1736 | for i = 1, 120 do | |
1737 | coroutine.wrap(function() | |
1738 | local sk = Instance.new("Part",Torso) | |
1739 | sk.CanCollide = false | |
1740 | sk.Anchored = true | |
1741 | sk.BrickColor = BrickColor.new("Alder") | |
1742 | sk.Name = "sk" | |
1743 | sk.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1744 | local skmesh = Instance.new("SpecialMesh",sk) | |
1745 | skmesh.MeshId = "rbxassetid://662586858" | |
1746 | skmesh.Name = "wave" | |
1747 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
1748 | for i = 1, 20 do | |
1749 | skmesh.Scale = skmesh.Scale + Vector3.new(.01,0,.01) | |
1750 | sk.Transparency = sk.Transparency + .05 | |
1751 | swait() | |
1752 | end | |
1753 | sk:Remove() | |
1754 | end)() | |
1755 | coroutine.wrap(function() | |
1756 | local wshockwave = Instance.new("Part", Torso) | |
1757 | wshockwave.Size = Vector3.new(1,1,1) | |
1758 | wshockwave.CanCollide = false | |
1759 | wshockwave.Anchored = true | |
1760 | wshockwave.Transparency = .45 | |
1761 | wshockwave.BrickColor = BrickColor.new("Alder") | |
1762 | wshockwave.CFrame = CFrame.new(rightlocation.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1763 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
1764 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
1765 | wshockwavemesh.Name = "wswm" | |
1766 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
1767 | removeuseless:AddItem(wshockwave,2) | |
1768 | for i = 1, 20 do | |
1769 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(1,0,1) | |
1770 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
1771 | swait() | |
1772 | end | |
1773 | wshockwave:Remove() | |
1774 | end)() | |
1775 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1776 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1777 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(2), math.rad(-40), math.rad(0)), 0.03) | |
1778 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.8,-0) * CFrame.Angles(math.rad(-120),math.rad(99),math.rad(0)),.03) | |
1779 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.03) | |
1780 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.03) | |
1781 | swait() | |
1782 | end | |
1783 | coroutine.wrap(function() | |
1784 | local bullet = Instance.new("Part",Torso) | |
1785 | bullet.CanCollide = false | |
1786 | bullet.Anchored = false | |
1787 | bullet.Size = Vector3.new(2,2,2) | |
1788 | bullet.Transparency = .5 | |
1789 | bullet.Shape = "Ball" | |
1790 | bullet.Material = "Neon" | |
1791 | bullet.BrickColor = BrickColor.new("Alder") | |
1792 | bullet.CFrame = rightlocation.CFrame | |
1793 | energloop = Instance.new("Sound",bullet) | |
1794 | energloop.Volume = 6 | |
1795 | energloop.SoundId = "rbxassetid://2607597779" | |
1796 | energloop.Looped = true | |
1797 | MAKETRAIL(bullet,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.5,ColorSequence.new(BrickColor.new("Alder").Color,BrickColor.new("Eggplant").Color)) | |
1798 | local bov = Instance.new("BodyVelocity",bullet) | |
1799 | bov.maxForce = Vector3.new(99999,99999,99999) | |
1800 | bullet.CFrame = CFrame.new(bullet.Position,mouse.Hit.p) | |
1801 | bov.velocity = bullet.CFrame.lookVector*180 | |
1802 | for i = 1, 225 do | |
1803 | local Hit = damagealll(15,bullet.Position) | |
1804 | for _,v in pairs(Hit) do | |
1805 | if v:FindFirstChildOfClass("Humanoid") and v.Name ~= Player.Name then | |
1806 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1807 | slachtoffer:TakeDamage(math.random(3,10)) | |
1808 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1809 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1810 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1811 | vel.velocity = CFrame.new(bullet.Position,torso.Position).lookVector*120 | |
1812 | removeuseless:AddItem(vel,.1) | |
1813 | end | |
1814 | end | |
1815 | local sk = Instance.new("Part",Torso) | |
1816 | sk.CanCollide = false | |
1817 | sk.Anchored = true | |
1818 | sk.BrickColor = BrickColor.new("Alder") | |
1819 | sk.Name = "sk" | |
1820 | sk.CFrame = bullet.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1821 | local skmesh = Instance.new("SpecialMesh",sk) | |
1822 | skmesh.MeshId = "rbxassetid://662586858" | |
1823 | skmesh.Name = "wave" | |
1824 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
1825 | coroutine.wrap(function() | |
1826 | for i = 1, 20 do | |
1827 | skmesh.Scale = skmesh.Scale + Vector3.new(.03,0,.03) | |
1828 | sk.Transparency = sk.Transparency + .05 | |
1829 | swait() | |
1830 | end | |
1831 | sk:Remove() | |
1832 | end)() | |
1833 | local wshockwave = Instance.new("Part", Torso) | |
1834 | wshockwave.Size = Vector3.new(1,1,1) | |
1835 | wshockwave.CanCollide = false | |
1836 | wshockwave.Anchored = true | |
1837 | wshockwave.Transparency = .45 | |
1838 | wshockwave.BrickColor = BrickColor.new("Alder") | |
1839 | wshockwave.CFrame = CFrame.new(bullet.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1840 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
1841 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
1842 | wshockwavemesh.Name = "wswm" | |
1843 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
1844 | removeuseless:AddItem(wshockwave,2) | |
1845 | coroutine.wrap(function() | |
1846 | for i = 1, 20 do | |
1847 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(3,0,3) | |
1848 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
1849 | swait() | |
1850 | end | |
1851 | wshockwave:Remove() | |
1852 | end)() | |
1853 | swait() | |
1854 | end | |
1855 | bullet:Remove() | |
1856 | end)() | |
1857 | energloop:Play() | |
1858 | local bems = Instance.new("Sound",rightlocation) | |
1859 | bems.SoundId = "rbxassetid://1351572613" | |
1860 | bems.Volume = 8 | |
1861 | bems:Play() | |
1862 | removeuseless:AddItem(bems,5) | |
1863 | for i = 1, 12 do | |
1864 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(.2,1.4,-.3) * CFrame.Angles(math.rad(90),math.rad(230),math.rad(0)),.3) | |
1865 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1866 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(-8), math.rad(60), math.rad(0)), 0.3) | |
1867 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1868 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1869 | swait() | |
1870 | end | |
1871 | removeuseless:AddItem(g1,.001) | |
1872 | debounce = false | |
1873 | attacking = false | |
1874 | elseif Press=='u' then | |
1875 | if mouse.Target ~= nil then | |
1876 | if mouse.Target.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1877 | if debounce then return end | |
1878 | debounce = true | |
1879 | attacking = true | |
1880 | enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1881 | ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso") | |
1882 | ws = 12 | |
1883 | g1 = Instance.new("BodyGyro", Root) | |
1884 | g1.D = 175 | |
1885 | g1.P = 20000 | |
1886 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1887 | local chargo = Instance.new("Sound",rightlocation) | |
1888 | chargo.SoundId = "rbxassetid://306181935" | |
1889 | chargo.Volume = 7 | |
1890 | chargo.Looped = false | |
1891 | chargo.Pitch = 1.1 | |
1892 | chargo:Play() | |
1893 | removeuseless:AddItem(chargo,5) | |
1894 | for i = 1, 120 do | |
1895 | coroutine.wrap(function() | |
1896 | local sk = Instance.new("Part",Torso) | |
1897 | sk.CanCollide = false | |
1898 | sk.Anchored = true | |
1899 | sk.BrickColor = BrickColor.new("Alder") | |
1900 | sk.Name = "sk" | |
1901 | sk.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1902 | local skmesh = Instance.new("SpecialMesh",sk) | |
1903 | skmesh.MeshId = "rbxassetid://662586858" | |
1904 | skmesh.Name = "wave" | |
1905 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
1906 | for i = 1, 20 do | |
1907 | skmesh.Scale = skmesh.Scale + Vector3.new(.01,0,.01) | |
1908 | sk.Transparency = sk.Transparency + .05 | |
1909 | swait() | |
1910 | end | |
1911 | sk:Remove() | |
1912 | end)() | |
1913 | coroutine.wrap(function() | |
1914 | local wshockwave = Instance.new("Part", Torso) | |
1915 | wshockwave.Size = Vector3.new(1,1,1) | |
1916 | wshockwave.CanCollide = false | |
1917 | wshockwave.Anchored = true | |
1918 | wshockwave.Transparency = .45 | |
1919 | wshockwave.BrickColor = BrickColor.new("Alder") | |
1920 | wshockwave.CFrame = CFrame.new(rightlocation.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1921 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
1922 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
1923 | wshockwavemesh.Name = "wswm" | |
1924 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
1925 | removeuseless:AddItem(wshockwave,2) | |
1926 | for i = 1, 20 do | |
1927 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(1,0,1) | |
1928 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
1929 | swait() | |
1930 | end | |
1931 | wshockwave:Remove() | |
1932 | end)() | |
1933 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1934 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1935 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(2), math.rad(-40), math.rad(0)), 0.03) | |
1936 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.8,-0) * CFrame.Angles(math.rad(-120),math.rad(99),math.rad(0)),.03) | |
1937 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.03) | |
1938 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.03) | |
1939 | swait() | |
1940 | end | |
1941 | coroutine.wrap(function() | |
1942 | local bullet = Instance.new("Part",Torso) | |
1943 | bullet.CanCollide = false | |
1944 | bullet.Anchored = false | |
1945 | bullet.Size = Vector3.new(2,2,2) | |
1946 | bullet.Transparency = .5 | |
1947 | bullet.Shape = "Ball" | |
1948 | bullet.Material = "Neon" | |
1949 | bullet.BrickColor = BrickColor.new("Alder") | |
1950 | bullet.CFrame = rightlocation.CFrame | |
1951 | energloop = Instance.new("Sound",bullet) | |
1952 | energloop.Volume = 6 | |
1953 | energloop.SoundId = "rbxassetid://2607597779" | |
1954 | energloop.Looped = true | |
1955 | MAKETRAIL(bullet,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.5,ColorSequence.new(BrickColor.new("Alder").Color,BrickColor.new("Eggplant").Color)) | |
1956 | maxsped = 45 | |
1957 | local bov = Instance.new("RocketPropulsion",bullet) | |
1958 | bov.MaxThrust = 4000 | |
1959 | bov.MaxSpeed = maxsped | |
1960 | bov.MaxTorque = Vector3.new(99999999,99999999,99999999) | |
1961 | bov.Target = ETorso | |
1962 | bov.TargetRadius = math.huge | |
1963 | bov:fire() | |
1964 | for i = 1, 1001 do | |
1965 | maxsped = maxsped + 1 | |
1966 | bov.MaxSpeed = maxsped | |
1967 | local Hit = damagealll(15,bullet.Position) | |
1968 | for _,v in pairs(Hit) do | |
1969 | if v:FindFirstChildOfClass("Humanoid") and v.Name ~= Player.Name then | |
1970 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1971 | slachtoffer:TakeDamage(1) | |
1972 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1973 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1974 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1975 | vel.velocity = CFrame.new(bullet.Position,torso.Position).lookVector*150 | |
1976 | removeuseless:AddItem(vel,.1) | |
1977 | end | |
1978 | end | |
1979 | local sk = Instance.new("Part",Torso) | |
1980 | sk.CanCollide = false | |
1981 | sk.Anchored = true | |
1982 | sk.BrickColor = BrickColor.new("Alder") | |
1983 | sk.Name = "sk" | |
1984 | sk.CFrame = bullet.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1985 | local skmesh = Instance.new("SpecialMesh",sk) | |
1986 | skmesh.MeshId = "rbxassetid://662586858" | |
1987 | skmesh.Name = "wave" | |
1988 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
1989 | coroutine.wrap(function() | |
1990 | for i = 1, 20 do | |
1991 | skmesh.Scale = skmesh.Scale + Vector3.new(.03,0,.03) | |
1992 | sk.Transparency = sk.Transparency + .05 | |
1993 | swait() | |
1994 | end | |
1995 | sk:Remove() | |
1996 | end)() | |
1997 | local wshockwave = Instance.new("Part", Torso) | |
1998 | wshockwave.Size = Vector3.new(1,1,1) | |
1999 | wshockwave.CanCollide = false | |
2000 | wshockwave.Anchored = true | |
2001 | wshockwave.Transparency = .45 | |
2002 | wshockwave.BrickColor = BrickColor.new("Alder") | |
2003 | wshockwave.CFrame = CFrame.new(bullet.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
2004 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
2005 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
2006 | wshockwavemesh.Name = "wswm" | |
2007 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
2008 | removeuseless:AddItem(wshockwave,2) | |
2009 | coroutine.wrap(function() | |
2010 | for i = 1, 20 do | |
2011 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(3,0,3) | |
2012 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
2013 | swait() | |
2014 | end | |
2015 | wshockwave:Remove() | |
2016 | end)() | |
2017 | swait() | |
2018 | end | |
2019 | bullet:Remove() | |
2020 | end)() | |
2021 | energloop:Play() | |
2022 | local bems = Instance.new("Sound",rightlocation) | |
2023 | bems.SoundId = "rbxassetid://1351572613" | |
2024 | bems.Volume = 8 | |
2025 | bems:Play() | |
2026 | removeuseless:AddItem(bems,5) | |
2027 | for i = 1, 12 do | |
2028 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(.2,1.4,-.3) * CFrame.Angles(math.rad(90),math.rad(230),math.rad(0)),.3) | |
2029 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
2030 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(-8), math.rad(60), math.rad(0)), 0.3) | |
2031 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
2032 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
2033 | swait() | |
2034 | end | |
2035 | removeuseless:AddItem(g1,.001) | |
2036 | debounce = false | |
2037 | attacking = false | |
2038 | end | |
2039 | end | |
2040 | elseif Press=='t' then | |
2041 | if oofing then return end | |
2042 | if dedlaff then return end | |
2043 | if tauntdebounce == true then return end | |
2044 | if debounce then return end | |
2045 | debounce = true | |
2046 | attacking = true | |
2047 | ws = 4 | |
2048 | coroutine.wrap(function() | |
2049 | for i = 1, 60 do | |
2050 | swait() | |
2051 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
2052 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2) | |
2053 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
2054 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.64 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2) | |
2055 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.9 + .02 * math.sin(sine/12),.05) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2) | |
2056 | end | |
2057 | debounce = false | |
2058 | attacking = false | |
2059 | ws = 19 | |
2060 | end)() | |
2061 | tauntdebounce = true | |
2062 | tauntsound = Instance.new("Sound", Head) | |
2063 | tauntsound.Volume = 10 | |
2064 | tauntsound.SoundId = "rbxassetid://246480487" | |
2065 | tauntsound.Looped = false | |
2066 | tauntsound:Play() | |
2067 | wait(3) | |
2068 | wait(tauntsound.TimeLength) | |
2069 | tauntsound:Remove() | |
2070 | wait(1) | |
2071 | tauntdebounce = false | |
2072 | end | |
2073 | end) | |
2074 | ||
2075 | mouse.KeyDown:connect(function(Press) | |
2076 | Press=Press:lower() | |
2077 | if Press=='r' then | |
2078 | if mouse.Target ~= nil then | |
2079 | if mouse.Target.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then | |
2080 | if debounce then return end | |
2081 | debounce = true | |
2082 | attacking = true | |
2083 | ws = 8 | |
2084 | enemy = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
2085 | for i = 1, 20 do | |
2086 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-2), math.rad(40), math.rad(0)), 0.3) | |
2087 | LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(.3,1.62,-.07) * CFrame.Angles(math.rad(-120),math.rad(-99),math.rad(0)),.3) | |
2088 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, .3) * CFrame.Angles(math.rad(25), math.rad(0)*math.cos(sine/7), math.rad(-2)), 0.3) | |
2089 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9,-.2) * CFrame.Angles(math.rad(-25), math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
2090 | swait() | |
2091 | end | |
2092 | for i = 1, 20 do | |
2093 | if grabbed then break end | |
2094 | local Hit = damagealll(5,rightlocation.Position) | |
2095 | for _,v in pairs(Hit) do | |
2096 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Parent.Name == enemy.Parent.Name then | |
2097 | grabbed = true | |
2098 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
2099 | end | |
2100 | end | |
2101 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, .3) * CFrame.Angles(math.rad(25), math.rad(0)*math.cos(sine/7), math.rad(-2)), 0.3) | |
2102 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9,-.2) * CFrame.Angles(math.rad(-25), math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
2103 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.25,-.18,.2) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(0)),.3) | |
2104 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-2), math.rad(-40), math.rad(0)), 0.3) | |
2105 | swait() | |
2106 | end | |
2107 | if grabbed then | |
2108 | change = .5 | |
2109 | ws = 0 | |
2110 | jp = 0 | |
2111 | enemyweld = weldBetween(enemy.Parent.Head,leftlocation) | |
2112 | enemyweld.C0 = CFrame.new(0,-.6,0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(180)) | |
2113 | for i = 1, 35 do | |
2114 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)),math.rad(0),math.rad(0)),.1) | |
2115 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.4 + .02 * math.sin(sine/12),.10 * -math.sin(sine/12)) * CFrame.Angles(math.rad(-10 + 10 * math.sin(sine/12)),math.rad(0),math.rad(-25)), 0.1) | |
2116 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), .1) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.1) | |
2117 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), .1) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.1) | |
2118 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.8,.39) * CFrame.Angles(math.rad(-138),math.rad(0),math.rad(0)),.3) | |
2119 | swait() | |
2120 | end | |
2121 | rawr = Instance.new("Sound",Head) | |
2122 | rawr.SoundId = "rbxassetid://246480487" | |
2123 | rawr.Volume = 8 | |
2124 | rawr.Pitch = 1.05 | |
2125 | rawr:Play() | |
2126 | wait(.35) | |
2127 | for i = 1, 60 do | |
2128 | if enemy.Health > 1 then | |
2129 | enemy:TakeDamage(1) | |
2130 | end | |
2131 | hum.CameraOffset = Vector3.new(math.random(-1,1),0,math.random(-1,1)) | |
2132 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
2133 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2) | |
2134 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
2135 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.9 + .02 * math.sin(sine/12),.05) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2) | |
2136 | swait() | |
2137 | end | |
2138 | hum.CameraOffset = Vector3.new(0,0,0) | |
2139 | g1 = Instance.new("BodyGyro", Root) | |
2140 | g1.D = 175 | |
2141 | g1.P = 20000 | |
2142 | g1.MaxTorque = Vector3.new(0,9000,0) | |
2143 | for i = 1, 25 do | |
2144 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, .3) * CFrame.Angles(math.rad(25), math.rad(0)*math.cos(sine/7), math.rad(-2)), 0.3) | |
2145 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9,-.2) * CFrame.Angles(math.rad(-25), math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
2146 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
2147 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.2,.39) * CFrame.Angles(math.rad(-90),math.rad(30),math.rad(0)),.3) | |
2148 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(-0),math.rad(40),math.rad(0)),.1) | |
2149 | swait() | |
2150 | end | |
2151 | g1:Remove() | |
2152 | enemyweld:Remove() | |
2153 | throwo = Instance.new("Sound",enemy.Parent.Head) | |
2154 | throwo.SoundId = "rbxassetid://2314640406" | |
2155 | throwo.Volume = 10 | |
2156 | throwo.Pitch = .95 | |
2157 | throwo:Play() | |
2158 | enemy:TakeDamage(math.random(4,10)) | |
2159 | removeuseless:AddItem(throwo,4) | |
2160 | local bov = Instance.new("BodyVelocity",enemy.Parent.Head) | |
2161 | bov.maxForce = Vector3.new(99999,99999,99999) | |
2162 | enemy.Parent.Head.CFrame = CFrame.new(enemy.Parent.Head.Position,mouse.Hit.p) | |
2163 | bov.velocity = enemy.Parent.Head.CFrame.lookVector*100 | |
2164 | removeuseless:AddItem(bov,.25) | |
2165 | for i = 1, 25 do | |
2166 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
2167 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
2168 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.25,-.18,.2) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(0)),.3) | |
2169 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(-0),math.rad(-40),math.rad(0)),.1) | |
2170 | swait() | |
2171 | end | |
2172 | jp = 85 | |
2173 | grabbed = false | |
2174 | debounce = false | |
2175 | attacking = false | |
2176 | else | |
2177 | ws = 19 | |
2178 | jp = 85 | |
2179 | grabbed = false | |
2180 | debounce = false | |
2181 | attacking = false | |
2182 | end | |
2183 | end | |
2184 | end | |
2185 | end | |
2186 | end) | |
2187 | ||
2188 | mouse.KeyDown:connect(function(Press) | |
2189 | Press=Press:lower() | |
2190 | if Press=='e' then | |
2191 | if debounce then return end | |
2192 | debounce = true | |
2193 | attacking = true | |
2194 | coroutine.wrap(function() | |
2195 | if dash1 then | |
2196 | dash1 = false | |
2197 | dash2 = true | |
2198 | for i = 1, 30 do | |
2199 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.15,-.3) * CFrame.Angles(math.rad(50 + 5 * math.sin(sine/8)),math.rad(0),math.rad(-10)),.3) | |
2200 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.1,-.15,.5) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(-20)),.3) | |
2201 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.25, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/7))), 0.3) | |
2202 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, .3) * CFrame.Angles(math.rad(25), math.rad(0)*math.cos(sine/7), math.rad(-2)), 0.3) | |
2203 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9,-.2) * CFrame.Angles(math.rad(-25), math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
2204 | swait() | |
2205 | end | |
2206 | elseif dash2 then | |
2207 | dash1 = true | |
2208 | dash2 = false | |
2209 | for i = 1, 30 do | |
2210 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.15,-.3) * CFrame.Angles(math.rad(50 + 5 * math.sin(sine/8)),math.rad(0),math.rad(-10)),.3) | |
2211 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.1,-.15,.5) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(-20)),.3) | |
2212 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.25, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/7))), 0.3) | |
2213 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, -.2) * CFrame.Angles(math.rad(-25), math.rad(0)*math.cos(sine/7), math.rad(-2)), 0.3) | |
2214 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9,.3) * CFrame.Angles(math.rad(25), math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
2215 | swait() | |
2216 | end | |
2217 | end | |
2218 | end)() | |
2219 | local boomsound = Instance.new("Sound",Torso) | |
2220 | boomsound.SoundId = "rbxassetid://1177784919" | |
2221 | boomsound.Volume = 8 | |
2222 | boomsound:Play() | |
2223 | removeuseless:AddItem(boomsound,5) | |
2224 | local tornadotwistloc = Instance.new("Part",Torso) | |
2225 | tornadotwistloc.CFrame = Root.CFrame | |
2226 | tornadotwistloc.Anchored = true | |
2227 | tornadotwistloc.Transparency = 1 | |
2228 | tornadotwistloc.CanCollide = false | |
2229 | tornadotwistloc.Size = Vector3.new(1,1,1) | |
2230 | twist = 0 | |
2231 | grassblocksloc = Instance.new("Part",Torso) | |
2232 | grassblocksloc.Size = Vector3.new(1,1,1) | |
2233 | grassblocksloc.CanCollide = false | |
2234 | grassblocksloc.Transparency = 1 | |
2235 | grassblocksloc.Anchored = false | |
2236 | grassblockslocweld = weldBetween(grassblocksloc,Torso) | |
2237 | grassblockslocweld.C0 = CFrame.new(4,4,0) | |
2238 | grassblocksloc2 = Instance.new("Part",Torso) | |
2239 | grassblocksloc2.Size = Vector3.new(1,1,1) | |
2240 | grassblocksloc2.CanCollide = false | |
2241 | grassblocksloc2.Transparency = 1 | |
2242 | grassblocksloc2.Anchored = false | |
2243 | grassblockslocweld2 = weldBetween(grassblocksloc2,Torso) | |
2244 | grassblockslocweld2.C0 = CFrame.new(-4,4,0) | |
2245 | coroutine.wrap(function() | |
2246 | for i = 1, 30 do | |
2247 | Hit = damagealll(16,Torso.Position) | |
2248 | for _,v in pairs(Hit) do | |
2249 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
2250 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
2251 | slachtoffer:TakeDamage(math.random(1,4)) | |
2252 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
2253 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
2254 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
2255 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*90 | |
2256 | removeuseless:AddItem(vel,.1) | |
2257 | end | |
2258 | end | |
2259 | coroutine.wrap(function() | |
2260 | local sk = Instance.new("Part",Torso) | |
2261 | sk.CanCollide = false | |
2262 | sk.Anchored = true | |
2263 | sk.BrickColor = BrickColor.new("Alder") | |
2264 | sk.Name = "sk" | |
2265 | sk.CFrame = Torso.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
2266 | local skmesh = Instance.new("SpecialMesh",sk) | |
2267 | skmesh.MeshId = "rbxassetid://662586858" | |
2268 | skmesh.Name = "wave" | |
2269 | skmesh.Scale = Vector3.new(.04,.01,.04) | |
2270 | removeuseless:AddItem(sk,2) | |
2271 | local energys = Instance.new("Part",Torso) | |
2272 | energys.Size = Vector3.new(3.5,3.5,3.5) | |
2273 | energys.Material = "Neon" | |
2274 | energys.BrickColor = BrickColor.new("Alder") | |
2275 | energys.Anchored = true | |
2276 | energys.CanCollide = false | |
2277 | energys.CFrame = grassblocksloc.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
2278 | local energys2 = Instance.new("Part",Torso) | |
2279 | energys2.Size = Vector3.new(3.5,3.5,3.5) | |
2280 | energys2.Material = "Neon" | |
2281 | energys2.BrickColor = BrickColor.new("Alder") | |
2282 | energys2.Anchored = true | |
2283 | energys2.CanCollide = false | |
2284 | energys2.CFrame = grassblocksloc2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
2285 | for i = 1, 20 do | |
2286 | skmesh.Scale = skmesh.Scale + Vector3.new(.01,0,.01) | |
2287 | sk.Transparency = sk.Transparency + .05 | |
2288 | energys2.Transparency = energys2.Transparency + .05 | |
2289 | energys.Transparency = energys.Transparency + .05 | |
2290 | swait() | |
2291 | end | |
2292 | sk:Remove() | |
2293 | energys2:Remove() | |
2294 | energys:Remove() | |
2295 | end)() | |
2296 | Root.CFrame = Root.CFrame * CFrame.new(0,0,-2.4) | |
2297 | swait() | |
2298 | end | |
2299 | debounce = false | |
2300 | attacking = false | |
2301 | end)() | |
2302 | coroutine.wrap(function() | |
2303 | local wind = Instance.new("Part", Torso) | |
2304 | wind.Size = Vector3.new(0.5, 0.5, 0.5) | |
2305 | wind.Material = "Neon" | |
2306 | wind.BrickColor = BrickColor.new("Really white") | |
2307 | wind.Transparency = .5 | |
2308 | wind.Anchored = true | |
2309 | wind.CanCollide = false | |
2310 | wind.CFrame = tornadotwistloc.CFrame * CFrame.Angles(math.rad(90),0,0) | |
2311 | windMESH = Instance.new("SpecialMesh", wind) | |
2312 | windMESH.Scale = Vector3.new(4.5,7.5,4.5) | |
2313 | windMESH.MeshId = "rbxassetid://168892432" | |
2314 | local wind2 = Instance.new("Part", Torso) | |
2315 | wind2.Size = Vector3.new(0.5, 0.5, 0.5) | |
2316 | wind2.Material = "Neon" | |
2317 | wind2.BrickColor = BrickColor.new("Really white") | |
2318 | wind2.Transparency = .5 | |
2319 | wind2.Anchored = true | |
2320 | wind2.CanCollide = false | |
2321 | wind2.CFrame = tornadotwistloc.CFrame * CFrame.Angles(math.rad(90),0,0) | |
2322 | windMESH2 = Instance.new("SpecialMesh", wind2) | |
2323 | windMESH2.Scale = Vector3.new(2.5,5.5,2.5) | |
2324 | windMESH2.MeshId = "rbxassetid://168892432" | |
2325 | for i = 1, 50 do | |
2326 | twist = twist + 11 | |
2327 | windMESH.Scale = windMESH.Scale + Vector3.new(.35,.35,.35) | |
2328 | windMESH2.Scale = windMESH2.Scale + Vector3.new(.35,.35,.35) | |
2329 | wind.CFrame = tornadotwistloc.CFrame * CFrame.Angles(math.rad(90),math.rad(twist),0) | |
2330 | wind2.CFrame = tornadotwistloc.CFrame * CFrame.Angles(math.rad(90),math.rad(-twist),0) | |
2331 | wind.Transparency = wind.Transparency + .015 | |
2332 | wind2.Transparency = wind2.Transparency + .015 | |
2333 | swait() | |
2334 | end | |
2335 | wind:Remove() | |
2336 | wind2:Remove() | |
2337 | end)() | |
2338 | end | |
2339 | end) | |
2340 | ||
2341 | checks1 = coroutine.wrap(function() -------Checks | |
2342 | while true do | |
2343 | hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,3*3,Character) | |
2344 | if Root.Velocity.y > 1 and hf == nil then | |
2345 | position = "Jump" | |
2346 | elseif Root.Velocity.y < -1 and hf == nil then | |
2347 | position = "Falling" | |
2348 | elseif Root.Velocity.Magnitude < 2 and hf ~= nil then | |
2349 | position = "Idle" | |
2350 | elseif Root.Velocity.Magnitude > 2 and hf ~= nil then | |
2351 | position = "Walking" | |
2352 | end | |
2353 | wait() | |
2354 | end | |
2355 | end) | |
2356 | checks1() | |
2357 | ||
2358 | oofing = true | |
2359 | hum.HealthChanged:Connect(function(healthz) | |
2360 | if tauntdebounce then return end | |
2361 | if dedlaff then return end | |
2362 | if oofing then return end | |
2363 | oofing = true | |
2364 | ouchtable = beingattackedtable[math.random(1,#beingattackedtable)] | |
2365 | ouch = Instance.new("Sound",Head) | |
2366 | ouch.SoundId = "rbxassetid://"..ouchtable | |
2367 | ouch.Volume = 8 | |
2368 | ouch:Play() | |
2369 | wait(1) | |
2370 | wait(ouch.TimeLength) | |
2371 | ouch:Remove() | |
2372 | wait(1) | |
2373 | oofing = false | |
2374 | end) | |
2375 | coroutine.wrap(function() | |
2376 | wait(2) | |
2377 | oofing = false | |
2378 | end)() | |
2379 | ||
2380 | OrgnC0 = Neck.C0 | |
2381 | local movelimbs = coroutine.wrap(function() | |
2382 | while RunSrv.RenderStepped:wait() do | |
2383 | TrsoLV = Torso.CFrame.lookVector | |
2384 | Dist = nil | |
2385 | Diff = nil | |
2386 | if not MseGuide then | |
2387 | print("Failed to recognize") | |
2388 | else | |
2389 | local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
2390 | Dist = (Head.CFrame.p-Point).magnitude | |
2391 | Diff = Head.CFrame.Y-Point.Y | |
2392 | local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
2393 | Dist2 = (LeftArm.CFrame.p-Point).magnitude | |
2394 | Diff2 = LeftArm.CFrame.Y-Point.Y | |
2395 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2396 | Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1) | |
2397 | end | |
2398 | end | |
2399 | end) | |
2400 | movelimbs() | |
2401 | immortal = {} | |
2402 | for i,v in pairs(Character:GetDescendants()) do | |
2403 | if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then | |
2404 | if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then | |
2405 | v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
2406 | end | |
2407 | table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency}) | |
2408 | elseif v:IsA("JointInstance") then | |
2409 | table.insert(immortal,{v,v.Parent,nil,nil,nil}) | |
2410 | end | |
2411 | end | |
2412 | for e = 1, #immortal do | |
2413 | if immortal[e] ~= nil then | |
2414 | local STUFF = immortal[e] | |
2415 | local PART = STUFF[1] | |
2416 | local PARENT = STUFF[2] | |
2417 | local MATERIAL = STUFF[3] | |
2418 | local COLOR = STUFF[4] | |
2419 | local TRANSPARENCY = STUFF[5] | |
2420 | if levitate then | |
2421 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
2422 | PART.Material = MATERIAL | |
2423 | PART.Color = COLOR | |
2424 | PART.Transparency = TRANSPARENCY | |
2425 | end | |
2426 | PART.AncestryChanged:connect(function() | |
2427 | PART.Parent = PARENT | |
2428 | end) | |
2429 | else | |
2430 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
2431 | PART.Material = MATERIAL | |
2432 | PART.Color = COLOR | |
2433 | PART.Transparency = TRANSPARENCY | |
2434 | end | |
2435 | PART.AncestryChanged:connect(function() | |
2436 | PART.Parent = PARENT | |
2437 | end) | |
2438 | end | |
2439 | end | |
2440 | end | |
2441 | function immortality() | |
2442 | for e = 1, #immortal do | |
2443 | if immortal[e] ~= nil then | |
2444 | local STUFF = immortal[e] | |
2445 | local PART = STUFF[1] | |
2446 | local PARENT = STUFF[2] | |
2447 | local MATERIAL = STUFF[3] | |
2448 | local COLOR = STUFF[4] | |
2449 | local TRANSPARENCY = STUFF[5] | |
2450 | if PART.ClassName == "Part" and PART == Root then | |
2451 | PART.Material = MATERIAL | |
2452 | PART.Color = COLOR | |
2453 | PART.Transparency = TRANSPARENCY | |
2454 | end | |
2455 | if PART.Parent ~= PARENT then | |
2456 | hum:Remove() | |
2457 | PART.Parent = PARENT | |
2458 | hum = Instance.new("Humanoid",Character) | |
2459 | hum.Name = "nightfall" | |
2460 | end | |
2461 | end | |
2462 | end | |
2463 | end | |
2464 | alreadyflip = false | |
2465 | function jumpsound() | |
2466 | if alreadyflip then return end | |
2467 | alreadyflip = true | |
2468 | flipsound = Instance.new("Sound",Torso) | |
2469 | flipsound.SoundId = "rbxassetid://1031614266" | |
2470 | flipsound.Volume = 2 | |
2471 | flipsound.Pitch = 1 | |
2472 | flipsound:Play() | |
2473 | removeuseless:AddItem(flipsound,2) | |
2474 | wait(1) | |
2475 | alreadyflip = false | |
2476 | end | |
2477 | coroutine.wrap(function() | |
2478 | while true do | |
2479 | if hum.Health < .1 then | |
2480 | deadsound = Instance.new("Sound", Torso) | |
2481 | deadsound.Volume = 6 | |
2482 | deadsound.SoundId = "rbxassetid://1411352723" | |
2483 | deadsound:Play() | |
2484 | immortality() | |
2485 | end | |
2486 | wait() | |
2487 | end | |
2488 | end)() | |
2489 | spinny = 0 | |
2490 | local anims = coroutine.wrap(function() | |
2491 | while true do | |
2492 | settime = 0.05 | |
2493 | sine = sine + change | |
2494 | if position == "Jump" and attacking == false then | |
2495 | coroutine.wrap(function() | |
2496 | jumpsound() | |
2497 | end)() | |
2498 | spinny = spinny - 18 | |
2499 | change = 1 | |
2500 | ws = 35 | |
2501 | footsteps.Volume = 0 | |
2502 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
2503 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
2504 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
2505 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(spinny), math.rad(0), math.rad(0)), 0.4) | |
2506 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.2) | |
2507 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-10)), 0.2) | |
2508 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1., .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
2509 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
2510 | elseif position == "Falling" and attacking == false then | |
2511 | change = 1 | |
2512 | ws = 19 | |
2513 | spinny = 0 | |
2514 | footsteps.Volume = 0 | |
2515 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.15) | |
2516 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
2517 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
2518 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
2519 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, .5) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
2520 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, .5) * CFrame.Angles(math.rad(8), math.rad(-4), math.rad(0)), 0.2) | |
2521 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.64 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2) | |
2522 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.9 + .02 * math.sin(sine/12),.05) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2) | |
2523 | elseif position == "Walking" and attacking == false and running == false then | |
2524 | change = 1.2 | |
2525 | if invisible then | |
2526 | ws = 30 | |
2527 | else | |
2528 | ws = 19 | |
2529 | end | |
2530 | walking = true | |
2531 | spinny = 0 | |
2532 | footsteps.Volume = 2 | |
2533 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.15,-.3) * CFrame.Angles(math.rad(50 + 5 * math.sin(sine/8)),math.rad(0),math.rad(-10)),.3) | |
2534 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.1,-.15,.5) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(-20)),.3) | |
2535 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.07 + 0.2*math.sin(sine/3.5), 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/7))), 0.3) | |
2536 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9 - 0.35 * math.cos(sine/7)/2.8, -.3 + 0.2 - math.sin(sine/7)/3.4) * CFrame.Angles(math.rad(25 - 35) + -math.sin(sine/7)/2.3, math.rad(0)*math.cos(sine/7), math.rad(0), math.cos(-15 * 75 * math.cos(sine/7))), 0.3) | |
2537 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9 + 0.35 * math.cos(sine/7)/2.8, -.3 + 0.2 + math.sin(sine/7)/3.4) * CFrame.Angles(math.rad(25 - 35) - -math.sin(sine/7)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(-15 * 75 * math.cos(sine/7))), 0.3) | |
2538 | elseif position == "Idle" and attacking == false and running == false then | |
2539 | change = .5 | |
2540 | if invisible then | |
2541 | ws = 30 | |
2542 | else | |
2543 | ws = 19 | |
2544 | end | |
2545 | spinny = 0 | |
2546 | footsteps.Volume = 0 | |
2547 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)),math.rad(0),math.rad(0)),.1) | |
2548 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.1) | |
2549 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.4 + .02 * math.sin(sine/12),.10 * -math.sin(sine/12)) * CFrame.Angles(math.rad(-10 + 10 * math.sin(sine/12)),math.rad(0),math.rad(-25)), 0.1) | |
2550 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), .1) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.1) | |
2551 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), .1) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.1) | |
2552 | end | |
2553 | swait() | |
2554 | end | |
2555 | end) | |
2556 | anims() | |
2557 | warn("He's here. Made by Supr14") |