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