Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --// Made by Cronizete
- plr = game:GetService("Players").LocalPlayer
- char = plr.Character
- hum = char:FindFirstChildOfClass'Humanoid'
- hum.BodyDepthScale.Value = 1
- hum.BodyHeightScale.Value = 1
- hum.BodyWidthScale.Value = 1
- hum.HeadScale.Value = 1
- lclick = false
- mouse = plr:GetMouse()
- size = 1
- rlick = false
- human = char.Humanoid
- root = char.HumanoidRootPart
- head = char.Head
- lshold = char["LeftUpperArm"].LeftShoulder
- rshold = char["RightUpperArm"].RightShoulder
- lelbow = char["LeftLowerArm"].LeftElbow
- relbow = char["RightLowerArm"].RightElbow
- lelbo = lelbow.C0
- relbo = relbow.C0
- rsho = rshold.C0
- lsho = lshold.C0
- jumping = false
- chipmesh = ""
- rad = math.rad
- firec = 'Deep orange'
- shield = false
- disguise = ""
- step = workspace:WaitForChild('Base')
- slam = false
- ff=Instance.new('ForceField', char)
- ff.Visible = false
- dis = false
- neck = char.Head.Neck
- local ang = -5
- local ang2 = -5
- local sine = 0
- local change = 0.5
- arm = 0
- char:FindFirstChild'Animate':Destroy()
- hum.Animator.Parent = nil
- nec = neck.C0
- punch = false
- spikek = false
- cooldown = true
- random = math.random
- mainc = char.Head.BrickColor
- chip = false
- color = char.Head.BrickColor
- mainf = char.Head.face.Texture
- wings = false
- face = mainf
- lleg = char["LeftUpperLeg"].LeftHip
- rleg = char["RightUpperLeg"].RightHip
- rle = rleg.C0
- lle = lleg.C0
- torso = char:FindFirstChild('UpperTorso')
- butf = false
- previ = ""
- jir = false
- legslam = false
- waist = torso.Waist
- wais = waist.C0
- rtorso = char.LowerTorso.Root
- rtors = rtorso.C0
- float = false
- signs = false
- fold = Instance.new('Folder', char)
- sat = false
- asdasd = false
- fire = false
- pcd = true
- cy = Instance.new('NumberValue', script)
- cb = Instance.new('NumberValue', script)
- cy.Value = 0
- cb.Value = 0
- pasd = Instance.new('Model', char)
- pasd.Name = 'Portals'
- currentblue = false
- currentyellow = false
- py = char:FindFirstChild'YellowPortal'
- pb = char:FindFirstChild'BluePortal'
- cb2 = ""
- cy2 = ""
- blue = true
- yellow = false
- Portals = {}
- --// Sound effects
- local s5 = Instance.new('Sound', char.LeftFoot) -- walk (grass)
- s5.Volume = 6
- s5.SoundId = "rbxassetid://429617891"
- s5.Looped = true
- local s6 = Instance.new('Sound', char.LeftFoot) -- walk (metals)
- s6.Volume = 6
- s6.SoundId = "rbxassetid://174216216"
- s6.Looped = true
- local s7 = Instance.new('Sound', char.LeftFoot) -- walk (sand)
- s7.Volume = 6
- s7.SoundId = "rbxassetid://336575096"
- s7.Looped = true
- local s8 = Instance.new('Sound', char.LeftFoot) -- walk (ice)
- s8.Volume = 6
- s8.SoundId = "rbxassetid://138214900"
- s8.Looped = true
- local s12 = Instance.new('Sound', char.LeftFoot) -- walk (metal)
- s12.Volume = 6
- s12.SoundId = "rbxassetid://549006073"
- s12.Looped = true
- local s13 = Instance.new('Sound', char.LeftFoot) -- walk (bricks and stuff)
- s13.Volume = 6
- s13.SoundId = "rbxassetid://156659098"
- s13.Looped = true
- local s14 = Instance.new('Sound', char.LeftFoot) -- walk (carpet)
- s14.Volume = 9
- s14.SoundId = "rbxassetid://133705377"
- s14.Looped = true
- --// Outfit
- hum.WalkSpeed = 12
- for _, a in pairs(char:children()) do
- if a:IsA('Pants') or a:IsA('Shirt') or a:IsA('CharacterMesh') or a:IsA('Accessory') then
- a:Destroy()
- end
- end
- bc = char:FindFirstChild('Body Colors')
- bc.HeadColor = BrickColor.new('Light orange')
- bc.LeftArmColor = BrickColor.new('Light orange')
- bc.RightArmColor = BrickColor.new('Light orange')
- bc.LeftLegColor = BrickColor.new('Light orange')
- bc.RightLegColor = BrickColor.new('Light orange')
- bc.TorsoColor = BrickColor.new('Light orange')
- local p1 = Instance.new('Part', char)
- p1.Anchored = false
- p1.CanCollide = false
- p1.BrickColor = BrickColor.new('Rust')
- local w = Instance.new('Weld', p1)
- w.Part0 = p1
- w.Part1 = char:FindFirstChild'Head'
- w.C0 = CFrame.new(.1,-.2,-.2) * CFrame.Angles(rad(0),rad(0),rad(0))
- local m1 = Instance.new('SpecialMesh', p1)
- m1.MeshId = "http://www.roblox.com/asset/?id=83490415"
- m1.TextureId = "http://www.roblox.com/asset/?id=83491029"
- m1.Scale = Vector3.new(1, 1, 1)
- char.Head:FindFirstChild('face').Texture = "rbxassetid://13038247"
- local s = Instance.new('Shirt', char)
- s.ShirtTemplate = "rbxassetid://956307754"
- local p2 = Instance.new('Pants', char)
- p2.PantsTemplate = "rbxassetid://91804932"
- local bluep = Instance.new('Part', char)
- bluep.BrickColor = BrickColor.new('Really blue')
- bluep.Size = Vector3.new(0.05, .7, .7)
- bluep.Anchored = false
- bluep.BottomSurface = 0
- bluep.TopSurface = 0
- bluep.Shape = 'Cylinder'
- bluep.Material = 'Neon'
- bluep.CanCollide = false
- local w = Instance.new('Weld', p1)
- w.Part0 = bluep
- w.Part1 = char:FindFirstChild'LeftHand'
- w.C0 = CFrame.new(.14,0,0) * CFrame.Angles(rad(0),rad(0),rad(-90))
- local redp = bluep:Clone()
- redp.Parent = char
- redp.BrickColor = BrickColor.new('New Yeller')
- local w = Instance.new('Weld', p1)
- w.Part0 = redp
- w.Part1 = char:FindFirstChild'RightHand'
- w.C0 = CFrame.new(.14,0,0) * CFrame.Angles(rad(0),rad(0),rad(-90))
- local HBill = Instance.new("BillboardGui", char.Head)
- local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
- local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
- HBill.Size = UDim2.new(15,0,2.2,0)
- HBill.Name = "Health Display"
- HBill.StudsOffset = Vector3.new(0,4,0)
- HBill.AlwaysOnTop = true
- HBill.Enabled = true
- HMain.BackgroundColor3 = Color3.new(0, 0, 0)
- HMain.BackgroundTransparency = 0.6
- HMain.Size = UDim2.new(1,0,1,0)
- HBarBack.Parent = HMain
- HBarBack.BackgroundColor3 = Color3.new(0,0,0)
- HBarBack.BorderColor3 = Color3.new(0,0,0)
- HBarBack.BorderSizePixel = 2
- HBarBack.Position = UDim2.new(.025, 0, .55, 0)
- HBarBack.Size = UDim2.new(.95, 0, .3, 0)
- HHealth.BackgroundTransparency = 1
- HHealth.Size = UDim2.new(1,0,1,0)
- HHealth.Font = "Code"
- HHealth.Text = "1.#INF"
- HHealth.TextScaled = true
- HHealth.TextColor3 = Color3.new(1,1,1)
- HHealth.TextStrokeColor3 = BrickColor.new("Medium stone grey").Color
- HHealth.TextStrokeTransparency = 0
- HName.Parent = HMain
- HName.BackgroundTransparency = 1
- HName.Size = UDim2.new(1,0,.5,0)
- HName.Font = "Code"
- HName.Text = "FITRIII"
- HName.TextScaled = true
- HName.TextColor3 = BrickColor.new("Medium stone grey").Color
- HName.TextStrokeColor3 = Color3.new(0,0,0)
- HName.TextStrokeTransparency = 0
- HName.TextYAlignment = "Top"
- hum.MaxHealth = tick()*tick()
- --// Sfx
- local s1 = Instance.new('Sound', bluep)
- s1.SoundId = "rbxassetid://142774034"
- s1.Volume = 4
- s1.Looped = false
- --// Functions
- function larm()
- for i = 0,1,0.1 do
- wait()
- lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(100), math.rad(-0.63), math.rad(-2.063)), 0.1)
- end
- s1:Play()
- local m1 = Instance.new('Model', pasd)
- m1.Name = 'BluePortal'
- local bl = Instance.new('Part', m1)
- table.insert(Portals,bl)
- currentblue = bl
- cb.Value = cb.Value + 1
- bl.BrickColor = BrickColor.new'Institutional white'
- bl.Size = Vector3.new(0.1,10,10)
- bl.CanCollide = false
- bl.TopSurface = 0
- bl.Material = 'Neon'
- bl.BottomSurface = 0
- bl.Name = "TP"
- bl.Anchored = true
- bl.Shape = 'Cylinder'
- bl.Position = mouse.Hit.p
- bl.CFrame = bl.CFrame * CFrame.Angles(rad(0),rad(0),rad(-90))
- local outline = bl:Clone()
- outline.Name = "outline"
- cb2 = outline
- outline.Parent = m1
- outline.BrickColor = BrickColor.new'Really blue'
- outline.Size = bl.Size + Vector3.new(0,.7,.7) - Vector3.new(0.1,0,0)
- bl.Touched:connect(function(hit)
- if hit and pcd and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' then
- local targ = hit.Parent
- local humtarg = targ:FindFirstChildOfClass'Humanoid'
- pcd = false
- if targ:FindFirstChild'UpperTorso' then
- targ.HumanoidRootPart.CFrame = Portals[math.random(1,#Portals)].CFrame * CFrame.new(-4,0,0)
- elseif targ:FindFirstChild'Torso' then
- targ.Torso.CFrame = Portals[math.random(1,#Portals)].CFrame * CFrame.new(-4,0,0)
- end
- wait(.3)
- pcd = true
- end
- end)
- end
- function clearp()
- for i = 1,20 do
- wait()
- for _, a in pairs(pasd:children()) do
- for _, b in pairs(a:children()) do
- if a:IsA'Part' then
- a.Transparency = a.Transparency + 0.5
- end
- end
- end
- end
- for _, a in pairs(pasd:children()) do
- for _, b in pairs(a:children()) do
- if b:IsA'Part' then
- b:Destroy()
- end
- end
- end
- end
- function rarm()
- for i = 0,1,0.1 do
- wait()
- rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(100), math.rad(0.63), math.rad(2.063)), 0.1)
- end
- s1:Play()
- local m1 = Instance.new('Model', pasd)
- m1.Name = 'YellowPortal'
- local bl = Instance.new('Part', m1)
- table.insert(Portals,bl)
- cy.Value = cy.Value + 1
- currentyellow = bl
- bl.BrickColor = BrickColor.new'Institutional white'
- bl.Size = Vector3.new(0.1,10,10)
- bl.CanCollide = false
- bl.TopSurface = 0
- bl.Material = 'Neon'
- bl.BottomSurface = 0
- bl.Name = "TP"
- bl.Anchored = true
- bl.Shape = 'Cylinder'
- bl.Position = mouse.Hit.p
- bl.CFrame = bl.CFrame * CFrame.Angles(rad(0),rad(0),rad(-90))
- local outline = bl:Clone()
- cy2 = outline
- outline.Parent = m1
- outline.Name = "outline"
- outline.BrickColor = BrickColor.new'New Yeller'
- outline.Size = bl.Size + Vector3.new(0,.7,.7) - Vector3.new(0.1,0,0)
- bl.Touched:connect(function(hit)
- if hit and pcd and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' then
- local targ = hit.Parent
- local humtarg = targ:FindFirstChildOfClass'Humanoid'
- local rootp = targ.HumanoidRootPart.CFrame
- pcd = false
- if targ:FindFirstChild'UpperTorso' then
- targ.HumanoidRootPart.CFrame = Portals[math.random(1,#Portals)].CFrame * CFrame.new(-25,0,0)
- elseif targ:FindFirstChild'Torso' then
- targ.Torso.CFrame = Portals[math.random(1,#Portals)].CFrame * CFrame.new(-25,0,0)
- end
- wait(.3)
- pcd = true
- end
- end)
- end
- --// Keys
- mouse.Button1Down:connect(function()
- if blue and cooldown then
- cooldown = false
- fire = true
- blue = false
- yellow = true
- larm()
- fire = false
- cooldown = true
- elseif yellow and cooldown then
- cooldown = false
- fire = true
- blue = true
- yellow = false
- rarm()
- fire = false
- cooldown = true
- end
- end)
- mouse.KeyDown:connect(function(h)
- if h == "q" and cooldown then
- clearp()
- end
- end)
- --// Walk fx
- game:GetService('RunService').RenderStepped:connect(function()
- sine = change+sine
- ang = ang+0.08
- ang2 = ang2+0.01
- rad = math.rad
- sin = math.sin
- arm = arm + 0.06
- if fire == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
- lleg.C0 = lleg.C0:lerp(lle * CFrame.Angles(-1, 0, 0), 0.1)
- rleg.C0 = rleg.C0:lerp(rle * CFrame.Angles(-1, 0, 0), 0.1)
- lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(0, 0, math.rad(-13.579)), 0.1)
- rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(0, 0, math.rad(15.355)), 0.1)
- end
- if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
- lleg.C0 = lleg.C0:lerp(CFrame.new(-0.53,-0.15+0.1*-math.cos(tick()*4),0.2*math.sin(tick()*4))*CFrame.Angles(math.rad(25*-math.sin(tick()*8)), rad(-1), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
- rleg.C0 = rleg.C0:lerp(CFrame.new(0.53,-0.15+0.1*math.cos(tick()*4),0.2*-math.sin(tick()*4))*CFrame.Angles(math.rad(25*math.sin(tick()*8)), rad(10), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
- lleg.C0 = lleg.C0:lerp(lle * CFrame.Angles(-0.4, 0, 0), 0.1)
- rleg.C0 = rleg.C0:lerp(rle * CFrame.Angles(0.4, 0, 0), 0.1)
- elseif Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then
- lleg.C0 = lleg.C0:lerp(lle,0.1)
- rleg.C0 = rleg.C0:lerp(rle,0.1)
- end
- if fire == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
- lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(-25*-math.sin(tick()*8)), rad(-1), rad(0)), 1.5) * CFrame.Angles(0.1, 0, 0)
- rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(25*-math.sin(tick()*8)), rad(-1), rad(0)), 1.5) * CFrame.Angles(0.1, 0, 0)
- lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(0, 0, math.rad(-13.579)), 0.1)
- rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(0, 0, math.rad(15.355)), 0.1)
- end
- if fire == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then
- lshold.C0 = lshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lsho * CFrame.Angles(-0.1, 0, 0), 0.1)
- rshold.C0 = rshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rsho * CFrame.Angles(-0.1, 0, 0), 0.1)
- neck.C0 = neck.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * nec * CFrame.Angles(-0.1, 0, 0), 0.1)
- lleg.C0 = lleg.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lle * CFrame.Angles(-0.1, 0, 0), 0.1)
- rleg.C0 = rleg.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rle * CFrame.Angles(-0.1, 0, 0), 0.1)
- waist.C0 = waist.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * wais * CFrame.Angles(-0.1, 0, 0), 0.1)
- end
- end)
Add Comment
Please, Sign In to add comment