You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
Solve the Issue -
What is the issue? Include screenshots / videos if possible!
SO i made a Local Script and Made a textutton and when it clicks it fires the remote to the server then in the server script i scripted my armor system and it only equips for my player but when another player equips the same armor my player gets welded to his. i dont even think its welding really. BUt idk -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
tried some scripts that make it only affect me but they dont work so yea
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
–VIDEO
--Local Script
--//---------------------------------------------
local RP = game:GetService("ReplicatedStorage")
local StarterGui = game:GetService("StarterGui")
local UserInputService = game:GetService("UserInputService")
local CustomRemote = RP:FindFirstChild("Armor")
local Buttons = script.Parent
local Cooldown = false
Buttons.MouseButton1Down:Connect(function()
if Cooldown == false then
Cooldown = true
CustomRemote:FireServer(Buttons.MouseButton1Down)
task.wait(1)
Cooldown = false
end
end)
--ServerScript
--------------------// Services
local RP = game:GetService("ReplicatedStorage")
local SS = game:GetService("ServerScriptService")
--------------------// Events / Modules
local CustomRemote = RP:FindFirstChild("Armor")
--------------------// Variables
local Folder = RP:WaitForChild("CustomizeStorage")
local Storage = Folder:FindFirstChild("Custom")
local ShirtStr = RP:WaitForChild("ArmorSTR")
local ShoesStr = RP:WaitForChild("ShoeSTR")
local PantsStr = RP:WaitForChild("PantsSTR")
local Pants = Storage.Pants
local Shirt = RP:WaitForChild("Custom").Shirts
local Shoes = Storage.Shoes
local Armor = Shirt.Armor1
------------------------------- Customize Interect Remote
CustomRemote.OnServerEvent:Connect(function(Player)
ShirtStr.Value = "Shirt1"
if ShirtStr.Value == "Shirt1" then
local Character = Player.Character
local UpperTorso = Character.UpperTorso
local UTJoint = Instance.new("Motor6D")
UTJoint.Parent = Armor.MainTorso
UTJoint.Part1 = Armor.MainTorso
UTJoint.C0 = CFrame.new(0,0,0)
UTJoint.Part0 = UpperTorso
UpperTorso.Transparency = 1
local LowerRight = Character.RightLowerArm
local LTJoint = Instance.new("Motor6D")
LTJoint.Parent = Armor.MainLowerRight
LTJoint.Part1 = Armor.MainLowerRight
LTJoint.C0 = CFrame.new(0,0,0)
LTJoint.Part0 = LowerRight
LowerRight.Transparency = 1
local LowerLeft = Character.LeftLowerArm
local LLJoint = Instance.new("Motor6D")
LLJoint.Parent = Armor.MainLowerLeft
LLJoint.Part1 = Armor.MainLowerLeft
LLJoint.C0 = CFrame.new(0,0,0)
LLJoint.Part0 = LowerLeft
LowerLeft.Transparency = 1
local UpperRight = Character.RightUpperArm
local URJoint = Instance.new("Motor6D")
URJoint.Parent = Armor.MainUpperRight
URJoint.Part1 = Armor.MainUpperRight
URJoint.C0 = CFrame.new(0,0,0)
URJoint.Part0 = UpperRight
UpperRight.Transparency = 1
local UpperLeft = Character.LeftUpperArm
local ULJoint = Instance.new("Motor6D")
ULJoint.Parent = Armor.MainUpperLeft
ULJoint.Part1 = Armor.MainUpperLeft
ULJoint.C0 = CFrame.new(0,0,0)
ULJoint.Part0 = UpperLeft
UpperLeft.Transparency = 1
local RightHand = Character.RightHand
local RHJoint = Instance.new("Motor6D")
RHJoint.Parent = Armor.MainHandRight
RHJoint.Part1 = Armor.MainHandRight
RHJoint.C0 = CFrame.new(0,0,0)
RHJoint.Part0 = RightHand
RightHand.Transparency = 1
local LeftHand = Character.LeftHand
local LHJoint = Instance.new("Motor6D")
LHJoint.Parent = Armor.MainHandLeft
LHJoint.Part1 = Armor.MainHandLeft
LHJoint.C0 = CFrame.new(0,0,0)
LHJoint.Part0 = LeftHand
LeftHand.Transparency = 1
local TestArmorFolder = Instance.new("Folder")
TestArmorFolder.Name = "Armor3D"
TestArmorFolder.Parent = Character
Armor.Parent = TestArmorFolder
end
end)
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.