When I look a certain way, it doesn't position right.
local enabled = false
script.Parent.OnServerEvent:Connect(function(Player)
if enabled == false then
enabled = true
Player.Character.Head.Transparency = 1
Player.Character.Torso.Transparency = 1
Player.Character["Left Leg"].Transparency = 1
Player.Character["Right Leg"].Transparency = 1
Player.Character["Left Arm"].Transparency = 1
Player.Character["Right Arm"].Transparency = 1
Player.Character.ClassItems.Blade.Transparency = 1
Player.Character.ClassItems.Handle.Transparency = 1
Player.Character.ClassItems.Handle2.Transparency = 1
Player.Character.Humanoid.WalkSpeed = 0
local TrailPart = game.ServerStorage.ThunderTrail:Clone()
TrailPart.Position = Player.Character["Left Leg"].Position
TrailPart.Parent = Player.Character
local weld1 = Instance.new("Weld")
weld1.Parent = TrailPart
weld1.Part0, weld1.Part1 = Player.Character["Left Leg"], TrailPart
weld1.C0 = CFrame.new(0,0,0)
weld1.C1 = CFrame.new(0,0,0)
game.Debris:AddItem(TrailPart, 0.5)
local TrailPart2 = game.ServerStorage.ThunderTrail:Clone()
TrailPart2.Position = Player.Character["Right Leg"].Position
TrailPart2.Parent = Player.Character
local weld2 = Instance.new("Weld")
weld2.Parent = TrailPart2
weld2.Part0, weld2.Part1 = Player.Character["Right Leg"], TrailPart2
weld2.C0 = CFrame.new(0,0,0)
weld2.C1 = CFrame.new(0,0,0)
game.Debris:AddItem(TrailPart2, 0.5)
local TrailPart3 = game.ServerStorage.ThunderTrail:Clone()
TrailPart3.Position = Player.Character["Left Arm"].Position
TrailPart3.Parent = Player.Character
local weld3 = Instance.new("Weld")
weld3.Parent = TrailPart3
weld3.Part0, weld3.Part1 = Player.Character["Left Arm"], TrailPart3
weld3.C0 = CFrame.new(0,0,0)
weld3.C1 = CFrame.new(0,0,0)
game.Debris:AddItem(TrailPart3, 0.5)
local TrailPart4 = game.ServerStorage.ThunderTrail:Clone()
TrailPart4.Position = Player.Character["Right Arm"].Position
TrailPart4.Parent = Player.Character
local weld4 = Instance.new("Weld")
weld4.Parent = TrailPart
weld4.Part0, weld4.Part1 = Player.Character["Right Arm"], TrailPart4
weld4.C0 = CFrame.new(0,0,0)
weld4.C1 = CFrame.new(0,0,0)
game.Debris:AddItem(TrailPart4, 0.5)
local BigWindForce1 = game.ReplicatedStorage.WindForce1:Clone()
BigWindForce1.Orientation = Player.Character.HumanoidRootPart.Orientation
BigWindForce1.Position = Player.Character.HumanoidRootPart.Position + Vector3.new(-18, 6.684, -33.523)
BigWindForce1.Parent = workspace
game.Debris:AddItem(BigWindForce1, 2)
local BigWindForce2 = game.ReplicatedStorage.WindForce1:Clone()
BigWindForce2.Orientation = Player.Character.HumanoidRootPart.Orientation
BigWindForce2.Position = Player.Character.HumanoidRootPart.Position + Vector3.new(18, 6.684, -33.523)
BigWindForce2.Parent = workspace
game.Debris:AddItem(BigWindForce2, 2)
local SmallWindForce1 = game.ReplicatedStorage.WindForce2:Clone()
SmallWindForce1.Parent = workspace
SmallWindForce1.Orientation = Player.Character.HumanoidRootPart.Orientation
SmallWindForce1.Position = Player.Character.HumanoidRootPart.Position + Vector3.new(10.876, 2.897, -40.031)
game.Debris:AddItem(SmallWindForce1, 2)
local SmallWindForce2 = game.ReplicatedStorage.WindForce2:Clone()
SmallWindForce2.Parent = workspace
SmallWindForce2.Orientation = Player.Character.HumanoidRootPart.Orientation
SmallWindForce2.Position = Player.Character.HumanoidRootPart.Position + Vector3.new(-10.876, 2.897, -40.031)
SmallWindForce2.Parent = workspace
game.Debris:AddItem(SmallWindForce2, 2)
local Anim = Player.Character.Humanoid:LoadAnimation(script.Animation)
Anim:Play()
local BodyVelocity = Instance.new("BodyVelocity")
BodyVelocity.Velocity = Player.Character.HumanoidRootPart.CFrame.lookVector * 300
BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
BodyVelocity.Parent = Player.Character.HumanoidRootPart
game.Debris:AddItem(BodyVelocity, 0.13)
enabled = false
wait(0.5)
Player.Character.Head.Transparency = 0
Player.Character.Torso.Transparency = 0
Player.Character["Left Leg"].Transparency = 0
Player.Character["Right Leg"].Transparency = 0
Player.Character["Left Arm"].Transparency = 0
Player.Character["Right Arm"].Transparency = 0
Player.Character.ClassItems.Blade.Transparency = 0
Player.Character.ClassItems.Handle.Transparency = 0
Player.Character.ClassItems.Handle2.Transparency = 0
Player.Character.Humanoid.WalkSpeed = 16
end
end)
