#gloves scripting problem
70 messages · Page 1 of 1 (latest)
what do you mean?
the gloves, i assume its anchored to the ground, it might be the reason why ur cam POV looks like that.
i don't really think so
the best thing is to confirm it
here in the main game
it is not on the ground
but still has the prolbme
problem
send the properties
where
the gloves, send its properties... it looks like this:
how do I open it
oh here
its the right one
right side*
\
yea it's anchored
** You are now Level 8! **
so set it without a mark?
no no
then?
the glove code?
yea
i think it got deleted
i mean i deleted it and then ctrl + z
beucase I tought no one will help me
but still it puts it on the character but still camera bug
see no code
where did you put the gloves?
hmm...
since i see no scripts, i assume its not working as intended, am i right?
yes
like, it's not adding to the character?
but as I said. before you started replaying to me I deleted the gloves from the original game and then added it back with Ctrl Z
it is but camera is stuck
hmm, that's odd.
i restarted the studio
let me see again
@slender kestrel script is back
as you asked here is the script/code of the right sided glove
local Armor = script.Parent.Parent
Armor.PrimaryPart = Armor:WaitForChild("RightHand")
local ClickDetector = script.Parent.ClickHitBox.ClickDetector
--/Welds
function WeldParts(part0,part1)
local newWeld = Instance.new("Weld")
newWeld.Part0 = part0
newWeld.Part1 = part1
newWeld.C0 = CFrame.new()
newWeld.C1 = part1.CFrame:toObjectSpace(part0.CFrame)
newWeld.Parent = part0
end
--//Main Function
ClickDetector.MouseClick:connect(function(Player)
local Character = Player.Character
local RightHand = Character:WaitForChild("Right Arm")
if Character:FindFirstChild(script.Parent.Parent.Name) then
Character[script.Parent.Parent.Name]:Destroy()
else
local NewArmor = Armor:Clone()
NewArmor:SetPrimaryPartCFrame(RightHand.CFrame)
NewArmor.PrimaryPart:Destroy()
for _, part in pairs (NewArmor:GetChildren()) do
if part:IsA("BasePart") then
WeldParts(RightHand, part)
part.CanCollide = false
part.Anchored = false
end
end
NewArmor.Parent = Character
NewArmor.Giver:Destroy()
end
end)
when u tried it its still the same right?
i can't really figure out the rootcase of ur issue w limited infos...
if its okay w you, can you add me to your project?
only if u want, i wont force
nah it's good
i'mma just delete them again
sorry for wasting your time
i'm really really sorry
its fine, im not working atm.. just waiting for something
** You are now Level 3! **
i'mma check it again if it's still not working
sure, also lmk if u added me
nevermind it's fine
so its fixed now?
yes everything is good
nc nc