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

Help with alvinblox script please idk what"s happening? [closed]

Asked by
starmaq 1290 Moderation Voter
4 years ago

Please provide code with your answers. Simply posting an explanation does not help someone new to programming understand how to implement a concept programatically.

So I have this alvinblox script

001local serverStorage = game:GetService(“ServerStorage”)
002local replicatedStorage = game:GetService(“ReplicatedStorage”)
003local KOValue = “Kills”
004local WOValue = “Wipeouts”
005local damage = 30
006replicatedStorage.ShootEvent.OnServerEvent:Connect(function(player,tool,position,part)
007if game.Workspace[player.Name].Humanoid.Health <= 0 then
008— The player is dead, do not do anything
009else
010local distance = (tool.Handle.CFrame.p – position).magnitude
011if game.Workspace:FindFirstChild(player.Name..“‘s Trajectory”) then
012game.Workspace:FindFirstChild(player.Name..“‘s Trajectory”):Destroy()
013end
014local trajectory = Instance.new(“Part”,game.Workspace)
015local smoke = serverStorage.SmokeParticle:Clone()
View all 186 lines...

but it doesn't work, help please thanks

0
I don't think you're gamer enough for this bro brokenVectors 525 — 4y
0
Oh yeah I know why it isn't working is because ReplicatedStorage doesn't exist brokenVectors 525 — 4y
0
oh ok, thanks I will Instance.new and use 2nd argument for parent starmaq 1290 — 4y
0
Try putting a wait at the top of the script. That is what daddy alvin taught me incapaz 195 — 4y
View all comments (3 more)
0
SACRIFICE YOUR SOUL TO THE SCRIPT GODS. THEY WILL SHOW YOU THE WAY TO BECOMING THE ULTIMATE SCRIPTER AND MAKE THE NEXT PIGGY. THEY WILL GIVE YOUR SOUL TO ALVINBLOX WHICH WILL GRANT HIM UNLIMITED POWERS. brokenVectors 525 — 4y
0
you need to remove the part that says "ShootEvent". this is a bad word and roblox doesnt like it so remove it now Tom_atoes 0 — 4y
0
have you tried turning it off and on again? Amiaa16 3227 — 4y

Locked by Amiaa16

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

4 answers

Log in to vote
3
Answered by
incapaz 195
4 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

Try disabling and re-enabling the script.

1wait(); -- daddy alvin's solution
2script.Disabled = true; -- U NEED THE SEMICOLON OR ELSE NO COMPILE
3script.Disabled = false;

This basically tells the ROBLOX.com servers to slap the script's face so it can wake up and start working.

If that doesn't work let me know.

0
This has a few issues, my answer fixes them all so accept mine kthxbye brokenVectors 525 — 4y
0
omg your so smart! starmaq 1290 — 4y
Ad
Log in to vote
2
Answered by 4 years ago

Please provide code with your answers. Simply posting an explanation does not help someone new to programming understand how to implement a concept programatically.

^ what incapaz said

0
Make sure to mark my post as the solution if it worked! brokenVectors 525 — 4y
Log in to vote
1
Answered by
Amiaa16 3227 Moderation Voter Community Moderator
4 years ago

This question has been solved by the original poster.

^ what brokenVectors said

0
HOW DARE YOU STEAL MY SOLUTION YOU PLAGIARIST,,, brokenVectors 525 — 4y
Log in to vote
0
Answered by
starmaq 1290 Moderation Voter
4 years ago

Omg thanks evreyone! Sorry I can't find answer button, I will accept later.