local plr = game:GetService("Players")
local runservice = game:GetService("RunService")
local ServerStorage = game:GetService("ServerStorage")
local function WeldOmnitrix(plr)
plr.CharacterAdded:Connect(function()
wait()
local char = ServerStorage.WeldRig
local Omnitrix = ServerStorage.OmnitrixWeld.OmniBand:Clone()
local PosRef = ServerStorage.OmnitrixWeld.anchorpoint:Clone()
local LeftLowerArm = char.LeftLowerArm
Omnitrix.Parent = char
Omnitrix.anchorpoint:PivotTo(plr.LeftLowerArm.CFrame)
local weld = Instance.new("WeldConstraint", Omnitrix)
weld.Part0 = LeftLowerArm
weld.Part1 = Omnitrix.anchorpoint
if game.Workspace["The Omnitrix"].Main.ProximityPrompt.Triggered then
WeldOmnitrix()
end
end)
end
I am very new to coding tbh and while ive looked up tutorials and browsed several documents on this stuff for the life of me i cant get it to actually do the thing (for the record the proximity promp is on a free floating model and I anchored a small object to a model that I put into Server Storage) If i could get some help or advice id greatly appreciate it
** You are now Level 1! **