Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local a = Instance.new("Part", owner.Character)
- a.Size = Vector3.new(0.25, 12.5, 12.5)
- a.CFrame = a.CFrame * CFrame.Angles(0,0,math.rad(90))
- local a2 = Instance.new("Part", owner.Character)
- a2.Size = Vector3.new(0.3, 12.6, 12.6)
- local a3 = Instance.new("Part", owner.Character)
- a3.Size = Vector3.new(0.225, 16, 16)
- a3.Transparency = 1
- local outside = Instance.new("Part", owner.Character)
- outside.Size = Vector3.new(0.225, 16, 16)
- outside.Material = Enum.Material.Metal
- outside.Color = Color3.fromRGB(84, 81, 86)
- outside.Reflectance = .2
- a2.Transparency = .5
- a2.Color = Color3.fromRGB(91, 130, 255)
- a2.Material = Enum.Material.Glass
- a.Color = Color3.fromRGB(91, 130, 255)
- a.Material = Enum.Material.Neon
- a2.CFrame = a2.CFrame * CFrame.Angles(0,0,math.rad(90))
- outside.CFrame = outside.CFrame * CFrame.Angles(0,0,math.rad(90))
- local b = Instance.new("BodyVelocity", a)
- b.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- b.Velocity = Vector3.new()
- local b3 = Instance.new("BodyVelocity", a2)
- b3.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- b3.Velocity = Vector3.new()
- a:SetNetworkOwner(owner)
- a2:SetNetworkOwner(owner)
- outside:SetNetworkOwner(owner)
- a3:SetNetworkOwner(owner)
- a3.Name = "The4"
- a.Name = "The"
- a2.Name = "The2"
- a.CanCollide = false
- a2.CanCollide = false
- a.Shape = Enum.PartType.Cylinder
- a2.Shape = Enum.PartType.Cylinder
- a3.Shape = Enum.PartType.Cylinder
- outside.Shape = Enum.PartType.Cylinder
- outside.Name = "The3"
- outside.CanCollide = false
- NLS([[
- a = owner.Character:WaitForChild("The")
- a2 = owner.Character:WaitForChild("The2")
- outside = owner.Character:WaitForChild("The3")
- a3 = owner.Character:WaitForChild("The4")
- local b2 = Instance.new("BodyGyro", a)
- b2.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
- local b4 = Instance.new("BodyGyro", a2)
- b4.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
- b4.CFrame = b4.CFrame * CFrame.Angles(0,0,math.rad(90))
- local b5 = Instance.new("BodyVelocity", outside)
- b5.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- b5.Velocity = Vector3.new()
- local b6 = Instance.new("BodyGyro", outside)
- b6.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
- b2.CFrame = b2.CFrame * CFrame.Angles(0,0,math.rad(90))
- b6.CFrame = b6.CFrame * CFrame.Angles(0,0,math.rad(90))
- local b7 = Instance.new("BodyVelocity", a3)
- b7.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- b7.Velocity = Vector3.new()
- local b8 = Instance.new("BodyGyro", a3)
- b8.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
- b8.CFrame = b8.CFrame * CFrame.Angles(0,0,math.rad(90))
- tall = owner.Character.HumanoidRootPart.Position.y - 2.5
- height = 0
- mouse = owner:GetMouse()
- mouse.KeyDown:Connect(function(key)
- key = key:lower()
- if key == "q" then
- height = 1
- elseif key == "e" then
- height = -1
- end
- end)
- mouse.KeyUp:Connect(function(key)
- key = key:lower()
- if key == "q" then
- height = 0
- elseif key == "e" then
- height = 0
- end
- end)
- game:GetService("RunService").RenderStepped:Connect(function()
- if height == -1 then
- tall = tall - 0.25
- elseif height == 1 then
- tall = tall + 0.25
- end
- a.Position = Vector3.new(owner.Character.HumanoidRootPart.Position.x,tall,owner.Character.HumanoidRootPart.Position.z)
- a2.Position = Vector3.new(owner.Character.HumanoidRootPart.Position.x,tall,owner.Character.HumanoidRootPart.Position.z)
- outside.Position = Vector3.new(owner.Character.HumanoidRootPart.Position.x,tall,owner.Character.HumanoidRootPart.Position.z)
- a3.Position = Vector3.new(owner.Character.HumanoidRootPart.Position.x,tall,owner.Character.HumanoidRootPart.Position.z)
- end)
- ]],owner.PlayerGui)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement