Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Trail.FaceCamera = true
- script.Trail.Lifetime = 1
- local gamePassId = 1234567890
- game.Players.PlayerAdded:Connect(function(Player)
- Player.CharacterAdded:Wait()
- Player.Character:FindFirstChild("Head")
- Player.Character:FindFirstChild("HumanoidRootPart")
- if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Player.UserId, gamePassId) == true then
- local Trail = script.Trail:Clone()
- Trail.Parent = Player.Character.HumanoidRootPart
- Trail.Attachment0 = Player.Character.HumanoidRootPart.RootRigAttachment
- local Attachment =Instance.new("Attachment", Player.Character.HumanoidRootPart)
- Attachment.CFrame = CFrame.new(0,1,0)
- Trail.Attachment1 = Attachment
- end
- end)
Advertisement