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