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

Fire spawns in studio fine, but not in-game?

Asked by 8 years ago
01local plr = game.Players.LocalPlayer
02local char = plr.Character
03local firePart = game.ServerStorage.FireAttack
04repeat wait() until char
05 
06function weld(part1, part2)
07 local weld = Instance.new("Weld")
08 weld.Part0 = part1
09 weld.Part1 = part2
10 weld.C0 = part1.CFrame:toObjectSpace(part2.CFrame)
11 weld.Parent = part1
12 return weld
13end
14 
15game:GetService("UserInputService").InputBegan:connect(function (input,GPE)
View all 35 lines...

So basically this works fine in studio, but in-game the fire part just doesn't spawn at all

0
Do not use ServerStorage. Use ReplicatedStorage. Rodmane234 85 — 8y
0
^ BakonBot 26 — 8y
0
So I switched from ServerStorage to ReplicatedStorage, still doesn't work. HornedWyven 10 — 8y

Answer this question