Advertisement
AgentVK

Ghost RPG

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