Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I tried size a block in serverscriptservice but I dont know why it wont work!?

Asked by
WN0820 11
4 years ago

I tried game.ServerScriptService.FireBallServer.Fireball.Size = 10.10

but it didnt work i am not sure why

1 answer

Log in to vote
0
Answered by
ScuffedAI 435 Moderation Voter
4 years ago

That's because the property "Size" doesn't accepts at number as a value, it only accepts a Vector3 value.

Instead of giving it a number, instead create a Vector3 value and pass that as a value.

local FireballSize = Vector3.new(10.10,10.10,10.10)
game.ServerScriptService.FireBallServer.Fireball.Size = FireballSize
Ad

Answer this question