You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
A smooth drift similar to https://driftboss.io/ -
What is the issue? Include screenshots / videos if possible!
The drift is chopy and ugly -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
ive tried what il list in my code
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
-- This is an example Lua code block
```game.ReplicatedStorage.ButtonDown.OnServerEvent:Connect(function()
local PrimCFrame = script.Parent:GetPrimaryPartCFrame()
local Rotation = CFrame.Angles(math.rad(0),-1.57,0)
local RotatedCFrame = PrimCFrame * Rotation
script.Parent:SetPrimaryPartCFrame(RotatedCFrame)
end)
game.ReplicatedStorage.ButtonUp.OnServerEvent:Connect(function()
local PrimCFrame = script.Parent:GetPrimaryPartCFrame()
local Rotation = CFrame.Angles(math.rad(0),1.57,0)
local RotatedCFrame = PrimCFrame * Rotation
script.Parent:SetPrimaryPartCFrame(RotatedCFrame)
end)
Please do not ask people to write entire scripts or design entire systems for you. If you can't answer the three questions above, you should probably pick a different category.