hi again, I need help about scripting (In the title) but I don’t really know or where to start.
(example) in picture when player click at part the neck start to stretch to that location.
hi again, I need help about scripting (In the title) but I don’t really know or where to start.
(example) in picture when player click at part the neck start to stretch to that location.
Put simply, a remote event sends a message from a server script to a local script and vice versa. (LocalScript, StarterCharacterScripts) local mouse = game.Players.LocalPlayer:GetMouse() mouse.Button1Down:Connect(function() game.ReplicatedStorage.RemoteEvent:FireServer(mouse.Hit.Position) --Ve…
oh hey! thank for the replay, what about the growing neck part?
local part = script.Parent
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
mouse.Move:Connect(function()
local distance = mouse.Y - part.Position.Y
part.Size = Vector3.new(part.Size.X, math.abs(distance), part.Size.Z)
end)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.