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

Why isn't this script working online?

Asked by 10 years ago

Alright. This script has no errors, (Atleast it works). And I found how to make the fireball sort of thing move. I tested this in studio, works perfectly. And when I try it online, nothing happens. Script:

player = game.Players.LocalPlayer
mouse = player:GetMouse()
mouse.KeyDown:connect(function(key)
        key = key:lower()
    if key == "q" then
for i = 1,1 do
    wait()
    f = Instance.new("Part", game.Workspace)
    f.Size = Vector3.new(10,10,10)
    f.BrickColor = BrickColor.new("Bright red")
    f.Transparency = 0.3
    f.Name = "MeraBlast1"
    f.Anchored = true
    f.CFrame = player.Character.Torso.CFrame * CFrame.new(0,0,-5+-i) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random())
    dmg = game.ReplicatedStorage.MeraDmg1:Clone()
    dmg.Parent = f
    fi = Instance.new("Fire", f)
    fi.Size = 10
    o =  Instance.new("StringValue", f)
    o.Name = "Owner"
    o.Value = player.Name
    y = Instance.new("BodyVelocity") 
    y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
    y.velocity = Character.Torso.CFrame.lookVector*80
    y.Parent = f 
end
wait(5)
        player.Character.Torso.Anchored = false
f.Parent = game.Lighting
    end
end)

(This is a local script inside starterpack)

0
Clarification: is FilteringEnabled on? [it shouldn't be for this] BlueTaslem 18071 — 10y
0
FilteringEnabled...??? Operation_Meme 890 — 10y
0
Its not on. Operation_Meme 890 — 10y

Answer this question