Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- MOVE ARMS (& LEGS)
- version 1.5.3
- CHANGELOG
- 30/10/2020:
- + This scrip had filtering enabled (i had typo lol)
- 21/9/2020:
- + mouse.UnitRay.Direction has been changed to mouse.Hit.lookVector from better sensibility.
- + Changed 30% of better sensibility.
- 20/9/2020:
- + Fixed an bug when you're reseting your legs.
- 17/9/2020:
- + Added moving legs.
- 13/9/2020:
- + Added teleport tool.
- 12/9/2020:
- + mouse.Hit.lookVector has been changed to mouse.UnitRay.Direction
- + Now you can only move the head from 420º (degrees).
- + Repositioned moving arms when reset tool is equipped.
- 10/9/2020:
- + Added moving head from special hits!
- + Better sensibility with math.rad()
- - Removed debris service, sorry...
- 09/9/2020:
- + Repositioned moving arms and reset arms.
- 07/9/2020:
- + Added reset tool from the special day!
- + New version update!
- 04/9/2020:
- + Revamped Move Arms from a special hits!
- + Better Sensibility is now improved!
- + Positioned arms and smoothly moving arms.
- 02/9/2020:
- + SENSIBILITY UPDATE / SETTINGS UPDATE
- 01/9/2020:
- + Initial paste release
- ]]
- --FE Script
- local NetworkAccess = coroutine.create(function()
- settings().Physics.AllowSleep = false
- while true do
- game:GetService('RunService').RenderStepped:Wait()
- for _, players in pairs(game.Players:GetChildren()) do
- if players ~= game.Players.LocalPlayer then
- players.MaximumSimulationRadius = 0.1
- players.SimulationRadius = 0
- end
- end
- plr.MaximumSimulationRadius = math.pow(math.huge, math.huge)
- plr.SimulationRadius = math.huge * math.huge
- end
- end)
- coroutine.resume(NetworkAccess)
- -- SETTINGS
- local ToolDroppable = false
- local toolName = { -- Customize the tool name later...
- ["LeftArm"] = "Left Arm",
- ["RightArm"] = "Right Arm",
- ["Head"] = "Head",
- ["LeftLeg"] = "Left Leg",
- ["RightLeg"] = "Right Leg",
- ["Teleport"] = "Teleporter",
- }
- local toolTip = { -- Customize the tool tip later...
- ["LeftArm"] = "Moves your left arm freely",
- ["RightArm"] = "Moves your right arm freely",
- ["LeftLeg"] = "Moves your left leg freely",
- ["RightLeg"] = "Moves your right leg freely",
- ["Head"] = "Moves your head freely",
- ["Teleport"] = "Teleports you by clicking on the mouse",
- }
- local Texture = { -- Customize the texture later...
- ["LeftArm"] = "rbxassetid://415644845",
- ["RightArm"] = "rbxassetid://634495580",
- ["LeftLeg"] = "rbxassetid://25277847",
- ["RightLeg"] = "rbxassetid://25277893",
- ["Head"] = "rbxassetid://9573272",
- ["Teleport"] = "rbxassetid://4799887091",
- }
- --SERVICES
- local playerService = game:GetService("Players")
- --LOCALS
- local player = playerService.LocalPlayer
- local character = player.Character
- local mouse = player:GetMouse()
- local canBeUsed = 0
- --BODY PARTS
- local BodyParts = {
- ["LeftArm"] = character["Left Arm"],
- ["RightArm"] = character["Right Arm"],
- ["Torso"] = character["Torso"],
- ["HumanoidRootPart"] = character.HumanoidRootPart,
- }
- local Motor6D = {
- ["LeftShoulder"] = character.Torso["Left Shoulder"],
- ["Neck"] = character.Torso.Neck,
- ["RightShoulder"] = character.Torso["Right Shoulder"],
- ["LeftHip"] = character.Torso["Left Hip"],
- ["RightHip"] = character.Torso["Right Hip"],
- }
- --INSTANCES
- local LArm = Instance.new("Tool", player.Backpack)
- LArm.Name = toolName.LeftArm
- LArm.ToolTip = toolTip.LeftArm
- LArm.RequiresHandle = false
- LArm.TextureId = Texture.LeftArm
- local LLeg = Instance.new("Tool", player.Backpack)
- LLeg.Name = toolName.LeftLeg
- LLeg.ToolTip = toolTip.LeftLeg
- LLeg.RequiresHandle = false
- LLeg.TextureId = Texture.LeftLeg
- local RLeg = Instance.new("Tool", player.Backpack)
- RLeg.Name = toolName.RightLeg
- RLeg.ToolTip = toolTip.RightLeg
- RLeg.RequiresHandle = false
- RLeg.TextureId = Texture.RightLeg
- local RArm = Instance.new("Tool", player.Backpack)
- RArm.Name = toolName.RightArm
- RArm.ToolTip = toolTip.RightArm
- RArm.RequiresHandle = false
- RArm.TextureId = Texture.RightArm
- local Neck = Instance.new("Tool", player.Backpack)
- Neck.Name = toolName.Head
- Neck.ToolTip = toolTip.Head
- Neck.RequiresHandle = false
- Neck.TextureId = Texture.Head
- local teleTool = Instance.new("Tool", player.Backpack)
- teleTool.Name = toolName.Teleport
- teleTool.ToolTip = toolTip.Teleport
- teleTool.TextureId = Texture.Teleport
- teleTool.RequiresHandle = false
- local resetTool = Instance.new("Tool", player.Backpack)
- resetTool.Name = "Reset"
- resetTool.ToolTip = "Resets your body when your arms had problems."
- resetTool.RequiresHandle = false
- --SETUP
- if ToolDroppable then
- LArm.CanBeDropped = true
- RArm.CanBeDropped = true
- else
- LArm.CanBeDropped = false
- RArm.CanBeDropped = false
- end
- LArm.Equipped:Connect(function()
- canBeUsed = 1
- while true do
- wait()
- if canBeUsed == 1 then
- Motor6D.LeftShoulder.C0 = CFrame.new(-2, 0.5, 0) * CFrame.Angles(mouse.Hit.lookVector.X + mouse.Origin.lookVector.X + math.rad(0), mouse.Hit.lookVector.Y + mouse.Origin.lookVector.Y + math.rad(90), mouse.Hit.lookVector.Z + mouse.Origin.lookVector.Z + math.rad(0))
- else
- break
- end
- end
- end)
- LLeg.Equipped:Connect(function()
- canBeUsed = 1
- while true do
- wait()
- if canBeUsed == 1 then
- Motor6D.LeftHip.C0 = CFrame.new(-0.03, -1, 0) * CFrame.Angles(mouse.Hit.lookVector.X + mouse.Origin.lookVector.X + math.rad(0), mouse.Hit.lookVector.Y + mouse.Origin.lookVector.Y + math.rad(90), mouse.Hit.lookVector.Z + mouse.Origin.lookVector.Z + math.rad(0))
- else
- break
- end
- end
- end)
- LArm.Unequipped:Connect(function()
- canBeUsed = 0
- end)
- LLeg.Unequipped:Connect(function()
- canBeUsed = 0
- end)
- RArm.Equipped:Connect(function()
- canBeUsed = 1
- while true do
- wait()
- if canBeUsed == 1 then
- Motor6D.RightShoulder.C0 = CFrame.new(2, 0.5, 0) * CFrame.Angles(mouse.Hit.lookVector.X + mouse.Origin.lookVector.X + math.rad(0), mouse.Hit.lookVector.Y + mouse.Origin.lookVector.Y + math.rad(90), mouse.Hit.lookVector.Z + mouse.Origin.lookVector.Z + math.rad(0))
- else
- break
- end
- end
- end)
- RLeg.Equipped:Connect(function()
- canBeUsed = 1
- while true do
- wait()
- if canBeUsed == 1 then
- Motor6D.RightHip.C0 = CFrame.new(0.03, -1, 0) * CFrame.Angles(mouse.Hit.lookVector.X + mouse.Origin.lookVector.X + math.rad(0), mouse.Hit.lookVector.Y + mouse.Origin.lookVector.Y + math.rad(-90), mouse.Hit.lookVector.Z + mouse.Origin.lookVector.Z + math.rad(0))
- else
- break
- end
- end
- end)
- RArm.Unequipped:Connect(function()
- canBeUsed = 0
- end)
- RLeg.Unequipped:Connect(function()
- canBeUsed = 0
- end)
- resetTool.Equipped:Connect(function()
- Motor6D.RightShoulder.C0 = CFrame.new(0.993, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- Motor6D.LeftShoulder.C0 = CFrame.new(-0.993, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
- Motor6D.Neck.C1 = CFrame.new(0, -0.5, 0) * CFrame.Angles(math.rad(90), math.rad(180), math.rad(0))
- Motor6D.RightHip.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- Motor6D.LeftHip.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
- end)
- Neck.Equipped:Connect(function()
- canBeUsed = 1
- while true do
- wait()
- if canBeUsed == 1 then
- Motor6D.Neck.C1 = CFrame.new(0, -0.5, 0) * CFrame.Angles(mouse.UnitRay.Direction.X + math.rad(90), mouse.UnitRay.Direction.Y + math.rad(180), mouse.UnitRay.Direction.Z + math.rad(420))
- else
- break
- end
- end
- end)
- Neck.Unequipped:Connect(function()
- canBeUsed = 0
- end)
- teleTool.Activated:Connect(function()
- character:MoveTo(Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z))
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement