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

I want make a fireball shoot at 100PunchPower to 100k and then from 1mil to 100mil can anyone help?

Asked by
WN0820 11
4 years ago

So I want to make a fireball shoot from100 punch power so if i get 100 punchpower ill get a fireball and up to 100k and then when you get 1mil you get a new bigger ball and it will be up to 100mil could anyone help me do it? here's the script I made if you can find the answer to it thanks local Punch = game.ServerScriptService.Leaderstats.PunchPower local plr = script.Parent.Parent

if plr.Punch > 100 and 100000 then local FireBallSize = Vector3.new(2.19,2.19,2.19) game.ServerScriptService.FireBallServer.FireBall.Size = FireBallSize end

if plr.Punch > 1000000 and 100000000 then local FireBallSize = Vector3.new(10.19,10.19,10.19) game.ServerScriptService.FireBallServer.FireBall.Size = FireBallSize end it is all a one code in and it is in the workspace as a script

it says 19:57:40.511 - Punch is not a valid member of DataModel 19:57:40.512 - Stack Begin 19:57:40.515 - Script 'Workspace.Size?', Line 4 19:57:40.515 - Stack End too so maybe you can see why it doesnt work

Answer this question