No I havent and thats not what Im trying to do anyway
Can I see the script?
[30 Character]
Yep here it is.
Server script:
local replicatedStorage = game:GetService("ReplicatedStorage")
local remoteEvent = replicatedStorage:WaitForChild("RopeEvent")
local function temporaryAttachment(cframe)
local tempAttachPart = Instance.new("Part")
tempAttachPart.Anchored = true
tempAttachPart.CanCollide = false
tempAttachPart.Transparency = 1
tempAttachPart.Size = Vector3.new(0.1,0.1,0.1)
tempAttachPart.CFrame = cframe
tempAttachPart.Parent = game.Workspace
local tempAttach = Instance.new("Attachment", tempAttachPart)
return tempAttach
end
remoteEvent.OnServerEvent:Connect(function(player, cframe)
local char = player.Character
local leftArm = char:WaitForChild("Left Arm")
local humanoidRootPart = char:WaitForChild("HumanoidRootPart")
local Web = Instance.new("RopeConstraint")
local tempAttach = temporaryAttachment(cframe)
Web.Name = "Silk"
Web.Length = (humanoidRootPart.Position - cframe.Position).Magnitude
Web.Visible = true
Web.Color = BrickColor.new("Really black")
Web.Thickness = 0.15
Web.Restitution = 1
Web.Parent = humanoidRootPart
Web.Attachment0 = leftArm.LeftGripAttachment
Web.Attachment1 = tempAttach
end)
Local script:
local plr = game.Players.LocalPlayer
local char = plr.Character
local hum = char:WaitForChild("Humanoid")
local humrp = char:WaitForChild("HumanoidRootPart")
local Mouse = plr:GetMouse()
local UIS = game:GetService("UserInputService")
local IsAir = false
local replicatedStorage = game:GetService("ReplicatedStorage")
local ropeEvent = replicatedStorage:WaitForChild("RopeEvent")
--// Arm Stuff
local LeftArm = char:WaitForChild("Left Arm")
local charAttach = Instance.new("Attachment", LeftArm)
----------------------------------------------------------------------
function WebShoot(hit,target)
if target == nil then return end
if hit == nil then return end
if target.Name == "Building" then
print("We can attach to this surface.")
---------------- Create Attachment
local BuildingAttachment = Instance.new("Attachment")
BuildingAttachment.Name = "buildingAttachment"
BuildingAttachment.CFrame = target.CFrame:ToObjectSpace(hit)
BuildingAttachment.Parent = target
BuildingAttachment.Visible = true
------------------------------------
ropeEvent:FireServer(hit)
end
end
UIS.InputBegan:Connect(function(input, gameProccessed)
if input.KeyCode == Enum.KeyCode.Q then
WebShoot(Mouse.Hit, Mouse.Target)
end
end)
I hope this is going to work 30 characters
Why are you returning tempattach?
To me it seems like its a problem with the rope. Did you try different ropes? (I know this is kind of obvious but just checking) What folders are the rope and arm in? (As in Workplace and the others)
I have the script create a part that has an attachment. Its not the most efficient way to do it but its just to test if it works or not.
Why isnt it working in the local script???
I’m not too sure but it could be an issue with client-server replication.
Could you send your place or scrips as rbxm?
So it would bee easier for us to help you
No cant do that, sorry
[30 Characters]
Im just going to settle on having to use a remote event
Well then i have nothing to say
Thank you for trying to help man your a real legend
Thanks I i really like when i help to people but i guess this time was a true failure😐
Wait no it wasn’t a failure you tried so dont think of it like that, it wasnt even an issue it was just some replicating problems
Thank you i hope this problem is going to be fixed soon
Hmm why not to unanchore the wall so we might understand what is the problem