-
**The custom part trail is supposed to be right under my feet, with me spamming parts and using debris to get rid of them every 5 seconds
-
**there spawning pretty far behind my robloxians feet when walking/running almost like its lagging
the local script spams the remote event, but its on a toggle you toggle it on and off by pressing a key.
https://gyazo.com/32b3b8d80ab35e31fef730164dd7bdb3
rs = game:GetService("ReplicatedStorage")
remotes = rs:WaitForChild("IceSlideRemote")
event = remotes:WaitForChild("IceSlide")
ice = remotes:WaitForChild("Ice")
event.OnServerEvent:connect(function(plyr,char,hr)
local ice2 = ice:Clone()
ice2.Parent = char
ice2.CFrame = CFrame.new(hr.Position)*CFrame.new(0,-3,0)
ice2.Anchored = true
game:GetService("Debris"):AddItem(ice2,5)
end)