SHOW:
|
|
- or go back to the newest paste.
1 | - | plr = game:GetService("Players").LocalPlayer |
1 | + | script.Name = "Ultimate Demon V2 / 1" |
2 | - | char = plr.Character |
2 | + | |
3 | - | hum = char.Humanoid |
3 | + | |
4 | - | local cam = game.Workspace.CurrentCamera |
4 | + | |
5 | - | local Controller = plr.PlayerScripts:WaitForChild("ControlScript") |
5 | + | |
6 | - | Camera = cam |
6 | + | |
7 | - | local CamInterrupt = false |
7 | + | |
8 | - | local TwoD = false |
8 | + | |
9 | - | local TargetInfo = {nil, nil} |
9 | + | |
10 | - | cam.CameraType = "Custom" |
10 | + | |
11 | - | t = char.Torso |
11 | + | |
12 | - | h = char.Head |
12 | + | |
13 | - | ra = char["Right Arm"] |
13 | + | |
14 | - | la = char["Left Arm"] |
14 | + | |
15 | - | rl = char["Right Leg"] |
15 | + | |
16 | - | ll = char["Left Leg"] |
16 | + | |
17 | - | tors = char.Torso |
17 | + | |
18 | - | lleg = char["Left Leg"] |
18 | + | |
19 | - | root = char.HumanoidRootPart |
19 | + | |
20 | - | hed = char.Head |
20 | + | |
21 | - | rleg = char["Right Leg"] |
21 | + | |
22 | - | rarm = char["Right Arm"] |
22 | + | |
23 | - | larm = char["Left Arm"] |
23 | + | |
24 | - | radian = math.rad |
24 | + | |
25 | - | random = math.random |
25 | + | |
26 | - | Vec3 = Vector3.new |
26 | + | |
27 | - | Inst = Instance.new |
27 | + | |
28 | - | cFrame = CFrame.new |
28 | + | |
29 | - | Euler = CFrame.fromEulerAnglesXYZ |
29 | + | |
30 | - | vt = Vector3.new |
30 | + | |
31 | - | bc = BrickColor.new |
31 | + | |
32 | - | br = BrickColor.random |
32 | + | |
33 | - | it = Instance.new |
33 | + | |
34 | - | cf = CFrame.new |
34 | + | |
35 | - | local eff = true |
35 | + | |
36 | - | local shielding = false |
36 | + | |
37 | A1 = Instance.new('Attachment',Character.Head) | |
38 | - | local Booleans = { |
38 | + | |
39 | - | CamFollow = true, |
39 | + | |
40 | - | GyroUse = true |
40 | + | |
41 | Trail.Attachment0 = A0 | |
42 | Trail.Attachment1 = A1 | |
43 | - | function lerp(object, newCFrame, alpha) |
43 | + | |
44 | - | return object:lerp(newCFrame, alpha) |
44 | + | |
45 | Trail.Lifetime = TrailSettings.Lifetime | |
46 | local Trail2 = Trail:Clone() | |
47 | - | local Directer = Inst("BodyGyro", root) |
47 | + | |
48 | - | Directer.MaxTorque = Vec3(0, 0, 0) |
48 | + | |
49 | - | Directer.P = 600000 |
49 | + | |
50 | - | local CPart = Inst("Part") |
50 | + | |
51 | - | CPart.Anchored = true |
51 | + | |
52 | - | CPart.CanCollide = false |
52 | + | |
53 | - | CPart.Locked = true |
53 | + | |
54 | - | CPart.Transparency = 1 |
54 | + | |
55 | Trail6.Attachment1 = A2 | |
56 | - | local rainbowmode = false |
56 | + | |
57 | - | local chaosmode = false |
57 | + | |
58 | Trail7.Attachment0 = A1 | |
59 | - | kan = Instance.new("Sound",char) |
59 | + | |
60 | - | kan.Volume = 1.25 |
60 | + | |
61 | - | kan.TimePosition = 0 |
61 | + | |
62 | - | kan.PlaybackSpeed = 1 |
62 | + | |
63 | - | kan.Pitch = 1 |
63 | + | |
64 | - | kan.SoundId = "rbxassetid://0" |
64 | + | |
65 | - | kan.Name = "wrecked" |
65 | + | |
66 | - | kan.Looped = true |
66 | + | |
67 | - | kan:Play() |
67 | + | |
68 | Trail = Instance.new('Trail',Character) | |
69 | - | function newTheme(ID,timepos,pitch,vol) |
69 | + | |
70 | - | local kanz = kan |
70 | + | |
71 | - | --kanz:Stop() |
71 | + | |
72 | - | --kanz.Volume = vol |
72 | + | |
73 | - | --kanz.TimePosition = timepos |
73 | + | |
74 | - | kanz.PlaybackSpeed = pitch |
74 | + | |
75 | - | kanz.Pitch = pitch |
75 | + | |
76 | - | kanz.SoundId = ID |
76 | + | |
77 | - | kanz.Name = "wrecked" |
77 | + | |
78 | - | kanz.Looped = true |
78 | + | |
79 | - | kanz.Volume = 0.3 |
79 | + | |
80 | - | --kanz:Play() |
80 | + | |
81 | - | --coroutine.resume(coroutine.create(function() |
81 | + | |
82 | - | --wait(0.05) |
82 | + | |
83 | - | --end)) |
83 | + | |
84 | local Trail7 = Trail:Clone() | |
85 | Trail7.Parent = Character | |
86 | - | function newThemeCust(ID,timepos,pitch,vol) |
86 | + | |
87 | - | local kanz = kan |
87 | + | |
88 | - | kanz:Stop() |
88 | + | |
89 | - | kanz.Volume = vol |
89 | + | |
90 | - | kanz.TimePosition = timepos |
90 | + | |
91 | - | kanz.PlaybackSpeed = pitch |
91 | + | |
92 | - | kanz.Pitch = pitch |
92 | + | |
93 | - | kanz.SoundId = ID |
93 | + | |
94 | - | kanz.Name = "wrecked" |
94 | + | |
95 | - | kanz.Looped = true |
95 | + | |
96 | - | kanz:Play() |
96 | + | |
97 | Trail6.Attachment0 = A1 | |
98 | - | wait(0.05) |
98 | + | |
99 | local Trail7R = Trail:Clone() | |
100 | Trail7.Parent = Character | |
101 | Trail7.Attachment0 = A1 | |
102 | Trail7.Attachment1 = A3R | |
103 | end | |
104 | - | function CameraShake(Times, Power, PlayerTarget) |
104 | + | |
105 | ||
106 | - | FV = Instance.new("BoolValue", PlayerTarget) |
106 | + | |
107 | - | FV.Name = "CameraShake" |
107 | + | |
108 | - | for ShakeNum=1,Times do |
108 | + | |
109 | - | swait() |
109 | + | |
110 | - | local ef=Power |
110 | + | |
111 | - | if ef>=1 then |
111 | + | |
112 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) |
112 | + | |
113 | - | else |
113 | + | |
114 | - | ef=Power*10 |
114 | + | |
115 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) |
115 | + | |
116 | - | end |
116 | + | |
117 | local Trail8 = Trail:Clone() | |
118 | - | Humanoid.CameraOffset = Vector3.new(0,0,0) |
118 | + | |
119 | - | FV:Destroy() |
119 | + | |
120 | Trail8.Attachment1 = A4 | |
121 | Trail8.Color = TrailSettings.Color2 | |
122 | local Trail9 = Trail:Clone() | |
123 | - | function CameraEnshaking(Length,Intensity) |
123 | + | |
124 | Trail9.Attachment0 = A3 | |
125 | - | local intensity = 1*Intensity |
125 | + | |
126 | - | local rotM = 0.01*Intensity |
126 | + | |
127 | - | for i = 0, Length, 0.1 do |
127 | + | |
128 | - | swait() |
128 | + | |
129 | - | intensity = intensity - 0.05*Intensity/Length |
129 | + | |
130 | - | rotM = rotM - 0.0005*Intensity/Length |
130 | + | |
131 | - | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) |
131 | + | |
132 | - | cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM) |
132 | + | |
133 | A4 = Instance.new('Attachment',Character['RightLowerLeg']) | |
134 | - | Humanoid.CameraOffset = Vec3(0, 0, 0) |
134 | + | |
135 | A5 = Instance.new('Attachment',Character['LeftLowerLeg']) | |
136 | A5R = Instance.new('Attachment',Character['LeftUpperLeg']) | |
137 | - | CamShake=function(Part,Distan,Power,Times) |
137 | + | |
138 | - | local de=Part.Position |
138 | + | |
139 | - | for i,v in pairs(workspace:children()) do |
139 | + | |
140 | - | if v:IsA("Model") and v:findFirstChild("Humanoid") then |
140 | + | |
141 | - | for _,c in pairs(v:children()) do |
141 | + | |
142 | - | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then |
142 | + | |
143 | - | local Noob=v.Humanoid |
143 | + | |
144 | - | if Noob~=nil then |
144 | + | |
145 | Trail8.Attachment0 = A2 | |
146 | - | FV = Instance.new("BoolValue", Noob) |
146 | + | |
147 | - | FV.Name = "CameraShake" |
147 | + | |
148 | - | for ShakeNum=1,Times do |
148 | + | |
149 | - | swait() |
149 | + | |
150 | - | local ef=Power |
150 | + | |
151 | - | if ef>=1 then |
151 | + | |
152 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) |
152 | + | |
153 | - | else |
153 | + | |
154 | - | ef=Power*10 |
154 | + | |
155 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) |
155 | + | |
156 | - | end |
156 | + | |
157 | FT.Color = TrailSettings.Color2 | |
158 | - | Humanoid.CameraOffset = Vector3.new(0,0,0) |
158 | + | |
159 | - | FV:Destroy() |
159 | + | |
160 | Trail3R.Parent = Character | |
161 | - | CameraShake(Times, Power, Noob) |
161 | + | |
162 | local Trail4R = Trail:Clone() | |
163 | Trail4R.Parent = Character | |
164 | Trail4R.Attachment1 = A5R | |
165 | local Trail8 = Trail:Clone() | |
166 | Trail8.Parent = Character | |
167 | Trail8.Attachment0 = A2R | |
168 | Trail8.Attachment1 = A4R | |
169 | - | function chatfunc(text,color) |
169 | + | |
170 | - | local chat = coroutine.wrap(function() |
170 | + | |
171 | - | if Character:FindFirstChild("TalkingBillBoard")~= nil then |
171 | + | |
172 | - | Character:FindFirstChild("TalkingBillBoard"):destroy() |
172 | + | |
173 | Trail9.Attachment1 = A5R | |
174 | Trail9.Color = TrailSettings.Color2 | |
175 | - | naeeym2.Size = UDim2.new(0,100,0,40) |
175 | + | |
176 | - | naeeym2.StudsOffset = Vector3.new(0,3,0) |
176 | + | |
177 | FT2R.Attachment0 = A4R | |
178 | - | naeeym2.Name = "TalkingBillBoard" |
178 | + | |
179 | FT2R.Color = TrailSettings.Color2 | |
180 | end | |
181 | end | |
182 | ||
183 | - | tecks2.Font = "SciFi" |
183 | + | |
184 | AllBody = function() | |
185 | UpperBody() | |
186 | - | tecks2.TextColor3 = color |
186 | + | |
187 | - | tecks2.TextStrokeColor3 = Color3.new(0,0,0) |
187 | + | |
188 | ||
189 | --Checking to make sure that Only some Variables are Selected else do All Body | |
190 | if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
191 | TrailSettings.UpperBodyOnly = false | |
192 | TrailSettings.LowerBodyOnly = false | |
193 | - | tecks3.Font = "SciFi" |
193 | + | |
194 | TrailSettings.UpperBodyOnly = false | |
195 | TrailSettings.LowerBodyOnly = false | |
196 | - | tecks3.TextColor3 = Color3.new(0,0,0) |
196 | + | |
197 | - | tecks3.TextStrokeColor3 = color |
197 | + | |
198 | - | tecks3.Size = UDim2.new(1,0,0.5,0) |
198 | + | |
199 | elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
200 | TrailSettings.AllBody = true | |
201 | - | swait(1) |
201 | + | |
202 | - | plr.Character.wrecked.Volume = 0.3 |
202 | + | |
203 | - | if chaosmode == true then |
203 | + | |
204 | - | tecks2.TextColor3 = BrickColor.random().Color |
204 | + | |
205 | - | tecks3.TextStrokeColor3 = BrickColor.random().Color |
205 | + | |
206 | if TrailSettings.UpperBodyOnly == true then | |
207 | - | tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) |
207 | + | |
208 | - | tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) |
208 | + | |
209 | - | tecks2.Rotation = math.random(-5,5) |
209 | + | |
210 | - | tecks3.Rotation = math.random(-5,5) |
210 | + | |
211 | print('Called Lower Body Trail') | |
212 | elseif TrailSettings.AllBody == true then | |
213 | - | for i = 1,string.len(text),1 do |
213 | + | |
214 | - | CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115) |
214 | + | |
215 | - | tecks2.Text = string.sub(text,1,i) |
215 | + | |
216 | - | tecks3.Text = string.sub(text,1,i) |
216 | + | |
217 | - | swait(1) |
217 | + | |
218 | if TrailSettings.Accessories == true then | |
219 | - | wait(1) |
219 | + | |
220 | - | local randomrot = math.random(1,2) |
220 | + | |
221 | - | if randomrot == 1 then |
221 | + | |
222 | - | for i = 1, 50 do |
222 | + | |
223 | - | swait() |
223 | + | |
224 | - | tecks2.Rotation = tecks2.Rotation - .75 |
224 | + | |
225 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
225 | + | |
226 | - | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
226 | + | |
227 | - | tecks3.Rotation = tecks2.Rotation + .75 |
227 | + | |
228 | - | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
228 | + | |
229 | - | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
229 | + | |
230 | if TrailSettings.Extras == true then | |
231 | - | elseif randomrot == 2 then |
231 | + | |
232 | - | for i = 1, 50 do |
232 | + | |
233 | - | swait() |
233 | + | |
234 | - | tecks2.Rotation = tecks2.Rotation + .75 |
234 | + | |
235 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
235 | + | |
236 | - | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
236 | + | |
237 | - | tecks3.Rotation = tecks2.Rotation - .75 |
237 | + | |
238 | - | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
238 | + | |
239 | - | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
239 | + | |
240 | game:GetService('RunService').RenderStepped:connect(function() | |
241 | a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0) | |
242 | - | naeeym2:Destroy() |
242 | + | |
243 | end) | |
244 | - | chat() |
244 | + | |
245 | spawn(function() | |
246 | game:GetService('RunService').RenderStepped:connect(function() | |
247 | a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0) | |
248 | - | local Create = LoadLibrary("RbxUtility").Create |
248 | + | |
249 | end) | |
250 | - | CFuncs = { |
250 | + | |
251 | - | ["Part"] = { |
251 | + | |
252 | - | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
252 | + | |
253 | - | local Part = Create("Part"){ |
253 | + | |
254 | - | Parent = Parent, |
254 | + | |
255 | - | Reflectance = Reflectance, |
255 | + | |
256 | - | Transparency = Transparency, |
256 | + | |
257 | - | CanCollide = false, |
257 | + | |
258 | - | Locked = true, |
258 | + | |
259 | - | BrickColor = BrickColor.new(tostring(BColor)), |
259 | + | |
260 | - | Name = Name, |
260 | + | |
261 | - | Size = Size, |
261 | + | |
262 | - | Material = Material, |
262 | + | |
263 | - | } |
263 | + | |
264 | - | RemoveOutlines(Part) |
264 | + | |
265 | - | return Part |
265 | + | |
266 | - | end; |
266 | + | |
267 | - | }; |
267 | + | |
268 | - | |
268 | + | |
269 | - | ["Mesh"] = { |
269 | + | |
270 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
270 | + | |
271 | - | local Msh = Create(Mesh){ |
271 | + | |
272 | - | Parent = Part, |
272 | + | |
273 | - | Offset = OffSet, |
273 | + | |
274 | - | Scale = Scale, |
274 | + | |
275 | - | } |
275 | + | |
276 | - | if Mesh == "SpecialMesh" then |
276 | + | |
277 | - | Msh.MeshType = MeshType |
277 | + | |
278 | - | Msh.MeshId = MeshId |
278 | + | |
279 | - | end |
279 | + | |
280 | - | return Msh |
280 | + | |
281 | - | end; |
281 | + | |
282 | - | }; |
282 | + | |
283 | - | |
283 | + | |
284 | - | ["Mesh"] = { |
284 | + | |
285 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
285 | + | |
286 | - | local Msh = Create(Mesh){ |
286 | + | |
287 | - | Parent = Part, |
287 | + | |
288 | - | Offset = OffSet, |
288 | + | |
289 | - | Scale = Scale, |
289 | + | |
290 | - | } |
290 | + | |
291 | - | if Mesh == "SpecialMesh" then |
291 | + | |
292 | - | Msh.MeshType = MeshType |
292 | + | |
293 | - | Msh.MeshId = MeshId |
293 | + | |
294 | - | end |
294 | + | |
295 | - | return Msh |
295 | + | |
296 | - | end; |
296 | + | |
297 | - | }; |
297 | + | |
298 | - | |
298 | + | |
299 | - | ["Weld"] = { |
299 | + | |
300 | - | Create = function(Parent, Part0, Part1, C0, C1) |
300 | + | |
301 | - | local Weld = Create("Weld"){ |
301 | + | |
302 | - | Parent = Parent, |
302 | + | |
303 | - | Part0 = Part0, |
303 | + | |
304 | - | Part1 = Part1, |
304 | + | |
305 | - | C0 = C0, |
305 | + | |
306 | - | C1 = C1, |
306 | + | |
307 | - | } |
307 | + | |
308 | - | return Weld |
308 | + | |
309 | - | end; |
309 | + | |
310 | - | }; |
310 | + | |
311 | local naeeym2 = Instance.new("BillboardGui",Character) | |
312 | - | ["Sound"] = { |
312 | + | |
313 | - | Create = function(id, par, vol, pit) |
313 | + | |
314 | - | coroutine.resume(coroutine.create(function() |
314 | + | |
315 | - | local S = Create("Sound"){ |
315 | + | |
316 | - | Volume = vol, |
316 | + | |
317 | - | Name = "EffectSoundo", |
317 | + | |
318 | - | Pitch = pit or 1, |
318 | + | |
319 | - | SoundId = id, |
319 | + | |
320 | - | Parent = par or workspace, |
320 | + | |
321 | - | } |
321 | + | |
322 | - | wait() |
322 | + | |
323 | - | S:play() |
323 | + | |
324 | - | game:GetService("Debris"):AddItem(S, 10) |
324 | + | |
325 | - | end)) |
325 | + | |
326 | - | end; |
326 | + | |
327 | - | }; |
327 | + | |
328 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
329 | - | ["LongSound"] = { |
329 | + | |
330 | - | Create = function(id, par, vol, pit) |
330 | + | |
331 | - | coroutine.resume(coroutine.create(function() |
331 | + | |
332 | - | local S = Create("Sound"){ |
332 | + | |
333 | - | Volume = vol, |
333 | + | |
334 | - | Pitch = pit or 1, |
334 | + | |
335 | - | SoundId = id, |
335 | + | |
336 | - | Parent = par or workspace, |
336 | + | |
337 | - | } |
337 | + | |
338 | - | wait() |
338 | + | |
339 | - | S:play() |
339 | + | |
340 | - | game:GetService("Debris"):AddItem(S, 30) |
340 | + | |
341 | - | end)) |
341 | + | |
342 | - | end; |
342 | + | |
343 | - | }; |
343 | + | |
344 | - | |
344 | + | |
345 | - | ["ParticleEmitter"] = { |
345 | + | |
346 | - | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
346 | + | |
347 | - | local fp = Create("ParticleEmitter"){ |
347 | + | |
348 | - | Parent = Parent, |
348 | + | |
349 | - | Color = ColorSequence.new(Color1, Color2), |
349 | + | |
350 | - | LightEmission = LightEmission, |
350 | + | |
351 | - | Size = Size, |
351 | + | |
352 | - | Texture = Texture, |
352 | + | |
353 | - | Transparency = Transparency, |
353 | + | |
354 | - | ZOffset = ZOffset, |
354 | + | |
355 | - | Acceleration = Accel, |
355 | + | |
356 | - | Drag = Drag, |
356 | + | |
357 | - | LockedToPart = LockedToPart, |
357 | + | |
358 | - | VelocityInheritance = VelocityInheritance, |
358 | + | |
359 | - | EmissionDirection = EmissionDirection, |
359 | + | |
360 | - | Enabled = Enabled, |
360 | + | |
361 | - | Lifetime = LifeTime, |
361 | + | |
362 | - | Rate = Rate, |
362 | + | |
363 | - | Rotation = Rotation, |
363 | + | |
364 | - | RotSpeed = RotSpeed, |
364 | + | |
365 | - | Speed = Speed, |
365 | + | |
366 | - | VelocitySpread = VelocitySpread, |
366 | + | |
367 | - | } |
367 | + | |
368 | - | return fp |
368 | + | |
369 | - | end; |
369 | + | |
370 | - | }; |
370 | + | |
371 | LeftShoulder = Torso["Left Shoulder"] | |
372 | - | CreateTemplate = { |
372 | + | |
373 | - | |
373 | + | |
374 | - | }; |
374 | + | |
375 | local sick = Instance.new("Sound",Torso) | |
376 | ||
377 | IT = Instance.new | |
378 | CF = CFrame.new | |
379 | VT = Vector3.new | |
380 | - | local Object = Instance.new(Object) |
380 | + | |
381 | - | for Index, Value in pairs(Data or {}) do |
381 | + | |
382 | - | Object[Index] = Value |
382 | + | |
383 | BRICKC = BrickColor.new | |
384 | - | Object.Parent = Parent |
384 | + | |
385 | - | Object.Name = Name |
385 | + | |
386 | - | return Object |
386 | + | |
387 | ACOS = math.acos | |
388 | - | local halocolor = BrickColor.new("Dark blue") |
388 | + | |
389 | - | local halocolor2 = BrickColor.new("Dark blue") |
389 | + | |
390 | - | local starcolor = BrickColor.new("Dark blue") |
390 | + | |
391 | - | local lunacolor = BrickColor.new("Dark blue") |
391 | + | |
392 | - | local lunacolor2 = BrickColor.new("Dark blue") |
392 | + | |
393 | - | local wepcolor = BrickColor.new("Dark blue") |
393 | + | |
394 | - | local maincolor = BrickColor.new("Dark blue") |
394 | + | |
395 | - | local m = Instance.new("Model",char) |
395 | + | |
396 | - | local m2 = Instance.new("Model",char) |
396 | + | |
397 | - | local m3 = Instance.new("Model",char) |
397 | + | |
398 | - | local mw1 = Instance.new("Model",char) |
398 | + | |
399 | - | local mw2 = Instance.new("Model",char) |
399 | + | |
400 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
401 | - | local extrawingmod1 = Instance.new("Model",char) |
401 | + | |
402 | - | local extrawingmod2 = Instance.new("Model",char) |
402 | + | |
403 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
404 | - | function CreateParta(parent,transparency,reflectance,material,brickcolor) |
404 | + | |
405 | - | local p = Instance.new("Part") |
405 | + | |
406 | - | p.TopSurface = 0 |
406 | + | |
407 | - | p.BottomSurface = 0 |
407 | + | |
408 | - | p.Parent = parent |
408 | + | |
409 | - | p.Size = Vector3.new(0.1,0.1,0.1) |
409 | + | |
410 | - | p.Transparency = transparency |
410 | + | |
411 | - | p.Reflectance = reflectance |
411 | + | |
412 | - | p.CanCollide = false |
412 | + | |
413 | - | p.Locked = true |
413 | + | |
414 | - | p.BrickColor = brickcolor |
414 | + | |
415 | - | p.Material = material |
415 | + | |
416 | - | return p |
416 | + | |
417 | local VALUE1 = false | |
418 | local VALUE2 = false | |
419 | - | function CreateMesh(parent,meshtype,x1,y1,z1) |
419 | + | |
420 | - | local mesh = Instance.new("SpecialMesh",parent) |
420 | + | |
421 | - | mesh.MeshType = meshtype |
421 | + | |
422 | - | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) |
422 | + | |
423 | - | return mesh |
423 | + | |
424 | WEAPONGUI.Name = "BanishV3Gui" | |
425 | local Weapon = IT("Model") | |
426 | - | function CreateSpecialMesh(parent,meshid,x1,y1,z1) |
426 | + | |
427 | - | local mesh = Instance.new("SpecialMesh",parent) |
427 | + | |
428 | - | mesh.MeshType = "FileMesh" |
428 | + | |
429 | - | mesh.MeshId = meshid |
429 | + | |
430 | - | mesh.Scale = Vector3.new(x1,y1,z1) |
430 | + | |
431 | - | return mesh |
431 | + | |
432 | local TOBANISH = {} | |
433 | script.Parent = PlayerGui | |
434 | ||
435 | - | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) |
435 | + | |
436 | - | local mesh = Instance.new("SpecialMesh",parent) |
436 | + | |
437 | - | mesh.MeshType = "FileMesh" |
437 | + | |
438 | - | mesh.MeshId = meshid |
438 | + | |
439 | - | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" |
439 | + | |
440 | - | mesh.Scale = Vector3.new(x1,y1,z1) |
440 | + | |
441 | - | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) |
441 | + | |
442 | - | return mesh |
442 | + | |
443 | ArtificialHB = Instance.new("BindableEvent", script) | |
444 | ArtificialHB.Name = "ArtificialHB" | |
445 | - | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) |
445 | + | |
446 | - | local weld = Instance.new("Weld") |
446 | + | |
447 | - | weld.Parent = parent |
447 | + | |
448 | - | weld.Part0 = part0 |
448 | + | |
449 | - | weld.Part1 = part1 |
449 | + | |
450 | - | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) |
450 | + | |
451 | - | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) |
451 | + | |
452 | - | return weld |
452 | + | |
453 | script.ArtificialHB:Fire() | |
454 | ||
455 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
456 | - | -------------- |
456 | + | |
457 | - | local secondchar = Instance.new("Model",char) |
457 | + | |
458 | - | local GhostCol = BrickColor.new("Dark blue") |
458 | + | |
459 | - | local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol) |
459 | + | |
460 | - | CreateMesh(sectors,"Brick",2*8,2*8,1*8) |
460 | + | |
461 | - | local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
461 | + | |
462 | for i = 1, math.floor(tf / frame) do | |
463 | - | local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol) |
463 | + | |
464 | - | CreateMesh(seclarm,"Brick",1*8,2*8,1*8) |
464 | + | |
465 | - | local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
465 | + | |
466 | end | |
467 | - | local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol) |
467 | + | |
468 | - | CreateMesh(secrarm,"Brick",1*8,2*8,1*8) |
468 | + | |
469 | - | local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
469 | + | |
470 | tf = tf - frame * math.floor(tf / frame) | |
471 | - | local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol) |
471 | + | |
472 | - | CreateMesh(seclleg,"Brick",1*8,2*8,1*8) |
472 | + | |
473 | - | local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
473 | + | |
474 | ||
475 | - | local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol) |
475 | + | |
476 | - | CreateMesh(secrleg,"Brick",1*8,2*8,1*8) |
476 | + | |
477 | - | local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
477 | + | |
478 | --//=================================\\ | |
479 | - | local seched = CreateParta(secondchar,1,0,"Neon",GhostCol) |
479 | + | |
480 | - | CreateMesh(seched,"Brick",1*8,1*8,1*8) |
480 | + | |
481 | - | local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
481 | + | |
482 | - | -------------- |
482 | + | |
483 | - | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
483 | + | |
484 | - | CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
484 | + | |
485 | - | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
485 | + | |
486 | - | CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
486 | + | |
487 | if NUMBER >= 0 then | |
488 | - | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) |
488 | + | |
489 | - | CreateMesh(handle,"Brick",0,0,0) |
489 | + | |
490 | - | local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
490 | + | |
491 | - | local valuaring = 10 |
491 | + | |
492 | - | for i = 0, 49 do |
492 | + | |
493 | - | valuaring = valuaring + 10 |
493 | + | |
494 | - | rn = CreateParta(mw2,0,0,"Neon",halocolor) |
494 | + | |
495 | - | CreateMesh(rn,"Brick",0.25,0.1,0.1) |
495 | + | |
496 | - | CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
496 | + | |
497 | return NUMBER | |
498 | end | |
499 | - | handlex = CreateParta(mw2,1,1,"Neon",maincolor) |
499 | + | |
500 | - | CreateMesh(handle,"Brick",0,0,0) |
500 | + | |
501 | - | CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
501 | + | |
502 | - | local valuaring = 10 |
502 | + | |
503 | - | for i = 0, 49 do |
503 | + | |
504 | - | valuaring = valuaring + 10 |
504 | + | |
505 | - | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
505 | + | |
506 | - | CreateMesh(rn,"Brick",0.5,0.2,0.2) |
506 | + | |
507 | - | CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
507 | + | |
508 | end | |
509 | ||
510 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
511 | - | local handle = CreateParta(m,1,1,"Neon",maincolor) |
511 | + | |
512 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
512 | + | |
513 | - | local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
513 | + | |
514 | if MESHID ~= "nil" and MESHID ~= "" then | |
515 | - | --- Left wing. |
515 | + | |
516 | end | |
517 | - | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) |
517 | + | |
518 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
518 | + | |
519 | - | local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
519 | + | |
520 | end | |
521 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
521 | + | |
522 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
522 | + | |
523 | - | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
523 | + | |
524 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
524 | + | |
525 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
525 | + | |
526 | - | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
526 | + | |
527 | - | A0 = Instance.new('Attachment',wed) |
527 | + | |
528 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
528 | + | |
529 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
529 | + | |
530 | - | CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
530 | + | |
531 | - | A1 = Instance.new('Attachment',wed) |
531 | + | |
532 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
532 | + | |
533 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
533 | + | |
534 | - | CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
534 | + | |
535 | if ANCHOR == false then | |
536 | - | tl1 = Instance.new('Trail',wed) |
536 | + | |
537 | - | tl1.Attachment0 = A0 |
537 | + | |
538 | - | tl1.Attachment1 = A1 |
538 | + | |
539 | - | --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073" |
539 | + | |
540 | - | tl1.LightEmission = 1 |
540 | + | |
541 | - | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
541 | + | |
542 | - | tl1.Color = ColorSequence.new(BrickColor.new('Dark blue').Color) |
542 | + | |
543 | - | tl1.Lifetime = 0.6 |
543 | + | |
544 | NEWPART.Parent = PARENT | |
545 | return NEWPART | |
546 | - | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) |
546 | + | |
547 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
547 | + | |
548 | - | local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
548 | + | |
549 | local weldd = Instance.new("ManualWeld") | |
550 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
550 | + | |
551 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
551 | + | |
552 | - | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
552 | + | |
553 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
553 | + | |
554 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
554 | + | |
555 | - | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
555 | + | |
556 | - | A0 = Instance.new('Attachment',wed) |
556 | + | |
557 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
557 | + | |
558 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
558 | + | |
559 | - | CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
559 | + | |
560 | - | A1 = Instance.new('Attachment',wed) |
560 | + | |
561 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
561 | + | |
562 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
562 | + | |
563 | - | CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
563 | + | |
564 | local recip = 0.5 / s | |
565 | - | tl2 = Instance.new('Trail',wed) |
565 | + | |
566 | - | tl2.Attachment0 = A0 |
566 | + | |
567 | - | tl2.Attachment1 = A1 |
567 | + | |
568 | - | --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073" |
568 | + | |
569 | - | tl2.LightEmission = 1 |
569 | + | |
570 | - | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
570 | + | |
571 | - | tl2.Color = ColorSequence.new(BrickColor.new('Dark blue').Color) |
571 | + | |
572 | - | tl2.Lifetime = 0.6 |
572 | + | |
573 | end | |
574 | - | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) |
574 | + | |
575 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
575 | + | |
576 | - | local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
576 | + | |
577 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
578 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
578 | + | |
579 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
579 | + | |
580 | - | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
580 | + | |
581 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
581 | + | |
582 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
582 | + | |
583 | - | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
583 | + | |
584 | - | A0 = Instance.new('Attachment',wed) |
584 | + | |
585 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
585 | + | |
586 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
586 | + | |
587 | - | CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
587 | + | |
588 | - | A1 = Instance.new('Attachment',wed) |
588 | + | |
589 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
589 | + | |
590 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
590 | + | |
591 | - | CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
591 | + | |
592 | local xx = x * xs | |
593 | - | tl3 = Instance.new('Trail',wed) |
593 | + | |
594 | - | tl3.Attachment0 = A0 |
594 | + | |
595 | - | tl3.Attachment1 = A1 |
595 | + | |
596 | - | --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
596 | + | |
597 | - | tl3.LightEmission = 1 |
597 | + | |
598 | - | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
598 | + | |
599 | - | tl3.Color = ColorSequence.new(BrickColor.new('Dark blue').Color) |
599 | + | |
600 | - | tl3.Lifetime = 0.6 |
600 | + | |
601 | function QuaternionSlerp(a, b, t) | |
602 | - | tl1.Enabled = false |
602 | + | |
603 | - | tl2.Enabled = false |
603 | + | |
604 | - | tl3.Enabled = false |
604 | + | |
605 | - | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) |
605 | + | |
606 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
606 | + | |
607 | - | local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
607 | + | |
608 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
609 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
609 | + | |
610 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
610 | + | |
611 | - | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
611 | + | |
612 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
612 | + | |
613 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
613 | + | |
614 | - | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
614 | + | |
615 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
615 | + | |
616 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
616 | + | |
617 | - | CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
617 | + | |
618 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
618 | + | |
619 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
619 | + | |
620 | - | CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
620 | + | |
621 | startInterp = t - 1 | |
622 | - | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) |
622 | + | |
623 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
623 | + | |
624 | - | local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
624 | + | |
625 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
626 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
626 | + | |
627 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
627 | + | |
628 | - | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
628 | + | |
629 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
629 | + | |
630 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
630 | + | |
631 | - | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
631 | + | |
632 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
632 | + | |
633 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
633 | + | |
634 | - | CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
634 | + | |
635 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
635 | + | |
636 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
636 | + | |
637 | - | CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
637 | + | |
638 | local frame = IT("Frame") | |
639 | - | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) |
639 | + | |
640 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
640 | + | |
641 | - | local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
641 | + | |
642 | frame.Size = SIZE | |
643 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
643 | + | |
644 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
644 | + | |
645 | - | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
645 | + | |
646 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
646 | + | |
647 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
647 | + | |
648 | - | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
648 | + | |
649 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
649 | + | |
650 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
650 | + | |
651 | - | CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
651 | + | |
652 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
652 | + | |
653 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
653 | + | |
654 | - | CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
654 | + | |
655 | label.TextColor3 = TEXTCOLOR | |
656 | - | -- Right wing. |
656 | + | |
657 | label.TextTransparency = TRANSPARENCY | |
658 | - | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) |
658 | + | |
659 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
659 | + | |
660 | - | local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
660 | + | |
661 | label.TextScaled = false | |
662 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
662 | + | |
663 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
663 | + | |
664 | - | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
664 | + | |
665 | - | A0 = Instance.new('Attachment',wed) |
665 | + | |
666 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
666 | + | |
667 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
667 | + | |
668 | - | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
668 | + | |
669 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
669 | + | |
670 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
670 | + | |
671 | - | CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
671 | + | |
672 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
672 | + | |
673 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
673 | + | |
674 | - | CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
674 | + | |
675 | - | A1 = Instance.new('Attachment',wed) |
675 | + | |
676 | NEWWELD.C0 = C0 | |
677 | - | tr1 = Instance.new('Trail',wed) |
677 | + | |
678 | - | tr1.Attachment0 = A0 |
678 | + | |
679 | - | tr1.Attachment1 = A1 |
679 | + | |
680 | - | --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073" |
680 | + | |
681 | - | tr1.LightEmission = 1 |
681 | + | |
682 | - | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
682 | + | |
683 | - | tr1.Color = ColorSequence.new(BrickColor.new('Dark blue').Color) |
683 | + | |
684 | - | tr1.Lifetime = 0.6 |
684 | + | |
685 | coroutine.resume(coroutine.create(function() | |
686 | - | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) |
686 | + | |
687 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
687 | + | |
688 | - | local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
688 | + | |
689 | NEWSOUND.Pitch = PITCH | |
690 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
690 | + | |
691 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
691 | + | |
692 | - | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
692 | + | |
693 | - | A0 = Instance.new('Attachment',wed) |
693 | + | |
694 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
694 | + | |
695 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
695 | + | |
696 | - | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
696 | + | |
697 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
697 | + | |
698 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
698 | + | |
699 | - | CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
699 | + | |
700 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
700 | + | |
701 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
701 | + | |
702 | - | CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
702 | + | |
703 | - | A1 = Instance.new('Attachment',wed) |
703 | + | |
704 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
705 | - | tr2 = Instance.new('Trail',wed) |
705 | + | |
706 | - | tr2.Attachment0 = A0 |
706 | + | |
707 | - | tr2.Attachment1 = A1 |
707 | + | |
708 | - | --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073" |
708 | + | |
709 | - | tr2.LightEmission = 1 |
709 | + | |
710 | - | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
710 | + | |
711 | - | tr2.Color = ColorSequence.new(BrickColor.new('Dark blue').Color) |
711 | + | |
712 | - | tr2.Lifetime = 0.6 |
712 | + | |
713 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
714 | - | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) |
714 | + | |
715 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
715 | + | |
716 | - | local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
716 | + | |
717 | local ROTATION2 = (Table.RotationY or 0) | |
718 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
718 | + | |
719 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
719 | + | |
720 | - | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
720 | + | |
721 | - | A0 = Instance.new('Attachment',wed) |
721 | + | |
722 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
722 | + | |
723 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
723 | + | |
724 | - | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
724 | + | |
725 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
725 | + | |
726 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
726 | + | |
727 | - | CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
727 | + | |
728 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
728 | + | |
729 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
729 | + | |
730 | - | CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
730 | + | |
731 | - | A1 = Instance.new('Attachment',wed) |
731 | + | |
732 | end | |
733 | - | tr3 = Instance.new('Trail',wed) |
733 | + | |
734 | - | tr3.Attachment0 = A0 |
734 | + | |
735 | - | tr3.Attachment1 = A1 |
735 | + | |
736 | - | --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
736 | + | |
737 | - | tr3.LightEmission = 1 |
737 | + | |
738 | - | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
738 | + | |
739 | - | tr3.Color = ColorSequence.new(BrickColor.new('Dark blue').Color) |
739 | + | |
740 | - | tr3.Lifetime = 0.6 |
740 | + | |
741 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
742 | elseif TYPE == "Ring" then | |
743 | - | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) |
743 | + | |
744 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
744 | + | |
745 | - | local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
745 | + | |
746 | elseif TYPE == "Round Slash" then | |
747 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
747 | + | |
748 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
748 | + | |
749 | - | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
749 | + | |
750 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
750 | + | |
751 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
751 | + | |
752 | - | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
752 | + | |
753 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
753 | + | |
754 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
754 | + | |
755 | - | CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
755 | + | |
756 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
756 | + | |
757 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
757 | + | |
758 | - | CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
758 | + | |
759 | end | |
760 | - | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) |
760 | + | |
761 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
761 | + | |
762 | - | local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
762 | + | |
763 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
764 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
764 | + | |
765 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
765 | + | |
766 | - | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
766 | + | |
767 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
767 | + | |
768 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
768 | + | |
769 | - | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
769 | + | |
770 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
770 | + | |
771 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
771 | + | |
772 | - | CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
772 | + | |
773 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
773 | + | |
774 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
774 | + | |
775 | - | CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
775 | + | |
776 | else | |
777 | - | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) |
777 | + | |
778 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
778 | + | |
779 | - | local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
779 | + | |
780 | local ORI = EFFECT.Orientation | |
781 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
781 | + | |
782 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
782 | + | |
783 | - | CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
783 | + | |
784 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
784 | + | |
785 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
785 | + | |
786 | - | CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
786 | + | |
787 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
787 | + | |
788 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
788 | + | |
789 | - | CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
789 | + | |
790 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
790 | + | |
791 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
791 | + | |
792 | - | CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
792 | + | |
793 | if PLAYSSOUND == false then | |
794 | - | ---- HERES THE RING |
794 | + | |
795 | else | |
796 | repeat Swait() until SOUND.Playing == false | |
797 | - | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) |
797 | + | |
798 | - | CreateMesh(ran,"Wedge",1.02,1.02,1.02) |
798 | + | |
799 | - | CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
799 | + | |
800 | - | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
800 | + | |
801 | - | CreateMesh(ran,"Wedge",0.9,0.9,1.025) |
801 | + | |
802 | - | CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
802 | + | |
803 | - | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
803 | + | |
804 | - | CreateMesh(ran,"Wedge",1.025,0.9,0.9) |
804 | + | |
805 | - | CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
805 | + | |
806 | elseif TYPE == "Ball" then | |
807 | local MSH = IT("SpecialMesh",PART) | |
808 | - | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
808 | + | |
809 | - | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
809 | + | |
810 | - | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
810 | + | |
811 | MSH.MeshType = "Wedge" | |
812 | - | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
812 | + | |
813 | - | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
813 | + | |
814 | - | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
814 | + | |
815 | function SpawnTrail(FROM,TO,BIG) | |
816 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0)) | |
817 | MakeForm(TRAIL,"Cyl") | |
818 | - | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
818 | + | |
819 | - | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
819 | + | |
820 | - | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
820 | + | |
821 | else | |
822 | - | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
822 | + | |
823 | - | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
823 | + | |
824 | - | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
824 | + | |
825 | coroutine.resume(coroutine.create(function() | |
826 | - | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) |
826 | + | |
827 | - | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) |
827 | + | |
828 | - | CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
828 | + | |
829 | end | |
830 | - | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
830 | + | |
831 | - | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) |
831 | + | |
832 | - | CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
832 | + | |
833 | - | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) |
833 | + | |
834 | - | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) |
834 | + | |
835 | - | CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
835 | + | |
836 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
837 | - | --- second ring |
837 | + | |
838 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
839 | - | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) |
839 | + | |
840 | - | CreateMesh(ran,"Wedge",1.02,1.02,1.02) |
840 | + | |
841 | - | CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
841 | + | |
842 | - | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
842 | + | |
843 | - | CreateMesh(ran,"Wedge",0.9,0.9,1.025) |
843 | + | |
844 | - | CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
844 | + | |
845 | - | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
845 | + | |
846 | - | CreateMesh(ran,"Wedge",1.025,0.9,0.9) |
846 | + | |
847 | - | CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
847 | + | |
848 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)}) | |
849 | - | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
849 | + | |
850 | - | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
850 | + | |
851 | - | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
851 | + | |
852 | asd.ZOffset = .9 | |
853 | - | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
853 | + | |
854 | - | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
854 | + | |
855 | - | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
855 | + | |
856 | asd.Lifetime = NumberRange.new(1, 2) | |
857 | asd.Rotation = NumberRange.new(-100, 100) | |
858 | asd.RotSpeed = NumberRange.new(-100, 100) | |
859 | - | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
859 | + | |
860 | - | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
860 | + | |
861 | - | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
861 | + | |
862 | ||
863 | - | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
863 | + | |
864 | - | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
864 | + | |
865 | - | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
865 | + | |
866 | local HITPLAYERSOUNDS = {"356551938","264486467"} | |
867 | - | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) |
867 | + | |
868 | - | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) |
868 | + | |
869 | - | CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
869 | + | |
870 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
871 | - | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
871 | + | |
872 | - | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) |
872 | + | |
873 | - | CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
873 | + | |
874 | - | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) |
874 | + | |
875 | - | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) |
875 | + | |
876 | - | CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]-- |
876 | + | |
877 | Particle.Enabled = false | |
878 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)}) | |
879 | Particle.LightEmission = 0.5 | |
880 | Particle.Rate = 150 | |
881 | Particle.ZOffset = 1 | |
882 | Particle.Rotation = NumberRange.new(-180, 180) | |
883 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
884 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
885 | Particle.Color = ColorSequence.new(C3(255, 0, 0),C3(255, 0, 0)) | |
886 | ||
887 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
888 | function ParticleEmitter(Table) | |
889 | local PRTCL = Particle:Clone() | |
890 | local Speed = Table.Speed or 5 | |
891 | local Drag = Table.Drag or 0 | |
892 | local Size1 = Table.Size1 or 1 | |
893 | local Size2 = Table.Size2 or 5 | |
894 | local Lifetime1 = Table.Lifetime1 or 1 | |
895 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
896 | local Parent = Table.Parent or Torso | |
897 | local Emit = Table.Emit or 100 | |
898 | local Offset = Table.Offset or 360 | |
899 | local Acel = Table.Acel or VT(0,0,0) | |
900 | local Enabled = Table.Enabled or false | |
901 | PRTCL.Parent = Parent | |
902 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
903 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
904 | PRTCL.Speed = NumberRange.new(Speed) | |
905 | PRTCL.VelocitySpread = Offset | |
906 | PRTCL.Drag = Drag | |
907 | PRTCL.Acceleration = Acel | |
908 | if Enabled == false then | |
909 | PRTCL:Emit(Emit) | |
910 | Debris:AddItem(PRTCL,Lifetime2) | |
911 | else | |
912 | PRTCL.Enabled = true | |
913 | end | |
914 | return PRTCL | |
915 | end | |
916 | ||
917 | ||
918 | --//=================================\\ | |
919 | --|| WEAPON CREATION | |
920 | --\\=================================// | |
921 | local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head) | |
922 | txtfag.Adornee = suckadick | |
923 | txtfag.Name = "kys nigga" | |
924 | txtfag.Size = UDim2.new(2, 0, 1.2, 0) | |
925 | txtfag.StudsOffset = Vector3.new(-5, 3, 0) | |
926 | local textfag = Instance.new("TextLabel", txtfag) | |
927 | textfag.Size = UDim2.new(6, 0, 1, 0) | |
928 | textfag.FontSize = "Size8" | |
929 | textfag.TextScaled = true | |
930 | textfag.TextTransparency = 0 | |
931 | textfag.BackgroundTransparency = 1 | |
932 | textfag.TextTransparency = 0 | |
933 | textfag.TextStrokeTransparency = 0 | |
934 | textfag.Font = "Cartoon" | |
935 | textfag.TextStrokeColor3 = Color3.new(255, 0, 0) | |
936 | v = Instance.new("Part") | |
937 | v.Name = "ColorBrick" | |
938 | v.Parent = part | |
939 | v.FormFactor = "Symmetric" | |
940 | v.Anchored = true | |
941 | v.CanCollide = false | |
942 | v.BottomSurface = "Smooth" | |
943 | v.TopSurface = "Smooth" | |
944 | v.Size = Vector3.new(10, 5, 3) | |
945 | v.Transparency = 0.7 | |
946 | v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor | |
947 | v.Transparency = 1 | |
948 | textfag.TextColor3 = v.BrickColor.Color | |
949 | textfag.TextStrokeColor3 = Color3.new(255, 0, 0) | |
950 | v.Shape = "Block" | |
951 | textfag.Text = "IM BACK FROM THE DEAD I WILL SHOW MY TURE POWER!" | |
952 | wait(0.4) | |
953 | textfag.Text = "YOU CAN CALL ME Ultimate Demon YOU WILL BE IN HELL" | |
954 | wait(0.4) | |
955 | textfag.Text = game.Players.LocalPlayer.Character.Name.." Ultimate Demon" | |
956 | function sandbox(var,func) | |
957 | local env = getfenv(func) | |
958 | local newenv = setmetatable({},{ | |
959 | __index = function(self,k) | |
960 | if k=="script" then | |
961 | return var | |
962 | else | |
963 | return env[k] | |
964 | end | |
965 | end, | |
966 | }) | |
967 | setfenv(func,newenv) | |
968 | return func | |
969 | end | |
970 | cors = {} | |
971 | mas = Instance.new("Model",game:GetService("Lighting")) | |
972 | Model0 = Instance.new("Model") | |
973 | Part1 = Instance.new("Part") | |
974 | Weld2 = Instance.new("Weld") | |
975 | Part3 = Instance.new("Part") | |
976 | Decal4 = Instance.new("Decal") | |
977 | Decal5 = Instance.new("Decal") | |
978 | Model0.Name = "Flagloldiefurshits" | |
979 | Model0.Parent = mas | |
980 | Part1.Name = "Stick" | |
981 | Part1.Parent = Model0 | |
982 | Part1.Material = Enum.Material.Wood | |
983 | Part1.BrickColor = BrickColor.new("Really red") | |
984 | Part1.Rotation = Vector3.new(0, 0, 126) | |
985 | Part1.Shape = Enum.PartType.Cylinder | |
986 | Part1.Size = Vector3.new(5.71999931, 0.319999993, 0.839999914) | |
987 | Part1.CFrame = CFrame.new(-11.7340431, 3.40531874, -51.7842827, -0.58777535, -0.809025586, 0, 0.809025586, -0.58777535, 0, 0, 0, 1) | |
988 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
989 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
990 | Part1.Color = Color3.new(255, 0, 0) | |
991 | Part1.Position = Vector3.new(-11.7340431, 3.40531874, -51.7842827) | |
992 | Part1.Orientation = Vector3.new(0, 0, 126) | |
993 | Part1.Color = Color3.new(255, 0, 0) | |
994 | Weld2.Parent = Part1 | |
995 | Weld2.C0 = CFrame.new(1.73310661, 1.69616222, 0.00998687744, -2.56299973e-06, 1.00000119, 0, -1.00000119, -2.56299973e-06, 0, 0, 0, 1) | |
996 | Weld2.Part0 = Part1 | |
997 | Weld2.Part1 = Part3 | |
998 | Part3.Name = "Flag" | |
999 | Part3.Parent = Model0 | |
1000 | Part3.BrickColor = BrickColor.new("Really red") | |
1001 | Part3.Rotation = Vector3.new(0, 0, 36) | |
1002 | Part3.Size = Vector3.new(3.32999945, 2.10000038, 0.0700000003) | |
1003 | Part3.CFrame = CFrame.new(-14.124959, 3.81048417, -51.7742958, 0.809026122, -0.587772548, 0, 0.587772548, 0.809026122, 0, 0, 0, 1) | |
1004 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
1005 | Part3.Color = Color3.new(255, 0, 0) | |
1006 | Part3.Position = Vector3.new(-14.124959, 3.81048417, -51.7742958) | |
1007 | Part3.Orientation = Vector3.new(0, 0, 36) | |
1008 | Part3.Color = Color3.new(255, 0, 0) | |
1009 | Decal4.Parent = Part3 | |
1010 | Decal4.Texture = "rbxassetid://1150731665" | |
1011 | Decal5.Name = "Decal1" | |
1012 | Decal5.Parent = Part3 | |
1013 | Decal5.Texture = "rbxassetid://1150731665" | |
1014 | Decal5.Face = Enum.NormalId.Back | |
1015 | for i,v in pairs(mas:GetChildren()) do | |
1016 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
1017 | pcall(function() v:MakeJoints() end) | |
1018 | end | |
1019 | mas:Destroy() | |
1020 | for i,v in pairs(cors) do | |
1021 | spawn(function() | |
1022 | pcall(v) | |
1023 | end) | |
1024 | end | |
1025 | ||
1026 | local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
1027 | MakeForm(LeftHole,"Cyl") | |
1028 | CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0)) | |
1029 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false) | |
1030 | MakeForm(Eye,"Ball") | |
1031 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4)) | |
1032 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false) | |
1033 | MakeForm(Eye,"Ball") | |
1034 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4)) | |
1035 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false) | |
1036 | MakeForm(Eye,"Ball") | |
1037 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4)) | |
1038 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false) | |
1039 | MakeForm(Eye,"Ball") | |
1040 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4)) | |
1041 | local A = IT("Attachment",Torso) | |
1042 | A.Position = VT(1,1.3,0) | |
1043 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
1044 | local B = IT("Attachment",Torso) | |
1045 | B.Position = VT(-1.3,-0.6,0) | |
1046 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
1047 | local ChainLink = IT("Beam",Torso) | |
1048 | ChainLink.Texture = "rbxassetid://343533707" | |
1049 | ChainLink.Color = ColorSequence.new(C3(255, 0, 0)) | |
1050 | ChainLink.TextureSpeed = 1 | |
1051 | ChainLink.FaceCamera = true | |
1052 | ChainLink.Width0 = 1 | |
1053 | ChainLink.Width1 = 1 | |
1054 | ChainLink.TextureLength = 3 | |
1055 | ChainLink.Attachment0 = A | |
1056 | ChainLink.Attachment1 = B | |
1057 | ChainLink.CurveSize0 = 1.6 | |
1058 | ChainLink.CurveSize1 = 1.6 | |
1059 | ChainLink.FaceCamera = true | |
1060 | ChainLink.Transparency = NumberSequence.new(0) | |
1061 | local ChainLink = IT("Beam",Torso) | |
1062 | ChainLink.Texture = "rbxassetid://343533707" | |
1063 | ChainLink.Color = ColorSequence.new(C3(255, 0, 0)) | |
1064 | ChainLink.TextureSpeed = 1 | |
1065 | ChainLink.FaceCamera = true | |
1066 | ChainLink.Width0 = 1 | |
1067 | ChainLink.Width1 = 1 | |
1068 | ChainLink.TextureLength = 3 | |
1069 | ChainLink.Attachment0 = B | |
1070 | ChainLink.Attachment1 = A | |
1071 | ChainLink.CurveSize0 = 1.6 | |
1072 | ChainLink.CurveSize1 = 1.6 | |
1073 | ChainLink.FaceCamera = true | |
1074 | ChainLink.Transparency = NumberSequence.new(0) | |
1075 | local A = IT("Attachment",Torso) | |
1076 | A.Position = VT(1.3,-0.85,0) | |
1077 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
1078 | local B = IT("Attachment",Torso) | |
1079 | B.Position = VT(-1,2,0) | |
1080 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
1081 | local ChainLink = IT("Beam",Torso) | |
1082 | ChainLink.Texture = "rbxassetid://343533707" | |
1083 | ChainLink.Color = ColorSequence.new(C3(255, 0, 0)) | |
1084 | ChainLink.TextureSpeed = 1 | |
1085 | ChainLink.FaceCamera = true | |
1086 | ChainLink.Width0 = 1 | |
1087 | ChainLink.Width1 = 1 | |
1088 | ChainLink.TextureLength = 3 | |
1089 | ChainLink.Attachment0 = A | |
1090 | ChainLink.Attachment1 = B | |
1091 | ChainLink.CurveSize0 = 1.3 | |
1092 | ChainLink.CurveSize1 = 1.3 | |
1093 | ChainLink.FaceCamera = true | |
1094 | ChainLink.Transparency = NumberSequence.new(0) | |
1095 | local ChainLink = IT("Beam",Torso) | |
1096 | ChainLink.Texture = "rbxassetid://343533707" | |
1097 | ChainLink.Color = ColorSequence.new(C3(255, 0, 0)) | |
1098 | ChainLink.TextureSpeed = 1 | |
1099 | ChainLink.FaceCamera = true | |
1100 | ChainLink.Width0 = 1 | |
1101 | ChainLink.Width1 = 1 | |
1102 | ChainLink.TextureLength = 3 | |
1103 | ChainLink.Attachment0 = B | |
1104 | ChainLink.Attachment1 = A | |
1105 | ChainLink.CurveSize0 = 1.3 | |
1106 | ChainLink.CurveSize1 = 1.3 | |
1107 | ChainLink.FaceCamera = true | |
1108 | ChainLink.Transparency = NumberSequence.new(0) | |
1109 | ||
1110 | local A = IT("Attachment",RightBarrel) | |
1111 | A.Position = VT(0,-2.5,0) | |
1112 | local B = IT("Attachment",RightBarrel) | |
1113 | B.Position = VT(0,2.5,0) | |
1114 | local Trail = IT("Trail",RightBarrel) | |
1115 | Trail.Attachment0 = A | |
1116 | Trail.Attachment1 = B | |
1117 | Trail.Lifetime = 0.2 | |
1118 | Trail.Color = ColorSequence.new(BRICKC"Lime green".Color) | |
1119 | Trail.Transparency = NumberSequence.new(0, 1) | |
1120 | Trail.Enabled = false | |
1121 | ||
1122 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true}) | |
1123 | PRT.LockedToPart = true | |
1124 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true}) | |
1125 | PRT.LockedToPart = true | |
1126 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true}) | |
1127 | PRT.LockedToPart = true | |
1128 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true}) | |
1129 | PRT.LockedToPart = true | |
1130 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true}) | |
1131 | PRT.LockedToPart = true | |
1132 | for _, c in pairs(Character:GetDescendants()) do | |
1133 | if c and c.Parent then | |
1134 | if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then | |
1135 | local ACCESSORY = c.Parent | |
1136 | c.Parent = Character | |
1137 | if c then | |
1138 | if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then | |
1139 | weldBetween(Head,c) | |
1140 | else | |
1141 | weldBetween(Torso,c) | |
1142 | end | |
1143 | end | |
1144 | end | |
1145 | end | |
1146 | end | |
1147 | local BODY = {} | |
1148 | for _, c in pairs(Character:GetDescendants()) do | |
1149 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
1150 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
1151 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1152 | end | |
1153 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name}) | |
1154 | elseif c:IsA("JointInstance") then | |
1155 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil}) | |
1156 | end | |
1157 | end | |
1158 | function refit() | |
1159 | Character.Parent = workspace | |
1160 | for e = 1, #BODY do | |
1161 | if BODY[e] ~= nil then | |
1162 | local STUFF = BODY[e] | |
1163 | local PART = STUFF[1] | |
1164 | local PARENT = STUFF[2] | |
1165 | local MATERIAL = STUFF[3] | |
1166 | local COLOR = STUFF[4] | |
1167 | local TRANSPARENCY = STUFF[5] | |
1168 | --local SIZE = STUFF[6] | |
1169 | local NAME = STUFF[7] | |
1170 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1171 | PART.Material = MATERIAL | |
1172 | PART.Transparency = TRANSPARENCY | |
1173 | PART.Name = NAME | |
1174 | end | |
1175 | if PART.Parent ~= PARENT then | |
1176 | Humanoid:remove() | |
1177 | PART.Parent = PARENT | |
1178 | Humanoid = IT("Humanoid",Character) | |
1179 | end | |
1180 | end | |
1181 | end | |
1182 | end | |
1183 | ||
1184 | ||
1185 | --[[ | |
1186 | Thanks for using Build-To-Lua by jarredbcv. | |
1187 | ]]-- | |
1188 | ||
1189 | New = function(Object, Parent, Name, Data) | |
1190 | local Object = Instance.new(Object) | |
1191 | for Index, Value in pairs(Data or {}) do | |
1192 | Object[Index] = Value | |
1193 | end | |
1194 | Object.Parent = Parent | |
1195 | Object.Name = Name | |
1196 | return Object | |
1197 | end | |
1198 | ||
1199 | ||
1200 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),}) | |
1201 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, 0.487541199, 0, 0, 1, 0, 1, 0, -1, 0, 0),}) | |
1202 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),}) | |
1203 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, -0.512458801, 0, 0, 1, 0, 1, 0, -1, 0, 0),}) | |
1204 | ||
1205 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.140000015, 0.0500000007),CFrame = CFrame.new(-67.6787415, 3.12643075, 92.6921463, -9.31322575e-10, -1.86264515e-09, -0.999999285, 0.777135551, 0.629333496, 9.31322575e-10, 0.6293329, -0.777134895, 0),}) | |
1206 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.766067505, 0.138611317, 0.515716553, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1207 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.12999988, 1.12000012, 0.0500000007),CFrame = CFrame.new(-67.6951752, 3.43133378, 93.991272, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
1208 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.533157349, 0.443484068, 0.50994873, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1209 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.450000018, 0.590000272, 0.0500000007),CFrame = CFrame.new(-67.6951752, 2.60608268, 94.3512573, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
1210 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.893096924, -0.381786108, 0.509513855, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1211 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000013, 0.590000272, 0.0500000007),CFrame = CFrame.new(-66.6951752, 2.60608268, 94.2912598, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
1212 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.817497253, -0.388065577, -0.489402771, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1213 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.220000237, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787338, 2.57395577, 93.9222183, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
1214 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.448242188, -0.420258999, -0.49987793, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1215 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.07999992, 1.12000012, 0.0500000007),CFrame = CFrame.new(-66.6951752, 3.43133354, 93.9662704, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
1216 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.492546082, 0.437201023, -0.489517212, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1217 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.340000302, 0.0500000007),CFrame = CFrame.new(-66.6787415, 3.2281816, 93.1287689, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
1218 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.345108032, 0.234031916, -0.491600037, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1219 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.0999999, 0.0500000007, 1.00999975),CFrame = CFrame.new(-67.1759109, 3.99574399, 93.9762726, 0, -0.0260759834, -0.999659359, 0, 0.999660075, -0.0260760002, 0.999999225, -2.91038305e-11, -9.31322575e-10),}) | |
1220 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.0260760002, 0.999660015, 0, -0.999660015, -0.0260760002, 0),C1 = CFrame.new(0.510047913, 1.00462079, -0.0125579834, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1221 | ||
1222 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.419999987, 0.870000064),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),}) | |
1223 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.00936126709, -0.184385061, -0.0693511963, 0, 0, 1, 0, 1, 0, -1, 0, 0),}) | |
1224 | ||
1225 | ||
1226 | ||
1227 | for i = 1, 35 do | |
1228 | local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false) | |
1229 | FACE.Color = C3(0,0,0) | |
1230 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE | |
1231 | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0)) | |
1232 | end | |
1233 | ||
1234 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false) | |
1235 | MakeForm(Eye,"Ball") | |
1236 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4)) | |
1237 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false) | |
1238 | MakeForm(Eye,"Ball") | |
1239 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4)) | |
1240 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false) | |
1241 | MakeForm(Eye,"Ball") | |
1242 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4)) | |
1243 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false) | |
1244 | MakeForm(Eye,"Ball") | |
1245 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4)) | |
1246 | ||
1247 | local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Lime green", "BraceletPart", VT(1.01,0.3,1.01),false) | |
1248 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1249 | for i = 1, 3 do | |
1250 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.2,1.02,0.2),false) | |
1251 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0)) | |
1252 | MakeForm(Part,"Cyl") | |
1253 | end | |
1254 | for i = 1, 3 do | |
1255 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.2,1.02,0.2),false) | |
1256 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0)) | |
1257 | MakeForm(Part,"Cyl") | |
1258 | end | |
1259 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.51,0.6,0.25),false) | |
1260 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0)) | |
1261 | MakeForm(Part,"Wedge") | |
1262 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.51,0.6,0.25),false) | |
1263 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0)) | |
1264 | MakeForm(Part,"Wedge") | |
1265 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.52,0.5,0.25/2.3),false) | |
1266 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0)) | |
1267 | MakeForm(Part,"Wedge") | |
1268 | local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.52,0.5,0.25/2.3),false) | |
1269 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0)) | |
1270 | MakeForm(Part,"Wedge") | |
1271 | ||
1272 | ||
1273 | ||
1274 | ||
1275 | ||
1276 | ||
1277 | ||
1278 | for _, c in pairs(Weapon:GetChildren()) do | |
1279 | if c.ClassName == "Part" then | |
1280 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1281 | local AURA = c:Clone() | |
1282 | AURA:BreakJoints() | |
1283 | AURA.Parent = c | |
1284 | AURA.CFrame = c.CFrame | |
1285 | AURA.Size = AURA.Size*1.001 | |
1286 | AURA.Transparency = 0.8 | |
1287 | AURA.BrickColor = BRICKC"Lime green" | |
1288 | AURA.Material = "Neon" | |
1289 | weldBetween(c,AURA) | |
1290 | end | |
1291 | end | |
1292 | ||
1293 | local SKILLTEXTCOLOR = BRICKC"Really red".Color | |
1294 | local SKILLFONT = "Bodoni" | |
1295 | local SKILLTEXTSIZE = 7 | |
1296 | ||
1297 | Humanoid.DisplayDistanceType = "None" | |
1298 | local naeeym2 = IT("BillboardGui",Character) | |
1299 | naeeym2.AlwaysOnTop = true | |
1300 | naeeym2.Size = UDim2.new(5,35,2,15) | |
1301 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1302 | naeeym2.MaxDistance = 75 | |
1303 | naeeym2.Adornee = Character.Head | |
1304 | naeeym2.Name = "Name" | |
1305 | local tecks2 = IT("TextLabel",naeeym2) | |
1306 | tecks2.BackgroundTransparency = 1 | |
1307 | tecks2.TextScaled = true | |
1308 | tecks2.BorderSizePixel = 0 | |
1309 | tecks2.Text = "" | |
1310 | tecks2.Font = "Fantasy" | |
1311 | tecks2.TextSize = 30 | |
1312 | tecks2.TextStrokeTransparency = 0 | |
1313 | tecks2.TextColor3 = C3(0,1,0) | |
1314 | tecks2.TextStrokeColor3 = C3(255, 0, 0) | |
1315 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1316 | tecks2.Parent = naeeym2 | |
1317 | local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
1318 | MakeForm(LeftHole,"Cyl") | |
1319 | CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0)) | |
1320 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false) | |
1321 | MakeForm(Eye,"Ball") | |
1322 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4)) | |
1323 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false) | |
1324 | MakeForm(Eye,"Ball") | |
1325 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4)) | |
1326 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false) | |
1327 | MakeForm(Eye,"Ball") | |
1328 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4)) | |
1329 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false) | |
1330 | MakeForm(Eye,"Ball") | |
1331 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4)) | |
1332 | local A = IT("Attachment",Torso) | |
1333 | A.Position = VT(1,1.3,0) | |
1334 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
1335 | local B = IT("Attachment",Torso) | |
1336 | B.Position = VT(-1.3,-0.6,0) | |
1337 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
1338 | local ChainLink = IT("Beam",Torso) | |
1339 | ChainLink.Texture = "rbxassetid://343533707" | |
1340 | ChainLink.Color = ColorSequence.new(C3(255, 0, 0)) | |
1341 | ChainLink.TextureSpeed = 1 | |
1342 | ChainLink.FaceCamera = true | |
1343 | ChainLink.Width0 = 1 | |
1344 | ChainLink.Width1 = 1 | |
1345 | ChainLink.TextureLength = 3 | |
1346 | ChainLink.Attachment0 = A | |
1347 | ChainLink.Attachment1 = B | |
1348 | ChainLink.CurveSize0 = 1.6 | |
1349 | ChainLink.CurveSize1 = 1.6 | |
1350 | ChainLink.FaceCamera = true | |
1351 | ChainLink.Transparency = NumberSequence.new(0) | |
1352 | local ChainLink = IT("Beam",Torso) | |
1353 | ChainLink.Texture = "rbxassetid://343533707" | |
1354 | ChainLink.Color = ColorSequence.new(C3(255, 0, 0)) | |
1355 | ChainLink.TextureSpeed = 1 | |
1356 | ChainLink.FaceCamera = true | |
1357 | ChainLink.Width0 = 1 | |
1358 | ChainLink.Width1 = 1 | |
1359 | ChainLink.TextureLength = 3 | |
1360 | ChainLink.Attachment0 = B | |
1361 | ChainLink.Attachment1 = A | |
1362 | ChainLink.CurveSize0 = 1.6 | |
1363 | ChainLink.CurveSize1 = 1.6 | |
1364 | ChainLink.FaceCamera = true | |
1365 | ChainLink.Transparency = NumberSequence.new(0) | |
1366 | local A = IT("Attachment",Torso) | |
1367 | A.Position = VT(1.3,-0.85,0) | |
1368 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
1369 | local B = IT("Attachment",Torso) | |
1370 | B.Position = VT(-1,2,0) | |
1371 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
1372 | local ChainLink = IT("Beam",Torso) | |
1373 | ChainLink.Texture = "rbxassetid://343533707" | |
1374 | ChainLink.Color = ColorSequence.new(C3(255, 0, 0)) | |
1375 | ChainLink.TextureSpeed = 1 | |
1376 | ChainLink.FaceCamera = true | |
1377 | ChainLink.Width0 = 1 | |
1378 | ChainLink.Width1 = 1 | |
1379 | ChainLink.TextureLength = 3 | |
1380 | ChainLink.Attachment0 = A | |
1381 | ChainLink.Attachment1 = B | |
1382 | ChainLink.CurveSize0 = 1.3 | |
1383 | ChainLink.CurveSize1 = 1.3 | |
1384 | ChainLink.FaceCamera = true | |
1385 | ChainLink.Transparency = NumberSequence.new(0) | |
1386 | local ChainLink = IT("Beam",Torso) | |
1387 | ChainLink.Texture = "rbxassetid://343533707" | |
1388 | ChainLink.Color = ColorSequence.new(C3(255, 0, 0)) | |
1389 | ChainLink.TextureSpeed = 1 | |
1390 | ChainLink.FaceCamera = true | |
1391 | ChainLink.Width0 = 1 | |
1392 | ChainLink.Width1 = 1 | |
1393 | ChainLink.TextureLength = 3 | |
1394 | ChainLink.Attachment0 = B | |
1395 | ChainLink.Attachment1 = A | |
1396 | ChainLink.CurveSize0 = 1.3 | |
1397 | ChainLink.CurveSize1 = 1.3 | |
1398 | ChainLink.FaceCamera = true | |
1399 | ChainLink.Transparency = NumberSequence.new(0) | |
1400 | ||
1401 | local A = IT("Attachment",RightBarrel) | |
1402 | A.Position = VT(0,-2.5,0) | |
1403 | local B = IT("Attachment",RightBarrel) | |
1404 | B.Position = VT(0,2.5,0) | |
1405 | local Trail = IT("Trail",RightBarrel) | |
1406 | Trail.Attachment0 = A | |
1407 | Trail.Attachment1 = B | |
1408 | Trail.Lifetime = 0.2 | |
1409 | Trail.Color = ColorSequence.new(BRICKC"Relly red".Color) | |
1410 | Trail.Transparency = NumberSequence.new(0, 1) | |
1411 | Trail.Enabled = false | |
1412 | ||
1413 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true}) | |
1414 | PRT.LockedToPart = true | |
1415 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true}) | |
1416 | PRT.LockedToPart = true | |
1417 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true}) | |
1418 | PRT.LockedToPart = true | |
1419 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true}) | |
1420 | PRT.LockedToPart = true | |
1421 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true}) | |
1422 | PRT.LockedToPart = true | |
1423 | for _, c in pairs(Character:GetDescendants()) do | |
1424 | if c and c.Parent then | |
1425 | if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then | |
1426 | local ACCESSORY = c.Parent | |
1427 | c.Parent = Character | |
1428 | if c then | |
1429 | if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then | |
1430 | weldBetween(Head,c) | |
1431 | else | |
1432 | weldBetween(Torso,c) | |
1433 | end | |
1434 | end | |
1435 | end | |
1436 | end | |
1437 | end | |
1438 | local BODY = {} | |
1439 | for _, c in pairs(Character:GetDescendants()) do | |
1440 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
1441 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
1442 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1443 | end | |
1444 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name}) | |
1445 | elseif c:IsA("JointInstance") then | |
1446 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil}) | |
1447 | end | |
1448 | end | |
1449 | function refit() | |
1450 | Character.Parent = workspace | |
1451 | for e = 1, #BODY do | |
1452 | if BODY[e] ~= nil then | |
1453 | local STUFF = BODY[e] | |
1454 | local PART = STUFF[1] | |
1455 | local PARENT = STUFF[2] | |
1456 | local MATERIAL = STUFF[3] | |
1457 | local COLOR = STUFF[4] | |
1458 | local TRANSPARENCY = STUFF[5] | |
1459 | --local SIZE = STUFF[6] | |
1460 | local NAME = STUFF[7] | |
1461 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1462 | PART.Material = MATERIAL | |
1463 | PART.Transparency = TRANSPARENCY | |
1464 | PART.Name = NAME | |
1465 | end | |
1466 | if PART.Parent ~= PARENT then | |
1467 | Humanoid:remove() | |
1468 | PART.Parent = PARENT | |
1469 | Humanoid = IT("Humanoid",Character) | |
1470 | end | |
1471 | end | |
1472 | end | |
1473 | end | |
1474 | ||
1475 | ||
1476 | local Particle = IT("ParticleEmitter",nil) | |
1477 | Particle.Enabled = false | |
1478 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)}) | |
1479 | Particle.LightEmission = 0.5 | |
1480 | Particle.Rate = 150 | |
1481 | Particle.ZOffset = 0.2 | |
1482 | Particle.Rotation = NumberRange.new(-180, 180) | |
1483 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
1484 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
1485 | Particle.Color = ColorSequence.new(C3(255, 0, 0),C3(255, 0, 0)) | |
1486 | ||
1487 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
1488 | function ParticleEmitter(Table) | |
1489 | local PRTCL = Particle:Clone() | |
1490 | local Speed = Table.Speed or 5 | |
1491 | local Drag = Table.Drag or 0 | |
1492 | local Size1 = Table.Size1 or 1 | |
1493 | local Size2 = Table.Size2 or 5 | |
1494 | local Lifetime1 = Table.Lifetime1 or 1 | |
1495 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
1496 | local Parent = Table.Parent or Torso | |
1497 | local Emit = Table.Emit or 100 | |
1498 | local Offset = Table.Offset or 360 | |
1499 | local Acel = Table.Acel or VT(0,0,0) | |
1500 | local Enabled = Table.Enabled or false | |
1501 | PRTCL.Parent = Parent | |
1502 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
1503 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
1504 | PRTCL.Speed = NumberRange.new(Speed) | |
1505 | PRTCL.VelocitySpread = Offset | |
1506 | PRTCL.Drag = Drag | |
1507 | PRTCL.Acceleration = Acel | |
1508 | if Enabled == false then | |
1509 | PRTCL:Emit(Emit) | |
1510 | Debris:AddItem(PRTCL,Lifetime2) | |
1511 | else | |
1512 | PRTCL.Enabled = true | |
1513 | end | |
1514 | return PRTCL | |
1515 | end | |
1516 | ||
1517 | local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false) | |
1518 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0)) | |
1519 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false) | |
1520 | MakeForm(Part,"Wedge") | |
1521 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1522 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false) | |
1523 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1524 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false) | |
1525 | MakeForm(Part,"Cyl") | |
1526 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1527 | for i = 1, 8 do | |
1528 | local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false) | |
1529 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1530 | end | |
1531 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false) | |
1532 | MakeForm(Part,"Wedge") | |
1533 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
1534 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false) | |
1535 | MakeForm(Part,"Cyl") | |
1536 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1537 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false) | |
1538 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1539 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false) | |
1540 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1541 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0,0.6),false) | |
1542 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3)) | |
1543 | local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false) | |
1544 | MakeForm(RightBarrel,"Cyl") | |
1545 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0)) | |
1546 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false) | |
1547 | MakeForm(Part,"Wedge") | |
1548 | CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1549 | local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false) | |
1550 | MakeForm(RightHole,"Cyl") | |
1551 | CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0)) | |
1552 | local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false) | |
1553 | local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0)) | |
1554 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false) | |
1555 | MakeForm(Part,"Wedge") | |
1556 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1557 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false) | |
1558 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1559 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false) | |
1560 | MakeForm(Part,"Cyl") | |
1561 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1562 | for i = 1, 8 do | |
1563 | local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false) | |
1564 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1565 | end | |
1566 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false) | |
1567 | MakeForm(Part,"Wedge") | |
1568 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
1569 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false) | |
1570 | MakeForm(Part,"Cyl") | |
1571 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1572 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false) | |
1573 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1574 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false) | |
1575 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1576 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0,0.6),false) | |
1577 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3)) | |
1578 | local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false) | |
1579 | MakeForm(LeftBarrel,"Cyl") | |
1580 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0)) | |
1581 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false) | |
1582 | MakeForm(Part,"Wedge") | |
1583 | CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1584 | local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false) | |
1585 | MakeForm(LeftHole,"Cyl") | |
1586 | CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0)) | |
1587 | ||
1588 | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.6,0.2),false) | |
1589 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) | |
1590 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false) | |
1591 | MakeForm(Part,"Wedge") | |
1592 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1593 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.3,0.2),false) | |
1594 | MakeForm(Part,"Wedge") | |
1595 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) | |
1596 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.3,0.3),false) | |
1597 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1598 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false) | |
1599 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1600 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false) | |
1601 | MakeForm(Part,"Cyl") | |
1602 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1603 | for i = 1, 8 do | |
1604 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false) | |
1605 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1606 | end | |
1607 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.38,0.41,0.38),false) | |
1608 | MakeForm(Part,"Cyl") | |
1609 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1610 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.37,0.5,0.37),false) | |
1611 | MakeForm(Part,"Ball") | |
1612 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1613 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.7,0.4),false) | |
1614 | MakeForm(Part,"Wedge") | |
1615 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) | |
1616 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.2),false) | |
1617 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1618 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.35,0.35,0.35),false) | |
1619 | MakeForm(Part,"Cyl") | |
1620 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1621 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.5,0.1,0.5),false) | |
1622 | MakeForm(Part,"Cyl") | |
1623 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1624 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.5,0.1,0.45),false) | |
1625 | MakeForm(Part,"Cyl") | |
1626 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1627 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false) | |
1628 | MakeForm(Part,"Wedge") | |
1629 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
1630 | local LASTPART = Handle | |
1631 | for i = 1, 10 do | |
1632 | if LASTPART == Handle then | |
1633 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.1,0.2,0),false) | |
1634 | LASTPART = Part | |
1635 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1636 | else | |
1637 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.1,0.05,0),false) | |
1638 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) | |
1639 | LASTPART = Part | |
1640 | end | |
1641 | end | |
1642 | ||
1643 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.15,2,0.15),false) | |
1644 | MakeForm(Barrel,"Cyl") | |
1645 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1646 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.25,1,0.25),false) | |
1647 | MakeForm(Part,"Cyl") | |
1648 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) | |
1649 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0.1,0.2),false) | |
1650 | MakeForm(Part,"Wedge") | |
1651 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1652 | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.125,0,0.125),false) | |
1653 | MakeForm(Hole,"Cyl") | |
1654 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0)) | |
1655 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0,0),false) | |
1656 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1657 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2)) | |
1658 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Really red", "Eye", VT(0,0,0),false) | |
1659 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1660 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2)) | |
1661 | coroutine.resume(coroutine.create(function() | |
1662 | while wait() do | |
1663 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) | |
1664 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) | |
1665 | end | |
1666 | end)) | |
1667 | ||
1668 | ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
1669 | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
1670 | ||
1671 | for _, c in pairs(Weapon:GetDescendants()) do | |
1672 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1673 | c.Material = "Glass" | |
1674 | c.Color = C3(255, 0, 0) | |
1675 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
1676 | c.Color = C3(255, 0, 0) | |
1677 | c.Material = "Neon" | |
1678 | end | |
1679 | end | |
1680 | ||
1681 | Weapon.Parent = Character | |
1682 | for _, c in pairs(Weapon:GetChildren()) do | |
1683 | if c.ClassName == "Part" then | |
1684 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1685 | end | |
1686 | end | |
1687 | ||
1688 | local SKILLTEXTCOLOR = C3(255, 0, 0) | |
1689 | local SKILLFONT = "Fantasy" | |
1690 | local SKILLTEXTSIZE = 6 | |
1691 | ||
1692 | Humanoid.Died:connect(function() | |
1693 | refit() | |
1694 | end) | |
1695 | ||
1696 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
1697 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
1698 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
1699 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
1700 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
1701 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
1702 | local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame") | |
1703 | ||
1704 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] hell Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1") | |
1705 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Ultimate_Star", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2") | |
1706 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Ultimate Hell bound", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3") | |
1707 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4") | |
1708 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] hell Dash", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5") | |
1709 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[T] Pitiful", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6") | |
1710 | local SKILL7TEXT = CreateLabel(SKILL7FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7") | |
1711 | function printbye(Name) | |
1712 | local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "} | |
1713 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
1714 | end | |
1715 | ||
1716 | workspace.ChildAdded:connect(function(instance) | |
1717 | for BANISH = 1, #TOBANISH do | |
1718 | if TOBANISH[BANISH] ~= nil then | |
1719 | if instance.Name == TOBANISH[BANISH] then | |
1720 | coroutine.resume(coroutine.create(function() | |
1721 | printbye(instance.Name) | |
1722 | instance:ClearAllChildren() | |
1723 | Debris:AddItem(instance,0.0005) | |
1724 | end)) | |
1725 | end | |
1726 | end | |
1727 | end | |
1728 | end) | |
1729 | ||
1730 | --//=================================\\ | |
1731 | --|| DAMAGING | |
1732 | --\\=================================// | |
1733 | ||
1734 | function Kill(Char) | |
1735 | local NewCharacter = IT("Model",Effects) | |
1736 | NewCharacter.Name = "Ow im ded ;-;" | |
1737 | for _, c in pairs(Char:GetDescendants()) do | |
1738 | if c:IsA("BasePart") and c.Transparency == 0 then | |
1739 | if c.Parent == Char then | |
1740 | getbloody(c,5) | |
1741 | end | |
1742 | c:BreakJoints() | |
1743 | c.Material = "Glass" | |
1744 | c.Color = C3(0,1,0) | |
1745 | c.CanCollide = true | |
1746 | c.Transparency = 0.3 | |
1747 | if c:FindFirstChildOfClass("SpecialMesh") then | |
1748 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
1749 | end | |
1750 | if c.Name == "Head" then | |
1751 | c:ClearAllChildren() | |
1752 | c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y) | |
1753 | end | |
1754 | if c.ClassName == "MeshPart" then | |
1755 | c.TextureID = "" | |
1756 | end | |
1757 | if c:FindFirstChildOfClass("BodyPosition") then | |
1758 | c:FindFirstChildOfClass("BodyPosition"):remove() | |
1759 | end | |
1760 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1761 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1762 | end | |
1763 | c.Parent = NewCharacter | |
1764 | c.Name = "DeadPart" | |
1765 | c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15 | |
1766 | c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45)) | |
1767 | end | |
1768 | end | |
1769 | Char:remove() | |
1770 | Debris:AddItem(NewCharacter,5) | |
1771 | end | |
1772 | ||
1773 | function ApplyAoE(POSITION,RANGE,BRUTAL) | |
1774 | local CHILDREN = workspace:GetDescendants() | |
1775 | for index, CHILD in pairs(CHILDREN) do | |
1776 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1777 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1778 | if HUM then | |
1779 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1780 | if TORSO then | |
1781 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
1782 | if BRUTAL == true then | |
1783 | Kill(CHILD) | |
1784 | else | |
1785 | CHILD:BreakJoints() | |
1786 | end | |
1787 | end | |
1788 | end | |
1789 | end | |
1790 | end | |
1791 | end | |
1792 | end | |
1793 | ||
1794 | function BulletDetection(FROM,TO,BRUTAL) | |
1795 | local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character) | |
1796 | coroutine.resume(coroutine.create(function() | |
1797 | if AIMHIT ~= nil then | |
1798 | if AIMHIT.Parent ~= Character then | |
1799 | if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then | |
1800 | if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then | |
1801 | if BRUTAL == true then | |
1802 | Kill(AIMHIT.Parent) | |
1803 | else | |
1804 | getbloody(AIMHIT,15) | |
1805 | AIMHIT.Parent:BreakJoints() | |
1806 | if AIMHIT.Name == "Head" then | |
1807 | AIMHIT.Name = "HEADSHOT" | |
1808 | AIMHIT:remove() | |
1809 | end | |
1810 | end | |
1811 | else | |
1812 | if BRUTAL == true then | |
1813 | Kill(AIMHIT.Parent.Parent) | |
1814 | else | |
1815 | AIMHIT.Parent.Parent:BreakJoints() | |
1816 | end | |
1817 | end | |
1818 | end | |
1819 | end | |
1820 | end | |
1821 | end)) | |
1822 | SpawnTrail(FROM,AIMPOS) | |
1823 | return AIMHIT,AIMPOS,NORMAL | |
1824 | end | |
1825 | ||
1826 | function Banish(Foe) | |
1827 | if Foe then | |
1828 | coroutine.resume(coroutine.create(function() | |
1829 | --if game.Players:FindFirstChild(Foe.Name) then | |
1830 | table.insert(TOBANISH,Foe.Name) | |
1831 | printbye(Foe.Name) | |
1832 | --end | |
1833 | Foe.Archivable = true | |
1834 | local CLONE = Foe:Clone() | |
1835 | Foe:Destroy() | |
1836 | CLONE.Parent = Effects | |
1837 | CLONE:BreakJoints() | |
1838 | local MATERIALS = {"Glass","Neon"} | |
1839 | for _, c in pairs(CLONE:GetDescendants()) do | |
1840 | if c:IsA("BasePart") then | |
1841 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
1842 | CreateSound(340722848, c, 10, 1, false) | |
1843 | end | |
1844 | c.Anchored = true | |
1845 | c.Transparency = c.Transparency + 0.2 | |
1846 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1847 | c.Color = C3(0,1,0) | |
1848 | if c.ClassName == "MeshPart" then | |
1849 | c.TextureID = "" | |
1850 | end | |
1851 | if c:FindFirstChildOfClass("SpecialMesh") then | |
1852 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
1853 | end | |
1854 | if c:FindFirstChildOfClass("Decal") then | |
1855 | c:FindFirstChildOfClass("Decal"):remove() | |
1856 | end | |
1857 | c.Name = "Banished" | |
1858 | c.CanCollide = false | |
1859 | else | |
1860 | c:remove() | |
1861 | end | |
1862 | end | |
1863 | local A = false | |
1864 | for i = 1, 35 do | |
1865 | if A == false then | |
1866 | A = true | |
1867 | elseif A == true then | |
1868 | A = false | |
1869 | end | |
1870 | for _, c in pairs(CLONE:GetDescendants()) do | |
1871 | if c:IsA("BasePart") then | |
1872 | c.Anchored = true | |
1873 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1874 | c.Transparency = c.Transparency + 0.8/35 | |
1875 | if A == false then | |
1876 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1877 | elseif A == true then | |
1878 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1879 | end | |
1880 | end | |
1881 | end | |
1882 | Swait() | |
1883 | end | |
1884 | CLONE:remove() | |
1885 | end)) | |
1886 | end | |
1887 | end | |
1888 | ||
1889 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
1890 | local CHILDREN = workspace:GetDescendants() | |
1891 | for index, CHILD in pairs(CHILDREN) do | |
1892 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1893 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1894 | if HUM then | |
1895 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1896 | if TORSO then | |
1897 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
1898 | if ISBANISH == true then | |
1899 | Banish(CHILD) | |
1900 | else | |
1901 | if ISBANISH == "Gravity" then | |
1902 | HUM.PlatformStand = true | |
1903 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1904 | local grav = Instance.new("BodyPosition",TORSO) | |
1905 | grav.D = 15 | |
1906 | grav.P = 20000 | |
1907 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1908 | grav.position = TORSO.Position | |
1909 | grav.Name = "V3BanishForce"..Player.Name | |
1910 | else | |
1911 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0) | |
1912 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
1913 | end | |
1914 | else | |
1915 | HUM.PlatformStand = false | |
1916 | end | |
1917 | end | |
1918 | elseif ISBANISH == "Gravity" then | |
1919 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1920 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove() | |
1921 | HUM.PlatformStand = false | |
1922 | end | |
1923 | end | |
1924 | end | |
1925 | end | |
1926 | end | |
1927 | end | |
1928 | end | |
1929 | ||
1930 | --//=================================\\ | |
1931 | --|| ATTACK FUNCTIONS AND STUFF | |
1932 | --\\=================================// | |
1933 | ||
1934 | function TakeOnMe() | |
1935 | Speed = 5 | |
1936 | local MEME = CreateSound(288703954, Effects, 2, 1, false) | |
1937 | ATTACK = true | |
1938 | Rooted = false | |
1939 | local DANCE = true | |
1940 | local KEY = Mouse.KeyDown:connect(function(NEWKEY) | |
1941 | if NEWKEY == "p" then | |
1942 | DANCE = false | |
1943 | end | |
1944 | end) | |
1945 | PLAYSONG = false | |
1946 | while true do | |
1947 | for i = 1, 15 do | |
1948 | Swait() | |
1949 | MEME.Parent = Effects | |
1950 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1951 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1952 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1953 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1954 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1955 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1956 | end | |
1957 | if DANCE == false then | |
1958 | break | |
1959 | end | |
1960 | for i = 1, 15 do | |
1961 | Swait() | |
1962 | MEME.Parent = Effects | |
1963 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1964 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1965 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1966 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1967 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1968 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1969 | end | |
1970 | end | |
1971 | PLAYSONG = true | |
1972 | KEY:Disconnect() | |
1973 | MEME:remove() | |
1974 | Speed = 25 | |
1975 | ATTACK = false | |
1976 | Rooted = false | |
1977 | end | |
1978 | ||
1979 | function RTaunt() | |
1980 | ATTACK = true | |
1981 | Rooted = true | |
1982 | local TAUNT = CreateSound(907330011, Torso, 7, 1, false) | |
1983 | repeat | |
1984 | Swait() | |
1985 | TAUNT.Parent = Torso | |
1986 | TAUNT.Playing = true | |
1987 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1988 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed) | |
1989 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1990 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1991 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1992 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1993 | until TAUNT.TimePosition >= 1.25 | |
1994 | for i=0, 1.6, 0.1 / Animation_Speed do | |
1995 | Swait() | |
1996 | TAUNT.Parent = Torso | |
1997 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed) | |
1998 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed) | |
1999 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2000 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2001 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2002 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2003 | end | |
2004 | ATTACK = false | |
2005 | Rooted = false | |
2006 | end | |
2007 | ||
2008 | function Morning_Star() | |
2009 | ATTACK = true | |
2010 | Rooted = true | |
2011 | for i=0, 1, 0.1 / Animation_Speed do | |
2012 | Swait() | |
2013 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2014 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2015 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2016 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2017 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2018 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2019 | end | |
2020 | coroutine.resume(coroutine.create(function() | |
2021 | local POS = Mouse.Hit.p | |
2022 | local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0)) | |
2023 | MakeForm(RAY,"Cyl") | |
2024 | local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0)) | |
2025 | MakeForm(SPHERE,"Ball") | |
2026 | local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(0,0,0)) | |
2027 | MakeForm(SHIELD,"Ball") | |
2028 | SHIELD.CFrame = CF(POS) | |
2029 | RAY.CFrame = CF(POS) | |
2030 | SPHERE.CFrame = CF(POS) | |
2031 | CreateSound(440145570, SPHERE, 10, 0.8, false) | |
2032 | CreateSound(415700134, SPHERE, 10, 0.8, false) | |
2033 | for i = 1, 200 do | |
2034 | Swait() | |
2035 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(17, 17, 17), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2036 | RAY.Size = RAY.Size + VT(0.05,0,0.05) | |
2037 | SPHERE.Size = SPHERE.Size + VT(2,2,2) | |
2038 | SHIELD.Size = SPHERE.Size + VT(3,3,3) | |
2039 | ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true) | |
2040 | end | |
2041 | for i = 1, 45 do | |
2042 | Swait() | |
2043 | RAY.Transparency = RAY.Transparency + 1/45 | |
2044 | SPHERE.Transparency = RAY.Transparency | |
2045 | SHIELD.Transparency = SPHERE.Transparency + 1/45 | |
2046 | end | |
2047 | RAY:remove() | |
2048 | SHIELD:remove() | |
2049 | SPHERE:remove() | |
2050 | end)) | |
2051 | for i=0, 1, 0.1 / Animation_Speed do | |
2052 | Swait() | |
2053 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2054 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2055 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2056 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2057 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2058 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2059 | end | |
2060 | ATTACK = false | |
2061 | Rooted = false | |
2062 | end | |
2063 | ||
2064 | function Deathbound() | |
2065 | ATTACK = true | |
2066 | Rooted = true | |
2067 | for i=0, 1, 0.1 / Animation_Speed do | |
2068 | Swait() | |
2069 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2070 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2071 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2072 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2073 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2074 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2075 | end | |
2076 | local DONE = false | |
2077 | local GATE = nil | |
2078 | local GATESPIN = true | |
2079 | coroutine.resume(coroutine.create(function() | |
2080 | repeat | |
2081 | Swait() | |
2082 | if GATE ~= nil then | |
2083 | GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0)) | |
2084 | end | |
2085 | until GATESPIN == false | |
2086 | end)) | |
2087 | coroutine.resume(coroutine.create(function() | |
2088 | repeat | |
2089 | Swait() | |
2090 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2091 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2092 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2093 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2094 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2095 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2096 | until DONE == true | |
2097 | Swait(50) | |
2098 | for i = 1, 35 do | |
2099 | Swait(4) | |
2100 | local FIRED = false | |
2101 | local CHILDREN = workspace:GetDescendants() | |
2102 | for index, CHILD in pairs(CHILDREN) do | |
2103 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2104 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2105 | if HUM then | |
2106 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2107 | if TORSO then | |
2108 | if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then | |
2109 | local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
2110 | local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15))) | |
2111 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6}) | |
2112 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2113 | SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p) | |
2114 | Kill(CHILD) | |
2115 | FIRED = true | |
2116 | break | |
2117 | end | |
2118 | end | |
2119 | end | |
2120 | end | |
2121 | end | |
2122 | if FIRED == false then | |
2123 | local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15))) | |
2124 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6}) | |
2125 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2126 | SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p) | |
2127 | local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character) | |
2128 | if HITBOD ~= nil then | |
2129 | if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then | |
2130 | Kill(HITBOD.Parent) | |
2131 | end | |
2132 | end | |
2133 | end | |
2134 | end | |
2135 | for i = 1, 45 do | |
2136 | Swait() | |
2137 | GATE.Size = GATE.Size - VT(3,0,3) | |
2138 | end | |
2139 | GATESPIN = false | |
2140 | GATE:remove() | |
2141 | end)) | |
2142 | Swait(15) | |
2143 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
2144 | GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0)) | |
2145 | local DECAL = IT("Decal",GATE) | |
2146 | DECAL.Texture = "http://www.roblox.com/asset/?id=26356434" | |
2147 | DECAL.Face = "Top" | |
2148 | GATE.CFrame = CF(HITPOS) | |
2149 | CreateSound(160772554, GATE, 7, 1.3, false) | |
2150 | for i = 1, 45 do | |
2151 | Swait() | |
2152 | GATE.Size = GATE.Size + VT(3,0,3) | |
2153 | end | |
2154 | CreateSound(145080998, RightHole, 7, 1, false) | |
2155 | CreateSound(145080998, LeftHole, 7, 1, false) | |
2156 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2157 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2158 | ATTACK = false | |
2159 | Rooted = false | |
2160 | DONE = true | |
2161 | end | |
2162 | ||
2163 | function Dash() | |
2164 | ATTACK = true | |
2165 | Rooted = false | |
2166 | local TARGET = nil | |
2167 | local TORS = nil | |
2168 | local GYRO = IT("BodyGyro",RootPart) | |
2169 | GYRO.D = 175 | |
2170 | GYRO.P = 20000 | |
2171 | GYRO.MaxTorque = VT(0,40000,0) | |
2172 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2173 | local RANGE = 5 | |
2174 | CreateSound(541909867, Torso, 7, 1, false) | |
2175 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2176 | for i=0, 1, 0.1 / Animation_Speed do | |
2177 | Swait() | |
2178 | RootPart.CFrame = RootPart.CFrame * CF(0,0,-2) | |
2179 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2180 | local CHILDREN = workspace:GetDescendants() | |
2181 | for index, CHILD in pairs(CHILDREN) do | |
2182 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2183 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2184 | if HUM then | |
2185 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2186 | if TORSO then | |
2187 | if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then | |
2188 | RANGE = (TORSO.Position - LeftHole.Position).Magnitude | |
2189 | TARGET = HUM | |
2190 | TORS = TORSO | |
2191 | end | |
2192 | end | |
2193 | end | |
2194 | end | |
2195 | end | |
2196 | if TARGET then | |
2197 | break | |
2198 | end | |
2199 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed) | |
2200 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(80)), 1 / Animation_Speed) | |
2201 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2202 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2203 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2204 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2205 | end | |
2206 | GYRO:remove() | |
2207 | if TORS and TARGET then | |
2208 | Rooted = true | |
2209 | local BODYPOSITION = IT("BodyPosition", TORS) | |
2210 | BODYPOSITION.P = 2000 | |
2211 | BODYPOSITION.D = 100 | |
2212 | BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge) | |
2213 | for i=0, 1, 0.1 / Animation_Speed do | |
2214 | Swait() | |
2215 | TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
2216 | BODYPOSITION.Position = TORS.Position | |
2217 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
2218 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed) | |
2219 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2220 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2221 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2222 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2223 | end | |
2224 | for i=0, 0.4, 0.1 / Animation_Speed do | |
2225 | Swait() | |
2226 | TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
2227 | BODYPOSITION.Position = TORS.Position | |
2228 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
2229 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed) | |
2230 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2231 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2232 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2233 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2234 | end | |
2235 | local LOOP = 0 | |
2236 | local LOOP2 = 0 | |
2237 | for i=0, 5, 0.1 / Animation_Speed do | |
2238 | Swait() | |
2239 | LOOP = LOOP + 1 | |
2240 | TORS.Anchored = true | |
2241 | LOOP2 = LOOP2 + 1 | |
2242 | if LOOP2 >= 5 then | |
2243 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2244 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2245 | CreateSound(145080998, RightHole, 7, 1, false) | |
2246 | SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p) | |
2247 | LOOP2 = 0 | |
2248 | getbloody(TORS,1) | |
2249 | end | |
2250 | TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
2251 | BODYPOSITION.Position = TORS.Position | |
2252 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
2253 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed) | |
2254 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145 + 2 * SIN(LOOP / 12)), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2255 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2256 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2257 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2258 | end | |
2259 | BODYPOSITION:remove() | |
2260 | if TORS then | |
2261 | TORS.Anchored = false | |
2262 | Kill(TORS.Parent) | |
2263 | end | |
2264 | end | |
2265 | ATTACK = false | |
2266 | Rooted = false | |
2267 | end | |
2268 | ||
2269 | function Taunt() | |
2270 | ATTACK = true | |
2271 | Rooted = true | |
2272 | local TAUNT = CreateSound(907330011,Torso,10,1,false) | |
2273 | coroutine.resume(coroutine.create(function() | |
2274 | repeat | |
2275 | Swait() | |
2276 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2277 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2278 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2279 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2280 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2281 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2282 | until ATTACK == false | |
2283 | end)) | |
2284 | repeat wait() until TAUNT.Playing == false | |
2285 | ATTACK = false | |
2286 | Rooted = false | |
2287 | end | |
2288 | ||
2289 | ||
2290 | function Debree(POS,SWAIT) | |
2291 | coroutine.resume(coroutine.create(function() | |
2292 | local HOLDER = IT("Model",Effects) | |
2293 | HOLDER.Name = "Debree" | |
2294 | local HITFLOOR = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
2295 | MagicSphere(VT(15,1,15),SWAIT,CF(POS),"Really red",VT(0,0,0)) | |
2296 | MagicSphere(VT(13,1,13),SWAIT,CF(POS),"Really red",VT(0,0,0)) | |
2297 | MagicSphere(VT(12,1,12),SWAIT,CF(POS),"Really red",VT(0,0,0)) | |
2298 | repeat Swait() until HITFLOOR ~= nil | |
2299 | local O = 0 | |
2300 | for i = 1, 18 do | |
2301 | local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3)) | |
2302 | Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
2303 | O = O - (45/4)/5+i/4 | |
2304 | coroutine.resume(coroutine.create(function() | |
2305 | Swait(SWAIT) | |
2306 | for i = 1, 60 do | |
2307 | Swait() | |
2308 | local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace) | |
2309 | Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
2310 | end | |
2311 | for i = 1, 50 do | |
2312 | Swait() | |
2313 | Part.Size = Part.Size * 0.9 | |
2314 | end | |
2315 | end)) | |
2316 | end | |
2317 | local O = 0 | |
2318 | for i = 1, 18 do | |
2319 | local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3)) | |
2320 | Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
2321 | O = O + (45/4)/5-i/4 | |
2322 | coroutine.resume(coroutine.create(function() | |
2323 | Swait(SWAIT) | |
2324 | for i = 1, 60 do | |
2325 | Swait() | |
2326 | local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace) | |
2327 | Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
2328 | end | |
2329 | for i = 1, 50 do | |
2330 | Swait() | |
2331 | Part.Size = Part.Size * 0.9 | |
2332 | end | |
2333 | end)) | |
2334 | end | |
2335 | Swait(SWAIT+110) | |
2336 | HOLDER:remove() | |
2337 | end)) | |
2338 | end | |
2339 | ||
2340 | ||
2341 | ||
2342 | ||
2343 | function WarpVector() | |
2344 | ATTACK = false | |
2345 | Rooted = true | |
2346 | ||
2347 | Debree(CF(RootPart.Position)*CF(0,-2.8,0).p,75) | |
2348 | UNANCHOR = false | |
2349 | ||
2350 | RootPart.Anchored = true | |
2351 | for i=0, 2, 0.1 / Animation_Speed do | |
2352 | Swait() | |
2353 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2354 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2355 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2356 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2357 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2358 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2359 | end | |
2360 | ||
2361 | local POS = RootPart.Position | |
2362 | RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2.8,0).p,POS) | |
2363 | Debree(CF(RootPart.Position)*CF(0,-2.5,0).p,150) | |
2364 | for i=0, 2, 0.1 / Animation_Speed do | |
2365 | Swait() | |
2366 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2367 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2368 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2369 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2370 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2371 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2372 | end | |
2373 | UNANCHOR = true | |
2374 | ATTACK = false | |
2375 | Rooted = false | |
2376 | end | |
2377 | ||
2378 | function Banisher_Bullet() | |
2379 | ATTACK = true | |
2380 | Rooted = false | |
2381 | for i=2, 2, 2 / Animation_Speed do | |
2382 | Swait() | |
2383 | turnto(Mouse.Hit.p) | |
2384 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2385 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
2386 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2387 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2388 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2389 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2390 | end | |
2391 | repeat | |
2392 | for i=0, 0.2, 0.1 / Animation_Speed do | |
2393 | Swait() | |
2394 | turnto(Mouse.Hit.p) | |
2395 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2396 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
2397 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2398 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2399 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2400 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2401 | end | |
2402 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
2403 | SpawnTrail(Hole.Position,POS) | |
2404 | if HIT ~= nil then | |
2405 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
2406 | Banish(HIT.Parent) | |
2407 | end | |
2408 | end | |
2409 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2410 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2411 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2412 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0,) SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2413 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2414 | Swait() | |
2415 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2416 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
2417 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2418 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2419 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2420 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2421 | end | |
2422 | until KEYHOLD == false | |
2423 | ATTACK = false | |
2424 | Rooted = false | |
2425 | end | |
2426 | ||
2427 | function AttackTemplate() | |
2428 | ATTACK = true | |
2429 | Rooted = false | |
2430 | for i=0, 1, 0.1 / Animation_Speed do | |
2431 | Swait() | |
2432 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2433 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2434 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2435 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2436 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2437 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2438 | end | |
2439 | ATTACK = false | |
2440 | Rooted = false | |
2441 | end | |
2442 | ||
2443 | --//=================================\\ | |
2444 | --|| ASSIGN THINGS TO KEYS | |
2445 | --\\=================================// | |
2446 | function MouseDown(Mouse) | |
2447 | if ATTACK == false then | |
2448 | end | |
2449 | end | |
2450 | ||
2451 | function MouseUp(Mouse) | |
2452 | HOLD = false | |
2453 | end | |
2454 | ||
2455 | function KeyDown(Key) | |
2456 | KEYHOLD = true | |
2457 | if Key == "z" and ATTACK == false then | |
2458 | Banisher_Bullet() | |
2459 | end | |
2460 | ||
2461 | if Key == "v" and ATTACK == false then | |
2462 | Morning_Star() | |
2463 | end | |
2464 | ||
2465 | if Key == "b" and ATTACK == false then | |
2466 | RTaunt() | |
2467 | end | |
2468 | ||
2469 | if Key == "n" and ATTACK == false then | |
2470 | TakeOnMe() | |
2471 | end | |
2472 | ||
2473 | if Key == "q" and ATTACK == false then | |
2474 | Dash() | |
2475 | end | |
2476 | ||
2477 | if Key == "t" and ATTACK == false then | |
2478 | Taunt() | |
2479 | end | |
2480 | ||
2481 | if Key == "x" and ATTACK == false then | |
2482 | Deathbound() | |
2483 | end | |
2484 | ||
2485 | if Key == "c" and ATTACK == false then | |
2486 | WarpVector() | |
2487 | end | |
2488 | end | |
2489 | ||
2490 | function KeyUp(Key) | |
2491 | KEYHOLD = false | |
2492 | end | |
2493 | ||
2494 | Mouse.Button1Down:connect(function(NEWKEY) | |
2495 | MouseDown(NEWKEY) | |
2496 | end) | |
2497 | Mouse.Button1Up:connect(function(NEWKEY) | |
2498 | MouseUp(NEWKEY) | |
2499 | end) | |
2500 | Mouse.KeyDown:connect(function(NEWKEY) | |
2501 | KeyDown(NEWKEY) | |
2502 | end) | |
2503 | Mouse.KeyUp:connect(function(NEWKEY) | |
2504 | KeyUp(NEWKEY) | |
2505 | end) | |
2506 | ||
2507 | --//=================================\\ | |
2508 | --\\=================================// | |
2509 | ||
2510 | ||
2511 | function unanchor() | |
2512 | if UNANCHOR == true then | |
2513 | g = Character:GetChildren() | |
2514 | for i = 1, #g do | |
2515 | if g[i].ClassName == "Part" then | |
2516 | g[i].Anchored = false | |
2517 | end | |
2518 | end | |
2519 | end | |
2520 | end | |
2521 | ||
2522 | ||
2523 | --//=================================\\ | |
2524 | --|| WRAP THE WHOLE SCRIPT UP | |
2525 | --\\=================================// | |
2526 | ||
2527 | Humanoid.Changed:connect(function(Jump) | |
2528 | if Jump == "Jump" and (Disable_Jump == true) then | |
2529 | Humanoid.Jump = false | |
2530 | end | |
2531 | end) | |
2532 | ||
2533 | local CONNECT = nil | |
2534 | ||
2535 | while true do | |
2536 | Swait() | |
2537 | ANIMATE.Parent = nil | |
2538 | if Character:FindFirstChildOfClass("Humanoid") == nil then | |
2539 | Humanoid = IT("Humanoid",Character) | |
2540 | end | |
2541 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
2542 | v:Stop(); | |
2543 | end | |
2544 | SINE = SINE + CHANGE | |
2545 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2546 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2547 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
2548 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
2549 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
2550 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2551 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2552 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2553 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2554 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
2555 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2556 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2557 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2558 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2559 | end | |
2560 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
2561 | ANIM = "Jump" | |
2562 | if ATTACK == false then | |
2563 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2564 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2565 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed) | |
2566 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed) | |
2567 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.3 / Animation_Speed) | |
2568 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.3 / Animation_Speed) | |
2569 | end | |
2570 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
2571 | ANIM = "Fall" | |
2572 | if ATTACK == false then | |
2573 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2574 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2575 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed) | |
2576 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.3 / Animation_Speed) | |
2577 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.3 / Animation_Speed) | |
2578 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.3 / Animation_Speed) | |
2579 | end | |
2580 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
2581 | ANIM = "Idle" | |
2582 | if ATTACK == false then | |
2583 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.16 / Animation_Speed) | |
2584 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.16 / Animation_Speed) | |
2585 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed) | |
2586 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.16 / Animation_Speed) | |
2587 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.16 / Animation_Speed) | |
2588 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.16 / Animation_Speed) | |
2589 | end | |
2590 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
2591 | ANIM = "Walk" | |
2592 | if ATTACK == false then | |
2593 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.16 / Animation_Speed) | |
2594 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.16 / Animation_Speed) | |
2595 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.16 / Animation_Speed) | |
2596 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) | |
2597 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
2598 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
2599 | end | |
2600 | end | |
2601 | unanchor() | |
2602 | Humanoid.MaxHealth = "inf" | |
2603 | Humanoid.Health = "inf" | |
2604 | if Rooted == false then | |
2605 | Disable_Jump = false | |
2606 | Humanoid.WalkSpeed = Speed | |
2607 | elseif Rooted == true then | |
2608 | Disable_Jump = true | |
2609 | Humanoid.WalkSpeed = 0 | |
2610 | end | |
2611 | sick.Parent = Torso | |
2612 | sick:resume() | |
2613 | sick.Volume = 5 | |
2614 | sick.Pitch = 1.1 | |
2615 | sick.SoundId = "rbxassetid://1696854181" | |
2616 | sick.Name = "BanishV3Music" | |
2617 | end | |
2618 | if Head:FindFirstChild("face") then | |
2619 | Head.face.Texture = "rbxassetid://176217464" | |
2620 | end | |
2621 | ||
2622 | Humanoid.Changed:connect(function(Jump) | |
2623 | if Jump == "Jump" and (Disable_Jump == true) then | |
2624 | Humanoid.Jump = false | |
2625 | end | |
2626 | end) | |
2627 | ||
2628 | local BLINKLOOP = 0 | |
2629 | ||
2630 | while true do | |
2631 | Swait() | |
2632 | script.Parent = WEAPONGUI | |
2633 | ANIMATE.Parent = nil | |
2634 | Humanoid.Parent = Character | |
2635 | if Humanoid then | |
2636 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
2637 | IDLEANIMATION:Play() | |
2638 | end | |
2639 | SINE = SINE + CHANGE | |
2640 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2641 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2642 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
2643 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
2644 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
2645 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2646 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2647 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2648 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2649 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
2650 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2651 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2652 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2653 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2654 | end | |
2655 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
2656 | ANIM = "Jump" | |
2657 | if ATTACK == false then | |
2658 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2659 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2660 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2661 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
2662 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
2663 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2664 | end | |
2665 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
2666 | ANIM = "Fall" | |
2667 | if ATTACK == false then | |
2668 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2669 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2670 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2671 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
2672 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2673 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2674 | end | |
2675 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
2676 | ANIM = "Idle" | |
2677 | if ATTACK == false then | |
2678 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed) | |
2679 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed) | |
2680 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2681 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2682 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2683 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2684 | end | |
2685 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
2686 | ANIM = "Walk" | |
2687 | if ATTACK == false then | |
2688 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2689 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2690 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2691 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) | |
2692 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
2693 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
2694 | end | |
2695 | end | |
2696 | unanchor() | |
2697 | Humanoid.MaxHealth = "inf" | |
2698 | Humanoid.Health = "inf" | |
2699 | if Rooted == false then | |
2700 | Disable_Jump = false | |
2701 | Humanoid.WalkSpeed = Speed | |
2702 | elseif Rooted == true then | |
2703 | Disable_Jump = true | |
2704 | Humanoid.WalkSpeed = 0 | |
2705 | end | |
2706 | sick.SoundId = "rbxassetid://1696854181" | |
2707 | sick.Looped = true | |
2708 | sick.Pitch = 1.1 | |
2709 | sick.Volume = 5 | |
2710 | sick.Playing = true | |
2711 | sick.Parent = Torso | |
2712 | if Head:FindFirstChild("face") then | |
2713 | Head.face.Texture = "rbxassetid://404306534" | |
2714 | end | |
2715 | BLINKLOOP = BLINKLOOP + 1 | |
2716 | if BLINKLOOP >=650 then | |
2717 | BLINKLOOP = 0 | |
2718 | Blink() | |
2719 | end | |
2720 | if #GHOSTS>0 then | |
2721 | for e=1,#GHOSTS do | |
2722 | if GHOSTS[e]~=nil then | |
2723 | local Thing=GHOSTS[e] | |
2724 | if Thing~=nil then | |
2725 | if Thing:FindFirstChild("Head") then | |
2726 | if Thing:FindFirstChild("Head"):FindFirstChild("face") then | |
2727 | Thing:FindFirstChild("Head").face.Texture = "rbxassetid://479674570" | |
2728 | end | |
2729 | if Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound") then | |
2730 | Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound"):remove() | |
2731 | end | |
2732 | end | |
2733 | local TORSO = Thing:FindFirstChild("Torso") | |
2734 | if TORSO then | |
2735 | TORSO.Anchored = false | |
2736 | local ROOT = Thing.HumanoidRootPart | |
2737 | local RootJoint1 = ROOT:FindFirstChild("RootJoint") | |
2738 | local Neck1 = TORSO:FindFirstChild("Neck") | |
2739 | local RightShoulder1 = TORSO:FindFirstChild("Right Shoulder") | |
2740 | local LeftShoulder1 = TORSO:FindFirstChild("Left Shoulder") | |
2741 | local RightHip1 = TORSO:FindFirstChild("Right Hip") | |
2742 | local LeftHip1 = TORSO:FindFirstChild("Left Hip") | |
2743 | if ROOT and RootJoint1 then | |
2744 | local VELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude | |
2745 | if VELOCITY < 1 then | |
2746 | RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12))) | |
2747 | Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12))) | |
2748 | RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0 | |
2749 | LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0 | |
2750 | RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) | |
2751 | LeftHip1.C0 = CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) | |
2752 | elseif VELOCITY > 1 then | |
2753 | RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12))) | |
2754 | Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12))) | |
2755 | RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0 | |
2756 | LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0 | |
2757 | RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)) | |
2758 | LeftHip1.C0 = CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) | |
2759 | end | |
2760 | end | |
2761 | local Human = Thing.Humanoid | |
2762 | if Human then | |
2763 | Human.HipHeight = 0.3 | |
2764 | for _, c in pairs(Thing:GetChildren()) do | |
2765 | if c.ClassName == "Part" and c.Transparency < 1 then | |
2766 | c.Color = C3(255, 0, 0) | |
2767 | c.Transparency = 0.65 + 0.15 * COS(SINE / 25) | |
2768 | elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then | |
2769 | c:remove() | |
2770 | end | |
2771 | end | |
2772 | if Human then | |
2773 | local IDLEANIMATION = Human:LoadAnimation(ROBLOXIDLEANIMATION) | |
2774 | IDLEANIMATION:Play() | |
2775 | end | |
2776 | local list = game.Workspace:children() | |
2777 | local torso = nil | |
2778 | local dist = 50 | |
2779 | local temp = nil | |
2780 | local human = nil | |
2781 | local temp2 = nil | |
2782 | local OwnerInDanger = false | |
2783 | for x = 1, #list do | |
2784 | temp2 = list[x] | |
2785 | if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then | |
2786 | temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso") | |
2787 | human = temp2:findFirstChildOfClass("Humanoid") | |
2788 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
2789 | if (temp.Position - Torso.Position).magnitude < 15 then | |
2790 | OwnerInDanger = true | |
2791 | newdist = (temp.Position - TORSO.Position).magnitude | |
2792 | dist = (Torso.Position - temp.Position).magnitude | |
2793 | Human:MoveTo(temp.Position) | |
2794 | torso = temp | |
2795 | if newdist < 7 then | |
2796 | torso.CFrame = CF(torso.Position,TORSO.Position)*CF(0,0,5) | |
2797 | CreateSound(814168787, temp, 1, 2, false) | |
2798 | ApplyDamage(human,MRANDOM(15,35),temp) | |
2799 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
2800 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = torso.CFrame*CF(0,-4*torso.Size.Y/2,0), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
2801 | end | |
2802 | end | |
2803 | end | |
2804 | end | |
2805 | end | |
2806 | if OwnerInDanger == false then | |
2807 | for x = 1, #list do | |
2808 | temp2 = list[x] | |
2809 | if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then | |
2810 | temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso") | |
2811 | human = temp2:findFirstChildOfClass("Humanoid") | |
2812 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
2813 | if (temp.Position - Torso.Position).magnitude < dist then | |
2814 | newdist = (temp.Position - TORSO.Position).magnitude | |
2815 | Human:MoveTo(temp.Position) | |
2816 | torso = temp | |
2817 | if newdist < 15 then | |
2818 | if MRANDOM(1,35) == 1 then | |
2819 | CreateSound(438665935, temp, 1, 3, false) | |
2820 | ApplyDamage(human,MRANDOM(2,20),temp) | |
2821 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
2822 | end | |
2823 | end | |
2824 | end | |
2825 | end | |
2826 | end | |
2827 | end | |
2828 | end | |
2829 | if torso == nil then | |
2830 | Human.WalkSpeed = Speed -0.2 | |
2831 | if (Torso.Position - TORSO.Position).magnitude < 12 and (Torso.Position - TORSO.Position).magnitude >= 11 then | |
2832 | Human:MoveTo(TORSO.Position) | |
2833 | elseif (Torso.Position - TORSO.Position).magnitude > 15 then | |
2834 | Human:MoveTo(Torso.Position) | |
2835 | elseif (Torso.Position - TORSO.Position).magnitude < 11 then | |
2836 | Human:MoveTo(CF(Torso.Position,TORSO.Position)*CF(0,0,-5).p) | |
2837 | end | |
2838 | else | |
2839 | if OwnerInDanger == false then | |
2840 | Human.WalkSpeed = Speed*1.2 | |
2841 | else | |
2842 | Human.WalkSpeed = Speed*5 | |
2843 | end | |
2844 | end | |
2845 | if Human.Health == 0 then | |
2846 | Thing:remove() | |
2847 | table.remove(GHOSTS,e) | |
2848 | else | |
2849 | Human.Health = Human.Health + 0.5 | |
2850 | end | |
2851 | else | |
2852 | Thing:remove() | |
2853 | table.remove(GHOSTS,e) | |
2854 | end | |
2855 | else | |
2856 | Thing:remove() | |
2857 | table.remove(GHOSTS,e) | |
2858 | end | |
2859 | end | |
2860 | end | |
2861 | end | |
2862 | end | |
2863 | refit() | |
2864 | end | |
2865 | ||
2866 | --//=================================\\ | |
2867 | --\\=================================// | |
2868 | ||
2869 | ||
2870 | ||
2871 | ||
2872 | ||
2873 | --//====================================================\\-- | |
2874 | --|| END OF SCRIPT | |
2875 | --\\====================================================//-- |