Whenever i wait for 7 seconds it wont move the script is in workspace and its a localscript
local Camera = game.Workspace.CurrentCamera local PlayerMod = require(game:GetService("Players").LocalPlayer.PlayerScripts:WaitForChild("PlayerModule")) local Controls = PlayerMod:GetControls() game.Players.PlayerAdded:Connect(function() local Hint = Instance.new("Hint") Controls:Disable() wait(7) local seat = workspace.Couch.Seatmi local part = workspace.Couch game.Players.LocalPlayer.Character.Humanoid:MoveTo(workspace.Couch.Seatmi.Position) workspace.Couch.Seatmi:GetPropertyChangedSignal("Occupant"):Connect(function() if seat.Occupant ~= nil then wait(2) workspace.Notification:Play() Hint.Parent = workspace Hint.Text = "creator: WARNING" wait(2) workspace.Notification:Play() Hint.Text = "creator: ZOMBIE INVASION IN PLACE" wait(2) workspace.Notification:Play() Hint.Text = "creator GOOD LUCK :troll:" wait(2) Hint.Parent = nil Camera.CameraType = Enum.CameraType.Scriptable Camera.CameraSubject = workspace.Camera3 wait(2) Camera.CameraType = Enum.CameraType.Custom Camera.CameraSubject = game.Players.LocalPlayer.Character:WaitForChild("Humanoid") end end) Controls:Enable() end)
any help would help me a lot!
Whenever i wait for 7 seconds it wont move "the script is in workspace and its a localscript"
There's your problem, localscripts must be a child of the client aka be in their: PlayerGui, Backpack, Character, etc. in order to run.
I recommend inserting a ScreenGui into the starterGui, setting the ResetOnSpawn property to false and moving the localscript you mentioned into newly created ScreenGui.