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