Hi, I’m trying to change the grip of a tool, the LocalScript one works but the Script doesn’t, could you help me with an example of a Script to change the grip of a tool for all players and not affect the localscript.
Been trying but the script I use to change it doesn’t work for me.
Thank you very much if you help me.
server sided scripts always affect the server, asking it not to affect something isn’t possible
but you can change the grip of a tool yes or no on the server
Yes you can change the grip on the server
How do you change it so that it affects all players?
You can set the Grip position of the tool under the properties tab and it should change the grip for all the players. Where exactly is your tool located?
What I try to do is a flashlight is already done but I try to change the grip of the client and the server
Does the position of the tool change whenever you move? Example: does the tool glitch or move up and down?
Show us the script you’re using to change the position
This doesn’t really help but try placing this some where inside the server script
tool.Grip = Vector3.new(0,0,0) --or whatever you want it to be
local Players = game:GetService("Players")
for _, player in ipairs(Players:GetPlayers()) do
local character = player.Character
if character then
local tool = character:FindFirstChild("flashlight")
if tool then
while true do
tool.GripPos = Vector3.new(0, -0.5, 0)
tool.GripUp = Vector3.new(0, 1, 0)
print("g")
wait()
end
end
end
end
this script comes close but doesn’t work xd
someone help me
nothing happens anymore i fixed it
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.