Script:
local RepStore = game:WaitForChild("ReplicatedStorage") local Store = RepStore:WaitForChild("Storage") local RemoteStore = Store:WaitForChild("RemoteEvents") local Remote = RemoteStore:WaitForChild("FDashEvent") Remote.OnServerEvent:connect(function(player, printtext) local Anim = Instance.new("Animation") Anim.AnimationId ="rbxassetid://2667894858" --Put Animation Here local move = player.Character.Humanoid:LoadAnimation(Anim) move:Play() local position = Instance.new("BodyVelocity",player.Character.HumanoidRootPart) position.MaxForce = Vector3.new(5000000,5000000,5000000) position.P = 50 position.Velocity = player.Character.HumanoidRootPart.CFrame.LookVector * 40 game.Debris:AddItem(position,.5) local T1 = game.ReplicatedStorage.Storage.Trails.DashTrail:Clone() T1.Parent = workspace local attachment0 = Instance.new("Attachment",player.Character.RightHand) attachment0.Name = "TrailAttachment0" local attachment1 = Instance.new("Attachment",player.Character.RightLowerArm) attachment1.Name = "TrailAttachment1" T1.Attachment0 = attachment0 T1.Attachment1 = attachment1 local T2 = game.ReplicatedStorage.Storage.Trails.DashTrail:Clone() T2.Parent = workspace local attachment02 = Instance.new("Attachment",player.Character.LeftHand) attachment02.Name = "TrailAttachment0" local attachment12 = Instance.new("Attachment",player.Character.LeftLowerArm) attachment12.Name = "TrailAttachment1" T2.Attachment0 = attachment02 T2.Attachment1 = attachment12 wait(0.6) T1:Destroy() T2:Destroy() attachment0:Destroy() attachment1:Destroy() attachment02:Destroy() attachment12:Destroy() end)
=====================================================================================================================================================
Any help?
I finally figured out your problem, while it might have been the fact that you were using an r6 model the first time, that was not the only problem.
local attachment0 = Instance.new("Attachment",player.Character.RightHand)
should be
local attachment0 = Instance.new("Attachment",player.Parent["Right Hand"])
because there are spaces in the name
Edit: might be that player points to the humanoid of player? So it would be player.Parent instead of player.Character.