SHOW:
|
|
- or go back to the newest paste.
1 | local p = game.Players.LocalPlayer | |
2 | local char = p.Character | |
3 | local hed = char.Head | |
4 | local LocalPlayer = p | |
5 | ||
6 | local naeeym = Instance.new("BillboardGui",char) | |
7 | naeeym.Size = UDim2.new(0,100,0,40) | |
8 | naeeym.StudsOffset = Vector3.new(0,5,0) | |
9 | naeeym.Adornee = char.Head | |
10 | local tecks = Instance.new("TextLabel",naeeym) | |
11 | tecks.BackgroundTransparency = 1 | |
12 | tecks.BorderSizePixel = 0 | |
13 | - | tecks.Text = "Solider" |
13 | + | tecks.Text = " " |
14 | tecks.Font = "ArialBold" | |
15 | tecks.FontSize = "Size36" | |
16 | tecks.TextStrokeTransparency = 0 | |
17 | tecks.TextStrokeColor3 = Color3.new(0,0,0) | |
18 | tecks.TextColor3 = Color3.new(0,191,255) | |
19 | tecks.Size = UDim2.new(1,0,0.5,0) | |
20 | ||
21 | p = game.Players.LocalPlayer | |
22 | char = p.Character | |
23 | torso = char.Torso | |
24 | hed = char.Head | |
25 | neck = char.Torso.Neck | |
26 | hum = char.Humanoid | |
27 | hum.MaxHealth = math.huge | |
28 | local msg = game:GetService("Chat") | |
29 | - | torso.BrickColor = BrickColor.new("Pastel brown") |
29 | + | |
30 | - | hed.BrickColor = BrickColor.new("Pastel brown") |
30 | + | |
31 | - | char["Right Arm"].BrickColor = BrickColor.new("Pastel brown") |
31 | + | |
32 | - | char["Left Arm"].BrickColor = BrickColor.new("Pastel brown") |
32 | + | |
33 | - | char["Left Leg"].BrickColor = BrickColor.new("Pastel brown") |
33 | + | |
34 | - | char["Right Leg"].BrickColor = BrickColor.new("Pastel brown") |
34 | + | |
35 | - | ypcall(function() |
35 | + | |
36 | - | shirt = Instance.new("Shirt", char) |
36 | + | |
37 | - | shirt.Name = "Shirt" |
37 | + | |
38 | - | pants = Instance.new("Pants", char) |
38 | + | |
39 | - | pants.Name = "Pants" |
39 | + | |
40 | - | char.Shirt.ShirtTemplate = "rbxassetid://594084010" |
40 | + | |
41 | - | char.Pants.PantsTemplate = "rbxassetid://191844657" |
41 | + | |
42 | RightLeg = Character["Right Leg"] | |
43 | LS = Torso["Left Shoulder"] | |
44 | LH = Torso["Left Hip"] | |
45 | RS = Torso["Right Shoulder"] | |
46 | RH = Torso["Right Hip"] | |
47 | ||
48 | local DANSE = coroutine.create(function() | |
49 | sound = Instance.new("Sound", Character) | |
50 | sound.SoundId = "rbxassetid://756404718" | |
51 | sound.Volume = 100000000 | |
52 | sound.EmitterSize = 25 | |
53 | sound:Play() | |
54 | sound.Looped = true | |
55 | Face = Head.face | |
56 | Neck = Torso.Neck | |
57 | it = Instance.new | |
58 | vt = Vector3.new | |
59 | cf = CFrame.new | |
60 | rad = math.rad | |
61 | euler = CFrame.fromEulerAnglesXYZ | |
62 | angles = CFrame.Angles | |
63 | Mouse = Player:GetMouse() | |
64 | coroutine.resume(coroutine.create(function() | |
65 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
66 | Text = "Fixed by PixelFir3 / Cortana#8155"; | |
67 | Color = Color3.new(0, 1, 1); | |
68 | Font = Enum.Font.Code; | |
69 | FontSize = Enum.FontSize.Size24; | |
70 | }) | |
71 | end)) | |
72 | ArtificialHB = Instance.new("BindableEvent", script) | |
73 | ArtificialHB.Name = "ArtificialHB" | |
74 | script:WaitForChild("ArtificialHB") | |
75 | frame = 0.016666666666667 | |
76 | tf = 0 | |
77 | allowframeloss = false | |
78 | tossremainder = false | |
79 | lastframe = tick() | |
80 | script.ArtificialHB:Fire() | |
81 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
82 | ||
83 | tf = tf + s | |
84 | if frame <= tf then | |
85 | if allowframeloss then | |
86 | script.ArtificialHB:Fire() | |
87 | lastframe = tick() | |
88 | else | |
89 | for i = 1, math.floor(tf / frame) do | |
90 | script.ArtificialHB:Fire() | |
91 | end | |
92 | lastframe = tick() | |
93 | end | |
94 | if tossremainder then | |
95 | tf = 0 | |
96 | else | |
97 | tf = tf - frame * math.floor(tf / frame) | |
98 | end | |
99 | end | |
100 | end | |
101 | ) | |
102 | local animationspeed = 2 | |
103 | hbwait = function(number) | |
104 | ||
105 | if number == 0 or number == nil then | |
106 | ArtificialHB.Event:wait() | |
107 | else | |
108 | for i = 0, number do | |
109 | ArtificialHB.Event:wait() | |
110 | end | |
111 | end | |
112 | end | |
113 | ||
114 | local Stats = Instance.new("Folder", Character) | |
115 | Stats.Name = "Stats" | |
116 | local Defense = Instance.new("NumberValue", Stats) | |
117 | Defense.Name = "Defense" | |
118 | Defense.Value = 0.1 | |
119 | local Movement = Instance.new("NumberValue", Stats) | |
120 | Movement.Name = "Movement" | |
121 | Movement.Value = 0.35 | |
122 | local Damage = Instance.new("NumberValue", Stats) | |
123 | Damage.Name = "Damage" | |
124 | Damage.Value = 0 | |
125 | local Mana = Instance.new("NumberValue", Stats) | |
126 | Mana.Name = "Mana" | |
127 | Mana.Value = 0 | |
128 | local Rooted = Instance.new("BoolValue", Stats) | |
129 | Rooted.Name = "Rooted" | |
130 | Rooted.Value = false | |
131 | local BlockValue = Instance.new("BoolValue", Stats) | |
132 | BlockValue.Name = "BlockValue" | |
133 | BlockValue.Value = false | |
134 | local StaggerHitAnim = Instance.new("BoolValue", Stats) | |
135 | StaggerHitAnim.Name = "StaggerHitAnim" | |
136 | StaggerHitAnim.Value = false | |
137 | local StaggerAnim = Instance.new("BoolValue", Stats) | |
138 | StaggerAnim.Name = "StaggerAnim" | |
139 | StaggerAnim.Value = false | |
140 | local StunAnim = Instance.new("BoolValue", Stats) | |
141 | StunAnim.Name = "StunAnim" | |
142 | StunAnim.Value = false | |
143 | local StunValue = Instance.new("NumberValue", Stats) | |
144 | StunValue.Name = "StunValue" | |
145 | StunValue.Value = 0 | |
146 | local CanCrit = Instance.new("BoolValue", Stats) | |
147 | CanCrit.Name = "CanCrit" | |
148 | CanCrit.Value = false | |
149 | local CritChance = Instance.new("NumberValue", Stats) | |
150 | CritChance.Name = "CritChance" | |
151 | CritChance.Value = 20 | |
152 | local CanPenetrateArmor = Instance.new("BoolValue", Stats) | |
153 | CanPenetrateArmor.Name = "CanPenetrateArmor" | |
154 | CanPenetrateArmor.Value = false | |
155 | local AntiTeamKill = Instance.new("BoolValue", Stats) | |
156 | AntiTeamKill.Name = "AntiTeamKill" | |
157 | AntiTeamKill.Value = false | |
158 | necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
159 | RootCF = angles(rad(-90), 0, rad(180)) | |
160 | local idle = 0 | |
161 | local Anim = "Idle" | |
162 | local animtype = math.floor(math.random(1, 3)) | |
163 | local attacktype = 1 | |
164 | local attack = false | |
165 | local equipped = false | |
166 | local LastPoint = nil | |
167 | local staggerhitanim = false | |
168 | local staggeranim = false | |
169 | local stunanim = false | |
170 | local CritChanceNumber = 0 | |
171 | local idlen = 0 | |
172 | local donum = 0 | |
173 | local sine = 0 | |
174 | local change = 2 / animationspeed | |
175 | local walkinganim = false | |
176 | local handidle = false | |
177 | local walk = 0 | |
178 | local stundelay = 0 | |
179 | local manadelay = 0 | |
180 | local robloxidleanimation = Instance.new("Animation", Torso) | |
181 | robloxidleanimation.Name = "robloxidleanimation" | |
182 | robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
183 | local Animator = Humanoid:FindFirstChild("Animator") | |
184 | local Animate = Character:FindFirstChild("Animate") | |
185 | local HitPlayerSounds = {199149137, 199149186, 199149221, 199149235, 199149269, 199149297} | |
186 | local HitArmorSounds = {199149321, 199149338, 199149367, 199149409, 199149452} | |
187 | local HitWeaponSounds = {199148971, 199149025, 199149072, 199149109, 199149119} | |
188 | local HitBlockSounds = {199148933, 199148947} | |
189 | local cooldown1 = 0 | |
190 | local cooldown2 = 0 | |
191 | local cooldown3 = 0 | |
192 | local cooldown4 = 0 | |
193 | local scrn = Instance.new("ScreenGui", PlayerGui) | |
194 | local ud = UDim2.new | |
195 | local c3 = Color3.new | |
196 | local skillcolorscheme = c3(1, 1, 1) | |
197 | subtractmana = function(k) | |
198 | ||
199 | if k <= Mana.Value then | |
200 | Mana.Value = Mana.Value - k | |
201 | end | |
202 | end | |
203 | ||
204 | local co1 = 0 | |
205 | local co2 = 0 | |
206 | local co3 = 0 | |
207 | local co4 = 0 | |
208 | local maxmana = 0 | |
209 | local maxstun = 1 | |
210 | local recovermana = 0 | |
211 | local losestun = 0 | |
212 | local stunwait = 0 | |
213 | local manawait = 0 | |
214 | local skill1mana = 0 | |
215 | local skill2mana = 0 | |
216 | local skill3mana = 0 | |
217 | local skill4mana = 0 | |
218 | local menuupdatespeed = 0 | |
219 | local constantupdate = false | |
220 | local showstats = false | |
221 | local allowstunbar = false | |
222 | local CustomColor = Torso.BrickColor | |
223 | local Colorpart1 = CustomColor.r | |
224 | local Colorpart2 = CustomColor.g | |
225 | local Colorpart3 = CustomColor.b | |
226 | local InverseColor = BrickColor.new(Color3.new(1 - Colorpart1, 1 - Colorpart2, 1 - Colorpart3)) | |
227 | makeframe = function(par, trans, pos, size, color, name) | |
228 | ||
229 | local frame = Instance.new("Frame") | |
230 | frame.Parent = par | |
231 | frame.BackgroundTransparency = trans | |
232 | frame.BorderSizePixel = 2 | |
233 | frame.Position = pos | |
234 | frame.Size = size | |
235 | frame.BackgroundColor3 = color | |
236 | frame.Name = name | |
237 | return frame | |
238 | end | |
239 | ||
240 | makelabel = function(par, text, trans, stroketrans, name) | |
241 | ||
242 | local label = Instance.new("TextLabel") | |
243 | label.Parent = par | |
244 | label.BackgroundTransparency = 1 | |
245 | label.Size = ud(1, 0, 1, 0) | |
246 | label.Position = ud(0, 0, 0, 0) | |
247 | label.TextColor3 = c3(255, 255, 255) | |
248 | label.TextStrokeTransparency = stroketrans | |
249 | label.TextTransparency = trans | |
250 | label.FontSize = Enum.FontSize.Size32 | |
251 | label.Font = Enum.Font.Legacy | |
252 | label.BorderSizePixel = 0 | |
253 | label.TextScaled = true | |
254 | label.Text = text | |
255 | label.Name = name | |
256 | return label | |
257 | end | |
258 | ||
259 | framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 1") | |
260 | framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 2") | |
261 | framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 3") | |
262 | framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 4") | |
263 | bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 1") | |
264 | bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 2") | |
265 | bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 3") | |
266 | bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 4") | |
267 | text1 = makelabel(framesk1, "[C] Ability 3", 1, 1, "Text 1") | |
268 | text2 = makelabel(framesk2, "[V] Ability 4", 1, 1, "Text 2") | |
269 | text3 = makelabel(framesk3, "[X] Ability 2", 1, 1, "Text 3") | |
270 | text4 = makelabel(framesk4, "[Z] Ability 1", 1, 1, "Text 4") | |
271 | manabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Bar") | |
272 | manacover = makeframe(manabar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Cover") | |
273 | manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text") | |
274 | healthbar = makeframe(scrn, 0.5, ud(0.5, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Bar") | |
275 | healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Cover") | |
276 | healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text") | |
277 | if allowstunbar == true then | |
278 | stunframe = makeframe(scrn, 0.5, ud(0.5, 0, 0.78, 0), ud(0.26, 0, 0, 0), c3(1, 1, 0.19607843137255), "Stun Frame") | |
279 | stunbar = makeframe(stunframe, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 1, 0.19607843137255), "Stun Bar") | |
280 | stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text") | |
281 | end | |
282 | if showstats == true then | |
283 | defenseframe = makeframe(scrn, 0.5, ud(0.23, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 0.3921568627451, 1), "Defense Frame") | |
284 | damageframe = makeframe(scrn, 0.5, ud(0.3225, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(1, 0.3921568627451, 0.3921568627451), "Damage Frame") | |
285 | movementframe = makeframe(scrn, 0.5, ud(0.415, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 1, 0.3921568627451), "Movement Frame") | |
286 | defensetext = makelabel(defenseframe, "Defense: " .. Defense.Value, 1, 1, "Defense Text") | |
287 | damagetext = makelabel(damageframe, "Damage: " .. Damage.Value, 1, 1, "Damage Text") | |
288 | movementtext = makelabel(movementframe, "Movement: " .. Movement.Value, 1, 1, "Movement Text") | |
289 | end | |
290 | NoOutline = function(Part) | |
291 | ||
292 | Part.TopSurface = 10 | |
293 | end | |
294 | ||
295 | local weldBetween = function(a, b) | |
296 | ||
297 | local weldd = Instance.new("ManualWeld") | |
298 | weldd.Part0 = a | |
299 | weldd.Part1 = b | |
300 | weldd.C0 = CFrame.new() | |
301 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
302 | weldd.Parent = a | |
303 | return weldd | |
304 | end | |
305 | ||
306 | nooutline = function(part) | |
307 | ||
308 | part.TopSurface = 10 | |
309 | end | |
310 | ||
311 | part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size) | |
312 | ||
313 | local fp = it("Part") | |
314 | fp.formFactor = formfactor | |
315 | fp.Parent = parent | |
316 | fp.Reflectance = reflectance | |
317 | fp.Transparency = transparency | |
318 | fp.CanCollide = false | |
319 | fp.Locked = true | |
320 | fp.BrickColor = BrickColor.new(tostring(brickcolor)) | |
321 | fp.Name = name | |
322 | fp.Size = size | |
323 | fp.Position = Character.Torso.Position | |
324 | nooutline(fp) | |
325 | fp.Material = material | |
326 | fp:BreakJoints() | |
327 | return fp | |
328 | end | |
329 | ||
330 | mesh = function(Mesh, part, meshtype, meshid, offset, scale) | |
331 | ||
332 | local mesh = it(Mesh) | |
333 | mesh.Parent = part | |
334 | if Mesh == "SpecialMesh" then | |
335 | mesh.MeshType = meshtype | |
336 | mesh.MeshId = meshid | |
337 | end | |
338 | mesh.Offset = offset | |
339 | mesh.Scale = scale | |
340 | return mesh | |
341 | end | |
342 | ||
343 | weld = function(parent, part0, part1, c0, c1) | |
344 | ||
345 | local weld = it("Motor") | |
346 | weld.Parent = parent | |
347 | weld.Part0 = part0 | |
348 | weld.Part1 = part1 | |
349 | weld.C0 = c0 | |
350 | weld.C1 = c1 | |
351 | return weld | |
352 | end | |
353 | ||
354 | local WeaponName = "Russian Kick" | |
355 | local ClassName = "Russian Kick" | |
356 | local PlayerSize = 1 | |
357 | local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0)) | |
358 | local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0)) | |
359 | if PlayerSize ~= 1 then | |
360 | RootPart.Size = RootPart.Size * PlayerSize | |
361 | Torso.Size = Torso.Size * PlayerSize | |
362 | Head.Size = Head.Size * PlayerSize | |
363 | RightArm.Size = RightArm.Size * PlayerSize | |
364 | LeftArm.Size = LeftArm.Size * PlayerSize | |
365 | RightLeg.Size = RightLeg.Size * PlayerSize | |
366 | LeftLeg.Size = LeftLeg.Size * PlayerSize | |
367 | RootJoint.Parent = RootPart | |
368 | Neck.Parent = Torso | |
369 | LS.Parent = Torso | |
370 | RS.Parent = Torso | |
371 | LH.Parent = Torso | |
372 | RH.Parent = Torso | |
373 | RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) | |
374 | Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0)) | |
375 | Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize) | |
376 | RS.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0 | |
377 | LS.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0 | |
378 | RS.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5) | |
379 | LS.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5) | |
380 | RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)) | |
381 | LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)) | |
382 | RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize) | |
383 | LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize) | |
384 | for _,v in pairs(Character:GetChildren()) do | |
385 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
386 | v.Parent = nil | |
387 | v.Parent = Character | |
388 | v.Handle.Mesh.Scale = v.Handle.Mesh.Scale * PlayerSize | |
389 | for _,b in pairs(v.Handle:GetChildren()) do | |
390 | if b.ClassName == "Weld" or b.ClassName == "Motor" then | |
391 | local p1 = b.Part1 | |
392 | b.Part1 = nil | |
393 | local c01, c02, c03, c04, c05, c06, c07, c08, c09, c010, c011, c012 = b.C0:components() | |
394 | local c11, c12, c13, c14, c15, c16, c17, c18, c19, c110, c111, c112 = b.C1:components() | |
395 | b.C0 = cf(c01 * PlayerSize, c02 * PlayerSize, c03 * PlayerSize, c04, c05, c06, c07, c08, c09, c010, c011, c012) | |
396 | b.C1 = cf(c11 * PlayerSize, c12 * PlayerSize, c13 * PlayerSize, c14, c15, c16, c17, c18, c19, c110, c111, c112) | |
397 | b.Part1 = p1 | |
398 | end | |
399 | end | |
400 | end | |
401 | end | |
402 | end | |
403 | m = Instance.new("Model", Character) | |
404 | m.Name = WeaponName | |
405 | Effects = Instance.new("Folder", m) | |
406 | Effects.Name = "Effects" | |
407 | Humanoid.Died:connect(function() | |
408 | ||
409 | attack = true | |
410 | for _,v in pairs(Character:GetChildren()) do | |
411 | if v.ClassName == "Model" then | |
412 | v:Destroy() | |
413 | end | |
414 | end | |
415 | end | |
416 | ) | |
417 | for i,v in pairs(Character:GetChildren()) do | |
418 | if v.ClassName == "Model" then | |
419 | for _,c in pairs(v:GetChildren()) do | |
420 | if c.ClassName == "Part" then | |
421 | c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
422 | end | |
423 | end | |
424 | end | |
425 | end | |
426 | print(ClassName .. " loaded.") | |
427 | clerp = function(a, b, t) | |
428 | return a:lerp(b, t) | |
429 | end | |
430 | ||
431 | positiveangle = function(number) | |
432 | ||
433 | if number > 0 then | |
434 | number = 0 | |
435 | end | |
436 | return number | |
437 | end | |
438 | ||
439 | negativeangle = function(number) | |
440 | ||
441 | if number < 0 then | |
442 | number = 0 | |
443 | end | |
444 | return number | |
445 | end | |
446 | ||
447 | so = function(id, par, vol, pit) | |
448 | ||
449 | coroutine.resume(coroutine.create(function() | |
450 | ||
451 | local sou = Instance.new("Sound", par or workspace) | |
452 | sou.Volume = vol | |
453 | sou.Pitch = pit or 1 | |
454 | sou.SoundId = "http://roblox.com/asset/?id=" .. id | |
455 | hbwait() | |
456 | sou:play() | |
457 | game:GetService("Debris"):AddItem(sou, 10) | |
458 | end | |
459 | )) | |
460 | end | |
461 | ||
462 | GetDistance = function(Part1, Part2, magnitude) | |
463 | ||
464 | local target = Part1.Position - Part2.Position | |
465 | local mag = target.magnitude | |
466 | if mag <= magnitude then | |
467 | return true | |
468 | else | |
469 | return false | |
470 | end | |
471 | end | |
472 | ||
473 | rayCast = function(Pos, Dir, Max, Ignore) | |
474 | ||
475 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
476 | end | |
477 | ||
478 | DamageStatLabel = function(labeltype, cframe, text, color) | |
479 | ||
480 | local c = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0)) | |
481 | c.CFrame = cf(cframe.p + vt(0, 1.5, 0)) | |
482 | game:GetService("Debris"):AddItem(c, 5) | |
483 | Instance.new("BodyGyro", c) | |
484 | local f = Instance.new("BodyPosition", c) | |
485 | f.P = 2000 | |
486 | f.D = 100 | |
487 | f.maxForce = vt(math.huge, math.huge, math.huge) | |
488 | if labeltype == "Normal" then | |
489 | f.position = c.Position + vt(math.random(-2, 2), 6, math.random(-2, 2)) | |
490 | else | |
491 | if labeltype == "Debuff" then | |
492 | f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2)) | |
493 | else | |
494 | if labeltype == "Interruption" then | |
495 | f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2)) | |
496 | end | |
497 | end | |
498 | end | |
499 | game:GetService("Debris"):AddItem(c, 5) | |
500 | local bg = Instance.new("BillboardGui", c) | |
501 | bg.Adornee = c | |
502 | bg.Size = UDim2.new(2.5, 0, 2.5, 0) | |
503 | bg.StudsOffset = vt(-2, 2, 0) | |
504 | bg.AlwaysOnTop = false | |
505 | local tl = Instance.new("TextLabel", bg) | |
506 | tl.BackgroundTransparency = 1 | |
507 | tl.Size = UDim2.new(2.5, 0, 2.5, 0) | |
508 | tl.Text = text | |
509 | tl.Font = Enum.Font.SourceSans | |
510 | tl.FontSize = Enum.FontSize.Size42 | |
511 | tl.TextColor3 = color | |
512 | tl.TextScaled = false | |
513 | tl.TextStrokeTransparency = 0 | |
514 | tl.TextScaled = true | |
515 | tl.TextWrapped = true | |
516 | f.Parent = c | |
517 | coroutine.resume(coroutine.create(function(Part, BodyPosition, TextLabel) | |
518 | ||
519 | wait(0.25) | |
520 | for i = 1, 5 do | |
521 | wait() | |
522 | BodyPosition.position = Part.Position - vt(0, 0.5, 0) | |
523 | end | |
524 | wait(1.25) | |
525 | for i = 1, 5 do | |
526 | wait() | |
527 | TextLabel.TextTransparency = TextLabel.TextTransparency + 0.2 | |
528 | TextLabel.TextStrokeTransparency = TextLabel.TextStrokeTransparency + 0.2 | |
529 | BodyPosition.position = Part.Position + vt(0, 0.5, 0) | |
530 | end | |
531 | Part.Parent = nil | |
532 | end | |
533 | ), c, f, tl) | |
534 | end | |
535 | ||
536 | IncreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat) | |
537 | ||
538 | -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1 | |
539 | ||
540 | -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1 | |
541 | ||
542 | if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then | |
543 | Location.Stats[Stat].Value = Location.Stats[Stat].Value + Amount | |
544 | if ShowTheStat == true then | |
545 | if Stat == "Defense" then | |
546 | DamageStatLabel("Debuff", Location.Head.CFrame, "+Defense", c3(1, 1, 1)) | |
547 | else | |
548 | if Stat == "Damage" then | |
549 | DamageStatLabel("Debuff", Location.Head.CFrame, "+Damage", c3(1, 1, 1)) | |
550 | else | |
551 | if Stat == "Movement" then | |
552 | DamageStatLabel("Debuff", Location.Head.CFrame, "+Movement", c3(1, 1, 1)) | |
553 | end | |
554 | end | |
555 | end | |
556 | end | |
557 | coroutine.resume(coroutine.create(function(CurrentDecrease) | |
558 | ||
559 | wait(Duration) | |
560 | CurrentDecrease.Value = CurrentDecrease.Value - Amount | |
561 | end | |
562 | ), Location.Stats[Stat]) | |
563 | end | |
564 | DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1)) | |
565 | end | |
566 | ||
567 | DecreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat) | |
568 | ||
569 | -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1 | |
570 | ||
571 | -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1 | |
572 | ||
573 | if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then | |
574 | Location.Stats[Stat].Value = Location.Stats[Stat].Value - Amount | |
575 | if ShowTheStat == true then | |
576 | if Stat == "Defense" then | |
577 | DamageStatLabel("Debuff", Location.Head.CFrame, "-Defense", c3(1, 1, 1)) | |
578 | else | |
579 | if Stat == "Damage" then | |
580 | DamageStatLabel("Debuff", Location.Head.CFrame, "-Damage", c3(1, 1, 1)) | |
581 | else | |
582 | if Stat == "Movement" then | |
583 | DamageStatLabel("Debuff", Location.Head.CFrame, "-Movement", c3(1, 1, 1)) | |
584 | end | |
585 | end | |
586 | end | |
587 | end | |
588 | coroutine.resume(coroutine.create(function(CurrentDecrease) | |
589 | ||
590 | wait(Duration) | |
591 | CurrentDecrease.Value = CurrentDecrease.Value + Amount | |
592 | end | |
593 | ), Location.Stats[Stat]) | |
594 | end | |
595 | DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1)) | |
596 | end | |
597 | ||
598 | Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, DecreaseTheStat, DecreaseAmount, DecreaseDuration, ShowDecreasedStat) | |
599 | ||
600 | if hit.Parent == nil then | |
601 | return | |
602 | end | |
603 | h = hit.Parent:FindFirstChild("Humanoid") | |
604 | for _,v in pairs(hit.Parent:GetChildren()) do | |
605 | if v:IsA("Humanoid") then | |
606 | h = v | |
607 | end | |
608 | end | |
609 | if hit.Name == "Hitbox" and ranged ~= true and hit.Parent ~= m then | |
610 | StaggerHitAnim.Value = true | |
611 | so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hit, 1, 1) | |
612 | return | |
613 | end | |
614 | if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then | |
615 | h = hit.Parent.Parent:FindFirstChild("Humanoid") | |
616 | end | |
617 | if hit.Parent.className == "Hat" then | |
618 | hit = hit.Parent.Parent:FindFirstChild("Head") | |
619 | end | |
620 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
621 | if hit.Parent:FindFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
622 | return | |
623 | end | |
624 | if AntiTeamKill.Value == true and Player.Neutral == false and game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then | |
625 | return | |
626 | end | |
627 | if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health <= 0 then | |
628 | return | |
629 | end | |
630 | if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StunValue") ~= nil then | |
631 | hit.Parent.Stats:FindFirstChild("StunValue").Value = hit.Parent.Stats:FindFirstChild("StunValue").Value + incstun | |
632 | end | |
633 | if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StaggerAnim") ~= nil and stagger == true then | |
634 | hit.Parent.Stats:FindFirstChild("StaggerAnim").Value = true | |
635 | end | |
636 | if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue").Value == true then | |
637 | if hit.Parent.Stats:FindFirstChild("BlockDebounce") == nil then | |
638 | DamageStatLabel("Interruption", hit.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1)) | |
639 | local BlockDebounce = Instance.new("BoolValue", hit.Parent.Stats) | |
640 | BlockDebounce.Name = "BlockDebounce" | |
641 | BlockDebounce.Value = true | |
642 | game:GetService("Debris"):AddItem(BlockDebounce, 0.1) | |
643 | end | |
644 | do | |
645 | if ranged ~= true then | |
646 | do | |
647 | if hit.Parent.Stats:FindFirstChild("BlockDebounce2") == nil then | |
648 | local BlockDebounce2 = Instance.new("BoolValue", hit.Parent.Stats) | |
649 | BlockDebounce2.Name = "BlockDebounce2" | |
650 | BlockDebounce2.Value = true | |
651 | game:GetService("Debris"):AddItem(BlockDebounce2, 0.1) | |
652 | so(HitBlockSounds[math.random(1, #HitBlockSounds)], hit, 1, 1) | |
653 | end | |
654 | hit.Parent.Stats:FindFirstChild("BlockValue").Value = false | |
655 | StaggerAnim.Value = true | |
656 | do return end | |
657 | if DecreaseTheStat ~= nil and hit.Parent:FindFirstChild("Stats") ~= nil then | |
658 | if DecreaseTheStat == "Defense" then | |
659 | DecreaseStat(hit.Parent, "Defense", DecreaseAmount, DecreaseDuration, ShowDecreasedStat) | |
660 | else | |
661 | if DecreaseTheStat == "Damage" then | |
662 | DecreaseStat(hit.Parent, "Damage", DecreaseAmount, DecreaseDuration, ShowDecreasedStat) | |
663 | else | |
664 | if DecreaseTheStat == "Movement" then | |
665 | DecreaseStat(hit.Parent, "Movement", DecreaseAmount, DecreaseDuration, ShowDecreasedStat) | |
666 | end | |
667 | end | |
668 | end | |
669 | end | |
670 | local D = math.random(minim, maxim) * Damage.Value | |
671 | if hit.Parent:FindFirstChild("Stats") ~= nil then | |
672 | if hit.Parent.Stats:FindFirstChild("Defense") then | |
673 | if CanPenetrateArmor.Value == true then | |
674 | D = D / hit.Parent.Stats:FindFirstChild("Defense").Value | |
675 | -- DECOMPILER ERROR at PC377: Unhandled construct in 'MakeBoolean' P1 | |
676 | ||
677 | if hit.Parent.Stats:FindFirstChild("Defense") ~= nil or CanCrit.Value == true then | |
678 | CritChanceNumber = math.random(1, CritChance.Value) | |
679 | if CritChanceNumber == CritChance.Value then | |
680 | D = D * 2 | |
681 | end | |
682 | end | |
683 | D = math.floor(D) | |
684 | h.Health = h.Health - D | |
685 | if D <= 3 and staggerhit == true then | |
686 | if ranged ~= true then | |
687 | StaggerHitAnim.Value = true | |
688 | end | |
689 | if ranged ~= true then | |
690 | so(HitArmorSounds[math.random(1, #HitArmorSounds)], hit, 1, 1) | |
691 | end | |
692 | else | |
693 | if D > 3 and ranged ~= true then | |
694 | so(HitPlayerSounds[math.random(1, #HitPlayerSounds)], hit, 1, 1) | |
695 | end | |
696 | end | |
697 | if D > 3 and D < 20 then | |
698 | if CanCrit.Value == true and CritChanceNumber == CritChance.Value then | |
699 | DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0)) | |
700 | so("296102734", hit, 1, 1) | |
701 | else | |
702 | DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0.86274509803922, 0)) | |
703 | end | |
704 | else | |
705 | if D >= 20 then | |
706 | if CanCrit.Value == true and CritChanceNumber == CritChance.Value then | |
707 | DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0)) | |
708 | so("296102734", hit, 1, 1) | |
709 | else | |
710 | DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0, 0)) | |
711 | end | |
712 | else | |
713 | if D <= 3 then | |
714 | if CanCrit.Value == true and CritChanceNumber == CritChance.Value then | |
715 | DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0)) | |
716 | so("296102734", hit, 1, 1) | |
717 | else | |
718 | DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(0.88235294117647, 0.88235294117647, 0.88235294117647)) | |
719 | end | |
720 | end | |
721 | end | |
722 | end | |
723 | do | |
724 | if Type == "Normal" then | |
725 | local vp = Instance.new("BodyVelocity") | |
726 | vp.P = 500 | |
727 | vp.maxForce = vt(math.huge, 0, math.huge) | |
728 | if KnockbackType == 1 then | |
729 | vp.Velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
730 | else | |
731 | if KnockbackType == 2 then | |
732 | vp.Velocity = Property.CFrame.lookVector * knockback | |
733 | end | |
734 | end | |
735 | if knockback > 0 then | |
736 | vp.Parent = hit.Parent.Torso | |
737 | end | |
738 | game:GetService("Debris"):AddItem(vp, 0.5) | |
739 | end | |
740 | local DebounceHit = Instance.new("BoolValue", hit.Parent) | |
741 | DebounceHit.Name = "DebounceHit" | |
742 | DebounceHit.Value = true | |
743 | game:GetService("Debris"):AddItem(DebounceHit, Delay) | |
744 | end | |
745 | end | |
746 | end | |
747 | end | |
748 | end | |
749 | end | |
750 | end | |
751 | end | |
752 | end | |
753 | end | |
754 | ||
755 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat) | |
756 | ||
757 | for _,c in pairs(workspace:GetChildren()) do | |
758 | local hum = (c:FindFirstChild("Humanoid")) | |
759 | local head = nil | |
760 | if hum ~= nil then | |
761 | head = c:FindFirstChild("Torso") | |
762 | if head ~= nil then | |
763 | local targ = head.Position - Part.Position | |
764 | local mag = targ.magnitude | |
765 | if mag <= magni and c.Name ~= Player.Name then | |
766 | Damagefunc(head, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat) | |
767 | end | |
768 | end | |
769 | do | |
770 | for _,d in pairs(c:GetChildren()) do | |
771 | if d.ClassName == "Model" and ranged ~= true then | |
772 | head = d:FindFirstChild("Hitbox") | |
773 | if head ~= nil then | |
774 | local targ = head.Position - Part.Position | |
775 | local mag = targ.magnitude | |
776 | if mag <= magni and c.Name ~= Player.Name then | |
777 | local hitrefpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt()) | |
778 | hitrefpart.Anchored = true | |
779 | hitrefpart.CFrame = cf(head.Position) | |
780 | so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hitrefpart, 1, 1) | |
781 | StaggerHitAnim.Value = true | |
782 | end | |
783 | end | |
784 | end | |
785 | end | |
786 | do | |
787 | -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out DO_STMT | |
788 | ||
789 | -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
790 | ||
791 | -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_STMT | |
792 | ||
793 | end | |
794 | end | |
795 | end | |
796 | end | |
797 | end | |
798 | ||
799 | MagniBufforDebuff = function(Part, Magni, Type, Stat, Amount, Duration, ShowTheBufforDebuff, ApplyToOthersInstead) | |
800 | ||
801 | if Player.Neutral == true then | |
802 | if Type == "Buff" then | |
803 | IncreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff) | |
804 | else | |
805 | if Type == "Debuff" then | |
806 | DecreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff) | |
807 | end | |
808 | end | |
809 | end | |
810 | for _,c in pairs(workspace:GetChildren()) do | |
811 | local hum = (c:FindFirstChild("Humanoid")) | |
812 | local head = nil | |
813 | if hum ~= nil then | |
814 | head = c:FindFirstChild("Torso") | |
815 | if head ~= nil then | |
816 | local targ = head.Position - Part.Position | |
817 | local mag = targ.magnitude | |
818 | -- DECOMPILER ERROR at PC83: Unhandled construct in 'MakeBoolean' P1 | |
819 | ||
820 | if ApplyToOthersInstead == true and mag <= Magni and c.Name ~= Player.Name and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then | |
821 | if Type == "Buff" then | |
822 | IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff) | |
823 | else | |
824 | if Type == "Debuff" then | |
825 | DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff) | |
826 | end | |
827 | end | |
828 | end | |
829 | end | |
830 | end | |
831 | if ApplyToOthersInstead == false and mag <= Magni and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then | |
832 | if Type == "Buff" then | |
833 | IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff) | |
834 | else | |
835 | if Type == "Debuff" then | |
836 | DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff) | |
837 | end | |
838 | end | |
839 | end | |
840 | end | |
841 | end | |
842 | ||
843 | Lightning = function(p0, p1, tym, ofs, brickcolor, material, th, tra, last) | |
844 | ||
845 | local magz = p0 - p1.magnitude | |
846 | local curpos = p0 | |
847 | local trz = {-ofs, ofs} | |
848 | for i = 1, tym do | |
849 | local li = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt(th, th, magz / tym)) | |
850 | do | |
851 | li.Anchored = true | |
852 | local ofz = vt(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
853 | local trolpos = cf(curpos, p1) * cf(0, 0, magz / tym).p + ofz | |
854 | if tym == i then | |
855 | local magz2 = curpos - p1.magnitude | |
856 | li.Size = vt(th, th, magz2) | |
857 | li.CFrame = cf(curpos, p1) * cf(0, 0, -magz2 / 2) | |
858 | else | |
859 | do | |
860 | do | |
861 | li.CFrame = cf(curpos, trolpos) * cf(0, 0, magz / tym / 2) | |
862 | curpos = li.CFrame * cf(0, 0, magz / tym / 2).p | |
863 | game.Debris:AddItem(li, last) | |
864 | coroutine.resume(coroutine.create(function() | |
865 | ||
866 | while li.Transparency ~= 1 do | |
867 | for i = 0, 1, last do | |
868 | hbwait() | |
869 | li.Transparency = li.Transparency + 0.1 / last | |
870 | end | |
871 | end | |
872 | end | |
873 | )) | |
874 | end | |
875 | -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
876 | ||
877 | -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_STMT | |
878 | ||
879 | -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out DO_STMT | |
880 | ||
881 | end | |
882 | end | |
883 | end | |
884 | end | |
885 | end | |
886 | ||
887 | MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay) | |
888 | ||
889 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
890 | prt.Anchored = true | |
891 | prt.CFrame = cframe | |
892 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1)) | |
893 | game:GetService("Debris"):AddItem(prt, 10) | |
894 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
895 | ||
896 | for i = 0, 1, delay do | |
897 | hbwait() | |
898 | Part.CFrame = Part.CFrame | |
899 | Part.Transparency = i | |
900 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
901 | end | |
902 | Part.Parent = nil | |
903 | end | |
904 | ), prt, msh) | |
905 | end | |
906 | ||
907 | MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay) | |
908 | ||
909 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
910 | prt.Anchored = true | |
911 | prt.CFrame = cframe | |
912 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, -0.1 * z1), vt(x1, y1, z1)) | |
913 | game:GetService("Debris"):AddItem(prt, 10) | |
914 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
915 | ||
916 | for i = 0, 1, delay do | |
917 | hbwait() | |
918 | Part.CFrame = Part.CFrame | |
919 | Part.Transparency = i | |
920 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
921 | end | |
922 | Part.Parent = nil | |
923 | end | |
924 | ), prt, msh) | |
925 | end | |
926 | ||
927 | MagicBlock = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay) | |
928 | ||
929 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
930 | prt.Anchored = true | |
931 | prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
932 | local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
933 | game:GetService("Debris"):AddItem(prt, 10) | |
934 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
935 | ||
936 | for i = 0, 1, delay do | |
937 | hbwait() | |
938 | if rotate == true then | |
939 | Part.CFrame = Part.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
940 | end | |
941 | Part.Transparency = i | |
942 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
943 | end | |
944 | Part.Parent = nil | |
945 | end | |
946 | ), prt, msh) | |
947 | end | |
948 | ||
949 | MagicBlock2 = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay) | |
950 | ||
951 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
952 | prt.Anchored = true | |
953 | prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
954 | local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
955 | game:GetService("Debris"):AddItem(prt, 10) | |
956 | CF = prt.CFrame | |
957 | num = math.random(5, 20) | |
958 | coroutine.resume(coroutine.create(function(Part, Mesh, CF2, Num) | |
959 | ||
960 | for i = 0, 1, delay do | |
961 | hbwait() | |
962 | if rotate == true then | |
963 | Part.CFrame = CF2 * cf(0, i * Num, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
964 | else | |
965 | Part.CFrame = CF2 * cf(0, i * Num, 0) | |
966 | end | |
967 | Part.Transparency = i | |
968 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
969 | end | |
970 | Part.Parent = nil | |
971 | end | |
972 | ), prt, msh, CF, num) | |
973 | end | |
974 | ||
975 | MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay) | |
976 | ||
977 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
978 | prt.Anchored = true | |
979 | prt.CFrame = cframe | |
980 | local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
981 | game:GetService("Debris"):AddItem(prt, 10) | |
982 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
983 | ||
984 | for i = 0, 1, delay do | |
985 | hbwait() | |
986 | Part.Transparency = i | |
987 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
988 | end | |
989 | Part.Parent = nil | |
990 | end | |
991 | ), prt, msh) | |
992 | end | |
993 | ||
994 | MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay) | |
995 | ||
996 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
997 | prt.Anchored = true | |
998 | prt.CFrame = cframe | |
999 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1000 | game:GetService("Debris"):AddItem(prt, 10) | |
1001 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1002 | ||
1003 | for i = 0, 1, delay do | |
1004 | hbwait() | |
1005 | Part.Transparency = i | |
1006 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1007 | end | |
1008 | Part.Parent = nil | |
1009 | end | |
1010 | ), prt, msh) | |
1011 | end | |
1012 | ||
1013 | MagicHead = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1014 | ||
1015 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
1016 | prt.Anchored = true | |
1017 | prt.CFrame = cframe | |
1018 | local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1019 | game:GetService("Debris"):AddItem(prt, 10) | |
1020 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1021 | ||
1022 | for i = 0, 1, delay do | |
1023 | hbwait() | |
1024 | Part.Transparency = i | |
1025 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1026 | end | |
1027 | Part.Parent = nil | |
1028 | end | |
1029 | ), prt, msh) | |
1030 | end | |
1031 | ||
1032 | BreakEffect = function(brickcolor, material, rotate, cframe, x1, y1, z1, delay) | |
1033 | ||
1034 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
1035 | prt.Anchored = true | |
1036 | prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1037 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1038 | game:GetService("Debris"):AddItem(prt, 10) | |
1039 | coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb) | |
1040 | ||
1041 | CF = Part.CFrame | |
1042 | Numbb = 0 | |
1043 | randnumb = math.random() - math.random() | |
1044 | for i = 0, 1, delay do | |
1045 | hbwait() | |
1046 | CF = CF * cf(0, 1, 0) | |
1047 | if rotate == true then | |
1048 | Part.CFrame = CF * angles(Numbb, 0, 0) | |
1049 | else | |
1050 | if rotate == false then | |
1051 | Part.CFrame = CF | |
1052 | end | |
1053 | end | |
1054 | Part.Transparency = i | |
1055 | Numbb = Numbb + (randnumb) | |
1056 | end | |
1057 | Part.Parent = nil | |
1058 | end | |
1059 | ), prt, CF, Numbb, randnumb) | |
1060 | end | |
1061 | ||
1062 | ElecEffect = function(brickcolor, material, cf, x, y, z, delay) | |
1063 | ||
1064 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
1065 | prt.Anchored = true | |
1066 | prt.CFrame = cf | |
1067 | xval = math.random() | |
1068 | yval = math.random() | |
1069 | zval = math.random() | |
1070 | local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x, y, z)) | |
1071 | game:GetService("Debris"):AddItem(prt, 10) | |
1072 | coroutine.resume(coroutine.create(function(Part, Mesh, xvaal, yvaal, zvaal) | |
1073 | ||
1074 | for i = 0, 1, delay do | |
1075 | hbwait() | |
1076 | Part.CFrame = Part.CFrame | |
1077 | xvaal = xvaal - 0.1 * (delay * 10) | |
1078 | yvaal = yvaal - 0.1 * (delay * 10) | |
1079 | zvaal = zvaal - 0.1 * (delay * 10) | |
1080 | Mesh.Scale = Mesh.Scale + vt(xvaal, yvaal, zvaal) | |
1081 | Part.Transparency = i | |
1082 | end | |
1083 | Part.Parent = nil | |
1084 | end | |
1085 | ), prt, msh, xval, yval, zval) | |
1086 | end | |
1087 | ||
1088 | TrailEffect = function(brickcolor, material, currentcf, oldcf, meshtype, reflectance, size, x, y, z, delay) | |
1089 | ||
1090 | local magnitudecframe = currentcf.p - oldcf.p.magnitude | |
1091 | if magnitudecframe > 0.01 then | |
1092 | local prt = part(3, Effects, material, reflectance, 0, brickcolor, "Effect", vt(1, magnitudecframe, 1)) | |
1093 | prt.Anchored = true | |
1094 | prt.CFrame = cf((currentcf.p + oldcf.p) / 2, oldcf.p) * angles(rad(90), 0, 0) | |
1095 | local TheMeshType = "BlockMesh" | |
1096 | if meshtype == "Cylinder" then | |
1097 | TheMeshType = "CylinderMesh" | |
1098 | end | |
1099 | local msh = mesh(TheMeshType, prt, "", "", vt(0, 0, 0), vt(0 + size, 1, 0 + size)) | |
1100 | game:GetService("Debris"):AddItem(prt, 10) | |
1101 | coroutine.resume(coroutine.create(function(Part, Mesh, TheCurrentCFrame, TheLastCFrame) | |
1102 | ||
1103 | for i = 0, 1, delay do | |
1104 | hbwait() | |
1105 | Part.Transparency = i | |
1106 | Mesh.Scale = Mesh.Scale + vt(x, y, z) | |
1107 | end | |
1108 | Part.Parent = nil | |
1109 | end | |
1110 | ), prt, msh, currentcf, oldcf) | |
1111 | end | |
1112 | end | |
1113 | ||
1114 | ClangEffect = function(brickcolor, material, cframe, angle, duration, size, power, reflectance, x, y, z, delay) | |
1115 | ||
1116 | local prt = part(3, Effects, material, 0, 1, brickcolor, "Effect", vt()) | |
1117 | prt.Anchored = true | |
1118 | prt.CFrame = cframe | |
1119 | local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(0, 0, 0)) | |
1120 | game:GetService("Debris"):AddItem(prt, 10) | |
1121 | local TheLastPoint = cframe | |
1122 | coroutine.resume(coroutine.create(function(Part) | |
1123 | ||
1124 | for i = 1, duration do | |
1125 | hbwait() | |
1126 | Part.CFrame = Part.CFrame * angles(rad(angle), 0, 0) * cf(0, power, 0) | |
1127 | TrailEffect(brickcolor, material, Part.CFrame, TheLastPoint, "Cylinder", reflectance, size, x, y, z, delay) | |
1128 | TheLastPoint = Part.CFrame | |
1129 | end | |
1130 | Part.Parent = nil | |
1131 | end | |
1132 | ), prt) | |
1133 | end | |
1134 | ||
1135 | MagicCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1136 | ||
1137 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
1138 | prt.Anchored = true | |
1139 | prt.CFrame = cframe | |
1140 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(x1, y1, z1)) | |
1141 | game:GetService("Debris"):AddItem(prt, 10) | |
1142 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1143 | ||
1144 | for i = 0, 1, delay do | |
1145 | hbwait() | |
1146 | Part.Transparency = i | |
1147 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1148 | end | |
1149 | Part.Parent = nil | |
1150 | end | |
1151 | ), prt, msh) | |
1152 | end | |
1153 | ||
1154 | MagicFlatCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1155 | ||
1156 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
1157 | prt.Anchored = true | |
1158 | prt.CFrame = cframe | |
1159 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(x1, y1, z1)) | |
1160 | game:GetService("Debris"):AddItem(prt, 10) | |
1161 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1162 | ||
1163 | for i = 0, 1, delay do | |
1164 | hbwait() | |
1165 | Part.Transparency = i | |
1166 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1167 | end | |
1168 | Part.Parent = nil | |
1169 | end | |
1170 | ), prt, msh) | |
1171 | end | |
1172 | ||
1173 | MagicSpikedCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1174 | ||
1175 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
1176 | prt.Anchored = true | |
1177 | prt.CFrame = cframe | |
1178 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(x1, y1, z1)) | |
1179 | game:GetService("Debris"):AddItem(prt, 10) | |
1180 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1181 | ||
1182 | for i = 0, 1, delay do | |
1183 | hbwait() | |
1184 | Part.Transparency = i | |
1185 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1186 | end | |
1187 | Part.Parent = nil | |
1188 | end | |
1189 | ), prt, msh) | |
1190 | end | |
1191 | ||
1192 | MagicCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1193 | ||
1194 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
1195 | prt.Anchored = true | |
1196 | prt.CFrame = cframe | |
1197 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(x1, y1, z1)) | |
1198 | game:GetService("Debris"):AddItem(prt, 10) | |
1199 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1200 | ||
1201 | for i = 0, 1, delay do | |
1202 | hbwait() | |
1203 | Part.Transparency = i | |
1204 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1205 | end | |
1206 | Part.Parent = nil | |
1207 | end | |
1208 | ), prt, msh) | |
1209 | end | |
1210 | ||
1211 | MagicSkull = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1212 | ||
1213 | local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt()) | |
1214 | prt.Anchored = true | |
1215 | prt.CFrame = cframe | |
1216 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1)) | |
1217 | game:GetService("Debris"):AddItem(prt, 10) | |
1218 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1219 | ||
1220 | for i = 0, 1, delay do | |
1221 | hbwait() | |
1222 | Part.Transparency = i | |
1223 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1224 | end | |
1225 | Part.Parent = nil | |
1226 | end | |
1227 | ), prt, msh) | |
1228 | end | |
1229 | ||
1230 | local startequipped = true | |
1231 | local startequippedwithequipanimation = false | |
1232 | local disableanimator = true | |
1233 | local disableanimate = true | |
1234 | local alternatewalk = false | |
1235 | local hidemenu = false | |
1236 | local allowmenutofunction = false | |
1237 | local allowabilitiestofunction = false | |
1238 | local canunequiporequip = false | |
1239 | local allowwalking = false | |
1240 | local disablemovingarms = false | |
1241 | local usemotorsinsteadofwelds = false | |
1242 | local leftarm = false | |
1243 | local rightarm = false | |
1244 | local allowhopperbin = false | |
1245 | local showstunbar = false | |
1246 | local walkspeeddependsonmovementvalue = true | |
1247 | local alternatemanaregensystem = false | |
1248 | local showhealthmanaandstunnumbers = false | |
1249 | local changebarcolorsifnotenoughmana = false | |
1250 | local disablejump = false | |
1251 | if hidemenu == true or allowmenutofunction == false then | |
1252 | for _,v in pairs(scrn:GetChildren()) do | |
1253 | if v.ClassName == "Frame" or v.ClassName == "TextLabel" then | |
1254 | v.Visible = false | |
1255 | v.BorderSizePixel = 0 | |
1256 | end | |
1257 | end | |
1258 | end | |
1259 | do | |
1260 | Humanoid.Changed:connect(function(Jump) | |
1261 | ||
1262 | if Jump == "Jump" and disablejump == true then | |
1263 | Humanoid.Jump = false | |
1264 | end | |
1265 | end | |
1266 | ) | |
1267 | if allowmenutofunction == true then | |
1268 | for _,v in pairs(scrn:GetChildren()) do | |
1269 | if v.ClassName == "Frame" then | |
1270 | for _,b in pairs(v:GetChildren()) do | |
1271 | if b.ClassName == "TextLabel" then | |
1272 | coroutine.resume(coroutine.create(function(TheTextLabel) | |
1273 | ||
1274 | wait(menuupdatespeed) | |
1275 | for i = 1, 0, -0.1 do | |
1276 | hbwait() | |
1277 | TheTextLabel.TextTransparency = i | |
1278 | TheTextLabel.TextStrokeTransparency = i | |
1279 | end | |
1280 | TheTextLabel.TextTransparency = 0 | |
1281 | TheTextLabel.TextStrokeTransparency = 0 | |
1282 | end | |
1283 | ), b) | |
1284 | if showstats == true then | |
1285 | coroutine.resume(coroutine.create(function(TheTextLabel) | |
1286 | ||
1287 | wait(menuupdatespeed) | |
1288 | for i = 1, 0, -0.1 do | |
1289 | hbwait() | |
1290 | TheTextLabel.TextTransparency = i | |
1291 | TheTextLabel.TextStrokeTransparency = i | |
1292 | end | |
1293 | TheTextLabel.TextTransparency = 0 | |
1294 | TheTextLabel.TextStrokeTransparency = 0 | |
1295 | end | |
1296 | ), b) | |
1297 | end | |
1298 | if showstunbar == true then | |
1299 | coroutine.resume(coroutine.create(function(TheTextLabel) | |
1300 | ||
1301 | wait(menuupdatespeed) | |
1302 | for i = 1, 0, -0.1 do | |
1303 | hbwait() | |
1304 | TheTextLabel.TextTransparency = i | |
1305 | TheTextLabel.TextStrokeTransparency = i | |
1306 | end | |
1307 | TheTextLabel.TextTransparency = 0 | |
1308 | TheTextLabel.TextStrokeTransparency = 0 | |
1309 | end | |
1310 | ), b) | |
1311 | end | |
1312 | if allowabilitiestofunction == true then | |
1313 | coroutine.resume(coroutine.create(function(TheTextLabel) | |
1314 | ||
1315 | wait(menuupdatespeed) | |
1316 | for i = 1, 0, -0.1 do | |
1317 | hbwait() | |
1318 | TheTextLabel.TextTransparency = i | |
1319 | TheTextLabel.TextStrokeTransparency = i | |
1320 | end | |
1321 | TheTextLabel.TextTransparency = 0 | |
1322 | TheTextLabel.TextStrokeTransparency = 0 | |
1323 | end | |
1324 | ), b) | |
1325 | end | |
1326 | end | |
1327 | end | |
1328 | end | |
1329 | end | |
1330 | end | |
1331 | do | |
1332 | if allowhopperbin == true then | |
1333 | if script.Parent.className ~= "HopperBin" then | |
1334 | Tool = Instance.new("HopperBin") | |
1335 | Tool.Parent = Backpack | |
1336 | Tool.Name = WeaponName | |
1337 | script.Parent = Tool | |
1338 | end | |
1339 | Bin = script.Parent | |
1340 | end | |
1341 | if disablemovingarms == true then | |
1342 | RWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0)) | |
1343 | LWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0)) | |
1344 | RSH = nil | |
1345 | if usemotorsinsteadofwelds == true then | |
1346 | RW = Instance.new("Motor") | |
1347 | LW = Instance.new("Motor") | |
1348 | else | |
1349 | RW = Instance.new("Weld") | |
1350 | LW = Instance.new("Weld") | |
1351 | end | |
1352 | RW.Name = "Right Shoulder" | |
1353 | LW.Name = "Left Shoulder" | |
1354 | RSH = Torso["Right Shoulder"] | |
1355 | LSH = Torso["Left Shoulder"] | |
1356 | RSH.Parent = Torso | |
1357 | LSH.Parent = Torso | |
1358 | RW.Name = "Right Shoulder" | |
1359 | RW.Part0 = Torso | |
1360 | RW.C0 = cf(1.5, 0.5, 0) | |
1361 | RW.C1 = cf(0, 0.5, 0) | |
1362 | RW.Part1 = Character["Right Arm"] | |
1363 | RW.Parent = nil | |
1364 | LW.Name = "Left Shoulder" | |
1365 | LW.Part0 = Torso | |
1366 | LW.C0 = cf(-1.5, 0.5, 0) | |
1367 | LW.C1 = cf(0, 0.5, 0) | |
1368 | LW.Part1 = Character["Left Arm"] | |
1369 | LW.Parent = nil | |
1370 | else | |
1371 | RW = Torso["Right Shoulder"] | |
1372 | LW = Torso["Left Shoulder"] | |
1373 | RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0)) | |
1374 | LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0)) | |
1375 | end | |
1376 | equipanim = function() | |
1377 | ||
1378 | attack = true | |
1379 | Movement.Value = Movement.Value - 0.1 | |
1380 | Defense.Value = Defense.Value + 0.4 | |
1381 | for i = 0, 1, 0.08 / animationspeed do | |
1382 | hbwait() | |
1383 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1384 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1385 | RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed) | |
1386 | LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed) | |
1387 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1388 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1389 | end | |
1390 | attack = false | |
1391 | end | |
1392 | ||
1393 | unequipanim = function() | |
1394 | ||
1395 | attack = true | |
1396 | for i = 0, 1, 0.08 / animationspeed do | |
1397 | hbwait() | |
1398 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1399 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)), 0.3 / animationspeed) | |
1400 | RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed) | |
1401 | LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed) | |
1402 | if disablemovingarms == false then | |
1403 | RW.C1 = clerp(RW.C1, angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed) | |
1404 | LW.C1 = clerp(LW.C1, angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed) | |
1405 | end | |
1406 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1407 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1408 | RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed) | |
1409 | LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed) | |
1410 | end | |
1411 | RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) | |
1412 | Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0)) | |
1413 | Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize) | |
1414 | RW.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0 | |
1415 | LW.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0 | |
1416 | if disablemovingarms == false then | |
1417 | RW.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5) | |
1418 | LW.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5) | |
1419 | end | |
1420 | RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)) | |
1421 | LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)) | |
1422 | RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize) | |
1423 | LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize) | |
1424 | Movement.Value = Movement.Value + 0.1 | |
1425 | Defense.Value = Defense.Value - 0.4 | |
1426 | attack = false | |
1427 | end | |
1428 | ||
1429 | if startequipped == true then | |
1430 | equipped = true | |
1431 | if disableanimate == true then | |
1432 | Animate.Disabled = true | |
1433 | local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation) | |
1434 | idleanimation:Play() | |
1435 | end | |
1436 | if disableanimator == true then | |
1437 | Animator.Parent = nil | |
1438 | end | |
1439 | if disablemovingarms == true then | |
1440 | RW.Parent = Torso | |
1441 | LW.Parent = Torso | |
1442 | RSH.Parent = nil | |
1443 | LSH.Parent = nil | |
1444 | end | |
1445 | Movement.Value = Movement.Value - 0.1 | |
1446 | Defense.Value = Defense.Value + 0.4 | |
1447 | end | |
1448 | if startequippedwithequipanimation == true then | |
1449 | equipped = true | |
1450 | if disableanimate == true then | |
1451 | Animate.Disabled = true | |
1452 | local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation) | |
1453 | idleanimation:Play() | |
1454 | end | |
1455 | if disableanimator == true then | |
1456 | Animator.Parent = nil | |
1457 | end | |
1458 | if disablemovingarms == true then | |
1459 | RW.Parent = Torso | |
1460 | LW.Parent = Torso | |
1461 | RSH.Parent = nil | |
1462 | LSH.Parent = nil | |
1463 | end | |
1464 | coroutine.resume(coroutine.create(function() | |
1465 | ||
1466 | hbwait() | |
1467 | equipanim() | |
1468 | end | |
1469 | )) | |
1470 | end | |
1471 | ||
1472 | StaggerHit = function() | |
1473 | ||
1474 | attack = true | |
1475 | if Hitbox ~= nil then | |
1476 | for i = 1, math.random(2, 4) do | |
1477 | ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1) | |
1478 | end | |
1479 | end | |
1480 | do | |
1481 | for i = 0, 1, 0.1 / animationspeed do | |
1482 | hbwait() | |
1483 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-30)), 0.3 / animationspeed) | |
1484 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(30)) * angles(rad(5), rad(0), rad(0)), 0.3 / animationspeed) | |
1485 | RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-30), rad(0), rad(60)) * angles(rad(0), rad(-30), rad(0)) * RWC0, 0.3 / animationspeed) | |
1486 | LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(-20)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed) | |
1487 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.9 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-10), rad(0), rad(-20)), 0.3 / animationspeed) | |
1488 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-70), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed) | |
1489 | if StaggerAnim.Value ~= true then | |
1490 | do | |
1491 | if StunAnim.Value == true then | |
1492 | break | |
1493 | end | |
1494 | -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1495 | ||
1496 | -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_STMT | |
1497 | ||
1498 | end | |
1499 | end | |
1500 | end | |
1501 | attack = false | |
1502 | end | |
1503 | end | |
1504 | ||
1505 | Stagger = function() | |
1506 | ||
1507 | attack = true | |
1508 | disablejump = true | |
1509 | if Hitbox ~= nil then | |
1510 | for i = 1, math.random(2, 4) do | |
1511 | ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1) | |
1512 | end | |
1513 | end | |
1514 | do | |
1515 | attacktype = 1 | |
1516 | DamageStatLabel("Interruption", Head.CFrame, "Staggered!", Color3.new(1, 1, 0)) | |
1517 | local staggervelocity = Instance.new("BodyVelocity", Torso) | |
1518 | staggervelocity.P = 500 | |
1519 | staggervelocity.maxForce = vt(math.huge, 0, math.huge) | |
1520 | if Rooted.Value == false then | |
1521 | staggervelocity.Velocity = RootPart.CFrame.lookVector * -25 | |
1522 | end | |
1523 | for i = 0, 1, 0.35 / animationspeed do | |
1524 | hbwait() | |
1525 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * PlayerSize) * angles(rad(-20), rad(0), rad(-30)), 0.3 / animationspeed) | |
1526 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1527 | RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed) | |
1528 | LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed) | |
1529 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed) | |
1530 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed) | |
1531 | end | |
1532 | for i = 0, 1, 0.2 / animationspeed do | |
1533 | hbwait() | |
1534 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.2 * PlayerSize) * angles(rad(-30), rad(0), rad(-30)), 0.3 / animationspeed) | |
1535 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1536 | RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed) | |
1537 | LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed) | |
1538 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed) | |
1539 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.9 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(30)), 0.3 / animationspeed) | |
1540 | end | |
1541 | staggervelocity:Destroy() | |
1542 | for i = 0, 1, 0.015 / animationspeed do | |
1543 | hbwait() | |
1544 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.8 * PlayerSize) * angles(rad(0), rad(0), rad(-20)) * angles(rad(-5), rad(-5), rad(0)), 0.3 / animationspeed) | |
1545 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(20), rad(0), rad(20)) * angles(rad(0), rad(5), rad(0)), 0.3 / animationspeed) | |
1546 | RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(20)) * angles(rad(0), rad(-20), rad(0)) * RWC0, 0.3 / animationspeed) | |
1547 | LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-15), rad(0), rad(-10)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed) | |
1548 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(80), rad(0)) * angles(rad(0), rad(0), rad(70)) * angles(rad(0), rad(30), rad(0)), 0.3 / animationspeed) | |
1549 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, 0.4 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(-80), rad(0)) * angles(rad(-2.5), rad(0), rad(-10)), 0.3 / animationspeed) | |
1550 | if StunAnim.Value == true then | |
1551 | break | |
1552 | end | |
1553 | end | |
1554 | do | |
1555 | attacktype = 1 | |
1556 | disablejump = false | |
1557 | attack = false | |
1558 | end | |
1559 | end | |
1560 | end | |
1561 | ||
1562 | Stun = function() | |
1563 | ||
1564 | attack = true | |
1565 | disablejump = true | |
1566 | attacktype = 1 | |
1567 | DamageStatLabel("Interruption", Head.CFrame, "Stunned!", Color3.new(1, 1, 0)) | |
1568 | for i = 0, 1, 0.4 / animationspeed do | |
1569 | hbwait() | |
1570 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(15), rad(0), rad(-160)), 0.3 / animationspeed) | |
1571 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(10), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1572 | RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(15)) * RWC0, 0.3 / animationspeed) | |
1573 | LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(-15)) * LWC0, 0.3 / animationspeed) | |
1574 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed) | |
1575 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed) | |
1576 | end | |
1577 | for i = 0, 1, 0.4 / animationspeed do | |
1578 | hbwait() | |
1579 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.5 * PlayerSize) * angles(rad(45), rad(0), rad(-170)), 0.3 / animationspeed) | |
1580 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1581 | RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(45)) * RWC0, 0.3 / animationspeed) | |
1582 | LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(-45)) * LWC0, 0.3 / animationspeed) | |
1583 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed) | |
1584 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed) | |
1585 | end | |
1586 | for i = 0, 1, 0.4 / animationspeed do | |
1587 | hbwait() | |
1588 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1 * PlayerSize) * angles(rad(75), rad(0), rad(-180)), 0.3 / animationspeed) | |
1589 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-60)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1590 | RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(75)) * RWC0, 0.3 / animationspeed) | |
1591 | LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-45), rad(0), rad(-75)) * LWC0, 0.3 / animationspeed) | |
1592 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed) | |
1593 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-30)), 0.3 / animationspeed) | |
1594 | end | |
1595 | Humanoid.AutoRotate = false | |
1596 | for i = 1, 70 * animationspeed do | |
1597 | hbwait() | |
1598 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -2.5 * PlayerSize) * angles(rad(90), rad(0), rad(-180)), 0.3 / animationspeed) | |
1599 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-90)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1600 | RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(-10), rad(90)) * RWC0, 0.3 / animationspeed) | |
1601 | LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-90), rad(0), rad(-90)) * LWC0, 0.3 / animationspeed) | |
1602 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0.2 * PlayerSize) * angles(rad(0), rad(70), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed) | |
1603 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-100), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed) | |
1604 | end | |
1605 | for i = 0, 1, 0.15 / animationspeed do | |
1606 | hbwait() | |
1607 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.5 * PlayerSize) * angles(rad(20), rad(0), rad(100)), 0.3 / animationspeed) | |
1608 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed) | |
1609 | RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(30)) * RWC0, 0.3 / animationspeed) | |
1610 | LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(20)) * LWC0, 0.3 / animationspeed) | |
1611 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(60), rad(0)) * angles(rad(-5), rad(0), rad(70)), 0.3 / animationspeed) | |
1612 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.25 * PlayerSize, -1 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-10), rad(0), rad(20)), 0.3 / animationspeed) | |
1613 | end | |
1614 | Humanoid.AutoRotate = true | |
1615 | attacktype = 1 | |
1616 | disablejump = false | |
1617 | attack = false | |
1618 | end | |
1619 | ||
1620 | EAbility = function() | |
1621 | ||
1622 | attack = true | |
1623 | attack = false | |
1624 | end | |
1625 | ||
1626 | Attack1 = function() | |
1627 | ||
1628 | attack = true | |
1629 | attack = false | |
1630 | end | |
1631 | ||
1632 | Attack2 = function() | |
1633 | ||
1634 | attack = true | |
1635 | attack = false | |
1636 | end | |
1637 | ||
1638 | Attack3 = function() | |
1639 | ||
1640 | attack = true | |
1641 | attack = false | |
1642 | end | |
1643 | ||
1644 | Attack4 = function() | |
1645 | ||
1646 | attack = true | |
1647 | attack = false | |
1648 | end | |
1649 | ||
1650 | Move1 = function() | |
1651 | ||
1652 | attack = true | |
1653 | attack = false | |
1654 | end | |
1655 | ||
1656 | Move2 = function() | |
1657 | ||
1658 | attack = true | |
1659 | attack = false | |
1660 | end | |
1661 | ||
1662 | Move3 = function() | |
1663 | ||
1664 | attack = true | |
1665 | attack = false | |
1666 | end | |
1667 | ||
1668 | Move4 = function() | |
1669 | ||
1670 | attack = true | |
1671 | attack = false | |
1672 | end | |
1673 | ||
1674 | hold = false | |
1675 | Mouse.Button1Down:connect(function() | |
1676 | ||
1677 | if attack == true or equipped == false then | |
1678 | return | |
1679 | end | |
1680 | hold = true | |
1681 | if attacktype == 1 then | |
1682 | attacktype = 2 | |
1683 | Attack1() | |
1684 | else | |
1685 | if attacktype == 2 then | |
1686 | attacktype = 3 | |
1687 | Attack2() | |
1688 | else | |
1689 | if attacktype == 3 then | |
1690 | attacktype = 4 | |
1691 | Attack3() | |
1692 | else | |
1693 | if attacktype == 4 then | |
1694 | attacktype = 1 | |
1695 | Attack4() | |
1696 | end | |
1697 | end | |
1698 | end | |
1699 | end | |
1700 | coroutine.resume(coroutine.create(function() | |
1701 | ||
1702 | for i = 1, 50 do | |
1703 | if attack == false then | |
1704 | hbwait() | |
1705 | end | |
1706 | end | |
1707 | if attack == false then | |
1708 | attacktype = 1 | |
1709 | end | |
1710 | end | |
1711 | )) | |
1712 | end | |
1713 | ) | |
1714 | if allowhopperbin == true then | |
1715 | ob1u = function(Mouse) | |
1716 | ||
1717 | hold = false | |
1718 | end | |
1719 | ||
1720 | end | |
1721 | Mouse.KeyDown:connect(function(key) | |
1722 | ||
1723 | if key == "f" and canunequiporequip == true and attack == false then | |
1724 | if equipped == false then | |
1725 | equipped = true | |
1726 | if disableanimate == true then | |
1727 | Animate.Disabled = true | |
1728 | local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation) | |
1729 | idleanimation:Play() | |
1730 | end | |
1731 | if disableanimator == true then | |
1732 | Animator.Parent = nil | |
1733 | end | |
1734 | if disablemovingarms == true then | |
1735 | RW.Parent = Torso | |
1736 | LW.Parent = Torso | |
1737 | RSH.Parent = nil | |
1738 | LSH.Parent = nil | |
1739 | end | |
1740 | equipanim() | |
1741 | elseif equipped == true then | |
1742 | equipped = false | |
1743 | unequipanim() | |
1744 | hbwait() | |
1745 | if disablemovingarms == true then | |
1746 | RW.Parent = nil | |
1747 | LW.Parent = nil | |
1748 | RSH.Parent = Torso | |
1749 | LSH.Parent = Torso | |
1750 | end | |
1751 | if disableanimator == true then | |
1752 | Animator.Parent = Humanoid | |
1753 | end | |
1754 | if disableanimate == true then | |
1755 | Animate.Disabled = false | |
1756 | end | |
1757 | end | |
1758 | end | |
1759 | if key == "e" and attack == false and equipped == true then | |
1760 | if animtype < 3 then | |
1761 | animtype = animtype + 1 | |
1762 | elseif animtype >= 3 then | |
1763 | animtype = 1 | |
1764 | end | |
1765 | end | |
1766 | if key == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1mana <= Mana.Value then | |
1767 | subtractmana(skill1mana) | |
1768 | cooldown1 = 0 | |
1769 | Move1() | |
1770 | end | |
1771 | if key == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2mana <= Mana.Value then | |
1772 | subtractmana(skill2mana) | |
1773 | cooldown2 = 0 | |
1774 | Move2() | |
1775 | end | |
1776 | if key == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3mana <= Mana.Value then | |
1777 | subtractmana(skill3mana) | |
1778 | cooldown3 = 0 | |
1779 | Move3() | |
1780 | end | |
1781 | if key == "v" and attack == false and equipped == true and co4 <= cooldown4 and skill4mana <= Mana.Value then | |
1782 | subtractmana(skill4mana) | |
1783 | cooldown4 = 0 | |
1784 | Move4() | |
1785 | end | |
1786 | if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then | |
1787 | if key == "q" then | |
1788 | Mana.Value = 100 | |
1789 | cooldown1 = co1 | |
1790 | cooldown2 = co2 | |
1791 | cooldown3 = co3 | |
1792 | cooldown4 = co4 | |
1793 | end | |
1794 | if key == "p" then | |
1795 | StaggerHitAnim.Value = true | |
1796 | end | |
1797 | if key == "[" then | |
1798 | StaggerAnim.Value = true | |
1799 | end | |
1800 | if key == "]" then | |
1801 | StunAnim.Value = true | |
1802 | end | |
1803 | end | |
1804 | end | |
1805 | ) | |
1806 | Mouse.KeyUp:connect(function(key2) | |
1807 | ||
1808 | end | |
1809 | ) | |
1810 | if allowhopperbin == true then | |
1811 | s = function(Mouse) | |
1812 | ||
1813 | Mouse.Button1Down:connect(function() | |
1814 | ||
1815 | ob1d(Mouse) | |
1816 | end | |
1817 | ) | |
1818 | Mouse.Button1Up:connect(function() | |
1819 | ||
1820 | ob1u(Mouse) | |
1821 | end | |
1822 | ) | |
1823 | Mouse.KeyDown:connect(key) | |
1824 | Mouse.KeyUp:connect(key2) | |
1825 | end | |
1826 | ||
1827 | end | |
1828 | if allowhopperbin == true then | |
1829 | ds = function(Mouse) | |
1830 | ||
1831 | end | |
1832 | ||
1833 | end | |
1834 | if allowhopperbin == true then | |
1835 | Bin.Selected:connect(s) | |
1836 | Bin.Deselected:connect(ds) | |
1837 | end | |
1838 | updateskills = function() | |
1839 | ||
1840 | if allowabilitiestofunction == true then | |
1841 | if cooldown1 <= co1 then | |
1842 | cooldown1 = cooldown1 + 0.033333333333333 | |
1843 | if co1 <= cooldown1 then | |
1844 | cooldown1 = co1 | |
1845 | end | |
1846 | end | |
1847 | if cooldown2 <= co2 then | |
1848 | cooldown2 = cooldown2 + 0.033333333333333 | |
1849 | if co2 <= cooldown2 then | |
1850 | cooldown2 = co2 | |
1851 | end | |
1852 | end | |
1853 | if cooldown3 <= co3 then | |
1854 | cooldown3 = cooldown3 + 0.033333333333333 | |
1855 | if co3 <= cooldown3 then | |
1856 | cooldown3 = co3 | |
1857 | end | |
1858 | end | |
1859 | if cooldown4 <= co4 then | |
1860 | cooldown4 = cooldown4 + 0.033333333333333 | |
1861 | if co4 <= cooldown4 then | |
1862 | cooldown4 = co4 | |
1863 | end | |
1864 | end | |
1865 | if changebarcolorsifnotenoughmana == true then | |
1866 | if Mana.Value <= skill1mana then | |
1867 | bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549) | |
1868 | else | |
1869 | bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3) | |
1870 | end | |
1871 | if Mana.Value <= skill2mana then | |
1872 | bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549) | |
1873 | else | |
1874 | bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3) | |
1875 | end | |
1876 | if Mana.Value <= skill3mana then | |
1877 | bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549) | |
1878 | else | |
1879 | bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3) | |
1880 | end | |
1881 | if Mana.Value <= skill4mana then | |
1882 | bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549) | |
1883 | else | |
1884 | bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3) | |
1885 | end | |
1886 | else | |
1887 | if changebarcolorsifnotenoughmana == false then | |
1888 | bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3) | |
1889 | bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3) | |
1890 | bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3) | |
1891 | bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3) | |
1892 | end | |
1893 | end | |
1894 | end | |
1895 | if alternatemanaregensystem == false then | |
1896 | if Mana.Value <= maxmana then | |
1897 | Mana.Value = Mana.Value + recovermana / 30 | |
1898 | else | |
1899 | if maxmana <= Mana.Value then | |
1900 | Mana.Value = maxmana | |
1901 | end | |
1902 | end | |
1903 | else | |
1904 | if alternatemanaregensystem == true then | |
1905 | if maxmana <= Mana.Value then | |
1906 | Mana.Value = maxmana | |
1907 | else | |
1908 | if manadelay <= manawait then | |
1909 | manadelay = manadelay + 1 | |
1910 | else | |
1911 | manadelay = 0 | |
1912 | Mana.Value = Mana.Value + 1 | |
1913 | end | |
1914 | end | |
1915 | end | |
1916 | end | |
1917 | if allowstunbar == true then | |
1918 | if StunValue.Value <= 0 then | |
1919 | StunValue.Value = 0 | |
1920 | else | |
1921 | if stundelay <= stunwait then | |
1922 | stundelay = stundelay + 1 | |
1923 | else | |
1924 | stundelay = 0 | |
1925 | StunValue.Value = StunValue.Value - 1 | |
1926 | end | |
1927 | end | |
1928 | else | |
1929 | if allowstunbar == false then | |
1930 | StunValue.Value = 0 | |
1931 | end | |
1932 | end | |
1933 | end | |
1934 | ||
1935 | if allowmenutofunction == true then | |
1936 | ArtificialHB.Event:connect(function() | |
1937 | ||
1938 | updateskills() | |
1939 | if allowabilitiestofunction == true then | |
1940 | framesk1:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1941 | framesk2:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1942 | framesk3:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1943 | framesk4:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1944 | bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1945 | bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1946 | bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1947 | bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1948 | end | |
1949 | manabar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1950 | manacover:TweenSize(ud(1 * (Mana.Value / maxmana), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1951 | healthbar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1952 | healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1953 | if allowstunbar == true and showstunbar == true and stunframe ~= nil then | |
1954 | stunframe:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1955 | stunbar:TweenSize(ud(1 * (StunValue.Value / maxstun), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1956 | end | |
1957 | if showhealthmanaandstunnumbers == true then | |
1958 | manatext.Text = "Mana [" .. math.floor(Mana.Value) .. "]" | |
1959 | healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]" | |
1960 | if allowstunbar == true and showstunbar == true then | |
1961 | stuntext.Text = "Stun [" .. math.floor(StunValue.Value) .. "]" | |
1962 | end | |
1963 | end | |
1964 | if showstats == true then | |
1965 | defenseframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1966 | damageframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1967 | movementframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate) | |
1968 | defensetext.Text = "Defense: " .. Defense.Value * 100 .. "%" | |
1969 | damagetext.Text = "Damage: " .. Damage.Value * 100 .. "%" | |
1970 | if Rooted.Value == false then | |
1971 | movementtext.Text = "Movement: " .. Movement.Value * 100 .. "%" | |
1972 | else | |
1973 | if Rooted.Value == true or Movement.Value <= 0 then | |
1974 | movementtext.Text = "Movement: 0%" | |
1975 | end | |
1976 | end | |
1977 | end | |
1978 | end | |
1979 | ) | |
1980 | end | |
1981 | while 1 do | |
1982 | hbwait() | |
1983 | if Hitbox ~= nil then | |
1984 | if attack == true then | |
1985 | Hitbox.Name = "Hitbox" | |
1986 | else | |
1987 | if attack == false then | |
1988 | Hitbox.Name = "NilHitbox" | |
1989 | end | |
1990 | end | |
1991 | end | |
1992 | if 0 < Humanoid.Health then | |
1993 | if walkspeeddependsonmovementvalue == true then | |
1994 | if Movement.Value < 0 or StaggerAnim.Value == true or StunAnim.Value == true or StaggerHitAnim.Value == true or Rooted.Value == true then | |
1995 | Humanoid.WalkSpeed = 0 | |
1996 | else | |
1997 | Humanoid.WalkSpeed = 16 * Movement.Value | |
1998 | end | |
1999 | end | |
2000 | if maxstun <= StunValue.Value then | |
2001 | StunValue.Value = 0 | |
2002 | StunAnim.Value = true | |
2003 | end | |
2004 | if StaggerAnim.Value == true and staggeranim == false then | |
2005 | coroutine.resume(coroutine.create(function() | |
2006 | ||
2007 | staggeranim = true | |
2008 | while attack == true do | |
2009 | hbwait() | |
2010 | end | |
2011 | Stagger() | |
2012 | StaggerAnim.Value = false | |
2013 | staggeranim = false | |
2014 | end | |
2015 | )) | |
2016 | end | |
2017 | if StaggerHitAnim.Value == true and staggerhitanim == false then | |
2018 | coroutine.resume(coroutine.create(function() | |
2019 | ||
2020 | staggerhitanim = true | |
2021 | while attack == true do | |
2022 | hbwait() | |
2023 | end | |
2024 | StaggerHit() | |
2025 | StaggerHitAnim.Value = false | |
2026 | staggerhitanim = false | |
2027 | end | |
2028 | )) | |
2029 | end | |
2030 | if (StunAnim.Value == true and stunanim == false) or 100 <= StunValue.Value then | |
2031 | coroutine.resume(coroutine.create(function() | |
2032 | ||
2033 | StunValue.Value = 0 | |
2034 | stunanim = true | |
2035 | while attack == true do | |
2036 | hbwait() | |
2037 | end | |
2038 | Stun() | |
2039 | StunAnim.Value = false | |
2040 | stunanim = false | |
2041 | end | |
2042 | )) | |
2043 | end | |
2044 | sine = sine + change | |
2045 | local torvel = (RootPart.Velocity * vt(1, 0, 1)).magnitude | |
2046 | local velderp = RootPart.Velocity.y | |
2047 | local lv = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position) | |
2048 | hitfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position + vt(0, -1, 0)).lookVector, 4 * PlayerSize, Character) | |
2049 | if 0.5 <= donum then | |
2050 | handidle = true | |
2051 | else | |
2052 | if donum <= 0 then | |
2053 | handidle = false | |
2054 | end | |
2055 | end | |
2056 | if handidle == false then | |
2057 | donum = donum + 0.003 / animationspeed | |
2058 | else | |
2059 | donum = donum - 0.003 / animationspeed | |
2060 | end | |
2061 | if equipped == true or equipped == false then | |
2062 | if attack == false then | |
2063 | idle = idle + 1 | |
2064 | else | |
2065 | idle = 0 | |
2066 | end | |
2067 | if leftarm == true then | |
2068 | if Anim == "Walk" and equipped == true and attack == false then | |
2069 | if alternatewalk == false then | |
2070 | if walkinganim == true then | |
2071 | LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2072 | else | |
2073 | LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2074 | end | |
2075 | else | |
2076 | if walkinganim == true then | |
2077 | LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2078 | else | |
2079 | LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2080 | end | |
2081 | end | |
2082 | else | |
2083 | -- DECOMPILER ERROR at PC2457: Unhandled construct in 'MakeBoolean' P3 | |
2084 | ||
2085 | if (Anim ~= "Walk" and equipped == true) or leftarm == false then | |
2086 | LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed) | |
2087 | end | |
2088 | end | |
2089 | end | |
2090 | if rightarm == true then | |
2091 | if Anim == "Walk" and equipped == true and attack == false then | |
2092 | if alternatewalk == false then | |
2093 | if walkinganim == true then | |
2094 | RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2095 | else | |
2096 | RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2097 | end | |
2098 | else | |
2099 | if walkinganim == true then | |
2100 | RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2101 | else | |
2102 | RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2103 | end | |
2104 | end | |
2105 | else | |
2106 | -- DECOMPILER ERROR at PC2648: Unhandled construct in 'MakeBoolean' P3 | |
2107 | ||
2108 | if (Anim ~= "Walk" and equipped == true) or rightarm == false then | |
2109 | RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed) | |
2110 | end | |
2111 | end | |
2112 | end | |
2113 | if allowwalking == true then | |
2114 | if Anim == "Walk" and equipped == true then | |
2115 | if alternatewalk == false then | |
2116 | if walkinganim == true then | |
2117 | RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2118 | LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2119 | else | |
2120 | RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2121 | LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2122 | end | |
2123 | else | |
2124 | if walkinganim == true then | |
2125 | RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2126 | LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2127 | else | |
2128 | RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2129 | LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed) | |
2130 | end | |
2131 | end | |
2132 | else | |
2133 | if Anim ~= "Walk" and equipped == true then | |
2134 | RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed) | |
2135 | LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed) | |
2136 | end | |
2137 | end | |
2138 | end | |
2139 | Anim = "Idle" | |
2140 | if attack == false then | |
2141 | if equipped == true then | |
2142 | if animtype == 1 then | |
2143 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed) | |
2144 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed) | |
2145 | RW.C0 = clerp(RW.C0, cf(1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(100), rad(0), rad(-80)) * angles(rad(-5 * math.sin((sine) / 4)), rad(90), rad(0)) * (RWC0), 1 / animationspeed) | |
2146 | LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(80), rad(0), rad(70)) * angles(rad(-5 * math.sin((sine) / 4)), rad(-90), rad(0)) * (LWC0), 1 / animationspeed) | |
2147 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed) | |
2148 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed) | |
2149 | end | |
2150 | if animtype == 2 then | |
2151 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(2.5 + 2.5 * math.cos((sine) / 4)), rad(0), rad(0)), 1 / animationspeed) | |
2152 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(2.5 * math.sin((sine) / 4)), rad(0), rad(0)), 1 / animationspeed) | |
2153 | RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(5), rad(10)) * angles(rad(60 * math.cos((sine) / 8)), rad(5), rad(0)) * (RWC0), 1 / animationspeed) | |
2154 | LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-5), rad(-10)) * angles(rad(-60 * math.cos((sine) / 8)), rad(-5), rad(0)) * (LWC0), 1 / animationspeed) | |
2155 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 5 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed) | |
2156 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 5 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed) | |
2157 | end | |
2158 | end | |
2159 | if animtype == 3 then | |
2160 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed) | |
2161 | Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed) | |
2162 | RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(0), rad(-20)) * angles(rad(0), rad(10), rad(0)) * (RWC0), 1 / animationspeed) | |
2163 | LW.C0 = clerp(LW.C0, cf(-1.25 + 0.25 * math.sin((sine) / 8) * PlayerSize, 0.5 * PlayerSize, -0.25 - 0.25 * math.sin((sine) / 8) * PlayerSize) * angles(rad(80 - 30 * math.cos((sine) / 4)), rad(0), rad(60 * math.sin((sine) / 8))) * (LWC0), 1 / animationspeed) | |
2164 | RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed) | |
2165 | LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed) | |
2166 | end | |
2167 | end | |
2168 | end | |
2169 | end | |
2170 | end | |
2171 | end | |
2172 | end | |
2173 | end) | |
2174 | ||
2175 | Player = game.Players.LocalPlayer | |
2176 | Jihad = Player.Character | |
2177 | Mouse = Player:GetMouse() | |
2178 | ----------------------------------------By raulib Fellas---------------------------------------------------- Thank you TurboFusion for your RPG Body thing | |
2179 | -----------------------------------------Fake RPG----------------------------------------------------------- | |
2180 | o1 = Instance.new("Model") | |
2181 | o2 = Instance.new("Part") | |
2182 | o3 = Instance.new("SpecialMesh") | |
2183 | o4 = Instance.new("Part") | |
2184 | o5 = Instance.new("SpecialMesh") | |
2185 | o6 = Instance.new("Weld") | |
2186 | o7 = Instance.new("CFrameValue") | |
2187 | o8 = Instance.new("Part") | |
2188 | o9 = Instance.new("SpecialMesh") | |
2189 | o10 = Instance.new("Weld") | |
2190 | o11 = Instance.new("CFrameValue") | |
2191 | o12 = Instance.new("Part") | |
2192 | o13 = Instance.new("SpecialMesh") | |
2193 | o14 = Instance.new("Weld") | |
2194 | o15 = Instance.new("CFrameValue") | |
2195 | o16 = Instance.new("Part") | |
2196 | o17 = Instance.new("SpecialMesh") | |
2197 | o18 = Instance.new("Weld") | |
2198 | o19 = Instance.new("CFrameValue") | |
2199 | o20 = Instance.new("Part") | |
2200 | o21 = Instance.new("SpecialMesh") | |
2201 | o22 = Instance.new("Weld") | |
2202 | o23 = Instance.new("CFrameValue") | |
2203 | o24 = Instance.new("Part") | |
2204 | o25 = Instance.new("SpecialMesh") | |
2205 | o26 = Instance.new("Weld") | |
2206 | o27 = Instance.new("CFrameValue") | |
2207 | o28 = Instance.new("Part") | |
2208 | o29 = Instance.new("SpecialMesh") | |
2209 | o30 = Instance.new("Weld") | |
2210 | o31 = Instance.new("CFrameValue") | |
2211 | o32 = Instance.new("Part") | |
2212 | o33 = Instance.new("SpecialMesh") | |
2213 | o34 = Instance.new("Weld") | |
2214 | o35 = Instance.new("CFrameValue") | |
2215 | o36 = Instance.new("Part") | |
2216 | o37 = Instance.new("SpecialMesh") | |
2217 | o38 = Instance.new("Weld") | |
2218 | o39 = Instance.new("CFrameValue") | |
2219 | o40 = Instance.new("Part") | |
2220 | o41 = Instance.new("SpecialMesh") | |
2221 | o42 = Instance.new("Weld") | |
2222 | o43 = Instance.new("CFrameValue") | |
2223 | o44 = Instance.new("Part") | |
2224 | o45 = Instance.new("SpecialMesh") | |
2225 | o46 = Instance.new("Weld") | |
2226 | o47 = Instance.new("CFrameValue") | |
2227 | o48 = Instance.new("Part") | |
2228 | o49 = Instance.new("SpecialMesh") | |
2229 | o50 = Instance.new("Weld") | |
2230 | o51 = Instance.new("CFrameValue") | |
2231 | o52 = Instance.new("Part") | |
2232 | o53 = Instance.new("SpecialMesh") | |
2233 | o54 = Instance.new("Weld") | |
2234 | o55 = Instance.new("CFrameValue") | |
2235 | o56 = Instance.new("Part") | |
2236 | o57 = Instance.new("Weld") | |
2237 | o58 = Instance.new("CFrameValue") | |
2238 | o1.Name = "FakeRPG" | |
2239 | o1.Parent = Jihad | |
2240 | o2.Name = "Metal1" | |
2241 | o2.Parent = o1 | |
2242 | o2.Material = Enum.Material.Metal | |
2243 | o2.BrickColor = BrickColor.new("Fossil") | |
2244 | o2.Position = Vector3.new(-41.2860374, 2.1168952, -15.5143509) | |
2245 | o2.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2246 | o2.Size = Vector3.new(2.03500009, 0.493999988, 0.493999988) | |
2247 | o2.CFrame = CFrame.new(-41.2860374, 2.1168952, -15.5143509, 0.918073952, 0.39601633, -0.017805526, -0.39593938, 0.918247759, 0.0079295421, 0.0194900092, -0.000229949132, 0.999814689) | |
2248 | o2.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2249 | o2.Position = Vector3.new(-41.2860374, 2.1168952, -15.5143509) | |
2250 | o2.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2251 | o2.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2252 | o3.Parent = o2 | |
2253 | o3.MeshId = "rbxassetid://895844710" | |
2254 | o3.MeshType = Enum.MeshType.FileMesh | |
2255 | o4.Name = "Metal2" | |
2256 | o4.Parent = o1 | |
2257 | o4.Material = Enum.Material.Metal | |
2258 | o4.BrickColor = BrickColor.new("Fossil") | |
2259 | o4.Position = Vector3.new(-42.4355278, 2.60990143, -15.5402012) | |
2260 | o4.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2261 | o4.Size = Vector3.new(0.474999994, 0.273000002, 0.273000002) | |
2262 | o4.CFrame = CFrame.new(-42.4355278, 2.60990143, -15.5402012, 0.918074071, 0.396016359, -0.017805526, -0.395939469, 0.918247879, 0.0079295449, 0.019490011, -0.000229947793, 0.999814808) | |
2263 | o4.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2264 | o4.Position = Vector3.new(-42.4355278, 2.60990143, -15.5402012) | |
2265 | o4.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2266 | o4.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2267 | o5.Parent = o4 | |
2268 | o5.MeshId = "rbxassetid://895839083" | |
2269 | o5.MeshType = Enum.MeshType.FileMesh | |
2270 | o6.Name = "qCFrameWeldThingy" | |
2271 | o6.Parent = o4 | |
2272 | o6.C1 = CFrame.new(1.25101089, 0.00251197815, 0.00146865845, 1.00000012, -2.53421604e-08, 4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, 4.65661287e-10, 1.86264515e-09, 1.00000012) | |
2273 | o6.Part0 = o2 | |
2274 | o6.Part1 = o4 | |
2275 | o7.Name = "qRelativeCFrameWeldValue" | |
2276 | o7.Parent = o4 | |
2277 | o7.Value = CFrame.new(1.25101089, 0.00251197815, 0.00146865845, 1.00000012, -2.53421604e-08, 4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, 4.65661287e-10, 1.86264515e-09, 1.00000012) | |
2278 | o8.Name = "Metal3" | |
2279 | o8.Parent = o1 | |
2280 | o8.Material = Enum.Material.Metal | |
2281 | o8.BrickColor = BrickColor.new("Fossil") | |
2282 | o8.Position = Vector3.new(-41.7581062, 2.13098216, -15.5168371) | |
2283 | o8.Rotation = Vector3.new(179.550003, 1.01999998, -156.669998) | |
2284 | o8.Size = Vector3.new(0.740999997, 0.109999999, 0.173999995) | |
2285 | o8.CFrame = CFrame.new(-41.7581062, 2.13098216, -15.5168371, -0.918074071, 0.396016359, 0.017805526, 0.395939469, 0.918247879, -0.0079295449, -0.019490011, -0.000229947793, -0.999814808) | |
2286 | o8.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2287 | o8.Position = Vector3.new(-41.7581062, 2.13098216, -15.5168371) | |
2288 | o8.Orientation = Vector3.new(0.449999988, 178.979996, 23.3299999) | |
2289 | o8.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2290 | o9.Parent = o8 | |
2291 | o9.MeshId = "rbxassetid://895859769" | |
2292 | o9.MeshType = Enum.MeshType.FileMesh | |
2293 | o10.Name = "qCFrameWeldThingy" | |
2294 | o10.Parent = o8 | |
2295 | o10.C1 = CFrame.new(-0.43901825, 0.17401123, 0.00603103638, -1.00000012, 2.53421604e-08, -4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, -4.65661287e-10, -1.86264515e-09, -1.00000012) | |
2296 | o10.Part0 = o2 | |
2297 | o10.Part1 = o8 | |
2298 | o11.Name = "qRelativeCFrameWeldValue" | |
2299 | o11.Parent = o8 | |
2300 | o11.Value = CFrame.new(-0.43901825, 0.17401123, 0.00603103638, -1.00000012, 2.53421604e-08, -4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, -4.65661287e-10, -1.86264515e-09, -1.00000012) | |
2301 | o12.Name = "Metal4" | |
2302 | o12.Parent = o1 | |
2303 | o12.Material = Enum.Material.Metal | |
2304 | o12.BrickColor = BrickColor.new("Fossil") | |
2305 | o12.Position = Vector3.new(-40.8392029, 1.91714776, -15.3002386) | |
2306 | o12.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2307 | o12.Size = Vector3.new(0.546000004, 0.0850000009, 0.0909999982) | |
2308 | o12.CFrame = CFrame.new(-40.8392029, 1.91714776, -15.3002386, 0.918074071, 0.396016359, -0.017805526, -0.395939469, 0.918247879, 0.0079295449, 0.019490011, -0.000229947793, 0.999814808) | |
2309 | o12.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2310 | o12.Position = Vector3.new(-40.8392029, 1.91714776, -15.3002386) | |
2311 | o12.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2312 | o12.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2313 | o13.Parent = o12 | |
2314 | o13.MeshId = "rbxassetid://895840568" | |
2315 | o13.MeshType = Enum.MeshType.FileMesh | |
2316 | o14.Name = "qCFrameWeldThingy" | |
2317 | o14.Parent = o12 | |
2318 | o14.C1 = CFrame.new(-0.493484497, 0.00651168823, -0.204530716, 1.00000012, -2.53421604e-08, 4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, 4.65661287e-10, 1.86264515e-09, 1.00000012) | |
2319 | o14.Part0 = o2 | |
2320 | o14.Part1 = o12 | |
2321 | o15.Name = "qRelativeCFrameWeldValue" | |
2322 | o15.Parent = o12 | |
2323 | o15.Value = CFrame.new(-0.493484497, 0.00651168823, -0.204530716, 1.00000012, -2.53421604e-08, 4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, 4.65661287e-10, 1.86264515e-09, 1.00000012) | |
2324 | o16.Name = "Metal5" | |
2325 | o16.Parent = o1 | |
2326 | o16.Material = Enum.Material.Metal | |
2327 | o16.BrickColor = BrickColor.new("Fossil") | |
2328 | o16.Position = Vector3.new(-40.7302208, 2.21318436, -15.3436546) | |
2329 | o16.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2330 | o16.Size = Vector3.new(0.442000002, 0.386999995, 0.194999993) | |
2331 | o16.CFrame = CFrame.new(-40.7302208, 2.21318436, -15.3436546, 0.918074071, 0.396016359, -0.017805526, -0.395939469, 0.918247879, 0.0079295449, 0.019490011, -0.000229947793, 0.999814808) | |
2332 | o16.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2333 | o16.Position = Vector3.new(-40.7302208, 2.21318436, -15.3436546) | |
2334 | o16.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2335 | o16.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2336 | o17.Parent = o16 | |
2337 | o17.MeshId = "rbxassetid://895854002" | |
2338 | o17.MeshType = Enum.MeshType.FileMesh | |
2339 | o18.Name = "qCFrameWeldThingy" | |
2340 | o18.Parent = o16 | |
2341 | o18.C1 = CFrame.new(-0.475479126, -0.308488846, -0.161530495, 1.00000012, -2.53421604e-08, 4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, 4.65661287e-10, 1.86264515e-09, 1.00000012) | |
2342 | o18.Part0 = o2 | |
2343 | o18.Part1 = o16 | |
2344 | o19.Name = "qRelativeCFrameWeldValue" | |
2345 | o19.Parent = o16 | |
2346 | o19.Value = CFrame.new(-0.475479126, -0.308488846, -0.161530495, 1.00000012, -2.53421604e-08, 4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, 4.65661287e-10, 1.86264515e-09, 1.00000012) | |
2347 | o20.Name = "Metal6" | |
2348 | o20.Parent = o1 | |
2349 | o20.Material = Enum.Material.Metal | |
2350 | o20.BrickColor = BrickColor.new("Fossil") | |
2351 | o20.Position = Vector3.new(-42.3173676, 2.84703016, -15.3914499) | |
2352 | o20.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2353 | o20.Size = Vector3.new(0.400000006, 0.474000007, 0.104000002) | |
2354 | o20.CFrame = CFrame.new(-42.3173676, 2.84703016, -15.3914499, 0.918074071, 0.396016359, -0.017805526, -0.395939469, 0.918247879, 0.0079295449, 0.019490011, -0.000229947793, 0.999814808) | |
2355 | o20.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2356 | o20.Position = Vector3.new(-42.3173676, 2.84703016, -15.3914499) | |
2357 | o20.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2358 | o20.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2359 | o21.Parent = o20 | |
2360 | o21.MeshId = "rbxassetid://895857014" | |
2361 | o21.MeshType = Enum.MeshType.FileMesh | |
2362 | o22.Name = "qCFrameWeldThingy" | |
2363 | o22.Parent = o20 | |
2364 | o22.C1 = CFrame.new(1.23352051, -0.261987686, -0.147029877, 1.00000012, -2.53421604e-08, 4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, 4.65661287e-10, 1.86264515e-09, 1.00000012) | |
2365 | o22.Part0 = o2 | |
2366 | o22.Part1 = o20 | |
2367 | o23.Name = "qRelativeCFrameWeldValue" | |
2368 | o23.Parent = o20 | |
2369 | o23.Value = CFrame.new(1.23352051, -0.261987686, -0.147029877, 1.00000012, -2.53421604e-08, 4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, 4.65661287e-10, 1.86264515e-09, 1.00000012) | |
2370 | o24.Name = "Metal7" | |
2371 | o24.Parent = o1 | |
2372 | o24.Material = Enum.Material.Metal | |
2373 | o24.BrickColor = BrickColor.new("Fossil") | |
2374 | o24.Position = Vector3.new(-41.8051186, 1.96285367, -15.5118408) | |
2375 | o24.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2376 | o24.Size = Vector3.new(0.727999985, 0.43599999, 0.116999999) | |
2377 | o24.CFrame = CFrame.new(-41.8051186, 1.96285367, -15.5118408, 0.918074071, 0.396016359, -0.017805526, -0.395939469, 0.918247879, 0.0079295449, 0.019490011, -0.000229947793, 0.999814808) | |
2378 | o24.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2379 | o24.Position = Vector3.new(-41.8051186, 1.96285367, -15.5118408) | |
2380 | o24.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2381 | o24.Color = Color3.new(0.619608, 0.631373, 0.67451) | |
2382 | o25.Parent = o24 | |
2383 | o25.MeshId = "rbxassetid://895861020" | |
2384 | o25.MeshType = Enum.MeshType.FileMesh | |
2385 | o26.Name = "qCFrameWeldThingy" | |
2386 | o26.Parent = o24 | |
2387 | o26.C1 = CFrame.new(0.415512085, 0.347011566, -0.0105304718, 1.00000012, -2.53421604e-08, 4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, 4.65661287e-10, 1.86264515e-09, 1.00000012) | |
2388 | o26.Part0 = o2 | |
2389 | o26.Part1 = o24 | |
2390 | o27.Name = "qRelativeCFrameWeldValue" | |
2391 | o27.Parent = o24 | |
2392 | o27.Value = CFrame.new(0.415512085, 0.347011566, -0.0105304718, 1.00000012, -2.53421604e-08, 4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, 4.65661287e-10, 1.86264515e-09, 1.00000012) | |
2393 | o28.Name = "Rocket1" | |
2394 | o28.Parent = o1 | |
2395 | o28.Material = Enum.Material.Metal | |
2396 | o28.BrickColor = BrickColor.new("Sand green") | |
2397 | o28.Position = Vector3.new(-43.0272102, 2.86127996, -15.5532627) | |
2398 | o28.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2399 | o28.Size = Vector3.new(3.79299998, 0.421999991, 0.421999991) | |
2400 | o28.CFrame = CFrame.new(-43.0272102, 2.86127996, -15.5532627, 0.918074071, 0.396016359, -0.017805526, -0.395939469, 0.918247879, 0.0079295449, 0.019490011, -0.000229947793, 0.999814808) | |
2401 | o28.Color = Color3.new(0.466667, 0.564706, 0.509804) | |
2402 | o28.Position = Vector3.new(-43.0272102, 2.86127996, -15.5532627) | |
2403 | o28.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2404 | o28.Color = Color3.new(0.466667, 0.564706, 0.509804) | |
2405 | o29.Parent = o28 | |
2406 | o29.MeshId = "rbxassetid://895848972" | |
2407 | o29.MeshType = Enum.MeshType.FileMesh | |
2408 | o30.Name = "qCFrameWeldThingy" | |
2409 | o30.Parent = o28 | |
2410 | o30.C1 = CFrame.new(1.89400101, 0.00599956512, 0.00199985504, 1.00000012, -2.53421604e-08, 4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, 4.65661287e-10, 1.86264515e-09, 1.00000012) | |
2411 | o30.Part0 = o2 | |
2412 | o30.Part1 = o28 | |
2413 | o31.Name = "qRelativeCFrameWeldValue" | |
2414 | o31.Parent = o28 | |
2415 | o31.Value = CFrame.new(1.89400101, 0.00599956512, 0.00199985504, 1.00000012, -2.53421604e-08, 4.65661287e-10, -2.53421604e-08, 1.00000012, 1.86264515e-09, 4.65661287e-10, 1.86264515e-09, 1.00000012) | |
2416 | o32.Name = "Rocket2" | |
2417 | o32.Parent = o1 | |
2418 | o32.Material = Enum.Material.Metal | |
2419 | o32.BrickColor = BrickColor.new("Sand green") | |
2420 | o32.Position = Vector3.new(-43.3324127, 2.99072981, -15.5562248) | |
2421 | o32.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2422 | o32.Size = Vector3.new(1.45000005, 0.474000007, 0.474999994) | |
2423 | o32.CFrame = CFrame.new(-43.3324127, 2.99072981, -15.5562248, 0.918074131, 0.396016389, -0.0178055279, -0.395939559, 0.918247998, 0.0079295449, 0.0194900129, -0.000229945959, 0.999814928) | |
2424 | o32.Color = Color3.new(0.466667, 0.564706, 0.509804) | |
2425 | o32.Position = Vector3.new(-43.3324127, 2.99072981, -15.5562248) | |
2426 | o32.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2427 | o32.Color = Color3.new(0.466667, 0.564706, 0.509804) | |
2428 | o33.Parent = o32 | |
2429 | o33.MeshId = "rbxassetid://895849928" | |
2430 | o33.MeshType = Enum.MeshType.FileMesh | |
2431 | o34.Name = "qCFrameWeldThingy" | |
2432 | o34.Parent = o32 | |
2433 | o34.C1 = CFrame.new(2.22550964, 0.00799846649, -0.0015001297, 1.00000024, -8.49468051e-08, 4.65661287e-10, -2.53494363e-08, 1.00000024, 3.7252903e-09, 9.31322575e-10, 1.86264515e-09, 1.00000024) | |
2434 | o34.Part0 = o2 | |
2435 | o34.Part1 = o32 | |
2436 | o35.Name = "qRelativeCFrameWeldValue" | |
2437 | o35.Parent = o32 | |
2438 | o35.Value = CFrame.new(2.22550964, 0.00799846649, -0.0015001297, 1.00000024, -8.49468051e-08, 4.65661287e-10, -2.53494363e-08, 1.00000024, 3.7252903e-09, 9.31322575e-10, 1.86264515e-09, 1.00000024) | |
2439 | o36.Name = "Tail1" | |
2440 | o36.Parent = o1 | |
2441 | o36.Material = Enum.Material.Metal | |
2442 | o36.BrickColor = BrickColor.new("Smoky grey") | |
2443 | o36.Position = Vector3.new(-37.6536446, 0.541621327, -15.4376383) | |
2444 | o36.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2445 | o36.Size = Vector3.new(1.04700005, 0.722000003, 0.721000016) | |
2446 | o36.CFrame = CFrame.new(-37.6536446, 0.541621327, -15.4376383, 0.918074131, 0.396016389, -0.0178055279, -0.395939559, 0.918247998, 0.0079295449, 0.0194900129, -0.000229945959, 0.999814928) | |
2447 | o36.Color = Color3.new(0.356863, 0.364706, 0.411765) | |
2448 | o36.Position = Vector3.new(-37.6536446, 0.541621327, -15.4376383) | |
2449 | o36.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2450 | o36.Color = Color3.new(0.356863, 0.364706, 0.411765) | |
2451 | o37.Parent = o36 | |
2452 | o37.MeshId = "rbxassetid://895836915" | |
2453 | o37.MeshType = Enum.MeshType.FileMesh | |
2454 | o38.Name = "qCFrameWeldThingy" | |
2455 | o38.Parent = o36 | |
2456 | o38.C1 = CFrame.new(-3.95998383, 0.00801086426, 0.000469207764, 1.00000024, -8.49468051e-08, 4.65661287e-10, -2.53494363e-08, 1.00000024, 3.7252903e-09, 9.31322575e-10, 1.86264515e-09, 1.00000024) | |
2457 | o38.Part0 = o2 | |
2458 | o38.Part1 = o36 | |
2459 | o39.Name = "qRelativeCFrameWeldValue" | |
2460 | o39.Parent = o36 | |
2461 | o39.Value = CFrame.new(-3.95998383, 0.00801086426, 0.000469207764, 1.00000024, -8.49468051e-08, 4.65661287e-10, -2.53494363e-08, 1.00000024, 3.7252903e-09, 9.31322575e-10, 1.86264515e-09, 1.00000024) | |
2462 | o40.Name = "Tail2" | |
2463 | o40.Parent = o1 | |
2464 | o40.Material = Enum.Material.Metal | |
2465 | o40.BrickColor = BrickColor.new("Smoky grey") | |
2466 | o40.Position = Vector3.new(-38.1827202, 0.771430492, -15.4518843) | |
2467 | o40.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2468 | o40.Size = Vector3.new(0.107000001, 0.324999988, 0.324999988) | |
2469 | o40.CFrame = CFrame.new(-38.1827202, 0.771430492, -15.4518843, 0.918074131, 0.396016389, -0.0178040713, -0.395939559, 0.918247998, 0.00792891718, 0.0194884259, -0.000229945959, 0.999814987) | |
2470 | o40.Color = Color3.new(0.356863, 0.364706, 0.411765) | |
2471 | o40.Position = Vector3.new(-38.1827202, 0.771430492, -15.4518843) | |
2472 | o40.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2473 | o40.Color = Color3.new(0.356863, 0.364706, 0.411765) | |
2474 | o41.Parent = o40 | |
2475 | o41.MeshId = "rbxassetid://895843622" | |
2476 | o41.MeshType = Enum.MeshType.FileMesh | |
2477 | o42.Name = "qCFrameWeldThingy" | |
2478 | o42.Parent = o40 | |
2479 | o42.C1 = CFrame.new(-3.38298798, 0.00651073456, 0.00346469879, 1.00000024, -8.7711669e-08, -1.58650801e-06, -2.53494363e-08, 1.00000024, 3.7252903e-09, 1.58837065e-06, 1.86264515e-09, 1.00000024) | |
2480 | o42.Part0 = o2 | |
2481 | o42.Part1 = o40 | |
2482 | o43.Name = "qRelativeCFrameWeldValue" | |
2483 | o43.Parent = o40 | |
2484 | o43.Value = CFrame.new(-3.38298798, 0.00651073456, 0.00346469879, 1.00000024, -8.7711669e-08, -1.58650801e-06, -2.53494363e-08, 1.00000024, 3.7252903e-09, 1.58837065e-06, 1.86264515e-09, 1.00000024) | |
2485 | o44.Name = "Wood" | |
2486 | o44.Parent = o1 | |
2487 | o44.Material = Enum.Material.Wood | |
2488 | o44.BrickColor = BrickColor.new("Reddish brown") | |
2489 | o44.Position = Vector3.new(-39.2893181, 1.25412059, -15.475419) | |
2490 | o44.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2491 | o44.Size = Vector3.new(2.30800009, 0.455000013, 0.455000013) | |
2492 | o44.CFrame = CFrame.new(-39.2893181, 1.25412059, -15.475419, 0.918074131, 0.396016389, -0.0178055279, -0.395939559, 0.918247998, 0.0079295449, 0.0194900129, -0.000229945959, 0.999814928) | |
2493 | o44.Color = Color3.new(0.411765, 0.247059, 0.156863) | |
2494 | o44.Position = Vector3.new(-39.2893181, 1.25412059, -15.475419) | |
2495 | o44.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999) | |
2496 | o44.Color = Color3.new(0.411765, 0.247059, 0.156863) | |
2497 | o45.Parent = o44 | |
2498 | o45.MeshId = "rbxassetid://895842255" | |
2499 | o45.MeshType = Enum.MeshType.FileMesh | |
2500 | o46.Name = "qCFrameWeldThingy" | |
2501 | o46.Parent = o44 | |
2502 | o46.C1 = CFrame.new(-2.1754837, 0.00151062012, 0.00346946716, 1.00000024, -8.49468051e-08, 4.65661287e-10, -2.53494363e-08, 1.00000024, 3.7252903e-09, 9.31322575e-10, 1.86264515e-09, 1.00000024) | |
2503 | o46.Part0 = o2 | |
2504 | o46.Part1 = o44 | |
2505 | o47.Name = "qRelativeCFrameWeldValue" | |
2506 | o47.Parent = o44 | |
2507 | o47.Value = CFrame.new(-2.1754837, 0.00151062012, 0.00346946716, 1.00000024, -8.49468051e-08, 4.65661287e-10, -2.53494363e-08, 1.00000024, 3.7252903e-09, 9.31322575e-10, 1.86264515e-09, 1.00000024) | |
2508 | o48.Name = "Wood2" | |
2509 | o48.Parent = o1 | |
2510 | o48.Material = Enum.Material.WoodPlanks | |
2511 | o48.BrickColor = BrickColor.new("Reddish brown") | |
2512 | o48.Position = Vector3.new(-41.0325165, 1.46520686, -15.5036364) | |
2513 | o48.Rotation = Vector3.new(179.550003, 1.01999998, -156.669998) | |
2514 | o48.Size = Vector3.new(0.361000001, 0.59799999, 0.104000002) | |
2515 | o48.CFrame = CFrame.new(-41.0325165, 1.46520686, -15.5036364, -0.918074131, 0.396016389, 0.0178055279, 0.395939559, 0.918247998, -0.0079295449, -0.0194900129, -0.000229945959, -0.999814928) | |
2516 | o48.Color = Color3.new(0.411765, 0.247059, 0.156863) | |
2517 | o48.Position = Vector3.new(-41.0325165, 1.46520686, -15.5036364) | |
2518 | o48.Orientation = Vector3.new(0.449999988, 178.979996, 23.3299999) | |
2519 | o48.Color = Color3.new(0.411765, 0.247059, 0.156863) | |
2520 | o49.Parent = o48 | |
2521 | o49.MeshId = "rbxassetid://895846898" | |
2522 | o49.MeshType = Enum.MeshType.FileMesh | |
2523 | o50.Name = "qCFrameWeldThingy" | |
2524 | o50.Parent = o48 | |
2525 | o50.C1 = CFrame.new(0.490982056, 0.498010635, 0.00103092194, -1.00000024, 8.49468051e-08, -4.65661287e-10, -2.53494363e-08, 1.00000024, 3.7252903e-09, -9.31322575e-10, -1.86264515e-09, -1.00000024) | |
2526 | o50.Part0 = o2 | |
2527 | o50.Part1 = o48 | |
2528 | o51.Name = "qRelativeCFrameWeldValue" | |
2529 | o51.Parent = o48 | |
2530 | o51.Value = CFrame.new(0.490982056, 0.498010635, 0.00103092194, -1.00000024, 8.49468051e-08, -4.65661287e-10, -2.53494363e-08, 1.00000024, 3.7252903e-09, -9.31322575e-10, -1.86264515e-09, -1.00000024) | |
2531 | o52.Name = "Wood3" | |
2532 | o52.Parent = o1 | |
2533 | o52.Material = Enum.Material.Wood | |
2534 | o52.BrickColor = BrickColor.new("Reddish brown") | |
2535 | o52.Position = Vector3.new(-41.8984833, 1.54351878, -15.5099411) | |
2536 | o52.Rotation = Vector3.new(179.550003, 1.01999998, -156.669998) | |
2537 | o52.Size = Vector3.new(0.279000014, 0.439999998, 0.104000002) | |
2538 | o52.CFrame = CFrame.new(-41.8984833, 1.54351878, -15.5099411, -0.918074131, 0.396016389, 0.0178055279, 0.395939559, 0.918247998, -0.0079295449, -0.0194900129, -0.000229945959, -0.999814928) | |
2539 | o52.Color = Color3.new(0.411765, 0.247059, 0.156863) | |
2540 | o52.Position = Vector3.new(-41.8984833, 1.54351878, -15.5099411) | |
2541 | o52.Orientation = Vector3.new(0.449999988, 178.979996, 23.3299999) | |
2542 | o52.Color = Color3.new(0.411765, 0.247059, 0.156863) | |
2543 | o53.Parent = o52 | |
2544 | o53.MeshId = "rbxassetid://895861866" | |
2545 | o53.MeshType = Enum.MeshType.FileMesh | |
2546 | o54.Name = "qCFrameWeldThingy" | |
2547 | o54.Parent = o52 | |
2548 | o54.C1 = CFrame.new(-0.335163116, 0.769036293, 0.010766983, -1.00000024, 8.49468051e-08, -4.65661287e-10, -2.53494363e-08, 1.00000024, 3.7252903e-09, -9.31322575e-10, -1.86264515e-09, -1.00000024) | |
2549 | o54.Part0 = o2 | |
2550 | o54.Part1 = o52 | |
2551 | o55.Name = "qRelativeCFrameWeldValue" | |
2552 | o55.Parent = o52 | |
2553 | o55.Value = CFrame.new(-0.335163116, 0.769036293, 0.010766983, -1.00000024, 8.49468051e-08, -4.65661287e-10, -2.53494363e-08, 1.00000024, 3.7252903e-09, -9.31322575e-10, -1.86264515e-09, -1.00000024) | |
2554 | o56.Name = "Fake Torso" | |
2555 | o56.Parent = o1 | |
2556 | o56.Transparency = 1 | |
2557 | o56.Position = Vector3.new(-40.9501038, 1.95513773, -16.2185173) | |
2558 | o56.Rotation = Vector3.new(0.319999993, -1.67999995, -2.99000001) | |
2559 | o56.CanCollide = false | |
2560 | o56.Size = Vector3.new(2, 2, 1) | |
2561 | o56.CFrame = CFrame.new(-40.9501038, 1.95513773, -16.2185173, 0.998210609, 0.052119676, -0.0294037778, -0.0523085073, 0.998619795, -0.00562939048, 0.0290696826, 0.00715741981, 0.999556243) | |
2562 | o56.BottomSurface = Enum.SurfaceType.Smooth | |
2563 | o56.TopSurface = Enum.SurfaceType.Smooth | |
2564 | o56.Position = Vector3.new(-40.9501038, 1.95513773, -16.2185173) | |
2565 | o56.Orientation = Vector3.new(0.319999993, -1.67999995, -3) | |
2566 | o57.Name = "qCFrameWeldThingy" | |
2567 | o57.Parent = o56 | |
2568 | o57.C1 = CFrame.new(-0.323322296, 0.149063349, 0.712814331, 0.937702775, 0.347268641, 0.0108757289, -0.347398788, 0.937610984, 0.0141464556, -0.00528457901, -0.0170433763, 0.999840975) | |
2569 | o57.Part0 = o2 | |
2570 | o57.Part1 = o56 | |
2571 | o58.Name = "qRelativeCFrameWeldValue" | |
2572 | o58.Parent = o56 | |
2573 | o58.Value = CFrame.new(-0.323322296, 0.149063349, 0.712814331, 0.937702775, 0.347268641, 0.0108757289, -0.347398788, 0.937610984, 0.0141464556, -0.00528457901, -0.0170433763, 0.999840975) | |
2574 | WELD = Instance.new("Weld") | |
2575 | WELD.Part0 = o56 | |
2576 | WELD.Part1 = Jihad.Torso | |
2577 | WELD.Parent = o56 | |
2578 | ------------------------------------------------------------------------------------------------------------ | |
2579 | -------------------------------------------Declaration------------------------------------------------------ | |
2580 | Shot = false | |
2581 | EQUIP = false | |
2582 | Run = false | |
2583 | Recharging = false | |
2584 | DANS = false | |
2585 | TUANT = false | |
2586 | JUTPAC = false | |
2587 | -------------------------------------------Rpg Make--------------------------------------------------------- | |
2588 | o1 = Instance.new("Tool") | |
2589 | o2 = Instance.new("Part") | |
2590 | o3 = Instance.new("Weld") | |
2591 | o4 = Instance.new("CFrameValue") | |
2592 | o5 = Instance.new("Part") | |
2593 | o6 = Instance.new("SpecialMesh") | |
2594 | o7 = Instance.new("Weld") | |
2595 | o8 = Instance.new("CFrameValue") | |
2596 | o9 = Instance.new("Part") | |
2597 | o10 = Instance.new("SpecialMesh") | |
2598 | o11 = Instance.new("Weld") | |
2599 | o12 = Instance.new("CFrameValue") | |
2600 | o13 = Instance.new("Part") | |
2601 | o14 = Instance.new("SpecialMesh") | |
2602 | o15 = Instance.new("Part") | |
2603 | o16 = Instance.new("SpecialMesh") | |
2604 | o17 = Instance.new("Weld") | |
2605 | o18 = Instance.new("CFrameValue") | |
2606 | o19 = Instance.new("Part") | |
2607 | o20 = Instance.new("SpecialMesh") | |
2608 | o21 = Instance.new("Weld") | |
2609 | o22 = Instance.new("CFrameValue") | |
2610 | o23 = Instance.new("Part") | |
2611 | o24 = Instance.new("SpecialMesh") | |
2612 | o25 = Instance.new("Weld") | |
2613 | o26 = Instance.new("CFrameValue") | |
2614 | o27 = Instance.new("Part") | |
2615 | o28 = Instance.new("SpecialMesh") | |
2616 | o29 = Instance.new("Weld") | |
2617 | o30 = Instance.new("CFrameValue") | |
2618 | o31 = Instance.new("Part") | |
2619 | o32 = Instance.new("SpecialMesh") | |
2620 | o33 = Instance.new("Weld") | |
2621 | o34 = Instance.new("CFrameValue") | |
2622 | o35 = Instance.new("Part") | |
2623 | o36 = Instance.new("SpecialMesh") | |
2624 | o37 = Instance.new("Weld") | |
2625 | o38 = Instance.new("CFrameValue") | |
2626 | o39 = Instance.new("Part") | |
2627 | o40 = Instance.new("SpecialMesh") | |
2628 | o41 = Instance.new("Weld") | |
2629 | o42 = Instance.new("CFrameValue") | |
2630 | o43 = Instance.new("Part") | |
2631 | o44 = Instance.new("SpecialMesh") | |
2632 | o45 = Instance.new("Weld") | |
2633 | o46 = Instance.new("CFrameValue") | |
2634 | o47 = Instance.new("Part") | |
2635 | o48 = Instance.new("SpecialMesh") | |
2636 | o49 = Instance.new("Weld") | |
2637 | o50 = Instance.new("CFrameValue") | |
2638 | o51 = Instance.new("Part") | |
2639 | o52 = Instance.new("SpecialMesh") | |
2640 | o53 = Instance.new("Weld") | |
2641 | o54 = Instance.new("CFrameValue") | |
2642 | o55 = Instance.new("Part") | |
2643 | o56 = Instance.new("SpecialMesh") | |
2644 | o57 = Instance.new("Weld") | |
2645 | o58 = Instance.new("CFrameValue") | |
2646 | o1.Name = "RPG-7" | |
2647 | o1.Parent = Player.Backpack | |
2648 | o1.GripForward = Vector3.new(0.0267404374, -0, 0.999642491) | |
2649 | o1.GripRight = Vector3.new(-0.999642372, 0, 0.0267404336) | |
2650 | o1.ToolTip = "A Great rocket launcher by raulib" | |
2651 | o1.CanBeDropped = false | |
2652 | o2.Name = "Handle" | |
2653 | o2.Parent = o1 | |
2654 | o2.Transparency = 1 | |
2655 | TRGT = Instance.new("ObjectValue") | |
2656 | TRGT.Name = "Target" | |
2657 | TRGT.Parent = o2 | |
2658 | o2.Position = Vector3.new(-24.1333675, 2.76798773, -0.940837502) | |
2659 | o2.Rotation = Vector3.new(-71.7399979, 82.0400009, 71.6600037) | |
2660 | o2.Size = Vector3.new(0.570000172, 0.600000024, 0.530000091) | |
2661 | o2.CFrame = CFrame.new(-24.1333675, 2.76798773, -0.940837502, 0.0435764529, -0.131428212, 0.990367472, 0.00133668713, 0.991315901, 0.131495267, -0.999049187, -0.00440628594, 0.0433737114) | |
2662 | o2.Position = Vector3.new(-24.1333675, 2.76798773, -0.940837502) | |
2663 | o2.Orientation = Vector3.new(-7.55999994, 87.4899979, 0.0799999982) | |
2664 | o3.Name = "qCFrameWeldThingy" | |
2665 | o3.Parent = o2 | |
2666 | o3.C1 = CFrame.new(0.0180302858, 0.33298707, 0.881513596, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2667 | o3.Part0 = o13 | |
2668 | o3.Part1 = o2 | |
2669 | o4.Name = "qRelativeCFrameWeldValue" | |
2670 | o4.Parent = o2 | |
2671 | o4.Value = CFrame.new(0.0180302858, 0.33298707, 0.881513596, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2672 | o5.Name = "Metal1" | |
2673 | o5.Parent = o1 | |
2674 | o5.Material = Enum.Material.Metal | |
2675 | o5.BrickColor = BrickColor.new("Fossil") | |
2676 | o5.Position = Vector3.new(-23.7612419, 3.32878733, -0.935867488) | |
2677 | o5.Rotation = Vector3.new(-179.919998, 2.5, 172.440002) | |
2678 | o5.Size = Vector3.new(2.03500009, 0.493999988, 0.493999988) | |
2679 | o5.CFrame = CFrame.new(-23.7612419, 3.32878733, -0.935867488, -0.990367472, -0.131428212, 0.0435764529, -0.131495267, 0.991315901, 0.00133668713, -0.0433737114, -0.00440628594, -0.999049187) | |
2680 | o5.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2681 | o5.Position = Vector3.new(-23.7612419, 3.32878733, -0.935867488) | |
2682 | o5.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994) | |
2683 | o5.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2684 | o6.Parent = o5 | |
2685 | o6.MeshId = "rbxassetid://895844710" | |
2686 | o6.MeshType = Enum.MeshType.FileMesh | |
2687 | o7.Name = "qCFrameWeldThingy" | |
2688 | o7.Parent = o5 | |
2689 | o7.C1 = CFrame.new(-0.439014435, -0.17401278, 0.0060300827, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2690 | o7.Part0 = o13 | |
2691 | o7.Part1 = o5 | |
2692 | o8.Name = "qRelativeCFrameWeldValue" | |
2693 | o8.Parent = o5 | |
2694 | o8.Value = CFrame.new(-0.439014435, -0.17401278, 0.0060300827, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2695 | o9.Name = "Metal2" | |
2696 | o9.Parent = o1 | |
2697 | o9.Material = Enum.Material.Metal | |
2698 | o9.BrickColor = BrickColor.new("Fossil") | |
2699 | o9.Position = Vector3.new(-22.5220146, 3.49079704, -0.880126894) | |
2700 | o9.Rotation = Vector3.new(-179.919998, 2.5, 172.440002) | |
2701 | o9.Size = Vector3.new(0.474999994, 0.273000002, 0.273000002) | |
2702 | o9.CFrame = CFrame.new(-22.5220146, 3.49079704, -0.880126894, -0.990367472, -0.131428212, 0.0435764529, -0.131495267, 0.991315901, 0.00133668713, -0.0433737114, -0.00440628594, -0.999049187) | |
2703 | o9.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2704 | o9.Position = Vector3.new(-22.5220146, 3.49079704, -0.880126894) | |
2705 | o9.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994) | |
2706 | o9.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2707 | o10.Parent = o9 | |
2708 | o10.MeshId = "rbxassetid://895839083" | |
2709 | o10.MeshType = Enum.MeshType.FileMesh | |
2710 | o11.Name = "qCFrameWeldThingy" | |
2711 | o11.Parent = o9 | |
2712 | o11.C1 = CFrame.new(0.811998367, -0.171500206, 0.00749993324, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2713 | o11.Part0 = o13 | |
2714 | o11.Part1 = o9 | |
2715 | o12.Name = "qRelativeCFrameWeldValue" | |
2716 | o12.Parent = o9 | |
2717 | o12.Value = CFrame.new(0.811998367, -0.171500206, 0.00749993324, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2718 | o13.Name = "Metal3" | |
2719 | o13.Parent = o1 | |
2720 | o13.Material = Enum.Material.Metal | |
2721 | o13.BrickColor = BrickColor.new("Fossil") | |
2722 | o13.Position = Vector3.new(-23.3033237, 3.21402216, -0.922083378) | |
2723 | o13.Rotation = Vector3.new(0.0799999982, -2.5, 7.55999994) | |
2724 | o13.Size = Vector3.new(0.740999997, 0.109999999, 0.173999995) | |
2725 | o13.CFrame = CFrame.new(-23.3033237, 3.21402216, -0.922083378, 0.990367472, -0.131428212, -0.0435764529, 0.131495267, 0.991315901, -0.00133668713, 0.0433737114, -0.00440628594, 0.999049187) | |
2726 | o13.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2727 | o13.Position = Vector3.new(-23.3033237, 3.21402216, -0.922083378) | |
2728 | o13.Orientation = Vector3.new(0.0799999982, -2.5, 7.55999994) | |
2729 | o13.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2730 | o14.Parent = o13 | |
2731 | o14.MeshId = "rbxassetid://895859769" | |
2732 | o14.MeshType = Enum.MeshType.FileMesh | |
2733 | o15.Name = "Metal4" | |
2734 | o15.Parent = o1 | |
2735 | o15.Material = Enum.Material.Metal | |
2736 | o15.BrickColor = BrickColor.new("Fossil") | |
2737 | o15.Position = Vector3.new(-24.2402058, 3.25771356, -1.16157889) | |
2738 | o15.Rotation = Vector3.new(-179.919998, 2.5, 172.440002) | |
2739 | o15.Size = Vector3.new(0.546000004, 0.0850000009, 0.0909999982) | |
2740 | o15.CFrame = CFrame.new(-24.2402058, 3.25771356, -1.16157889, -0.990367472, -0.131428212, 0.0435764529, -0.131495267, 0.991315901, 0.00133668713, -0.0433737114, -0.00440628594, -0.999049187) | |
2741 | o15.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2742 | o15.Position = Vector3.new(-24.2402058, 3.25771356, -1.16157889) | |
2743 | o15.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994) | |
2744 | o15.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2745 | o16.Parent = o15 | |
2746 | o16.MeshId = "rbxassetid://895840568" | |
2747 | o16.MeshType = Enum.MeshType.FileMesh | |
2748 | o17.Name = "qCFrameWeldThingy" | |
2749 | o17.Parent = o15 | |
2750 | o17.C1 = CFrame.new(-0.932500839, -0.167500138, -0.198500156, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2751 | o17.Part0 = o13 | |
2752 | o17.Part1 = o15 | |
2753 | o18.Name = "qRelativeCFrameWeldValue" | |
2754 | o18.Parent = o15 | |
2755 | o18.Value = CFrame.new(-0.932500839, -0.167500138, -0.198500156, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2756 | o19.Name = "Metal5" | |
2757 | o19.Parent = o1 | |
2758 | o19.Material = Enum.Material.Metal | |
2759 | o19.BrickColor = BrickColor.new("Fossil") | |
2760 | o19.Position = Vector3.new(-24.2656479, 3.57228851, -1.11922657) | |
2761 | o19.Rotation = Vector3.new(-179.919998, 2.5, 172.440002) | |
2762 | o19.Size = Vector3.new(0.442000002, 0.386999995, 0.194999993) | |
2763 | o19.CFrame = CFrame.new(-24.2656479, 3.57228851, -1.11922657, -0.990367472, -0.131428212, 0.0435764529, -0.131495267, 0.991315901, 0.00133668713, -0.0433737114, -0.00440628594, -0.999049187) | |
2764 | o19.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2765 | o19.Position = Vector3.new(-24.2656479, 3.57228851, -1.11922657) | |
2766 | o19.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994) | |
2767 | o19.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2768 | o20.Parent = o19 | |
2769 | o20.MeshId = "rbxassetid://895854002" | |
2770 | o20.MeshType = Enum.MeshType.FileMesh | |
2771 | o21.Name = "qCFrameWeldThingy" | |
2772 | o21.Parent = o19 | |
2773 | o21.C1 = CFrame.new(-0.914495468, -0.482500315, -0.155499935, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2774 | o21.Part0 = o13 | |
2775 | o21.Part1 = o19 | |
2776 | o22.Name = "qRelativeCFrameWeldValue" | |
2777 | o22.Parent = o19 | |
2778 | o22.Value = CFrame.new(-0.914495468, -0.482500315, -0.155499935, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2779 | o23.Name = "Metal6" | |
2780 | o23.Parent = o1 | |
2781 | o23.Material = Enum.Material.Metal | |
2782 | o23.BrickColor = BrickColor.new("Fossil") | |
2783 | o23.Position = Vector3.new(-22.5676346, 3.75089788, -1.03041005) | |
2784 | o23.Rotation = Vector3.new(-179.919998, 2.5, 172.440002) | |
2785 | o23.Size = Vector3.new(0.400000006, 0.474000007, 0.104000002) | |
2786 | o23.CFrame = CFrame.new(-22.5676346, 3.75089788, -1.03041005, -0.990367472, -0.131428212, 0.0435764529, -0.131495267, 0.991315901, 0.00133668713, -0.0433737114, -0.00440628594, -0.999049187) | |
2787 | o23.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2788 | o23.Position = Vector3.new(-22.5676346, 3.75089788, -1.03041005) | |
2789 | o23.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994) | |
2790 | o23.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2791 | o24.Parent = o23 | |
2792 | o24.MeshId = "rbxassetid://895857014" | |
2793 | o24.MeshType = Enum.MeshType.FileMesh | |
2794 | o25.Name = "qCFrameWeldThingy" | |
2795 | o25.Parent = o23 | |
2796 | o25.C1 = CFrame.new(0.794500351, -0.436000347, -0.141000032, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2797 | o25.Part0 = o13 | |
2798 | o25.Part1 = o23 | |
2799 | o26.Name = "qRelativeCFrameWeldValue" | |
2800 | o26.Parent = o23 | |
2801 | o26.Value = CFrame.new(0.794500351, -0.436000347, -0.141000032, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2802 | o27.Name = "Metal7" | |
2803 | o27.Parent = o1 | |
2804 | o27.Material = Enum.Material.Metal | |
2805 | o27.BrickColor = BrickColor.new("Fossil") | |
2806 | o27.Position = Vector3.new(-23.3036652, 3.03944039, -0.926836014) | |
2807 | o27.Rotation = Vector3.new(-179.919998, 2.5, 172.440002) | |
2808 | o27.Size = Vector3.new(0.727999985, 0.43599999, 0.116999999) | |
2809 | o27.CFrame = CFrame.new(-23.3036652, 3.03944039, -0.926836014, -0.990367472, -0.131428212, 0.0435764529, -0.131495267, 0.991315901, 0.00133668713, -0.0433737114, -0.00440628594, -0.999049187) | |
2810 | o27.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2811 | o27.Position = Vector3.new(-23.3036652, 3.03944039, -0.926836014) | |
2812 | o27.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994) | |
2813 | o27.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
2814 | o28.Parent = o27 | |
2815 | o28.MeshId = "rbxassetid://895861020" | |
2816 | o28.MeshType = Enum.MeshType.FileMesh | |
2817 | o29.Name = "qCFrameWeldThingy" | |
2818 | o29.Parent = o27 | |
2819 | o29.C1 = CFrame.new(-0.0235004425, 0.172999978, -0.00449991226, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2820 | o29.Part0 = o13 | |
2821 | o29.Part1 = o27 | |
2822 | o30.Name = "qRelativeCFrameWeldValue" | |
2823 | o30.Parent = o27 | |
2824 | o30.Value = CFrame.new(-0.0235004425, 0.172999978, -0.00449991226, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2825 | o31.Name = "Rocket1" | |
2826 | o31.Parent = o1 | |
2827 | o31.Material = Enum.Material.Metal | |
2828 | o31.BrickColor = BrickColor.new("Sand green") | |
2829 | o31.Position = Vector3.new(-21.8847847, 3.57188892, -0.851692975) | |
2830 | o31.Rotation = Vector3.new(-179.919998, 2.5, 172.440002) | |
2831 | o31.Size = Vector3.new(3.79299998, 0.421999991, 0.421999991) | |
2832 | o31.CFrame = CFrame.new(-21.8847847, 3.57188892, -0.851692975, -0.990367472, -0.131428212, 0.0435764529, -0.131495267, 0.991315901, 0.00133668713, -0.0433737114, -0.00440628594, -0.999049187) | |
2833 | o31.Color = Color3.new(0.470588, 0.564706, 0.509804) | |
2834 | o31.Position = Vector3.new(-21.8847847, 3.57188892, -0.851692975) | |
2835 | o31.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994) | |
2836 | o31.Color = Color3.new(0.470588, 0.564706, 0.509804) | |
2837 | o32.Parent = o31 | |
2838 | o32.MeshId = "rbxassetid://895848972" | |
2839 | o32.MeshType = Enum.MeshType.FileMesh | |
2840 | o33.Name = "qCFrameWeldThingy" | |
2841 | o33.Parent = o31 | |
2842 | o33.C1 = CFrame.new(1.45498657, -0.168012619, 0.00803017616, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2843 | o33.Part0 = o13 | |
2844 | o33.Part1 = o31 | |
2845 | o34.Name = "qRelativeCFrameWeldValue" | |
2846 | o34.Parent = o31 | |
2847 | o34.Value = CFrame.new(1.45498657, -0.168012619, 0.00803017616, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2848 | o35.Name = "Rocket2" | |
2849 | o35.Parent = o1 | |
2850 | o35.Material = Enum.Material.Metal | |
2851 | o35.BrickColor = BrickColor.new("Sand green") | |
2852 | o35.Position = Vector3.new(-21.5560589, 3.61350226, -0.840802312) | |
2853 | o35.Rotation = Vector3.new(-179.919998, 2.5, 172.440002) | |
2854 | o35.Size = Vector3.new(1.45000005, 0.474000007, 0.474999994) | |
2855 | o35.CFrame = CFrame.new(-21.5560589, 3.61350226, -0.840802312, -0.990367472, -0.131428212, 0.0435764529, -0.131495267, 0.991315901, 0.00133668713, -0.0433737114, -0.00440628594, -0.999049187) | |
2856 | o35.Color = Color3.new(0.470588, 0.564706, 0.509804) | |
2857 | o35.Position = Vector3.new(-21.5560589, 3.61350226, -0.840802312) | |
2858 | o35.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994) | |
2859 | o35.Color = Color3.new(0.470588, 0.564706, 0.509804) | |
2860 | o36.Parent = o35 | |
2861 | o36.MeshId = "rbxassetid://895849928" | |
2862 | o36.MeshType = Enum.MeshType.FileMesh | |
2863 | o37.Name = "qCFrameWeldThingy" | |
2864 | o37.Parent = o35 | |
2865 | o37.C1 = CFrame.new(1.78648949, -0.166012883, 0.00453019142, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2866 | o37.Part0 = o13 | |
2867 | o37.Part1 = o35 | |
2868 | o38.Name = "qRelativeCFrameWeldValue" | |
2869 | o38.Parent = o35 | |
2870 | o38.Value = CFrame.new(1.78648949, -0.166012883, 0.00453019142, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2871 | o39.Name = "Tail1" | |
2872 | o39.Parent = o1 | |
2873 | o39.Material = Enum.Material.Metal | |
2874 | o39.BrickColor = BrickColor.new("Smoky grey") | |
2875 | o39.Position = Vector3.new(-27.6820507, 2.80012441, -1.10712194) | |
2876 | o39.Rotation = Vector3.new(-179.919998, 2.5, 172.440002) | |
2877 | o39.Size = Vector3.new(1.04700005, 0.722000003, 0.721000016) | |
2878 | o39.CFrame = CFrame.new(-27.6820507, 2.80012441, -1.10712194, -0.990367472, -0.131428212, 0.0435764529, -0.131495267, 0.991315901, 0.00133668713, -0.0433737114, -0.00440628594, -0.999049187) | |
2879 | o39.Color = Color3.new(0.356863, 0.364706, 0.411765) | |
2880 | o39.Position = Vector3.new(-27.6820507, 2.80012441, -1.10712194) | |
2881 | o39.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994) | |
2882 | o39.Color = Color3.new(0.356863, 0.364706, 0.411765) | |
2883 | o40.Parent = o39 | |
2884 | o40.MeshId = "rbxassetid://895836915" | |
2885 | o40.MeshType = Enum.MeshType.FileMesh | |
2886 | o41.Name = "qCFrameWeldThingy" | |
2887 | o41.Parent = o39 | |
2888 | o41.C1 = CFrame.new(-4.39900017, -0.166000128, 0.00650000572, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2889 | o41.Part0 = o13 | |
2890 | o41.Part1 = o39 | |
2891 | o42.Name = "qRelativeCFrameWeldValue" | |
2892 | o42.Parent = o39 | |
2893 | o42.Value = CFrame.new(-4.39900017, -0.166000128, 0.00650000572, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2894 | o43.Name = "Tail2" | |
2895 | o43.Parent = o1 | |
2896 | o43.Material = Enum.Material.Metal | |
2897 | o43.BrickColor = BrickColor.new("Smoky grey") | |
2898 | o43.Position = Vector3.new(-27.1109352, 2.87748051, -1.0791049) | |
2899 | o43.Rotation = Vector3.new(-179.919998, 2.5, 172.440002) | |
2900 | o43.Size = Vector3.new(0.107000001, 0.324999988, 0.324999988) | |
2901 | o43.CFrame = CFrame.new(-27.1109352, 2.87748051, -1.0791049, -0.990367532, -0.131428212, 0.0435748808, -0.131495267, 0.991315901, 0.00133647851, -0.0433721244, -0.00440628594, -0.999049246) | |
2902 | o43.Color = Color3.new(0.356863, 0.364706, 0.411765) | |
2903 | o43.Position = Vector3.new(-27.1109352, 2.87748051, -1.0791049) | |
2904 | o43.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994) | |
2905 | o43.Color = Color3.new(0.356863, 0.364706, 0.411765) | |
2906 | o44.Parent = o43 | |
2907 | o44.MeshId = "rbxassetid://895843622" | |
2908 | o44.MeshType = Enum.MeshType.FileMesh | |
2909 | o45.Name = "qCFrameWeldThingy" | |
2910 | o45.Parent = o43 | |
2911 | o45.C1 = CFrame.new(-3.8219986, -0.167500257, 0.00949370861, -1, 0, 1.58692865e-06, 0, 1, 0, -1.58692865e-06, 0, -1) | |
2912 | o45.Part0 = o13 | |
2913 | o45.Part1 = o43 | |
2914 | o46.Name = "qRelativeCFrameWeldValue" | |
2915 | o46.Parent = o43 | |
2916 | o46.Value = CFrame.new(-3.8219986, -0.167500257, 0.00949370861, -1, 0, 1.58692865e-06, 0, 1, 0, -1.58692865e-06, 0, -1) | |
2917 | o47.Name = "Wood" | |
2918 | o47.Parent = o1 | |
2919 | o47.Material = Enum.Material.Wood | |
2920 | o47.BrickColor = BrickColor.new("Reddish brown") | |
2921 | o47.Position = Vector3.new(-25.9157257, 3.04121733, -1.02675307) | |
2922 | o47.Rotation = Vector3.new(-179.919998, 2.5, 172.440002) | |
2923 | o47.Size = Vector3.new(2.30800009, 0.455000013, 0.455000013) | |
2924 | o47.CFrame = CFrame.new(-25.9157257, 3.04121733, -1.02675307, -0.990367472, -0.131428212, 0.0435764529, -0.131495267, 0.991315901, 0.00133668713, -0.0433737114, -0.00440628594, -0.999049187) | |
2925 | o47.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
2926 | o47.Position = Vector3.new(-25.9157257, 3.04121733, -1.02675307) | |
2927 | o47.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994) | |
2928 | o47.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
2929 | o48.Parent = o47 | |
2930 | o48.MeshId = "rbxassetid://895842255" | |
2931 | o48.MeshType = Enum.MeshType.FileMesh | |
2932 | o49.Name = "qCFrameWeldThingy" | |
2933 | o49.Parent = o47 | |
2934 | o49.C1 = CFrame.new(-2.61450005, -0.172500253, 0.0095000267, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2935 | o49.Part0 = o13 | |
2936 | o49.Part1 = o47 | |
2937 | o50.Name = "qRelativeCFrameWeldValue" | |
2938 | o50.Parent = o47 | |
2939 | o50.Value = CFrame.new(-2.61450005, -0.172500253, 0.0095000267, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2940 | o51.Name = "Wood2" | |
2941 | o51.Parent = o1 | |
2942 | o51.Material = Enum.Material.WoodPlanks | |
2943 | o51.BrickColor = BrickColor.new("Reddish brown") | |
2944 | o51.Position = Vector3.new(-24.1820011, 2.77053857, -0.955997944) | |
2945 | o51.Rotation = Vector3.new(0.0799999982, -2.5, 7.55999994) | |
2946 | o51.Size = Vector3.new(0.361000001, 0.59799999, 0.104000002) | |
2947 | o51.CFrame = CFrame.new(-24.1820011, 2.77053857, -0.955997944, 0.990367472, -0.131428212, -0.0435764529, 0.131495267, 0.991315901, -0.00133668713, 0.0433737114, -0.00440628594, 0.999049187) | |
2948 | o51.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
2949 | o51.Position = Vector3.new(-24.1820011, 2.77053857, -0.955997944) | |
2950 | o51.Orientation = Vector3.new(0.0799999982, -2.5, 7.55999994) | |
2951 | o51.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
2952 | o52.Parent = o51 | |
2953 | o52.MeshId = "rbxassetid://895846898" | |
2954 | o52.MeshType = Enum.MeshType.FileMesh | |
2955 | o53.Name = "qCFrameWeldThingy" | |
2956 | o53.Parent = o51 | |
2957 | o53.C1 = CFrame.new(0.930000305, 0.323999882, -0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2958 | o53.Part0 = o13 | |
2959 | o53.Part1 = o51 | |
2960 | o54.Name = "qRelativeCFrameWeldValue" | |
2961 | o54.Parent = o51 | |
2962 | o54.Value = CFrame.new(0.930000305, 0.323999882, -0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2963 | o55.Name = "Wood3" | |
2964 | o55.Parent = o1 | |
2965 | o55.Material = Enum.Material.Wood | |
2966 | o55.BrickColor = BrickColor.new("Reddish brown") | |
2967 | o55.Position = Vector3.new(-23.3277702, 2.61051416, -0.928698599) | |
2968 | o55.Rotation = Vector3.new(0.0799999982, -2.5, 7.55999994) | |
2969 | o55.Size = Vector3.new(0.279000014, 0.439999998, 0.104000002) | |
2970 | o55.CFrame = CFrame.new(-23.3277702, 2.61051416, -0.928698599, 0.990367472, -0.131428212, -0.0435764529, 0.131495267, 0.991315901, -0.00133668713, 0.0433737114, -0.00440628594, 0.999049187) | |
2971 | o55.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
2972 | o55.Position = Vector3.new(-23.3277702, 2.61051416, -0.928698599) | |
2973 | o55.Orientation = Vector3.new(0.0799999982, -2.5, 7.55999994) | |
2974 | o55.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
2975 | o56.Parent = o55 | |
2976 | o56.MeshId = "rbxassetid://895861866" | |
2977 | o56.MeshType = Enum.MeshType.FileMesh | |
2978 | o57.Name = "qCFrameWeldThingy" | |
2979 | o57.Parent = o55 | |
2980 | o57.C1 = CFrame.new(0.10385704, 0.595024824, 0.00473690033, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2981 | o57.Part0 = o13 | |
2982 | o57.Part1 = o55 | |
2983 | o58.Name = "qRelativeCFrameWeldValue" | |
2984 | o58.Parent = o55 | |
2985 | o58.Value = CFrame.new(0.10385704, 0.595024824, 0.00473690033, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2986 | ||
2987 | script.Parent = o1 | |
2988 | script.Name = "RPGSCRIPT" | |
2989 | Tool = script.Parent | |
2990 | -------------------------------------------Rpg Make End----------------------------------------------------- | |
2991 | -------------------------------------------Sounds----------------------------------------------------------- | |
2992 | SoundFolder = Instance.new("Backpack") | |
2993 | SoundFolder.Name = "MLGRPGSOUNDSJIHADALLAHUAKBAR" | |
2994 | SoundFolder.Parent = Player | |
2995 | ||
2996 | SoundPlayer = Instance.new("Sound") | |
2997 | SoundPlayer.Parent = o2 | |
2998 | SoundPlayer.Name ="Sound Player for your boi Rpg-7 by my dad raulib" | |
2999 | SoundPlayer.Volume = 2.5 | |
3000 | ||
3001 | DRAW = Instance.new("Sound") | |
3002 | DRAW.Name = "Draw" | |
3003 | DRAW.SoundId = "rbxassetid://169799883" | |
3004 | DRAW.Parent = o2 | |
3005 | ||
3006 | Sound1 = Instance.new("Sound") | |
3007 | Sound1.Parent = SoundFolder | |
3008 | Sound1.Name = "RUUUCKET LUUUNCH" | |
3009 | Sound1.SoundId = "rbxassetid://153230666" | |
3010 | ------------------------------------------------------------------------------------------------------------- | |
3011 | function equip() | |
3012 | Jihad.Humanoid.WalkSpeed = 8 | |
3013 | for i, veee in pairs(Jihad.FakeRPG:GetChildren()) do | |
3014 | if veee:IsA("Part") then | |
3015 | veee.Transparency = 1 | |
3016 | end | |
3017 | end | |
3018 | LWe = Instance.new("Weld") | |
3019 | LCFRAME = Instance.new("CFrameValue") | |
3020 | LWe.Name = "qCFrameWeldThingy" | |
3021 | LWe.Parent = Jihad["Left Arm"] | |
3022 | LWe.C1 = CFrame.new(0.263601303, 2.09693909, 0.499567032, 0.902910948, -0.0178833418, 0.429455459, -0.42982769, -0.0375663675, 0.902129173, 0, -0.999134064, -0.0416058451) | |
3023 | LWe.Part0 = Jihad.Torso | |
3024 | LWe.Part1 = Jihad["Left Arm"] | |
3025 | LCFRAME.Name = "qRelativeCFrameWeldValue" | |
3026 | LCFRAME.Parent = Jihad["Left Arm"] | |
3027 | LCFRAME.Value = CFrame.new(0.263601303, 2.09693909, 0.499567032, 0.902910948, -0.0178833418, 0.429455459, -0.42982769, -0.0375663675, 0.902129173, 0, -0.999134064, -0.0416058451) | |
3028 | EQUIP = true | |
3029 | DRAW:Play() | |
3030 | ||
3031 | RWe = Instance.new("Weld") | |
3032 | RCFRAME = Instance.new("CFrameValue") | |
3033 | RWe.Name = "qCFrameWeldThingy" | |
3034 | RWe.Parent = Jihad["Right Arm"] | |
3035 | RWe.C1 = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095) | |
3036 | RWe.Part0 = Jihad.Torso | |
3037 | RWe.Part1 = Jihad["Right Arm"] | |
3038 | RCFRAME.Name = "qRelativeCFrameWeldValue" | |
3039 | RCFRAME.Parent = Jihad["Right Arm"] | |
3040 | RCFRAME.Value = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095) | |
3041 | ||
3042 | local VIWMODL = Instance.new("Model") | |
3043 | VIWMODL.Parent = workspace.CurrentCamera | |
3044 | VIWMODL.Name = "ViewModel" | |
3045 | local FRARM = Instance.new("Part") | |
3046 | local FLARM = Instance.new("Part") | |
3047 | FRARM.Name = "Right Arm" | |
3048 | FLARM.Name = "Left Arm" | |
3049 | FRARM.Parent = VIWMODL | |
3050 | FLARM.Parent = VIWMODL | |
3051 | FRARM.Size = Jihad["Right Arm"].Size | |
3052 | FLARM.Size = Jihad["Left Arm"].Size | |
3053 | FLARM:BreakJoints() | |
3054 | FRARM:BreakJoints() | |
3055 | local FakeHumanoid = Instance.new("Humanoid") | |
3056 | FakeHumanoid.Parent = VIWMODL | |
3057 | local LW = Instance.new("Weld") | |
3058 | local RW = Instance.new("Weld") | |
3059 | RW.Parent = FRARM | |
3060 | LW.Parent = FLARM | |
3061 | RW.Part0 = FRARM | |
3062 | RW.Part1 = Jihad["Right Arm"] | |
3063 | LW.Part0 = FLARM | |
3064 | LW.Part1 = Jihad["Left Arm"] | |
3065 | local BDYCULURS = Jihad["Body Colors"]:Clone() | |
3066 | BDYCULURS.Parent = VIWMODL | |
3067 | local SHERT = Jihad.Shirt:Clone() | |
3068 | SHERT.Parent = VIWMODL | |
3069 | FLARM.CanCollide = false | |
3070 | FRARM.CanCollide = false | |
3071 | ||
3072 | local cam = game.Workspace.CurrentCamera | |
3073 | local rs = game:GetService('RunService') | |
3074 | ||
3075 | rs.RenderStepped:connect(function() | |
3076 | if (cam.Focus.p-cam.CoordinateFrame.p).magnitude <= 1 then -- 0.5 is the as far as it can zoom in) | |
3077 | FLARM.Transparency = 0 | |
3078 | FRARM.Transparency = 0 | |
3079 | else | |
3080 | FLARM.Transparency = 1 | |
3081 | FRARM.Transparency = 1 | |
3082 | ||
3083 | end | |
3084 | end) | |
3085 | ||
3086 | end | |
3087 | ||
3088 | function unequip() | |
3089 | for i, veee in pairs(Jihad.FakeRPG:GetChildren()) do | |
3090 | if veee:IsA("Part") then | |
3091 | veee.Transparency = 0 | |
3092 | Jihad.FakeRPG["Fake Torso"].Transparency = 1 | |
3093 | end | |
3094 | end | |
3095 | for i, v in pairs(Jihad["Right Arm"]:GetChildren()) do | |
3096 | if v:IsA("CFrameValue") then | |
3097 | v:Destroy() | |
3098 | end | |
3099 | end | |
3100 | for i, ev in pairs(Jihad["Right Arm"]:GetChildren()) do | |
3101 | if ev:IsA("Weld") then | |
3102 | ev:Destroy() | |
3103 | end | |
3104 | end | |
3105 | for i, eev in pairs(Jihad["Left Arm"]:GetChildren()) do | |
3106 | if eev:IsA("CFrameValue") then | |
3107 | eev:Destroy() | |
3108 | end | |
3109 | end | |
3110 | for i, eeev in pairs(Jihad["Left Arm"]:GetChildren()) do | |
3111 | if eeev:IsA("Weld") then | |
3112 | eeev:Destroy() | |
3113 | end | |
3114 | end | |
3115 | for i, eeeve in pairs(Jihad.Torso:GetChildren()) do | |
3116 | if eeeve:IsA("BodyThrust") then | |
3117 | eeeve:Destroy() | |
3118 | end | |
3119 | end | |
3120 | Tool.GripForward = Vector3.new(0.027, 0, 1) | |
3121 | Tool.GripPos = Vector3.new(0, 0, 0) | |
3122 | Tool.GripRight = Vector3.new(-1, 0, 0.027) | |
3123 | Tool.GripUp = Vector3.new(0, 1, 0) | |
3124 | DRAW:Play() | |
3125 | workspace.CurrentCamera.ViewModel:Destroy() | |
3126 | local LEFTARM = Instance.new("Motor6D") | |
3127 | local RIGHTARM = Instance.new("Motor6D") | |
3128 | LEFTARM.Parent = Jihad.Torso | |
3129 | RIGHTARM.Parent = Jihad.Torso | |
3130 | ||
3131 | LEFTARM.Name = "Left Shoulder" | |
3132 | RIGHTARM.Name = "Right Shoulder" | |
3133 | EQUIP = false | |
3134 | LEFTARM.Part0 = Jihad.Torso | |
3135 | LEFTARM.Part1 = Jihad["Left Arm"] | |
3136 | LEFTARM.C0 = CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08) | |
3137 | LEFTARM.C1 = CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08) | |
3138 | ||
3139 | RIGHTARM.Part0 = Jihad.Torso | |
3140 | RIGHTARM.Part1 = Jihad["Right Arm"] | |
3141 | RIGHTARM.C0 = CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
3142 | RIGHTARM.C1 = CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
3143 | Jihad.Humanoid.WalkSpeed = 16 | |
3144 | TUANT = false | |
3145 | Recharging = false | |
3146 | JUTPAC = false | |
3147 | o4:Stop() | |
3148 | o9.Enabled = false | |
3149 | o13.Enabled = false | |
3150 | ||
3151 | Jihad.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08) | |
3152 | Jihad.Torso["Left Hip"].C1 = CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08) | |
3153 | Jihad.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
3154 | Jihad.Torso["Right Hip"].C1 = CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
3155 | Jihad.Torso["Neck"].C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
3156 | Jihad.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
3157 | if Shot == true | |
3158 | then | |
3159 | Jihad.FakeRPG.Rocket1.Transparency = 1 | |
3160 | Jihad.FakeRPG.Rocket2.Transparency = 1 | |
3161 | end | |
3162 | end | |
3163 | ||
3164 | ||
3165 | ||
3166 | ||
3167 | ||
3168 | ||
3169 | ||
3170 | ||
3171 | ||
3172 | ||
3173 | ||
3174 | ||
3175 | ||
3176 | ||
3177 | ||
3178 | ||
3179 | ||
3180 | ||
3181 | Mouse.Button1Down:connect(function() | |
3182 | for i, v in pairs(Mouse.Target.Parent:GetChildren()) do | |
3183 | if v:IsA("Humanoid") then | |
3184 | if EQUIP == true and Shot == false and Run == false and TUANT == false | |
3185 | then | |
3186 | if | |
3187 | Mouse.Target.Parent == Jihad or Mouse.Target.Parent.Name == "RPG-7" == false | |
3188 | then | |
3189 | TRGT.Value = Mouse.Target | |
3190 | Shot = true | |
3191 | print("Click") | |
3192 | SoundPlayer.SoundId = Sound1.SoundId | |
3193 | SoundPlayer:Play() | |
3194 | o31.Transparency = 1 | |
3195 | o35.Transparency = 1 | |
3196 | Calculate = (TRGT.Value.Position - o2.Position).magnitude------------------------Calculate Distance from RPG to target------------------ | |
3197 | wait(Calculate/1000 +.1) | |
3198 | KABUM = Instance.new("Explosion") | |
3199 | KABUM.Parent = Mouse.Target | |
3200 | KABUM.Name = "KABOOOOOM" | |
3201 | KABUM.BlastRadius = 2.5 | |
3202 | KABUM.BlastPressure = 5000 | |
3203 | KABUM.Position = TRGT.Value.Position | |
3204 | local Effact = Instance.new("Sound") | |
3205 | Effact.Parent = TRGT.Value | |
3206 | Effact.SoundId = "rbxassetid://163064102" | |
3207 | Effact.Name = "Ded not big soup rice" | |
3208 | Effact:Play() | |
3209 | Effact.Volume = 100 | |
3210 | wait(.1) | |
3211 | for i, v in pairs(TRGT.Value.Parent:GetChildren()) do | |
3212 | if v:IsA("Part") then | |
3213 | v.Position = v.Position + Vector3.new(0,50,0) | |
3214 | end | |
3215 | end | |
3216 | ||
3217 | ||
3218 | local Victimm = TRGT.Value.Parent | |
3219 | Victimm.Humanoid.PlatformStand = true | |
3220 | guigroup=Instance.new("BillboardGui") | |
3221 | guigroup.Parent=Victimm.Head | |
3222 | guigroup.Adornee=Victimm.Head | |
3223 | guigroup.Size = UDim2.new(1,0,1,0) | |
3224 | guigroup.StudsOffset=Vector3.new(0.5, 2, 0) | |
3225 | owooo1 = Instance.new("ImageLabel") | |
3226 | owooo1.Size = UDim2.new(0,100,0,100) | |
3227 | owooo1.BackgroundColor3 = Color3.new(1, 1, 1) | |
3228 | owooo1.BackgroundTransparency = 1 | |
3229 | owooo1.Image = "rbxassetid://20016320" | |
3230 | owooo1.Parent = guigroup | |
3231 | owooo1.AnchorPoint = Vector2.new(0.5, 0.5) | |
3232 | owooo1.Size = UDim2.new(1.5,0,1.5,0) | |
3233 | local player = Victimm | |
3234 | local char = Victimm | |
3235 | local OMGCREEPYw = Instance.new("Sound") | |
3236 | OMGCREEPYw.Volume = 5 | |
3237 | OMGCREEPYw.SoundId = "rbxassetid://605536910" | |
3238 | char.Archivable = true | |
3239 | local rg = char:Clone() | |
3240 | rg.HumanoidRootPart:Destroy() | |
3241 | rg.Name = "" | |
3242 | rg.Humanoid.MaxHealth = 0 | |
3243 | rg.Humanoid.PlatformStand = true | |
3244 | for i, v in pairs(rg.Torso:GetChildren()) do | |
3245 | if v:IsA("Motor6D") then | |
3246 | v:Destroy() | |
3247 | end | |
3248 | end | |
3249 | for i, v in pairs(rg:GetChildren()) do | |
3250 | if v:IsA("BodyColors") then | |
3251 | v:Destroy() | |
3252 | end | |
3253 | end | |
3254 | for i, v in pairs(rg:GetChildren()) do | |
3255 | if v:IsA("Shirt") then | |
3256 | v:Destroy() | |
3257 | end | |
3258 | end | |
3259 | for i, v in pairs(rg:GetChildren()) do | |
3260 | if v:IsA("Pants") then | |
3261 | v:Destroy() | |
3262 | end | |
3263 | end | |
3264 | for i, v in pairs(rg:GetChildren()) do | |
3265 | if v:IsA("ShirtGraphic") then | |
3266 | v:Destroy() | |
3267 | end | |
3268 | end | |
3269 | for i, v in pairs(rg:GetChildren()) do | |
3270 | if v:IsA("Part") then | |
3271 | v.BrickColor = BrickColor.new("Really black") | |
3272 | v.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
3273 | end | |
3274 | end | |
3275 | local TorsoPointNeckAttachment = Instance.new("Attachment") | |
3276 | TorsoPointNeckAttachment.Name = "TorsoPointNeckAttachment" | |
3277 | TorsoPointNeckAttachment.Parent = rg.Torso | |
3278 | TorsoPointNeckAttachment.Position = Vector3.new(0,1,0) | |
3279 | TorsoPointNeckAttachment.Axis = Vector3.new(1,0,0) | |
3280 | TorsoPointNeckAttachment.SecondaryAxis = Vector3.new(0,1,0) | |
3281 | local HeadPointNeckAttachment= Instance.new("Attachment") | |
3282 | HeadPointNeckAttachment.Name = "HeadPointNeckAttachment" | |
3283 | HeadPointNeckAttachment.Parent = rg.Head | |
3284 | HeadPointNeckAttachment.Position = Vector3.new(0,-0.5,0) | |
3285 | HeadPointNeckAttachment.Axis = Vector3.new(1,0,0) | |
3286 | HeadPointNeckAttachment.SecondaryAxis = Vector3.new(0,1,0) | |
3287 | local LeftArmPointAttachment = Instance.new("Attachment") | |
3288 | LeftArmPointAttachment.Name = "LeftArmPointAttachment" | |
3289 | LeftArmPointAttachment.Parent = rg["Left Arm"] | |
3290 | LeftArmPointAttachment.Position = Vector3.new(0,0.5,0) | |
3291 | LeftArmPointAttachment.Axis = Vector3.new(1,0,0) | |
3292 | LeftArmPointAttachment.SecondaryAxis = Vector3.new(0,1,0) | |
3293 | local RightArmPointAttachment = Instance.new("Attachment") | |
3294 | RightArmPointAttachment.Name = "RightArmPointAttachment" | |
3295 | RightArmPointAttachment.Parent = rg["Right Arm"] | |
3296 | RightArmPointAttachment.Position = Vector3.new(0,0.5,0) | |
3297 | RightArmPointAttachment.Axis = Vector3.new(1,0,0) | |
3298 | RightArmPointAttachment.SecondaryAxis = Vector3.new(0,1,0) | |
3299 | local LeftLegPointAttachment = Instance.new("Attachment") | |
3300 | LeftLegPointAttachment.Name = "LeftLegPointAttachment" | |
3301 | LeftLegPointAttachment.Parent = rg["Left Leg"] | |
3302 | LeftLegPointAttachment.Position = Vector3.new(0,1,0) | |
3303 | LeftLegPointAttachment.Axis = Vector3.new(1,0,0) | |
3304 | LeftLegPointAttachment.SecondaryAxis = Vector3.new(0,1,0) | |
3305 | local RightLegPointAttachment = Instance.new("Attachment") | |
3306 | RightLegPointAttachment.Name = "RightLegPointAttachment" | |
3307 | RightLegPointAttachment.Parent = rg["Right Leg"] | |
3308 | RightLegPointAttachment.Position = Vector3.new(0,1,0) | |
3309 | RightLegPointAttachment.Axis = Vector3.new(1,0,0) | |
3310 | RightLegPointAttachment.SecondaryAxis = Vector3.new(0,1,0) | |
3311 | local LeftHipPointAttachment = Instance.new("Attachment") | |
3312 | LeftHipPointAttachment.Name = "LeftHipPointAttachment" | |
3313 | LeftHipPointAttachment.Parent = rg.Torso | |
3314 | LeftHipPointAttachment.Position = Vector3.new(-0.5,-1,0) | |
3315 | LeftHipPointAttachment.Axis = Vector3.new(1,0,0) | |
3316 | LeftHipPointAttachment.SecondaryAxis = Vector3.new(0,1,0) | |
3317 | local RightHipPointAttachment = Instance.new("Attachment") | |
3318 | RightHipPointAttachment.Name = "RightHipPointAttachment" | |
3319 | RightHipPointAttachment.Parent = rg.Torso | |
3320 | RightHipPointAttachment.Position = Vector3.new(0.5,-1,0) | |
3321 | RightHipPointAttachment.Axis = Vector3.new(1,0,0) | |
3322 | RightHipPointAttachment.SecondaryAxis = Vector3.new(0,1,0) | |
3323 | local LeftShoulderPointAttachment = Instance.new("Attachment") | |
3324 | LeftShoulderPointAttachment.Name = "LeftShoulderPointAttachment" | |
3325 | LeftShoulderPointAttachment.Parent = rg.Torso | |
3326 | LeftShoulderPointAttachment.Position = Vector3.new(-1.5,0.5,0) | |
3327 | LeftShoulderPointAttachment.Axis = Vector3.new(1,0,0) | |
3328 | LeftShoulderPointAttachment.SecondaryAxis = Vector3.new(0,1,0) | |
3329 | local RightShoulderPointAttachment = Instance.new("Attachment") | |
3330 | RightShoulderPointAttachment.Name = "RightShoulderPointAttachment" | |
3331 | RightShoulderPointAttachment.Parent = rg.Torso | |
3332 | RightShoulderPointAttachment.Position = Vector3.new(1.5,0.5,0) | |
3333 | RightShoulderPointAttachment.Axis = Vector3.new(1,0,0) | |
3334 | RightShoulderPointAttachment.SecondaryAxis = Vector3.new(0,1,0) | |
3335 | ||
3336 | ||
3337 | ||
3338 | ||
3339 | ||
3340 | ||
3341 | local n = Instance.new("BallSocketConstraint", rg.Torso) | |
3342 | n.Name = "BallSocketNeck" | |
3343 | n.Attachment0 = TorsoPointNeckAttachment | |
3344 | n.Attachment1 = HeadPointNeckAttachment | |
3345 | n.Restitution = 0 | |
3346 | n.UpperAngle = 90 | |
3347 | n.Enabled = true | |
3348 | n.LimitsEnabled = true | |
3349 | ||
3350 | local rs = Instance.new("BallSocketConstraint", rg.Torso) | |
3351 | rs.Name = "BallSocketRightShoulder" | |
3352 | rs.Attachment0 = RightShoulderPointAttachment | |
3353 | rs.Attachment1 = RightArmPointAttachment | |
3354 | rs.Restitution = 0 | |
3355 | rs.UpperAngle = 90 | |
3356 | rs.Enabled = true | |
3357 | rs.LimitsEnabled = true | |
3358 | local ls = Instance.new("BallSocketConstraint", rg.Torso) | |
3359 | ls.Name = "BallSocketLeftShoulder" | |
3360 | ls.Attachment0 = LeftShoulderPointAttachment | |
3361 | ls.Attachment1 = LeftArmPointAttachment | |
3362 | ls.Restitution = 0 | |
3363 | ls.UpperAngle = 90 | |
3364 | ls.Enabled = true | |
3365 | ls.LimitsEnabled = true | |
3366 | ||
3367 | local rh = Instance.new("BallSocketConstraint", rg.Torso) | |
3368 | rh.Name = "BallSocketRightHip" | |
3369 | rh.Attachment0 = RightHipPointAttachment | |
3370 | rh.Attachment1 = RightLegPointAttachment | |
3371 | rh.Restitution = 0 | |
3372 | rh.UpperAngle = 90 | |
3373 | rh.Enabled = true | |
3374 | rh.LimitsEnabled = true | |
3375 | local lh = Instance.new("BallSocketConstraint", rg.Torso) | |
3376 | lh.Name = "BallSocketLeftHip" | |
3377 | lh.Attachment0 = LeftHipPointAttachment | |
3378 | lh.Attachment1 = LeftLegPointAttachment | |
3379 | lh.Restitution = 0 | |
3380 | lh.UpperAngle = 90 | |
3381 | lh.Enabled = true | |
3382 | lh.LimitsEnabled = true | |
3383 | ||
3384 | ||
3385 | char.Torso:Destroy() | |
3386 | char.Head:Destroy() | |
3387 | char["Left Leg"]:Destroy() | |
3388 | char["Left Arm"]:Destroy() | |
3389 | char["Right Leg"]:Destroy() | |
3390 | char["Right Arm"]:Destroy() | |
3391 | char["HumanoidRootPart"]:Destroy() | |
3392 | char.Humanoid.PlatformStand = true | |
3393 | rg.Parent = game.Workspace | |
3394 | rg.Head.face.Texture = "http://www.roblox.com/asset/?id=778409313" | |
3395 | Victimm.Humanoid.Name = "Humanoid2" | |
3396 | local runDummyScript = function(f,scri) | |
3397 | local oldenv = getfenv(f) | |
3398 | local newenv = setmetatable({}, { | |
3399 | __index = function(_, k) | |
3400 | if k:lower() == 'script' then | |
3401 | return scri | |
3402 | else | |
3403 | return oldenv[k] | |
3404 | end | |
3405 | end | |
3406 | }) | |
3407 | setfenv(f, newenv) | |
3408 | ypcall(function() f() end) | |
3409 | end | |
3410 | local cors = {} | |
3411 | local mas = Instance.new("Model",game:GetService("Lighting")) | |
3412 | mas.Name = "Collidable Limbs" | |
3413 | local oo1 = Instance.new("Part") | |
3414 | local oo2 = Instance.new("Part") | |
3415 | local oo3 = Instance.new("Part") | |
3416 | local oo4 = Instance.new("Part") | |
3417 | local oo5 = Instance.new("Part") | |
3418 | local oo6 = Instance.new("Part") | |
3419 | local w1 = Instance.new("Weld") | |
3420 | local w2 = Instance.new("Weld") | |
3421 | local w3 = Instance.new("Weld") | |
3422 | local w4 = Instance.new("Weld") | |
3423 | local w5 = Instance.new("Weld") | |
3424 | local w6 = Instance.new("Weld") | |
3425 | oo1.Name = "CHead" | |
3426 | w1.Parent = oo1 | |
3427 | w1.Part0 = w1.Parent | |
3428 | w1.Part1 = rg["Head"] | |
3429 | oo1.Parent = mas | |
3430 | oo1.Material = Enum.Material.SmoothPlastic | |
3431 | oo1.BrickColor = BrickColor.new("Institutional white") | |
3432 | oo1.Transparency = 1 | |
3433 | oo1.Position = rg.Head.Position | |
3434 | oo1.Velocity = Vector3.new(0, -9.19685173, 0) | |
3435 | oo1.Locked = true | |
3436 | oo1.FormFactor = Enum.FormFactor.Symmetric | |
3437 | oo1.Size = Vector3.new(2, 1, 1) | |
3438 | oo1.CFrame = CFrame.new(0, 4.50001812, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
3439 | oo1.BottomSurface = Enum.SurfaceType.Smooth | |
3440 | oo1.TopSurface = Enum.SurfaceType.Smooth | |
3441 | oo1.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
3442 | oo1.Position = Vector3.new(0, 4.50001812, 0) | |
3443 | oo1.CanCollide = false | |
3444 | ||
3445 | oo2.Name = "CT" | |
3446 | w2.Parent = oo2 | |
3447 | w2.Part0 = w2.Parent | |
3448 | w2.Part1 = rg["Torso"] | |
3449 | oo2.Parent = mas | |
3450 | oo2.CanCollide = true | |
3451 | oo2.Material = Enum.Material.SmoothPlastic | |
3452 | oo2.BrickColor = BrickColor.new("Institutional white") | |
3453 | oo2.Transparency = 1 | |
3454 | oo2.Position = rg.Torso.Position | |
3455 | oo2.Velocity = Vector3.new(0, -9.19685173, 0) | |
3456 | oo2.Locked = true | |
3457 | oo2.Anchored = false | |
3458 | oo2.FormFactor = Enum.FormFactor.Symmetric | |
3459 | oo2.Size = Vector3.new(2, 2, 1) | |
3460 | oo2.CFrame = CFrame.new(0, 3.00001788, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
3461 | oo2.BottomSurface = Enum.SurfaceType.Smooth | |
3462 | oo2.TopSurface = Enum.SurfaceType.Smooth | |
3463 | oo2.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
3464 | oo2.Position = Vector3.new(0, 3.00001788, 0) | |
3465 | oo3.Name = "CLA" | |
3466 | oo3.CanCollide = true | |
3467 | w3.Parent = oo3 | |
3468 | w3.Part0 = w3.Parent | |
3469 | w3.Part1 = rg["Left Arm"] | |
3470 | w3.C0 = CFrame.new(0, 0, 0) | |
3471 | w3.C1 = CFrame.new(0, -0.2, 0) | |
3472 | oo3.Parent = mas | |
3473 | oo3.Material = Enum.Material.SmoothPlastic | |
3474 | oo3.BrickColor = BrickColor.new("Institutional white") | |
3475 | oo3.Transparency = 1 | |
3476 | oo3.Position = rg["Left Arm"].Position | |
3477 | oo3.Velocity = Vector3.new(0, -9.19685173, 0) | |
3478 | oo3.CanCollide = true | |
3479 | oo3.Locked = true | |
3480 | oo3.FormFactor = Enum.FormFactor.Symmetric | |
3481 | oo3.Size = Vector3.new(1, 1.40, 1) | |
3482 | oo3.CFrame = CFrame.new(-1.5, 3.00001788, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
3483 | oo3.BottomSurface = Enum.SurfaceType.Smooth | |
3484 | oo3.TopSurface = Enum.SurfaceType.Smooth | |
3485 | oo3.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
3486 | oo3.Position = Vector3.new(-1.5, 3.00001788, 0) | |
3487 | oo4.Name = "CRA" | |
3488 | w4.Parent = oo4 | |
3489 | w4.Part0 = w4.Parent | |
3490 | w4.Part1 = rg["Right Arm"] | |
3491 | w4.C0 = CFrame.new(0, 0, 0) | |
3492 | w4.C1 = CFrame.new(0, -0.2, 0) | |
3493 | oo4.Parent = mas | |
3494 | oo4.CanCollide = true | |
3495 | oo4.Material = Enum.Material.SmoothPlastic | |
3496 | oo4.BrickColor = BrickColor.new("Institutional white") | |
3497 | oo4.Transparency = 1 | |
3498 | oo4.Position = Vector3.new(1.5, 3.00001788, 0) | |
3499 | oo4.Velocity = Vector3.new(0, -9.19685173, 0) | |
3500 | oo4.CanCollide = true | |
3501 | oo4.Locked = true | |
3502 | oo4.FormFactor = Enum.FormFactor.Symmetric | |
3503 | oo4.Size = Vector3.new(1, 1.40, 1) | |
3504 | oo4.CFrame = CFrame.new(1.5, 3.00001788, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
3505 | oo4.BottomSurface = Enum.SurfaceType.Smooth | |
3506 | oo4.TopSurface = Enum.SurfaceType.Smooth | |
3507 | oo4.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
3508 | oo4.Position = rg["Right Arm"].Position | |
3509 | oo5.Name = "CLL" | |
3510 | oo5.Parent = mas | |
3511 | w5.Parent = oo5 | |
3512 | w5.Part0 = w5.Parent | |
3513 | w5.Part1 = rg["Left Leg"] | |
3514 | w5.C0 = CFrame.new(0, 0, 0) | |
3515 | w5.C1 = CFrame.new(0, -0.2, 0) | |
3516 | oo5.Material = Enum.Material.SmoothPlastic | |
3517 | oo5.BrickColor = BrickColor.new("Institutional white") | |
3518 | oo5.Transparency = 1 | |
3519 | oo5.CanCollide = true | |
3520 | oo5.Position = rg["Left Leg"].Position | |
3521 | oo5.Velocity = Vector3.new(0, -9.19685173, 0) | |
3522 | oo5.CanCollide = true | |
3523 | oo5.Locked = true | |
3524 | oo5.FormFactor = Enum.FormFactor.Symmetric | |
3525 | oo5.Size = Vector3.new(1, 1.65, 1) | |
3526 | oo5.CFrame = CFrame.new(-0.5, 1.00001788, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
3527 | oo5.BottomSurface = Enum.SurfaceType.Smooth | |
3528 | oo5.TopSurface = Enum.SurfaceType.Smooth | |
3529 | oo5.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
3530 | oo5.Position = Vector3.new(-0.5, 1.00001788, 0) | |
3531 | oo6.Name = "CRL" | |
3532 | oo6.Parent = mas | |
3533 | oo6.Material = Enum.Material.SmoothPlastic | |
3534 | oo6.BrickColor = BrickColor.new("Institutional white") | |
3535 | oo6.Transparency = 1 | |
3536 | oo6.Position = rg["Right Leg"].Position | |
3537 | oo6.Velocity = Vector3.new(0, -9.19685173, 0) | |
3538 | oo6.CanCollide = true | |
3539 | oo6.Locked = true | |
3540 | oo6.FormFactor = Enum.FormFactor.Symmetric | |
3541 | oo6.Size = Vector3.new(1, 1.65, 1) | |
3542 | oo6.CFrame = CFrame.new(0.5, 1.00001788, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
3543 | oo6.BottomSurface = Enum.SurfaceType.Smooth | |
3544 | oo6.TopSurface = Enum.SurfaceType.Smooth | |
3545 | oo6.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
3546 | oo6.Position = Vector3.new(0.5, 1.00001788, 0) | |
3547 | oo6.CanCollide = true | |
3548 | w6.Parent = oo6 | |
3549 | w6.Part0 = w6.Parent | |
3550 | w6.Part1 = rg["Right Leg"] | |
3551 | w6.C0 = CFrame.new(0, 0, 0) | |
3552 | w6.C1 = CFrame.new(0, -0.2, 0) | |
3553 | mas.Parent = rg | |
3554 | mas:MakeJoints() | |
3555 | local NAEM = rg.Name | |
3556 | local raggeeh = rg:Clone() | |
3557 | raggeeh.Head.Anchored = true | |
3558 | raggeeh.Name = Victimm.Name | |
3559 | raggeeh.Humanoid.PlatformStand = true | |
3560 | local FORS = Instance.new("BodyThrust") | |
3561 | FORS.Force = Vector3.new(0,100,0) | |
3562 | FORS.Location = Vector3.new(0,1,0) | |
3563 | FORS.Parent = raggeeh.Head | |
3564 | local TUURS = raggeeh.Torso | |
3565 | local CPU = Instance.new("Model") | |
3566 | CPU.Parent = raggeeh | |
3567 | raggeeh.Parent = game:GetService("Workspace") | |
3568 | CPU.Name = NAEM.."'s generated CameraPart" | |
3569 | ||
3570 | local FORCEo1 = Instance.new("BodyThrust") | |
3571 | FORCEo1.Parent = raggeeh.Torso | |
3572 | FORCEo1.force = Vector3.new(0, 1000, 0) | |
3573 | FORCEo1.location = Vector3.new(0, 0, 1) | |
3574 | ||
3575 | raggeeh.Parent = game:GetService("Workspace") | |
3576 | rg:destroy() | |
3577 | raggeeh.Head.Anchored = false | |
3578 | ||
3579 | raggeeh.Parent = game:GetService("Workspace") | |
3580 | wait() | |
3581 | local FOLDARR = Instance.new("Model") | |
3582 | FOLDARR.Parent = raggeeh | |
3583 | FOLDARR.Name = "BLUDDDDDDDDDDD" | |
3584 | local FLUIDS = Instance.new("Model") | |
3585 | FLUIDS.Name = NAEM.."'s fluids" | |
3586 | FLUIDS.Parent = FOLDARR | |
3587 | raggeeh.Head.Anchored = false | |
3588 | OMGCREEPYw.Parent = raggeeh | |
3589 | OMGCREEPYw:Play() | |
3590 | local chats = {"OW!","NOOOO!!!!","NUUUUUU!","OWWWWWW!!","OW11!11!1!!!!!!111!!1!","Ò_Ó","ÒoÓ","._.",".-.","T_T","T-T","o_O","O_o","O_O","o_o","o-o","O-o","o-O",":(",":-(",":c",":-c",":C",":-C","...",":|",":-|",":o",":O",":-o",":-O","I hate bannannaaaaaassssssssssssssss lik u","Why","Fuck you","AFWR·$%H"} | |
3591 | game:GetService("Chat"):Chat(raggeeh.Head, chats[math.random(1, #chats)], Enum.ChatColor.Red) | |
3592 | game:GetService("RunService").Stepped:wait() | |
3593 | FORCEo1:Destroy() | |
3594 | raggeeh.Humanoid.Name = "Humanoid2" | |
3595 | for i, veee in pairs(raggeeh:GetChildren()) do | |
3596 | if veee:IsA("Part") then | |
3597 | local firo1 = Instance.new("ParticleEmitter") | |
3598 | firo2 = Instance.new("Sound") | |
3599 | firo1.Name = "Fire" | |
3600 | firo1.Parent = veee | |
3601 | firo1.Transparency = NumberSequence.new(0,0.54374998807907,0.73749995231628,0,0.72500002384186,0.45625001192093,0.63749998807907,0,0.52499997615814,0) | |
3602 | firo1.Rotation = NumberRange.new(4,9) | |
3603 | firo1.Size = NumberSequence.new(1) | |
3604 | firo1.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(0.364706, 0, 0)) | |
3605 | firo1.LightEmission = 0.86000001430511 | |
3606 | firo1.Texture = "http://www.roblox.com/asset/?id=248625108" | |
3607 | firo1.Lifetime = NumberRange.new(0,1) | |
3608 | firo1.Rate = 2.222222306653e+16 | |
3609 | firo1.RotSpeed = NumberRange.new(5,9) | |
3610 | firo1.Acceleration = Vector3.new(0, 20, 0) | |
3611 | firo1.Speed = NumberRange.new(0) | |
3612 | firo1.VelocitySpread = 28 | |
3613 | firo1.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(0.364706, 0, 0)) | |
3614 | ||
3615 | lio1 = Instance.new("PointLight") | |
3616 | lio1.Name = "FireLight" | |
3617 | lio1.Parent = veee | |
3618 | lio1.Color = Color3.new(1, 0.333333, 0) | |
3619 | lio1.Range = 14 | |
3620 | lio1.Shadows = true | |
3621 | lio1.Color = Color3.new(1, 0.333333, 0) | |
3622 | ||
3623 | end | |
3624 | end | |
3625 | firo2.Name = "FireSound" | |
3626 | firo2.Parent = raggeeh.Head | |
3627 | firo2.Pitch = 1.0800000429153 | |
3628 | firo2.SoundId = "rbxassetid://172154904" | |
3629 | firo2.Volume = 5 | |
3630 | firo2.Looped = true | |
3631 | firo2:Play() | |
3632 | print(raggeeh.Name.." lived a good life.") | |
3633 | end | |
3634 | end | |
3635 | end | |
3636 | end | |
3637 | end) | |
3638 | ||
3639 | Mouse.KeyDown:connect(function(key) | |
3640 | if (key == "r") and Run == false and Shot == true and EQUIP == true and Recharging == false and TUANT == false and JUTPAC == false | |
3641 | then | |
3642 | Recharging = true | |
3643 | local Effact = Instance.new("Sound") | |
3644 | Effact.Parent = o2 | |
3645 | Effact.SoundId = "rbxassetid://896792661" | |
3646 | Effact.Name = "recharge" | |
3647 | Effact.Volume = 5 | |
3648 | Effact.TimePosition = 0 | |
3649 | Effact:Play() | |
3650 | wait(3) | |
3651 | print("Recharg") | |
3652 | LWe.C1 = CFrame.new(1.51284409, 1.68632507, 0.666482449, 0.995883048, 0.0236997847, 0.0875277296, -0.086501509, -0.0413281731, 0.995397031, 0.0272082742, -0.998857856, -0.0391082279) | |
3653 | LCFRAME.Value = CFrame.new(1.51284409, 1.68632507, 0.666482449, 0.995883048, 0.0236997847, 0.0875277296, -0.086501509, -0.0413281731, 0.995397031, 0.0272082742, -0.998857856, -0.0391082279) | |
3654 | RWe.C1 = CFrame.new(-1.28239441, -0.122968674, 0.49977541, 0.772962093, 0.0188593157, -0.634176493, 0.634456873, -0.0229764227, 0.772620499, 1.78502813e-08, -0.999551415, -0.0297255553) | |
3655 | RCFRAME.Value = CFrame.new(-1.28239441, -0.122968674, 0.49977541, 0.772962093, 0.0188593157, -0.634176493, 0.634456873, -0.0229764227, 0.772620499, 1.78502813e-08, -0.999551415, -0.0297255553) | |
3656 | o31.Transparency = 0 | |
3657 | o35.Transparency = 0 | |
3658 | wait(1) | |
3659 | LWe.C1 = CFrame.new(0.263601303, 2.09693909, 0.499567032, 0.902910948, -0.0178833418, 0.429455459, -0.42982769, -0.0375663675, 0.902129173, 0, -0.999134064, -0.0416058451) | |
3660 | LCFRAME.Value = CFrame.new(0.263601303, 2.09693909, 0.499567032, 0.902910948, -0.0178833418, 0.429455459, -0.42982769, -0.0375663675, 0.902129173, 0, -0.999134064, -0.0416058451) | |
3661 | RWe.C1 = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095) | |
3662 | RCFRAME.Value = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095) | |
3663 | Shot = false | |
3664 | Recharging = false | |
3665 | end | |
3666 | end) | |
3667 | ||
3668 | Mouse.KeyDown:connect(function(key) | |
3669 | if string.byte(key) == 50 and EQUIP == true and Run == false and TUANT == false and Recharging == false and JUTPAC == false | |
3670 | then | |
3671 | Run = true | |
3672 | Jihad.Humanoid.WalkSpeed = 20 | |
3673 | o13.Name = "qCFrameWeldThingy" | |
3674 | LWe.C1 = CFrame.new(1.56352997, 1.00769043, 0.324429512, 0.966723204, -0.193613932, -0.167212114, 0.20047234, 0.16728963, 0.965310931, -0.158924729, -0.966709673, 0.200537086) | |
3675 | LCFRAME.Value = CFrame.new(1.56352997, 1.00769043, 0.324429512, 0.966723204, -0.193613932, -0.167212114, 0.20047234, 0.16728963, 0.965310931, -0.158924729, -0.966709673, 0.200537086) | |
3676 | ||
3677 | RWe.C1 = CFrame.new(-0.930030823, -0.41362381, 0.479974508, 0.547277331, -0.234496832, -0.803429365, 0.836951315, 0.153336033, 0.525357544, 0, -0.959947467, 0.280179799) | |
3678 | RCFRAME.Value = CFrame.new(-0.930030823, -0.41362381, 0.479974508, 0.547277331, -0.234496832, -0.803429365, 0.836951315, 0.153336033, 0.525357544, 0, -0.959947467, 0.280179799) | |
3679 | end | |
3680 | end) | |
3681 | ||
3682 | Mouse.KeyUp:connect(function(key) | |
3683 | if string.byte(key) == 50 and EQUIP == true and Run == true and JUTPAC == false | |
3684 | then | |
3685 | Run = false | |
3686 | Jihad.Humanoid.WalkSpeed = 8 | |
3687 | o13.Name = "qCFrameWeldThingy" | |
3688 | LWe.C1 = CFrame.new(0.263601303, 2.09693909, 0.499567032, 0.902910948, -0.0178833418, 0.429455459, -0.42982769, -0.0375663675, 0.902129173, 0, -0.999134064, -0.0416058451) | |
3689 | LCFRAME.Value = CFrame.new(0.263601303, 2.09693909, 0.499567032, 0.902910948, -0.0178833418, 0.429455459, -0.42982769, -0.0375663675, 0.902129173, 0, -0.999134064, -0.0416058451) | |
3690 | ||
3691 | RWe.C1 = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095) | |
3692 | RCFRAME.Value = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095) | |
3693 | end | |
3694 | end) | |
3695 | ||
3696 | Mouse.KeyDown:connect(function(key) | |
3697 | if (key == "p") and TUANT == false and Run == false and Recharging == false and JUTPAC == false | |
3698 | then | |
3699 | RWe.C1 = CFrame.new(-1.40336227, 0.929044724, 0.499858379, 0.908341825, -0.00996082462, 0.418109894, -0.418228537, -0.021633707, 0.908084154, 0, -0.999716282, -0.0238167048) | |
3700 | RCFRAME.Value = CFrame.new(-1.40336227, 0.929044724, 0.499858379, 0.908341825, -0.00996082462, 0.418109894, -0.418228537, -0.021633707, 0.908084154, 0, -0.999716282, -0.0238167048) | |
3701 | LWe.C1 = CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 1) | |
3702 | LCFRAME.Value = CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 1) | |
3703 | Tool.GripForward = Vector3.new(0, 1, 0.005) | |
3704 | Tool.GripPos = Vector3.new(0, 0.5, -0.5) | |
3705 | Tool.GripRight = Vector3.new(1, -0, -0) | |
3706 | Tool.GripUp = Vector3.new(0, -0.005, 1) | |
3707 | TUANT = true | |
3708 | Jihad.Humanoid.WalkSpeed = 0 | |
3709 | Jihad.Humanoid.JumpPower = 0 | |
3710 | TUANT = true | |
3711 | end | |
3712 | end) | |
3713 | ||
3714 | Mouse.KeyDown:connect(function(key) | |
3715 | if (key == "l") and TUANT == true and Run == false and JUTPAC == false | |
3716 | then | |
3717 | ||
3718 | LWe.C1 = CFrame.new(0.263601303, 2.09693909, 0.499567032, 0.902910948, -0.0178833418, 0.429455459, -0.42982769, -0.0375663675, 0.902129173, 0, -0.999134064, -0.0416058451) | |
3719 | LCFRAME.Value = CFrame.new(0.263601303, 2.09693909, 0.499567032, 0.902910948, -0.0178833418, 0.429455459, -0.42982769, -0.0375663675, 0.902129173, 0, -0.999134064, -0.0416058451) | |
3720 | RWe.C1 = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095) | |
3721 | RCFRAME.Value = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095) | |
3722 | Tool.GripForward = Vector3.new(0.027, 0, 1) | |
3723 | Tool.GripPos = Vector3.new(0, 0, 0) | |
3724 | Tool.GripRight = Vector3.new(-1, 0, 0.027) | |
3725 | Tool.GripUp = Vector3.new(0, 1, 0) | |
3726 | Jihad.Humanoid.WalkSpeed = 8 | |
3727 | Jihad.Humanoid.JumpPower = 50 | |
3728 | TUANT = false | |
3729 | end | |
3730 | end) | |
3731 | ||
3732 | o1 = Instance.new("Model") | |
3733 | o2 = Instance.new("Part") | |
3734 | o3 = Instance.new("SpecialMesh") | |
3735 | o4 = Instance.new("Sound") | |
3736 | o8 = Instance.new("Part") | |
3737 | o9 = Instance.new("ParticleEmitter") | |
3738 | o10 = Instance.new("Weld") | |
3739 | o11 = Instance.new("CFrameValue") | |
3740 | o12 = Instance.new("Part") | |
3741 | o13 = Instance.new("ParticleEmitter") | |
3742 | o14 = Instance.new("Weld") | |
3743 | o15 = Instance.new("CFrameValue") | |
3744 | o16 = Instance.new("Part") | |
3745 | o17 = Instance.new("Weld") | |
3746 | o18 = Instance.new("CFrameValue") | |
3747 | o1.Name = "Jet pac" | |
3748 | o1.Parent = Jihad | |
3749 | o2.Name = "Handle" | |
3750 | o2.Parent = o1 | |
3751 | o2.Position = Vector3.new(-10.3698969, 7.79880476, -31.5854397) | |
3752 | o2.Rotation = Vector3.new(-0.600000024, -0.289999992, -0.00999999978) | |
3753 | o2.FormFactor = Enum.FormFactor.Symmetric | |
3754 | o2.Size = Vector3.new(5, 3, 1) | |
3755 | o2.CFrame = CFrame.new(-10.3698969, 7.79880476, -31.5854397, 0.999986887, 0.000177491413, -0.00512228627, -0.000123886552, 0.999945283, 0.0104634464, 0.005123863, -0.0104626743, 0.99993217) | |
3756 | o2.BottomSurface = Enum.SurfaceType.Weld | |
3757 | o2.Position = Vector3.new(-10.3698969, 7.79880476, -31.5854397) | |
3758 | o2.Orientation = Vector3.new(-0.600000024, -0.289999992, -0.00999999978) | |
3759 | o3.Parent = o2 | |
3760 | o3.MeshId = "http://www.roblox.com/asset/?id=30643517" | |
3761 | o3.TextureId = "http://www.roblox.com/asset/?id=31322728" | |
3762 | o3.MeshType = Enum.MeshType.FileMesh | |
3763 | o4.Parent = o2 | |
3764 | o4.Pitch = 0.5 | |
3765 | o4.SoundId = "rbxassetid://558246436" | |
3766 | o8.Name = "1" | |
3767 | o8.Parent = o1 | |
3768 | o8.Transparency = 1 | |
3769 | o8.Position = Vector3.new(-10.8659163, 6.27540779, -31.4270248) | |
3770 | o8.Rotation = Vector3.new(179.399994, 0.289999992, 0) | |
3771 | o8.FormFactor = Enum.FormFactor.Symmetric | |
3772 | o8.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007) | |
3773 | o8.CFrame = CFrame.new(-10.8659163, 6.27540779, -31.4270248, 0.999987304, 7.41409749e-05, 0.00505591277, 0.000127067455, -0.999945283, -0.0104687158, 0.00505485991, 0.0104692252, -0.999932468) | |
3774 | o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3775 | o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3776 | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3777 | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3778 | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3779 | o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3780 | o8.Position = Vector3.new(-10.8659163, 6.27540779, -31.4270248) | |
3781 | o8.Orientation = Vector3.new(0.600000024, 179.710007, 179.990005) | |
3782 | o9.Parent = o8 | |
3783 | o9.Size = NumberSequence.new(0.5,0.5) | |
3784 | o9.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0, 0)) | |
3785 | o9.Enabled = false | |
3786 | o9.LightEmission = 1 | |
3787 | o9.Texture = "http://www.roblox.com/asset/?id=189845859" | |
3788 | o9.Lifetime = NumberRange.new(0.5,0.5) | |
3789 | o9.Rate = 3.3333331781222e+14 | |
3790 | o9.RotSpeed = NumberRange.new(20,20) | |
3791 | o9.Speed = NumberRange.new(7,7) | |
3792 | o9.VelocitySpread = 15 | |
3793 | o9.LockedToPart = true | |
3794 | o9.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0, 0)) | |
3795 | o10.Name = "qCFrameWeldThingy" | |
3796 | o10.Parent = o8 | |
3797 | o10.C1 = CFrame.new(0.495406151, -1.52493501, 0.144964218, 1, 0.000251662277, -6.63749597e-05, 0.000251662626, -1, 5.26165923e-06, -6.63736355e-05, -5.27836346e-06, -1) | |
3798 | o10.Part0 = o2 | |
3799 | o10.Part1 = o8 | |
3800 | o11.Name = "qRelativeCFrameWeldValue" | |
3801 | o11.Parent = o8 | |
3802 | o11.Value = CFrame.new(0.495406151, -1.52493501, 0.144964218, 1, 0.000251662277, -6.63749597e-05, 0.000251662626, -1, 5.26165923e-06, -6.63736355e-05, -5.27836346e-06, -1) | |
3803 | o12.Name = "2" | |
3804 | o12.Parent = o1 | |
3805 | o12.Transparency = 1 | |
3806 | o12.Position = Vector3.new(-9.85590458, 6.27527666, -31.4218502) | |
3807 | o12.Rotation = Vector3.new(179.399994, 0.289999992, 0) | |
3808 | o12.FormFactor = Enum.FormFactor.Symmetric | |
3809 | o12.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007) | |
3810 | o12.CFrame = CFrame.new(-9.85590458, 6.27527666, -31.4218502, 0.999987304, 7.41420226e-05, 0.00505588297, 0.000127068182, -0.999945283, -0.0104687167, 0.00505483011, 0.0104692252, -0.999932468) | |
3811 | o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3812 | o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3813 | o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3814 | o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3815 | o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3816 | o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3817 | o12.Position = Vector3.new(-9.85590458, 6.27527666, -31.4218502) | |
3818 | o12.Orientation = Vector3.new(0.600000024, 179.710007, 179.990005) | |
3819 | o13.Parent = o12 | |
3820 | o13.Size = NumberSequence.new(0.5,0.5) | |
3821 | o13.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0, 0)) | |
3822 | o13.Enabled = false | |
3823 | o13.LightEmission = 1 | |
3824 | o13.Texture = "http://www.roblox.com/asset/?id=189845859" | |
3825 | o13.Lifetime = NumberRange.new(0.5,0.5) | |
3826 | o13.Rate = 3.3333331781222e+14 | |
3827 | o13.RotSpeed = NumberRange.new(20,20) | |
3828 | o13.Speed = NumberRange.new(7,7) | |
3829 | o13.VelocitySpread = 15 | |
3830 | o13.LockedToPart = true | |
3831 | o13.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0, 0)) | |
3832 | o14.Name = "qCFrameWeldThingy" | |
3833 | o14.Parent = o12 | |
3834 | o14.C1 = CFrame.new(-0.514618874, -1.52519536, 0.145030975, 1, 0.000251663325, -6.64046675e-05, 0.000251663674, -1, 5.26184976e-06, -6.64033432e-05, -5.27856128e-06, -1) | |
3835 | o14.Part0 = o2 | |
3836 | o14.Part1 = o12 | |
3837 | o15.Name = "qRelativeCFrameWeldValue" | |
3838 | o15.Parent = o12 | |
3839 | o15.Value = CFrame.new(-0.514618874, -1.52519536, 0.145030975, 1, 0.000251663325, -6.64046675e-05, 0.000251663674, -1, 5.26184976e-06, -6.64033432e-05, -5.27856128e-06, -1) | |
3840 | o16.Name = "FAik torso" | |
3841 | o16.Parent = o1 | |
3842 | o16.BrickColor = BrickColor.new("Bright red") | |
3843 | o16.Transparency = 1 | |
3844 | o16.Position = Vector3.new(-10.3353624, 7.66948891, -32.4739723) | |
3845 | o16.Rotation = Vector3.new(-0.600000024, -0.289999992, -0.00999999978) | |
3846 | o16.FormFactor = Enum.FormFactor.Symmetric | |
3847 | o16.Size = Vector3.new(2, 2, 1) | |
3848 | o16.CFrame = CFrame.new(-10.3353624, 7.66948891, -32.4739723, 0.999989867, 0.000177492228, -0.0051222844, -0.00012388725, 0.999949574, 0.0104634725, 0.00512384856, -0.010462719, 0.999934673) | |
3849 | o16.BottomSurface = Enum.SurfaceType.Smooth | |
3850 | o16.TopSurface = Enum.SurfaceType.Smooth | |
3851 | o16.Color = Color3.new(0.768628, 0.156863, 0.109804) | |
3852 | o16.Position = Vector3.new(-10.3353624, 7.66948891, -32.4739723) | |
3853 | o16.Orientation = Vector3.new(-0.600000024, -0.289999992, -0.00999999978) | |
3854 | o16.Color = Color3.new(0.768628, 0.156863, 0.109804) | |
3855 | o17.Name = "qCFrameWeldThingy" | |
3856 | o17.Parent = o16 | |
3857 | o17.C1 = CFrame.new(-0.0299968719, 0.120005608, 0.890001297, 1.00000298, -2.95604236e-11, -2.98024077e-08, 5.851164e-11, 1.00000429, -8.8817842e-16, 1.49011914e-08, -1.12757227e-10, 1.0000025) | |
3858 | o17.Part0 = o2 | |
3859 | o17.Part1 = o16 | |
3860 | o18.Name = "qRelativeCFrameWeldValue" | |
3861 | o18.Parent = o16 | |
3862 | o18.Value = CFrame.new(-0.0299968719, 0.120005608, 0.890001297, 1.00000298, -2.95604236e-11, -2.98024077e-08, 5.851164e-11, 1.00000429, -8.8817842e-16, 1.49011914e-08, -1.12757227e-10, 1.0000025) | |
3863 | WUELD = Instance.new("Weld") | |
3864 | WUELD.Part0 = o16 | |
3865 | WUELD.Part1 = Jihad.Torso | |
3866 | WUELD.Parent = o16 | |
3867 | ||
3868 | Mouse.KeyDown:connect(function(key) | |
3869 | if (key == "j") and Recharging == false and JUTPAC == false and Run == false and DANS == false and TUANT == false and EQUIP == true | |
3870 | then | |
3871 | JUTPAC = true | |
3872 | local DEPLOI = Instance.new("Sound") | |
3873 | DEPLOI.Parent = game.Players.LocalPlayer.Character.Head | |
3874 | DEPLOI.SoundId = "rbxassetid://417575434" | |
3875 | DEPLOI.Volume = 1 | |
3876 | DEPLOI:Play() | |
3877 | wait(1) | |
3878 | Jihad.Humanoid.Jump = true | |
3879 | FUORS = Instance.new("BodyThrust") | |
3880 | FUORS.Force = Vector3.new(0, 20000, 0) | |
3881 | FUORS.Parent = Jihad.Torso | |
3882 | o4:Play() | |
3883 | o9.Enabled = true | |
3884 | o13.Enabled = true | |
3885 | o4.Looped = true | |
3886 | DEPLOI:Destroy() | |
3887 | Jihad.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08) | |
3888 | Jihad.Torso["Left Hip"].C1 = CFrame.new(-0.5, -0.0439841747, 0.228667736, -4.37113883e-08, 0, -1, -0.732189834, 0.681100607, 3.20050333e-08, 0.681100607, 0.732189834, -2.97718525e-08) | |
3889 | Jihad.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
3890 | Jihad.Torso["Right Hip"].C1 = CFrame.new(0.5, -0.0041782856, 0.479911029, -4.37113883e-08, 0, 1, 0.669510365, 0.742802739, 2.92652267e-08, -0.742802739, 0.669510365, -3.24689395e-08) | |
3891 | Jihad.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
3892 | Jihad.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.179892376, 0.983686328, 0, 0.983686328, -0.179892376) | |
3893 | JUTPAC = true | |
3894 | end | |
3895 | end) | |
3896 | ||
3897 | Mouse.KeyUp:connect(function(key) | |
3898 | if (key == "j") and Recharging == false and JUTPAC == true and Run == false and DANS == false and TUANT == false and EQUIP == true | |
3899 | then | |
3900 | JUTPAC = false | |
3901 | FUORS:Destroy() | |
3902 | o4:Stop() | |
3903 | o9.Enabled = false | |
3904 | o13.Enabled = false | |
3905 | Jihad.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08) | |
3906 | Jihad.Torso["Left Hip"].C1 = CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08) | |
3907 | Jihad.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
3908 | Jihad.Torso["Right Hip"].C1 = CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
3909 | Jihad.Torso["Neck"].C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
3910 | Jihad.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
3911 | end | |
3912 | end) | |
3913 | ||
3914 | ||
3915 | ||
3916 | ||
3917 | ||
3918 | Tool.Equipped:connect(equip) | |
3919 | Tool.Unequipped:connect(unequip) |