Is there a way to make this scirpt work with (player.Name .. "'s" .. NameHere)
local de = script.Parent.SpinDebounce
function onKeyDown(key)
if key == "e" and de.Value == false and game.Players.LocalPlayer.Character:findFirstChild("Board") ~= nil then
if game.Players.LocalPlayer.Character:findFirstChild("Board").SkateboardPlatform.InAir.Value == true or false then
de.Value = true
local s = game.Players.LocalPlayer.Character:findFirstChild("Board").SkateboardPlatform
CF = s.CFrame
Gyro = Instance.new("BodyGyro")
Gyro.P = Gyro.P*10
Gyro.maxTorque = Vector3.new(100000,100000,100000)*999
Gyro.cframe = CF
Gyro.Parent = s
for i=1, 7 do
Gyro.cframe = Gyro.cframe*CFrame.fromEulerAnglesXYZ(0,math.pi/-7,0)
wait()
end
CF2 = s.CFrame
Gyro.cframe = CF2
wait()
Gyro:Remove()
de.Value = false
end
end
end
function s(mouse)
mouse.KeyDown:connect(onKeyDown)
end
script.Parent.Selected:connect(s)

3 comments
How do you mean?
The car gui you helped me with.. All cars are named (player.Name .. "'s" .. CarsName) And it wont work with this script - Here i explained it in more detail https://pastebin.com/3NdFHTyA
First of all you can’t use localplayer in a script.