wait(1)
---- Services ----
local ReplicatedStorage = game:GetService("ReplicatedStorage")

-- Varibles --
local Remote = ReplicatedStorage:WaitForChild("QuirkActivate")

Remote.OnServerEvent:Connect(function(player)
	local Character = player.Character
	local RootPart = Character:WaitForChild("HumanoidRootPart")
	warn("Quirk Activation Request Recieved")
	if player.leaderstats.Quirk == 1 then 
	ReplicatedStorage:WaitForChild("Steam"):Clone().Parent =  RootPart
	print("Event done")
	end
	end)

So the issue is in the line where it says if player.leaderstats.Quirk.Value == true then it is 1 but it does nothing idk why not can someone help me fix this issue There is not output error wich is weird

3 comments

0

is Quirk a value? if so it should be player.leaderstats.Quirk.Value as assuming that an object can't be a character.

0

its a value

0

its a number value