Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = game:GetService("Players").LocalPlayer
- local c = p.Character
- local t = c.Torso
- local orifac = c.Head.face.Texture
- print("Loading Baldi ruler...")
- local ruler = Instance.new("Tool",p.Backpack)
- ruler.Name = "Ruler" --change everything here if you want anythimg different.
- local handle = Instance.new("Part",workspace)
- local he = Instance.new("WeldConstraint",handle)
- he.Part0 = handle
- handle.Size = Vector3.new(1,1,1)
- handle.Name = "Handle"
- handle.Transparency = 1
- handle.Parent = ruler
- local rule = Instance.new("Part",ruler)
- rule.Size = Vector3.new(1,4,0.1)
- rule.TopSurface = "Smooth"
- rule.BottomSurface = "Smooth"
- rule.BrickColor = BrickColor.new("Deep orange")
- rule.Position = Vector3.new(0,2,0)
- he.Part1 = rule
- print("Loaded ruler parts.")
- print("Loaded everything.")
- ruler.Equipped:connect(function()
- c.Head.face.Texture = "http://www.roblox.com/asset/?id=6966010"
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
- wait(0.01)
- end)
- ruler.Unequipped:connect(function()
- c.Head.face.Texture = orifac
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
- wait(0.01)
- t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
- wait(0.01)
- end)
- ruler.Activated:connect(function()
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
- if rule.Touched:connect(function(hit)
- local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
- hu.Health = 0
- end) then
- wait(0.01)
- local slap = Instance.new("Sound",t)
- slap.SoundId = "rbxassetid://1841427728"
- slap.Volume = 5
- slap:Play()
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
- wait(0.01)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement