#gloves scripting problem

70 messages · Page 1 of 1 (latest)

slender kestrel
#

is it anchored when transferred to your character?

fiery citrus
slender kestrel
#

the gloves, i assume its anchored to the ground, it might be the reason why ur cam POV looks like that.

slender kestrel
#

the best thing is to confirm it

fiery citrus
#

here in the main game

#

it is not on the ground

#

but still has the prolbme

#

problem

slender kestrel
#

send the properties

fiery citrus
#

where

slender kestrel
#

the gloves, send its properties... it looks like this:

fiery citrus
#

oh here

#

its the right one

#

right side*
\

slender kestrel
#

yea it's anchored

desert elbowBOT
#

studio** You are now Level 8! **studio

slender kestrel
fiery citrus
#

so set it without a mark?

slender kestrel
#

no no

fiery citrus
#

then?

slender kestrel
#

you do it, inside the code

#

can I see your code where it adds to ur character?

fiery citrus
#

the glove code?

slender kestrel
#

yea

fiery citrus
#

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

slender kestrel
#

where did you put the gloves?

fiery citrus
#

wdym?

#

here @slender kestrel

#

and sorry for the late answering

slender kestrel
#

hmm...

#

since i see no scripts, i assume its not working as intended, am i right?

fiery citrus
#

yes

slender kestrel
#

like, it's not adding to the character?

fiery citrus
#

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

fiery citrus
slender kestrel
#

hmm, that's odd.

fiery citrus
#

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)

slender kestrel
#

when u tried it its still the same right?

fiery citrus
#

yes

#

just the camera is stuck inplace

slender kestrel
#

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

fiery citrus
#

nah it's good

#

i'mma just delete them again

#

sorry for wasting your time

#

i'm really really sorry

slender kestrel
#

its fine, im not working atm.. just waiting for something

fiery citrus
#

oh ok

#

but i have another problem

desert elbowBOT
#

studio** You are now Level 3! **studio

fiery citrus
#

i'mma check it again if it's still not working

slender kestrel
#

sure, also lmk if u added me

fiery citrus
#

nevermind it's fine

slender kestrel
#

so its fixed now?

fiery citrus
#

yes everything is good

slender kestrel