View difference between Paste ID: XraNzjGs and EYtKTN2N
SHOW: | | - or go back to the newest paste.
1-
--[[Nocturna_A._Alteriano_Night.Owl.Inc]]--
1+
2
local part = game.Players.LocalPlayer.Character
3-
CV="White"
3+
4
local shirt = 63208006
5-
	p = game.Players.LocalPlayer
5+
6-
	char = p.Character
6+
7-
	local txt = Instance.new("BillboardGui", char)
7+
8-
	txt.Adornee = char .Head
8+
9-
	txt.Name = "_status"
9+
10-
	txt.Size = UDim2.new(2, 0, 1.2, 0)
10+
11-
	txt.StudsOffset = Vector3.new(-9, 8, 0)
11+
12-
	local text = Instance.new("TextLabel", txt)
12+
13-
	text.Size = UDim2.new(10, 0, 7, 0)
13+
14-
	text.FontSize = "Size24"
14+
15-
	text.TextScaled = true
15+
16-
	text.TextTransparency = 0
16+
17-
	text.BackgroundTransparency = 1 
17+
18-
	text.TextTransparency = 0
18+
19-
	text.TextStrokeTransparency = 1
19+
20-
	text.Font = "Arcade"
20+
21-
	text.TextStrokeColor3 = Color3.new(0,0,255)
21+
22
	np.Parent = part
23-
	v=Instance.new("Part")
23+
24-
	v.Name = "ColorBrick"
24+
25-
	v.Parent=p.Character
25+
26-
	v.FormFactor="Symmetric"
26+
27-
	v.Anchored=true
27+
28-
	v.CanCollide=false
28+
29-
	v.BottomSurface="Smooth"
29+
30-
	v.TopSurface="Smooth"
30+
31-
	v.Size=Vector3.new(10,5,3)
31+
32-
	v.Transparency=1
32+
33-
	v.CFrame=char.Torso.CFrame
33+
34-
	v.BrickColor=BrickColor.new(CV)
34+
35-
	v.Transparency=1
35+
36-
	text.TextColor3 = Color3.new(255,255,0)
36+
37-
	v.Shape="Block"
37+
38-
	text.Text = "The Mafia Boss""
38+
39
		wait()
40-
wait(1 / 60)
40+
41-
Effects = { }
41+
42-
local Player = game.Players.localPlayer
42+
43-
local Character = Player.Character
43+
44-
local Humanoid = Character.Humanoid
44+
45-
local mouse = Player:GetMouse()
45+
46-
local m = Instance.new('Model', Character)
46+
47-
m.Name = "WeaponModel"
47+
48-
local LeftArm = Character["Left Arm"]
48+
49-
local RightArm = Character["Right Arm"]
49+
50-
local LeftLeg = Character["Left Leg"]
50+
51-
local RightLeg = Character["Right Leg"]
51+
52-
local Head = Character.Head
52+
53-
local Torso = Character.Torso
53+
54-
local cam = game.Workspace.CurrentCamera
54+
55-
local RootPart = Character.HumanoidRootPart
55+
56-
local RootJoint = RootPart.RootJoint
56+
57-
local equipped = false
57+
58-
local attack = false
58+
59-
local Anim = 'Idle'
59+
60-
local idle = 0
60+
61-
local attacktype = 1
61+
62-
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
62+
63-
local velocity = RootPart.Velocity.y
63+
64-
local sine = 0
64+
65-
local change = 1
65+
66-
local grabbed = false
66+
67-
local cn = CFrame.new
67+
68-
local mr = math.rad
68+
69-
local angles = CFrame.Angles
69+
70-
local ud = UDim2.new
70+
71-
local c3 = Color3.new
71+
72
		end
73-
Humanoid.Animator.Parent = nil
73+
74-
Character.Animate.Parent = nil
74+
75
		clone.Parent = workspace
76-
local newMotor = function(part0, part1, c0, c1)
76+
77-
	local w = Instance.new('Motor', part0)
77+
78-
	w.Part0 = part0
78+
79-
	w.Part1 = part1
79+
80-
	w.C0 = c0
80+
81-
	w.C1 = c1
81+
82-
	return w
82+
83
		end
84
		part:Destroy()
85-
function clerp(a, b, t)
85+
86-
	return a:lerp(b, t)
86+
87
		plr.Character.Parent = workspace
88
		plr.Character.Archivable = false
89-
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
89+
90-
NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
90+
91
			if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
92-
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) 
92+
93-
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
93+
94-
local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
94+
95-
local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
95+
96-
RootJoint.C1 = CFrame.new(0, 0, 0)
96+
97-
RootJoint.C0 = CFrame.new(0, 0, 0)
97+
98-
Torso.Neck.C1 = CFrame.new(0, 0, 0)
98+
99-
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
99+
100
	end
101-
local rarmc1 = RW.C1
101+
102-
local larmc1 = LW.C1
102+
103-
local rlegc1 = RH.C1
103+
104-
local llegc1 = LH.C1
104+
105
			if mouse.Target ~= nil then
106-
local resetc1 = false
106+
107
				bp = Instance.new("BodyPosition",part)
108-
function PlayAnimationFromTable(table, speed, bool)
108+
109-
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
109+
110-
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
110+
111-
	RW.C0 = clerp(RW.C0, table[3], speed) 
111+
112-
	LW.C0 = clerp(LW.C0, table[4], speed) 
112+
113-
	RH.C0 = clerp(RH.C0, table[5], speed) 
113+
114-
	LH.C0 = clerp(LH.C0, table[6], speed) 
114+
115-
	if bool == true then
115+
116-
		if resetc1 == false then
116+
117-
			resetc1 = true
117+
118-
			RootJoint.C1 = RootJoint.C1
118+
119-
			Torso.Neck.C1 = Torso.Neck.C1
119+
120-
			RW.C1 = rarmc1
120+
121-
			LW.C1 = larmc1
121+
122-
			RH.C1 = rlegc1
122+
123-
			LH.C1 = llegc1
123+
124
		while dwn == true do 
125
			wait()	
126
			bp.Position = mouse.hit.p
127
			if part then
128-
--[[Credits to SazErenos for his Artificial Heartbeat]]--
128+
129
					part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
130-
ArtificialHB = Instance.new("BindableEvent", script)
130+
131-
ArtificialHB.Name = "Heartbeat"
131+
132
		end
133-
script:WaitForChild("Heartbeat")
133+
134
end)
135-
frame = 1 / 30
135+
136-
tf = 0
136+
137-
allowframeloss = false
137+
138-
tossremainder = false
138+
139-
lastframe = tick()
139+
140-
script.Heartbeat:Fire()
140+
141
base = Instance.new("ScreenGui",plr.PlayerGui)
142-
game:GetService("RunService").Heartbeat:connect(function(s, p)
142+
143-
	tf = tf + s
143+
144-
	if tf >= frame then
144+
145-
		if allowframeloss then
145+
146-
			script.Heartbeat:Fire()
146+
147-
			lastframe = tick()
147+
148
bbgTl.Position = UDim2.new(-4.5,0,0,0)
149-
			for i = 1, math.floor(tf / frame) do
149+
150-
				script.Heartbeat:Fire()
150+
151
bbgTl.TextSize = 50
152-
			lastframe = tick()
152+
153
bbgTl.TextColor3 = Color3.new(0,0,0)
154-
		if tossremainder then
154+
155-
			tf = 0
155+
156
plr.Chatted:connect(function(msg)
157-
			tf = tf - frame * math.floor(tf / frame)
157+
158
	wait(5)
159
	if bbgTl.Text == msg then
160
		bbgTl.Text = " "
161
	end
162-
function swait(num)
162+
163-
	if num == 0 or num == nil then
163+
164-
		ArtificialHB.Event:wait()
164+
165-
	else
165+
166-
		for i = 0, num do
166+
167-
			ArtificialHB.Event:wait()
167+
168
		for y,t in pairs(c:GetChildren()) do
169
			if t:IsA("Part") then
170
				t.CanCollide = false 
171
				t.Anchored = true 
172-
local RbxUtility = LoadLibrary("RbxUtility")
172+
173-
local Create = RbxUtility.Create
173+
174
				t.BottomSurface = "Smooth"
175-
function RemoveOutlines(part)
175+
176-
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
176+
177
				t.FrontSurface = "Smooth"
178-
	
178+
179-
CFuncs = {	
179+
180-
	["Part"] = {
180+
181-
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
181+
182-
			local Part = Create("Part"){
182+
183-
				Parent = Parent,
183+
184-
				Reflectance = Reflectance,
184+
185-
				Transparency = Transparency,
185+
186-
				CanCollide = false,
186+
187-
				Locked = true,
187+
188-
				BrickColor = BrickColor.new(tostring(BColor)),
188+
189-
				Name = Name,
189+
190-
				Size = Size,
190+
191-
				Material = Material,
191+
192-
			}
192+
193-
			RemoveOutlines(Part)
193+
194-
			return Part
194+