Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Speed Boost Script Buggy?

On ROBLOX Youtube Channel, they had Hour of Code to teach players how to script different thing such as a SpeedBoost Plate. I tried it then in my Output Window, all I saw was this: 17:15:23.599 - Something unexpectedly tried to set the parent of to NULL while trying to set the parent of . Current parent is Terrain. 17:15:23.601 - Something unexpectedly tried to set the parent of to NULL while trying to set the parent of . Current parent is Part. 17:15:23.627 - Something unexpectedly tried to set the parent of to NULL while trying to set the parent of . Current parent is Part. 17:15:23.632 - Something unexpectedly tried to set the parent of to NULL while trying to set the parent of . Current parent is Time. 17:15:23.644 - Something unexpectedly tried to set the parent of to NULL while trying to set the parent of . Current parent is Doge.

Thats was the Output whenever I stepped on my Plate. Also, it started adding some kind of 'Things?' into all my models and parts. Just like the "Propper Grammer" virus script.

Script: local speedBoost = script.Parent

local function steppedOn(part) local parent = part.Parent if game.Players:GetPlayerFromCharacter(parent) then parent.Humanoid.Walkspeed = 35 end end

speedBoost.Touched:connect(steppedOn)

2 comments

1

Edit your post to be more readable. Use Lua code formatting to format your code. Use quoting or code formatting or bullet points to make the output readable.

1

Perhaps you imported a free model that's breaking everything?

2 answers

This discussion is preserved as it was. New answers, comments, and votes are closed.