Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- creepinoModel = workspace:FindFirstChild("creepinoModel")
- if creepinoModel == nil then
- creepinoModel = Instance.new("Model")
- creepinoModel.Name = "creepinoModel"
- creepinoModel.Parent = workspace
- end
- part = Instance.new("Part")
- part.Name = "TouchMe"
- part.Anchored = true
- part.Parent = creepinoModel
- local touch = false
- part.Touched:connect(function(touchedPart)
- if touchedPart ~= nil then
- if touchedPart.Parent ~= nil then
- if touchedPart.Parent:FindFirstChild("Humanoid") ~= nil then
- local h = touchedPart.Parent:FindFirstChild("Humanoid")
- if touch == true then
- for i = 1, 4, 0.1 do
- h.HeadScale.Value = i
- h.BodyWidthScale.Value = i
- wait(1)
- end
- h.BodyDepthScale = 0.25
- wait(4)
- touch = false
- else
- for i = 4, 1, -0.1 do
- h.HeadScale.Value = i
- h.BodyWidthScale.Value = i
- wait(1)
- end
- h.BodyDepthScale = 1
- wait(4)
- touch = true
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement