Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1)
- Player = game:GetService("Players").LocalPlayer-------by raulib fellas, made in less of 24 hours and the first rpg in a script of --entire roblox.--
- Character = Player.Character
- PlayerGui = Player.PlayerGui
- Backpack = Player.Backpack
- Torso = Character.Torso
- Head = Character.Head
- Humanoid = Character.Humanoid
- RootPart = Character.HumanoidRootPart
- RootJoint = RootPart.RootJoint
- LeftArm = Character["Left Arm"]
- LeftLeg = Character["Left Leg"]
- RightArm = Character["Right Arm"]
- RightLeg = Character["Right Leg"]
- LS = Torso["Left Shoulder"]
- LH = Torso["Left Hip"]
- RS = Torso["Right Shoulder"]
- RH = Torso["Right Hip"]
- local DANSE = coroutine.create(function()
- sound = Instance.new("Sound", Character)
- sound.SoundId = "rbxassetid://756404718"
- sound.Volume = 100000000
- sound.EmitterSize = 25
- sound:Play()
- sound.Looped = true
- Face = Head.face
- Neck = Torso.Neck
- it = Instance.new
- vt = Vector3.new
- cf = CFrame.new
- rad = math.rad
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- Mouse = Player:GetMouse()
- coroutine.resume(coroutine.create(function()
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "Fixed by PixelFir3 / Cortana#8155";
- Color = Color3.new(0, 1, 1);
- Font = Enum.Font.Code;
- FontSize = Enum.FontSize.Size24;
- })
- end))
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = 0.016666666666667
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if frame <= tf then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end
- )
- local animationspeed = 2
- hbwait = function(number)
- if number == 0 or number == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, number do
- ArtificialHB.Event:wait()
- end
- end
- end
- local Stats = Instance.new("Folder", Character)
- Stats.Name = "Stats"
- local Defense = Instance.new("NumberValue", Stats)
- Defense.Name = "Defense"
- Defense.Value = 0.1
- local Movement = Instance.new("NumberValue", Stats)
- Movement.Name = "Movement"
- Movement.Value = 0.35
- local Damage = Instance.new("NumberValue", Stats)
- Damage.Name = "Damage"
- Damage.Value = 0
- local Mana = Instance.new("NumberValue", Stats)
- Mana.Name = "Mana"
- Mana.Value = 0
- local Rooted = Instance.new("BoolValue", Stats)
- Rooted.Name = "Rooted"
- Rooted.Value = false
- local BlockValue = Instance.new("BoolValue", Stats)
- BlockValue.Name = "BlockValue"
- BlockValue.Value = false
- local StaggerHitAnim = Instance.new("BoolValue", Stats)
- StaggerHitAnim.Name = "StaggerHitAnim"
- StaggerHitAnim.Value = false
- local StaggerAnim = Instance.new("BoolValue", Stats)
- StaggerAnim.Name = "StaggerAnim"
- StaggerAnim.Value = false
- local StunAnim = Instance.new("BoolValue", Stats)
- StunAnim.Name = "StunAnim"
- StunAnim.Value = false
- local StunValue = Instance.new("NumberValue", Stats)
- StunValue.Name = "StunValue"
- StunValue.Value = 0
- local CanCrit = Instance.new("BoolValue", Stats)
- CanCrit.Name = "CanCrit"
- CanCrit.Value = false
- local CritChance = Instance.new("NumberValue", Stats)
- CritChance.Name = "CritChance"
- CritChance.Value = 20
- local CanPenetrateArmor = Instance.new("BoolValue", Stats)
- CanPenetrateArmor.Name = "CanPenetrateArmor"
- CanPenetrateArmor.Value = false
- local AntiTeamKill = Instance.new("BoolValue", Stats)
- AntiTeamKill.Name = "AntiTeamKill"
- AntiTeamKill.Value = false
- necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RootCF = angles(rad(-90), 0, rad(180))
- local idle = 0
- local Anim = "Idle"
- local animtype = math.floor(math.random(1, 3))
- local attacktype = 1
- local attack = false
- local equipped = false
- local LastPoint = nil
- local staggerhitanim = false
- local staggeranim = false
- local stunanim = false
- local CritChanceNumber = 0
- local idlen = 0
- local donum = 0
- local sine = 0
- local change = 2 / animationspeed
- local walkinganim = false
- local handidle = false
- local walk = 0
- local stundelay = 0
- local manadelay = 0
- local robloxidleanimation = Instance.new("Animation", Torso)
- robloxidleanimation.Name = "robloxidleanimation"
- robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- local Animator = Humanoid:FindFirstChild("Animator")
- local Animate = Character:FindFirstChild("Animate")
- local HitPlayerSounds = {199149137, 199149186, 199149221, 199149235, 199149269, 199149297}
- local HitArmorSounds = {199149321, 199149338, 199149367, 199149409, 199149452}
- local HitWeaponSounds = {199148971, 199149025, 199149072, 199149109, 199149119}
- local HitBlockSounds = {199148933, 199148947}
- local cooldown1 = 0
- local cooldown2 = 0
- local cooldown3 = 0
- local cooldown4 = 0
- local scrn = Instance.new("ScreenGui", PlayerGui)
- local ud = UDim2.new
- local c3 = Color3.new
- local skillcolorscheme = c3(1, 1, 1)
- subtractmana = function(k)
- if k <= Mana.Value then
- Mana.Value = Mana.Value - k
- end
- end
- local co1 = 0
- local co2 = 0
- local co3 = 0
- local co4 = 0
- local maxmana = 0
- local maxstun = 1
- local recovermana = 0
- local losestun = 0
- local stunwait = 0
- local manawait = 0
- local skill1mana = 0
- local skill2mana = 0
- local skill3mana = 0
- local skill4mana = 0
- local menuupdatespeed = 0
- local constantupdate = false
- local showstats = false
- local allowstunbar = false
- local CustomColor = Torso.BrickColor
- local Colorpart1 = CustomColor.r
- local Colorpart2 = CustomColor.g
- local Colorpart3 = CustomColor.b
- local InverseColor = BrickColor.new(Color3.new(1 - Colorpart1, 1 - Colorpart2, 1 - Colorpart3))
- makeframe = function(par, trans, pos, size, color, name)
- local frame = Instance.new("Frame")
- frame.Parent = par
- frame.BackgroundTransparency = trans
- frame.BorderSizePixel = 2
- frame.Position = pos
- frame.Size = size
- frame.BackgroundColor3 = color
- frame.Name = name
- return frame
- end
- makelabel = function(par, text, trans, stroketrans, name)
- local label = Instance.new("TextLabel")
- label.Parent = par
- label.BackgroundTransparency = 1
- label.Size = ud(1, 0, 1, 0)
- label.Position = ud(0, 0, 0, 0)
- label.TextColor3 = c3(255, 255, 255)
- label.TextStrokeTransparency = stroketrans
- label.TextTransparency = trans
- label.FontSize = Enum.FontSize.Size32
- label.Font = Enum.Font.Legacy
- label.BorderSizePixel = 0
- label.TextScaled = true
- label.Text = text
- label.Name = name
- return label
- end
- framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 1")
- framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 2")
- framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 3")
- framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 4")
- bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 1")
- bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 2")
- bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 3")
- bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 4")
- text1 = makelabel(framesk1, "[C] Ability 3", 1, 1, "Text 1")
- text2 = makelabel(framesk2, "[V] Ability 4", 1, 1, "Text 2")
- text3 = makelabel(framesk3, "[X] Ability 2", 1, 1, "Text 3")
- text4 = makelabel(framesk4, "[Z] Ability 1", 1, 1, "Text 4")
- manabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Bar")
- manacover = makeframe(manabar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Cover")
- manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text")
- 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")
- healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Cover")
- healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text")
- if allowstunbar == true then
- 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")
- stunbar = makeframe(stunframe, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 1, 0.19607843137255), "Stun Bar")
- stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text")
- end
- if showstats == true then
- 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")
- 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")
- 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")
- defensetext = makelabel(defenseframe, "Defense: " .. Defense.Value, 1, 1, "Defense Text")
- damagetext = makelabel(damageframe, "Damage: " .. Damage.Value, 1, 1, "Damage Text")
- movementtext = makelabel(movementframe, "Movement: " .. Movement.Value, 1, 1, "Movement Text")
- end
- NoOutline = function(Part)
- Part.TopSurface = 10
- end
- local weldBetween = function(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- nooutline = function(part)
- part.TopSurface = 10
- end
- part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
- local fp = it("Part")
- fp.formFactor = formfactor
- fp.Parent = parent
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = false
- fp.Locked = true
- fp.BrickColor = BrickColor.new(tostring(brickcolor))
- fp.Name = name
- fp.Size = size
- fp.Position = Character.Torso.Position
- nooutline(fp)
- fp.Material = material
- fp:BreakJoints()
- return fp
- end
- mesh = function(Mesh, part, meshtype, meshid, offset, scale)
- local mesh = it(Mesh)
- mesh.Parent = part
- if Mesh == "SpecialMesh" then
- mesh.MeshType = meshtype
- mesh.MeshId = meshid
- end
- mesh.Offset = offset
- mesh.Scale = scale
- return mesh
- end
- weld = function(parent, part0, part1, c0, c1)
- local weld = it("Motor")
- weld.Parent = parent
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C0 = c0
- weld.C1 = c1
- return weld
- end
- local WeaponName = "Russian Kick"
- local ClassName = "Russian Kick"
- local PlayerSize = 1
- local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
- local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
- if PlayerSize ~= 1 then
- RootPart.Size = RootPart.Size * PlayerSize
- Torso.Size = Torso.Size * PlayerSize
- Head.Size = Head.Size * PlayerSize
- RightArm.Size = RightArm.Size * PlayerSize
- LeftArm.Size = LeftArm.Size * PlayerSize
- RightLeg.Size = RightLeg.Size * PlayerSize
- LeftLeg.Size = LeftLeg.Size * PlayerSize
- RootJoint.Parent = RootPart
- Neck.Parent = Torso
- LS.Parent = Torso
- RS.Parent = Torso
- LH.Parent = Torso
- RH.Parent = Torso
- RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
- Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
- Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
- RS.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
- LS.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
- RS.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
- LS.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
- RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
- LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
- RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
- LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
- for _,v in pairs(Character:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Parent = nil
- v.Parent = Character
- v.Handle.Mesh.Scale = v.Handle.Mesh.Scale * PlayerSize
- for _,b in pairs(v.Handle:GetChildren()) do
- if b.ClassName == "Weld" or b.ClassName == "Motor" then
- local p1 = b.Part1
- b.Part1 = nil
- local c01, c02, c03, c04, c05, c06, c07, c08, c09, c010, c011, c012 = b.C0:components()
- local c11, c12, c13, c14, c15, c16, c17, c18, c19, c110, c111, c112 = b.C1:components()
- b.C0 = cf(c01 * PlayerSize, c02 * PlayerSize, c03 * PlayerSize, c04, c05, c06, c07, c08, c09, c010, c011, c012)
- b.C1 = cf(c11 * PlayerSize, c12 * PlayerSize, c13 * PlayerSize, c14, c15, c16, c17, c18, c19, c110, c111, c112)
- b.Part1 = p1
- end
- end
- end
- end
- end
- m = Instance.new("Model", Character)
- m.Name = WeaponName
- Effects = Instance.new("Folder", m)
- Effects.Name = "Effects"
- Humanoid.Died:connect(function()
- attack = true
- for _,v in pairs(Character:GetChildren()) do
- if v.ClassName == "Model" then
- v:Destroy()
- end
- end
- end
- )
- for i,v in pairs(Character:GetChildren()) do
- if v.ClassName == "Model" then
- for _,c in pairs(v:GetChildren()) do
- if c.ClassName == "Part" then
- c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
- end
- end
- end
- end
- print(ClassName .. " loaded.")
- clerp = function(a, b, t)
- return a:lerp(b, t)
- end
- positiveangle = function(number)
- if number > 0 then
- number = 0
- end
- return number
- end
- negativeangle = function(number)
- if number < 0 then
- number = 0
- end
- return number
- end
- so = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound", par or workspace)
- sou.Volume = vol
- sou.Pitch = pit or 1
- sou.SoundId = "http://roblox.com/asset/?id=" .. id
- hbwait()
- sou:play()
- game:GetService("Debris"):AddItem(sou, 10)
- end
- ))
- end
- GetDistance = function(Part1, Part2, magnitude)
- local target = Part1.Position - Part2.Position
- local mag = target.magnitude
- if mag <= magnitude then
- return true
- else
- return false
- end
- end
- rayCast = function(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- DamageStatLabel = function(labeltype, cframe, text, color)
- local c = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0))
- c.CFrame = cf(cframe.p + vt(0, 1.5, 0))
- game:GetService("Debris"):AddItem(c, 5)
- Instance.new("BodyGyro", c)
- local f = Instance.new("BodyPosition", c)
- f.P = 2000
- f.D = 100
- f.maxForce = vt(math.huge, math.huge, math.huge)
- if labeltype == "Normal" then
- f.position = c.Position + vt(math.random(-2, 2), 6, math.random(-2, 2))
- else
- if labeltype == "Debuff" then
- f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
- else
- if labeltype == "Interruption" then
- f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
- end
- end
- end
- game:GetService("Debris"):AddItem(c, 5)
- local bg = Instance.new("BillboardGui", c)
- bg.Adornee = c
- bg.Size = UDim2.new(2.5, 0, 2.5, 0)
- bg.StudsOffset = vt(-2, 2, 0)
- bg.AlwaysOnTop = false
- local tl = Instance.new("TextLabel", bg)
- tl.BackgroundTransparency = 1
- tl.Size = UDim2.new(2.5, 0, 2.5, 0)
- tl.Text = text
- tl.Font = Enum.Font.SourceSans
- tl.FontSize = Enum.FontSize.Size42
- tl.TextColor3 = color
- tl.TextScaled = false
- tl.TextStrokeTransparency = 0
- tl.TextScaled = true
- tl.TextWrapped = true
- f.Parent = c
- coroutine.resume(coroutine.create(function(Part, BodyPosition, TextLabel)
- wait(0.25)
- for i = 1, 5 do
- wait()
- BodyPosition.position = Part.Position - vt(0, 0.5, 0)
- end
- wait(1.25)
- for i = 1, 5 do
- wait()
- TextLabel.TextTransparency = TextLabel.TextTransparency + 0.2
- TextLabel.TextStrokeTransparency = TextLabel.TextStrokeTransparency + 0.2
- BodyPosition.position = Part.Position + vt(0, 0.5, 0)
- end
- Part.Parent = nil
- end
- ), c, f, tl)
- end
- IncreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
- -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
- -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
- if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
- Location.Stats[Stat].Value = Location.Stats[Stat].Value + Amount
- if ShowTheStat == true then
- if Stat == "Defense" then
- DamageStatLabel("Debuff", Location.Head.CFrame, "+Defense", c3(1, 1, 1))
- else
- if Stat == "Damage" then
- DamageStatLabel("Debuff", Location.Head.CFrame, "+Damage", c3(1, 1, 1))
- else
- if Stat == "Movement" then
- DamageStatLabel("Debuff", Location.Head.CFrame, "+Movement", c3(1, 1, 1))
- end
- end
- end
- end
- coroutine.resume(coroutine.create(function(CurrentDecrease)
- wait(Duration)
- CurrentDecrease.Value = CurrentDecrease.Value - Amount
- end
- ), Location.Stats[Stat])
- end
- DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
- end
- DecreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
- -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
- -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
- if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
- Location.Stats[Stat].Value = Location.Stats[Stat].Value - Amount
- if ShowTheStat == true then
- if Stat == "Defense" then
- DamageStatLabel("Debuff", Location.Head.CFrame, "-Defense", c3(1, 1, 1))
- else
- if Stat == "Damage" then
- DamageStatLabel("Debuff", Location.Head.CFrame, "-Damage", c3(1, 1, 1))
- else
- if Stat == "Movement" then
- DamageStatLabel("Debuff", Location.Head.CFrame, "-Movement", c3(1, 1, 1))
- end
- end
- end
- end
- coroutine.resume(coroutine.create(function(CurrentDecrease)
- wait(Duration)
- CurrentDecrease.Value = CurrentDecrease.Value + Amount
- end
- ), Location.Stats[Stat])
- end
- DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
- end
- Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, DecreaseTheStat, DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
- if hit.Parent == nil then
- return
- end
- h = hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:GetChildren()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if hit.Name == "Hitbox" and ranged ~= true and hit.Parent ~= m then
- StaggerHitAnim.Value = true
- so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hit, 1, 1)
- return
- end
- if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
- h = hit.Parent.Parent:FindFirstChild("Humanoid")
- end
- if hit.Parent.className == "Hat" then
- hit = hit.Parent.Parent:FindFirstChild("Head")
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:FindFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- 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
- return
- end
- if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health <= 0 then
- return
- end
- if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StunValue") ~= nil then
- hit.Parent.Stats:FindFirstChild("StunValue").Value = hit.Parent.Stats:FindFirstChild("StunValue").Value + incstun
- end
- if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StaggerAnim") ~= nil and stagger == true then
- hit.Parent.Stats:FindFirstChild("StaggerAnim").Value = true
- end
- if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue").Value == true then
- if hit.Parent.Stats:FindFirstChild("BlockDebounce") == nil then
- DamageStatLabel("Interruption", hit.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
- local BlockDebounce = Instance.new("BoolValue", hit.Parent.Stats)
- BlockDebounce.Name = "BlockDebounce"
- BlockDebounce.Value = true
- game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
- end
- do
- if ranged ~= true then
- do
- if hit.Parent.Stats:FindFirstChild("BlockDebounce2") == nil then
- local BlockDebounce2 = Instance.new("BoolValue", hit.Parent.Stats)
- BlockDebounce2.Name = "BlockDebounce2"
- BlockDebounce2.Value = true
- game:GetService("Debris"):AddItem(BlockDebounce2, 0.1)
- so(HitBlockSounds[math.random(1, #HitBlockSounds)], hit, 1, 1)
- end
- hit.Parent.Stats:FindFirstChild("BlockValue").Value = false
- StaggerAnim.Value = true
- do return end
- if DecreaseTheStat ~= nil and hit.Parent:FindFirstChild("Stats") ~= nil then
- if DecreaseTheStat == "Defense" then
- DecreaseStat(hit.Parent, "Defense", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
- else
- if DecreaseTheStat == "Damage" then
- DecreaseStat(hit.Parent, "Damage", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
- else
- if DecreaseTheStat == "Movement" then
- DecreaseStat(hit.Parent, "Movement", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
- end
- end
- end
- end
- local D = math.random(minim, maxim) * Damage.Value
- if hit.Parent:FindFirstChild("Stats") ~= nil then
- if hit.Parent.Stats:FindFirstChild("Defense") then
- if CanPenetrateArmor.Value == true then
- D = D / hit.Parent.Stats:FindFirstChild("Defense").Value
- -- DECOMPILER ERROR at PC377: Unhandled construct in 'MakeBoolean' P1
- if hit.Parent.Stats:FindFirstChild("Defense") ~= nil or CanCrit.Value == true then
- CritChanceNumber = math.random(1, CritChance.Value)
- if CritChanceNumber == CritChance.Value then
- D = D * 2
- end
- end
- D = math.floor(D)
- h.Health = h.Health - D
- if D <= 3 and staggerhit == true then
- if ranged ~= true then
- StaggerHitAnim.Value = true
- end
- if ranged ~= true then
- so(HitArmorSounds[math.random(1, #HitArmorSounds)], hit, 1, 1)
- end
- else
- if D > 3 and ranged ~= true then
- so(HitPlayerSounds[math.random(1, #HitPlayerSounds)], hit, 1, 1)
- end
- end
- if D > 3 and D < 20 then
- if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
- DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
- so("296102734", hit, 1, 1)
- else
- DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0.86274509803922, 0))
- end
- else
- if D >= 20 then
- if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
- DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
- so("296102734", hit, 1, 1)
- else
- DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0, 0))
- end
- else
- if D <= 3 then
- if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
- DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
- so("296102734", hit, 1, 1)
- else
- DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(0.88235294117647, 0.88235294117647, 0.88235294117647))
- end
- end
- end
- end
- do
- if Type == "Normal" then
- local vp = Instance.new("BodyVelocity")
- vp.P = 500
- vp.maxForce = vt(math.huge, 0, math.huge)
- if KnockbackType == 1 then
- vp.Velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
- else
- if KnockbackType == 2 then
- vp.Velocity = Property.CFrame.lookVector * knockback
- end
- end
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, 0.5)
- end
- local DebounceHit = Instance.new("BoolValue", hit.Parent)
- DebounceHit.Name = "DebounceHit"
- DebounceHit.Value = true
- game:GetService("Debris"):AddItem(DebounceHit, Delay)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- MagniDamage = function(Part, magni, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
- for _,c in pairs(workspace:GetChildren()) do
- local hum = (c:FindFirstChild("Humanoid"))
- local head = nil
- if hum ~= nil then
- head = c:FindFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- Damagefunc(head, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
- end
- end
- do
- for _,d in pairs(c:GetChildren()) do
- if d.ClassName == "Model" and ranged ~= true then
- head = d:FindFirstChild("Hitbox")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- local hitrefpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
- hitrefpart.Anchored = true
- hitrefpart.CFrame = cf(head.Position)
- so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hitrefpart, 1, 1)
- StaggerHitAnim.Value = true
- end
- end
- end
- end
- do
- -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- end
- MagniBufforDebuff = function(Part, Magni, Type, Stat, Amount, Duration, ShowTheBufforDebuff, ApplyToOthersInstead)
- if Player.Neutral == true then
- if Type == "Buff" then
- IncreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
- else
- if Type == "Debuff" then
- DecreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
- end
- end
- end
- for _,c in pairs(workspace:GetChildren()) do
- local hum = (c:FindFirstChild("Humanoid"))
- local head = nil
- if hum ~= nil then
- head = c:FindFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- -- DECOMPILER ERROR at PC83: Unhandled construct in 'MakeBoolean' P1
- 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
- if Type == "Buff" then
- IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
- else
- if Type == "Debuff" then
- DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
- end
- end
- end
- end
- end
- 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
- if Type == "Buff" then
- IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
- else
- if Type == "Debuff" then
- DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
- end
- end
- end
- end
- end
- Lightning = function(p0, p1, tym, ofs, brickcolor, material, th, tra, last)
- local magz = p0 - p1.magnitude
- local curpos = p0
- local trz = {-ofs, ofs}
- for i = 1, tym do
- local li = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt(th, th, magz / tym))
- do
- li.Anchored = true
- local ofz = vt(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = cf(curpos, p1) * cf(0, 0, magz / tym).p + ofz
- if tym == i then
- local magz2 = curpos - p1.magnitude
- li.Size = vt(th, th, magz2)
- li.CFrame = cf(curpos, p1) * cf(0, 0, -magz2 / 2)
- else
- do
- do
- li.CFrame = cf(curpos, trolpos) * cf(0, 0, magz / tym / 2)
- curpos = li.CFrame * cf(0, 0, magz / tym / 2).p
- game.Debris:AddItem(li, last)
- coroutine.resume(coroutine.create(function()
- while li.Transparency ~= 1 do
- for i = 0, 1, last do
- hbwait()
- li.Transparency = li.Transparency + 0.1 / last
- end
- end
- end
- ))
- end
- -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out DO_STMT
- end
- end
- end
- end
- end
- MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.CFrame = Part.CFrame
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, -0.1 * z1), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.CFrame = Part.CFrame
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicBlock = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- if rotate == true then
- Part.CFrame = Part.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- end
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicBlock2 = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- CF = prt.CFrame
- num = math.random(5, 20)
- coroutine.resume(coroutine.create(function(Part, Mesh, CF2, Num)
- for i = 0, 1, delay do
- hbwait()
- if rotate == true then
- Part.CFrame = CF2 * cf(0, i * Num, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- else
- Part.CFrame = CF2 * cf(0, i * Num, 0)
- end
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh, CF, num)
- end
- MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicHead = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- BreakEffect = function(brickcolor, material, rotate, cframe, x1, y1, z1, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
- CF = Part.CFrame
- Numbb = 0
- randnumb = math.random() - math.random()
- for i = 0, 1, delay do
- hbwait()
- CF = CF * cf(0, 1, 0)
- if rotate == true then
- Part.CFrame = CF * angles(Numbb, 0, 0)
- else
- if rotate == false then
- Part.CFrame = CF
- end
- end
- Part.Transparency = i
- Numbb = Numbb + (randnumb)
- end
- Part.Parent = nil
- end
- ), prt, CF, Numbb, randnumb)
- end
- ElecEffect = function(brickcolor, material, cf, x, y, z, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cf
- xval = math.random()
- yval = math.random()
- zval = math.random()
- local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x, y, z))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh, xvaal, yvaal, zvaal)
- for i = 0, 1, delay do
- hbwait()
- Part.CFrame = Part.CFrame
- xvaal = xvaal - 0.1 * (delay * 10)
- yvaal = yvaal - 0.1 * (delay * 10)
- zvaal = zvaal - 0.1 * (delay * 10)
- Mesh.Scale = Mesh.Scale + vt(xvaal, yvaal, zvaal)
- Part.Transparency = i
- end
- Part.Parent = nil
- end
- ), prt, msh, xval, yval, zval)
- end
- TrailEffect = function(brickcolor, material, currentcf, oldcf, meshtype, reflectance, size, x, y, z, delay)
- local magnitudecframe = currentcf.p - oldcf.p.magnitude
- if magnitudecframe > 0.01 then
- local prt = part(3, Effects, material, reflectance, 0, brickcolor, "Effect", vt(1, magnitudecframe, 1))
- prt.Anchored = true
- prt.CFrame = cf((currentcf.p + oldcf.p) / 2, oldcf.p) * angles(rad(90), 0, 0)
- local TheMeshType = "BlockMesh"
- if meshtype == "Cylinder" then
- TheMeshType = "CylinderMesh"
- end
- local msh = mesh(TheMeshType, prt, "", "", vt(0, 0, 0), vt(0 + size, 1, 0 + size))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh, TheCurrentCFrame, TheLastCFrame)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x, y, z)
- end
- Part.Parent = nil
- end
- ), prt, msh, currentcf, oldcf)
- end
- end
- ClangEffect = function(brickcolor, material, cframe, angle, duration, size, power, reflectance, x, y, z, delay)
- local prt = part(3, Effects, material, 0, 1, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(0, 0, 0))
- game:GetService("Debris"):AddItem(prt, 10)
- local TheLastPoint = cframe
- coroutine.resume(coroutine.create(function(Part)
- for i = 1, duration do
- hbwait()
- Part.CFrame = Part.CFrame * angles(rad(angle), 0, 0) * cf(0, power, 0)
- TrailEffect(brickcolor, material, Part.CFrame, TheLastPoint, "Cylinder", reflectance, size, x, y, z, delay)
- TheLastPoint = Part.CFrame
- end
- Part.Parent = nil
- end
- ), prt)
- end
- MagicCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicFlatCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicSpikedCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicSkull = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- local startequipped = true
- local startequippedwithequipanimation = false
- local disableanimator = true
- local disableanimate = true
- local alternatewalk = false
- local hidemenu = false
- local allowmenutofunction = false
- local allowabilitiestofunction = false
- local canunequiporequip = false
- local allowwalking = false
- local disablemovingarms = false
- local usemotorsinsteadofwelds = false
- local leftarm = false
- local rightarm = false
- local allowhopperbin = false
- local showstunbar = false
- local walkspeeddependsonmovementvalue = true
- local alternatemanaregensystem = false
- local showhealthmanaandstunnumbers = false
- local changebarcolorsifnotenoughmana = false
- local disablejump = false
- if hidemenu == true or allowmenutofunction == false then
- for _,v in pairs(scrn:GetChildren()) do
- if v.ClassName == "Frame" or v.ClassName == "TextLabel" then
- v.Visible = false
- v.BorderSizePixel = 0
- end
- end
- end
- do
- Humanoid.Changed:connect(function(Jump)
- if Jump == "Jump" and disablejump == true then
- Humanoid.Jump = false
- end
- end
- )
- if allowmenutofunction == true then
- for _,v in pairs(scrn:GetChildren()) do
- if v.ClassName == "Frame" then
- for _,b in pairs(v:GetChildren()) do
- if b.ClassName == "TextLabel" then
- coroutine.resume(coroutine.create(function(TheTextLabel)
- wait(menuupdatespeed)
- for i = 1, 0, -0.1 do
- hbwait()
- TheTextLabel.TextTransparency = i
- TheTextLabel.TextStrokeTransparency = i
- end
- TheTextLabel.TextTransparency = 0
- TheTextLabel.TextStrokeTransparency = 0
- end
- ), b)
- if showstats == true then
- coroutine.resume(coroutine.create(function(TheTextLabel)
- wait(menuupdatespeed)
- for i = 1, 0, -0.1 do
- hbwait()
- TheTextLabel.TextTransparency = i
- TheTextLabel.TextStrokeTransparency = i
- end
- TheTextLabel.TextTransparency = 0
- TheTextLabel.TextStrokeTransparency = 0
- end
- ), b)
- end
- if showstunbar == true then
- coroutine.resume(coroutine.create(function(TheTextLabel)
- wait(menuupdatespeed)
- for i = 1, 0, -0.1 do
- hbwait()
- TheTextLabel.TextTransparency = i
- TheTextLabel.TextStrokeTransparency = i
- end
- TheTextLabel.TextTransparency = 0
- TheTextLabel.TextStrokeTransparency = 0
- end
- ), b)
- end
- if allowabilitiestofunction == true then
- coroutine.resume(coroutine.create(function(TheTextLabel)
- wait(menuupdatespeed)
- for i = 1, 0, -0.1 do
- hbwait()
- TheTextLabel.TextTransparency = i
- TheTextLabel.TextStrokeTransparency = i
- end
- TheTextLabel.TextTransparency = 0
- TheTextLabel.TextStrokeTransparency = 0
- end
- ), b)
- end
- end
- end
- end
- end
- end
- do
- if allowhopperbin == true then
- if script.Parent.className ~= "HopperBin" then
- Tool = Instance.new("HopperBin")
- Tool.Parent = Backpack
- Tool.Name = WeaponName
- script.Parent = Tool
- end
- Bin = script.Parent
- end
- if disablemovingarms == true then
- RWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
- LWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
- RSH = nil
- if usemotorsinsteadofwelds == true then
- RW = Instance.new("Motor")
- LW = Instance.new("Motor")
- else
- RW = Instance.new("Weld")
- LW = Instance.new("Weld")
- end
- RW.Name = "Right Shoulder"
- LW.Name = "Left Shoulder"
- RSH = Torso["Right Shoulder"]
- LSH = Torso["Left Shoulder"]
- RSH.Parent = Torso
- LSH.Parent = Torso
- RW.Name = "Right Shoulder"
- RW.Part0 = Torso
- RW.C0 = cf(1.5, 0.5, 0)
- RW.C1 = cf(0, 0.5, 0)
- RW.Part1 = Character["Right Arm"]
- RW.Parent = nil
- LW.Name = "Left Shoulder"
- LW.Part0 = Torso
- LW.C0 = cf(-1.5, 0.5, 0)
- LW.C1 = cf(0, 0.5, 0)
- LW.Part1 = Character["Left Arm"]
- LW.Parent = nil
- else
- RW = Torso["Right Shoulder"]
- LW = Torso["Left Shoulder"]
- RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
- LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
- end
- equipanim = function()
- attack = true
- Movement.Value = Movement.Value - 0.1
- Defense.Value = Defense.Value + 0.4
- for i = 0, 1, 0.08 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- attack = false
- end
- unequipanim = function()
- attack = true
- for i = 0, 1, 0.08 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)), 0.3 / animationspeed)
- 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)
- 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)
- if disablemovingarms == false then
- RW.C1 = clerp(RW.C1, angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
- LW.C1 = clerp(LW.C1, angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
- end
- 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)
- 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)
- RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
- LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
- end
- RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
- Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
- Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
- RW.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
- LW.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
- if disablemovingarms == false then
- RW.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
- LW.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
- end
- RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
- LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
- RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
- LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
- Movement.Value = Movement.Value + 0.1
- Defense.Value = Defense.Value - 0.4
- attack = false
- end
- if startequipped == true then
- equipped = true
- if disableanimate == true then
- Animate.Disabled = true
- local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
- idleanimation:Play()
- end
- if disableanimator == true then
- Animator.Parent = nil
- end
- if disablemovingarms == true then
- RW.Parent = Torso
- LW.Parent = Torso
- RSH.Parent = nil
- LSH.Parent = nil
- end
- Movement.Value = Movement.Value - 0.1
- Defense.Value = Defense.Value + 0.4
- end
- if startequippedwithequipanimation == true then
- equipped = true
- if disableanimate == true then
- Animate.Disabled = true
- local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
- idleanimation:Play()
- end
- if disableanimator == true then
- Animator.Parent = nil
- end
- if disablemovingarms == true then
- RW.Parent = Torso
- LW.Parent = Torso
- RSH.Parent = nil
- LSH.Parent = nil
- end
- coroutine.resume(coroutine.create(function()
- hbwait()
- equipanim()
- end
- ))
- end
- StaggerHit = function()
- attack = true
- if Hitbox ~= nil then
- for i = 1, math.random(2, 4) do
- 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)
- end
- end
- do
- for i = 0, 1, 0.1 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-30)), 0.3 / animationspeed)
- 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)
- 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)
- 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)
- 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)
- 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)
- if StaggerAnim.Value ~= true then
- do
- if StunAnim.Value == true then
- break
- end
- -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- attack = false
- end
- end
- Stagger = function()
- attack = true
- disablejump = true
- if Hitbox ~= nil then
- for i = 1, math.random(2, 4) do
- 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)
- end
- end
- do
- attacktype = 1
- DamageStatLabel("Interruption", Head.CFrame, "Staggered!", Color3.new(1, 1, 0))
- local staggervelocity = Instance.new("BodyVelocity", Torso)
- staggervelocity.P = 500
- staggervelocity.maxForce = vt(math.huge, 0, math.huge)
- if Rooted.Value == false then
- staggervelocity.Velocity = RootPart.CFrame.lookVector * -25
- end
- for i = 0, 1, 0.35 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * PlayerSize) * angles(rad(-20), rad(0), rad(-30)), 0.3 / animationspeed)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- for i = 0, 1, 0.2 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.2 * PlayerSize) * angles(rad(-30), rad(0), rad(-30)), 0.3 / animationspeed)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- staggervelocity:Destroy()
- for i = 0, 1, 0.015 / animationspeed do
- hbwait()
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- if StunAnim.Value == true then
- break
- end
- end
- do
- attacktype = 1
- disablejump = false
- attack = false
- end
- end
- end
- Stun = function()
- attack = true
- disablejump = true
- attacktype = 1
- DamageStatLabel("Interruption", Head.CFrame, "Stunned!", Color3.new(1, 1, 0))
- for i = 0, 1, 0.4 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(15), rad(0), rad(-160)), 0.3 / animationspeed)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- for i = 0, 1, 0.4 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.5 * PlayerSize) * angles(rad(45), rad(0), rad(-170)), 0.3 / animationspeed)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- for i = 0, 1, 0.4 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1 * PlayerSize) * angles(rad(75), rad(0), rad(-180)), 0.3 / animationspeed)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- Humanoid.AutoRotate = false
- for i = 1, 70 * animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -2.5 * PlayerSize) * angles(rad(90), rad(0), rad(-180)), 0.3 / animationspeed)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- for i = 0, 1, 0.15 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.5 * PlayerSize) * angles(rad(20), rad(0), rad(100)), 0.3 / animationspeed)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- Humanoid.AutoRotate = true
- attacktype = 1
- disablejump = false
- attack = false
- end
- EAbility = function()
- attack = true
- attack = false
- end
- Attack1 = function()
- attack = true
- attack = false
- end
- Attack2 = function()
- attack = true
- attack = false
- end
- Attack3 = function()
- attack = true
- attack = false
- end
- Attack4 = function()
- attack = true
- attack = false
- end
- Move1 = function()
- attack = true
- attack = false
- end
- Move2 = function()
- attack = true
- attack = false
- end
- Move3 = function()
- attack = true
- attack = false
- end
- Move4 = function()
- attack = true
- attack = false
- end
- hold = false
- Mouse.Button1Down:connect(function()
- if attack == true or equipped == false then
- return
- end
- hold = true
- if attacktype == 1 then
- attacktype = 2
- Attack1()
- else
- if attacktype == 2 then
- attacktype = 3
- Attack2()
- else
- if attacktype == 3 then
- attacktype = 4
- Attack3()
- else
- if attacktype == 4 then
- attacktype = 1
- Attack4()
- end
- end
- end
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- if attack == false then
- hbwait()
- end
- end
- if attack == false then
- attacktype = 1
- end
- end
- ))
- end
- )
- if allowhopperbin == true then
- ob1u = function(Mouse)
- hold = false
- end
- end
- Mouse.KeyDown:connect(function(key)
- if key == "f" and canunequiporequip == true and attack == false then
- if equipped == false then
- equipped = true
- if disableanimate == true then
- Animate.Disabled = true
- local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
- idleanimation:Play()
- end
- if disableanimator == true then
- Animator.Parent = nil
- end
- if disablemovingarms == true then
- RW.Parent = Torso
- LW.Parent = Torso
- RSH.Parent = nil
- LSH.Parent = nil
- end
- equipanim()
- elseif equipped == true then
- equipped = false
- unequipanim()
- hbwait()
- if disablemovingarms == true then
- RW.Parent = nil
- LW.Parent = nil
- RSH.Parent = Torso
- LSH.Parent = Torso
- end
- if disableanimator == true then
- Animator.Parent = Humanoid
- end
- if disableanimate == true then
- Animate.Disabled = false
- end
- end
- end
- if key == "e" and attack == false and equipped == true then
- if animtype < 3 then
- animtype = animtype + 1
- elseif animtype >= 3 then
- animtype = 1
- end
- end
- if key == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1mana <= Mana.Value then
- subtractmana(skill1mana)
- cooldown1 = 0
- Move1()
- end
- if key == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2mana <= Mana.Value then
- subtractmana(skill2mana)
- cooldown2 = 0
- Move2()
- end
- if key == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3mana <= Mana.Value then
- subtractmana(skill3mana)
- cooldown3 = 0
- Move3()
- end
- if key == "v" and attack == false and equipped == true and co4 <= cooldown4 and skill4mana <= Mana.Value then
- subtractmana(skill4mana)
- cooldown4 = 0
- Move4()
- end
- if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
- if key == "q" then
- Mana.Value = 100
- cooldown1 = co1
- cooldown2 = co2
- cooldown3 = co3
- cooldown4 = co4
- end
- if key == "p" then
- StaggerHitAnim.Value = true
- end
- if key == "[" then
- StaggerAnim.Value = true
- end
- if key == "]" then
- StunAnim.Value = true
- end
- end
- end
- )
- Mouse.KeyUp:connect(function(key2)
- end
- )
- if allowhopperbin == true then
- s = function(Mouse)
- Mouse.Button1Down:connect(function()
- ob1d(Mouse)
- end
- )
- Mouse.Button1Up:connect(function()
- ob1u(Mouse)
- end
- )
- Mouse.KeyDown:connect(key)
- Mouse.KeyUp:connect(key2)
- end
- end
- if allowhopperbin == true then
- ds = function(Mouse)
- end
- end
- if allowhopperbin == true then
- Bin.Selected:connect(s)
- Bin.Deselected:connect(ds)
- end
- updateskills = function()
- if allowabilitiestofunction == true then
- if cooldown1 <= co1 then
- cooldown1 = cooldown1 + 0.033333333333333
- if co1 <= cooldown1 then
- cooldown1 = co1
- end
- end
- if cooldown2 <= co2 then
- cooldown2 = cooldown2 + 0.033333333333333
- if co2 <= cooldown2 then
- cooldown2 = co2
- end
- end
- if cooldown3 <= co3 then
- cooldown3 = cooldown3 + 0.033333333333333
- if co3 <= cooldown3 then
- cooldown3 = co3
- end
- end
- if cooldown4 <= co4 then
- cooldown4 = cooldown4 + 0.033333333333333
- if co4 <= cooldown4 then
- cooldown4 = co4
- end
- end
- if changebarcolorsifnotenoughmana == true then
- if Mana.Value <= skill1mana then
- bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
- else
- bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- end
- if Mana.Value <= skill2mana then
- bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
- else
- bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- end
- if Mana.Value <= skill3mana then
- bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
- else
- bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- end
- if Mana.Value <= skill4mana then
- bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
- else
- bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- end
- else
- if changebarcolorsifnotenoughmana == false then
- bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- end
- end
- end
- if alternatemanaregensystem == false then
- if Mana.Value <= maxmana then
- Mana.Value = Mana.Value + recovermana / 30
- else
- if maxmana <= Mana.Value then
- Mana.Value = maxmana
- end
- end
- else
- if alternatemanaregensystem == true then
- if maxmana <= Mana.Value then
- Mana.Value = maxmana
- else
- if manadelay <= manawait then
- manadelay = manadelay + 1
- else
- manadelay = 0
- Mana.Value = Mana.Value + 1
- end
- end
- end
- end
- if allowstunbar == true then
- if StunValue.Value <= 0 then
- StunValue.Value = 0
- else
- if stundelay <= stunwait then
- stundelay = stundelay + 1
- else
- stundelay = 0
- StunValue.Value = StunValue.Value - 1
- end
- end
- else
- if allowstunbar == false then
- StunValue.Value = 0
- end
- end
- end
- if allowmenutofunction == true then
- ArtificialHB.Event:connect(function()
- updateskills()
- if allowabilitiestofunction == true then
- framesk1:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- framesk2:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- framesk3:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- framesk4:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- end
- manabar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- manacover:TweenSize(ud(1 * (Mana.Value / maxmana), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- healthbar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- if allowstunbar == true and showstunbar == true and stunframe ~= nil then
- stunframe:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- stunbar:TweenSize(ud(1 * (StunValue.Value / maxstun), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- end
- if showhealthmanaandstunnumbers == true then
- manatext.Text = "Mana [" .. math.floor(Mana.Value) .. "]"
- healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]"
- if allowstunbar == true and showstunbar == true then
- stuntext.Text = "Stun [" .. math.floor(StunValue.Value) .. "]"
- end
- end
- if showstats == true then
- defenseframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- damageframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- movementframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- defensetext.Text = "Defense: " .. Defense.Value * 100 .. "%"
- damagetext.Text = "Damage: " .. Damage.Value * 100 .. "%"
- if Rooted.Value == false then
- movementtext.Text = "Movement: " .. Movement.Value * 100 .. "%"
- else
- if Rooted.Value == true or Movement.Value <= 0 then
- movementtext.Text = "Movement: 0%"
- end
- end
- end
- end
- )
- end
- while 1 do
- hbwait()
- if Hitbox ~= nil then
- if attack == true then
- Hitbox.Name = "Hitbox"
- else
- if attack == false then
- Hitbox.Name = "NilHitbox"
- end
- end
- end
- if 0 < Humanoid.Health then
- if walkspeeddependsonmovementvalue == true then
- if Movement.Value < 0 or StaggerAnim.Value == true or StunAnim.Value == true or StaggerHitAnim.Value == true or Rooted.Value == true then
- Humanoid.WalkSpeed = 0
- else
- Humanoid.WalkSpeed = 16 * Movement.Value
- end
- end
- if maxstun <= StunValue.Value then
- StunValue.Value = 0
- StunAnim.Value = true
- end
- if StaggerAnim.Value == true and staggeranim == false then
- coroutine.resume(coroutine.create(function()
- staggeranim = true
- while attack == true do
- hbwait()
- end
- Stagger()
- StaggerAnim.Value = false
- staggeranim = false
- end
- ))
- end
- if StaggerHitAnim.Value == true and staggerhitanim == false then
- coroutine.resume(coroutine.create(function()
- staggerhitanim = true
- while attack == true do
- hbwait()
- end
- StaggerHit()
- StaggerHitAnim.Value = false
- staggerhitanim = false
- end
- ))
- end
- if (StunAnim.Value == true and stunanim == false) or 100 <= StunValue.Value then
- coroutine.resume(coroutine.create(function()
- StunValue.Value = 0
- stunanim = true
- while attack == true do
- hbwait()
- end
- Stun()
- StunAnim.Value = false
- stunanim = false
- end
- ))
- end
- sine = sine + change
- local torvel = (RootPart.Velocity * vt(1, 0, 1)).magnitude
- local velderp = RootPart.Velocity.y
- local lv = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position)
- hitfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position + vt(0, -1, 0)).lookVector, 4 * PlayerSize, Character)
- if 0.5 <= donum then
- handidle = true
- else
- if donum <= 0 then
- handidle = false
- end
- end
- if handidle == false then
- donum = donum + 0.003 / animationspeed
- else
- donum = donum - 0.003 / animationspeed
- end
- if equipped == true or equipped == false then
- if attack == false then
- idle = idle + 1
- else
- idle = 0
- end
- if leftarm == true then
- if Anim == "Walk" and equipped == true and attack == false then
- if alternatewalk == false then
- if walkinganim == true then
- LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- else
- LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- end
- else
- if walkinganim == true then
- LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- else
- LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- end
- end
- else
- -- DECOMPILER ERROR at PC2457: Unhandled construct in 'MakeBoolean' P3
- if (Anim ~= "Walk" and equipped == true) or leftarm == false then
- LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
- end
- end
- end
- if rightarm == true then
- if Anim == "Walk" and equipped == true and attack == false then
- if alternatewalk == false then
- if walkinganim == true then
- RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- else
- RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- end
- else
- if walkinganim == true then
- RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- else
- RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- end
- end
- else
- -- DECOMPILER ERROR at PC2648: Unhandled construct in 'MakeBoolean' P3
- if (Anim ~= "Walk" and equipped == true) or rightarm == false then
- RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
- end
- end
- end
- if allowwalking == true then
- if Anim == "Walk" and equipped == true then
- if alternatewalk == false then
- if walkinganim == true then
- 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)
- 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)
- else
- 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)
- 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)
- end
- else
- if walkinganim == true then
- 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)
- 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)
- else
- 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)
- 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)
- end
- end
- else
- if Anim ~= "Walk" and equipped == true then
- 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)
- 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)
- end
- end
- end
- Anim = "Idle"
- if attack == false then
- if equipped == true then
- if animtype == 1 then
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- if animtype == 2 then
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- end
- if animtype == 3 then
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- end
- end
- end
- end
- end
- end
- end)
- Player = game.Players.LocalPlayer
- Jihad = Player.Character
- Mouse = Player:GetMouse()
- ----------------------------------------By raulib Fellas---------------------------------------------------- Thank you TurboFusion for your RPG Body thing
- -----------------------------------------Fake RPG-----------------------------------------------------------
- o1 = Instance.new("Model")
- o2 = Instance.new("Part")
- o3 = Instance.new("SpecialMesh")
- o4 = Instance.new("Part")
- o5 = Instance.new("SpecialMesh")
- o6 = Instance.new("Weld")
- o7 = Instance.new("CFrameValue")
- o8 = Instance.new("Part")
- o9 = Instance.new("SpecialMesh")
- o10 = Instance.new("Weld")
- o11 = Instance.new("CFrameValue")
- o12 = Instance.new("Part")
- o13 = Instance.new("SpecialMesh")
- o14 = Instance.new("Weld")
- o15 = Instance.new("CFrameValue")
- o16 = Instance.new("Part")
- o17 = Instance.new("SpecialMesh")
- o18 = Instance.new("Weld")
- o19 = Instance.new("CFrameValue")
- o20 = Instance.new("Part")
- o21 = Instance.new("SpecialMesh")
- o22 = Instance.new("Weld")
- o23 = Instance.new("CFrameValue")
- o24 = Instance.new("Part")
- o25 = Instance.new("SpecialMesh")
- o26 = Instance.new("Weld")
- o27 = Instance.new("CFrameValue")
- o28 = Instance.new("Part")
- o29 = Instance.new("SpecialMesh")
- o30 = Instance.new("Weld")
- o31 = Instance.new("CFrameValue")
- o32 = Instance.new("Part")
- o33 = Instance.new("SpecialMesh")
- o34 = Instance.new("Weld")
- o35 = Instance.new("CFrameValue")
- o36 = Instance.new("Part")
- o37 = Instance.new("SpecialMesh")
- o38 = Instance.new("Weld")
- o39 = Instance.new("CFrameValue")
- o40 = Instance.new("Part")
- o41 = Instance.new("SpecialMesh")
- o42 = Instance.new("Weld")
- o43 = Instance.new("CFrameValue")
- o44 = Instance.new("Part")
- o45 = Instance.new("SpecialMesh")
- o46 = Instance.new("Weld")
- o47 = Instance.new("CFrameValue")
- o48 = Instance.new("Part")
- o49 = Instance.new("SpecialMesh")
- o50 = Instance.new("Weld")
- o51 = Instance.new("CFrameValue")
- o52 = Instance.new("Part")
- o53 = Instance.new("SpecialMesh")
- o54 = Instance.new("Weld")
- o55 = Instance.new("CFrameValue")
- o56 = Instance.new("Part")
- o57 = Instance.new("Weld")
- o58 = Instance.new("CFrameValue")
- o1.Name = "FakeRPG"
- o1.Parent = Jihad
- o2.Name = "Metal1"
- o2.Parent = o1
- o2.Material = Enum.Material.Metal
- o2.BrickColor = BrickColor.new("Fossil")
- o2.Position = Vector3.new(-41.2860374, 2.1168952, -15.5143509)
- o2.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o2.Size = Vector3.new(2.03500009, 0.493999988, 0.493999988)
- 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)
- o2.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o2.Position = Vector3.new(-41.2860374, 2.1168952, -15.5143509)
- o2.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o2.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o3.Parent = o2
- o3.MeshId = "rbxassetid://895844710"
- o3.MeshType = Enum.MeshType.FileMesh
- o4.Name = "Metal2"
- o4.Parent = o1
- o4.Material = Enum.Material.Metal
- o4.BrickColor = BrickColor.new("Fossil")
- o4.Position = Vector3.new(-42.4355278, 2.60990143, -15.5402012)
- o4.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o4.Size = Vector3.new(0.474999994, 0.273000002, 0.273000002)
- 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)
- o4.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o4.Position = Vector3.new(-42.4355278, 2.60990143, -15.5402012)
- o4.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o4.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o5.Parent = o4
- o5.MeshId = "rbxassetid://895839083"
- o5.MeshType = Enum.MeshType.FileMesh
- o6.Name = "qCFrameWeldThingy"
- o6.Parent = o4
- 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)
- o6.Part0 = o2
- o6.Part1 = o4
- o7.Name = "qRelativeCFrameWeldValue"
- o7.Parent = o4
- 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)
- o8.Name = "Metal3"
- o8.Parent = o1
- o8.Material = Enum.Material.Metal
- o8.BrickColor = BrickColor.new("Fossil")
- o8.Position = Vector3.new(-41.7581062, 2.13098216, -15.5168371)
- o8.Rotation = Vector3.new(179.550003, 1.01999998, -156.669998)
- o8.Size = Vector3.new(0.740999997, 0.109999999, 0.173999995)
- 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)
- o8.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o8.Position = Vector3.new(-41.7581062, 2.13098216, -15.5168371)
- o8.Orientation = Vector3.new(0.449999988, 178.979996, 23.3299999)
- o8.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o9.Parent = o8
- o9.MeshId = "rbxassetid://895859769"
- o9.MeshType = Enum.MeshType.FileMesh
- o10.Name = "qCFrameWeldThingy"
- o10.Parent = o8
- 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)
- o10.Part0 = o2
- o10.Part1 = o8
- o11.Name = "qRelativeCFrameWeldValue"
- o11.Parent = o8
- 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)
- o12.Name = "Metal4"
- o12.Parent = o1
- o12.Material = Enum.Material.Metal
- o12.BrickColor = BrickColor.new("Fossil")
- o12.Position = Vector3.new(-40.8392029, 1.91714776, -15.3002386)
- o12.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o12.Size = Vector3.new(0.546000004, 0.0850000009, 0.0909999982)
- 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)
- o12.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o12.Position = Vector3.new(-40.8392029, 1.91714776, -15.3002386)
- o12.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o12.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o13.Parent = o12
- o13.MeshId = "rbxassetid://895840568"
- o13.MeshType = Enum.MeshType.FileMesh
- o14.Name = "qCFrameWeldThingy"
- o14.Parent = o12
- 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)
- o14.Part0 = o2
- o14.Part1 = o12
- o15.Name = "qRelativeCFrameWeldValue"
- o15.Parent = o12
- 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)
- o16.Name = "Metal5"
- o16.Parent = o1
- o16.Material = Enum.Material.Metal
- o16.BrickColor = BrickColor.new("Fossil")
- o16.Position = Vector3.new(-40.7302208, 2.21318436, -15.3436546)
- o16.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o16.Size = Vector3.new(0.442000002, 0.386999995, 0.194999993)
- 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)
- o16.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o16.Position = Vector3.new(-40.7302208, 2.21318436, -15.3436546)
- o16.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o16.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o17.Parent = o16
- o17.MeshId = "rbxassetid://895854002"
- o17.MeshType = Enum.MeshType.FileMesh
- o18.Name = "qCFrameWeldThingy"
- o18.Parent = o16
- 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)
- o18.Part0 = o2
- o18.Part1 = o16
- o19.Name = "qRelativeCFrameWeldValue"
- o19.Parent = o16
- 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)
- o20.Name = "Metal6"
- o20.Parent = o1
- o20.Material = Enum.Material.Metal
- o20.BrickColor = BrickColor.new("Fossil")
- o20.Position = Vector3.new(-42.3173676, 2.84703016, -15.3914499)
- o20.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o20.Size = Vector3.new(0.400000006, 0.474000007, 0.104000002)
- 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)
- o20.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o20.Position = Vector3.new(-42.3173676, 2.84703016, -15.3914499)
- o20.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o20.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o21.Parent = o20
- o21.MeshId = "rbxassetid://895857014"
- o21.MeshType = Enum.MeshType.FileMesh
- o22.Name = "qCFrameWeldThingy"
- o22.Parent = o20
- 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)
- o22.Part0 = o2
- o22.Part1 = o20
- o23.Name = "qRelativeCFrameWeldValue"
- o23.Parent = o20
- 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)
- o24.Name = "Metal7"
- o24.Parent = o1
- o24.Material = Enum.Material.Metal
- o24.BrickColor = BrickColor.new("Fossil")
- o24.Position = Vector3.new(-41.8051186, 1.96285367, -15.5118408)
- o24.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o24.Size = Vector3.new(0.727999985, 0.43599999, 0.116999999)
- 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)
- o24.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o24.Position = Vector3.new(-41.8051186, 1.96285367, -15.5118408)
- o24.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o24.Color = Color3.new(0.619608, 0.631373, 0.67451)
- o25.Parent = o24
- o25.MeshId = "rbxassetid://895861020"
- o25.MeshType = Enum.MeshType.FileMesh
- o26.Name = "qCFrameWeldThingy"
- o26.Parent = o24
- 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)
- o26.Part0 = o2
- o26.Part1 = o24
- o27.Name = "qRelativeCFrameWeldValue"
- o27.Parent = o24
- 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)
- o28.Name = "Rocket1"
- o28.Parent = o1
- o28.Material = Enum.Material.Metal
- o28.BrickColor = BrickColor.new("Sand green")
- o28.Position = Vector3.new(-43.0272102, 2.86127996, -15.5532627)
- o28.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o28.Size = Vector3.new(3.79299998, 0.421999991, 0.421999991)
- 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)
- o28.Color = Color3.new(0.466667, 0.564706, 0.509804)
- o28.Position = Vector3.new(-43.0272102, 2.86127996, -15.5532627)
- o28.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o28.Color = Color3.new(0.466667, 0.564706, 0.509804)
- o29.Parent = o28
- o29.MeshId = "rbxassetid://895848972"
- o29.MeshType = Enum.MeshType.FileMesh
- o30.Name = "qCFrameWeldThingy"
- o30.Parent = o28
- 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)
- o30.Part0 = o2
- o30.Part1 = o28
- o31.Name = "qRelativeCFrameWeldValue"
- o31.Parent = o28
- 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)
- o32.Name = "Rocket2"
- o32.Parent = o1
- o32.Material = Enum.Material.Metal
- o32.BrickColor = BrickColor.new("Sand green")
- o32.Position = Vector3.new(-43.3324127, 2.99072981, -15.5562248)
- o32.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o32.Size = Vector3.new(1.45000005, 0.474000007, 0.474999994)
- 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)
- o32.Color = Color3.new(0.466667, 0.564706, 0.509804)
- o32.Position = Vector3.new(-43.3324127, 2.99072981, -15.5562248)
- o32.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o32.Color = Color3.new(0.466667, 0.564706, 0.509804)
- o33.Parent = o32
- o33.MeshId = "rbxassetid://895849928"
- o33.MeshType = Enum.MeshType.FileMesh
- o34.Name = "qCFrameWeldThingy"
- o34.Parent = o32
- 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)
- o34.Part0 = o2
- o34.Part1 = o32
- o35.Name = "qRelativeCFrameWeldValue"
- o35.Parent = o32
- 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)
- o36.Name = "Tail1"
- o36.Parent = o1
- o36.Material = Enum.Material.Metal
- o36.BrickColor = BrickColor.new("Smoky grey")
- o36.Position = Vector3.new(-37.6536446, 0.541621327, -15.4376383)
- o36.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o36.Size = Vector3.new(1.04700005, 0.722000003, 0.721000016)
- 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)
- o36.Color = Color3.new(0.356863, 0.364706, 0.411765)
- o36.Position = Vector3.new(-37.6536446, 0.541621327, -15.4376383)
- o36.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o36.Color = Color3.new(0.356863, 0.364706, 0.411765)
- o37.Parent = o36
- o37.MeshId = "rbxassetid://895836915"
- o37.MeshType = Enum.MeshType.FileMesh
- o38.Name = "qCFrameWeldThingy"
- o38.Parent = o36
- 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)
- o38.Part0 = o2
- o38.Part1 = o36
- o39.Name = "qRelativeCFrameWeldValue"
- o39.Parent = o36
- 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)
- o40.Name = "Tail2"
- o40.Parent = o1
- o40.Material = Enum.Material.Metal
- o40.BrickColor = BrickColor.new("Smoky grey")
- o40.Position = Vector3.new(-38.1827202, 0.771430492, -15.4518843)
- o40.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o40.Size = Vector3.new(0.107000001, 0.324999988, 0.324999988)
- 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)
- o40.Color = Color3.new(0.356863, 0.364706, 0.411765)
- o40.Position = Vector3.new(-38.1827202, 0.771430492, -15.4518843)
- o40.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o40.Color = Color3.new(0.356863, 0.364706, 0.411765)
- o41.Parent = o40
- o41.MeshId = "rbxassetid://895843622"
- o41.MeshType = Enum.MeshType.FileMesh
- o42.Name = "qCFrameWeldThingy"
- o42.Parent = o40
- 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)
- o42.Part0 = o2
- o42.Part1 = o40
- o43.Name = "qRelativeCFrameWeldValue"
- o43.Parent = o40
- 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)
- o44.Name = "Wood"
- o44.Parent = o1
- o44.Material = Enum.Material.Wood
- o44.BrickColor = BrickColor.new("Reddish brown")
- o44.Position = Vector3.new(-39.2893181, 1.25412059, -15.475419)
- o44.Rotation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o44.Size = Vector3.new(2.30800009, 0.455000013, 0.455000013)
- 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)
- o44.Color = Color3.new(0.411765, 0.247059, 0.156863)
- o44.Position = Vector3.new(-39.2893181, 1.25412059, -15.475419)
- o44.Orientation = Vector3.new(-0.449999988, -1.01999998, -23.3299999)
- o44.Color = Color3.new(0.411765, 0.247059, 0.156863)
- o45.Parent = o44
- o45.MeshId = "rbxassetid://895842255"
- o45.MeshType = Enum.MeshType.FileMesh
- o46.Name = "qCFrameWeldThingy"
- o46.Parent = o44
- 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)
- o46.Part0 = o2
- o46.Part1 = o44
- o47.Name = "qRelativeCFrameWeldValue"
- o47.Parent = o44
- 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)
- o48.Name = "Wood2"
- o48.Parent = o1
- o48.Material = Enum.Material.WoodPlanks
- o48.BrickColor = BrickColor.new("Reddish brown")
- o48.Position = Vector3.new(-41.0325165, 1.46520686, -15.5036364)
- o48.Rotation = Vector3.new(179.550003, 1.01999998, -156.669998)
- o48.Size = Vector3.new(0.361000001, 0.59799999, 0.104000002)
- 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)
- o48.Color = Color3.new(0.411765, 0.247059, 0.156863)
- o48.Position = Vector3.new(-41.0325165, 1.46520686, -15.5036364)
- o48.Orientation = Vector3.new(0.449999988, 178.979996, 23.3299999)
- o48.Color = Color3.new(0.411765, 0.247059, 0.156863)
- o49.Parent = o48
- o49.MeshId = "rbxassetid://895846898"
- o49.MeshType = Enum.MeshType.FileMesh
- o50.Name = "qCFrameWeldThingy"
- o50.Parent = o48
- 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)
- o50.Part0 = o2
- o50.Part1 = o48
- o51.Name = "qRelativeCFrameWeldValue"
- o51.Parent = o48
- 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)
- o52.Name = "Wood3"
- o52.Parent = o1
- o52.Material = Enum.Material.Wood
- o52.BrickColor = BrickColor.new("Reddish brown")
- o52.Position = Vector3.new(-41.8984833, 1.54351878, -15.5099411)
- o52.Rotation = Vector3.new(179.550003, 1.01999998, -156.669998)
- o52.Size = Vector3.new(0.279000014, 0.439999998, 0.104000002)
- 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)
- o52.Color = Color3.new(0.411765, 0.247059, 0.156863)
- o52.Position = Vector3.new(-41.8984833, 1.54351878, -15.5099411)
- o52.Orientation = Vector3.new(0.449999988, 178.979996, 23.3299999)
- o52.Color = Color3.new(0.411765, 0.247059, 0.156863)
- o53.Parent = o52
- o53.MeshId = "rbxassetid://895861866"
- o53.MeshType = Enum.MeshType.FileMesh
- o54.Name = "qCFrameWeldThingy"
- o54.Parent = o52
- 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)
- o54.Part0 = o2
- o54.Part1 = o52
- o55.Name = "qRelativeCFrameWeldValue"
- o55.Parent = o52
- 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)
- o56.Name = "Fake Torso"
- o56.Parent = o1
- o56.Transparency = 1
- o56.Position = Vector3.new(-40.9501038, 1.95513773, -16.2185173)
- o56.Rotation = Vector3.new(0.319999993, -1.67999995, -2.99000001)
- o56.CanCollide = false
- o56.Size = Vector3.new(2, 2, 1)
- 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)
- o56.BottomSurface = Enum.SurfaceType.Smooth
- o56.TopSurface = Enum.SurfaceType.Smooth
- o56.Position = Vector3.new(-40.9501038, 1.95513773, -16.2185173)
- o56.Orientation = Vector3.new(0.319999993, -1.67999995, -3)
- o57.Name = "qCFrameWeldThingy"
- o57.Parent = o56
- 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)
- o57.Part0 = o2
- o57.Part1 = o56
- o58.Name = "qRelativeCFrameWeldValue"
- o58.Parent = o56
- 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)
- WELD = Instance.new("Weld")
- WELD.Part0 = o56
- WELD.Part1 = Jihad.Torso
- WELD.Parent = o56
- ------------------------------------------------------------------------------------------------------------
- -------------------------------------------Declaration------------------------------------------------------
- Shot = false
- EQUIP = false
- Run = false
- Recharging = false
- DANS = false
- TUANT = false
- JUTPAC = false
- -------------------------------------------Rpg Make---------------------------------------------------------
- o1 = Instance.new("Tool")
- o2 = Instance.new("Part")
- o3 = Instance.new("Weld")
- o4 = Instance.new("CFrameValue")
- o5 = Instance.new("Part")
- o6 = Instance.new("SpecialMesh")
- o7 = Instance.new("Weld")
- o8 = Instance.new("CFrameValue")
- o9 = Instance.new("Part")
- o10 = Instance.new("SpecialMesh")
- o11 = Instance.new("Weld")
- o12 = Instance.new("CFrameValue")
- o13 = Instance.new("Part")
- o14 = Instance.new("SpecialMesh")
- o15 = Instance.new("Part")
- o16 = Instance.new("SpecialMesh")
- o17 = Instance.new("Weld")
- o18 = Instance.new("CFrameValue")
- o19 = Instance.new("Part")
- o20 = Instance.new("SpecialMesh")
- o21 = Instance.new("Weld")
- o22 = Instance.new("CFrameValue")
- o23 = Instance.new("Part")
- o24 = Instance.new("SpecialMesh")
- o25 = Instance.new("Weld")
- o26 = Instance.new("CFrameValue")
- o27 = Instance.new("Part")
- o28 = Instance.new("SpecialMesh")
- o29 = Instance.new("Weld")
- o30 = Instance.new("CFrameValue")
- o31 = Instance.new("Part")
- o32 = Instance.new("SpecialMesh")
- o33 = Instance.new("Weld")
- o34 = Instance.new("CFrameValue")
- o35 = Instance.new("Part")
- o36 = Instance.new("SpecialMesh")
- o37 = Instance.new("Weld")
- o38 = Instance.new("CFrameValue")
- o39 = Instance.new("Part")
- o40 = Instance.new("SpecialMesh")
- o41 = Instance.new("Weld")
- o42 = Instance.new("CFrameValue")
- o43 = Instance.new("Part")
- o44 = Instance.new("SpecialMesh")
- o45 = Instance.new("Weld")
- o46 = Instance.new("CFrameValue")
- o47 = Instance.new("Part")
- o48 = Instance.new("SpecialMesh")
- o49 = Instance.new("Weld")
- o50 = Instance.new("CFrameValue")
- o51 = Instance.new("Part")
- o52 = Instance.new("SpecialMesh")
- o53 = Instance.new("Weld")
- o54 = Instance.new("CFrameValue")
- o55 = Instance.new("Part")
- o56 = Instance.new("SpecialMesh")
- o57 = Instance.new("Weld")
- o58 = Instance.new("CFrameValue")
- o1.Name = "RPG-7"
- o1.Parent = Player.Backpack
- o1.GripForward = Vector3.new(0.0267404374, -0, 0.999642491)
- o1.GripRight = Vector3.new(-0.999642372, 0, 0.0267404336)
- o1.ToolTip = "A Great rocket launcher by raulib"
- o1.CanBeDropped = false
- o2.Name = "Handle"
- o2.Parent = o1
- o2.Transparency = 1
- TRGT = Instance.new("ObjectValue")
- TRGT.Name = "Target"
- TRGT.Parent = o2
- o2.Position = Vector3.new(-24.1333675, 2.76798773, -0.940837502)
- o2.Rotation = Vector3.new(-71.7399979, 82.0400009, 71.6600037)
- o2.Size = Vector3.new(0.570000172, 0.600000024, 0.530000091)
- 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)
- o2.Position = Vector3.new(-24.1333675, 2.76798773, -0.940837502)
- o2.Orientation = Vector3.new(-7.55999994, 87.4899979, 0.0799999982)
- o3.Name = "qCFrameWeldThingy"
- o3.Parent = o2
- o3.C1 = CFrame.new(0.0180302858, 0.33298707, 0.881513596, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o3.Part0 = o13
- o3.Part1 = o2
- o4.Name = "qRelativeCFrameWeldValue"
- o4.Parent = o2
- o4.Value = CFrame.new(0.0180302858, 0.33298707, 0.881513596, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o5.Name = "Metal1"
- o5.Parent = o1
- o5.Material = Enum.Material.Metal
- o5.BrickColor = BrickColor.new("Fossil")
- o5.Position = Vector3.new(-23.7612419, 3.32878733, -0.935867488)
- o5.Rotation = Vector3.new(-179.919998, 2.5, 172.440002)
- o5.Size = Vector3.new(2.03500009, 0.493999988, 0.493999988)
- 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)
- o5.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o5.Position = Vector3.new(-23.7612419, 3.32878733, -0.935867488)
- o5.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994)
- o5.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o6.Parent = o5
- o6.MeshId = "rbxassetid://895844710"
- o6.MeshType = Enum.MeshType.FileMesh
- o7.Name = "qCFrameWeldThingy"
- o7.Parent = o5
- o7.C1 = CFrame.new(-0.439014435, -0.17401278, 0.0060300827, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o7.Part0 = o13
- o7.Part1 = o5
- o8.Name = "qRelativeCFrameWeldValue"
- o8.Parent = o5
- o8.Value = CFrame.new(-0.439014435, -0.17401278, 0.0060300827, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o9.Name = "Metal2"
- o9.Parent = o1
- o9.Material = Enum.Material.Metal
- o9.BrickColor = BrickColor.new("Fossil")
- o9.Position = Vector3.new(-22.5220146, 3.49079704, -0.880126894)
- o9.Rotation = Vector3.new(-179.919998, 2.5, 172.440002)
- o9.Size = Vector3.new(0.474999994, 0.273000002, 0.273000002)
- 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)
- o9.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o9.Position = Vector3.new(-22.5220146, 3.49079704, -0.880126894)
- o9.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994)
- o9.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o10.Parent = o9
- o10.MeshId = "rbxassetid://895839083"
- o10.MeshType = Enum.MeshType.FileMesh
- o11.Name = "qCFrameWeldThingy"
- o11.Parent = o9
- o11.C1 = CFrame.new(0.811998367, -0.171500206, 0.00749993324, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o11.Part0 = o13
- o11.Part1 = o9
- o12.Name = "qRelativeCFrameWeldValue"
- o12.Parent = o9
- o12.Value = CFrame.new(0.811998367, -0.171500206, 0.00749993324, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o13.Name = "Metal3"
- o13.Parent = o1
- o13.Material = Enum.Material.Metal
- o13.BrickColor = BrickColor.new("Fossil")
- o13.Position = Vector3.new(-23.3033237, 3.21402216, -0.922083378)
- o13.Rotation = Vector3.new(0.0799999982, -2.5, 7.55999994)
- o13.Size = Vector3.new(0.740999997, 0.109999999, 0.173999995)
- 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)
- o13.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o13.Position = Vector3.new(-23.3033237, 3.21402216, -0.922083378)
- o13.Orientation = Vector3.new(0.0799999982, -2.5, 7.55999994)
- o13.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o14.Parent = o13
- o14.MeshId = "rbxassetid://895859769"
- o14.MeshType = Enum.MeshType.FileMesh
- o15.Name = "Metal4"
- o15.Parent = o1
- o15.Material = Enum.Material.Metal
- o15.BrickColor = BrickColor.new("Fossil")
- o15.Position = Vector3.new(-24.2402058, 3.25771356, -1.16157889)
- o15.Rotation = Vector3.new(-179.919998, 2.5, 172.440002)
- o15.Size = Vector3.new(0.546000004, 0.0850000009, 0.0909999982)
- 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)
- o15.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o15.Position = Vector3.new(-24.2402058, 3.25771356, -1.16157889)
- o15.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994)
- o15.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o16.Parent = o15
- o16.MeshId = "rbxassetid://895840568"
- o16.MeshType = Enum.MeshType.FileMesh
- o17.Name = "qCFrameWeldThingy"
- o17.Parent = o15
- o17.C1 = CFrame.new(-0.932500839, -0.167500138, -0.198500156, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o17.Part0 = o13
- o17.Part1 = o15
- o18.Name = "qRelativeCFrameWeldValue"
- o18.Parent = o15
- o18.Value = CFrame.new(-0.932500839, -0.167500138, -0.198500156, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o19.Name = "Metal5"
- o19.Parent = o1
- o19.Material = Enum.Material.Metal
- o19.BrickColor = BrickColor.new("Fossil")
- o19.Position = Vector3.new(-24.2656479, 3.57228851, -1.11922657)
- o19.Rotation = Vector3.new(-179.919998, 2.5, 172.440002)
- o19.Size = Vector3.new(0.442000002, 0.386999995, 0.194999993)
- 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)
- o19.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o19.Position = Vector3.new(-24.2656479, 3.57228851, -1.11922657)
- o19.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994)
- o19.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o20.Parent = o19
- o20.MeshId = "rbxassetid://895854002"
- o20.MeshType = Enum.MeshType.FileMesh
- o21.Name = "qCFrameWeldThingy"
- o21.Parent = o19
- o21.C1 = CFrame.new(-0.914495468, -0.482500315, -0.155499935, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o21.Part0 = o13
- o21.Part1 = o19
- o22.Name = "qRelativeCFrameWeldValue"
- o22.Parent = o19
- o22.Value = CFrame.new(-0.914495468, -0.482500315, -0.155499935, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o23.Name = "Metal6"
- o23.Parent = o1
- o23.Material = Enum.Material.Metal
- o23.BrickColor = BrickColor.new("Fossil")
- o23.Position = Vector3.new(-22.5676346, 3.75089788, -1.03041005)
- o23.Rotation = Vector3.new(-179.919998, 2.5, 172.440002)
- o23.Size = Vector3.new(0.400000006, 0.474000007, 0.104000002)
- 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)
- o23.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o23.Position = Vector3.new(-22.5676346, 3.75089788, -1.03041005)
- o23.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994)
- o23.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o24.Parent = o23
- o24.MeshId = "rbxassetid://895857014"
- o24.MeshType = Enum.MeshType.FileMesh
- o25.Name = "qCFrameWeldThingy"
- o25.Parent = o23
- o25.C1 = CFrame.new(0.794500351, -0.436000347, -0.141000032, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o25.Part0 = o13
- o25.Part1 = o23
- o26.Name = "qRelativeCFrameWeldValue"
- o26.Parent = o23
- o26.Value = CFrame.new(0.794500351, -0.436000347, -0.141000032, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o27.Name = "Metal7"
- o27.Parent = o1
- o27.Material = Enum.Material.Metal
- o27.BrickColor = BrickColor.new("Fossil")
- o27.Position = Vector3.new(-23.3036652, 3.03944039, -0.926836014)
- o27.Rotation = Vector3.new(-179.919998, 2.5, 172.440002)
- o27.Size = Vector3.new(0.727999985, 0.43599999, 0.116999999)
- 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)
- o27.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o27.Position = Vector3.new(-23.3036652, 3.03944039, -0.926836014)
- o27.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994)
- o27.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o28.Parent = o27
- o28.MeshId = "rbxassetid://895861020"
- o28.MeshType = Enum.MeshType.FileMesh
- o29.Name = "qCFrameWeldThingy"
- o29.Parent = o27
- o29.C1 = CFrame.new(-0.0235004425, 0.172999978, -0.00449991226, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o29.Part0 = o13
- o29.Part1 = o27
- o30.Name = "qRelativeCFrameWeldValue"
- o30.Parent = o27
- o30.Value = CFrame.new(-0.0235004425, 0.172999978, -0.00449991226, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o31.Name = "Rocket1"
- o31.Parent = o1
- o31.Material = Enum.Material.Metal
- o31.BrickColor = BrickColor.new("Sand green")
- o31.Position = Vector3.new(-21.8847847, 3.57188892, -0.851692975)
- o31.Rotation = Vector3.new(-179.919998, 2.5, 172.440002)
- o31.Size = Vector3.new(3.79299998, 0.421999991, 0.421999991)
- 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)
- o31.Color = Color3.new(0.470588, 0.564706, 0.509804)
- o31.Position = Vector3.new(-21.8847847, 3.57188892, -0.851692975)
- o31.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994)
- o31.Color = Color3.new(0.470588, 0.564706, 0.509804)
- o32.Parent = o31
- o32.MeshId = "rbxassetid://895848972"
- o32.MeshType = Enum.MeshType.FileMesh
- o33.Name = "qCFrameWeldThingy"
- o33.Parent = o31
- o33.C1 = CFrame.new(1.45498657, -0.168012619, 0.00803017616, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o33.Part0 = o13
- o33.Part1 = o31
- o34.Name = "qRelativeCFrameWeldValue"
- o34.Parent = o31
- o34.Value = CFrame.new(1.45498657, -0.168012619, 0.00803017616, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o35.Name = "Rocket2"
- o35.Parent = o1
- o35.Material = Enum.Material.Metal
- o35.BrickColor = BrickColor.new("Sand green")
- o35.Position = Vector3.new(-21.5560589, 3.61350226, -0.840802312)
- o35.Rotation = Vector3.new(-179.919998, 2.5, 172.440002)
- o35.Size = Vector3.new(1.45000005, 0.474000007, 0.474999994)
- 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)
- o35.Color = Color3.new(0.470588, 0.564706, 0.509804)
- o35.Position = Vector3.new(-21.5560589, 3.61350226, -0.840802312)
- o35.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994)
- o35.Color = Color3.new(0.470588, 0.564706, 0.509804)
- o36.Parent = o35
- o36.MeshId = "rbxassetid://895849928"
- o36.MeshType = Enum.MeshType.FileMesh
- o37.Name = "qCFrameWeldThingy"
- o37.Parent = o35
- o37.C1 = CFrame.new(1.78648949, -0.166012883, 0.00453019142, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o37.Part0 = o13
- o37.Part1 = o35
- o38.Name = "qRelativeCFrameWeldValue"
- o38.Parent = o35
- o38.Value = CFrame.new(1.78648949, -0.166012883, 0.00453019142, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o39.Name = "Tail1"
- o39.Parent = o1
- o39.Material = Enum.Material.Metal
- o39.BrickColor = BrickColor.new("Smoky grey")
- o39.Position = Vector3.new(-27.6820507, 2.80012441, -1.10712194)
- o39.Rotation = Vector3.new(-179.919998, 2.5, 172.440002)
- o39.Size = Vector3.new(1.04700005, 0.722000003, 0.721000016)
- 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)
- o39.Color = Color3.new(0.356863, 0.364706, 0.411765)
- o39.Position = Vector3.new(-27.6820507, 2.80012441, -1.10712194)
- o39.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994)
- o39.Color = Color3.new(0.356863, 0.364706, 0.411765)
- o40.Parent = o39
- o40.MeshId = "rbxassetid://895836915"
- o40.MeshType = Enum.MeshType.FileMesh
- o41.Name = "qCFrameWeldThingy"
- o41.Parent = o39
- o41.C1 = CFrame.new(-4.39900017, -0.166000128, 0.00650000572, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o41.Part0 = o13
- o41.Part1 = o39
- o42.Name = "qRelativeCFrameWeldValue"
- o42.Parent = o39
- o42.Value = CFrame.new(-4.39900017, -0.166000128, 0.00650000572, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o43.Name = "Tail2"
- o43.Parent = o1
- o43.Material = Enum.Material.Metal
- o43.BrickColor = BrickColor.new("Smoky grey")
- o43.Position = Vector3.new(-27.1109352, 2.87748051, -1.0791049)
- o43.Rotation = Vector3.new(-179.919998, 2.5, 172.440002)
- o43.Size = Vector3.new(0.107000001, 0.324999988, 0.324999988)
- 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)
- o43.Color = Color3.new(0.356863, 0.364706, 0.411765)
- o43.Position = Vector3.new(-27.1109352, 2.87748051, -1.0791049)
- o43.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994)
- o43.Color = Color3.new(0.356863, 0.364706, 0.411765)
- o44.Parent = o43
- o44.MeshId = "rbxassetid://895843622"
- o44.MeshType = Enum.MeshType.FileMesh
- o45.Name = "qCFrameWeldThingy"
- o45.Parent = o43
- o45.C1 = CFrame.new(-3.8219986, -0.167500257, 0.00949370861, -1, 0, 1.58692865e-06, 0, 1, 0, -1.58692865e-06, 0, -1)
- o45.Part0 = o13
- o45.Part1 = o43
- o46.Name = "qRelativeCFrameWeldValue"
- o46.Parent = o43
- o46.Value = CFrame.new(-3.8219986, -0.167500257, 0.00949370861, -1, 0, 1.58692865e-06, 0, 1, 0, -1.58692865e-06, 0, -1)
- o47.Name = "Wood"
- o47.Parent = o1
- o47.Material = Enum.Material.Wood
- o47.BrickColor = BrickColor.new("Reddish brown")
- o47.Position = Vector3.new(-25.9157257, 3.04121733, -1.02675307)
- o47.Rotation = Vector3.new(-179.919998, 2.5, 172.440002)
- o47.Size = Vector3.new(2.30800009, 0.455000013, 0.455000013)
- 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)
- o47.Color = Color3.new(0.411765, 0.25098, 0.156863)
- o47.Position = Vector3.new(-25.9157257, 3.04121733, -1.02675307)
- o47.Orientation = Vector3.new(-0.0799999982, 177.5, -7.55999994)
- o47.Color = Color3.new(0.411765, 0.25098, 0.156863)
- o48.Parent = o47
- o48.MeshId = "rbxassetid://895842255"
- o48.MeshType = Enum.MeshType.FileMesh
- o49.Name = "qCFrameWeldThingy"
- o49.Parent = o47
- o49.C1 = CFrame.new(-2.61450005, -0.172500253, 0.0095000267, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o49.Part0 = o13
- o49.Part1 = o47
- o50.Name = "qRelativeCFrameWeldValue"
- o50.Parent = o47
- o50.Value = CFrame.new(-2.61450005, -0.172500253, 0.0095000267, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o51.Name = "Wood2"
- o51.Parent = o1
- o51.Material = Enum.Material.WoodPlanks
- o51.BrickColor = BrickColor.new("Reddish brown")
- o51.Position = Vector3.new(-24.1820011, 2.77053857, -0.955997944)
- o51.Rotation = Vector3.new(0.0799999982, -2.5, 7.55999994)
- o51.Size = Vector3.new(0.361000001, 0.59799999, 0.104000002)
- 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)
- o51.Color = Color3.new(0.411765, 0.25098, 0.156863)
- o51.Position = Vector3.new(-24.1820011, 2.77053857, -0.955997944)
- o51.Orientation = Vector3.new(0.0799999982, -2.5, 7.55999994)
- o51.Color = Color3.new(0.411765, 0.25098, 0.156863)
- o52.Parent = o51
- o52.MeshId = "rbxassetid://895846898"
- o52.MeshType = Enum.MeshType.FileMesh
- o53.Name = "qCFrameWeldThingy"
- o53.Parent = o51
- o53.C1 = CFrame.new(0.930000305, 0.323999882, -0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o53.Part0 = o13
- o53.Part1 = o51
- o54.Name = "qRelativeCFrameWeldValue"
- o54.Parent = o51
- o54.Value = CFrame.new(0.930000305, 0.323999882, -0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o55.Name = "Wood3"
- o55.Parent = o1
- o55.Material = Enum.Material.Wood
- o55.BrickColor = BrickColor.new("Reddish brown")
- o55.Position = Vector3.new(-23.3277702, 2.61051416, -0.928698599)
- o55.Rotation = Vector3.new(0.0799999982, -2.5, 7.55999994)
- o55.Size = Vector3.new(0.279000014, 0.439999998, 0.104000002)
- 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)
- o55.Color = Color3.new(0.411765, 0.25098, 0.156863)
- o55.Position = Vector3.new(-23.3277702, 2.61051416, -0.928698599)
- o55.Orientation = Vector3.new(0.0799999982, -2.5, 7.55999994)
- o55.Color = Color3.new(0.411765, 0.25098, 0.156863)
- o56.Parent = o55
- o56.MeshId = "rbxassetid://895861866"
- o56.MeshType = Enum.MeshType.FileMesh
- o57.Name = "qCFrameWeldThingy"
- o57.Parent = o55
- o57.C1 = CFrame.new(0.10385704, 0.595024824, 0.00473690033, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o57.Part0 = o13
- o57.Part1 = o55
- o58.Name = "qRelativeCFrameWeldValue"
- o58.Parent = o55
- o58.Value = CFrame.new(0.10385704, 0.595024824, 0.00473690033, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- script.Parent = o1
- script.Name = "RPGSCRIPT"
- Tool = script.Parent
- -------------------------------------------Rpg Make End-----------------------------------------------------
- -------------------------------------------Sounds-----------------------------------------------------------
- SoundFolder = Instance.new("Backpack")
- SoundFolder.Name = "MLGRPGSOUNDSJIHADALLAHUAKBAR"
- SoundFolder.Parent = Player
- SoundPlayer = Instance.new("Sound")
- SoundPlayer.Parent = o2
- SoundPlayer.Name ="Sound Player for your boi Rpg-7 by my dad raulib"
- SoundPlayer.Volume = 2.5
- DRAW = Instance.new("Sound")
- DRAW.Name = "Draw"
- DRAW.SoundId = "rbxassetid://169799883"
- DRAW.Parent = o2
- Sound1 = Instance.new("Sound")
- Sound1.Parent = SoundFolder
- Sound1.Name = "RUUUCKET LUUUNCH"
- Sound1.SoundId = "rbxassetid://153230666"
- -------------------------------------------------------------------------------------------------------------
- function equip()
- Jihad.Humanoid.WalkSpeed = 8
- for i, veee in pairs(Jihad.FakeRPG:GetChildren()) do
- if veee:IsA("Part") then
- veee.Transparency = 1
- end
- end
- LWe = Instance.new("Weld")
- LCFRAME = Instance.new("CFrameValue")
- LWe.Name = "qCFrameWeldThingy"
- LWe.Parent = Jihad["Left Arm"]
- 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)
- LWe.Part0 = Jihad.Torso
- LWe.Part1 = Jihad["Left Arm"]
- LCFRAME.Name = "qRelativeCFrameWeldValue"
- LCFRAME.Parent = Jihad["Left Arm"]
- 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)
- EQUIP = true
- DRAW:Play()
- RWe = Instance.new("Weld")
- RCFRAME = Instance.new("CFrameValue")
- RWe.Name = "qCFrameWeldThingy"
- RWe.Parent = Jihad["Right Arm"]
- RWe.C1 = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095)
- RWe.Part0 = Jihad.Torso
- RWe.Part1 = Jihad["Right Arm"]
- RCFRAME.Name = "qRelativeCFrameWeldValue"
- RCFRAME.Parent = Jihad["Right Arm"]
- RCFRAME.Value = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095)
- local VIWMODL = Instance.new("Model")
- VIWMODL.Parent = workspace.CurrentCamera
- VIWMODL.Name = "ViewModel"
- local FRARM = Instance.new("Part")
- local FLARM = Instance.new("Part")
- FRARM.Name = "Right Arm"
- FLARM.Name = "Left Arm"
- FRARM.Parent = VIWMODL
- FLARM.Parent = VIWMODL
- FRARM.Size = Jihad["Right Arm"].Size
- FLARM.Size = Jihad["Left Arm"].Size
- FLARM:BreakJoints()
- FRARM:BreakJoints()
- local FakeHumanoid = Instance.new("Humanoid")
- FakeHumanoid.Parent = VIWMODL
- local LW = Instance.new("Weld")
- local RW = Instance.new("Weld")
- RW.Parent = FRARM
- LW.Parent = FLARM
- RW.Part0 = FRARM
- RW.Part1 = Jihad["Right Arm"]
- LW.Part0 = FLARM
- LW.Part1 = Jihad["Left Arm"]
- local BDYCULURS = Jihad["Body Colors"]:Clone()
- BDYCULURS.Parent = VIWMODL
- local SHERT = Jihad.Shirt:Clone()
- SHERT.Parent = VIWMODL
- FLARM.CanCollide = false
- FRARM.CanCollide = false
- local cam = game.Workspace.CurrentCamera
- local rs = game:GetService('RunService')
- rs.RenderStepped:connect(function()
- if (cam.Focus.p-cam.CoordinateFrame.p).magnitude <= 1 then -- 0.5 is the as far as it can zoom in)
- FLARM.Transparency = 0
- FRARM.Transparency = 0
- else
- FLARM.Transparency = 1
- FRARM.Transparency = 1
- end
- end)
- end
- function unequip()
- for i, veee in pairs(Jihad.FakeRPG:GetChildren()) do
- if veee:IsA("Part") then
- veee.Transparency = 0
- Jihad.FakeRPG["Fake Torso"].Transparency = 1
- end
- end
- for i, v in pairs(Jihad["Right Arm"]:GetChildren()) do
- if v:IsA("CFrameValue") then
- v:Destroy()
- end
- end
- for i, ev in pairs(Jihad["Right Arm"]:GetChildren()) do
- if ev:IsA("Weld") then
- ev:Destroy()
- end
- end
- for i, eev in pairs(Jihad["Left Arm"]:GetChildren()) do
- if eev:IsA("CFrameValue") then
- eev:Destroy()
- end
- end
- for i, eeev in pairs(Jihad["Left Arm"]:GetChildren()) do
- if eeev:IsA("Weld") then
- eeev:Destroy()
- end
- end
- for i, eeeve in pairs(Jihad.Torso:GetChildren()) do
- if eeeve:IsA("BodyThrust") then
- eeeve:Destroy()
- end
- end
- Tool.GripForward = Vector3.new(0.027, 0, 1)
- Tool.GripPos = Vector3.new(0, 0, 0)
- Tool.GripRight = Vector3.new(-1, 0, 0.027)
- Tool.GripUp = Vector3.new(0, 1, 0)
- DRAW:Play()
- workspace.CurrentCamera.ViewModel:Destroy()
- local LEFTARM = Instance.new("Motor6D")
- local RIGHTARM = Instance.new("Motor6D")
- LEFTARM.Parent = Jihad.Torso
- RIGHTARM.Parent = Jihad.Torso
- LEFTARM.Name = "Left Shoulder"
- RIGHTARM.Name = "Right Shoulder"
- EQUIP = false
- LEFTARM.Part0 = Jihad.Torso
- LEFTARM.Part1 = Jihad["Left Arm"]
- LEFTARM.C0 = CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- LEFTARM.C1 = CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- RIGHTARM.Part0 = Jihad.Torso
- RIGHTARM.Part1 = Jihad["Right Arm"]
- RIGHTARM.C0 = CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- RIGHTARM.C1 = CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Jihad.Humanoid.WalkSpeed = 16
- TUANT = false
- Recharging = false
- JUTPAC = false
- o4:Stop()
- o9.Enabled = false
- o13.Enabled = false
- Jihad.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- 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)
- Jihad.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- 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)
- Jihad.Torso["Neck"].C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Jihad.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- if Shot == true
- then
- Jihad.FakeRPG.Rocket1.Transparency = 1
- Jihad.FakeRPG.Rocket2.Transparency = 1
- end
- end
- Mouse.Button1Down:connect(function()
- for i, v in pairs(Mouse.Target.Parent:GetChildren()) do
- if v:IsA("Humanoid") then
- if EQUIP == true and Shot == false and Run == false and TUANT == false
- then
- if
- Mouse.Target.Parent == Jihad or Mouse.Target.Parent.Name == "RPG-7" == false
- then
- TRGT.Value = Mouse.Target
- Shot = true
- print("Click")
- SoundPlayer.SoundId = Sound1.SoundId
- SoundPlayer:Play()
- o31.Transparency = 1
- o35.Transparency = 1
- Calculate = (TRGT.Value.Position - o2.Position).magnitude------------------------Calculate Distance from RPG to target------------------
- wait(Calculate/1000 +.1)
- KABUM = Instance.new("Explosion")
- KABUM.Parent = Mouse.Target
- KABUM.Name = "KABOOOOOM"
- KABUM.BlastRadius = 2.5
- KABUM.BlastPressure = 5000
- KABUM.Position = TRGT.Value.Position
- local Effact = Instance.new("Sound")
- Effact.Parent = TRGT.Value
- Effact.SoundId = "rbxassetid://163064102"
- Effact.Name = "Ded not big soup rice"
- Effact:Play()
- Effact.Volume = 100
- wait(.1)
- for i, v in pairs(TRGT.Value.Parent:GetChildren()) do
- if v:IsA("Part") then
- v.Position = v.Position + Vector3.new(0,50,0)
- end
- end
- local Victimm = TRGT.Value.Parent
- Victimm.Humanoid.PlatformStand = true
- guigroup=Instance.new("BillboardGui")
- guigroup.Parent=Victimm.Head
- guigroup.Adornee=Victimm.Head
- guigroup.Size = UDim2.new(1,0,1,0)
- guigroup.StudsOffset=Vector3.new(0.5, 2, 0)
- owooo1 = Instance.new("ImageLabel")
- owooo1.Size = UDim2.new(0,100,0,100)
- owooo1.BackgroundColor3 = Color3.new(1, 1, 1)
- owooo1.BackgroundTransparency = 1
- owooo1.Image = "rbxassetid://20016320"
- owooo1.Parent = guigroup
- owooo1.AnchorPoint = Vector2.new(0.5, 0.5)
- owooo1.Size = UDim2.new(1.5,0,1.5,0)
- local player = Victimm
- local char = Victimm
- local OMGCREEPYw = Instance.new("Sound")
- OMGCREEPYw.Volume = 5
- OMGCREEPYw.SoundId = "rbxassetid://605536910"
- char.Archivable = true
- local rg = char:Clone()
- rg.HumanoidRootPart:Destroy()
- rg.Name = ""
- rg.Humanoid.MaxHealth = 0
- rg.Humanoid.PlatformStand = true
- for i, v in pairs(rg.Torso:GetChildren()) do
- if v:IsA("Motor6D") then
- v:Destroy()
- end
- end
- for i, v in pairs(rg:GetChildren()) do
- if v:IsA("BodyColors") then
- v:Destroy()
- end
- end
- for i, v in pairs(rg:GetChildren()) do
- if v:IsA("Shirt") then
- v:Destroy()
- end
- end
- for i, v in pairs(rg:GetChildren()) do
- if v:IsA("Pants") then
- v:Destroy()
- end
- end
- for i, v in pairs(rg:GetChildren()) do
- if v:IsA("ShirtGraphic") then
- v:Destroy()
- end
- end
- for i, v in pairs(rg:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Really black")
- v.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- end
- end
- local TorsoPointNeckAttachment = Instance.new("Attachment")
- TorsoPointNeckAttachment.Name = "TorsoPointNeckAttachment"
- TorsoPointNeckAttachment.Parent = rg.Torso
- TorsoPointNeckAttachment.Position = Vector3.new(0,1,0)
- TorsoPointNeckAttachment.Axis = Vector3.new(1,0,0)
- TorsoPointNeckAttachment.SecondaryAxis = Vector3.new(0,1,0)
- local HeadPointNeckAttachment= Instance.new("Attachment")
- HeadPointNeckAttachment.Name = "HeadPointNeckAttachment"
- HeadPointNeckAttachment.Parent = rg.Head
- HeadPointNeckAttachment.Position = Vector3.new(0,-0.5,0)
- HeadPointNeckAttachment.Axis = Vector3.new(1,0,0)
- HeadPointNeckAttachment.SecondaryAxis = Vector3.new(0,1,0)
- local LeftArmPointAttachment = Instance.new("Attachment")
- LeftArmPointAttachment.Name = "LeftArmPointAttachment"
- LeftArmPointAttachment.Parent = rg["Left Arm"]
- LeftArmPointAttachment.Position = Vector3.new(0,0.5,0)
- LeftArmPointAttachment.Axis = Vector3.new(1,0,0)
- LeftArmPointAttachment.SecondaryAxis = Vector3.new(0,1,0)
- local RightArmPointAttachment = Instance.new("Attachment")
- RightArmPointAttachment.Name = "RightArmPointAttachment"
- RightArmPointAttachment.Parent = rg["Right Arm"]
- RightArmPointAttachment.Position = Vector3.new(0,0.5,0)
- RightArmPointAttachment.Axis = Vector3.new(1,0,0)
- RightArmPointAttachment.SecondaryAxis = Vector3.new(0,1,0)
- local LeftLegPointAttachment = Instance.new("Attachment")
- LeftLegPointAttachment.Name = "LeftLegPointAttachment"
- LeftLegPointAttachment.Parent = rg["Left Leg"]
- LeftLegPointAttachment.Position = Vector3.new(0,1,0)
- LeftLegPointAttachment.Axis = Vector3.new(1,0,0)
- LeftLegPointAttachment.SecondaryAxis = Vector3.new(0,1,0)
- local RightLegPointAttachment = Instance.new("Attachment")
- RightLegPointAttachment.Name = "RightLegPointAttachment"
- RightLegPointAttachment.Parent = rg["Right Leg"]
- RightLegPointAttachment.Position = Vector3.new(0,1,0)
- RightLegPointAttachment.Axis = Vector3.new(1,0,0)
- RightLegPointAttachment.SecondaryAxis = Vector3.new(0,1,0)
- local LeftHipPointAttachment = Instance.new("Attachment")
- LeftHipPointAttachment.Name = "LeftHipPointAttachment"
- LeftHipPointAttachment.Parent = rg.Torso
- LeftHipPointAttachment.Position = Vector3.new(-0.5,-1,0)
- LeftHipPointAttachment.Axis = Vector3.new(1,0,0)
- LeftHipPointAttachment.SecondaryAxis = Vector3.new(0,1,0)
- local RightHipPointAttachment = Instance.new("Attachment")
- RightHipPointAttachment.Name = "RightHipPointAttachment"
- RightHipPointAttachment.Parent = rg.Torso
- RightHipPointAttachment.Position = Vector3.new(0.5,-1,0)
- RightHipPointAttachment.Axis = Vector3.new(1,0,0)
- RightHipPointAttachment.SecondaryAxis = Vector3.new(0,1,0)
- local LeftShoulderPointAttachment = Instance.new("Attachment")
- LeftShoulderPointAttachment.Name = "LeftShoulderPointAttachment"
- LeftShoulderPointAttachment.Parent = rg.Torso
- LeftShoulderPointAttachment.Position = Vector3.new(-1.5,0.5,0)
- LeftShoulderPointAttachment.Axis = Vector3.new(1,0,0)
- LeftShoulderPointAttachment.SecondaryAxis = Vector3.new(0,1,0)
- local RightShoulderPointAttachment = Instance.new("Attachment")
- RightShoulderPointAttachment.Name = "RightShoulderPointAttachment"
- RightShoulderPointAttachment.Parent = rg.Torso
- RightShoulderPointAttachment.Position = Vector3.new(1.5,0.5,0)
- RightShoulderPointAttachment.Axis = Vector3.new(1,0,0)
- RightShoulderPointAttachment.SecondaryAxis = Vector3.new(0,1,0)
- local n = Instance.new("BallSocketConstraint", rg.Torso)
- n.Name = "BallSocketNeck"
- n.Attachment0 = TorsoPointNeckAttachment
- n.Attachment1 = HeadPointNeckAttachment
- n.Restitution = 0
- n.UpperAngle = 90
- n.Enabled = true
- n.LimitsEnabled = true
- local rs = Instance.new("BallSocketConstraint", rg.Torso)
- rs.Name = "BallSocketRightShoulder"
- rs.Attachment0 = RightShoulderPointAttachment
- rs.Attachment1 = RightArmPointAttachment
- rs.Restitution = 0
- rs.UpperAngle = 90
- rs.Enabled = true
- rs.LimitsEnabled = true
- local ls = Instance.new("BallSocketConstraint", rg.Torso)
- ls.Name = "BallSocketLeftShoulder"
- ls.Attachment0 = LeftShoulderPointAttachment
- ls.Attachment1 = LeftArmPointAttachment
- ls.Restitution = 0
- ls.UpperAngle = 90
- ls.Enabled = true
- ls.LimitsEnabled = true
- local rh = Instance.new("BallSocketConstraint", rg.Torso)
- rh.Name = "BallSocketRightHip"
- rh.Attachment0 = RightHipPointAttachment
- rh.Attachment1 = RightLegPointAttachment
- rh.Restitution = 0
- rh.UpperAngle = 90
- rh.Enabled = true
- rh.LimitsEnabled = true
- local lh = Instance.new("BallSocketConstraint", rg.Torso)
- lh.Name = "BallSocketLeftHip"
- lh.Attachment0 = LeftHipPointAttachment
- lh.Attachment1 = LeftLegPointAttachment
- lh.Restitution = 0
- lh.UpperAngle = 90
- lh.Enabled = true
- lh.LimitsEnabled = true
- char.Torso:Destroy()
- char.Head:Destroy()
- char["Left Leg"]:Destroy()
- char["Left Arm"]:Destroy()
- char["Right Leg"]:Destroy()
- char["Right Arm"]:Destroy()
- char["HumanoidRootPart"]:Destroy()
- char.Humanoid.PlatformStand = true
- rg.Parent = game.Workspace
- rg.Head.face.Texture = "http://www.roblox.com/asset/?id=778409313"
- Victimm.Humanoid.Name = "Humanoid2"
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- local cors = {}
- local mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "Collidable Limbs"
- local oo1 = Instance.new("Part")
- local oo2 = Instance.new("Part")
- local oo3 = Instance.new("Part")
- local oo4 = Instance.new("Part")
- local oo5 = Instance.new("Part")
- local oo6 = Instance.new("Part")
- local w1 = Instance.new("Weld")
- local w2 = Instance.new("Weld")
- local w3 = Instance.new("Weld")
- local w4 = Instance.new("Weld")
- local w5 = Instance.new("Weld")
- local w6 = Instance.new("Weld")
- oo1.Name = "CHead"
- w1.Parent = oo1
- w1.Part0 = w1.Parent
- w1.Part1 = rg["Head"]
- oo1.Parent = mas
- oo1.Material = Enum.Material.SmoothPlastic
- oo1.BrickColor = BrickColor.new("Institutional white")
- oo1.Transparency = 1
- oo1.Position = rg.Head.Position
- oo1.Velocity = Vector3.new(0, -9.19685173, 0)
- oo1.Locked = true
- oo1.FormFactor = Enum.FormFactor.Symmetric
- oo1.Size = Vector3.new(2, 1, 1)
- oo1.CFrame = CFrame.new(0, 4.50001812, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- oo1.BottomSurface = Enum.SurfaceType.Smooth
- oo1.TopSurface = Enum.SurfaceType.Smooth
- oo1.Color = Color3.new(0.972549, 0.972549, 0.972549)
- oo1.Position = Vector3.new(0, 4.50001812, 0)
- oo1.CanCollide = false
- oo2.Name = "CT"
- w2.Parent = oo2
- w2.Part0 = w2.Parent
- w2.Part1 = rg["Torso"]
- oo2.Parent = mas
- oo2.CanCollide = true
- oo2.Material = Enum.Material.SmoothPlastic
- oo2.BrickColor = BrickColor.new("Institutional white")
- oo2.Transparency = 1
- oo2.Position = rg.Torso.Position
- oo2.Velocity = Vector3.new(0, -9.19685173, 0)
- oo2.Locked = true
- oo2.Anchored = false
- oo2.FormFactor = Enum.FormFactor.Symmetric
- oo2.Size = Vector3.new(2, 2, 1)
- oo2.CFrame = CFrame.new(0, 3.00001788, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- oo2.BottomSurface = Enum.SurfaceType.Smooth
- oo2.TopSurface = Enum.SurfaceType.Smooth
- oo2.Color = Color3.new(0.972549, 0.972549, 0.972549)
- oo2.Position = Vector3.new(0, 3.00001788, 0)
- oo3.Name = "CLA"
- oo3.CanCollide = true
- w3.Parent = oo3
- w3.Part0 = w3.Parent
- w3.Part1 = rg["Left Arm"]
- w3.C0 = CFrame.new(0, 0, 0)
- w3.C1 = CFrame.new(0, -0.2, 0)
- oo3.Parent = mas
- oo3.Material = Enum.Material.SmoothPlastic
- oo3.BrickColor = BrickColor.new("Institutional white")
- oo3.Transparency = 1
- oo3.Position = rg["Left Arm"].Position
- oo3.Velocity = Vector3.new(0, -9.19685173, 0)
- oo3.CanCollide = true
- oo3.Locked = true
- oo3.FormFactor = Enum.FormFactor.Symmetric
- oo3.Size = Vector3.new(1, 1.40, 1)
- oo3.CFrame = CFrame.new(-1.5, 3.00001788, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- oo3.BottomSurface = Enum.SurfaceType.Smooth
- oo3.TopSurface = Enum.SurfaceType.Smooth
- oo3.Color = Color3.new(0.972549, 0.972549, 0.972549)
- oo3.Position = Vector3.new(-1.5, 3.00001788, 0)
- oo4.Name = "CRA"
- w4.Parent = oo4
- w4.Part0 = w4.Parent
- w4.Part1 = rg["Right Arm"]
- w4.C0 = CFrame.new(0, 0, 0)
- w4.C1 = CFrame.new(0, -0.2, 0)
- oo4.Parent = mas
- oo4.CanCollide = true
- oo4.Material = Enum.Material.SmoothPlastic
- oo4.BrickColor = BrickColor.new("Institutional white")
- oo4.Transparency = 1
- oo4.Position = Vector3.new(1.5, 3.00001788, 0)
- oo4.Velocity = Vector3.new(0, -9.19685173, 0)
- oo4.CanCollide = true
- oo4.Locked = true
- oo4.FormFactor = Enum.FormFactor.Symmetric
- oo4.Size = Vector3.new(1, 1.40, 1)
- oo4.CFrame = CFrame.new(1.5, 3.00001788, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- oo4.BottomSurface = Enum.SurfaceType.Smooth
- oo4.TopSurface = Enum.SurfaceType.Smooth
- oo4.Color = Color3.new(0.972549, 0.972549, 0.972549)
- oo4.Position = rg["Right Arm"].Position
- oo5.Name = "CLL"
- oo5.Parent = mas
- w5.Parent = oo5
- w5.Part0 = w5.Parent
- w5.Part1 = rg["Left Leg"]
- w5.C0 = CFrame.new(0, 0, 0)
- w5.C1 = CFrame.new(0, -0.2, 0)
- oo5.Material = Enum.Material.SmoothPlastic
- oo5.BrickColor = BrickColor.new("Institutional white")
- oo5.Transparency = 1
- oo5.CanCollide = true
- oo5.Position = rg["Left Leg"].Position
- oo5.Velocity = Vector3.new(0, -9.19685173, 0)
- oo5.CanCollide = true
- oo5.Locked = true
- oo5.FormFactor = Enum.FormFactor.Symmetric
- oo5.Size = Vector3.new(1, 1.65, 1)
- oo5.CFrame = CFrame.new(-0.5, 1.00001788, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- oo5.BottomSurface = Enum.SurfaceType.Smooth
- oo5.TopSurface = Enum.SurfaceType.Smooth
- oo5.Color = Color3.new(0.972549, 0.972549, 0.972549)
- oo5.Position = Vector3.new(-0.5, 1.00001788, 0)
- oo6.Name = "CRL"
- oo6.Parent = mas
- oo6.Material = Enum.Material.SmoothPlastic
- oo6.BrickColor = BrickColor.new("Institutional white")
- oo6.Transparency = 1
- oo6.Position = rg["Right Leg"].Position
- oo6.Velocity = Vector3.new(0, -9.19685173, 0)
- oo6.CanCollide = true
- oo6.Locked = true
- oo6.FormFactor = Enum.FormFactor.Symmetric
- oo6.Size = Vector3.new(1, 1.65, 1)
- oo6.CFrame = CFrame.new(0.5, 1.00001788, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- oo6.BottomSurface = Enum.SurfaceType.Smooth
- oo6.TopSurface = Enum.SurfaceType.Smooth
- oo6.Color = Color3.new(0.972549, 0.972549, 0.972549)
- oo6.Position = Vector3.new(0.5, 1.00001788, 0)
- oo6.CanCollide = true
- w6.Parent = oo6
- w6.Part0 = w6.Parent
- w6.Part1 = rg["Right Leg"]
- w6.C0 = CFrame.new(0, 0, 0)
- w6.C1 = CFrame.new(0, -0.2, 0)
- mas.Parent = rg
- mas:MakeJoints()
- local NAEM = rg.Name
- local raggeeh = rg:Clone()
- raggeeh.Head.Anchored = true
- raggeeh.Name = Victimm.Name
- raggeeh.Humanoid.PlatformStand = true
- local FORS = Instance.new("BodyThrust")
- FORS.Force = Vector3.new(0,100,0)
- FORS.Location = Vector3.new(0,1,0)
- FORS.Parent = raggeeh.Head
- local TUURS = raggeeh.Torso
- local CPU = Instance.new("Model")
- CPU.Parent = raggeeh
- raggeeh.Parent = game:GetService("Workspace")
- CPU.Name = NAEM.."'s generated CameraPart"
- local FORCEo1 = Instance.new("BodyThrust")
- FORCEo1.Parent = raggeeh.Torso
- FORCEo1.force = Vector3.new(0, 1000, 0)
- FORCEo1.location = Vector3.new(0, 0, 1)
- raggeeh.Parent = game:GetService("Workspace")
- rg:destroy()
- raggeeh.Head.Anchored = false
- raggeeh.Parent = game:GetService("Workspace")
- wait()
- local FOLDARR = Instance.new("Model")
- FOLDARR.Parent = raggeeh
- FOLDARR.Name = "BLUDDDDDDDDDDD"
- local FLUIDS = Instance.new("Model")
- FLUIDS.Name = NAEM.."'s fluids"
- FLUIDS.Parent = FOLDARR
- raggeeh.Head.Anchored = false
- OMGCREEPYw.Parent = raggeeh
- OMGCREEPYw:Play()
- 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"}
- game:GetService("Chat"):Chat(raggeeh.Head, chats[math.random(1, #chats)], Enum.ChatColor.Red)
- game:GetService("RunService").Stepped:wait()
- FORCEo1:Destroy()
- raggeeh.Humanoid.Name = "Humanoid2"
- for i, veee in pairs(raggeeh:GetChildren()) do
- if veee:IsA("Part") then
- local firo1 = Instance.new("ParticleEmitter")
- firo2 = Instance.new("Sound")
- firo1.Name = "Fire"
- firo1.Parent = veee
- firo1.Transparency = NumberSequence.new(0,0.54374998807907,0.73749995231628,0,0.72500002384186,0.45625001192093,0.63749998807907,0,0.52499997615814,0)
- firo1.Rotation = NumberRange.new(4,9)
- firo1.Size = NumberSequence.new(1)
- firo1.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(0.364706, 0, 0))
- firo1.LightEmission = 0.86000001430511
- firo1.Texture = "http://www.roblox.com/asset/?id=248625108"
- firo1.Lifetime = NumberRange.new(0,1)
- firo1.Rate = 2.222222306653e+16
- firo1.RotSpeed = NumberRange.new(5,9)
- firo1.Acceleration = Vector3.new(0, 20, 0)
- firo1.Speed = NumberRange.new(0)
- firo1.VelocitySpread = 28
- firo1.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(0.364706, 0, 0))
- lio1 = Instance.new("PointLight")
- lio1.Name = "FireLight"
- lio1.Parent = veee
- lio1.Color = Color3.new(1, 0.333333, 0)
- lio1.Range = 14
- lio1.Shadows = true
- lio1.Color = Color3.new(1, 0.333333, 0)
- end
- end
- firo2.Name = "FireSound"
- firo2.Parent = raggeeh.Head
- firo2.Pitch = 1.0800000429153
- firo2.SoundId = "rbxassetid://172154904"
- firo2.Volume = 5
- firo2.Looped = true
- firo2:Play()
- print(raggeeh.Name.." lived a good life.")
- end
- end
- end
- end
- end)
- Mouse.KeyDown:connect(function(key)
- if (key == "r") and Run == false and Shot == true and EQUIP == true and Recharging == false and TUANT == false and JUTPAC == false
- then
- Recharging = true
- local Effact = Instance.new("Sound")
- Effact.Parent = o2
- Effact.SoundId = "rbxassetid://896792661"
- Effact.Name = "recharge"
- Effact.Volume = 5
- Effact.TimePosition = 0
- Effact:Play()
- wait(3)
- print("Recharg")
- 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)
- 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)
- 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)
- 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)
- o31.Transparency = 0
- o35.Transparency = 0
- wait(1)
- 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)
- 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)
- RWe.C1 = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095)
- RCFRAME.Value = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095)
- Shot = false
- Recharging = false
- end
- end)
- Mouse.KeyDown:connect(function(key)
- if string.byte(key) == 50 and EQUIP == true and Run == false and TUANT == false and Recharging == false and JUTPAC == false
- then
- Run = true
- Jihad.Humanoid.WalkSpeed = 20
- o13.Name = "qCFrameWeldThingy"
- 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)
- 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)
- 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)
- 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)
- end
- end)
- Mouse.KeyUp:connect(function(key)
- if string.byte(key) == 50 and EQUIP == true and Run == true and JUTPAC == false
- then
- Run = false
- Jihad.Humanoid.WalkSpeed = 8
- o13.Name = "qCFrameWeldThingy"
- 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)
- 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)
- RWe.C1 = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095)
- RCFRAME.Value = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095)
- end
- end)
- Mouse.KeyDown:connect(function(key)
- if (key == "p") and TUANT == false and Run == false and Recharging == false and JUTPAC == false
- then
- 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)
- 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)
- LWe.C1 = CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 1)
- LCFRAME.Value = CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 1)
- Tool.GripForward = Vector3.new(0, 1, 0.005)
- Tool.GripPos = Vector3.new(0, 0.5, -0.5)
- Tool.GripRight = Vector3.new(1, -0, -0)
- Tool.GripUp = Vector3.new(0, -0.005, 1)
- TUANT = true
- Jihad.Humanoid.WalkSpeed = 0
- Jihad.Humanoid.JumpPower = 0
- TUANT = true
- end
- end)
- Mouse.KeyDown:connect(function(key)
- if (key == "l") and TUANT == true and Run == false and JUTPAC == false
- then
- 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)
- 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)
- RWe.C1 = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095)
- RCFRAME.Value = CFrame.new(-1.5, 0.878674746, 0.578754187, 1, 0, 0, 0, 0.0395403057, 0.999217987, 0, -0.999217927, 0.0395403095)
- Tool.GripForward = Vector3.new(0.027, 0, 1)
- Tool.GripPos = Vector3.new(0, 0, 0)
- Tool.GripRight = Vector3.new(-1, 0, 0.027)
- Tool.GripUp = Vector3.new(0, 1, 0)
- Jihad.Humanoid.WalkSpeed = 8
- Jihad.Humanoid.JumpPower = 50
- TUANT = false
- end
- end)
- o1 = Instance.new("Model")
- o2 = Instance.new("Part")
- o3 = Instance.new("SpecialMesh")
- o4 = Instance.new("Sound")
- o8 = Instance.new("Part")
- o9 = Instance.new("ParticleEmitter")
- o10 = Instance.new("Weld")
- o11 = Instance.new("CFrameValue")
- o12 = Instance.new("Part")
- o13 = Instance.new("ParticleEmitter")
- o14 = Instance.new("Weld")
- o15 = Instance.new("CFrameValue")
- o16 = Instance.new("Part")
- o17 = Instance.new("Weld")
- o18 = Instance.new("CFrameValue")
- o1.Name = "Jet pac"
- o1.Parent = Jihad
- o2.Name = "Handle"
- o2.Parent = o1
- o2.Position = Vector3.new(-10.3698969, 7.79880476, -31.5854397)
- o2.Rotation = Vector3.new(-0.600000024, -0.289999992, -0.00999999978)
- o2.FormFactor = Enum.FormFactor.Symmetric
- o2.Size = Vector3.new(5, 3, 1)
- 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)
- o2.BottomSurface = Enum.SurfaceType.Weld
- o2.Position = Vector3.new(-10.3698969, 7.79880476, -31.5854397)
- o2.Orientation = Vector3.new(-0.600000024, -0.289999992, -0.00999999978)
- o3.Parent = o2
- o3.MeshId = "http://www.roblox.com/asset/?id=30643517"
- o3.TextureId = "http://www.roblox.com/asset/?id=31322728"
- o3.MeshType = Enum.MeshType.FileMesh
- o4.Parent = o2
- o4.Pitch = 0.5
- o4.SoundId = "rbxassetid://558246436"
- o8.Name = "1"
- o8.Parent = o1
- o8.Transparency = 1
- o8.Position = Vector3.new(-10.8659163, 6.27540779, -31.4270248)
- o8.Rotation = Vector3.new(179.399994, 0.289999992, 0)
- o8.FormFactor = Enum.FormFactor.Symmetric
- o8.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
- 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)
- o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.Position = Vector3.new(-10.8659163, 6.27540779, -31.4270248)
- o8.Orientation = Vector3.new(0.600000024, 179.710007, 179.990005)
- o9.Parent = o8
- o9.Size = NumberSequence.new(0.5,0.5)
- o9.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0, 0))
- o9.Enabled = false
- o9.LightEmission = 1
- o9.Texture = "http://www.roblox.com/asset/?id=189845859"
- o9.Lifetime = NumberRange.new(0.5,0.5)
- o9.Rate = 3.3333331781222e+14
- o9.RotSpeed = NumberRange.new(20,20)
- o9.Speed = NumberRange.new(7,7)
- o9.VelocitySpread = 15
- o9.LockedToPart = true
- o9.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0, 0))
- o10.Name = "qCFrameWeldThingy"
- o10.Parent = o8
- 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)
- o10.Part0 = o2
- o10.Part1 = o8
- o11.Name = "qRelativeCFrameWeldValue"
- o11.Parent = o8
- 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)
- o12.Name = "2"
- o12.Parent = o1
- o12.Transparency = 1
- o12.Position = Vector3.new(-9.85590458, 6.27527666, -31.4218502)
- o12.Rotation = Vector3.new(179.399994, 0.289999992, 0)
- o12.FormFactor = Enum.FormFactor.Symmetric
- o12.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
- 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)
- o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.Position = Vector3.new(-9.85590458, 6.27527666, -31.4218502)
- o12.Orientation = Vector3.new(0.600000024, 179.710007, 179.990005)
- o13.Parent = o12
- o13.Size = NumberSequence.new(0.5,0.5)
- o13.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0, 0))
- o13.Enabled = false
- o13.LightEmission = 1
- o13.Texture = "http://www.roblox.com/asset/?id=189845859"
- o13.Lifetime = NumberRange.new(0.5,0.5)
- o13.Rate = 3.3333331781222e+14
- o13.RotSpeed = NumberRange.new(20,20)
- o13.Speed = NumberRange.new(7,7)
- o13.VelocitySpread = 15
- o13.LockedToPart = true
- o13.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0, 0))
- o14.Name = "qCFrameWeldThingy"
- o14.Parent = o12
- 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)
- o14.Part0 = o2
- o14.Part1 = o12
- o15.Name = "qRelativeCFrameWeldValue"
- o15.Parent = o12
- 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)
- o16.Name = "FAik torso"
- o16.Parent = o1
- o16.BrickColor = BrickColor.new("Bright red")
- o16.Transparency = 1
- o16.Position = Vector3.new(-10.3353624, 7.66948891, -32.4739723)
- o16.Rotation = Vector3.new(-0.600000024, -0.289999992, -0.00999999978)
- o16.FormFactor = Enum.FormFactor.Symmetric
- o16.Size = Vector3.new(2, 2, 1)
- 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)
- o16.BottomSurface = Enum.SurfaceType.Smooth
- o16.TopSurface = Enum.SurfaceType.Smooth
- o16.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o16.Position = Vector3.new(-10.3353624, 7.66948891, -32.4739723)
- o16.Orientation = Vector3.new(-0.600000024, -0.289999992, -0.00999999978)
- o16.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o17.Name = "qCFrameWeldThingy"
- o17.Parent = o16
- 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)
- o17.Part0 = o2
- o17.Part1 = o16
- o18.Name = "qRelativeCFrameWeldValue"
- o18.Parent = o16
- 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)
- WUELD = Instance.new("Weld")
- WUELD.Part0 = o16
- WUELD.Part1 = Jihad.Torso
- WUELD.Parent = o16
- Mouse.KeyDown:connect(function(key)
- if (key == "j") and Recharging == false and JUTPAC == false and Run == false and DANS == false and TUANT == false and EQUIP == true
- then
- JUTPAC = true
- local DEPLOI = Instance.new("Sound")
- DEPLOI.Parent = game.Players.LocalPlayer.Character.Head
- DEPLOI.SoundId = "rbxassetid://417575434"
- DEPLOI.Volume = 1
- DEPLOI:Play()
- wait(1)
- Jihad.Humanoid.Jump = true
- FUORS = Instance.new("BodyThrust")
- FUORS.Force = Vector3.new(0, 20000, 0)
- FUORS.Parent = Jihad.Torso
- o4:Play()
- o9.Enabled = true
- o13.Enabled = true
- o4.Looped = true
- DEPLOI:Destroy()
- Jihad.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- 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)
- Jihad.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- 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)
- Jihad.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Jihad.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.179892376, 0.983686328, 0, 0.983686328, -0.179892376)
- JUTPAC = true
- end
- end)
- Mouse.KeyUp:connect(function(key)
- if (key == "j") and Recharging == false and JUTPAC == true and Run == false and DANS == false and TUANT == false and EQUIP == true
- then
- JUTPAC = false
- FUORS:Destroy()
- o4:Stop()
- o9.Enabled = false
- o13.Enabled = false
- Jihad.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- 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)
- Jihad.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- 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)
- Jihad.Torso["Neck"].C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Jihad.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- end
- end)
- Tool.Equipped:connect(equip)
- Tool.Unequipped:connect(unequip)
- local time = tick()
- local plr = game:GetService("Players").LocalPlayer
- local mouse,char = plr:GetMouse(),plr.Character
- local amountGhosts = 5
- for i,v in pairs(game:GetService("Workspace").CurrentCamera:GetChildren()) do v:Destroy() end
- local toggle,cd,mcd = false,false,false
- local ghosts = {}
- local temptab = {}
- char:WaitForChild("Animate"):Destroy()
- char.Humanoid:WaitForChild("Animator"):Destroy()
- local state = "idle"
- local gt = false
- local gyro = Instance.new("BodyGyro",char:WaitForChild("HumanoidRootPart")) --Stops the character from glitching out on enter/exit
- gyro.MaxTorque = Vector3.new(0,0,0)
- gyro.D = 0
- gyro.P = 100000000
- local wCol = BrickColor.new("Really red")
- local wCol2 = BrickColor.new("Really black")
- local gCol = BrickColor.new("Toothpaste")
- local gCol2 = BrickColor.new("Institutional white")
- function searchAll(m,clear)
- if clear then
- if clear == true then
- for i,v in pairs(temptab) do
- table.remove(temptab,1)
- end
- end
- end
- for i,v in pairs(m:GetChildren()) do
- if v then
- local s = v:Clone()
- for _,b in pairs(s:GetChildren()) do
- b:Destroy()
- end
- if s:IsA("Part") or s:IsA("WedgePart") or s:IsA("TrussPart") or s:IsA("UnionOperation") then
- if s.Name ~= "HumanoidRootPart" then
- s.Anchored = true
- s.CanCollide = false
- s.Transparency = 0.95
- s.TopSurface = "Smooth"
- s.BottomSurface = "Smooth"
- s.FrontSurface = "Smooth"
- s.RightSurface = "Smooth"
- s.BackSurface = "Smooth"
- s.LeftSurface = "Smooth"
- if s.Material ~= Enum.Material.Neon then
- if gt == true then
- s.BrickColor = wCol2
- else
- s.BrickColor = gCol2
- end
- else
- if gt == true then
- s.BrickColor = wCol
- else
- s.BrickColor = gCol
- end
- end
- for _,c in pairs(v:GetChildren()) do
- if c:IsA("SpecialMesh") or c:IsA("CylinderMesh") then
- c:Clone().Parent = s
- end
- end
- local objValue = Instance.new("ObjectValue",s)
- objValue.Name = "Target"
- objValue.Value = v
- table.insert(temptab,s)
- end
- --elseif s:IsA("CharacterMesh") then
- --table.insert(temptab,s)
- end
- --searchAll(v)
- end
- end
- return temptab
- end
- function CreateGhost()
- local ghost = Instance.new("Model",game.Workspace)
- searchAll(char,true)
- ghost.Name = char.Name.."'s Ghost "..#ghosts..#plr.Name
- --Instance.new("Humanoid",ghost)
- for i,v in pairs(temptab) do
- v:Clone().Parent = ghost
- end
- table.insert(ghosts,ghost)
- end
- function ClearGhosts()
- for i,v in pairs(ghosts) do
- v:Destroy()
- end
- for i,v in pairs(ghosts) do
- table.remove(ghosts,1)
- end
- for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
- if string.sub(v.Name,1,#plr.Name+9) == plr.Name.."'s Ghost " then
- v:Destroy()
- end
- end
- end
- Instance.new("ForceField",char).Visible = false
- local e1 = Instance.new("Part",char)
- e1.Size = Vector3.new(0.2,0.2,0.2)
- e1.TopSurface = "Smooth"
- e1.BottomSurface = "Smooth"
- e1.Material = "Neon"
- e1.Transparency = 1
- e1.Anchored = true
- e1.CanCollide = false
- e1.BrickColor = gCol
- e1.CFrame = char.Head.CFrame * CFrame.new(0.15,0.1,-0.6)
- local em1 = Instance.new("SpecialMesh",e1)
- em1.MeshType = "Sphere"
- local e2 = Instance.new("Part",char)
- e2.Size = Vector3.new(0.2,0.2,0.2)
- e2.TopSurface = "Smooth"
- e2.BottomSurface = "Smooth"
- e2.Transparency = 1
- e2.Material = "Neon"
- e2.Anchored = true
- e2.CanCollide = false
- e2.BrickColor = gCol
- e2.CFrame = char.Head.CFrame * CFrame.new(-0.15,0.1,-0.6)
- local em2 = Instance.new("SpecialMesh",e2)
- em2.MeshType = "Sphere"
- toggle = true
- for i=1,amountGhosts do
- CreateGhost()
- end
- char.Parent = game:GetService("Workspace").CurrentCamera
- char:FindFirstChild("Head").Transparency = 1
- char:FindFirstChild("Torso").Transparency = 1
- char:FindFirstChild("Right Arm").Transparency = 1
- char:FindFirstChild("Left Arm").Transparency = 1
- char:FindFirstChild("Right Leg").Transparency = 1
- char:FindFirstChild("Left Leg").Transparency = 1
- for i,v in pairs(char:GetChildren()) do
- if v:IsA("Accessory") then
- v:FindFirstChild("Handle").Transparency = 1
- end
- end
- char:FindFirstChild("Head"):FindFirstChild("face"):Destroy()
- local p1 = Instance.new("Part",workspace)
- local m1 = Instance.new("SpecialMesh",p1)
- m1.MeshType = "Sphere"
- m1.Scale = Vector3.new(5,5,5)
- p1.Size = Vector3.new(1,1,1)
- p1.Anchored = true
- p1.CanCollide = false
- p1.TopSurface = "Smooth"
- p1.BottomSurface = "Smooth"
- p1.BrickColor = gCol
- p1.Material = "Neon"
- local p2 = Instance.new("Part",workspace)
- local m2 = Instance.new("SpecialMesh",p2)
- m2.MeshType = "Sphere"
- m2.Scale = Vector3.new(8,8,8)
- p2.Size = Vector3.new(1,1,1)
- p2.Anchored = true
- p2.CanCollide = false
- p2.TopSurface = "Smooth"
- p2.BottomSurface = "Smooth"
- p2.BrickColor = gCol2
- p2.Material = "Neon"
- local p3 = Instance.new("Part",workspace)
- local m3 = Instance.new("BlockMesh",p3)
- m3.Scale = Vector3.new(7,7,7)
- p3.Size = Vector3.new(1,1,1)
- p3.Transparency = 0.4
- p3.Anchored = true
- p3.CanCollide = false
- p3.TopSurface = "Smooth"
- p3.BottomSurface = "Smooth"
- p3.BrickColor = gCol
- p3.Material = "Neon"
- local p4 = Instance.new("Part",workspace)
- local m4 = Instance.new("BlockMesh",p4)
- m4.Scale = Vector3.new(10,10,10)
- p4.Size = Vector3.new(1,1,1)
- p4.Transparency = 0.4
- p4.Anchored = true
- p4.CanCollide = false
- p4.TopSurface = "Smooth"
- p4.BottomSurface = "Smooth"
- p4.BrickColor = gCol2
- p4.Material = "Neon"
- local currentframe = 0
- local frmR
- frmR = game:GetService("RunService").RenderStepped:connect(function()
- currentframe = currentframe + 1
- if currentframe < 1*60 then
- p1.CFrame = char:WaitForChild("Torso").CFrame
- p2.CFrame = char:WaitForChild("Torso").CFrame
- 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)))
- 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)))
- m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25)
- m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25)
- m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25)
- m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25)
- p1.Transparency = p1.Transparency + (1/(1*60))
- p2.Transparency = p2.Transparency + (1/(1*60))
- p3.Transparency = p3.Transparency + (1/(1*60))
- p4.Transparency = p4.Transparency + (1/(1*60))
- else
- p1:Destroy()
- p2:Destroy()
- p3:Destroy()
- p4:Destroy()
- frmR:disconnect()
- end
- end)
- char.Humanoid.MaxHealth = math.huge
- wait()
- char.Humanoid.Health = math.huge
- --[[mouse.KeyDown:connect(function(key)
- if key == "r" then
- print("R!")
- if cd == false then
- print("No cooldown!")
- cd = true
- if toggle == false then
- print("Entering godmode")
- toggle = true
- Instance.new("ForceField",char)
- for i=1,amountGhosts do
- CreateGhost()
- end
- char.Parent = game:GetService("Workspace").CurrentCamera
- char:FindFirstChild("Head").Transparency = 1
- char:FindFirstChild("Torso").Transparency = 1
- char:FindFirstChild("Right Arm").Transparency = 1
- char:FindFirstChild("Left Arm").Transparency = 1
- char:FindFirstChild("Right Leg").Transparency = 1
- char:FindFirstChild("Left Leg").Transparency = 1
- for i,v in pairs(char:GetChildren()) do
- if v:IsA("Accessory") then
- v:FindFirstChild("Handle").Transparency = 1
- end
- end
- else
- print("Exiting godmode")
- toggle = false
- for i,v in pairs(ghosts) do
- v:Destroy()
- end
- char.Parent = game:GetService("Workspace")
- char:FindFirstChild("ForceField"):Destroy()
- char:FindFirstChild("Head").Transparency = 0
- char:FindFirstChild("Torso").Transparency = 0
- char:FindFirstChild("Right Arm").Transparency = 0
- char:FindFirstChild("Left Arm").Transparency = 0
- char:FindFirstChild("Right Leg").Transparency = 0
- char:FindFirstChild("Left Leg").Transparency = 0
- for i,v in pairs(char:GetChildren()) do
- if v:IsA("Accessory") then
- v:FindFirstChild("Handle").Transparency = 0
- end
- end
- end
- cd = false
- end
- end
- end)]]
- mouse.KeyDown:connect(function(key)
- spawn(function()
- if key == "f" and toggle == true and mcd == false then
- if #ghosts < amountGhosts then
- print(#ghosts.."<")
- mcd = true
- ClearGhosts()
- for i=1,amountGhosts do
- CreateGhost()
- end
- local p1 = Instance.new("Part",workspace)
- local m1 = Instance.new("SpecialMesh",p1)
- m1.MeshType = "Sphere"
- m1.Scale = Vector3.new(7,7,7)
- p1.Size = Vector3.new(1,1,1)
- p1.Anchored = true
- p1.CanCollide = false
- p1.TopSurface = "Smooth"
- p1.BottomSurface = "Smooth"
- if gt == false then
- p1.BrickColor = gCol
- else
- p1.BrickColor = wCol
- end
- p1.Material = "Neon"
- local p2 = Instance.new("Part",workspace)
- local m2 = Instance.new("SpecialMesh",p2)
- m2.MeshType = "Sphere"
- m2.Scale = Vector3.new(9,9,9)
- p2.Size = Vector3.new(1,1,1)
- p2.Anchored = true
- p2.CanCollide = false
- p2.TopSurface = "Smooth"
- p2.BottomSurface = "Smooth"
- if gt == false then
- p2.BrickColor = gCol2
- else
- p2.BrickColor = wCol2
- end
- p2.Material = "Neon"
- local currentframe = 0
- local frmR
- frmR = game:GetService("RunService").RenderStepped:connect(function()
- currentframe = currentframe + 1
- if currentframe < 0.25*60 then
- p1.CFrame = char:WaitForChild("Torso").CFrame
- p2.CFrame = char:WaitForChild("Torso").CFrame
- p1.Transparency = p1.Transparency + (1/(0.25*60))
- p2.Transparency = p2.Transparency + (1/(0.25*60))
- else
- p1:Destroy()
- p2:Destroy()
- mcd = false
- frmR:disconnect()
- end
- end)
- else
- mcd = true
- ClearGhosts()
- local p1 = Instance.new("Part",workspace)
- local m1 = Instance.new("SpecialMesh",p1)
- m1.MeshType = "Sphere"
- m1.Scale = Vector3.new(7,7,7)
- p1.Size = Vector3.new(1,1,1)
- p1.Anchored = true
- p1.CanCollide = false
- p1.TopSurface = "Smooth"
- p1.BottomSurface = "Smooth"
- if gt == false then
- p1.BrickColor = gCol
- else
- p1.BrickColor = wCol
- end
- p1.Material = "Neon"
- local p2 = Instance.new("Part",workspace)
- local m2 = Instance.new("SpecialMesh",p2)
- m2.MeshType = "Sphere"
- m2.Scale = Vector3.new(9,9,9)
- p2.Size = Vector3.new(1,1,1)
- p2.Anchored = true
- p2.CanCollide = false
- p2.TopSurface = "Smooth"
- p2.BottomSurface = "Smooth"
- if gt == false then
- p2.BrickColor = gCol2
- else
- p2.BrickColor = wCol2
- end
- p2.Material = "Neon"
- local currentframe = 0
- local frmR
- frmR = game:GetService("RunService").RenderStepped:connect(function()
- currentframe = currentframe + 1
- if currentframe < 0.25*60 then
- p1.CFrame = char:WaitForChild("Torso").CFrame
- p2.CFrame = char:WaitForChild("Torso").CFrame
- p1.Transparency = p1.Transparency + (1/(0.25*60))
- p2.Transparency = p2.Transparency + (1/(0.25*60))
- else
- p1:Destroy()
- p2:Destroy()
- mcd = false
- frmR:disconnect()
- end
- end)
- end
- elseif key == "g" and toggle == true and mcd == false then
- if gt == true then
- gt = false
- local p1 = Instance.new("Part",workspace)
- local m1 = Instance.new("SpecialMesh",p1)
- m1.MeshType = "Sphere"
- m1.Scale = Vector3.new(5,5,5)
- p1.Size = Vector3.new(1,1,1)
- p1.Anchored = true
- p1.CanCollide = false
- p1.TopSurface = "Smooth"
- p1.BottomSurface = "Smooth"
- p1.BrickColor = gCol
- p1.Material = "Neon"
- local p2 = Instance.new("Part",workspace)
- local m2 = Instance.new("SpecialMesh",p2)
- m2.MeshType = "Sphere"
- m2.Scale = Vector3.new(8,8,8)
- p2.Size = Vector3.new(1,1,1)
- p2.Anchored = true
- p2.CanCollide = false
- p2.TopSurface = "Smooth"
- p2.BottomSurface = "Smooth"
- p2.BrickColor = gCol2
- p2.Material = "Neon"
- local p3 = Instance.new("Part",workspace)
- local m3 = Instance.new("BlockMesh",p3)
- m3.Scale = Vector3.new(7,7,7)
- p3.Size = Vector3.new(1,1,1)
- p3.Transparency = 0.4
- p3.Anchored = true
- p3.CanCollide = false
- p3.TopSurface = "Smooth"
- p3.BottomSurface = "Smooth"
- p3.BrickColor = gCol
- p3.Material = "Neon"
- local p4 = Instance.new("Part",workspace)
- local m4 = Instance.new("BlockMesh",p4)
- m4.Scale = Vector3.new(10,10,10)
- p4.Size = Vector3.new(1,1,1)
- p4.Transparency = 0.4
- p4.Anchored = true
- p4.CanCollide = false
- p4.TopSurface = "Smooth"
- p4.BottomSurface = "Smooth"
- p4.BrickColor = gCol2
- p4.Material = "Neon"
- ClearGhosts()
- for i=1,amountGhosts do
- CreateGhost()
- end
- local currentframe = 0
- local frmR
- frmR = game:GetService("RunService").RenderStepped:connect(function()
- currentframe = currentframe + 1
- if currentframe < 1*60 then
- p1.CFrame = char:WaitForChild("Torso").CFrame
- p2.CFrame = char:WaitForChild("Torso").CFrame
- 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)))
- 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)))
- m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25)
- m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25)
- m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25)
- m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25)
- p1.Transparency = p1.Transparency + (1/(1*60))
- p2.Transparency = p2.Transparency + (1/(1*60))
- p3.Transparency = p3.Transparency + (1/(1*60))
- p4.Transparency = p4.Transparency + (1/(1*60))
- else
- p1:Destroy()
- p2:Destroy()
- p3:Destroy()
- p4:Destroy()
- frmR:disconnect()
- end
- end)
- else
- gt = true
- local p1 = Instance.new("Part",workspace)
- local m1 = Instance.new("SpecialMesh",p1)
- m1.MeshType = "Sphere"
- m1.Scale = Vector3.new(5,5,5)
- p1.Size = Vector3.new(1,1,1)
- p1.Anchored = true
- p1.CanCollide = false
- p1.TopSurface = "Smooth"
- p1.BottomSurface = "Smooth"
- p1.BrickColor = wCol
- p1.Material = "Neon"
- local p2 = Instance.new("Part",workspace)
- local m2 = Instance.new("SpecialMesh",p2)
- m2.MeshType = "Sphere"
- m2.Scale = Vector3.new(8,8,8)
- p2.Size = Vector3.new(1,1,1)
- p2.Anchored = true
- p2.CanCollide = false
- p2.TopSurface = "Smooth"
- p2.BottomSurface = "Smooth"
- p2.BrickColor = wCol2
- p2.Material = "Neon"
- local p3 = Instance.new("Part",workspace)
- local m3 = Instance.new("BlockMesh",p3)
- m3.Scale = Vector3.new(7,7,7)
- p3.Size = Vector3.new(1,1,1)
- p3.Transparency = 0.4
- p3.Anchored = true
- p3.CanCollide = false
- p3.TopSurface = "Smooth"
- p3.BottomSurface = "Smooth"
- p3.BrickColor = wCol
- p3.Material = "Neon"
- local p4 = Instance.new("Part",workspace)
- local m4 = Instance.new("BlockMesh",p4)
- m4.Scale = Vector3.new(10,10,10)
- p4.Size = Vector3.new(1,1,1)
- p4.Transparency = 0.4
- p4.Anchored = true
- p4.CanCollide = false
- p4.TopSurface = "Smooth"
- p4.BottomSurface = "Smooth"
- p4.BrickColor = wCol2
- p4.Material = "Neon"
- ClearGhosts()
- for i=1,amountGhosts do
- CreateGhost()
- end
- local currentframe = 0
- local frmR
- frmR = game:GetService("RunService").RenderStepped:connect(function()
- currentframe = currentframe + 1
- if currentframe < 1*60 then
- p1.CFrame = char:WaitForChild("Torso").CFrame
- p2.CFrame = char:WaitForChild("Torso").CFrame
- 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)))
- 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)))
- m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25)
- m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25)
- m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25)
- m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25)
- p1.Transparency = p1.Transparency + (1/(1*60))
- p2.Transparency = p2.Transparency + (1/(1*60))
- p3.Transparency = p3.Transparency + (1/(1*60))
- p4.Transparency = p4.Transparency + (1/(1*60))
- else
- p1:Destroy()
- p2:Destroy()
- p3:Destroy()
- p4:Destroy()
- frmR:disconnect()
- end
- end)
- end
- end
- end)
- end)
- local frm = 0
- local toRemove = {}
- game:GetService("RunService").RenderStepped:connect(function()
- frm = frm + 1
- if char.Parent == game:GetService("Workspace").CurrentCamera then
- e1.CFrame = char.Head.CFrame * CFrame.new(0.15,0.1,-0.55)
- e2.CFrame = char.Head.CFrame * CFrame.new(-0.15,0.1,-0.55)
- local delay = 0.9
- for i,v in pairs(ghosts) do
- for _,b in pairs(v:GetChildren()) do
- if b:IsA("Part") or b:IsA("WedgePart") or b:IsA("TrussPart") or b:IsA("UnionOperation") then
- b.CFrame = b.CFrame:lerp(b:FindFirstChild("Target").Value.CFrame,delay)
- end
- end
- delay = delay - (0.5/(#ghosts+1))
- end
- --[[if math.floor(frm/8) == frm/8 then
- local isub = 0
- for i,v in pairs(ghosts) do
- if #v:GetChildren() < 6 then
- v:Destroy()
- table.remove(ghosts,i - isub)
- isub = isub + 1
- CreateGhost()
- end
- end
- end]]
- end
- --Animation states
- local ray = Ray.new(char.HumanoidRootPart.CFrame.p, Vector3.new(0,-3,0).unit*4)
- local part,pos,normal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(ray,ghosts,false,true)
- if state ~= "busy" then
- if char.HumanoidRootPart.Velocity.Magnitude <= 0.5 then
- state = "idle"
- elseif char.HumanoidRootPart.Velocity.Magnitude > 0.5 then
- state = "running"
- --[[elseif char.HumanoidRootPart.Velocity.Y < 0.1 and not part then
- state = "falling"
- elseif char.HumanoidRootPart.Velocity.Y >= 0.1 and not part then
- state = "jumping"]]
- end
- char.Humanoid.WalkSpeed = 50
- char.Humanoid.JumpPower = 70
- end
- --Actual animations
- if state == "idle" then
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- elseif state == "running" then
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- end)
- char.Humanoid.Died:connect(function()
- toggle = false
- ClearGhosts()
- char.Parent = game.Workspace
- char.Parent = game:GetService("Workspace")
- char:FindFirstChild("ForceField"):Destroy()
- char:FindFirstChild("Head").Transparency = 0
- char:FindFirstChild("Torso").Transparency = 0
- char:FindFirstChild("Right Arm").Transparency = 0
- char:FindFirstChild("Left Arm").Transparency = 0
- char:FindFirstChild("Right Leg").Transparency = 0
- char:FindFirstChild("Left Leg").Transparency = 0
- for i,v in pairs(char:GetChildren()) do
- if v:IsA("Accessory") then
- v:FindFirstChild("Handle").Transparency = 0
- end
- end
- for i,v in pairs(game:GetService("Workspace").CurrentCamera:GetChildren()) do v:Destroy() end
- plr:LoadCharacter()
- end)
- local msgidGlob = 0
- local state = true
- local font = "Arcade"
- local tcol = Color3.fromRGB(255,217,0)
- local tscol = Color3.fromRGB(0,0,0)
- local fsiz = 28
- local tr = true
- local tsr = false
- local fade = 2
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(0.2,0.2,0.2)
- p.Transparency = 1
- p.Anchored = true
- p.CanCollide = false
- p.Name = "Msg"
- p.CFrame = plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0)
- local r = 255
- local b = 0
- local g = 0
- plr.Chatted:connect(function(c)
- msgidGlob = msgidGlob + 1
- local curMsgId = msgidGlob
- if string.lower(c) == "!disable" then
- state = false
- elseif string.lower(c) == "!enable" then
- state = true
- elseif string.lower(string.sub(c,1,6)) == "!font " then
- local old = font
- font = string.sub(c,7,#c) or old
- elseif string.lower(string.sub(c,1,8)) == "!tcolor " then
- if string.lower(string.sub(c,9,#c)) == "rainbow" then
- tr = true
- else
- tr = false
- local old = tcol
- tcol = Color3.fromRGB(string.sub(c,9,11),string.sub(c,13,15),string.sub(c,17,19)) or old
- end
- elseif string.lower(string.sub(c,1,9)) == "!tscolor " then
- if string.sub(c,10,#c) == "rainbow" then
- tsr = true
- else
- tsr = false
- local old = tscol
- tscol = Color3.fromRGB(string.sub(c,10,12),string.sub(c,14,16),string.sub(c,18,20)) or old
- end
- elseif string.lower(string.sub(c,1,6)) == "!size " then
- local old = fsiz
- fsiz = string.sub(c,7,#c) or old
- elseif string.lower(string.sub(c,1,6)) == "!fade " then
- local old = fade
- fade = string.sub(c,7,#c) or old
- end
- if plr.Character and state == true then
- if plr.Character:FindFirstChild("Head") then
- for i,v in pairs(p:GetChildren()) do
- if v:IsA("BillboardGui") and v.Name == "J2CMSG" then
- v:Destroy()
- end
- end
- local bbgui = Instance.new("BillboardGui",p)
- bbgui.Name = "J2CMSG"
- bbgui.AlwaysOnTop = true
- bbgui.ExtentsOffsetWorldSpace = Vector3.new(0,4.5,0)
- bbgui.Size = UDim2.new(0.2,0,0.14,0)
- local tl = Instance.new("TextLabel",bbgui)
- tl.BackgroundTransparency = 1
- tl.BorderSizePixel = 0
- tl.Size = UDim2.new(1,0,10,0)
- tl.Position = UDim2.new(0,0,-5,0)
- tl.Font = font or "SciFi"
- tl.FontSize = "Size"..fsiz or "Size36"
- tl.TextColor3 = tcol
- tl.TextScaled = false
- tl.TextWrapped = false
- tl.TextStrokeColor3 = tscol
- tl.TextStrokeTransparency = 0
- game:GetService("RunService").RenderStepped:connect(function()
- if tr then
- if tl.Parent ~= nil then
- tl.TextColor3 = Color3.fromRGB(r,g,b)
- end
- end
- end)
- for i=1,#c do
- if msgidGlob == curMsgId then
- tl.Text = string.sub(c,1,i)
- if string.sub(c,i,i) ~= " " then
- local s = Instance.new("Sound",p)
- s.SoundId = "rbxassetid://418252437"
- s.Volume = 1
- s.Pitch = 1
- s:Play()
- game.Debris:AddItem(s,2)
- end
- wait()
- end
- end
- wait(fade)
- if msgidGlob == curMsgId then
- for i=1,10 do
- if msgidGlob == curMsgId then
- tl.TextTransparency = tl.TextTransparency + 0.1
- tl.TextStrokeTransparency = tl.TextStrokeTransparency + 0.1
- tl.Position = tl.Position + UDim2.new(0,0,0,-3)
- wait()
- end
- end
- if msgidGlob == curMsgId then
- bbgui:Destroy()
- end
- end
- end
- end
- end)
- coroutine.resume(coroutine.create(function()
- while wait() do
- for i=0,255,10 do g = i wait() end
- for i=255,0,-10 do r = i wait() end
- for i=0,255,10 do b = i wait() end
- for i=255,0,-10 do g = i wait() end
- for i=0,255,10 do r = i wait() end
- for i=255,0,-10 do b = i wait() end
- end
- end))
- game:GetService("RunService").RenderStepped:connect(function()
- if p.Parent ~= nil then
- p.CFrame = p.CFrame:lerp(plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0),0.16)
- else
- p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(0.2,0.2,0.2)
- p.Transparency = 1
- p.Anchored = true
- p.CanCollide = false
- p.Name = "Msg"
- p.CFrame = plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0)
- end
- end)
- print("Ghost loaded! Time elapsed: "..tick() - time)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement