i have and it worked and im 100 % certain its a client replication problem because since fe the player can only handle it’s physics so if i make a rope on the client i cant see its physics only my physics and the server’s physics.
do you still having the issue??
Yes on the client I do, like I said its just an issue with the physics of the rope not replicating over to the client model.
i have fixed it in client btw i’m trying to add another function into it aswell
for example if the attachment has been created before we and we try to create a new one the script is going to destroy the old one
I’m going to make this if you want or if you don’t want i can send you the local script that i made for client
Wait can you show me it in action?
Alright are you sure this is in a local script?
Yes im 100 percent sure 30 characters
Hmm alright then ill have to see this for myself then.
Can you show me the local script?
There we go:
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 RightArm = char:WaitForChild("Right Arm")
local charAttach = Instance.new("Attachment", humrp)
charAttach.Name = "SilkAttachment"
----------------------------------------------------------------------
function WebShoot(hit,target)
local dupe = target:FindFirstChild("buildingAttachment")
if target == nil then return end
if hit == nil then return end
---------------- Create Attachment
local BuildingAttachment = Instance.new("Attachment")
if target:FindFirstChild("buildingAttachment") then
dupe:Destroy()
end
BuildingAttachment.Name = "buildingAttachment"
BuildingAttachment.CFrame = target.CFrame:ToObjectSpace(hit)
BuildingAttachment.Parent = target
BuildingAttachment.Visible = true
-----------------------------------
local dupe2 = game.Workspace:FindFirstChild("Silk")
local Web = Instance.new("RopeConstraint")
Web.Name = "Silk"
Web.Length = 3 --(humrp.Position - BuildingAttachment.WorldPosition).Magnitude i changed your script like this so don't change this part
Web.Visible = true
Web.Color = BrickColor.new("Really black")
Web.Thickness = 0.15
Web.Restitution = 1
Web.Parent = humrp
Web.Attachment0 = BuildingAttachment
Web.Attachment1 = charAttach
end
UIS.InputBegan:Connect(function(input, gameProccessed)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
WebShoot(Mouse.Hit, Mouse.Target)
end
end)
while wait(5) do
charAttach.WorldPosition = LeftArm.LeftGripAttachment.WorldPosition
end
How is it working I don’t get it
This will prevent from making a lot of ropes in a single object
I worked A lot on this, did you try itt?
No but I still dont get why mine didnt work but yours did??
But it’s not complete yet i mean the dupe system, for example if u try to cast another rope on another wall it’s going to be glitchy i didn’t work on that
Alright It’s fine I still dont get how yours is working but mine isnt I legit looked at the code everything is basically the same
well not everything i tried to change the parent of the rope and attachment if you look a little bit closer