Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script has been converted to FE by iPxter
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- do
- print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- owner.Character.Torso.Material = Enum.Material.ForceField
- owner.Character["Left Arm"].Material = Enum.Material.ForceField
- owner.Character["Right Arm"].Material = Enum.Material.ForceField
- owner.Character.Head.Material = Enum.Material.ForceField
- owner.Character["Left Leg"].Material = Enum.Material.ForceField
- owner.Character["Right Leg"].Material = Enum.Material.ForceField
- owner.Character.Torso.BrickColor = BrickColor.new("Institutional white")
- owner.Character["Left Arm"].BrickColor = BrickColor.new("Institutional white")
- owner.Character["Right Arm"].BrickColor = BrickColor.new("Institutional white")
- owner.Character.Head.BrickColor = BrickColor.new("Institutional white")
- owner.Character["Left Leg"].BrickColor = BrickColor.new("Institutional white")
- owner.Character["Right Leg"].BrickColor = BrickColor.new("Institutional white")
- local plr = owner
- local char = plr.Character
- local hum = char:FindFirstChildOfClass'Humanoid'
- local hed = char.Head
- local root = char:FindFirstChild'HumanoidRootPart'
- local rootj = root.RootJoint
- local tors = char.Torso
- local ra = char["Right Arm"]
- local la = char["Left Arm"]
- local rl = char["Right Leg"]
- local ll = char["Left Leg"]
- local neck = tors["Neck"]
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
- local maincolor = BrickColor.new("Institutional white")
- hum.WalkSpeed = 13
- -------------------------------------------------------
- local equipped = false
- -------------------------------------------------------
- --Start Good Stuff--
- -------------------------------------------------------
- cam = game.Workspace.CurrentCamera
- CF = CFrame.new
- angles = CFrame.Angles
- attack = false
- local Combo = 1
- local VALUE1 = false
- local VALUE2 = false
- Euler = CFrame.fromEulerAnglesXYZ
- Rad = math.rad
- IT = Instance.new
- BrickC = BrickColor.new
- Cos = math.cos
- Acos = math.acos
- Sin = math.sin
- Asin = math.asin
- Abs = math.abs
- Mrandom = math.random
- Floor = math.floor
- -------------------------------------------------------
- --End Good Stuff--
- -------------------------------------------------------
- -------------------------------------------------------
- ------------------------------------------------------------------------------------------------------------------------------------
- Player = owner
- PlayerGui = Player.PlayerGui
- Cam = workspace.CurrentCamera
- Backpack = Player.Backpack
- Character = Player.Character
- Humanoid = Character.Humanoid
- Mouse = Player:GetMouse()
- RootPart = Character["HumanoidRootPart"]
- Torso = Character["Torso"]
- Head = Character["Head"]
- RightArm = Character["Right Arm"]
- LeftArm = Character["Left Arm"]
- RightLeg = Character["Right Leg"]
- LeftLeg = Character["Left Leg"]
- RootJoint = RootPart["RootJoint"]
- Neck = Torso["Neck"]
- RightShoulder = Torso["Right Shoulder"]
- LeftShoulder = Torso["Left Shoulder"]
- RightHip = Torso["Right Hip"]
- LeftHip = Torso["Left Hip"]
- local target = nil
- local root = Character:FindFirstChild'HumanoidRootPart'
- Character.Head.face.Texture = "http://www.roblox.com/asset/?id=7863486"
- local SIZE = 1
- ArtificialHB = Instance.new("BindableEvent", script)
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- C3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- EULER = CFrame.fromEulerAnglesXYZ
- COS = math.cos
- ACOS = math.acos
- SIN = math.sin
- ASIN = math.asin
- ABS = math.abs
- MRANDOM = math.random
- FLOOR = math.floor
- Player_Size = 1 --Size of the player.
- Animation_Speed = 1
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- local Speed = 75
- local Effects2 = {}
- --//=================================\\
- --|| END OF CUSTOMIZATION
- --\\=================================//
- local function weldBetween(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
- function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
- local acs = Instance.new("Part")
- acs.CanCollide = false
- acs.Anchored = false
- acs.Size = Vector3.new(0,0,0)
- acs.CFrame = attachmentpart.CFrame
- acs.Parent = Character
- acs.BrickColor = color
- local meshs = Instance.new("SpecialMesh")
- meshs.MeshId = mesh
- meshs.TextureId = texture
- meshs.Parent = acs
- meshs.Scale = scale
- meshs.Offset = offset
- weldBetween(attachmentpart,acs)
- end
- --//=================================\\
- --|| USEFUL VALUES
- --\\=================================//
- local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
- local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
- local CO1 = 0
- local CO2 = 0
- local CO3 = 0
- local CO4 = 0
- local CHANGEDEFENSE = 0
- local CHANGEDAMAGE = 0
- local CHANGEMOVEMENT = 0
- local ANIM = "Idle"
- local ATTACK = false
- local EQUIPPED = false
- local HOLD = false
- local COMBO = 1
- local LASTPOINT = nil
- local BLCF = nil
- local SCFR = nil
- local STAGGERHITANIM = false
- local STAGGERANIM = false
- local STUNANIM = false
- local CRITCHANCENUMBER = 0
- local IDLENUMBER = 0
- local DONUMBER = 0
- local HANDIDLE = false
- local SINE = 0
- local CHANGE = 2 / Animation_Speed
- local WALKINGANIM = false
- local WALK = 0
- local DISABLEJUMPING = false
- local HASBEENBLOCKED = false
- local STUNDELAYNUMBER = 0
- local MANADELAYNUMBER = 0
- local SECONDARYMANADELAYNUMBER = 0
- function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = Torso.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| STATS
- --\\=================================//
- if Character:FindFirstChild("Stats") ~= nil then
- Character:FindFirstChild("Stats").Parent = nil
- end
- local Stats = IT("Folder", nil)
- Stats.Name = "Stats"
- local ChangeStat = IT("Folder", Stats)
- ChangeStat.Name = "ChangeStat"
- local Defense = IT("NumberValue", Stats)
- Defense.Name = "Defense"
- Defense.Value = 1
- local Movement = IT("NumberValue", Stats)
- Movement.Name = "Movement"
- Movement.Value = 1
- local Damage = IT("NumberValue", Stats)
- Damage.Name = "Damage"
- Damage.Value = 1
- local Mana = IT("NumberValue", Stats)
- Mana.Name = "Mana"
- Mana.Value = 0
- local SecondaryMana = IT("NumberValue", Stats)
- SecondaryMana.Name = "SecondaryMana"
- SecondaryMana.Value = 0
- local CanCrit = IT("BoolValue", Stats)
- CanCrit.Name = "CanCrit"
- CanCrit.Value = false
- local CritChance = IT("NumberValue", Stats)
- CritChance.Name = "CritChance"
- CritChance.Value = 20
- local CanPenetrateArmor = IT("BoolValue", Stats)
- CanPenetrateArmor.Name = "CanPenetrateArmor"
- CanPenetrateArmor.Value = false
- local AntiTeamKill = IT("BoolValue", Stats)
- AntiTeamKill.Name = "AntiTeamKill"
- AntiTeamKill.Value = false
- local Rooted = IT("BoolValue", Stats)
- Rooted.Name = "Rooted"
- Rooted.Value = false
- local Block = IT("BoolValue", Stats)
- Block.Name = "Block"
- Block.Value = false
- local RecentEnemy = IT("ObjectValue", Stats)
- RecentEnemy.Name = "RecentEnemy"
- RecentEnemy.Value = nil
- local StaggerHit = IT("BoolValue", Stats)
- StaggerHit.Name = "StaggerHit"
- StaggerHit.Value = false
- local Stagger = IT("BoolValue", Stats)
- Stagger.Name = "Stagger"
- Stagger.Value = false
- local Stun = IT("BoolValue", Stats)
- Stun.Name = "Stun"
- Stun.Value = false
- local StunValue = IT("NumberValue", Stats)
- StunValue.Name = "StunValue"
- StunValue.Value = 0
- function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function PositiveAngle(NUMBER)
- if NUMBER >= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function NegativeAngle(NUMBER)
- if NUMBER <= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function Swait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = ACOS(cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((1 - t) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- else
- if (1 + cosTheta) > 0.0001 then
- local theta = ACOS(-cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((t - 1) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- end
- return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
- end
- function Clerp(a, b, t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function damage(range,mindam,maxdam,pos)
- for i,v in ipairs(workspace:GetChildren()) do
- if v:IsA("Model") then
- if v.Name ~= Player.Name then
- if v:FindFirstChildOfClass("Humanoid") then
- if v:FindFirstChild("Head") then
- if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then
- if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else
- v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam)
- end
- end
- end
- end
- end
- end
- end
- end
- HAT = Instance.new("Model")
- HAT.Parent = owner.Character
- HAT.Name = "Chips"
- RHeS = Instance.new("Part")
- RHeS.Parent = HAT
- RHeS.BrickColor = BrickColor.new("New Yeller")
- RHeS.Locked = true
- RHeS.CanCollide = false
- RHeS.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- PMesh = Instance.new("SpecialMesh")
- RHeS.formFactor = "Symmetric"
- PMesh.MeshType = "FileMesh"
- PMesh.MeshId = "rbxasset://fonts/sword.mesh"
- PMesh.TextureId = "rbxasset://textures/SwordTexture.png"
- PMesh.Scale = Vector3.new(1,1,1)
- PMesh.Parent = RHeS
- PPr = IT("ParticleEmitter")
- PPr.Size = NumberSequence.new(0.05)
- PPr.Texture = "rbxassetid://721624455"
- PPr.Lifetime = NumberRange.new(5,10)
- PPr.SpreadAngle = Vector2.new(1234.1234)
- PPr.Rate = 20
- PPr.Parent = RHeS
- local RWeld = Instance.new("Weld")
- RWeld.Parent = RHeS
- RWeld.Part0 = RHeS
- RWeld.Part1 = RightArm
- RWeld.C0 = CF(1.1, 0, -1.5) * ANGLES(RAD(0), RAD(180), RAD(90))
- RHeS.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
- hit.Parent.Torso.Anchored = true
- hit.Parent.Head.Anchored = true
- hit.Parent["Right Arm"].Anchored = true
- hit.Parent["Left Arm"].Anchored = true
- hit.Parent["Right Leg"].Anchored = true
- hit.Parent["Left Leg"].Anchored = true
- hit.Parent.Head.BrickColor = BrickColor.new("Medium stone grey")
- hit.Parent["Right Arm"].BrickColor = BrickColor.new("Medium stone grey")
- hit.Parent["Left Arm"].BrickColor = BrickColor.new("Medium stone grey")
- hit.Parent["Right Leg"].BrickColor = BrickColor.new("Medium stone grey")
- hit.Parent["Left Leg"].BrickColor = BrickColor.new("Medium stone grey")
- hit.Parent.Head.Material = Enum.Material.ForceField
- hit.Parent["Right Arm"].Material = Enum.Material.Cobblestone
- hit.Parent["Left Arm"].Material = Enum.Material.Cobblestone
- hit.Parent["Right Leg"].Material = Enum.Material.Cobblestone
- hit.Parent["Left Leg"].Material = Enum.Material.Cobblestone
- wait(2)
- hit.Parent.Humanoid.Health = 100-1
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-2
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-3
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-4
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-5
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-6
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-7
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-8
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-9
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-15
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-20
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-25
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-30
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-40
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-50
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-60
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-65
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-77
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-88
- wait(0.5)
- hit.Parent.Humanoid.Health = 100-99
- wait(0.5)
- hit.Parent.Humanoid.Health = -1
- end
- end)
- RING = IT("Model")
- RING.Parent = char
- RING.Name = "Chips"
- RHeR = IT("Part")
- RHeR.Parent = RING
- RHeR.BrickColor = BrickColor.new("Burnt Sienna")
- RHeR.Locked = true
- RHeR.CanCollide = false
- RHeR.Transparency = 1
- RHeR.Size = Vector3.new(1.09, 0.15, 1.33)
- --RHe.Orientation = Vector3.new(0, -90, 0)
- RHeR.formFactor = "Symmetric"
- RHeR.Material = Enum.Material.Fabric
- local RWeld = IT("Weld")
- RWeld.Parent = RHeR
- RWeld.Part0 = RHeR
- RWeld.Part1 = la
- RWeld.C0 = CF(0, 0.16, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- RING = IT("Model")
- RING.Parent = char
- RING.Name = "Chips"
- RHeR2 = IT("Part")
- RHeR2.Parent = RING
- RHeR2.BrickColor = BrickColor.new("Burnt Sienna")
- RHeR2.Locked = true
- RHeR2.CanCollide = false
- RHeR2.Transparency = 1
- RHeR2.Size = Vector3.new(1.09, 0.15, 1.33)
- --RHe.Orientation = Vector3.new(0, -90, 0)
- RHeR2.formFactor = "Symmetric"
- RHeR2.Material = Enum.Material.Fabric
- local RWeld = IT("Weld")
- RWeld.Parent = RHeR2
- RWeld.Part0 = RHeR2
- RWeld.Part1 = la
- RWeld.C0 = CF(0, -0.16, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- RING = IT("Model")
- RING.Parent = char
- RING.Name = "Chips"
- RHeR3 = IT("Part")
- RHeR3.Parent = RING
- RHeR3.BrickColor = BrickColor.new("Dark stone grey")
- RHeR3.Locked = true
- RHeR3.CanCollide = false
- RHeR3.Transparency = 1
- RHeR3.Size = Vector3.new(0.62, 0.15, 1.24)
- --RHe.Orientation = Vector3.new(0, -90, 0)
- RHeR3.formFactor = "Symmetric"
- RHeR3.Material = Enum.Material.Metal
- local RWeld = IT("Weld")
- RWeld.Parent = RHeR3
- RWeld.Part0 = RHeR3
- RWeld.Part1 = la
- RWeld.C0 = CF(0, 0.2, 0) * angles(Rad(0), Rad(0), Rad(91))
- -------------------------------------------------------
- RING = IT("Model")
- RING.Parent = char
- RING.Name = "Chips"
- RHeR4 = IT("Part")
- RHeR4.Parent = RING
- RHeR4.BrickColor = BrickColor.new("Dark stone grey")
- RHeR4.Locked = true
- RHeR4.CanCollide = false
- RHeR4.Transparency = 1
- RHeR4.Size = Vector3.new(0.62, 0.15, 1.24)
- --RHe.Orientation = Vector3.new(0, -90, 0)
- RHeR4.formFactor = "Symmetric"
- RHeR4.Material = Enum.Material.Metal
- local RWeld = IT("Weld")
- RWeld.Parent = RHeR4
- RWeld.Part0 = RHeR4
- RHeR4.Shape = "Cylinder"
- RWeld.Part1 = la
- RWeld.C0 = CF(0, -0.2, 0) * angles(Rad(0), Rad(0), Rad(91))
- -------------------------------------------------------
- RING = IT("Model")
- RING.Parent = char
- RING.Name = "Chips"
- RHeR5 = IT("Part")
- RHeR5.Parent = RING
- RHeR5.BrickColor = BrickColor.new("Pine Cone")
- RHeR5.Locked = true
- RHeR5.CanCollide = false
- RHeR5.Transparency = 1
- RHeR5.Size = Vector3.new(0.2, 3.9, 3.9)
- --RHe.Orientation = Vector3.new(0, -90, 0)
- RHeR5.formFactor = "Symmetric"
- RHeR5.Material = Enum.Material.WoodPlanks
- local RWeld = IT("Weld")
- RWeld.Parent = RHeR5
- RWeld.Part0 = RHeR5
- RWeld.Part1 = la
- RHeR5.Shape = "Cylinder"
- RWeld.C0 = CF(0.5, 0, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- RING = IT("Model")
- RING.Parent = char
- RING.Name = "Chips"
- RHeR6 = IT("Part")
- RHeR6.Parent = RING
- RHeR6.BrickColor = BrickColor.new("Medium stone grey")
- RHeR6.Locked = true
- RHeR6.CanCollide = false
- RHeR6.Transparency = 1
- RHeR6.Size = Vector3.new(0.19,4,4)
- --RHe.Orientation = Vector3.new(0, -90, 0)
- RHeR6.formFactor = "Symmetric"
- RHeR6.Material = Enum.Material.Metal
- local RWeld = IT("Weld")
- RWeld.Parent = RHeR6
- RWeld.Part0 = RHeR6
- RWeld.Part1 = la
- RHeR6.Shape = "Cylinder"
- RWeld.C0 = CF(0.5, 0, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- RING = IT("Model")
- RING.Parent = char
- RING.Name = "Chips"
- RHeR7 = IT("Part")
- RHeR7.Parent = RING
- RHeR7.BrickColor = BrickColor.new("Medium stone grey")
- RHeR7.Locked = true
- RHeR7.CanCollide = false
- RHeR7.Transparency = 1
- RHeR7.Size = Vector3.new(0.23, 1.88, 1.68)
- --RHe.Orientation = Vector3.new(0, -90, 0)
- RHeR7.formFactor = "Symmetric"
- RHeR7.Material = Enum.Material.Metal
- local RWeld = IT("Weld")
- RWeld.Parent = RHeR7
- RWeld.Part0 = RHeR7
- RWeld.Part1 = la
- RHeR7.Shape = "Cylinder"
- RWeld.C0 = CF(0.5, 0, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- RING = IT("Model")
- RING.Parent = char
- RING.Name = "Chips"
- RHeR8 = IT("Part")
- RHeR8.Parent = RING
- RHeR8.BrickColor = BrickColor.new("Fossil")
- RHeR8.Locked = true
- RHeR8.CanCollide = false
- RHeR8.Transparency = 1
- RHeR8.Size = Vector3.new(0.32, 1.3, 1.2)
- --RHe.Orientation = Vector3.new(0, -90, 0)
- RHeR8.formFactor = "Symmetric"
- RHeR8.Material = Enum.Material.Metal
- local RWeld = IT("Weld")
- RWeld.Parent = RHeR8
- RWeld.Part0 = RHeR8
- RWeld.Part1 = la
- RHeR8.Shape = "Cylinder"
- RWeld.C0 = CF(0.5, 0, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- RING = IT("Model")
- RING.Parent = char
- RING.Name = "Chips"
- RHeR9 = IT("Part")
- RHeR9.Parent = RING
- RHeR9.BrickColor = BrickColor.new("Silver flip/flop")
- RHeR9.Locked = true
- RHeR9.CanCollide = false
- RHeR9.Transparency = 1
- RHeR9.Size = Vector3.new(0.32, 1.3, 1.2)
- --RHe.Orientation = Vector3.new(0, -90, 0)
- RHeR9.formFactor = "Symmetric"
- RHeR9.Material = Enum.Material.Metal
- local RWeld = IT("Weld")
- RWeld.Parent = RHeR9
- RWeld.Part0 = RHeR9
- RWeld.Part1 = la
- RHeR9.Shape = "Ball"
- RWeld.C0 = CF(0.5, 0, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- HAT = IT("Model")
- HAT.Parent = char
- HAT.Name = "Chips"
- RHe = IT("Part")
- RHe.Parent = HAT
- RHe.BrickColor = BrickColor.new("Really black")
- RHe.Locked = true
- RHe.CanCollide = false
- RHe.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- PMesh = IT("SpecialMesh")
- RHe.formFactor = "Symmetric"
- PMesh.MeshType = "FileMesh"
- PMesh.MeshId = "http://www.roblox.com/asset/?id=8570385"
- PMesh.TextureId = "http://www.roblox.com/asset/?id=8570362"
- PMesh.Scale = Vector3.new(1,1,1)
- PMesh.Parent = RHe
- local RWeld = IT("Weld")
- RWeld.Parent = RHe
- RWeld.Part0 = RHe
- RWeld.Part1 = hed
- RWeld.C0 = CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- ARMOR = IT("Model")
- ARMOR.Parent = char
- ARMOR.Name = "Chips"
- AR = IT("Part")
- AR.Parent = ARMOR
- AR.BrickColor = BrickColor.new("Medium stone grey")
- AR.Material = Enum.Material.Slate
- AR.Size = Vector3.new(1.1, 2.05, 2)
- AR.Locked = true
- AR.CanCollide = false
- AR.Anchored = false
- AR.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- local ARweld = IT("Weld")
- ARweld.Parent = AR
- ARweld.Part0 = AR
- ARweld.Part1 = tors
- ARweld.C0 = CF(0, 0, 0) * angles(Rad(0), Rad(90), Rad(0))
- -------------------------------------------------------
- ARMOR = IT("Model")
- ARMOR.Parent = char
- ARMOR.Name = "Chips"
- AR = IT("Part")
- AR.Parent = ARMOR
- AR.BrickColor = BrickColor.new("Medium stone grey")
- AR.Material = Enum.Material.DiamondPlate
- AR.Size = Vector3.new(1.15, 0.7, 1)
- AR.Locked = true
- AR.CanCollide = false
- AR.Anchored = false
- AR.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- local ARweld = IT("Weld")
- ARweld.Parent = AR
- ARweld.Part0 = AR
- ARweld.Part1 = tors
- ARweld.C0 = CF(0, 0.5, 0) * angles(Rad(0), Rad(90), Rad(0))
- -------------------------------------------------------
- ARMOR = IT("Model")
- ARMOR.Parent = char
- ARMOR.Name = "Chips"
- AR = IT("Part")
- AR.Parent = ARMOR
- AR.BrickColor = BrickColor.new("Medium stone grey")
- AR.Material = Enum.Material.DiamondPlate
- AR.Size = Vector3.new(1.15, 0.7, 1.5)
- AR.Locked = true
- AR.CanCollide = false
- AR.Anchored = false
- AR.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- local ARweld = IT("Weld")
- ARweld.Parent = AR
- ARweld.Part0 = AR
- ARweld.Part1 = tors
- ARweld.C0 = CF(0, -0.5, 0) * angles(Rad(0), Rad(90), Rad(0))
- -------------------------------------------------------
- ARMOR = IT("Model")
- ARMOR.Parent = char
- ARMOR.Name = "Chips"
- AR = IT("Part")
- AR.Parent = ARMOR
- AR.BrickColor = BrickColor.new("Medium stone grey")
- AR.Material = Enum.Material.DiamondPlate
- AR.Size = Vector3.new(0.5, 0.1, 1.5)
- AR.Locked = true
- AR.Anchored = false
- AR.CanCollide = false
- AR.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- local ARweld = IT("Weld")
- ARweld.Parent = AR
- ARweld.Part0 = AR
- ARweld.Part1 = la
- ARweld.C0 = CF(0, -1, 0) * angles(Rad(0), Rad(90), Rad(0))
- -------------------------------------------------------
- ARMOR = IT("Model")
- ARMOR.Parent = char
- ARMOR.Name = "Chips"
- AR = IT("Part")
- AR.Parent = ARMOR
- AR.BrickColor = BrickColor.new("Medium stone grey")
- AR.Material = Enum.Material.Slate
- AR.Size = Vector3.new(1.1, 1, 1.1)
- AR.Locked = true
- AR.Anchored = false
- AR.CanCollide = false
- AR.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- local ARweld = IT("Weld")
- ARweld.Parent = AR
- ARweld.Part0 = AR
- ARweld.Part1 = la
- ARweld.C0 = CF(0, -0.51, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- ARMOR = IT("Model")
- ARMOR.Parent = char
- ARMOR.Name = "Chips"
- AR = IT("Part")
- AR.Parent = ARMOR
- AR.BrickColor = BrickColor.new("Br. yellowish orange")
- AR.Material = Enum.Material.Fabric
- AR.Size = Vector3.new(1.05, 1, 1.05)
- AR.Locked = true
- AR.Anchored = false
- AR.CanCollide = false
- AR.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- local ARweld = IT("Weld")
- ARweld.Parent = AR
- ARweld.Part0 = AR
- ARweld.Part1 = la
- ARweld.C0 = CF(0, 0.51, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- ARMOR = IT("Model")
- ARMOR.Parent = char
- ARMOR.Name = "Chips"
- AR = IT("Part")
- AR.Parent = ARMOR
- AR.BrickColor = BrickColor.new("Medium stone grey")
- AR.Material = Enum.Material.DiamondPlate
- AR.Size = Vector3.new(0.5, 0.1, 1.5)
- AR.Locked = true
- AR.Anchored = false
- AR.CanCollide = false
- AR.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- local ARweld = IT("Weld")
- ARweld.Parent = AR
- ARweld.Part0 = AR
- ARweld.Part1 = ra
- ARweld.C0 = CF(0, -1, 0) * angles(Rad(0), Rad(90), Rad(0))
- -------------------------------------------------------
- ARMOR = IT("Model")
- ARMOR.Parent = char
- ARMOR.Name = "Chips"
- AR = IT("Part")
- AR.Parent = ARMOR
- AR.BrickColor = BrickColor.new("Medium stone grey")
- AR.Material = Enum.Material.Slate
- AR.Size = Vector3.new(1.1, 1, 1.1)
- AR.Locked = true
- AR.Anchored = false
- AR.CanCollide = false
- AR.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- local ARweld = IT("Weld")
- ARweld.Parent = AR
- ARweld.Part0 = AR
- ARweld.Part1 = ra
- ARweld.C0 = CF(0, -0.51, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- ARMOR = IT("Model")
- ARMOR.Parent = char
- ARMOR.Name = "Chips"
- AR = IT("Part")
- AR.Parent = ARMOR
- AR.BrickColor = BrickColor.new("Br. yellowish orange")
- AR.Material = Enum.Material.Fabric
- AR.Size = Vector3.new(1.05, 1, 1.05)
- AR.Locked = true
- AR.Anchored = false
- AR.CanCollide = false
- AR.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- local ARweld = IT("Weld")
- ARweld.Parent = AR
- ARweld.Part0 = AR
- ARweld.Part1 = ra
- ARweld.C0 = CF(0, 0.51, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- ARMOR = IT("Model")
- ARMOR.Parent = char
- ARMOR.Name = "Chips"
- AR = IT("Part")
- AR.Parent = ARMOR
- AR.BrickColor = BrickColor.new("Medium stone grey")
- AR.Material = Enum.Material.Slate
- AR.Size = Vector3.new(1.1, 1, 1.1)
- AR.Locked = true
- AR.Anchored = false
- AR.CanCollide = false
- AR.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- local ARweld = IT("Weld")
- ARweld.Parent = AR
- ARweld.Part0 = AR
- ARweld.Part1 = rl
- ARweld.C0 = CF(0, 0.51, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- ARMOR = IT("Model")
- ARMOR.Parent = char
- ARMOR.Name = "Chips"
- AR = IT("Part")
- AR.Parent = ARMOR
- AR.BrickColor = BrickColor.new("Medium stone grey")
- AR.Material = Enum.Material.Slate
- AR.Size = Vector3.new(1.1, 1, 1.1)
- AR.Locked = true
- AR.Anchored = false
- AR.CanCollide = false
- AR.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- local ARweld = IT("Weld")
- ARweld.Parent = AR
- ARweld.Part0 = AR
- ARweld.Part1 = ll
- ARweld.C0 = CF(0, 0.51, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- ARMOR = IT("Model")
- ARMOR.Parent = char
- ARMOR.Name = "Chips"
- AR = IT("Part")
- AR.Parent = ARMOR
- AR.BrickColor = BrickColor.new("Br. yellowish orange")
- AR.Material = Enum.Material.Fabric
- AR.Size = Vector3.new(1.05, 1, 1.05)
- AR.Locked = true
- AR.Anchored = false
- AR.CanCollide = false
- AR.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- local ARweld = IT("Weld")
- ARweld.Parent = AR
- ARweld.Part0 = AR
- ARweld.Part1 = ll
- ARweld.C0 = CF(0, -0.51, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- ARMOR = IT("Model")
- ARMOR.Parent = char
- ARMOR.Name = "Chips"
- AR = IT("Part")
- AR.Parent = ARMOR
- AR.BrickColor = BrickColor.new("Br. yellowish orange")
- AR.Material = Enum.Material.Fabric
- AR.Size = Vector3.new(1.05, 1, 1.05)
- AR.Locked = true
- AR.Anchored = false
- AR.CanCollide = false
- AR.Transparency = 0
- --RHe.Orientation = Vector3.new(0, -90, 0)
- local ARweld = IT("Weld")
- ARweld.Parent = AR
- ARweld.Part0 = AR
- ARweld.Part1 = rl
- ARweld.C0 = CF(0, -0.51, 0) * angles(Rad(0), Rad(0), Rad(0))
- -------------------------------------------------------
- ------------------------------------------------------------------------------
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- ArtificialHB = Create("BindableEvent"){
- Parent = script,
- Name = "Heartbeat",
- }
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function RayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- --------------------------
- local Player_Size = 1
- --------------------------
- --a function--
- function Cso(ID, PARENT, VOLUME, PITCH)
- local NSound = nil
- coroutine.resume(coroutine.create(function()
- NSound = IT("Sound", PARENT)
- NSound.Volume = VOLUME
- NSound.Pitch = PITCH
- NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
- swait()
- NSound:play()
- game:GetService("Debris"):AddItem(NSound, 10)
- end))
- return NSound
- end
- ---sas---
- mouse.KeyDown:connect(function(key)
- if key == "z" then
- RHeR.Transparency = 1
- RHeR2.Transparency = 1
- RHeR3.Transparency = 1
- RHeR4.Transparency = 1
- RHeR5.Transparency = 1
- RHeR6.Transparency = 1
- RHeR7.Transparency = 1
- RHeR8.Transparency = 1
- RHeR9.Transparency = 1
- char.Humanoid.MaxHealth = 1000
- char.Humanoid.Health = 1000
- end
- if key == "x" then
- RHeR.Transparency = 0
- RHeR2.Transparency = 0
- RHeR3.Transparency = 0
- RHeR4.Transparency = 0
- RHeR5.Transparency = 0
- RHeR6.Transparency = 0
- RHeR7.Transparency = 0
- RHeR8.Transparency = 0
- RHeR9.Transparency = 0
- while true do
- if char.Humanoid.Health <=50 then
- char.Humanoid.Health = 1000
- end
- wait(0.1)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement