Meliodas0_0

Phantom Forces| Rainbow Gun

Feb 4th, 2020
267
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. game:GetService("RunService").Stepped:Connect(function()
  2. for a,b in pairs(workspace.Camera:GetChildren()) do
  3. for c,d in pairs(game:GetService("ReplicatedStorage").GunModels:GetChildren()) do
  4. if b.Name == d.Name then
  5. for e,f in pairs(b:GetChildren()) do
  6. if f:IsA("BasePart") then
  7. f.Color = Color3.fromHSV(tick()%5/5,1,1)
  8. end
  9. end
  10. end
  11. end
  12. end
  13. end)
RAW Paste Data