#Tool problems

1 messages · Page 1 of 1 (latest)

tardy wave
#

tool is not working at all, not even equipping

#

local Tool = script.Parent
local player = game.Players.LocalPlayer
local Outline
local Filter

local FirstTime = true

local Tween = game:GetService("TweenService")

local function WheelSurge()
local char = player.Character or player.CharacterAdded:Wait()
local Head = char:FindFirstChild("Head")
if not Head then return end

local Wheel = game.ReplicatedStorage:WaitForChild("MahoragaWheel"):Clone()
Wheel.Name = "WheelOBJ"
Wheel.CanCollide = false
Wheel.Parent = workspace
Wheel:PivotTo(Head.CFrame * CFrame.new(0, 1, 0))

local Handle = Wheel:FindFirstChild("Handle")

if not Handle then 
    Wheel:Destroy()
    FirstTime = false
    return
end

local Weld = Instance.new("WeldConstraint")
Weld.Part0 = Head
Weld.Part1 = Handle
Weld.Parent = Handle
print("Works")

end

local function CamFilter()
Filter = Instance.new("ColorCorrectionEffect")
Filter.Parent = game:GetService("Lighting")
Filter.Color = Color3.fromRGB(255, 255, 255)
Filter.Brightness = 0
Filter.Saturation = 0
Filter.Enabled = true
Tween:Create(Filter, TweenInfo(1), {Color3 = Color3.fromRGB(0, 0, 0), Brightness = 1, Saturation = 1})
end

local function ALL()
if FirstTime == true then
FirstTime = false
local char = player.Character or player.CharacterAdded:Wait()
char.Humanoid.JumpPower = 0
char.Humanoid.WalkSpeed = 0

    WheelSurge()
    task.wait(1)
    CamFilter()
end

end

Tool.Equipped:Connect(ALL)

#

PLEASE someone help

#

so basically this script copies a replicatedstorage part and it applies some effects to it

#

the problem isnt the spawning script

#

the problem is that FOR SOME REASON the tool itself doesnt work

sweet sapphire
#

does it have a handle

#

make sure requiers handle is off if it doesn't

strange depot
#

turn off requireshandle

tardy wave