Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Part = game.Workspace:FindFirstChild(owner.Name).HumanoidRootPart
- dc = false
- owner:GetMouse().WheelForward:connect(function()
- dc = true
- end)
- owner:GetMouse().WheelBackward:connect(function()
- dc = false
- end)
- while Part.Parent == game.Workspace:FindFirstChild(owner.Name) do
- if dc == false then
- Part.CFrame = Part.CFrame + Vector3.new(0, 5, 0)
- end
- wait(0.01)
- end
Advertisement
Add Comment
Please, Sign In to add comment