SHOW:
|
|
- or go back to the newest paste.
1 | while true do --Loop | |
2 | wait(0.04) | |
3 | part2.Texture = "http://www.roblox.com/asset/?id=930627733" --Insert decal's first texture | |
4 | part2.Texture = "http://www.roblox.com/asset/?id=930627733" --second texture | |
5 | wait(0.04) --wait 1 second, you can change this and make it different for every one | |
6 | part2.Texture = "http://www.roblox.com/asset/?id=930627733" | |
7 | wait(0.04) | |
8 | part2.Texture = "http://www.roblox.com/asset/?id=930627733" | |
9 | wait(0.04) | |
10 | end | |
11 | game.Workspace.XxXexe5.Humanoid.MaxHealth = math.huge | |
12 | Character = game.Players.LocalPlayer.Character | |
13 | Head = Character.Head | |
14 | CFuncs = { | |
15 | ["Part"] = { | |
16 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
17 | local Part = Create("Part"){ | |
18 | Parent = Parent, | |
19 | Reflectance = Reflectance, | |
20 | Transparency = Transparency, | |
21 | CanCollide = false, | |
22 | Locked = true, | |
23 | BrickColor = BrickColor.new(tostring(BColor)), | |
24 | Name = Name, | |
25 | Size = Size, | |
26 | Material = Material, | |
27 | } | |
28 | RemoveOutlines(Part) | |
29 | return Part | |
30 | end; | |
31 | }; | |
32 | ||
33 | ["Mesh"] = { | |
34 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
35 | local Msh = Create(Mesh){ | |
36 | Parent = Part, | |
37 | Offset = OffSet, | |
38 | Scale = Scale, | |
39 | } | |
40 | if Mesh == "SpecialMesh" then | |
41 | Msh.MeshType = MeshType | |
42 | Msh.MeshId = MeshId | |
43 | end | |
44 | return Msh | |
45 | end; | |
46 | }; | |
47 | ||
48 | ["Mesh"] = { | |
49 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
50 | local Msh = Create(Mesh){ | |
51 | Parent = Part, | |
52 | Offset = OffSet, | |
53 | Scale = Scale, | |
54 | } | |
55 | if Mesh == "SpecialMesh" then | |
56 | Msh.MeshType = MeshType | |
57 | Msh.MeshId = MeshId | |
58 | end | |
59 | return Msh | |
60 | end; | |
61 | }; | |
62 | ||
63 | ["Weld"] = { | |
64 | Create = function(Parent, Part0, Part1, C0, C1) | |
65 | local Weld = Create("Weld"){ | |
66 | Parent = Parent, | |
67 | Part0 = Part0, | |
68 | Part1 = Part1, | |
69 | C0 = C0, | |
70 | C1 = C1, | |
71 | } | |
72 | return Weld | |
73 | end; | |
74 | }; | |
75 | ||
76 | ["Sound"] = { | |
77 | Create = function(id, par, vol, pit) | |
78 | coroutine.resume(coroutine.create(function() | |
79 | local S = Create("Sound"){ | |
80 | Volume = vol, | |
81 | Pitch = pit or 1, | |
82 | SoundId = id, | |
83 | Parent = par or workspace, | |
84 | } | |
85 | wait() | |
86 | S:play() | |
87 | game:GetService("Debris"):AddItem(S, 6) | |
88 | end)) | |
89 | end; | |
90 | }; | |
91 | ||
92 | ["ParticleEmitter"] = { | |
93 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
94 | local fp = Create("ParticleEmitter"){ | |
95 | Parent = Parent, | |
96 | Color = ColorSequence.new(Color1, Color2), | |
97 | LightEmission = LightEmission, | |
98 | Size = Size, | |
99 | Texture = Texture, | |
100 | Transparency = Transparency, | |
101 | ZOffset = ZOffset, | |
102 | Acceleration = Accel, | |
103 | Drag = Drag, | |
104 | LockedToPart = LockedToPart, | |
105 | VelocityInheritance = VelocityInheritance, | |
106 | EmissionDirection = EmissionDirection, | |
107 | Enabled = Enabled, | |
108 | Lifetime = LifeTime, | |
109 | Rate = Rate, | |
110 | Rotation = Rotation, | |
111 | RotSpeed = RotSpeed, | |
112 | Speed = Speed, | |
113 | VelocitySpread = VelocitySpread, | |
114 | } | |
115 | return fp | |
116 | end; | |
117 | }; | |
118 | ||
119 | CreateTemplate = { | |
120 | ||
121 | }; | |
122 | } | |
123 | ||
124 | ||
125 | ||
126 | New = function(Object, Parent, Name, Data) | |
127 | local Object = Instance.new(Object) | |
128 | for Index, Value in pairs(Data or {}) do | |
129 | Object[Index] = Value | |
130 | end | |
131 | Object.Parent = Parent | |
132 | Object.Name = Name | |
133 | return Object | |
134 | end | |
135 | ||
136 | function chatfunc(text) | |
137 | local chat = coroutine.wrap(function() | |
138 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
139 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
140 | end | |
141 | local naeeym2 = Instance.new("BillboardGui",Character) | |
142 | naeeym2.Size = UDim2.new(0,100,0,40) | |
143 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
144 | naeeym2.Adornee = Character.Head | |
145 | naeeym2.Name = "TalkingBillBoard" | |
146 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
147 | tecks2.BackgroundTransparency = 1 | |
148 | tecks2.BorderSizePixel = 0 | |
149 | tecks2.Text = "" | |
150 | tecks2.Font = "SciFi" | |
151 | tecks2.TextSize = 30 | |
152 | tecks2.TextStrokeTransparency = 0 | |
153 | tecks2.TextColor3 = Color3.new(1.15,0.,0) | |
154 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
155 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
156 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
157 | tecks3.BackgroundTransparency = 1 | |
158 | tecks3.BorderSizePixel = 0 | |
159 | tecks3.Text = "" | |
160 | tecks3.Font = "SciFi" | |
161 | tecks3.TextSize = 30 | |
162 | tecks3.TextStrokeTransparency = 0 | |
163 | tecks3.TextColor3 = Color3.new(1.15,0.,0) | |
164 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
165 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
166 | for i = 1,string.len(text),1 do | |
167 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8) | |
168 | tecks2.Text = string.sub(text,1,i) | |
169 | tecks3.Text = string.sub(text,1,i) | |
170 | wait(0.01) | |
171 | end | |
172 | wait(2) | |
173 | for i = 1, 50 do | |
174 | swait() | |
175 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
176 | tecks2.Rotation = tecks2.Rotation - .8 | |
177 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
178 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
179 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
180 | tecks3.Rotation = tecks2.Rotation + .8 | |
181 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
182 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
183 | end | |
184 | naeeym2:Destroy() | |
185 | end) | |
186 | chat() | |
187 | end | |
188 | function onChatted(msg) | |
189 | chatfunc(msg) | |
190 | end | |
191 | Player.Chatted:connect(onChatted) | |
192 | ||
193 | ||
194 | Player.Chatted:connect(onChatted) | |
195 | CV="Crimson" | |
196 | p = game.Players.LocalPlayer | |
197 | char = p.Character | |
198 | local txt = Instance.new("BillboardGui", char) | |
199 | txt.Adornee = char .Head | |
200 | txt.Name = "_status" | |
201 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
202 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
203 | local text = Instance.new("TextLabel", txt) | |
204 | text.Size = UDim2.new(10, 0, 7, 0) | |
205 | text.FontSize = "Size24" | |
206 | text.TextScaled = true | |
207 | text.TextTransparency = 0 | |
208 | text.BackgroundTransparency = 1 | |
209 | text.TextTransparency = 0 | |
210 | text.TextStrokeTransparency = 0 | |
211 | text.Font = "Antique" | |
212 | text.TextStrokeColor3 = Color3.new(60,0,.0) | |
213 | ||
214 | v=Instance.new("Part") | |
215 | v.Name = "ColorBrick" | |
216 | v.Parent=p.Character | |
217 | v.FormFactor="Symmetric" | |
218 | v.Anchored=true | |
219 | v.CanCollide=false | |
220 | v.BottomSurface="Smooth" | |
221 | v.TopSurface="Smooth" | |
222 | v.Size=Vector3.new(10,5,3) | |
223 | v.Transparency=1 | |
224 | v.CFrame=char.Torso.CFrame | |
225 | v.BrickColor=BrickColor.new(CV) | |
226 | v.Transparency=1 | |
227 | text.TextColor3 = Color3.new(60,0,.0) | |
228 | v.Shape="Block" | |
229 | text.Text = "KING CRIMSON" | |
230 | local s = Instance.new("Sound",char) | |
231 | s.Name = "BGMusic" | |
232 | s.SoundId = "rbxassetid://627848963" | |
233 | s.Pitch = 1 | |
234 | s.Volume = 10 | |
235 | s.Looped = true | |
236 | s.archivable = false | |
237 | s.Parent = char.Head | |
238 | wait(0.1) | |
239 | s:play() | |
240 | Me = game.Players.LocalPlayer | |
241 | char = Me.Character | |
242 | larm = char["Left Arm"] | |
243 | rarm = char["Right Arm"] | |
244 | lleg = char["Left Leg"] | |
245 | rleg = char["Right Leg"] | |
246 | torso = char.Torso | |
247 | ||
248 | lleg.Transparency = 1 | |
249 | rleg.Transparency = 1 | |
250 | larm.Transparency = 1 | |
251 | rarm.Transparency = 1 | |
252 | torso.Transparency = 1 | |
253 | ------------------------------------------------------------------ Player ------------------------------------------------------------------- | |
254 | ||
255 | ----------------------------------------------------------------- Left Arm ----------------------------------------------------------------- | |
256 | larm1 = Instance.new("Part", char) | |
257 | larm1.Name = "Middle" | |
258 | larm1.BrickColor = BrickColor.new("Bright red") | |
259 | larm1.Size = Vector3.new(1, 2, 1) | |
260 | larm1.CanCollide = false | |
261 | larm1.BottomSurface = "Smooth" | |
262 | larm1.TopSurface = "Smooth" | |
263 | larm1.Material = "Neon" | |
264 | Weld = Instance.new("Weld",larm) | |
265 | Weld.Part0 = larm | |
266 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
267 | Weld.Part1 = larm1 | |
268 | Weld.C1 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
269 | ||
270 | larm2 = Instance.new("Part", char) | |
271 | larm2.BrickColor = BrickColor.new("Crimson") | |
272 | larm2.Size = Vector3.new(1, 0.4, 1) | |
273 | larm2.CanCollide = false | |
274 | larm2.BottomSurface = "Smooth" | |
275 | larm2.TopSurface = "Smooth" | |
276 | Weld = Instance.new("Weld",larm) | |
277 | Weld.Part0 = larm | |
278 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
279 | Weld.Part1 = larm2 | |
280 | Weld.C1 = CFrame.new(-0.452633858, -0.349740982, -1.50225353, -0.00506608887, 0.999986708, -0.00096991309, -0.0106740929, 0.000915773562, 0.999942601, 0.999930143, 0.0050761546, 0.0106693096) | |
281 | ||
282 | larm3 = Instance.new("Part", char) | |
283 | larm3.BrickColor = BrickColor.new("Crimson") | |
284 | larm3.Size = Vector3.new(1, 0.4, 1) | |
285 | larm3.CanCollide = false | |
286 | larm3.BottomSurface = "Smooth" | |
287 | larm3.TopSurface = "Smooth" | |
288 | Weld = Instance.new("Weld",larm) | |
289 | Weld.Part0 = larm | |
290 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
291 | Weld.Part1 = larm3 | |
292 | Weld.C1 = CFrame.new(-0.452513218, -1.90224648, -0.0102577209, -0.00506604509, 0.999986708, -0.000969912624, 0.999930143, 0.00507611083, 0.0106693096, 0.0106740929, -0.000915773562, -0.999942601) | |
293 | ||
294 | larm4 = Instance.new("Part", char) | |
295 | larm4.BrickColor = BrickColor.new("Crimson") | |
296 | larm4.Size = Vector3.new(1, 0.4, 1) | |
297 | larm4.CanCollide = false | |
298 | larm4.BottomSurface = "Smooth" | |
299 | larm4.TopSurface = "Smooth" | |
300 | Weld = Instance.new("Weld",larm) | |
301 | Weld.Part0 = larm | |
302 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
303 | Weld.Part1 = larm4 | |
304 | Weld.C1 = CFrame.new(-0.452511787, -0.41024971, 1.50225258, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
305 | ||
306 | larm5 = Instance.new("Part", char) | |
307 | larm5.BrickColor = BrickColor.new("Crimson") | |
308 | larm5.Size = Vector3.new(1, 0.4, 1) | |
309 | larm5.CanCollide = false | |
310 | larm5.BottomSurface = "Smooth" | |
311 | larm5.TopSurface = "Smooth" | |
312 | Weld = Instance.new("Weld",larm) | |
313 | Weld.Part0 = larm | |
314 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
315 | Weld.Part1 = larm5 | |
316 | Weld.C1 = CFrame.new(-1.50225163, -0.762512684, 0.0102577209, 0.999930143, 0.0050761546, 0.0106693534, -0.00506608794, 0.999986708, -0.000970000518, -0.0106741367, 0.000915860757, 0.999942601) | |
317 | ||
318 | larm6 = Instance.new("Part", char) | |
319 | larm6.BrickColor = BrickColor.new("Crimson") | |
320 | larm6.Size = Vector3.new(1, 0.4, 1) | |
321 | larm6.CanCollide = false | |
322 | larm6.BottomSurface = "Smooth" | |
323 | larm6.TopSurface = "Smooth" | |
324 | Mesh = Instance.new("SpecialMesh", larm6) | |
325 | Mesh.MeshType = "Brick" | |
326 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
327 | Weld = Instance.new("Weld",larm) | |
328 | Weld.Part0 = larm | |
329 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
330 | Weld.Part1 = larm6 | |
331 | Weld.C1 = CFrame.new(0.0102558136, 0.847481251, 1.50225353, -0.0106740929, 0.00091586099, 0.999942601, -0.00506608794, 0.999986708, -0.000970000518, -0.999930143, -0.0050761546, -0.0106693096) | |
332 | ||
333 | larm7 = Instance.new("Part", char) | |
334 | larm7.BrickColor = BrickColor.new("Bright red") | |
335 | larm7.Size = Vector3.new(0.5, 0.3, 2) | |
336 | larm7.CanCollide = false | |
337 | larm7.BottomSurface = "Smooth" | |
338 | larm7.TopSurface = "Smooth" | |
339 | larm7.Material = "Neon" | |
340 | Weld = Instance.new("Weld",larm) | |
341 | Weld.Part0 = larm | |
342 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
343 | Weld.Part1 = larm7 | |
344 | Weld.C1 = CFrame.new(-0.339956284, 1.83238316, 1.50933075, 0.11770986, 0.484406531, 0.866887927, -0.967169523, 0.253912479, -0.0105566857, -0.225227386, -0.837184966, 0.498391271) | |
345 | ||
346 | larm8 = Instance.new("Part", char) | |
347 | larm8.BrickColor = BrickColor.new("Crimson") | |
348 | larm8.Size = Vector3.new(1, 0.4, 1) | |
349 | larm8.CanCollide = false | |
350 | larm8.BottomSurface = "Smooth" | |
351 | larm8.TopSurface = "Smooth" | |
352 | Weld = Instance.new("Weld",larm) | |
353 | Weld.Part0 = larm | |
354 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
355 | Weld.Part1 = larm8 | |
356 | Weld.C1 = CFrame.new(0.247514963, -0.0102424622, 1.58225441, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
357 | ----------------------------------------------------------------- Right Arm ----------------------------------------------------------------- | |
358 | rarm1 = Instance.new("Part", char) | |
359 | rarm1.Name = "Middle" | |
360 | rarm1.BrickColor = BrickColor.new("Really red") | |
361 | rarm1.Size = Vector3.new(1, 2, 1) | |
362 | rarm1.CanCollide = false | |
363 | rarm1.BottomSurface = "Smooth" | |
364 | rarm1.TopSurface = "Smooth" | |
365 | rarm1.Material = "Neon" | |
366 | Weld = Instance.new("Weld",rarm) | |
367 | Weld.Part0 = rarm | |
368 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
369 | Weld.Part1 = rarm1 | |
370 | Weld.C1 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
371 | ||
372 | rarm2 = Instance.new("Part", char) | |
373 | rarm2.BrickColor = BrickColor.new("Really red") | |
374 | rarm2.Size = Vector3.new(1, 0.4, 1) | |
375 | rarm2.CanCollide = false | |
376 | rarm2.BottomSurface = "Smooth" | |
377 | rarm2.TopSurface = "Smooth" | |
378 | Weld = Instance.new("Weld",rarm) | |
379 | Weld.Part0 = rarm | |
380 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
381 | Weld.Part1 = rarm2 | |
382 | Weld.C1 = CFrame.new(-0.458259583, -0.356315613, 1.50168037, 0.00366159994, 0.999978125, -0.00550877256, 0.00621323148, 0.00548594771, 0.999965668, 0.999974012, -0.00369570963, -0.00619300362) | |
383 | ||
384 | rarm3 = Instance.new("Part", char) | |
385 | rarm3.BrickColor = BrickColor.new("Really red") | |
386 | rarm3.Size = Vector3.new(1, 0.4, 1) | |
387 | rarm3.CanCollide = false | |
388 | rarm3.BottomSurface = "Smooth" | |
389 | rarm3.TopSurface = "Smooth" | |
390 | Weld = Instance.new("Weld",rarm) | |
391 | Weld.Part0 = rarm | |
392 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
393 | Weld.Part1 = rarm3 | |
394 | Weld.C1 = CFrame.new(-1.50168133, -0.768137932, -0.00367927551, -0.999974012, 0.00369570986, 0.00619304739, 0.00366159948, 0.999978125, -0.00550886011, -0.00621327572, -0.00548603525, -0.999965668) | |
395 | ||
396 | rarm4 = Instance.new("Part", char) | |
397 | rarm4.BrickColor = BrickColor.new("Really red") | |
398 | rarm4.Size = Vector3.new(1, 0.4, 1) | |
399 | rarm4.CanCollide = false | |
400 | rarm4.BottomSurface = "Smooth" | |
401 | rarm4.TopSurface = "Smooth" | |
402 | Weld = Instance.new("Weld",rarm) | |
403 | Weld.Part0 = rarm | |
404 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
405 | Weld.Part1 = rarm4 | |
406 | Weld.C1 = CFrame.new(-0.00368309021, 1.8716774, 0.458146095, -0.00621323194, -0.00548603525, -0.999965668, 0.999974012, -0.0036957534, -0.00619300315, -0.00366164325, -0.999978125, 0.00550886057) | |
407 | ||
408 | rarm5 = Instance.new("Part", char) | |
409 | rarm5.BrickColor = BrickColor.new("Really red") | |
410 | rarm5.Size = Vector3.new(1, 0.4, 1) | |
411 | rarm5.CanCollide = false | |
412 | rarm5.BottomSurface = "Smooth" | |
413 | rarm5.TopSurface = "Smooth" | |
414 | Mesh = Instance.new("SpecialMesh", rarm5) | |
415 | Mesh.MeshType = "Brick" | |
416 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
417 | Weld = Instance.new("Weld",rarm) | |
418 | Weld.Part0 = rarm | |
419 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
420 | Weld.Part1 = rarm5 | |
421 | Weld.C1 = CFrame.new(0.00368118286, 0.841855764, -1.50168228, 0.00621323194, 0.00548603525, 0.999965668, 0.00366159948, 0.999978125, -0.00550886011, -0.999974012, 0.00369570963, 0.00619300362) | |
422 | ||
423 | rarm6 = Instance.new("Part", char) | |
424 | rarm6.BrickColor = BrickColor.new("Really red") | |
425 | rarm6.Size = Vector3.new(1, 0.4, 1) | |
426 | rarm6.CanCollide = false | |
427 | rarm6.BottomSurface = "Smooth" | |
428 | rarm6.TopSurface = "Smooth" | |
429 | Weld = Instance.new("Weld",rarm) | |
430 | Weld.Part0 = rarm | |
431 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
432 | Weld.Part1 = rarm6 | |
433 | Weld.C1 = CFrame.new(-1.50168133, -0.403675079, 0.458138466, -0.999974012, 0.00369575364, 0.00619304692, -0.00621327572, -0.00548603525, -0.999965668, -0.00366164325, -0.999978125, 0.00550886057) | |
434 | ||
435 | rarm7 = Instance.new("Part", char) | |
436 | rarm7.BrickColor = BrickColor.new("Really red") | |
437 | rarm7.Size = Vector3.new(0.5, 0.3, 2) | |
438 | rarm7.CanCollide = false | |
439 | rarm7.BottomSurface = "Smooth" | |
440 | rarm7.TopSurface = "Smooth" | |
441 | rarm7.Material = "Neon" | |
442 | Weld = Instance.new("Weld",rarm) | |
443 | Weld.Part0 = rarm | |
444 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
445 | Weld.Part1 = rarm7 | |
446 | Weld.C1 = CFrame.new(0.344418526, -1.80139351, -1.50391006, 0.122256897, -0.48818168, -0.864136577, -0.966848493, -0.25524351, 0.00740774209, -0.224181563, 0.834583461, -0.503202915) | |
447 | ||
448 | rarm8 = Instance.new("Part", char) | |
449 | rarm8.BrickColor = BrickColor.new("Really red") | |
450 | rarm8.Size = Vector3.new(1, 0.4, 1) | |
451 | rarm8.CanCollide = false | |
452 | rarm8.BottomSurface = "Smooth" | |
453 | rarm8.TopSurface = "Smooth" | |
454 | Weld = Instance.new("Weld",rarm) | |
455 | Weld.Part0 = rarm | |
456 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
457 | Weld.Part1 = rarm8 | |
458 | Weld.C1 = CFrame.new(0.241888285, -0.00366973877, -1.56167889, 0.00366144883, 0.999978125, -0.00550877163, -0.00621323148, -0.00548594771, -0.999965668, -0.999974012, 0.00369555852, 0.00619300455) | |
459 | ----------------------------------------------------------------- Left Leg ----------------------------------------------------------------- | |
460 | lleg1 = Instance.new("Part", char) | |
461 | lleg1.Name = "Middle" | |
462 | lleg1.BrickColor = BrickColor.new("Bright red") | |
463 | lleg1.Size = Vector3.new(1, 2, 1) | |
464 | lleg1.CanCollide = false | |
465 | lleg1.BottomSurface = "Smooth" | |
466 | lleg1.TopSurface = "Smooth" | |
467 | lleg1.Material = "Neon" | |
468 | Weld = Instance.new("Weld",lleg) | |
469 | Weld.Part0 = lleg | |
470 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
471 | Weld.Part1 = lleg1 | |
472 | Weld.C1 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
473 | ||
474 | lleg2 = Instance.new("Part", char) | |
475 | lleg2.BrickColor = BrickColor.new("Crimson") | |
476 | lleg2.Size = Vector3.new(1, 0.4, 1) | |
477 | lleg2.CanCollide = false | |
478 | lleg2.BottomSurface = "Smooth" | |
479 | lleg2.TopSurface = "Smooth" | |
480 | Weld = Instance.new("Weld",lleg) | |
481 | Weld.Part0 = lleg | |
482 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
483 | Weld.Part1 = lleg2 | |
484 | Weld.C1 = CFrame.new(0.898587704, 4.77446556, 2.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
485 | ||
486 | lleg3 = Instance.new("Part", char) | |
487 | lleg3.BrickColor = BrickColor.new("Crimson") | |
488 | lleg3.Size = Vector3.new(0.5, 0.3, 2) | |
489 | lleg3.CanCollide = false | |
490 | lleg3.BottomSurface = "Smooth" | |
491 | lleg3.TopSurface = "Smooth" | |
492 | Weld = Instance.new("Weld",lleg) | |
493 | Weld.Part0 = lleg | |
494 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
495 | Weld.Part1 = lleg3 | |
496 | Weld.C1 = CFrame.new(4.69929504, -1.49470997, 3.25491428, 0.183012843, 0.683012605, 0.707106829, -0.965925813, 0.258819133, 1.06770166e-007, -0.183012709, -0.683012724, 0.707106769) | |
497 | ||
498 | lleg4 = Instance.new("Part", char) | |
499 | lleg4.BrickColor = BrickColor.new("Crimson") | |
500 | lleg4.Size = Vector3.new(1, 0.4, 1) | |
501 | lleg4.CanCollide = false | |
502 | lleg4.BottomSurface = "Smooth" | |
503 | lleg4.TopSurface = "Smooth" | |
504 | Weld = Instance.new("Weld",lleg) | |
505 | Weld.Part0 = lleg | |
506 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
507 | Weld.Part1 = lleg4 | |
508 | Weld.C1 = CFrame.new(0.899408102, 1.9581213, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
509 | ||
510 | lleg5 = Instance.new("Part", char) | |
511 | lleg5.BrickColor = BrickColor.new("Crimson") | |
512 | lleg5.Size = Vector3.new(1, 0.4, 1) | |
513 | lleg5.CanCollide = false | |
514 | lleg5.BottomSurface = "Smooth" | |
515 | lleg5.TopSurface = "Smooth" | |
516 | Weld = Instance.new("Weld",lleg) | |
517 | Weld.Part0 = lleg | |
518 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
519 | Weld.Part1 = lleg5 | |
520 | Weld.C1 = CFrame.new(0.899407625, -5.57446861, -2.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
521 | ||
522 | lleg6 = Instance.new("Part", char) | |
523 | lleg6.BrickColor = BrickColor.new("Crimson") | |
524 | lleg6.Size = Vector3.new(1, 0.4, 1) | |
525 | lleg6.CanCollide = false | |
526 | lleg6.BottomSurface = "Smooth" | |
527 | lleg6.TopSurface = "Smooth" | |
528 | Weld = Instance.new("Weld",lleg) | |
529 | Weld.Part0 = lleg | |
530 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
531 | Weld.Part1 = lleg6 | |
532 | Weld.C1 = CFrame.new(1.49948871, -2.31810665, 5.08444977, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
533 | ||
534 | lleg7 = Instance.new("Part", char) | |
535 | lleg7.BrickColor = BrickColor.new("Crimson") | |
536 | lleg7.Size = Vector3.new(1, 0.4, 1) | |
537 | lleg7.CanCollide = false | |
538 | lleg7.BottomSurface = "Smooth" | |
539 | lleg7.TopSurface = "Smooth" | |
540 | Weld = Instance.new("Weld",lleg) | |
541 | Weld.Part0 = lleg | |
542 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
543 | Weld.Part1 = lleg7 | |
544 | Weld.C1 = CFrame.new(1.4994036, -2.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
545 | ----------------------------------------------------------------- Right Leg ----------------------------------------------------------------- | |
546 | rleg1 = Instance.new("Part", char) | |
547 | rleg1.Name = "Middle" | |
548 | rleg1.BrickColor = BrickColor.new("Bright red") | |
549 | rleg1.Size = Vector3.new(1, 2, 1) | |
550 | rleg1.CanCollide = false | |
551 | rleg1.BottomSurface = "Smooth" | |
552 | rleg1.TopSurface = "Smooth" | |
553 | rleg1.Material = "Neon" | |
554 | Weld = Instance.new("Weld",rleg) | |
555 | Weld.Part0 = rleg | |
556 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
557 | Weld.Part1 = rleg1 | |
558 | Weld.C1 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
559 | ||
560 | rleg2 = Instance.new("Part", char) | |
561 | rleg2.BrickColor = BrickColor.new("Crimson") | |
562 | rleg2.Size = Vector3.new(1, 0.4, 1) | |
563 | rleg2.CanCollide = false | |
564 | rleg2.BottomSurface = "Smooth" | |
565 | rleg2.TopSurface = "Smooth" | |
566 | Weld = Instance.new("Weld",rleg) | |
567 | Weld.Part0 = rleg | |
568 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
569 | Weld.Part1 = rleg2 | |
570 | Weld.C1 = CFrame.new(0.905565023, 3.75810814, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
571 | ||
572 | rleg3 = Instance.new("Part", char) | |
573 | rleg3.BrickColor = BrickColor.new("Crimson") | |
574 | rleg3.Size = Vector3.new(1, 0.4, 1) | |
575 | rleg3.CanCollide = false | |
576 | rleg3.BottomSurface = "Smooth" | |
577 | rleg3.TopSurface = "Smooth" | |
578 | Weld = Instance.new("Weld",rleg) | |
579 | Weld.Part0 = rleg | |
580 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
581 | Weld.Part1 = rleg3 | |
582 | Weld.C1 = CFrame.new(1.4545058, -3.34725952, 5.0867691, -0.0153048551, 0.999882877, -5.25215728e-006, -0.999882638, -0.0153048476, 0.000690514687, 0.000690353394, 1.58197654e-005, 0.999999762) | |
583 | ||
584 | rleg4 = Instance.new("Part", char) | |
585 | rleg4.BrickColor = BrickColor.new("Crimson") | |
586 | rleg4.Size = Vector3.new(1, 0.4, 1) | |
587 | rleg4.CanCollide = false | |
588 | rleg4.BottomSurface = "Smooth" | |
589 | rleg4.TopSurface = "Smooth" | |
590 | Weld = Instance.new("Weld",rleg) | |
591 | Weld.Part0 = rleg | |
592 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
593 | Weld.Part1 = rleg4 | |
594 | Weld.C1 = CFrame.new(1.5055685, -3.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
595 | ||
596 | rleg5 = Instance.new("Part", char) | |
597 | rleg5.BrickColor = BrickColor.new("Crimson") | |
598 | rleg5.Size = Vector3.new(1, 0.4, 1) | |
599 | rleg5.CanCollide = false | |
600 | rleg5.BottomSurface = "Smooth" | |
601 | rleg5.TopSurface = "Smooth" | |
602 | Weld = Instance.new("Weld",rleg) | |
603 | Weld.Part0 = rleg | |
604 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
605 | Weld.Part1 = rleg5 | |
606 | Weld.C1 = CFrame.new(0.905564308, -5.57446861, -3.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
607 | ||
608 | rleg6 = Instance.new("Part", char) | |
609 | rleg6.BrickColor = BrickColor.new("Crimson") | |
610 | rleg6.Size = Vector3.new(1, 0.4, 1) | |
611 | rleg6.CanCollide = false | |
612 | rleg6.BottomSurface = "Smooth" | |
613 | rleg6.TopSurface = "Smooth" | |
614 | Weld = Instance.new("Weld",rleg) | |
615 | Weld.Part0 = rleg | |
616 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
617 | Weld.Part1 = rleg6 | |
618 | Weld.C1 = CFrame.new(0.904744625, 4.77446556, 3.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
619 | ||
620 | rleg7 = Instance.new("Part", char) | |
621 | rleg7.BrickColor = BrickColor.new("Crimson") | |
622 | rleg7.Size = Vector3.new(0.5, 0.3, 2) | |
623 | rleg7.CanCollide = false | |
624 | rleg7.BottomSurface = "Smooth" | |
625 | rleg7.TopSurface = "Smooth" | |
626 | Weld = Instance.new("Weld",rleg) | |
627 | Weld.Part0 = rleg | |
628 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
629 | Weld.Part1 = rleg7 | |
630 | Weld.C1 = CFrame.new(-3.66284275, -3.99935341, -4.29136944, 0.183012664, -0.683012724, -0.707106829, -0.965925872, -0.258818954, -3.53088581e-008, -0.183012635, 0.683012784, -0.707106769) | |
631 | ----------------------------------------------------------------- Torso ----------------------------------------------------------------- | |
632 | Chest1 = Instance.new("Part", char) | |
633 | Chest1.Name = "Ball" | |
634 | Chest1.BrickColor = BrickColor.new("Bright red") | |
635 | Chest1.Size = Vector3.new(1, 0.4, 1) | |
636 | Chest1.CanCollide = false | |
637 | Chest1.BottomSurface = "Smooth" | |
638 | Chest1.TopSurface = "Smooth" | |
639 | Chest1.Material = "Neon" | |
640 | Mesh = Instance.new("CylinderMesh", Chest1) | |
641 | Mesh.Scale = Vector3.new(0.9, 0.4, 0.9) | |
642 | Weld = Instance.new("Weld",torso) | |
643 | Weld.Part0 = torso | |
644 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
645 | Weld.Part1 = Chest1 | |
646 | Weld.C1 = CFrame.new(0, 0.700000763, 0.176463604, -1, 0, 0, 0, 0, -1, 0, -1, 0) | |
647 | ||
648 | Chest2 = Instance.new("Part", char) | |
649 | Chest2.BrickColor = BrickColor.new("Really red") | |
650 | Chest2.Name = "Middle" | |
651 | Chest2.Size = Vector3.new(2, 2, 1) | |
652 | Chest2.CanCollide = false | |
653 | Chest2.BottomSurface = "Smooth" | |
654 | Chest2.TopSurface = "Smooth" | |
655 | Chest2.Material = "Neon" | |
656 | Weld = Instance.new("Weld",torso) | |
657 | Weld.Part0 = torso | |
658 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
659 | Weld.Part1 = Chest2 | |
660 | Weld.C1 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
661 | ||
662 | Chest3 = Instance.new("Part", char) | |
663 | Chest3.BrickColor = BrickColor.new("Crimson") | |
664 | Chest3.Size = Vector3.new(1, 0.4, 1) | |
665 | Chest3.CanCollide = false | |
666 | Chest3.BottomSurface = "Smooth" | |
667 | Chest3.TopSurface = "Smooth" | |
668 | Weld = Instance.new("Weld",torso) | |
669 | Weld.Part0 = torso | |
670 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
671 | Weld.Part1 = Chest3 | |
672 | Weld.C1 = CFrame.new(-0.476491928, -0.5, -0.499999046, 5.15558582e-008, 1, -7.54979013e-008, -3.35276091e-008, 7.54979013e-008, 1, 1, -5.15558582e-008, 3.35276091e-008) | |
673 | ||
674 | Chest4 = Instance.new("Part", char) | |
675 | Chest4.BrickColor = BrickColor.new("Crimson") | |
676 | Chest4.Size = Vector3.new(1, 0.4, 1) | |
677 | Chest4.CanCollide = false | |
678 | Chest4.BottomSurface = "Smooth" | |
679 | Chest4.TopSurface = "Smooth" | |
680 | Weld = Instance.new("Weld",torso) | |
681 | Weld.Part0 = torso | |
682 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
683 | Weld.Part1 = Chest4 | |
684 | Weld.C1 = CFrame.new(-0.476491451, -0.5, 0.5, -1.4355066e-022, 1, 4.37113883e-008, 3.28405643e-015, -4.37113883e-008, 1, 1, -2.8710132e-022, 1.64202821e-015) | |
685 | ||
686 | Chest5 = Instance.new("Part", char) | |
687 | Chest5.BrickColor = BrickColor.new("Crimson") | |
688 | Chest5.Size = Vector3.new(1, 0.4, 1) | |
689 | Chest5.CanCollide = false | |
690 | Chest5.BottomSurface = "Smooth" | |
691 | Chest5.TopSurface = "Smooth" | |
692 | Weld = Instance.new("Weld",torso) | |
693 | Weld.Part0 = torso | |
694 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
695 | Weld.Part1 = Chest5 | |
696 | Weld.C1 = CFrame.new(-0.499999046, 0.5, 0.476491451, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
697 | ||
698 | Chest6 = Instance.new("Part", char) | |
699 | Chest6.BrickColor = BrickColor.new("Crimson") | |
700 | Chest6.Size = Vector3.new(1, 0.4, 1) | |
701 | Chest6.CanCollide = false | |
702 | Chest6.BottomSurface = "Smooth" | |
703 | Chest6.TopSurface = "Smooth" | |
704 | Weld = Instance.new("Weld",torso) | |
705 | Weld.Part0 = torso | |
706 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
707 | Weld.Part1 = Chest6 | |
708 | Weld.C1 = CFrame.new(0.5236063, -0.449995041, 0, 0, 1, 8.74227766e-008, 3.28405643e-015, -8.74227766e-008, 1, 1, -1.4355066e-022, 0) | |
709 | ||
710 | Chest7 = Instance.new("Part", char) | |
711 | Chest7.BrickColor = BrickColor.new("Crimson") | |
712 | Chest7.Size = Vector3.new(1, 0.4, 1) | |
713 | Chest7.CanCollide = false | |
714 | Chest7.BottomSurface = "Smooth" | |
715 | Chest7.TopSurface = "Smooth" | |
716 | Weld = Instance.new("Weld",torso) | |
717 | Weld.Part0 = torso | |
718 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
719 | Weld.Part1 = Chest7 | |
720 | Weld.C1 = CFrame.new(0.5, 0.5, 0.476491928, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
721 | ||
722 | Chest8 = Instance.new("Part", char) | |
723 | Chest8.BrickColor = BrickColor.new("Crimson") | |
724 | Chest8.Size = Vector3.new(1, 0.4, 1) | |
725 | Chest8.CanCollide = false | |
726 | Chest8.BottomSurface = "Smooth" | |
727 | Chest8.TopSurface = "Smooth" | |
728 | Weld = Instance.new("Weld",torso) | |
729 | Weld.Part0 = torso | |
730 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
731 | Weld.Part1 = Chest8 | |
732 | Weld.C1 = CFrame.new(0, 0.389970779, -0.473520517, 1, -4.37113954e-008, 4.37113847e-008, -4.37113883e-008, -4.37113883e-008, 1, -4.37113883e-008, -1, -4.37113883e-008) | |
733 | ||
734 | Chest9 = Instance.new("Part", char) | |
735 | Chest9.BrickColor = BrickColor.new("Crimson") | |
736 | Chest9.Size = Vector3.new(0.5, 0.3, 2) | |
737 | Chest9.CanCollide = false | |
738 | Chest9.BottomSurface = "Smooth" | |
739 | Chest9.TopSurface = "Smooth" | |
740 | Weld = Instance.new("Weld",torso) | |
741 | Weld.Part0 = torso | |
742 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
743 | Weld.Part1 = Chest9 | |
744 | Weld.C1 = CFrame.new(-0.458083153, 0.580001831, 0.306574821, -0.866025448, -0.49999997, 4.37113883e-008, -3.78551732e-008, -2.18556924e-008, -1, 0.49999997, -0.866025448, 0) | |
745 | ||
746 | Chest10 = Instance.new("Part", char) | |
747 | Chest10.BrickColor = BrickColor.new("Crimson") | |
748 | Chest10.Size = Vector3.new(1, 0.4, 1) | |
749 | Chest10.CanCollide = false | |
750 | Chest10.BottomSurface = "Smooth" | |
751 | Chest10.TopSurface = "Smooth" | |
752 | Mesh = Instance.new("SpecialMesh", Chest10) | |
753 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
754 | Weld = Instance.new("Weld",torso) | |
755 | Weld.Part0 = torso | |
756 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
757 | Weld.Part1 = Chest10 | |
758 | Weld.C1 = CFrame.new(-1.07653379, 0.899993896, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
759 | ||
760 | Chest11 = Instance.new("Part", char) | |
761 | Chest11.BrickColor = BrickColor.new("Crimson") | |
762 | Chest11.Size = Vector3.new(0.5, 0.3, 2) | |
763 | Chest11.CanCollide = false | |
764 | Chest11.BottomSurface = "Smooth" | |
765 | Chest11.TopSurface = "Smooth" | |
766 | Weld = Instance.new("Weld",torso) | |
767 | Weld.Part0 = torso | |
768 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
769 | Weld.Part1 = Chest11 | |
770 | Weld.C1 = CFrame.new(0.973486662, -0.460004807, -9.53674316e-007, 1.50995803e-007, 1, 7.54979013e-008, -1.85052948e-014, -7.54979013e-008, 1, 1, -1.50995803e-007, 7.10542736e-015) | |
771 | ||
772 | Chest12 = Instance.new("Part", char) | |
773 | Chest12.BrickColor = BrickColor.new("Crimson") | |
774 | Chest12.Size = Vector3.new(0.5, 0.3, 2) | |
775 | Chest12.CanCollide = false | |
776 | Chest12.BottomSurface = "Smooth" | |
777 | Chest12.TopSurface = "Smooth" | |
778 | Weld = Instance.new("Weld",torso) | |
779 | Weld.Part0 = torso | |
780 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
781 | Weld.Part1 = Chest12 | |
782 | Weld.C1 = CFrame.new(-0.973600388, 0.450008392, -7.62939453e-006, -9.32088255e-008, -1, -4.37113883e-008, 5.82035878e-011, -4.37113883e-008, 1, -1, 9.32088255e-008, 5.82076609e-011) | |
783 | ||
784 | Chest13 = Instance.new("Part", char) | |
785 | Chest13.BrickColor = BrickColor.new("Crimson") | |
786 | Chest13.Size = Vector3.new(0.5, 0.3, 2) | |
787 | Chest13.CanCollide = false | |
788 | Chest13.BottomSurface = "Smooth" | |
789 | Chest13.TopSurface = "Smooth" | |
790 | Weld = Instance.new("Weld",torso) | |
791 | Weld.Part0 = torso | |
792 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
793 | Weld.Part1 = Chest13 | |
794 | Weld.C1 = CFrame.new(-0.729999542, -0.117254257, -1.91926646, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
795 | ||
796 | Chest14 = Instance.new("Part", char) | |
797 | Chest14.BrickColor = BrickColor.new("Crimson") | |
798 | Chest14.Size = Vector3.new(0.5, 0.3, 2) | |
799 | Chest14.CanCollide = false | |
800 | Chest14.BottomSurface = "Smooth" | |
801 | Chest14.TopSurface = "Smooth" | |
802 | Weld = Instance.new("Weld",torso) | |
803 | Weld.Part0 = torso | |
804 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
805 | Weld.Part1 = Chest14 | |
806 | Weld.C1 = CFrame.new(0.769999504, -0.150730133, -1.91693306, -1, -3.31366472e-008, -4.24129745e-008, 3.31366472e-008, 0.241921902, -0.970295727, 4.24129745e-008, -0.970295727, -0.241921902) | |
807 | ||
808 | Chest15 = Instance.new("Part", char) | |
809 | Chest15.BrickColor = BrickColor.new("Crimson") | |
810 | Chest15.Size = Vector3.new(0.5, 0.3, 2) | |
811 | Chest15.CanCollide = false | |
812 | Chest15.BottomSurface = "Smooth" | |
813 | Chest15.TopSurface = "Smooth" | |
814 | Weld = Instance.new("Weld",torso) | |
815 | Weld.Part0 = torso | |
816 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
817 | Weld.Part1 = Chest15 | |
818 | Weld.C1 = CFrame.new(-0.209440231, 1.25000095, 1.42984772, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
819 | ||
820 | Chest16 = Instance.new("Part", char) | |
821 | Chest16.BrickColor = BrickColor.new("Crimson") | |
822 | Chest16.Size = Vector3.new(0.5, 0.3, 2) | |
823 | Chest16.CanCollide = false | |
824 | Chest16.BottomSurface = "Smooth" | |
825 | Chest16.TopSurface = "Smooth" | |
826 | Weld = Instance.new("Weld",torso) | |
827 | Weld.Part0 = torso | |
828 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
829 | Weld.Part1 = Chest16 | |
830 | Weld.C1 = CFrame.new(-0.158526421, 1.25000095, 1.0131588, -7.35374925e-008, 0.927183867, 0.374606639, -1, -7.43167945e-008, -1.23653887e-008, 1.63745764e-008, -0.374606639, 0.927183867) | |
831 | ||
832 | Chest17 = Instance.new("Part", char) | |
833 | Chest17.BrickColor = BrickColor.new("Crimson") | |
834 | Chest17.Size = Vector3.new(0.5, 0.3, 2) | |
835 | Chest17.CanCollide = false | |
836 | Chest17.BottomSurface = "Smooth" | |
837 | Chest17.TopSurface = "Smooth" | |
838 | Weld = Instance.new("Weld",torso) | |
839 | Weld.Part0 = torso | |
840 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
841 | Weld.Part1 = Chest17 | |
842 | Weld.C1 = CFrame.new(-0.229999542, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
843 | ||
844 | Chest18 = Instance.new("Part", char) | |
845 | Chest18.BrickColor = BrickColor.new("Crimson") | |
846 | Chest18.Size = Vector3.new(0.5, 0.3, 2) | |
847 | Chest18.CanCollide = false | |
848 | Chest18.BottomSurface = "Smooth" | |
849 | Chest18.TopSurface = "Smooth" | |
850 | Weld = Instance.new("Weld",torso) | |
851 | Weld.Part0 = torso | |
852 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
853 | Weld.Part1 = Chest18 | |
854 | Weld.C1 = CFrame.new(0.269999504, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
855 | ||
856 | Chest19 = Instance.new("Part", char) | |
857 | Chest19.BrickColor = BrickColor.new("Crimson") | |
858 | Chest19.Size = Vector3.new(0.5, 0.3, 2) | |
859 | Chest19.CanCollide = false | |
860 | Chest19.BottomSurface = "Smooth" | |
861 | Chest19.TopSurface = "Smooth" | |
862 | Weld = Instance.new("Weld",torso) | |
863 | Weld.Part0 = torso | |
864 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
865 | Weld.Part1 = Chest19 | |
866 | Weld.C1 = CFrame.new(-0.00685310364, 1.25, 1.45221233, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
867 | ||
868 | Chest20 = Instance.new("Part", char) | |
869 | Chest20.BrickColor = BrickColor.new("Crimson") | |
870 | Chest20.Size = Vector3.new(1, 0.4, 1) | |
871 | Chest20.CanCollide = false | |
872 | Chest20.BottomSurface = "Smooth" | |
873 | Chest20.TopSurface = "Smooth" | |
874 | Mesh = Instance.new("SpecialMesh",Chest20) | |
875 | Mesh.Scale = Vector3.new(1.1,1.1,1.1) | |
876 | Weld = Instance.new("Weld",torso) | |
877 | Weld.Part0 = torso | |
878 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
879 | Weld.Part1 = Chest20 | |
880 | Weld.C1 = CFrame.new(-1.07653379, -0.899992943, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
881 | ||
882 | Chest21 = Instance.new("Part", char) | |
883 | Chest21.BrickColor = BrickColor.new("Crimson") | |
884 | Chest21.Size = Vector3.new(0.5, 0.3, 2) | |
885 | Chest21.CanCollide = false | |
886 | Chest21.BottomSurface = "Smooth" | |
887 | Chest21.TopSurface = "Smooth" | |
888 | Weld = Instance.new("Weld",torso) | |
889 | Weld.Part0 = torso | |
890 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
891 | Weld.Part1 = Chest21 | |
892 | Weld.C1 = CFrame.new(-0.209432602, -1.14999962, 1.429842, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
893 | ||
894 | Chest22 = Instance.new("Part", char) | |
895 | Chest22.BrickColor = BrickColor.new("Crimson") | |
896 | Chest22.Size = Vector3.new(0.5, 0.3, 2) | |
897 | Chest22.CanCollide = false | |
898 | Chest22.BottomSurface = "Smooth" | |
899 | Chest22.TopSurface = "Smooth" | |
900 | Weld = Instance.new("Weld",torso) | |
901 | Weld.Part0 = torso | |
902 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
903 | Weld.Part1 = Chest22 | |
904 | Weld.C1 = CFrame.new(-0.00685119629, -1.15000057, 1.45220757, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
905 | ||
906 | Chest23 = Instance.new("Part", char) | |
907 | Chest23.BrickColor = BrickColor.new("Crimson") | |
908 | Chest23.Size = Vector3.new(0.5, 0.3, 2) | |
909 | Chest23.CanCollide = false | |
910 | Chest23.BottomSurface = "Smooth" | |
911 | Chest23.TopSurface = "Smooth" | |
912 | Weld = Instance.new("Weld",torso) | |
913 | Weld.Part0 = torso | |
914 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
915 | Weld.Part1 = Chest23 | |
916 | Weld.C1 = CFrame.new(-0.158511639, -1.15000057, 1.01315498, -7.35374925e-008, 0.927183926, 0.374606401, -1, -7.43168016e-008, -1.23653807e-008, 1.63745657e-008, -0.374606401, 0.927183926) | |
917 | ||
918 | Chest24 = Instance.new("Part", char) | |
919 | Chest24.BrickColor = BrickColor.new("Crimson") | |
920 | Chest24.Size = Vector3.new(0.5, 0.3, 2) | |
921 | Chest24.CanCollide = false | |
922 | Chest24.BottomSurface = "Smooth" | |
923 | Chest24.TopSurface = "Smooth" | |
924 | Weld = Instance.new("Weld",torso) | |
925 | Weld.Part0 = torso | |
926 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
927 | Weld.Part1 = Chest24 | |
928 | Weld.C1 = CFrame.new(-0.458065987, -0.579999924, 0.306604624, 0.866025388, -0.50000006, 4.37113883e-008, 4.53686155e-008, 1.66003517e-007, 1, -0.50000006, -0.866025388, 1.66447563e-007) | |
929 | local p = game.Players.LocalPlayer | |
930 | local char = p.Character | |
931 | local size = 7 | |
932 | part = function() | |
933 | ||
934 | local a = Instance.new("Part", script) | |
935 | a.Anchored = true | |
936 | a.CanCollide = true | |
937 | a.CFrame = char.Torso.CFrame | |
938 | a.Size = Vector3.new(size, 0.2, 0.2) | |
939 | a.Transparency = 1 | |
940 | return a | |
941 | end | |
942 | ||
943 | part2 = function() | |
944 | ||
945 | local a = Instance.new("Part", script) | |
946 | a.Anchored = true | |
947 | a.CanCollide = true | |
948 | a.CFrame = char.Torso.CFrame | |
949 | a.Size = Vector3.new(0.2, size, 0.2) | |
950 | a.Transparency = 1 | |
951 | return a | |
952 | end | |
953 | ||
954 | part3 = function() | |
955 | ||
956 | local a = Instance.new("Part", script) | |
957 | a.Anchored = true | |
958 | a.CanCollide = false | |
959 | a.Size = Vector3.new(size, size, 1) | |
960 | a.Transparency = 0.7 | |
961 | a.Material = "Neon" | |
962 | a.BrickColor = BrickColor.new("Really red") | |
963 | local b = Instance.new("BlockMesh", a) | |
964 | b.Scale = Vector3.new(1, 1, 0) | |
965 | return a | |
966 | end | |
967 | ||
968 | local replicating = false | |
969 | local root, a, b, c, d, a2, b2, c2, d2, aa, bb, cc, dd, z, x, c, v, b, n = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil | |
970 | replicate = function() | |
971 | ||
972 | replicating = true | |
973 | script:ClearAllChildren() | |
974 | root = part() | |
975 | root.Transparency = 1 | |
976 | root.Size = Vector3.new(0.2, 0.2, 0.2) | |
977 | root.CanCollide = false | |
978 | a = part() | |
979 | b = part() | |
980 | c = part() | |
981 | d = part() | |
982 | a2 = part() | |
983 | b2 = part() | |
984 | c2 = part() | |
985 | d2 = part() | |
986 | aa = part2() | |
987 | bb = part2() | |
988 | cc = part2() | |
989 | dd = part2() | |
990 | z = part3() | |
991 | x = part3() | |
992 | c = part3() | |
993 | v = part3() | |
994 | b = part3() | |
995 | n = part3() | |
996 | replicating = false | |
997 | end | |
998 | ||
999 | script.ChildRemoved:connect(function(a) | |
1000 | ||
1001 | if a.ClassName == "Part" and replicating == false then | |
1002 | replicate() | |
1003 | end | |
1004 | end | |
1005 | ) | |
1006 | replicate() | |
1007 | local tick = 0 | |
1008 | CreateRegion3FromLocAndSize = function(Position, Size) | |
1009 | ||
1010 | local SizeOffset = Size / 2 | |
1011 | local Point1 = Position - SizeOffset | |
1012 | local Point2 = Position + SizeOffset | |
1013 | return Region3.new(Point1, Point2) | |
1014 | end | |
1015 | ||
1016 | local set = false | |
1017 | local whitelist = {"Hieroku", "PPATTA", "DevGamerzz", "I kill U", "kash5", "ZeroCrimson", "Zaidia", "tsup2", "PointCoded", "CLarramore", "Suzuuki", "Likebossfromdk", "", ""} | |
1018 | p.Chatted:connect(function(ms) | |
1019 | ||
1020 | if ms:sub(1, 5) == "size-" then | |
1021 | size = tonumber(ms:sub(5)) | |
1022 | replicate() | |
1023 | else | |
1024 | if ms:sub(1, 4) == "set-" then | |
1025 | set = true | |
1026 | z.CanCollide = false | |
1027 | x.CanCollide = false | |
1028 | c.CanCollide = false | |
1029 | v.CanCollide = false | |
1030 | b.CanCollide = false | |
1031 | n.CanCollide = false | |
1032 | else | |
1033 | if ms:sub(1, 6) == "unset-" then | |
1034 | set = false | |
1035 | z.CanCollide = false | |
1036 | x.CanCollide = false | |
1037 | c.CanCollide = false | |
1038 | v.CanCollide = false | |
1039 | b.CanCollide = false | |
1040 | n.CanCollide = false | |
1041 | else | |
1042 | if ms:sub(1, 10) == "whitelist-" then | |
1043 | table.insert(whitelist, ms:sub(11)) | |
1044 | else | |
1045 | if ms:sub(1, 12) == "unwhitelist-" then | |
1046 | for i,v in pairs(whitelist) do | |
1047 | if ms:sub(13) == v then | |
1048 | table.remove(whitelist, i) | |
1049 | break | |
1050 | end | |
1051 | end | |
1052 | end | |
1053 | end | |
1054 | end | |
1055 | end | |
1056 | end | |
1057 | end | |
1058 | ) | |
1059 | local magicpos = nil | |
1060 | game:GetService("RunService").Heartbeat:connect(function() | |
1061 | ||
1062 | pcall(function() | |
1063 | ||
1064 | local void = char:GetChildren() | |
1065 | for _,pl in pairs(whitelist) do | |
1066 | if game.Players:FindFirstChild(pl) ~= nil and game.Players:FindFirstChild(pl).Character ~= nil then | |
1067 | for i,v in pairs(game.Players[pl].Character:GetChildren()) do | |
1068 | table.insert(void, v) | |
1069 | end | |
1070 | end | |
1071 | end | |
1072 | for i,v in pairs(game.Players:GetPlayers()) do | |
1073 | if v.Character:isDescendantOf(char) and not v.Name == "FangxWulf" then | |
1074 | v:LoadCharacter() | |
1075 | end | |
1076 | end | |
1077 | char.Humanoid.Health = math.huge | |
1078 | tick = tick + 0.01 | |
1079 | if not set then | |
1080 | root.CFrame = root.CFrame:lerp(CFrame.new(char.Torso.CFrame.p) * CFrame.Angles(math.sin(tick) * 100 / 30 / (size / 2), math.cos(tick) * 100 / 30 / (size / 2), math.cos(tick) * 100 / 30 / (size / 2)), 0.1) | |
1081 | magicpos = char.Torso.CFrame | |
1082 | else | |
1083 | root.CFrame = root.CFrame:lerp(CFrame.new(magicpos.p) * CFrame.Angles(0, 0, 0), 0.05) | |
1084 | end | |
1085 | local reg = CreateRegion3FromLocAndSize(root.CFrame.p, Vector3.new(size, size, size)) | |
1086 | for i,v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, void, 100)) do | |
1087 | if v.Name ~= "Base" then | |
1088 | v:Destroy() | |
1089 | end | |
1090 | end | |
1091 | a.CFrame = root.CFrame * CFrame.new(size / 2, size / 2, 0) * CFrame.Angles(0, math.rad(90), 0) | |
1092 | b.CFrame = root.CFrame * CFrame.new(-size / 2, size / 2, 0) * CFrame.Angles(0, math.rad(90), 0) | |
1093 | c.CFrame = root.CFrame * CFrame.new(0, size / 2, size / 2) | |
1094 | d.CFrame = root.CFrame * CFrame.new(0, size / 2, -size / 2) | |
1095 | a2.CFrame = root.CFrame * CFrame.new(size / 2, -size / 2, 0) * CFrame.Angles(0, math.rad(90), 0) | |
1096 | b2.CFrame = root.CFrame * CFrame.new(-size / 2, -size / 2, 0) * CFrame.Angles(0, math.rad(90), 0) | |
1097 | c2.CFrame = root.CFrame * CFrame.new(0, -size / 2, size / 2) | |
1098 | d2.CFrame = root.CFrame * CFrame.new(0, -size / 2, -size / 2) | |
1099 | aa.CFrame = root.CFrame * CFrame.new(size / 2, 0, size / 2) | |
1100 | bb.CFrame = root.CFrame * CFrame.new(-size / 2, 0, size / 2) | |
1101 | cc.CFrame = root.CFrame * CFrame.new(-size / 2, 0, -size / 2) | |
1102 | dd.CFrame = root.CFrame * CFrame.new(size / 2, 0, -size / 2) | |
1103 | z.CFrame = root.CFrame * CFrame.new(size / 2, 0, 0) * CFrame.Angles(0, math.rad(90), 0) | |
1104 | x.CFrame = root.CFrame * CFrame.new(-size / 2, 0, 0) * CFrame.Angles(0, math.rad(90), 0) | |
1105 | c.CFrame = root.CFrame * CFrame.new(0, 0, size / 2) * CFrame.Angles(0, 0, math.rad(90)) | |
1106 | v.CFrame = root.CFrame * CFrame.new(0, 0, -size / 2) * CFrame.Angles(0, 0, math.rad(90)) | |
1107 | b.CFrame = root.CFrame * CFrame.new(0, size / 2, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
1108 | n.CFrame = root.CFrame * CFrame.new(0, -size / 2, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
1109 | end | |
1110 | ) | |
1111 | end | |
1112 | ) | |
1113 | game.Workspace.Likebossfromdk.Humanoid.MaxHealth = math.huge | |
1114 | Player=game:GetService("Players").LocalPlayer | |
1115 | Character=Player.Character | |
1116 | PlayerGui=Player.PlayerGui | |
1117 | Backpack=Player.Backpack | |
1118 | Torso=Character.Torso | |
1119 | Head=Character.Head | |
1120 | Humanoid=Character.Humanoid | |
1121 | m=Instance.new('Model',Character) | |
1122 | LeftArm=Character["Left Arm"] | |
1123 | LeftLeg=Character["Left Leg"] | |
1124 | RightArm=Character["Right Arm"] | |
1125 | RightLeg=Character["Right Leg"] | |
1126 | LS=Torso["Left Shoulder"] | |
1127 | LH=Torso["Left Hip"] | |
1128 | RS=Torso["Right Shoulder"] | |
1129 | RH=Torso["Right Hip"] | |
1130 | Face = Head.face | |
1131 | Neck=Torso.Neck | |
1132 | it=Instance.new | |
1133 | attacktype=1 | |
1134 | vt=Vector3.new | |
1135 | cf=CFrame.new | |
1136 | euler=CFrame.fromEulerAnglesXYZ | |
1137 | angles=CFrame.Angles | |
1138 | cloaked=false | |
1139 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1140 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1141 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
1142 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
1143 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
1144 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
1145 | RootPart=Character.HumanoidRootPart | |
1146 | RootJoint=RootPart.RootJoint | |
1147 | RootCF=euler(-1.57,0,3.14) | |
1148 | attack = false | |
1149 | attackdebounce = false | |
1150 | deb=false | |
1151 | equipped=true | |
1152 | hand=false | |
1153 | MMouse=nil | |
1154 | combo=0 | |
1155 | mana=0 | |
1156 | trispeed=.2 | |
1157 | attackmode='none' | |
1158 | local idle=0 | |
1159 | local Anim="Idle" | |
1160 | local Effects={} | |
1161 | local gun=false | |
1162 | local shoot=false | |
1163 | player=nil | |
1164 | mana=0 | |
1165 | local CurrentMode = "Unsheathed" | |
1166 | ||
1167 | mouse=Player:GetMouse() | |
1168 | --save shoulders | |
1169 | RSH, LSH=nil, nil | |
1170 | --welds | |
1171 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
1172 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
1173 | LH=Torso["Left Hip"] | |
1174 | RH=Torso["Right Hip"] | |
1175 | TorsoColor=Torso.BrickColor | |
1176 | function NoOutline(Part) | |
1177 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
1178 | end | |
1179 | player=Player | |
1180 | ch=Character | |
1181 | RSH=ch.Torso["Right Shoulder"] | |
1182 | LSH=ch.Torso["Left Shoulder"] | |
1183 | -- | |
1184 | RSH.Parent=nil | |
1185 | LSH.Parent=nil | |
1186 | -- | |
1187 | RW.Name="Right Shoulder" | |
1188 | RW.Part0=ch.Torso | |
1189 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
1190 | RW.C1=cf(0, 0.5, 0) | |
1191 | RW.Part1=ch["Right Arm"] | |
1192 | RW.Parent=ch.Torso | |
1193 | -- | |
1194 | LW.Name="Left Shoulder" | |
1195 | LW.Part0=ch.Torso | |
1196 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
1197 | LW.C1=cf(0, 0.5, 0) | |
1198 | LW.Part1=ch["Left Arm"] | |
1199 | LW.Parent=ch.Torso | |
1200 | ||
1201 | local function weldBetween(a, b) | |
1202 | local weldd = Instance.new("ManualWeld") | |
1203 | weldd.Part0 = a | |
1204 | weldd.Part1 = b | |
1205 | weldd.C0 = CFrame.new() | |
1206 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
1207 | weldd.Parent = a | |
1208 | return weldd | |
1209 | end | |
1210 | ||
1211 | function nooutline(part) | |
1212 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
1213 | end | |
1214 | ||
1215 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
1216 | local fp=it("Part") | |
1217 | fp.formFactor=formfactor | |
1218 | fp.Parent=parent | |
1219 | fp.Reflectance=reflectance | |
1220 | fp.Transparency=transparency | |
1221 | fp.CanCollide=false | |
1222 | fp.Locked=true | |
1223 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
1224 | fp.Name=name | |
1225 | fp.Size=size | |
1226 | fp.Position=Character.Torso.Position | |
1227 | nooutline(fp) | |
1228 | fp.Material=material | |
1229 | fp:BreakJoints() | |
1230 | return fp | |
1231 | end | |
1232 | ||
1233 | function swait(num) | |
1234 | if num==0 or num==nil then | |
1235 | game:service'RunService'.Heartbeat:wait(0) | |
1236 | else | |
1237 | for i=0,num do | |
1238 | game:service'RunService'.Heartbeat:wait(0) | |
1239 | end | |
1240 | end | |
1241 | end | |
1242 | ||
1243 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1244 | local mesh=it(Mesh) | |
1245 | mesh.Parent=part | |
1246 | if Mesh=="SpecialMesh" then | |
1247 | mesh.MeshType=meshtype | |
1248 | mesh.MeshId=meshid | |
1249 | end | |
1250 | mesh.Offset=offset | |
1251 | mesh.Scale=scale | |
1252 | return mesh | |
1253 | end | |
1254 | ||
1255 | function weld(parent,part0,part1,c0,c1) | |
1256 | local weld=it("Weld") | |
1257 | weld.Parent=parent | |
1258 | weld.Part0=part0 | |
1259 | weld.Part1=part1 | |
1260 | weld.C0=c0 | |
1261 | weld.C1=c1 | |
1262 | return weld | |
1263 | end | |
1264 | ||
1265 | ||
1266 | local function CFrameFromTopBack(at, top, back) | |
1267 | local right = top:Cross(back) | |
1268 | return CFrame.new(at.x, at.y, at.z, | |
1269 | right.x, top.x, back.x, | |
1270 | right.y, top.y, back.y, | |
1271 | right.z, top.z, back.z) | |
1272 | end | |
1273 | ||
1274 | function Triangle(a, b, c) | |
1275 | local edg1 = (c-a):Dot((b-a).unit) | |
1276 | local edg2 = (a-b):Dot((c-b).unit) | |
1277 | local edg3 = (b-c):Dot((a-c).unit) | |
1278 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
1279 | a, b, c = a, b, c | |
1280 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
1281 | a, b, c = b, c, a | |
1282 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
1283 | a, b, c = c, a, b | |
1284 | else | |
1285 | assert(false, "unreachable") | |
1286 | end | |
1287 | ||
1288 | local len1 = (c-a):Dot((b-a).unit) | |
1289 | local len2 = (b-a).magnitude - len1 | |
1290 | local width = (a + (b-a).unit*len1 - c).magnitude | |
1291 | ||
1292 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
1293 | ||
1294 | local list = {} | |
1295 | ||
1296 | if len1 > 0.01 then | |
1297 | local w1 = Instance.new('WedgePart', m) | |
1298 | game:GetService("Debris"):AddItem(w1,5) | |
1299 | w1.Material = "SmoothPlastic" | |
1300 | w1.FormFactor = 'Custom' | |
1301 | w1.BrickColor = BrickColor.new("Really red") | |
1302 | w1.Transparency = 0 | |
1303 | w1.Reflectance = 0 | |
1304 | w1.Material = "Neon" | |
1305 | w1.CanCollide = false | |
1306 | NoOutline(w1) | |
1307 | local sz = Vector3.new(0.2, width, len1) | |
1308 | w1.Size = sz | |
1309 | local sp = Instance.new("SpecialMesh",w1) | |
1310 | sp.MeshType = "Wedge" | |
1311 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
1312 | w1:BreakJoints() | |
1313 | w1.Anchored = true | |
1314 | w1.Parent = workspace | |
1315 | w1.Transparency = 0.3 | |
1316 | table.insert(Effects,{w1,"Disappear",.03}) | |
1317 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
1318 | table.insert(list,w1) | |
1319 | end | |
1320 | if len2 > 0.01 then | |
1321 | local w2 = Instance.new('WedgePart', m) | |
1322 | game:GetService("Debris"):AddItem(w2,5) | |
1323 | w2.Material = "SmoothPlastic" | |
1324 | w2.FormFactor = 'Custom' | |
1325 | w2.BrickColor = BrickColor.new("Really red") | |
1326 | w2.Transparency = 0 | |
1327 | w2.Reflectance = 0 | |
1328 | w2.Material = "Neon" | |
1329 | w2.CanCollide = false | |
1330 | NoOutline(w2) | |
1331 | local sz = Vector3.new(0.2, width, len2) | |
1332 | w2.Size = sz | |
1333 | local sp = Instance.new("SpecialMesh",w2) | |
1334 | sp.MeshType = "Wedge" | |
1335 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
1336 | w2:BreakJoints() | |
1337 | w2.Anchored = true | |
1338 | w2.Parent = workspace | |
1339 | w2.Transparency = 0.3 | |
1340 | table.insert(Effects,{w2,"Disappear",.03}) | |
1341 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
1342 | table.insert(list,w2) | |
1343 | end | |
1344 | return unpack(list) | |
1345 | end | |
1346 | ||
1347 | ||
1348 | so = function(id,par,vol,pit) | |
1349 | coroutine.resume(coroutine.create(function() | |
1350 | local sou = Instance.new("Sound",par or workspace) | |
1351 | sou.Volume=vol | |
1352 | sou.Pitch=pit or 1 | |
1353 | sou.SoundId=id | |
1354 | swait() | |
1355 | sou:play() | |
1356 | game:GetService("Debris"):AddItem(sou,6) | |
1357 | end)) | |
1358 | end | |
1359 | ||
1360 | function clerp(a,b,t) | |
1361 | local qa = {QuaternionFromCFrame(a)} | |
1362 | local qb = {QuaternionFromCFrame(b)} | |
1363 | local ax, ay, az = a.x, a.y, a.z | |
1364 | local bx, by, bz = b.x, b.y, b.z | |
1365 | local _t = 1-t | |
1366 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
1367 | end | |
1368 | ||
1369 | function QuaternionFromCFrame(cf) | |
1370 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
1371 | local trace = m00 + m11 + m22 | |
1372 | if trace > 0 then | |
1373 | local s = math.sqrt(1 + trace) | |
1374 | local recip = 0.5/s | |
1375 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
1376 | else | |
1377 | local i = 0 | |
1378 | if m11 > m00 then | |
1379 | i = 1 | |
1380 | end | |
1381 | if m22 > (i == 0 and m00 or m11) then | |
1382 | i = 2 | |
1383 | end | |
1384 | if i == 0 then | |
1385 | local s = math.sqrt(m00-m11-m22+1) | |
1386 | local recip = 0.5/s | |
1387 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
1388 | elseif i == 1 then | |
1389 | local s = math.sqrt(m11-m22-m00+1) | |
1390 | local recip = 0.5/s | |
1391 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
1392 | elseif i == 2 then | |
1393 | local s = math.sqrt(m22-m00-m11+1) | |
1394 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
1395 | end | |
1396 | end | |
1397 | end | |
1398 | ||
1399 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
1400 | local xs, ys, zs = x + x, y + y, z + z | |
1401 | local wx, wy, wz = w*xs, w*ys, w*zs | |
1402 | local xx = x*xs | |
1403 | local xy = x*ys | |
1404 | local xz = x*zs | |
1405 | local yy = y*ys | |
1406 | local yz = y*zs | |
1407 | local zz = z*zs | |
1408 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
1409 | end | |
1410 | ||
1411 | function QuaternionSlerp(a, b, t) | |
1412 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
1413 | local startInterp, finishInterp; | |
1414 | if cosTheta >= 0.0001 then | |
1415 | if (1 - cosTheta) > 0.0001 then | |
1416 | local theta = math.acos(cosTheta) | |
1417 | local invSinTheta = 1/math.sin(theta) | |
1418 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
1419 | finishInterp = math.sin(t*theta)*invSinTheta | |
1420 | else | |
1421 | startInterp = 1-t | |
1422 | finishInterp = t | |
1423 | end | |
1424 | else | |
1425 | if (1+cosTheta) > 0.0001 then | |
1426 | local theta = math.acos(-cosTheta) | |
1427 | local invSinTheta = 1/math.sin(theta) | |
1428 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
1429 | finishInterp = math.sin(t*theta)*invSinTheta | |
1430 | else | |
1431 | startInterp = t-1 | |
1432 | finishInterp = t | |
1433 | end | |
1434 | end | |
1435 | 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 | |
1436 | end | |
1437 | ||
1438 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1439 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1440 | end | |
1441 | ||
1442 | Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
1443 | if hit.Parent==nil then | |
1444 | return | |
1445 | end | |
1446 | local h=hit.Parent:FindFirstChild("Humanoid") | |
1447 | for _,v in pairs(hit.Parent:children()) do | |
1448 | if v:IsA("Humanoid") then | |
1449 | h=v | |
1450 | end | |
1451 | end | |
1452 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
1453 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
1454 | end | |
1455 | if hit.Parent.className=="Hat" then | |
1456 | hit=hit.Parent.Parent:findFirstChild("Head") | |
1457 | end | |
1458 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
1459 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
1460 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
1461 | return | |
1462 | end]] | |
1463 | -- hs(hit,1.2) | |
1464 | local c=Instance.new("ObjectValue") | |
1465 | c.Name="creator" | |
1466 | c.Value=game:service("Players").LocalPlayer | |
1467 | c.Parent=h | |
1468 | game:GetService("Debris"):AddItem(c,.5) | |
1469 | local Damage=math.random(minim,maxim) | |
1470 | -- h:TakeDamage(Damage) | |
1471 | local blocked=false | |
1472 | local block=hit.Parent:findFirstChild("Block") | |
1473 | if block~=nil then | |
1474 | print(block.className) | |
1475 | if block.className=="NumberValue" then | |
1476 | if block.Value>0 then | |
1477 | blocked=true | |
1478 | if decreaseblock==nil then | |
1479 | block.Value=block.Value-1 | |
1480 | end | |
1481 | end | |
1482 | end | |
1483 | if block.className=="IntValue" then | |
1484 | if block.Value>0 then | |
1485 | blocked=true | |
1486 | if decreaseblock~=nil then | |
1487 | block.Value=block.Value-1 | |
1488 | end | |
1489 | end | |
1490 | end | |
1491 | end | |
1492 | if blocked==false then | |
1493 | -- h:TakeDamage(Damage) | |
1494 | h.Health=h.Health-Damage | |
1495 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color) | |
1496 | else | |
1497 | h.Health=h.Health-(Damage/2) | |
1498 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color) | |
1499 | end | |
1500 | if Type=="Knockdown" then | |
1501 | local hum=hit.Parent.Humanoid | |
1502 | hum.PlatformStand=true | |
1503 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1504 | swait(1) | |
1505 | HHumanoid.PlatformStand=false | |
1506 | end),hum) | |
1507 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
1508 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
1509 | local bodvol=Instance.new("BodyVelocity") | |
1510 | bodvol.velocity=angle*knockback | |
1511 | bodvol.P=5000 | |
1512 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
1513 | bodvol.Parent=hit | |
1514 | local rl=Instance.new("BodyAngularVelocity") | |
1515 | rl.P=3000 | |
1516 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
1517 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
1518 | rl.Parent=hit | |
1519 | game:GetService("Debris"):AddItem(bodvol,.5) | |
1520 | game:GetService("Debris"):AddItem(rl,.5) | |
1521 | elseif Type=="Normal" then | |
1522 | local vp=Instance.new("BodyVelocity") | |
1523 | vp.P=500 | |
1524 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
1525 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
1526 | if KnockbackType==1 then | |
1527 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
1528 | elseif KnockbackType==2 then | |
1529 | vp.velocity=Property.CFrame.lookVector*knockback | |
1530 | end | |
1531 | if knockback>0 then | |
1532 | vp.Parent=hit.Parent.Torso | |
1533 | end | |
1534 | game:GetService("Debris"):AddItem(vp,.5) | |
1535 | elseif Type=="Up" then | |
1536 | local bodyVelocity=Instance.new("BodyVelocity") | |
1537 | bodyVelocity.velocity=vt(0,60,0) | |
1538 | bodyVelocity.P=5000 | |
1539 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
1540 | bodyVelocity.Parent=hit | |
1541 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
1542 | local rl=Instance.new("BodyAngularVelocity") | |
1543 | rl.P=3000 | |
1544 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
1545 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
1546 | rl.Parent=hit | |
1547 | game:GetService("Debris"):AddItem(rl,.5) | |
1548 | elseif Type=="Snare" then | |
1549 | local bp=Instance.new("BodyPosition") | |
1550 | bp.P=2000 | |
1551 | bp.D=100 | |
1552 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1553 | bp.position=hit.Parent.Torso.Position | |
1554 | bp.Parent=hit.Parent.Torso | |
1555 | game:GetService("Debris"):AddItem(bp,1) | |
1556 | elseif Type=="Target" then | |
1557 | local Targetting = false | |
1558 | if Targetting==false then | |
1559 | ZTarget=hit.Parent.Torso | |
1560 | coroutine.resume(coroutine.create(function(Part) | |
1561 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
1562 | swait(5) | |
1563 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
1564 | end),ZTarget) | |
1565 | local TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
1566 | local targetgui=Instance.new("BillboardGui") | |
1567 | targetgui.Parent=ZTarget | |
1568 | targetgui.Size=UDim2.new(10,100,10,100) | |
1569 | local targ=Instance.new("ImageLabel") | |
1570 | targ.Parent=targetgui | |
1571 | targ.BackgroundTransparency=1 | |
1572 | targ.Image="rbxassetid://4834067" | |
1573 | targ.Size=UDim2.new(1,0,1,0) | |
1574 | cam.CameraType="Scriptable" | |
1575 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1576 | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1577 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1578 | Targetting=true | |
1579 | RocketTarget=ZTarget | |
1580 | for i=1,Property do | |
1581 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
1582 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
1583 | swait() | |
1584 | end | |
1585 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
1586 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1587 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1588 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
1589 | end | |
1590 | Targetting=false | |
1591 | RocketTarget=nil | |
1592 | targetgui.Parent=nil | |
1593 | cam.CameraType="Custom" | |
1594 | end | |
1595 | end | |
1596 | local debounce=Instance.new("BoolValue") | |
1597 | debounce.Name="DebounceHit" | |
1598 | debounce.Parent=hit.Parent | |
1599 | debounce.Value=true | |
1600 | game:GetService("Debris"):AddItem(debounce,Delay) | |
1601 | c=Instance.new("ObjectValue") | |
1602 | c.Name="creator" | |
1603 | c.Value=Player | |
1604 | c.Parent=h | |
1605 | game:GetService("Debris"):AddItem(c,.5) | |
1606 | end | |
1607 | end | |
1608 | ||
1609 | ||
1610 | function ShowDamage(Pos, Text, Time, Color) | |
1611 | local Rate = (1 / 30) | |
1612 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1613 | local Text = (Text or "") | |
1614 | local Time = (Time or 2) | |
1615 | local Color = (Color or Color3.new(1, 0, 0)) | |
1616 | local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0)) | |
1617 | EffectPart.Anchored = true | |
1618 | local BillboardGui = Instance.new("BillboardGui") | |
1619 | BillboardGui.Size = UDim2.new(3, 0, 3, 0) | |
1620 | BillboardGui.Adornee = EffectPart | |
1621 | local TextLabel = Instance.new("TextLabel") | |
1622 | TextLabel.BackgroundTransparency = 1 | |
1623 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
1624 | TextLabel.Text = Text | |
1625 | TextLabel.TextColor3 = Color | |
1626 | TextLabel.TextScaled = true | |
1627 | TextLabel.Font = Enum.Font.ArialBold | |
1628 | TextLabel.Parent = BillboardGui | |
1629 | BillboardGui.Parent = EffectPart | |
1630 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
1631 | EffectPart.Parent = game:GetService("Workspace") | |
1632 | Delay(0, function() | |
1633 | local Frames = (Time / Rate) | |
1634 | for Frame = 1, Frames do | |
1635 | wait(Rate) | |
1636 | local Percent = (Frame / Frames) | |
1637 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1638 | TextLabel.TextTransparency = Percent | |
1639 | end | |
1640 | if EffectPart and EffectPart.Parent then | |
1641 | EffectPart:Destroy() | |
1642 | end | |
1643 | end) | |
1644 | end | |
1645 | ||
1646 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999)) | |
1647 | handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007)) | |
1648 | mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1649 | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Really red","Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024)) | |
1650 | Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1)) | |
1651 | mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983)) | |
1652 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1653 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.00242900848, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -4.25688862e-009, -1.37317173e-013, -4.25688862e-009, 0.999999702, -2.46562365e-007)) | |
1654 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
1655 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1656 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
1657 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
1658 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036)) | |
1659 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000484466553, -0.232157588, -1.08489037, -1.6391111e-007, -2.91180186e-007, -0.999989986, -0.999989986, 2.34624395e-007, 1.63911025e-007, 2.34622007e-007, 1, -2.91177315e-007)) | |
1660 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
1661 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1662 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007)) | |
1663 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
1664 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.812000036, 0.591600001)) | |
1665 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144004822, -7.46494102, -8.79764557e-005, 4.47029542e-008, 2.42425131e-007, 0.999980867, -2.50834205e-007, 1, -2.42420526e-007, -0.999980867, -2.5083898e-007, 4.47030146e-008)) | |
1666 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
1667 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
1668 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
1669 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939)) | |
1670 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1671 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
1672 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
1673 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
1674 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.232713461, -1.89698601, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
1675 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
1676 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999)) | |
1677 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.174778461, -1.66498375, 9.53674316e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1)) | |
1678 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1)) | |
1679 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Bright red","Part",Vector3.new(1.04400003, 4.75600052, 0.200000003)) | |
1680 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000287055969, -4.68094635, -3.14712524e-005, 0.999985695, 6.10369533e-011, -1.79689095e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689129e-014, -7.57438556e-011, 0.999985695)) | |
1681 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983)) | |
1682 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
1683 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
1684 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961)) | |
1685 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003)) | |
1686 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
1687 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.798079908, 0.843320072, 0.58927989)) | |
1688 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1689 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
1690 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
1691 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1692 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007)) | |
1693 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
1694 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1695 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
1696 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
1697 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1698 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
1699 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
1700 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
1701 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00553905964, -0.620464325, 0.00238800049, 0.999994755, 4.21545732e-009, 1.69303116e-013, -4.2154511e-009, 1, -2.46550314e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755)) | |
1702 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
1703 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1704 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007)) | |
1705 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
1706 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.812000036, 0.200000003, 0.579999983)) | |
1707 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013)) | |
1708 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.526639998, 1)) | |
1709 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999)) | |
1710 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.294445038, 1.4429245, 0.00253105164, 0.965925753, -0.258819014, 6.3815186e-008, 0.258819014, 0.965925753, -2.38160979e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
1711 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
1712 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1713 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007)) | |
1714 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
1715 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
1716 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
1717 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876)) | |
1718 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1719 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
1720 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
1721 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
1722 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28609848, -1.26961899, 0.00253105164, 0.707106709, -0.707106769, 1.74346084e-007, 0.707106769, 0.707106709, -1.74345857e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
1723 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1724 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
1725 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
1726 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1727 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
1728 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
1729 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1730 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
1731 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
1732 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1733 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
1734 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
1735 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1736 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007)) | |
1737 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
1738 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.579999983, 0.200000003, 0.34799999)) | |
1739 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000606894493, -1.54850197, -4.76837158e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1)) | |
1740 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
1741 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1742 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
1743 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
1744 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
1745 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.23126626, -1.89697075, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
1746 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000222, 1, 1)) | |
1747 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
1748 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.859739304, -1.87621498, 0.00253105164, 0.70710659, 0.70710659, -1.74345828e-007, -0.70710659, 0.70710659, -1.74346027e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
1749 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
1750 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58202362, 0.00305497646, 0.00253105164, 1.91577065e-008, -1, 2.46562593e-007, 0.999994159, 1.91577474e-008, -8.742213e-008, 4.37109904e-008, 2.46561086e-007, 0.999994159)) | |
1751 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
1752 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1753 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013)) | |
1754 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
1755 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.44659999, 0.69599998, 0.371199995)) | |
1756 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555098057, -1.02645874, 0.00238800049, 0.999994278, 4.2154551e-009, 1.69303035e-013, -4.21544888e-009, 0.999999523, -2.46550201e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755)) | |
1757 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1758 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1759 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.0024292469, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -6.38615347e-008, -1.22620908e-013, -6.38615347e-008, 0.999999702, -2.46562365e-007)) | |
1760 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
1761 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.200000003, 0.463999987, 0.34799999)) | |
1762 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000650644302, -1.8385067, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
1763 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
1764 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.200000003, 4.75600052, 0.200000003)) | |
1765 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000156164169, -4.68094444, -0.000274658203, 0.999971211, 5.13775689e-011, -1.44165397e-014, -5.13864507e-011, 1, 6.64499566e-011, 8.34828473e-015, -6.64783784e-011, 0.999971211)) | |
1766 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000401, 1, 0.69599992)) | |
1767 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1768 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
1769 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
1770 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
1771 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
1772 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961)) | |
1773 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1774 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
1775 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
1776 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1777 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
1778 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
1779 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.200000003, 0.231999993, 0.200000003)) | |
1780 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000268936157, -7.1749382, -0.000166773796, -2.98020346e-008, 2.42384317e-007, 0.999980867, -2.50883971e-007, 1, -2.42379713e-007, -0.999980867, -2.50888746e-007, -2.98019742e-008)) | |
1781 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.698320508, 1.00999999, 0.590207934)) | |
1782 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.44659999, 1.15999997, 0.371199995)) | |
1783 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00572288036, 0.249307632, 0.00253105164, 0.999997973, 4.25688151e-009, 1.37316929e-013, -4.25688196e-009, 0.999998093, -2.46561967e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
1784 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1785 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
1786 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00575697422, 1.22929001, 0.00253105164, 1, 4.25689928e-009, 1.49599246e-013, -4.25689928e-009, 1, -2.46565691e-007, -1.50648848e-013, 2.46565691e-007, 1)) | |
1787 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
1788 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1789 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007)) | |
1790 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
1791 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.579999983, 0.34799999)) | |
1792 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.347447634, -1.78050041, 0.000102043152, 0.999989986, 6.10373974e-011, -1.79689739e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999989986)) | |
1793 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
1794 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1795 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
1796 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
1797 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
1798 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
1799 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876)) | |
1800 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999)) | |
1801 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.872640967, -2.18717003, 0.00248718262, 1, 4.25688995e-009, 1.37317214e-013, -4.25688995e-009, 1, -2.4656245e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
1802 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1803 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
1804 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
1805 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1806 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
1807 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
1808 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Bright red","Part",Vector3.new(0.200000003, 1.50800002, 1.04400003)) | |
1809 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.53131104e-005, -7.8129406, 0.00018453598, 4.47029258e-008, 2.42408902e-007, 0.999980867, -2.50858221e-007, 1, -2.42404298e-007, -0.999980867, -2.50863025e-007, 4.47029933e-008)) | |
1810 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.581159949, 1, 1)) | |
1811 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
1812 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000666975975, -2.18694496, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
1813 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1814 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007)) | |
1815 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
1816 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999)) | |
1817 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.173270226, -1.66498375, 0.0001039505, 0.999997854, 6.10373974e-011, -1.7969128e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79691145e-014, -7.57154339e-011, 0.999997854)) | |
1818 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1)) | |
1819 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1820 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008)) | |
1821 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
1822 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
1823 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.863862991, -1.87209129, 0.00253105164, 0.70710659, -0.70710659, 1.74346027e-007, 0.70710659, 0.70710659, -1.74345828e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
1824 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1825 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013)) | |
1826 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
1827 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
1828 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
1829 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
1830 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.580000043, 4.75600052, 0.200000003)) | |
1831 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0001963377, -4.68094635, -9.53674316e-005, 0.999990404, 6.10373974e-011, -1.79689874e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57154339e-011, 0.999990404)) | |
1832 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.638000011)) | |
1833 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
1834 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28197098, -1.27374649, 0.00253105164, 0.707106709, 0.707106769, -1.74345885e-007, -0.707106769, 0.707106709, -1.74346056e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
1835 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
1836 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.116648793, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
1837 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
1838 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1839 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008)) | |
1840 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
1841 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
1842 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563848019, -0.388711929, 0.00253295898, 0.99999404, 4.25686464e-009, 1.37316401e-013, -4.25686508e-009, 0.999994159, -2.46561001e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
1843 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
1844 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799999, 0.34799999, 0.200000003)) | |
1845 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
1846 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.595080018, 0.683239937)) | |
1847 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
1848 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
1849 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961)) | |
1850 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.231999993, 0.34799999)) | |
1851 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.347726822, -1.60689163, -9.05990601e-005, 0.99999994, 6.59379218e-011, -1.80878482e-014, -6.59667876e-011, 1, -5.95150595e-011, 2.41627922e-014, 5.94866378e-011, 0.99999994)) | |
1852 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1)) | |
1853 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
1854 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007)) | |
1855 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
1856 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999)) | |
1857 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.870689273, -2.18681908, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
1858 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036)) | |
1859 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000425338745, -0.231835961, -1.08489037, -4.08055101e-009, 2.02203083e-007, 0.99999994, 0.99999994, 2.42933169e-007, 4.08050749e-009, -2.42933169e-007, 1, -2.02203097e-007)) | |
1860 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
1861 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.812000036, 0.200000003, 0.812000036)) | |
1862 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013)) | |
1863 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.444280028, 1)) | |
1864 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
1865 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
1866 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939)) | |
1867 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
1868 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563395023, 0.887273788, 0.00253295898, 0.999990106, 4.25684776e-009, 1.37315859e-013, -4.25684821e-009, 0.999990225, -2.46560035e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
1869 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
1870 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
1871 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.348541379, -1.89650154, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
1872 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
1873 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003)) | |
1874 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
1875 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.835199952, 0.808520079, 0.58927989)) | |
1876 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
1877 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555217266, -1.43245697, 0.00238800049, 0.999993682, 4.21545243e-009, 1.69302926e-013, -4.21544666e-009, 0.999998927, -2.46550059e-007, -1.77448618e-013, 2.46551593e-007, 0.999994755)) | |
1878 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
1879 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
1880 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.115347862, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
1881 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
1882 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
1883 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
1884 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961)) | |
1885 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999)) | |
1886 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300365448, 1.44133759, 0.00253105164, 0.965925753, 0.258819014, -6.3814916e-008, -0.258819014, 0.965925753, -2.38161064e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
1887 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
1888 | ||
1889 | local Lite = it("PointLight",Torso) | |
1890 | Lite.Color = Color3.new(255, 255, 0) | |
1891 | Lite.Range = 8 | |
1892 | Lite.Brightness = 10 | |
1893 | Lite.Shadows = true | |
1894 | ||
1895 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
1896 | local prt=part("Custom",workspace,"Neon",0,0,"Bright red","Effect",vt(0.5,0.5,0.5)) | |
1897 | prt.Anchored=true | |
1898 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1899 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1900 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
1901 | CF=Part.CFrame | |
1902 | Numbb=0 | |
1903 | randnumb=math.random()-math.random() | |
1904 | for i=0,1,0.05 do | |
1905 | wait() | |
1906 | CF=CF*cf(0,1,0) | |
1907 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
1908 | Part.CFrame=CF*euler(Numbb,0,0) | |
1909 | Part.Transparency=i | |
1910 | Numbb=Numbb+randnumb | |
1911 | end | |
1912 | Part.Parent=nil | |
1913 | end),prt) | |
1914 | end | |
1915 | --BreakEffect(BrickColor.new("New Yeller"),Hitbox.CFrame,0.5,math.random(5,20),0.5) | |
1916 | ||
1917 | function attackone() | |
1918 | attack=true | |
1919 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,100,200,math.random(10,20),"Normal",RootPart,.2,1) end) | |
1920 | for i=0,1,0.1 do | |
1921 | swait() | |
1922 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3) | |
1923 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
1924 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1925 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1926 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3) | |
1927 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
1928 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
1929 | end | |
1930 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1) | |
1931 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1) | |
1932 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
1933 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
1934 | if hum12 and not hum12:IsDescendantOf(Character) then | |
1935 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
1936 | for i = 1,10 do | |
1937 | BreakEffect(BrickColor.new("Bright red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1938 | end | |
1939 | hitconasdf:disconnect() | |
1940 | end | |
1941 | end) | |
1942 | for i=0,1,0.1 do | |
1943 | swait() | |
1944 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
1945 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1946 | local h = 5 | |
1947 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
1948 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1949 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
1950 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1951 | scfr = blcf | |
1952 | elseif not scfr then | |
1953 | scfr = blcf | |
1954 | end | |
1955 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3) | |
1956 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
1957 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1958 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1959 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3) | |
1960 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1961 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
1962 | end | |
1963 | attack=false | |
1964 | con:disconnect() | |
1965 | scfr = nil | |
1966 | pcall(function() | |
1967 | hitconasdf:disconnect() | |
1968 | end) | |
1969 | end | |
1970 | ||
1971 | function attacktwo() | |
1972 | attack=true | |
1973 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,100,200,math.random(10,20),"Normal",RootPart,.2,1) end) | |
1974 | for i=0,1,0.1 do | |
1975 | swait() | |
1976 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3) | |
1977 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
1978 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1979 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1980 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3) | |
1981 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
1982 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
1983 | end | |
1984 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9) | |
1985 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9) | |
1986 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
1987 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
1988 | if hum12 and not hum12:IsDescendantOf(Character) then | |
1989 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
1990 | for i = 1,10 do | |
1991 | BreakEffect(BrickColor.new("Bright red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1992 | end | |
1993 | hitconasdf:disconnect() | |
1994 | end | |
1995 | end) | |
1996 | for i=0,1,0.1 do | |
1997 | swait() | |
1998 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
1999 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
2000 | local h = 5 | |
2001 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
2002 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
2003 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
2004 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
2005 | scfr = blcf | |
2006 | elseif not scfr then | |
2007 | scfr = blcf | |
2008 | end | |
2009 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3) | |
2010 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
2011 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2012 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2013 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3) | |
2014 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
2015 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
2016 | end | |
2017 | attack=false | |
2018 | con:disconnect() | |
2019 | scfr = nil | |
2020 | pcall(function() | |
2021 | hitconasdf:disconnect() | |
2022 | end) | |
2023 | end | |
2024 | ||
2025 | function Stab() | |
2026 | attack=true | |
2027 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,10000000000000000000000000000000000,10000000000000000000000000000000000,math.random(10,20),"Normal",RootPart,.2,1) end) | |
2028 | for i=0,1,0.1 do | |
2029 | swait() | |
2030 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
2031 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3) | |
2032 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3) | |
2033 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3) | |
2034 | LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2035 | RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2036 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
2037 | end | |
2038 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
2039 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
2040 | if hum12 and not hum12:IsDescendantOf(Character) then | |
2041 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
2042 | for i = 1,10 do | |
2043 | BreakEffect(BrickColor.new("Bright red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
2044 | end | |
2045 | hitconasdf:disconnect() | |
2046 | end | |
2047 | end) | |
2048 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9) | |
2049 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9) | |
2050 | for i=0,1,0.1 do | |
2051 | swait() | |
2052 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
2053 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
2054 | local h = 5 | |
2055 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
2056 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
2057 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
2058 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
2059 | scfr = blcf | |
2060 | elseif not scfr then | |
2061 | scfr = blcf | |
2062 | end | |
2063 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
2064 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-80)),.4) | |
2065 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
2066 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.4) | |
2067 | LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4) | |
2068 | RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4) | |
2069 | handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4) | |
2070 | end | |
2071 | con:disconnect() | |
2072 | attack=false | |
2073 | scfr = nil | |
2074 | pcall(function() | |
2075 | hitconasdf:disconnect() | |
2076 | end) | |
2077 | end | |
2078 | ||
2079 | function Spin() | |
2080 | attack=true | |
2081 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,200,300,math.random(10,20),"Normal",RootPart,.2,1) end) | |
2082 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
2083 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
2084 | if hum12 and not hum12:IsDescendantOf(Character) then | |
2085 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
2086 | for i = 1,10 do | |
2087 | BreakEffect(BrickColor.new("Bright red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
2088 | end | |
2089 | hitconasdf:disconnect() | |
2090 | end | |
2091 | end) | |
2092 | for i=0,1,1 do | |
2093 | so("http://roblox.com/asset/?id=154965962",Hitbox,1,1) | |
2094 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1) | |
2095 | swait() | |
2096 | for i=0,1,0.1 do | |
2097 | swait() | |
2098 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
2099 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
2100 | local h = 5 | |
2101 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
2102 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
2103 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
2104 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
2105 | scfr = blcf | |
2106 | elseif not scfr then | |
2107 | scfr = blcf | |
2108 | end | |
2109 | RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3) | |
2110 | LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3) | |
2111 | LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3) | |
2112 | RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3) | |
2113 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5) | |
2114 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),1) | |
2115 | end | |
2116 | end | |
2117 | attack=false | |
2118 | con:disconnect() | |
2119 | scfr = nil | |
2120 | pcall(function() | |
2121 | hitconasdf:disconnect() | |
2122 | end) | |
2123 | end | |
2124 | ||
2125 | function ContAttack() | |
2126 | attack=true | |
2127 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,300,500,math.random(10,20),"Normal",RootPart,.2,1) end) | |
2128 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
2129 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
2130 | if hum12 and not hum12:IsDescendantOf(Character) then | |
2131 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
2132 | for i = 1,10 do | |
2133 | BreakEffect(BrickColor.new("Bright red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
2134 | end | |
2135 | hitconasdf:disconnect() | |
2136 | end | |
2137 | end) | |
2138 | for i=1,4 do | |
2139 | swait() | |
2140 | for i=0,1,0.2 do | |
2141 | swait() | |
2142 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3) | |
2143 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
2144 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2145 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2146 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3) | |
2147 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
2148 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
2149 | end | |
2150 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1) | |
2151 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1) | |
2152 | for i=0,1,0.2 do | |
2153 | swait() | |
2154 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
2155 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
2156 | local h = 5 | |
2157 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
2158 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
2159 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
2160 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
2161 | scfr = blcf | |
2162 | elseif not scfr then | |
2163 | scfr = blcf | |
2164 | end | |
2165 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3) | |
2166 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
2167 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2168 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2169 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3) | |
2170 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
2171 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
2172 | end | |
2173 | for i=0,1,0.2 do | |
2174 | swait() | |
2175 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3) | |
2176 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
2177 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2178 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2179 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3) | |
2180 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
2181 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
2182 | end | |
2183 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9) | |
2184 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9) | |
2185 | for i=0,1,0.2 do | |
2186 | swait() | |
2187 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
2188 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
2189 | local h = 5 | |
2190 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
2191 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
2192 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
2193 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
2194 | scfr = blcf | |
2195 | elseif not scfr then | |
2196 | scfr = blcf | |
2197 | end | |
2198 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3) | |
2199 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
2200 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2201 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2202 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3) | |
2203 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
2204 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
2205 | end | |
2206 | end | |
2207 | attack=false | |
2208 | con:disconnect() | |
2209 | scfr = nil | |
2210 | pcall(function() | |
2211 | hitconasdf:disconnect() | |
2212 | end) | |
2213 | end | |
2214 | ||
2215 | ||
2216 | function Sheathe() | |
2217 | attack = true | |
2218 | so("http://www.roblox.com/asset/?id=273797222",Hitbox,1,.9) | |
2219 | CurrentMode = "Sheathed" | |
2220 | for i = 0,1,0.1 do | |
2221 | swait() | |
2222 | handleweld.Part0 = Torso | |
2223 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2224 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3) | |
2225 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3) | |
2226 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3) | |
2227 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2228 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2229 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
2230 | end | |
2231 | attack = false | |
2232 | end | |
2233 | ||
2234 | function Unsheathe() | |
2235 | attack = true | |
2236 | CurrentMode = "Unsheathed" | |
2237 | so("http://www.roblox.com/asset/?id=239169404",Hitbox,1,.9) | |
2238 | for i = 0,1,0.1 do | |
2239 | swait() | |
2240 | handleweld.Part0 = RightArm | |
2241 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
2242 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
2243 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3) | |
2244 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(-30),math.rad(-30)),.3) | |
2245 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2246 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2247 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3) | |
2248 | end | |
2249 | scfr = nil | |
2250 | attack = false | |
2251 | end | |
2252 | ||
2253 | local Sit = false | |
2254 | ||
2255 | mouse.Button1Down:connect(function() | |
2256 | if attack==false then | |
2257 | if attacktype==1 and CurrentMode == "Unsheathed" then | |
2258 | attack=true | |
2259 | attacktype=2 | |
2260 | attackone() | |
2261 | elseif attacktype==2 and CurrentMode == "Unsheathed" then | |
2262 | attack=true | |
2263 | attacktype=1 | |
2264 | attacktwo() | |
2265 | end | |
2266 | end | |
2267 | end) | |
2268 | ||
2269 | ||
2270 | mouse.KeyDown:connect(function(k) | |
2271 | k=k:lower() | |
2272 | if k=='q' then | |
2273 | if attack==false and CurrentMode == "Unsheathed" then | |
2274 | Stab() | |
2275 | end | |
2276 | elseif k=='e' then | |
2277 | if attack==false and CurrentMode == "Unsheathed" then | |
2278 | Spin() | |
2279 | end | |
2280 | elseif k=='r' then | |
2281 | if attack==false and CurrentMode == "Unsheathed" then | |
2282 | ContAttack() | |
2283 | end | |
2284 | elseif k=='f' then | |
2285 | if attack==false and CurrentMode == "Unsheathed" then | |
2286 | Sheathe() | |
2287 | elseif k=='f' then | |
2288 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
2289 | Unsheathe() | |
2290 | end | |
2291 | end | |
2292 | elseif k=='t' then | |
2293 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
2294 | Sit = true | |
2295 | Humanoid.WalkSpeed = 0 | |
2296 | elseif k=='t' then | |
2297 | if attack==false and Sit == true and CurrentMode == "Sheathed" then | |
2298 | Sit = false | |
2299 | Humanoid.WalkSpeed = 16 | |
2300 | end | |
2301 | end | |
2302 | ||
2303 | end | |
2304 | end) | |
2305 | ||
2306 | ||
2307 | local sine = 0 | |
2308 | local change = 1 | |
2309 | local val = 0 | |
2310 | ||
2311 | while true do | |
2312 | swait() | |
2313 | sine = sine + change | |
2314 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
2315 | local velderp=RootPart.Velocity.y | |
2316 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
2317 | if equipped==true or equipped==false then | |
2318 | if attack==false then | |
2319 | idle=idle+1 | |
2320 | else | |
2321 | idle=0 | |
2322 | end | |
2323 | if idle>=500 then | |
2324 | if attack==false then | |
2325 | end | |
2326 | end | |
2327 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
2328 | Anim="Jump" | |
2329 | if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
2330 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2331 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
2332 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3) | |
2333 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2334 | LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2335 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3) | |
2336 | end | |
2337 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
2338 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
2339 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
2340 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3) | |
2341 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3) | |
2342 | LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2343 | RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2344 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
2345 | end | |
2346 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
2347 | Anim="Fall" | |
2348 | if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
2349 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
2350 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
2351 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3) | |
2352 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2353 | LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2354 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3) | |
2355 | end | |
2356 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
2357 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
2358 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
2359 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3) | |
2360 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3) | |
2361 | LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2362 | RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2363 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
2364 | end | |
2365 | elseif torvel<1 and hitfloor~=nil then | |
2366 | Anim="Idle" | |
2367 | if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
2368 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3) | |
2369 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3) | |
2370 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3) | |
2371 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3) | |
2372 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2373 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2374 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3) | |
2375 | end | |
2376 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
2377 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2378 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3) | |
2379 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3) | |
2380 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3) | |
2381 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2382 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2383 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
2384 | end | |
2385 | if attack==false and Sit == true and CurrentMode == "Sheathed" then | |
2386 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
2387 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
2388 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3) | |
2389 | LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3) | |
2390 | LH.C0=clerp(LH.C0,cf(-1,.7,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2391 | RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(70))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2392 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
2393 | end | |
2394 | elseif torvel>2 and hitfloor~=nil then | |
2395 | Anim="Walk" | |
2396 | if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
2397 | change=3 | |
2398 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
2399 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
2400 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3) | |
2401 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(5),math.rad(-10)),.3) | |
2402 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2403 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2404 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3) | |
2405 | end | |
2406 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
2407 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
2408 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2409 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(30*math.cos(sine/10)),math.rad(0),math.rad(5)),.3) | |
2410 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30*math.cos(sine/10)),math.rad(0),math.rad(-5)),.3) | |
2411 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
2412 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
2413 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
2414 | end | |
2415 | end | |
2416 | end | |
2417 | if #Effects>0 then | |
2418 | for e=1,#Effects do | |
2419 | if Effects[e]~=nil then | |
2420 | local Thing=Effects[e] | |
2421 | if Thing~=nil then | |
2422 | local Part=Thing[1] | |
2423 | local Mode=Thing[2] | |
2424 | local Delay=Thing[3] | |
2425 | local IncX=Thing[4] | |
2426 | local IncY=Thing[5] | |
2427 | local IncZ=Thing[6] | |
2428 | if Thing[1].Transparency<=1 then | |
2429 | if Thing[2]=="Block1" then | |
2430 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2431 | Mesh=Thing[1].Mesh | |
2432 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
2433 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
2434 | elseif Thing[2]=="Cylinder" then | |
2435 | Mesh=Thing[1].Mesh | |
2436 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
2437 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
2438 | elseif Thing[2]=="Blood" then | |
2439 | Mesh=Thing[7] | |
2440 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
2441 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
2442 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
2443 | elseif Thing[2]=="Elec" then | |
2444 | Mesh=Thing[1].Mesh | |
2445 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
2446 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
2447 | elseif Thing[2]=="Disappear" then | |
2448 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
2449 | end | |
2450 | else | |
2451 | Part.Parent=nil | |
2452 | table.remove(Effects,e) | |
2453 | end | |
2454 | end | |
2455 | end | |
2456 | end | |
2457 | end | |
2458 | end |