Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- weirdify
- for _, child in pairs(workspace:GetDescendants()) do
- if child:IsA("Part") and not child:FindFirstAncestorOfClass("Model") then
- if not child:FindFirstAncestorOfClass("Model"):FindFirstChildWhichIsA("Humanoid") then
- local oldori = child.Orientation
- child.Touched:Connect(function()
- wait()
- local p = child
- local i = TweenInfo.new(1,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,2,true,0)
- local gy = {Orientation = oldori + Vector3.new(-30, 0, 0)}
- game.TweenService:Create(p,i,gy):Play()
- wait(6)
- child.Orientation = oldori
- end)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement