Clients and Server see different things?

  1. What do you want to achieve? A Dashing ability

  2. What is the issue? All clients see the ability as I want them to but on the server it looks weird and causes the rest of my abilities to be messed up.

  3. What solutions have you tried so far? I’ve tried looking at other posts but none of them were helpful

here’s the code that handles the ability (server script)

	if SkillName == "VampireDash" then
		DebounceSystem:AbilityBegun(player, SkillName)	
		local orinet = plrCharacter.HumanoidRootPart.Orientation
		
		plrCharacter.HumanoidRootPart.CFrame = CFrame.new(plrCharacter.HumanoidRootPart.Position, WorldPosition)

		CamShake:FireClient(player, "Shake", "Explosion")
		wait(0.2)

		local vampDash = plrCharacter.Humanoid:LoadAnimation(script:WaitForChild("VampDash"))
		vampDash:Play()

		local tween = TweenService:Create(plrCharacter.HumanoidRootPart, TweenInfo.new(0.2), {Position = WorldPosition})
		wait(0.1)
		tween:Play()
		wait(0.2)
		vampDash:Stop()
		DebounceSystem:AbilityEnded(player, SkillName, Cooldown)
	end

here’s a video of what it looks like for the client (i’ve tested it and it looks the same for all clients) and the server:

Use CFrame instead of position.

1 Like

I tried that but it makes the player turn sideways by the time the tween is complete, any way to get rid of that?

EDIT: Figured it out, ty though