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

I can see my attack effects(Air pressure) but i can't see other players attack effects?

Asked by 6 years ago
Edited 6 years ago

Hi! i probably new in Studio, so i have many problems, like that. When i press Z, it's should do animation&effect, but i can see only mine, and i can't see effects of other players. The same thing with other players. there is script:

repeat wait() until game.Players.LocalPlayer

repeat wait() until game.Players.LocalPlayer.Character

player = game.Players.LocalPlayer

mouse = player:GetMouse()

c = player.Character

anima = script:WaitForChild("Smash")

Enabled = true

mouse.KeyDown:connect(function(key)

01key = key:lower()
02 
03if key == "z" then
04 
05    if not Enabled then return end
06 
07    Enabled = false
08 
09    local AnimaStart = c.Humanoid:LoadAnimation(anima)
10 
11    AnimaStart:Play()
12 
13    local q = Instance.new("Part", c)
14 
15    q.Shape = "Block"
View all 58 lines...

end)

0
You have to use Remote Events to replicate it to other players Leamir 3138 — 6y

1 answer

Log in to vote
1
Answered by 6 years ago

You have to use Remote Events, to understand Remote Events watch this video. <3

https://www.youtube.com/watch?v=wic-N4JiFss&t=745s

0
oh, ok 666U5erName666 2 — 6y
Ad

Answer this question