Advertisement
eodejmocmocm

Womp womp

Mar 7th, 2024
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. RunSteppedMobile = game:GetService("RunService").RenderStepped:Connect(function()
  2. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  3. if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - game.Workspace.TPSSystem.TPS.Position).Magnitude <= DistanceReachMobile then
  4. if game.Lighting[game.Players.LocalPlayer.Name].PreferredFoot.Value == 1 then
  5. firetouchinterest(game.Players.LocalPlayer.Character["Right Leg"], game.Workspace.TPSSystem.TPS, 0)
  6. firetouchinterest(game.Players.LocalPlayer.Character["Right Leg"], game.Workspace.TPSSystem.TPS, 1)
  7. elseif game.Lighting[game.Players.LocalPlayer.Name].PreferredFoot.Value == 2 then
  8. firetouchinterest(game.Players.LocalPlayer.Character["Left Leg"], game.Workspace.TPSSystem.TPS, 0)
  9. firetouchinterest(game.Players.LocalPlayer.Character["Left Leg"], game.Workspace.TPSSystem.TPS, 1)
  10.  
  11. end
  12. end
  13. end
  14. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  15. if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - game.Workspace.TPSSystem.TPS.Position).Magnitude <= DistanceReach then
  16. if game.Lighting[game.Players.LocalPlayer.Name].PreferredFoot.Value == 1 then
  17. firetouchinterest(game.Players.LocalPlayer.Character["RightLowerLeg"], game.Workspace.TPSSystem.TPS, 0)
  18. firetouchinterest(game.Players.LocalPlayer.Character["RightLowerLeg"], game.Workspace.TPSSystem.TPS, 1)
  19. elseif game.Lighting[game.Players.LocalPlayer.Name].PreferredFoot.Value == 2 then
  20. firetouchinterest(game.Players.LocalPlayer.Character["LeftLowerLeg"], game.Workspace.TPSSystem.TPS, 0)
  21. firetouchinterest(game.Players.LocalPlayer.Character["LeftLowerLeg"], game.Workspace.TPSSystem.TPS, 1)
  22. end
  23. end
  24. end
  25. end)
  26. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement