Roblox Overhead GUI Tutorial

Here is the code, put this script inside of the ServerScriptService or Workspace and put your Trail in ServerStorage

game.Players.PlayerAdded:Connect(function(player)

player.CharacterAdded:Connect(function(char)

local trail = game.ServerStorage.Trail:Clone()

trail.Parent = char.Head

local attachment0 = Instance.new(“Attachment”,char.Head)

attachment0.Name = “TrailAttachment0”

local attachment1 = Instance.new(“Attachment”,char.HumanoidRootPart)

attachment1.Name = “TrailAttachment1”

trail.Attachment0 = attachment0

trail.Attachment1 = attachment1

end)

end)

Become an AlvinBlox Channel Member and benefit from a range of perks!