rn i have the handle rotating but it rotates the entire player with it
https://medal.tv/games/roblox-studio/clips/jmfcRy4GYKeHahjp6?invite=cr-MSxwbDksMjM2NTMxNTc3LA
Watch speen and millions of other Roblox Studio videos captured using Medal.
55 messages · Page 1 of 1 (latest)
rn i have the handle rotating but it rotates the entire player with it
https://medal.tv/games/roblox-studio/clips/jmfcRy4GYKeHahjp6?invite=cr-MSxwbDksMjM2NTMxNTc3LA
Watch speen and millions of other Roblox Studio videos captured using Medal.
What are the properties of the tool
normal part properties but i made it massless
send screenshot
One message removed from a suspended account.
One message removed from a suspended account.
Show your code
local tool = script.Parent
local plr = game.Players.LocalPlayer
local char = plr.Character
local hum = char.Humanoid
local holdtrack = plr.Character.Humanoid.Animator:LoadAnimation(script.Animation)
holdtrack.Priority = Enum.AnimationPriority.Idle
tool.Equipped:Connect(function()
holdtrack:Play()
tool.GripPos = Vector3.new(1.65, 0, 0)
while true do
task.wait(.05)
tool.Handle.CFrame = tool.Handle.CFrame * CFrame.Angles(5, 0, 0)
end
end)
tool.Unequipped:Connect(function()
holdtrack:Stop()
end)
Yeah you are setting the position of the handle
You can't do that to an assembly if you dont want it to move
Find the grip and set its c0
Or c1 if that doesnt turn out
im awful with toolgrip so you might have to help me with this
i only really know how to use grippos
A "grip" isnt actually a thing for tools
its just a renamed weld right
What I am refering to is the weld that holds it to your character
i see
Welds have C0 and C1
Basically offsets relevant to the parts
By changing them, you are changing how the part is positioned relevant to the other one in an assembly.
is rightgrip what im supposed to find? because i cant find any weld inside the tool when i hold it
i may be misunderstanding though
Seems like it
alright
deleted rightgrip to see what itd do and it dropped the handle so i think its what im looking for
so what should i do next
Change it's C0 to animate it spinning
No, it is a cframe
Both are cframes
They are the offset relevant to the other part respective to their part
i see
wait so is the problem in the code or physics
code
It's both..
ah
Your code is interacting with the engine in an unwanted way
so wait i wanna change the c0's cframe right
i know how they work (mostly)
still get a little confused sometimes but ive done it enough
got it working
** You are now Level 6! **
ty @sage oak
lol