Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[A base script by TRICKYDAVE]--
- Player = game.Players.LocalPlayer
- --[[SERVICES]]--
- Camera = Workspace.CurrentCamera
- Terrain = Workspace.Terrain
- Lighting = game.Lighting
- StartP = game.StarterPlayer
- Players = game.Players
- --[[PLAYER]]--
- User = Player.Character
- if not User or not User.Parent then
- User = Player.CharacterAdded:wait()
- end
- Mouse = Player:GetMouse()
- --[Wait Time]--
- User:WaitForChild("Head")
- User:WaitForChild("Torso")
- User:WaitForChild("HumanoidRootPart")
- User:WaitForChild("Right Arm")
- User:WaitForChild("Right Leg")
- User:WaitForChild("Left Arm")
- User:WaitForChild("Left Leg")
- --[Parts]--
- Hum = User:findFirstChild("Humanoid")
- Head = User.Head
- Torso = User.Torso
- HRP = User.HumanoidRootPart
- -------------------------------------------------------------------------------------------------------------------------
- function Midas(p)
- if p:IsA"BasePart" and p.Parent:IsA"Model" then
- local x = p.Parent:GetChildren()
- for i=1,#x do wait(0.025)
- if x[i]:IsA"BasePart" then
- x[i].BrickColor = BrickColor.Yellow()
- x[i].Material = "SmoothPlastic"
- x[i].Reflectance = 0.5
- if x[i]:IsA"Union" then p.UsePartColor = true end
- end
- end
- elseif p:IsA"BasePart" then
- p.BrickColor = BrickColor.Yellow()
- p.Material = "SmoothPlastic"
- p.Reflectance = 0.5
- if p:IsA"Union" then p.UsePartColor = true end
- end
- end
- function _Spawn()
- local x = User:GetChildren()
- for i =1,#x do
- if x[i]:IsA"Shirt" or x[i]:IsA"Pants" or x[i]:IsA"ShirtGraphic" then
- x[i]:remove()
- end
- if x[i]:IsA"BasePart" then
- x[i].BrickColor = BrickColor.Yellow()
- x[i].Material = "SmoothPlastic"
- x[i].Reflectance = 0.5
- end
- if x[i]:IsA"Hat" then
- x[i].Handle.BrickColor = BrickColor.Yellow()
- x[i].Handle.Material = "SmoothPlastic"
- x[i].Handle.Reflectance = 0.5
- if x[i].Handle:FindFirstChild"Mesh" then
- x[i].Handle.Mesh.TextureId = ""
- end
- end
- end
- end
- User:WaitForChild("Right Arm").Touched:connect(Midas)
- User:WaitForChild("Left Arm").Touched:connect(Midas)
- User:WaitForChild("Right Leg").Touched:connect(Midas)
- User:WaitForChild("Left Leg").Touched:connect(Midas)
- User:WaitForChild("Torso").Touched:connect(Midas)
- User:WaitForChild("Head").Touched:connect(Midas)
- wait(1)
- _Spawn()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement